@vouchfor/embeds 0.0.0-experiment.79ff9cf
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/es/components/InlineEmbed.d.ts +12 -0
- package/dist/es/components/index.d.ts +2 -0
- package/dist/es/embeds.js +16 -0
- package/dist/es/embeds.js.map +1 -0
- package/dist/es/index.d.ts +1 -0
- package/dist/umd/embeds.umd.cjs +1351 -0
- package/dist/umd/embeds.umd.cjs.map +1 -0
- package/package.json +70 -0
- package/src/components/InlineEmbed.stories.ts +119 -0
- package/src/components/InlineEmbed.ts +18 -0
- package/src/components/index.ts +2 -0
- package/src/index.ts +1 -0
- package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
import { MediaPlayer } from '@vouchfor/media-player';
|
2
|
+
import type { MediaPlayerProps } from '@vouchfor/media-player';
|
3
|
+
type InlineEmbedProps = MediaPlayerProps;
|
4
|
+
declare class InlineEmbed extends MediaPlayer {
|
5
|
+
}
|
6
|
+
declare global {
|
7
|
+
interface HTMLElementTagNameMap {
|
8
|
+
'vembed-inline': InlineEmbed;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
export { InlineEmbed };
|
12
|
+
export type { InlineEmbedProps };
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { MediaPlayer as s } from "@vouchfor/media-player";
|
2
|
+
import { customElement as f } from "lit/decorators.js";
|
3
|
+
var v = Object.defineProperty, i = Object.getOwnPropertyDescriptor, _ = (o, r, t, l) => {
|
4
|
+
for (var e = l > 1 ? void 0 : l ? i(r, t) : r, m = o.length - 1, n; m >= 0; m--)
|
5
|
+
(n = o[m]) && (e = (l ? n(r, t, e) : n(e)) || e);
|
6
|
+
return l && e && v(r, t, e), e;
|
7
|
+
};
|
8
|
+
let p = class extends s {
|
9
|
+
};
|
10
|
+
p = _([
|
11
|
+
f("vembed-inline")
|
12
|
+
], p);
|
13
|
+
export {
|
14
|
+
p as InlineEmbed
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=embeds.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"embeds.js","sources":["../../src/components/InlineEmbed.ts"],"sourcesContent":["import { MediaPlayer } from '@vouchfor/media-player';\nimport { customElement } from 'lit/decorators.js';\n\nimport type { MediaPlayerProps } from '@vouchfor/media-player';\n\ntype InlineEmbedProps = MediaPlayerProps;\n\n@customElement('vembed-inline')\nclass InlineEmbed extends MediaPlayer {}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'vembed-inline': InlineEmbed;\n }\n}\n\nexport { InlineEmbed };\nexport type { InlineEmbedProps };\n"],"names":["InlineEmbed","MediaPlayer","__decorateClass","customElement"],"mappings":";;;;;;;AAQM,IAAAA,IAAN,cAA0BC,EAAY;AAAC;AAAjCD,IAANE,EAAA;AAAA,EADCC,EAAc,eAAe;AAAA,GACxBH,CAAA;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { InlineEmbed } from './components/InlineEmbed';
|