@htmlbricks/hb-contact-item 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
  id: { control: { disable: true } },
@@ -20,15 +21,20 @@ export const styleSetup: StyleSetup = {
20
21
  parts: cssParts,
21
22
  };
22
23
 
23
- export const componentSetup: ComponentSetup = {
24
+ const examples: Component[] = [
25
+ {
26
+ email: { address: "dev@dariocaruso.info" },
27
+ },
28
+ ];
29
+ export const componentSetup: ComponentSetup & { examples: Component[] } = {
24
30
  definitions: null,
25
31
  storybookArgs,
26
32
  styleSetup,
27
33
  htmlSlots,
28
34
  i18n: i18nLanguages,
29
- examples: [],
30
- name: "",
31
- category: "",
32
- tags: [],
35
+ examples,
36
+ name: "hb-contact-item",
37
+ category: "basic",
38
+ tags: ["basic"],
33
39
  size: {},
34
40
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@htmlbricks/hb-contact-item",
3
3
  "displayName": "Svelte Contact WebComponent",
4
4
  "description": "Svelte Contact WebComponent",
5
- "version": "0.8.39",
5
+ "version": "0.8.45",
6
6
  "main": "release/release.js",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -30,8 +30,8 @@
30
30
  "prepublish": "npm run build:release"
31
31
  },
32
32
  "devDependencies": {
33
- "@htmlbricks/hb-jsutils": "^0.8.39",
34
- "@htmlbricks/manifester": "^0.0.5",
33
+ "@htmlbricks/hb-jsutils": "^0.8.45",
34
+ "@htmlbricks/manifester": "^0.0.9",
35
35
  "@rollup/plugin-alias": "^3.1.2",
36
36
  "@rollup/plugin-commonjs": "^18.0.0",
37
37
  "@rollup/plugin-json": "^4.1.0",
@@ -75,5 +75,5 @@
75
75
  "webcomponents"
76
76
  ],
77
77
  "contributors": [],
78
- "gitHead": "a771bab3b3337eaa36e3c3330545158c3ef927e6"
78
+ "gitHead": "cad34cdf98084f7b6d972812fbc05c783318f0ea"
79
79
  }
package/release/docs.js CHANGED
@@ -15,16 +15,21 @@ export var styleSetup = {
15
15
  vars: cssVars,
16
16
  parts: cssParts
17
17
  };
18
+ var examples = [
19
+ {
20
+ email: { address: "dev@dariocaruso.info" }
21
+ },
22
+ ];
18
23
  export var componentSetup = {
19
24
  definitions: null,
20
25
  storybookArgs: storybookArgs,
21
26
  styleSetup: styleSetup,
22
27
  htmlSlots: htmlSlots,
23
28
  i18n: i18nLanguages,
24
- examples: [],
25
- name: "",
26
- category: "",
27
- tags: [],
29
+ examples: examples,
30
+ name: "hb-contact-item",
31
+ category: "basic",
32
+ tags: ["basic"],
28
33
  size: {}
29
34
  };
30
35
  //# 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,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAClC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACtC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACxC,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACtC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACrC,MAAM,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACvC,YAAY,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE;CAC7C,CAAC;AAEF,IAAM,OAAO,GAAa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AAC,IAAM,SAAS,GAAe,EAAE,CAAC;AACxC,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,KAAK,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE;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,iBAAiB;IACvB,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,IAAI,EAAE,EAAE;CACR,CAAC"}
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
  id: { control: { disable: true } },
@@ -20,15 +21,20 @@ export const styleSetup: StyleSetup = {
20
21
  parts: cssParts,
21
22
  };
22
23
 
23
- export const componentSetup: ComponentSetup = {
24
+ const examples: Component[] = [
25
+ {
26
+ email: { address: "dev@dariocaruso.info" },
27
+ },
28
+ ];
29
+ export const componentSetup: ComponentSetup & { examples: Component[] } = {
24
30
  definitions: null,
25
31
  storybookArgs,
26
32
  styleSetup,
27
33
  htmlSlots,
28
34
  i18n: i18nLanguages,
29
- examples: [],
30
- name: "",
31
- category: "",
32
- tags: [],
35
+ examples,
36
+ name: "hb-contact-item",
37
+ category: "basic",
38
+ tags: ["basic"],
33
39
  size: {},
34
40
  };
@@ -215,9 +215,17 @@
215
215
  },
216
216
  "htmlSlots": [],
217
217
  "i18n": [],
218
- "examples": [],
219
- "name": "",
220
- "category": "",
221
- "tags": [],
218
+ "examples": [
219
+ {
220
+ "email": {
221
+ "address": "dev@dariocaruso.info"
222
+ }
223
+ }
224
+ ],
225
+ "name": "hb-contact-item",
226
+ "category": "basic",
227
+ "tags": [
228
+ "basic"
229
+ ],
222
230
  "size": {}
