@dxos/plugin-presenter 0.8.4-main.c1de068 → 0.8.4-main.c4373fc
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/browser/{CollectionPresenterContainer-GH4GIA6P.mjs → CollectionPresenterContainer-LPJILYRF.mjs} +7 -7
- package/dist/lib/browser/CollectionPresenterContainer-LPJILYRF.mjs.map +7 -0
- package/dist/lib/browser/{DocumentPresenterContainer-E7RGK572.mjs → DocumentPresenterContainer-F42V4KAL.mjs} +48 -50
- package/dist/lib/browser/DocumentPresenterContainer-F42V4KAL.mjs.map +7 -0
- package/dist/lib/browser/{MarkdownSlide-QHC3GZII.mjs → MarkdownSlide-BLVWTH3U.mjs} +15 -128
- package/dist/lib/browser/MarkdownSlide-BLVWTH3U.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-2ZLAWPF2.mjs → app-graph-builder-RLGABE65.mjs} +43 -14
- package/dist/lib/browser/app-graph-builder-RLGABE65.mjs.map +7 -0
- package/dist/lib/browser/{chunk-VSD5LSE5.mjs → chunk-6ZM323ED.mjs} +2 -4
- package/dist/lib/browser/chunk-6ZM323ED.mjs.map +7 -0
- package/dist/lib/browser/{chunk-SW3HIRDA.mjs → chunk-7DV6S5XB.mjs} +7 -7
- package/dist/lib/browser/chunk-7DV6S5XB.mjs.map +7 -0
- package/dist/lib/browser/{chunk-YYPOO6XK.mjs → chunk-QTSOWA2K.mjs} +15 -11
- package/dist/lib/browser/chunk-QTSOWA2K.mjs.map +7 -0
- package/dist/lib/browser/{chunk-TANLITL2.mjs → chunk-UVGTHJUO.mjs} +2 -2
- package/dist/lib/browser/{chunk-TANLITL2.mjs.map → chunk-UVGTHJUO.mjs.map} +2 -2
- package/dist/lib/browser/index.mjs +8 -9
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-GQSVWJBG.mjs → react-surface-P7YJFHF3.mjs} +17 -17
- package/dist/lib/browser/react-surface-P7YJFHF3.mjs.map +7 -0
- package/dist/lib/browser/{settings-X7M27QCY.mjs → settings-7A4A2H6X.mjs} +5 -5
- package/dist/lib/browser/{settings-X7M27QCY.mjs.map → settings-7A4A2H6X.mjs.map} +2 -2
- package/dist/types/src/PresenterPlugin.d.ts +1 -1
- package/dist/types/src/PresenterPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +3 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -1
- package/dist/types/src/components/CollectionPresenterContainer.d.ts.map +1 -1
- package/dist/types/src/components/DocumentPresenterContainer.d.ts +2 -2
- package/dist/types/src/components/DocumentPresenterContainer.d.ts.map +1 -1
- package/dist/types/src/components/Markdown/Container.stories.d.ts +14 -22
- package/dist/types/src/components/Markdown/Container.stories.d.ts.map +1 -1
- package/dist/types/src/components/Markdown/Slide.d.ts +1 -3
- package/dist/types/src/components/Markdown/Slide.d.ts.map +1 -1
- package/dist/types/src/components/Markdown/Slide.stories.d.ts +11 -12
- package/dist/types/src/components/Markdown/Slide.stories.d.ts.map +1 -1
- package/dist/types/src/components/MarkdownSlide.d.ts +2 -2
- package/dist/types/src/components/MarkdownSlide.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/Pager.d.ts +1 -1
- package/dist/types/src/components/Presenter/Pager.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/Pager.stories.d.ts +12 -4
- package/dist/types/src/components/Presenter/Pager.stories.d.ts.map +1 -1
- package/dist/types/src/components/PresenterSettings.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 +18 -2
- package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +18 -3
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +0 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +1 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +6 -6
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +35 -35
- package/src/PresenterPlugin.tsx +23 -24
- package/src/capabilities/app-graph-builder.ts +43 -12
- package/src/capabilities/react-surface.tsx +26 -16
- package/src/capabilities/settings.ts +1 -1
- package/src/components/CollectionPresenterContainer.tsx +2 -1
- package/src/components/DocumentPresenterContainer.tsx +4 -3
- package/src/components/Markdown/Container.stories.tsx +21 -20
- package/src/components/Markdown/Slide.stories.tsx +11 -7
- package/src/components/Markdown/Slide.tsx +12 -128
- package/src/components/Markdown/styles.css +104 -0
- package/src/components/Markdown/typings.d.ts +8 -0
- package/src/components/MarkdownSlide.tsx +2 -2
- package/src/components/Presenter/Pager.stories.tsx +8 -8
- package/src/components/Presenter/Pager.tsx +3 -3
- package/src/components/PresenterSettings.tsx +15 -11
- package/src/components/RevealPlayer/RevealPlayer.stories.tsx +7 -5
- package/src/components/RevealPlayer/RevealPlayer.tsx +50 -53
- package/src/meta.ts +1 -3
- package/src/translations.ts +1 -0
- package/src/types.ts +5 -5
- package/src/useExitPresenter.ts +1 -1
- package/dist/lib/browser/CollectionPresenterContainer-GH4GIA6P.mjs.map +0 -7
- package/dist/lib/browser/DocumentPresenterContainer-E7RGK572.mjs.map +0 -7
- package/dist/lib/browser/MarkdownSlide-QHC3GZII.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-2ZLAWPF2.mjs.map +0 -7
- package/dist/lib/browser/chunk-SW3HIRDA.mjs.map +0 -7
- package/dist/lib/browser/chunk-VSD5LSE5.mjs.map +0 -7
- package/dist/lib/browser/chunk-YYPOO6XK.mjs.map +0 -7
- package/dist/lib/browser/react-surface-GQSVWJBG.mjs.map +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type Markdown } from '@dxos/plugin-markdown/types';
|
|
3
3
|
declare const DocumentPresenterContainer: FC<{
|
|
4
|
-
document:
|
|
4
|
+
document: Markdown.Document;
|
|
5
5
|
}>;
|
|
6
6
|
export default DocumentPresenterContainer;
|
|
7
7
|
//# sourceMappingURL=DocumentPresenterContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentPresenterContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/DocumentPresenterContainer.tsx"],"names":[],"mappings":"AAGA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"DocumentPresenterContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/DocumentPresenterContainer.tsx"],"names":[],"mappings":"AAGA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAO5D,QAAA,MAAM,0BAA0B,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAA;CAAE,CAQnE,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,26 +1,18 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { type SlideProps } from './Slide';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
render: ({ content }: SlideProps) => React.JSX.Element;
|
|
7
|
+
decorators: import("@storybook/react").Decorator[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
7
10
|
};
|
|
8
11
|
};
|
|
9
|
-
export declare const Code: {
|
|
10
|
-
args: {
|
|
11
|
-
content: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export declare const List: {
|
|
15
|
-
args: {
|
|
16
|
-
content: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const Ordered: {
|
|
20
|
-
args: {
|
|
21
|
-
content: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
declare const meta: Meta<typeof Slide>;
|
|
25
12
|
export default meta;
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
export declare const Default: Story;
|
|
15
|
+
export declare const Code: Story;
|
|
16
|
+
export declare const List: Story;
|
|
17
|
+
export declare const Ordered: Story;
|
|
26
18
|
//# sourceMappingURL=Container.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Container.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Container.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAUjD,QAAA,MAAM,IAAI;;0BAR8B,UAAU;;;;;CAeb,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
|
|
@@ -2,9 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import 'highlight.js/styles/github.css';
|
|
3
3
|
export type SlideProps = {
|
|
4
4
|
content?: string;
|
|
5
|
-
classes?:
|
|
6
|
-
[selector: string]: string;
|
|
7
|
-
};
|
|
5
|
+
classes?: Record<string, string>;
|
|
8
6
|
};
|
|
9
7
|
export declare const Slide: ({ content, classes }: SlideProps) => React.JSX.Element;
|
|
10
8
|
//# sourceMappingURL=Slide.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slide.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"Slide.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,gCAAgC,CAAC;AAKxC,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,sBAAyC,UAAU,sBAiBxE,CAAC"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare const Code: {
|
|
11
|
-
args: {
|
|
12
|
-
content: string;
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ content, classes }: import("./Slide").SlideProps) => import("react").JSX.Element;
|
|
5
|
+
decorators: import("@storybook/react").Decorator[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
13
8
|
};
|
|
14
9
|
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const Code: Story;
|
|
15
14
|
//# sourceMappingURL=Slide.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slide.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"Slide.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Slide.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;;;CAOoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type Markdown } from '@dxos/plugin-markdown/types';
|
|
3
3
|
declare const MarkdownSlide: FC<{
|
|
4
|
-
document:
|
|
4
|
+
document: Markdown.Document;
|
|
5
5
|
}>;
|
|
6
6
|
export default MarkdownSlide;
|
|
7
7
|
//# sourceMappingURL=MarkdownSlide.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownSlide.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownSlide.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"MarkdownSlide.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownSlide.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAI5D,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAA;CAAE,CAWtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type PagerProps = {
|
|
|
6
6
|
onChange?: (index: number) => void;
|
|
7
7
|
onExit?: () => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const Pager: ({ index:
|
|
9
|
+
export declare const Pager: ({ index: indexParam, count, keys, onChange, onExit }: PagerProps) => React.JSX.Element | null;
|
|
10
10
|
export type PageNumberProps = {
|
|
11
11
|
index?: number;
|
|
12
12
|
count?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pager.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,
|
|
1
|
+
{"version":3,"file":"Pager.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,sDAA8D,UAAU,6BA4E7F,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,kBAA0B,eAAe,6BAYnE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,sBAAsB;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CAAE,sBAM1G,CAAC"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
import
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { type PagerProps } from './Pager';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
render: ({ count }: PagerProps) => React.JSX.Element;
|
|
7
|
+
decorators: import("@storybook/react").Decorator[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
6
12
|
export default meta;
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
export declare const Default: Story;
|
|
7
15
|
//# sourceMappingURL=Pager.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pager.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"Pager.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Pager.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAqB,KAAK,UAAU,EAAe,MAAM,SAAS,CAAC;AAe1E,QAAA,MAAM,IAAI;;wBAb4B,UAAU;;;;;CAoBX,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresenterSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/PresenterSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,iBAAiB,GAAI,cAAc;IAAE,QAAQ,EAAE,sBAAsB,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"PresenterSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/PresenterSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,iBAAiB,GAAI,cAAc;IAAE,QAAQ,EAAE,sBAAsB,CAAA;CAAE,sBAiBnF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,gCAAgC,CAAC;AAIxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAAiB,MAAM,OAAO,CAAC;AAKtC,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AA4CtE,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;IACxC,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,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,oDAA2D,WAAW,sBAiGlG,CAAC"}
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
import '@dxos-theme';
|
|
2
1
|
import { type Meta } from '@storybook/react-vite';
|
|
3
2
|
import { RevealPlayer } from './RevealPlayer';
|
|
4
|
-
declare const meta:
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: ({ classNames, content, slide, fullscreen, onExit }: import("./RevealPlayer").RevealProps) => import("react").JSX.Element;
|
|
6
|
+
decorators: import("@storybook/react").Decorator[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
translations: [{
|
|
10
|
+
readonly 'en-US': {
|
|
11
|
+
readonly [meta.id]: {
|
|
12
|
+
readonly 'plugin name': "Presenter";
|
|
13
|
+
readonly 'settings title': "Presenter settings";
|
|
14
|
+
readonly 'toggle presentation label': "Present";
|
|
15
|
+
readonly 'present collections label': "Present collections (experimental)";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
5
21
|
export default meta;
|
|
6
22
|
type Story = Meta<typeof RevealPlayer>;
|
|
7
23
|
export declare const Default: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevealPlayer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
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;;;;;;;;yBAbc,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;CAqBH,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
|
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
export * from './PresenterSettings';
|
|
2
2
|
export declare const MarkdownSlide: import("react").LazyExoticComponent<import("react").FC<{
|
|
3
|
-
document: import("@dxos/
|
|
3
|
+
document: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
fallbackName?: string | undefined;
|
|
6
|
+
content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
7
|
+
content: string;
|
|
8
|
+
}>;
|
|
9
|
+
};
|
|
4
10
|
}>>;
|
|
5
11
|
export declare const DocumentPresenterContainer: import("react").LazyExoticComponent<import("react").FC<{
|
|
6
|
-
document: import("@dxos/
|
|
12
|
+
document: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
13
|
+
name?: string | undefined;
|
|
14
|
+
fallbackName?: string | undefined;
|
|
15
|
+
content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
16
|
+
content: string;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
7
19
|
}>>;
|
|
8
20
|
export declare const CollectionPresenterContainer: import("react").LazyExoticComponent<import("react").FC<{
|
|
9
|
-
collection: import("@dxos/
|
|
21
|
+
collection: import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
objects: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>[];
|
|
24
|
+
};
|
|
10
25
|
}>>;
|
|
11
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AAEpC,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AAEpC,eAAO,MAAM,aAAa;;;;;;;;GAAwC,CAAC;AACnE,eAAO,MAAM,0BAA0B;;;;;;;;GAAqD,CAAC;AAC7F,eAAO,MAAM,4BAA4B;;;;;GAAuD,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,IAAI,EAAE,UAMlB,CAAC"}
|
|
@@ -3,6 +3,7 @@ export declare const translations: [{
|
|
|
3
3
|
readonly 'en-US': {
|
|
4
4
|
readonly [meta.id]: {
|
|
5
5
|
readonly 'plugin name': "Presenter";
|
|
6
|
+
readonly 'settings title': "Presenter settings";
|
|
6
7
|
readonly 'toggle presentation label': "Present";
|
|
7
8
|
readonly 'present collections label': "Present collections (experimental)";
|
|
8
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;UAKR;;EAGwB,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { type Context } from 'react';
|
|
3
3
|
export declare namespace PresenterAction {
|
|
4
|
-
const TogglePresentation_base: Schema.TaggedClass<TogglePresentation,
|
|
5
|
-
readonly _tag: Schema.tag
|
|
4
|
+
const TogglePresentation_base: Schema.TaggedClass<TogglePresentation, `${string}/toggle-presentation`, {
|
|
5
|
+
readonly _tag: Schema.tag<`${string}/toggle-presentation`>;
|
|
6
6
|
} & {
|
|
7
7
|
input: Schema.Struct<{
|
|
8
8
|
object: Schema.Union<[import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
9
9
|
name: Schema.optional<typeof Schema.String>;
|
|
10
10
|
fallbackName: Schema.optional<typeof Schema.String>;
|
|
11
11
|
content: import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
12
|
-
content: typeof
|
|
12
|
+
content: typeof Schema.String;
|
|
13
13
|
}>>>;
|
|
14
14
|
}>>, import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
15
|
-
name:
|
|
16
|
-
objects:
|
|
15
|
+
name: Schema.optional<typeof Schema.String>;
|
|
16
|
+
objects: Schema.mutable<Schema.Array$<import("@dxos/echo/Type").ref<Schema.Schema<import("@dxos/echo/Type").Expando, {
|
|
17
17
|
[x: string]: any;
|
|
18
18
|
id: string;
|
|
19
19
|
}, never>>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAOpD,yBAAiB,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;IAG/B,MAAM,OAAO,kBAAmB,SAAQ,uBASvC;KAAG;;CACL;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,oBAAoB,CAIzD,CAAC;AAEH,eAAO,MAAM,uBAAuB;;GAInC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|