@htmlbricks/hb-footer 0.20.18 → 0.50.0-alpha.11

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 DELETED
@@ -1,129 +0,0 @@
1
- import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "wc-js-utils/main";
2
- import type { Component } from "../app/types/webcomponent.type";
3
-
4
- export const storybookArgs = {
5
- columns: { control: { type: "array" } },
6
- policies: { control: { type: "array" } },
7
- brandandcontacts: { control: { type: "object" } },
8
- disable_expanding_small: { control: { type: "boolean" } },
9
- socials: { control: { type: "object" } },
10
- contacts: { control: { type: "object" } },
11
- company: { control: { type: "object" } },
12
- type: { control: { type: "select", options: ["small", "regular", "large"] } },
13
- footerClick: { action: "footerClickEvent" },
14
- };
15
-
16
- const cssVars: CssVar[] = [];
17
- export const cssParts: CssPart[] = [{ name: "column-cell-button-content", description: "" }];
18
- export const htmlSlots: HtmlSlot[] = [
19
- { name: "footerpolicy", description: "" },
20
- { description: "", name: "footerheader" },
21
- { description: "", name: "footercontent" },
22
- { description: "", name: "footerbottom" },
23
- { name: "footer_small" },
24
- ];
25
-
26
- export const i18nLanguages: i18nLang[] = [];
27
-
28
- export const styleSetup: StyleSetup = {
29
- vars: cssVars,
30
- parts: cssParts,
31
- };
32
- const company: Component["company"] = {
33
- logoUri: "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
34
- siteName: "testsite",
35
- companyName: "testcompany S.R.L.",
36
- description: `testo e descrizione di esempio dell applicazione`,
37
- vatNumber: "aa - ffffff",
38
- fiscalCode: "f4f5f6fff",
39
- };
40
- const contacts: Component["contacts"] = {
41
- sites: [
42
- {
43
- label: "dariocaruso.info",
44
- uri: "https://dariocaruso.info",
45
- },
46
- ],
47
- phones: [
48
- {
49
- number: "6666666666666",
50
- },
51
- ],
52
- addresses: [],
53
- emails: [],
54
- };
55
- const socials: Component["socials"] = {
56
- facebook: "fbbb",
57
- youtube: "yttttttt",
58
- };
59
- const columns: Component["columns"] = [
60
- {
61
- cells: [
62
- {
63
- label: "test",
64
- _id: "test",
65
- },
66
- {
67
- label: "test2",
68
- _id: "test2",
69
- },
70
- {
71
- label: "test3",
72
- _id: "test3",
73
- },
74
- ],
75
- title: "stringtitle",
76
- },
77
- ];
78
- const brandandcontacts: Component["brandandcontacts"] = {
79
- companyName: "bella",
80
- companyLogoUri: "",
81
- };
82
- const policies: Component["policies"] = [
83
- {
84
- label: "Privacy Policy",
85
- key: "privacypolicy",
86
- },
87
- {
88
- label: "Condizioni Generali",
89
- key: "generalcondition",
90
- },
91
- {
92
- label: "Cookie Policy",
93
- key: "cookiepolicy",
94
- },
95
- ];
96
- const examples: { name: string; description?: string; data: Component }[] = [
97
- {
98
- name: "default",
99
- data: {
100
- company,
101
- brandandcontacts,
102
- columns,
103
- policies,
104
- contacts,
105
- socials,
106
- },
107
- },
108
- ];
109
- export const componentSetup: ComponentSetup & { examples: { name: string; description?: string; data: Component }[] } = {
110
- definitions: null as any,
111
- storybookArgs,
112
- styleSetup,
113
- author: null as any,
114
- contributors: [],
115
- owner: null as any,
116
- htmlSlots,
117
- i18n: i18nLanguages,
118
- examples,
119
- screenshots: [],
120
- licenses: [{ type: "Apache-2.0", path: "LICENSE.md", cost: 0, currency: "EUR" }],
121
- readmePath: "README.md",
122
- name: "hb-footer",
123
- category: "layout",
124
- tags: ["layout"],
125
- size: { layout: "fullscreen" },
126
- iifePath: "release/release.js",
127
- repoName: "@htmlbricks/hb-footer",
128
- version: null as any,
129
- };
package/release/docs.js DELETED
@@ -1,124 +0,0 @@
1
- export var storybookArgs = {
2
- columns: { control: { type: "array" } },
3
- policies: { control: { type: "array" } },
4
- brandandcontacts: { control: { type: "object" } },
5
- disable_expanding_small: { control: { type: "boolean" } },
6
- socials: { control: { type: "object" } },
7
- contacts: { control: { type: "object" } },
8
- company: { control: { type: "object" } },
9
- type: { control: { type: "select", options: ["small", "regular", "large"] } },
10
- footerClick: { action: "footerClickEvent" }
11
- };
12
- var cssVars = [];
13
- export var cssParts = [{ name: "column-cell-button-content", description: "" }];
14
- export var htmlSlots = [
15
- { name: "footerpolicy", description: "" },
16
- { description: "", name: "footerheader" },
17
- { description: "", name: "footercontent" },
18
- { description: "", name: "footerbottom" },
19
- { name: "footer_small" },
20
- ];
21
- export var i18nLanguages = [];
22
- export var styleSetup = {
23
- vars: cssVars,
24
- parts: cssParts
25
- };
26
- var company = {
27
- logoUri: "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
28
- siteName: "testsite",
29
- companyName: "testcompany S.R.L.",
30
- description: "testo e descrizione di esempio dell applicazione",
31
- vatNumber: "aa - ffffff",
32
- fiscalCode: "f4f5f6fff"
33
- };
34
- var contacts = {
35
- sites: [
36
- {
37
- label: "dariocaruso.info",
38
- uri: "https://dariocaruso.info"
39
- },
40
- ],
41
- phones: [
42
- {
43
- number: "6666666666666"
44
- },
45
- ],
46
- addresses: [],
47
- emails: []
48
- };
49
- var socials = {
50
- facebook: "fbbb",
51
- youtube: "yttttttt"
52
- };
53
- var columns = [
54
- {
55
- cells: [
56
- {
57
- label: "test",
58
- _id: "test"
59
- },
60
- {
61
- label: "test2",
62
- _id: "test2"
63
- },
64
- {
65
- label: "test3",
66
- _id: "test3"
67
- },
68
- ],
69
- title: "stringtitle"
70
- },
71
- ];
72
- var brandandcontacts = {
73
- companyName: "bella",
74
- companyLogoUri: ""
75
- };
76
- var policies = [
77
- {
78
- label: "Privacy Policy",
79
- key: "privacypolicy"
80
- },
81
- {
82
- label: "Condizioni Generali",
83
- key: "generalcondition"
84
- },
85
- {
86
- label: "Cookie Policy",
87
- key: "cookiepolicy"
88
- },
89
- ];
90
- var examples = [
91
- {
92
- name: "default",
93
- data: {
94
- company: company,
95
- brandandcontacts: brandandcontacts,
96
- columns: columns,
97
- policies: policies,
98
- contacts: contacts,
99
- socials: socials
100
- }
101
- },
102
- ];
103
- export var componentSetup = {
104
- definitions: null,
105
- storybookArgs: storybookArgs,
106
- styleSetup: styleSetup,
107
- author: null,
108
- contributors: [],
109
- owner: null,
110
- htmlSlots: htmlSlots,
111
- i18n: i18nLanguages,
112
- examples: examples,
113
- screenshots: [],
114
- licenses: [{ type: "Apache-2.0", path: "LICENSE.md", cost: 0, currency: "EUR" }],
115
- readmePath: "README.md",
116
- name: "hb-footer",
117
- category: "layout",
118
- tags: ["layout"],
119
- size: { layout: "fullscreen" },
120
- iifePath: "release/release.js",
121
- repoName: "@htmlbricks/hb-footer",
122
- version: null
123
- };
124
- //# sourceMappingURL=docs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACvC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IACxC,gBAAgB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACjD,uBAAuB,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IACzD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACxC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACzC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACxC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,EAAE;IAC7E,WAAW,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE;CAC3C,CAAC;AAEF,IAAM,OAAO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AAE,uBAAuB;IACjC,OAAO,EAAE,IAAW;CACpB,CAAC"}
package/release/docs.ts DELETED
@@ -1,129 +0,0 @@
1
- import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "wc-js-utils/main";
2
- import type { Component } from "../app/types/webcomponent.type";
3
-
4
- export const storybookArgs = {
5
- columns: { control: { type: "array" } },
6
- policies: { control: { type: "array" } },
7
- brandandcontacts: { control: { type: "object" } },
8
- disable_expanding_small: { control: { type: "boolean" } },
9
- socials: { control: { type: "object" } },
10
- contacts: { control: { type: "object" } },
11
- company: { control: { type: "object" } },
12
- type: { control: { type: "select", options: ["small", "regular", "large"] } },
13
- footerClick: { action: "footerClickEvent" },
14
- };
15
-
16
- const cssVars: CssVar[] = [];
17
- export const cssParts: CssPart[] = [{ name: "column-cell-button-content", description: "" }];
18
- export const htmlSlots: HtmlSlot[] = [
19
- { name: "footerpolicy", description: "" },
20
- { description: "", name: "footerheader" },
21
- { description: "", name: "footercontent" },
22
- { description: "", name: "footerbottom" },
23
- { name: "footer_small" },
24
- ];
25
-
26
- export const i18nLanguages: i18nLang[] = [];
27
-
28
- export const styleSetup: StyleSetup = {
29
- vars: cssVars,
30
- parts: cssParts,
31
- };
32
- const company: Component["company"] = {
33
- logoUri: "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
34
- siteName: "testsite",
35
- companyName: "testcompany S.R.L.",
36
- description: `testo e descrizione di esempio dell applicazione`,
37
- vatNumber: "aa - ffffff",
38
- fiscalCode: "f4f5f6fff",
39
- };
40
- const contacts: Component["contacts"] = {
41
- sites: [
42
- {
43
- label: "dariocaruso.info",
44
- uri: "https://dariocaruso.info",
45
- },
46
- ],
47
- phones: [
48
- {
49
- number: "6666666666666",
50
- },
51
- ],
52
- addresses: [],
53
- emails: [],
54
- };
55
- const socials: Component["socials"] = {
56
- facebook: "fbbb",
57
- youtube: "yttttttt",
58
- };
59
- const columns: Component["columns"] = [
60
- {
61
- cells: [
62
- {
63
- label: "test",
64
- _id: "test",
65
- },
66
- {
67
- label: "test2",
68
- _id: "test2",
69
- },
70
- {
71
- label: "test3",
72
- _id: "test3",
73
- },
74
- ],
75
- title: "stringtitle",
76
- },
77
- ];
78
- const brandandcontacts: Component["brandandcontacts"] = {
79
- companyName: "bella",
80
- companyLogoUri: "",
81
- };
82
- const policies: Component["policies"] = [
83
- {
84
- label: "Privacy Policy",
85
- key: "privacypolicy",
86
- },
87
- {
88
- label: "Condizioni Generali",
89
- key: "generalcondition",
90
- },
91
- {
92
- label: "Cookie Policy",
93
- key: "cookiepolicy",
94
- },
95
- ];
96
- const examples: { name: string; description?: string; data: Component }[] = [
97
- {
98
- name: "default",
99
- data: {
100
- company,
101
- brandandcontacts,
102
- columns,
103
- policies,
104
- contacts,
105
- socials,
106
- },
107
- },
108
- ];
109
- export const componentSetup: ComponentSetup & { examples: { name: string; description?: string; data: Component }[] } = {
110
- definitions: null as any,
111
- storybookArgs,
112
- styleSetup,
113
- author: null as any,
114
- contributors: [],
115
- owner: null as any,
116
- htmlSlots,
117
- i18n: i18nLanguages,
118
- examples,
119
- screenshots: [],
120
- licenses: [{ type: "Apache-2.0", path: "LICENSE.md", cost: 0, currency: "EUR" }],
121
- readmePath: "README.md",
122
- name: "hb-footer",
123
- category: "layout",
124
- tags: ["layout"],
125
- size: { layout: "fullscreen" },
126
- iifePath: "release/release.js",
127
- repoName: "@htmlbricks/hb-footer",
128
- version: null as any,
129
- };