@htmlbricks/hb-card-video 0.8.39 → 0.8.45

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 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
- export const componentSetup: ComponentSetup = {
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.39",
5
+ "version": "0.8.45",
6
6
  "main": "release/release.js",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -33,8 +33,8 @@
33
33
  "dayjs": "^1.10.7"
34
34
  },
35
35
  "devDependencies": {
36
- "@htmlbricks/hb-jsutils": "^0.8.39",
37
- "@htmlbricks/manifester": "^0.0.5",
36
+ "@htmlbricks/hb-jsutils": "^0.8.45",
37
+ "@htmlbricks/manifester": "^0.0.9",
38
38
  "@rollup/plugin-alias": "^3.1.2",
39
39
  "@rollup/plugin-commonjs": "^18.0.0",
40
40
  "@rollup/plugin-json": "^4.1.0",
@@ -78,5 +78,5 @@
78
78
  "webcomponents"
79
79
  ],
80
80
  "contributors": [],
81
- "gitHead": "a771bab3b3337eaa36e3c3330545158c3ef927e6"
81
+ "gitHead": "cad34cdf98084f7b6d972812fbc05c783318f0ea"
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
@@ -1 +1 @@
1
- {"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAEA,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,IA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utils/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
- export const componentSetup: ComponentSetup = {
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
  };
@@ -114,9 +114,18 @@
114
114
  }
115
115
  ],
116
116
  "i18n": [],
117
- "examples": [],
118
- "name": "",
119
- "category": "",
120
- "tags": [],
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
  }
package/release/docs.mjs DELETED
@@ -1,31 +0,0 @@
1
- export var storybookArgs = {
2
- videosrc: { control: { type: "text" } },
3
- title: { control: { type: "text" } },
4
- provider: { control: { type: "text" } },
5
- description: { control: { type: "text" } },
6
- time: { control: { type: "date" } },
7
- pageuri: { control: { type: "text" } },
8
- linklabel: { control: { type: "text" } },
9
- dateformat: { control: { type: "text" } }
10
- };
11
- var cssVars = [];
12
- export var cssParts = [];
13
- export var htmlSlots = [{ name: "card-footer", description: "" }];
14
- export var i18nLanguages = [];
15
- export var styleSetup = {
16
- vars: cssVars,
17
- parts: cssParts
18
- };
19
- export var componentSetup = {
20
- definitions: null,
21
- storybookArgs: storybookArgs,
22
- styleSetup: styleSetup,
23
- htmlSlots: htmlSlots,
24
- i18n: i18nLanguages,
25
- examples: [],
26
- name: "",
27
- category: "",
28
- tags: [],
29
- size: {}
30
- };
31
- //# sourceMappingURL=docs.js.map
@@ -1,50 +0,0 @@
1
- {
2
- "$ref": "#/definitions/Component",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "definitions": {
5
- "Component": {
6
- "additionalProperties": false,
7
- "properties": {
8
- "dateformat": {
9
- "type": "string"
10
- },
11
- "description": {
12
- "type": "string"
13
- },
14
- "id": {
15
- "type": "string"
16
- },
17
- "linklabel": {
18
- "type": "string"
19
- },
20
- "pageuri": {
21
- "type": "string"
22
- },
23
- "provider": {
24
- "enum": [
25
- "youtube",
26
- ""
27
- ],
28
- "type": "string"
29
- },
30
- "style": {
31
- "type": "string"
32
- },
33
- "time": {
34
- "format": "date-time",
35
- "type": "string"
36
- },
37
- "title": {
38
- "type": "string"
39
- },
40
- "videosrc": {
41
- "type": "string"
42
- }
43
- },
44
- "required": [
45
- "videosrc"
46
- ],
47
- "type": "object"
48
- }
49
- }
50
- }
@@ -1,10 +0,0 @@
1
- {
2
- "$ref": "#/definitions/Events",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "definitions": {
5
- "Events": {
6
- "additionalProperties": false,
7
- "type": "object"
8
- }
9
- }
10
- }