223
231
  }
package/release/docs.mjs DELETED
@@ -1,30 +0,0 @@
1
- export var storybookArgs = {
2
- id: { control: { disable: true } },
3
- phone: { control: { type: "object" } },
4
- address: { control: { type: "object" } },
5
- email: { control: { type: "object" } },
6
- site: { control: { type: "object" } },
7
- config: { control: { type: "object" } },
8
- contactclick: { action: "contactClickEvent" }
9
- };
10
- var cssVars = [];
11
- export var cssParts = [];
12
- export var htmlSlots = [];
13
- export var i18nLanguages = [];
14
- export var styleSetup = {
15
- vars: cssVars,
16
- parts: cssParts
17
- };
18
- export var componentSetup = {
19
- definitions: null,
20
- storybookArgs: storybookArgs,
21
- styleSetup: styleSetup,
22
- htmlSlots: htmlSlots,
23
- i18n: i18nLanguages,
24
- examples: [],
25
- name: "",
26
- category: "",
27
- tags: [],
28
- size: {}
29
- };
30
- //# sourceMappingURL=docs.js.map
@@ -1,144 +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
- "address": {
9
- "$ref": "#/definitions/IAddress"
10
- },
11
- "config": {
12
- "$ref": "#/definitions/IConfig"
13
- },
14
- "email": {
15
- "$ref": "#/definitions/IEmail"
16
- },
17
- "id": {
18
- "type": "string"
19
- },
20
- "phone": {
21
- "$ref": "#/definitions/IPhone"
22
- },
23
- "site": {
24
- "$ref": "#/definitions/ISite"
25
- },
26
- "social": {
27
- "$ref": "#/definitions/ISocial"
28
- },
29
- "style": {
30
- "type": "string"
31
- }
32
- },
33
- "type": "object"
34
- },
35
- "IAddress": {
36
- "additionalProperties": false,
37
- "properties": {
38
- "address": {
39
- "type": "string"
40
- },
41
- "latLang": {
42
- "items": {
43
- "type": "number"
44
- },
45
- "type": "array"
46
- },
47
- "mapUri": {
48
- "type": "string"
49
- },
50
- "shortAddress": {
51
- "type": "string"
52
- }
53
- },
54
- "required": [
55
- "address"
56
- ],
57
- "type": "object"
58
- },
59
- "IConfig": {
60
- "additionalProperties": false,
61
- "properties": {
62
- "dispatcher": {
63
- "type": "boolean"
64
- },
65
- "icon": {
66
- "additionalProperties": false,
67
- "properties": {
68
- "fill": {
69
- "type": "boolean"
70
- }
71
- },
72
- "type": "object"
73
- },
74
- "text": {
75
- "type": "boolean"
76
- }
77
- },
78
- "type": "object"
79
- },
80
- "IEmail": {
81
- "additionalProperties": false,
82
- "properties": {
83
- "address": {
84
- "type": "string"
85
- },
86
- "mailLink": {
87
- "type": "boolean"
88
- }
89
- },
90
- "required": [
91
- "address"
92
- ],
93
- "type": "object"
94
- },
95
- "IPhone": {
96
- "additionalProperties": false,
97
- "properties": {
98
- "callOnClick": {
99
- "type": "boolean"
100
- },
101
- "number": {
102
- "type": "string"
103
- }
104
- },
105
- "required": [
106
- "number"
107
- ],
108
- "type": "object"
109
- },
110
- "ISite": {
111
- "additionalProperties": false,
112
- "properties": {
113
- "label": {
114
- "type": "string"
115
- },
116
- "open": {
117
- "type": "boolean"
118
- },
119
- "uri": {
120
- "type": "string"
121
- }
122
- },
123
- "type": "object"
124
- },
125
- "ISocial": {
126
- "additionalProperties": false,
127
- "properties": {
128
- "label": {
129
- "type": "string"
130
- },
131
- "name": {
132
- "type": "string"
133
- },
134
- "pageUri": {
135
- "type": "string"
136
- }
137
- },
138
- "required": [
139
- "name"
140
- ],
141
- "type": "object"
142
- }
143
- }
144
- }
@@ -1,29 +0,0 @@
1
- {
2
- "$ref": "#/definitions/Events",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "definitions": {
5
- "Events": {
6
- "additionalProperties": false,
7
- "properties": {
8
- "contactclick": {
9
- "additionalProperties": false,
10
- "properties": {
11
- "action": {
12
- "type": "string"
13
- },
14
- "options": {}
15
- },
16
- "required": [
17
- "action",
18
- "options"
19
- ],
20
- "type": "object"
21
- }
22
- },
23
- "required": [
24
- "contactclick"
25
- ],
26
- "type": "object"
27
- }
28
- }
29
- }