rotion 1.5.1 → 1.6.1
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/exporter/files.d.ts +1 -0
- package/dist/exporter/files.js +9 -0
- package/dist/exporter/files.js.map +1 -1
- package/dist/ui/cjs/index.css +1 -1
- package/dist/ui/cjs/index.js +1 -1
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/exporter/files.d.ts +1 -0
- package/dist/ui/cjs/types/ui/components/Page/EmbedBlock/EmbedBlock.types.d.ts +1 -1
- package/dist/ui/esm/index.css +1 -1
- package/dist/ui/esm/index.js +1 -1
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/exporter/files.d.ts +1 -0
- package/dist/ui/esm/types/ui/components/Page/EmbedBlock/EmbedBlock.types.d.ts +1 -1
- package/dist/ui/style-without-dark.css +1 -1
- package/dist/ui/umd/index.css +1 -1
- package/dist/ui/umd/index.js +1 -1
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/exporter/files.d.ts +1 -0
- package/dist/ui/umd/types/ui/components/Page/EmbedBlock/EmbedBlock.types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ export declare const getHtmlMeta: (reqUrl: string, httpFunc?: (reqUrl: string) =
|
|
|
26
26
|
icon: string;
|
|
27
27
|
}>;
|
|
28
28
|
export declare const getVideoHtml: (block: VideoBlockObjectResponseEx) => Promise<string>;
|
|
29
|
+
export declare function getSlideshareOembedUrl(reqUrl: string, httpFunc?: (reqUrl: string) => Promise<string>): Promise<string>;
|
|
29
30
|
export declare const getEmbedHtml: (block: EmbedBlockObjectResponseEx) => Promise<string>;
|
|
30
31
|
export declare const isEmpty: (obj: Object) => boolean;
|
|
31
32
|
export declare function getVideoType(uri: string): "video/mp4" | "video/webm" | "video/ogg" | "";
|
|
@@ -3,7 +3,7 @@ export interface EmbedBlockProps {
|
|
|
3
3
|
block: EmbedBlockObjectResponseEx;
|
|
4
4
|
}
|
|
5
5
|
export interface EmbedProps {
|
|
6
|
-
type: 'speakerdeck' | 'applemusic' | 'googlemap';
|
|
6
|
+
type: 'speakerdeck' | 'slideshare' | 'applemusic' | 'googlemap';
|
|
7
7
|
html: string;
|
|
8
8
|
caption: RichTextItemResponse[];
|
|
9
9
|
}
|