@htmlbricks/hb-card-video 0.8.39 → 0.8.42
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/extra/docs.ts +14 -5
- package/package.json +3 -3
- package/release/docs.js +12 -4
- package/release/docs.js.map +1 -1
- package/release/docs.mjs +12 -4
- package/release/docs.ts +14 -5
- package/release/manifest.json +13 -4
package/extra/docs.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
|
|
2
|
+
import type { Component } from "../app/types/webcomponent.type";
|
|
2
3
|
|
|
3
4
|
export const storybookArgs = {
|
|
4
5
|
videosrc: { control: { type: "text" } },
|
|
@@ -21,15 +22,23 @@ export const styleSetup: StyleSetup = {
|
|
|
21
22
|
parts: cssParts,
|
|
22
23
|
};
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
const examples: Component[] = [
|
|
26
|
+
{
|
|
27
|
+
videosrc: "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
|
|
28
|
+
title: "aa",
|
|
29
|
+
description: "desc6",
|
|
30
|
+
time: new Date("2021-08-15T18:55:22.135Z"),
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
25
34
|
definitions: null,
|
|
26
35
|
storybookArgs,
|
|
27
36
|
styleSetup,
|
|
28
37
|
htmlSlots,
|
|
29
38
|
i18n: i18nLanguages,
|
|
30
|
-
examples
|
|
31
|
-
name: "",
|
|
32
|
-
category: "",
|
|
33
|
-
tags: [],
|
|
39
|
+
examples,
|
|
40
|
+
name: "hb-card-video",
|
|
41
|
+
category: "components",
|
|
42
|
+
tags: ["components"],
|
|
34
43
|
size: {},
|
|
35
44
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-card-video",
|
|
3
3
|
"displayName": "Svelte Boostrap Video Card WebComponent",
|
|
4
4
|
"description": "Svelte Boostrap Video Card WebComponent",
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.42",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dayjs": "^1.10.7"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@htmlbricks/hb-jsutils": "^0.8.
|
|
36
|
+
"@htmlbricks/hb-jsutils": "^0.8.42",
|
|
37
37
|
"@htmlbricks/manifester": "^0.0.5",
|
|
38
38
|
"@rollup/plugin-alias": "^3.1.2",
|
|
39
39
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"webcomponents"
|
|
79
79
|
],
|
|
80
80
|
"contributors": [],
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "d6919a86b5627d502a37fe2a28830a32724d0a52"
|
|
82
82
|
}
|
package/release/docs.js
CHANGED
|
@@ -16,16 +16,24 @@ export var styleSetup = {
|
|
|
16
16
|
vars: cssVars,
|
|
17
17
|
parts: cssParts
|
|
18
18
|
};
|
|
19
|
+
var examples = [
|
|
20
|
+
{
|
|
21
|
+
videosrc: "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
|
|
22
|
+
title: "aa",
|
|
23
|
+
description: "desc6",
|
|
24
|
+
time: new Date("2021-08-15T18:55:22.135Z")
|
|
25
|
+
},
|
|
26
|
+
];
|
|
19
27
|
export var componentSetup = {
|
|
20
28
|
definitions: null,
|
|
21
29
|
storybookArgs: storybookArgs,
|
|
22
30
|
styleSetup: styleSetup,
|
|
23
31
|
htmlSlots: htmlSlots,
|
|
24
32
|
i18n: i18nLanguages,
|
|
25
|
-
examples:
|
|
26
|
-
name: "",
|
|
27
|
-
category: "",
|
|
28
|
-
tags: [],
|
|
33
|
+
examples: examples,
|
|
34
|
+
name: "hb-card-video",
|
|
35
|
+
category: "components",
|
|
36
|
+
tags: ["components"],
|
|
29
37
|
size: {}
|
|
30
38
|
};
|
|
31
39
|
//# sourceMappingURL=docs.js.map
|
package/release/docs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACvC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACpC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACvC,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAC1C,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACnC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACtC,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IACxC,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;CACzC,CAAC;AAEF,IAAM,OAAO,GAAa,EAAE,CAAC;AAC7B,MAAM,CAAC,IAAM,QAAQ,GAAc,EAAE,CAAC;AACtC,MAAM,CAAC,IAAM,SAAS,GAAe,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;AAChF,MAAM,CAAC,IAAM,aAAa,GAAe,EAAE,CAAC;AAE5C,MAAM,CAAC,IAAM,UAAU,GAAe;IACrC,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,QAAQ;CACf,CAAC;AAEF,IAAM,QAAQ,GAAgB;IAC7B;QACC,QAAQ,EAAE,0EAA0E;QACpF,KAAK,EAAE,IAAI;QACX,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,IAAI,IAAI,CAAC,0BAA0B,CAAC;KAC1C;CACD,CAAC;AACF,MAAM,CAAC,IAAM,cAAc,GAA+C;IACzE,WAAW,EAAE,IAAI;IACjB,aAAa,eAAA;IACb,UAAU,YAAA;IACV,SAAS,WAAA;IACT,IAAI,EAAE,aAAa;IACnB,QAAQ,UAAA;IACR,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,CAAC,YAAY,CAAC;IACpB,IAAI,EAAE,EAAE;CACR,CAAC"}
|
package/release/docs.mjs
CHANGED
|
@@ -16,16 +16,24 @@ export var styleSetup = {
|
|
|
16
16
|
vars: cssVars,
|
|
17
17
|
parts: cssParts
|
|
18
18
|
};
|
|
19
|
+
var examples = [
|
|
20
|
+
{
|
|
21
|
+
videosrc: "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
|
|
22
|
+
title: "aa",
|
|
23
|
+
description: "desc6",
|
|
24
|
+
time: new Date("2021-08-15T18:55:22.135Z")
|
|
25
|
+
},
|
|
26
|
+
];
|
|
19
27
|
export var componentSetup = {
|
|
20
28
|
definitions: null,
|
|
21
29
|
storybookArgs: storybookArgs,
|
|
22
30
|
styleSetup: styleSetup,
|
|
23
31
|
htmlSlots: htmlSlots,
|
|
24
32
|
i18n: i18nLanguages,
|
|
25
|
-
examples:
|
|
26
|
-
name: "",
|
|
27
|
-
category: "",
|
|
28
|
-
tags: [],
|
|
33
|
+
examples: examples,
|
|
34
|
+
name: "hb-card-video",
|
|
35
|
+
category: "components",
|
|
36
|
+
tags: ["components"],
|
|
29
37
|
size: {}
|
|
30
38
|
};
|
|
31
39
|
//# sourceMappingURL=docs.js.map
|
package/release/docs.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
|
|
2
|
+
import type { Component } from "../app/types/webcomponent.type";
|
|
2
3
|
|
|
3
4
|
export const storybookArgs = {
|
|
4
5
|
videosrc: { control: { type: "text" } },
|
|
@@ -21,15 +22,23 @@ export const styleSetup: StyleSetup = {
|
|
|
21
22
|
parts: cssParts,
|
|
22
23
|
};
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
const examples: Component[] = [
|
|
26
|
+
{
|
|
27
|
+
videosrc: "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
|
|
28
|
+
title: "aa",
|
|
29
|
+
description: "desc6",
|
|
30
|
+
time: new Date("2021-08-15T18:55:22.135Z"),
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
25
34
|
definitions: null,
|
|
26
35
|
storybookArgs,
|
|
27
36
|
styleSetup,
|
|
28
37
|
htmlSlots,
|
|
29
38
|
i18n: i18nLanguages,
|
|
30
|
-
examples
|
|
31
|
-
name: "",
|
|
32
|
-
category: "",
|
|
33
|
-
tags: [],
|
|
39
|
+
examples,
|
|
40
|
+
name: "hb-card-video",
|
|
41
|
+
category: "components",
|
|
42
|
+
tags: ["components"],
|
|
34
43
|
size: {},
|
|
35
44
|
};
|
package/release/manifest.json
CHANGED
|
@@ -114,9 +114,18 @@
|
|
|
114
114
|
}
|
|
115
115
|
],
|
|
116
116
|
"i18n": [],
|
|
117
|
-
"examples": [
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
"examples": [
|
|
118
|
+
{
|
|
119
|
+
"videosrc": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
|
|
120
|
+
"title": "aa",
|
|
121
|
+
"description": "desc6",
|
|
122
|
+
"time": "2021-08-15T18:55:22.135Z"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"name": "hb-card-video",
|
|
126
|
+
"category": "components",
|
|
127
|
+
"tags": [
|
|
128
|
+
"components"
|
|
129
|
+
],
|
|
121
130
|
"size": {}
|
|
122
131
|
}
|