@htmlbricks/hb-input-checkbox 0.8.37 → 0.8.43

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
- import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup } from "@htmlbricks/hb-jsutils/main";
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
  schemaentry: { control: { type: "object" } },
@@ -26,14 +27,26 @@ export const styleSetup: StyleSetup = {
26
27
  parts: cssParts,
27
28
  };
28
29
 
29
- export const componentSetup = {
30
+ const examples: Component[] = [
31
+ {
32
+ schemaentry: {
33
+ placeholder: "Insert your last name here...",
34
+ id: "lastName",
35
+ required: true,
36
+ label: "Last Name",
37
+ validationTip: "This field cannot be empty.",
38
+ },
39
+ },
40
+ ];
41
+ export const componentSetup: ComponentSetup & { examples: Component[] } = {
42
+ definitions: null,
30
43
  storybookArgs,
31
44
  styleSetup,
32
45
  htmlSlots,
33
46
  i18n: i18nLanguages,
34
- examples: [],
35
- name: "",
36
- category: "",
37
- tags: [],
47
+ examples,
48
+ name: "hb-input-checkbox",
49
+ category: "input",
50
+ tags: ["input"],
38
51
  size: {},
39
52
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@htmlbricks/hb-input-checkbox",
3
3
  "displayName": "Svelte-Bootstrap Checkbox Input WebComponent",
4
4
  "description": "Svelte-Bootstrap Checkbox Input WebComponent",
5
- "version": "0.8.37",
5
+ "version": "0.8.43",
6
6
  "main": "release/release.js",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -20,15 +20,18 @@
20
20
  "start": "sirv dist",
21
21
  "dev": "rm -rf ./dist && rollup -c -w",
22
22
  "build": "rm -rf ./dist && rollup -c",
23
- "generate-docs": "cp $PWD/dist/docs.js $PWD/dist/docs.mjs && generate-json-from-js-object --input $PWD/dist/docs.mjs --var componentSetup --output $PWD/dist/docs.type.d.json && rm $PWD/dist/docs.mjs",
24
- "generate-schema": "ts-json-schema-generator --path 'app/types/webcomponent.type.d.ts' > dist/webcomponent.type.d.json",
23
+ "generate-manifest": "npm run generate-schemes && manifester --dir $PWD",
24
+ "generate-component-schema": "ts-json-schema-generator --type 'Component' --path 'app/types/webcomponent.type.d.ts' > dist/webcomponent.type.d.json",
25
+ "generate-events-schema": "ts-json-schema-generator --type 'Events' --path 'app/types/webcomponent.type.d.ts' > dist/webcomponent_events.type.d.json",
26
+ "generate-schemes": "npm run generate-events-schema && npm run generate-component-schema",
25
27
  "copydest": "rm -rf release && mkdir -p release && mkdir -p release && cp dist/* ./release/",
26
28
  "build-extra": "tsc --moduleResolution node --module es2020 --esModuleInterop true --outDir dist --sourceMap --skipLibCheck extra/*",
27
- "build:release": "PRODUCTION=true npm run build && npm run build-extra && npm run generate-schema && npm run generate-docs && npm run copydest",
29
+ "build:release": "PRODUCTION=true npm run build && npm run build-extra && npm run generate-manifest && npm run copydest",
28
30
  "prepublish": "npm run build:release"
29
31
  },
30
32
  "devDependencies": {
31
- "@htmlbricks/hb-jsutils": "^0.8.37",
33
+ "@htmlbricks/hb-jsutils": "^0.8.43",
34
+ "@htmlbricks/manifester": "^0.0.5",
32
35
  "@rollup/plugin-alias": "^3.1.2",
33
36
  "@rollup/plugin-commonjs": "^18.0.0",
34
37
  "@rollup/plugin-json": "^4.1.0",
@@ -42,7 +45,6 @@
42
45
  "eslint": "^7.25.0",
43
46
  "eslint-plugin-jsdoc": "^33.0.0",
44
47
  "eslint-plugin-svelte3": "^3.2.0",
45
- "generate-json-from-js-object": "^0.0.17",
46
48
  "node-sass": "^6.0.1",
47
49
  "postcss": "^8.2.13",
48
50
  "postcss-load-config": "^3.0.1",
@@ -73,5 +75,5 @@
73
75
  "webcomponents"
74
76
  ],
75
77
  "contributors": [],
76
- "gitHead": "1a737cc2f90ff5f9c3bd06a155743e47329e8861"
78
+ "gitHead": "00bfec0d080db03f42972124577a880c9bf2570e"
77
79
  }
package/release/docs.js CHANGED
@@ -21,15 +21,27 @@ export var styleSetup = {
21
21
  vars: cssVars,
22
22
  parts: cssParts
23
23
  };
24
+ var examples = [
25
+ {
26
+ schemaentry: {
27
+ placeholder: "Insert your last name here...",
28
+ id: "lastName",
29
+ required: true,
30
+ label: "Last Name",
31
+ validationTip: "This field cannot be empty."
32
+ }
33
+ },
34
+ ];
24
35
  export var componentSetup = {
36
+ definitions: null,
25
37
  storybookArgs: storybookArgs,
26
38
  styleSetup: styleSetup,
27
39
  htmlSlots: htmlSlots,
28
40
  i18n: i18nLanguages,
29
- examples: [],
30
- name: "",
31
- category: "",
32
- tags: [],
41
+ examples: examples,
42
+ name: "hb-input-checkbox",
43
+ category: "input",
44
+ tags: ["input"],
33
45
  size: {}
34
46
  };
35
47
  //# 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,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IAC5C,cAAc,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAChD,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC1C,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAC1C,QAAQ,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;IAChC,QAAQ,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;CAChC,CAAC;AAEF,IAAM,OAAO,GAAa;IACzB,EAAE,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE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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,WAAW,EAAE;YACZ,WAAW,EAAE,+BAA+B;YAC5C,EAAE,EAAE,UAAU;YACd,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,WAAW;YAClB,aAAa,EAAE,6BAA6B;SAC5C;KACD;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,mBAAmB;IACzB,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,IAAI,EAAE,EAAE;CACR,CAAC"}
@@ -0,0 +1,47 @@
1
+ export var storybookArgs = {
2
+ schemaentry: { control: { type: "object" } },
3
+ showvalidation: { control: { type: "boolean" } },
4
+ setvalid: { control: { type: "boolean" } },
5
+ setvalue: { control: { type: "boolean" } },
6
+ setValid: { action: "setValid" },
7
+ setValue: { action: "setValue" }
8
+ };
9
+ var cssVars = [
10
+ { name: "--bs-primary", valueType: "color", theme: "bootstrap", defaultValue: "#07689f" },
11
+ { name: "--bs-secondary", valueType: "color", theme: "bootstrap", defaultValue: "#c9d6df" },
12
+ { name: "--bs-success", valueType: "color", theme: "bootstrap", defaultValue: "#11d3bc" },
13
+ { name: "--bs-info", valueType: "color", theme: "bootstrap", defaultValue: "#a2d5f2" },
14
+ { name: "--bs-warning", valueType: "color", theme: "bootstrap", defaultValue: "#ffc107" },
15
+ { name: "--bs-danger", valueType: "color", theme: "bootstrap", defaultValue: "#f67280" },
16
+ ];
17
+ export var cssParts = [{ name: "invalid-feedback", description: "" }];
18
+ export var htmlSlots = [];
19
+ export var i18nLanguages = [];
20
+ export var styleSetup = {
21
+ vars: cssVars,
22
+ parts: cssParts
23
+ };
24
+ var examples = [
25
+ {
26
+ schemaentry: {
27
+ placeholder: "Insert your last name here...",
28
+ id: "lastName",
29
+ required: true,
30
+ label: "Last Name",
31
+ validationTip: "This field cannot be empty."
32
+ }
33
+ },
34
+ ];
35
+ export var componentSetup = {
36
+ definitions: null,
37
+ storybookArgs: storybookArgs,
38
+ styleSetup: styleSetup,
39
+ htmlSlots: htmlSlots,
40
+ i18n: i18nLanguages,
41
+ examples: examples,
42
+ name: "hb-input-checkbox",
43
+ category: "input",
44
+ tags: ["input"],
45
+ size: {}
46
+ };
47
+ //# sourceMappingURL=docs.js.map
package/release/docs.ts CHANGED
@@ -1,4 +1,5 @@
1
- import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup } from "@htmlbricks/hb-jsutils/main";
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
  schemaentry: { control: { type: "object" } },
@@ -26,14 +27,26 @@ export const styleSetup: StyleSetup = {
26
27
  parts: cssParts,
27
28
  };
28
29
 
29
- export const componentSetup = {
30
+ const examples: Component[] = [
31
+ {
32
+ schemaentry: {
33
+ placeholder: "Insert your last name here...",
34
+ id: "lastName",
35
+ required: true,
36
+ label: "Last Name",
37
+ validationTip: "This field cannot be empty.",
38
+ },
39
+ },
40
+ ];
41
+ export const componentSetup: ComponentSetup & { examples: Component[] } = {
42
+ definitions: null,
30
43
  storybookArgs,
31
44
  styleSetup,
32
45
  htmlSlots,
33
46
  i18n: i18nLanguages,
34
- examples: [],
35
- name: "",
36
- category: "",
37
- tags: [],
47
+ examples,
48
+ name: "hb-input-checkbox",
49
+ category: "input",
50
+ tags: ["input"],
38
51
  size: {},
39
52
  };
@@ -0,0 +1,220 @@
1
+ {
2
+ "definitions": {
3
+ "events": {
4
+ "$ref": "#/definitions/Events",
5
+ "$schema": "http://json-schema.org/draft-07/schema#",
6
+ "definitions": {
7
+ "Events": {
8
+ "additionalProperties": false,
9
+ "properties": {
10
+ "setValid": {
11
+ "additionalProperties": false,
12
+ "properties": {
13
+ "valid": {
14
+ "type": "boolean"
15
+ }
16
+ },
17
+ "required": [
18
+ "valid"
19
+ ],
20
+ "type": "object"
21
+ },
22
+ "setValue": {
23
+ "additionalProperties": false,
24
+ "properties": {
25
+ "value": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": [
30
+ "value"
31
+ ],
32
+ "type": "object"
33
+ }
34
+ },
35
+ "required": [
36
+ "setValue",
37
+ "setValid"
38
+ ],
39
+ "type": "object"
40
+ }
41
+ }
42
+ },
43
+ "component": {
44
+ "$ref": "#/definitions/Component",
45
+ "$schema": "http://json-schema.org/draft-07/schema#",
46
+ "definitions": {
47
+ "Component": {
48
+ "additionalProperties": false,
49
+ "properties": {
50
+ "id": {
51
+ "type": "string"
52
+ },
53
+ "schemaentry": {
54
+ "$ref": "#/definitions/FormSchemaEntry"
55
+ },
56
+ "setvalid": {
57
+ "type": "boolean"
58
+ },
59
+ "setvalue": {
60
+ "type": "boolean"
61
+ },
62
+ "showvalidation": {
63
+ "enum": [
64
+ "yes",
65
+ "no"
66
+ ],
67
+ "type": "string"
68
+ },
69
+ "style": {
70
+ "type": "string"
71
+ }
72
+ },
73
+ "required": [
74
+ "schemaentry"
75
+ ],
76
+ "type": "object"
77
+ },
78
+ "FormSchemaEntry": {
79
+ "additionalProperties": false,
80
+ "properties": {
81
+ "id": {
82
+ "description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
83
+ "type": "string"
84
+ },
85
+ "label": {
86
+ "description": "The descriptive label that will show alongside the form control.",
87
+ "type": "string"
88
+ },
89
+ "params": {
90
+ "description": "Other parameters that may be specific to a certain kind of form control.",
91
+ "type": "object"
92
+ },
93
+ "placeholder": {
94
+ "type": "string"
95
+ },
96
+ "readonly": {
97
+ "type": "boolean"
98
+ },
99
+ "required": {
100
+ "description": "This doesn't matter if the dependencies requirements aren't met.",
101
+ "type": "boolean"
102
+ },
103
+ "validationRegex": {
104
+ "type": "string"
105
+ },
106
+ "validationTip": {
107
+ "description": "Shows if value is not valid.",
108
+ "type": "string"
109
+ },
110
+ "value": {
111
+ "description": "Optional default value.",
112
+ "type": [
113
+ "string",
114
+ "number",
115
+ "boolean"
116
+ ]
117
+ }
118
+ },
119
+ "required": [
120
+ "id"
121
+ ],
122
+ "type": "object"
123
+ }
124
+ }
125
+ }
126
+ },
127
+ "storybookArgs": {
128
+ "schemaentry": {
129
+ "control": {
130
+ "type": "object"
131
+ }
132
+ },
133
+ "showvalidation": {
134
+ "control": {
135
+ "type": "boolean"
136
+ }
137
+ },
138
+ "setvalid": {
139
+ "control": {
140
+ "type": "boolean"
141
+ }
142
+ },
143
+ "setvalue": {
144
+ "control": {
145
+ "type": "boolean"
146
+ }
147
+ },
148
+ "setValid": {
149
+ "action": "setValid"
150
+ },
151
+ "setValue": {
152
+ "action": "setValue"
153
+ }
154
+ },
155
+ "styleSetup": {
156
+ "vars": [
157
+ {
158
+ "name": "--bs-primary",
159
+ "valueType": "color",
160
+ "theme": "bootstrap",
161
+ "defaultValue": "#07689f"
162
+ },
163
+ {
164
+ "name": "--bs-secondary",
165
+ "valueType": "color",
166
+ "theme": "bootstrap",
167
+ "defaultValue": "#c9d6df"
168
+ },
169
+ {
170
+ "name": "--bs-success",
171
+ "valueType": "color",
172
+ "theme": "bootstrap",
173
+ "defaultValue": "#11d3bc"
174
+ },
175
+ {
176
+ "name": "--bs-info",
177
+ "valueType": "color",
178
+ "theme": "bootstrap",
179
+ "defaultValue": "#a2d5f2"
180
+ },
181
+ {
182
+ "name": "--bs-warning",
183
+ "valueType": "color",
184
+ "theme": "bootstrap",
185
+ "defaultValue": "#ffc107"
186
+ },
187
+ {
188
+ "name": "--bs-danger",
189
+ "valueType": "color",
190
+ "theme": "bootstrap",
191
+ "defaultValue": "#f67280"
192
+ }
193
+ ],
194
+ "parts": [
195
+ {
196
+ "name": "invalid-feedback",
197
+ "description": ""
198
+ }
199
+ ]
200
+ },
201
+ "htmlSlots": [],
202
+ "i18n": [],
203
+ "examples": [
204
+ {
205
+ "schemaentry": {
206
+ "placeholder": "Insert your last name here...",
207
+ "id": "lastName",
208
+ "required": true,
209
+ "label": "Last Name",
210
+ "validationTip": "This field cannot be empty."
211
+ }
212
+ }
213
+ ],
214
+ "name": "hb-input-checkbox",
215
+ "category": "input",
216
+ "tags": [
217
+ "input"
218
+ ],
219
+ "size": {}
220
+ }
@@ -1,4 +1,5 @@
1
1
  {
2
+ "$ref": "#/definitions/Component",
2
3
  "$schema": "http://json-schema.org/draft-07/schema#",
3
4
  "definitions": {
4
5
  "Component": {
@@ -32,40 +33,6 @@
32
33
  ],
33
34
  "type": "object"
34
35
  },
35
- "Events": {
36
- "additionalProperties": false,
37
- "properties": {
38
- "setValid": {
39
- "additionalProperties": false,
40
- "properties": {
41
- "valid": {
42
- "type": "boolean"
43
- }
44
- },
45
- "required": [
46
- "valid"
47
- ],
48
- "type": "object"
49
- },
50
- "setValue": {
51
- "additionalProperties": false,
52
- "properties": {
53
- "value": {
54
- "type": "string"
55
- }
56
- },
57
- "required": [
58
- "value"
59
- ],
60
- "type": "object"
61
- }
62
- },
63
- "required": [
64
- "setValue",
65
- "setValid"
66
- ],
67
- "type": "object"
68
- },
69
36
  "FormSchemaEntry": {
70
37
  "additionalProperties": false,
71
38
  "properties": {
@@ -0,0 +1,40 @@
1
+ {
2
+ "$ref": "#/definitions/Events",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "definitions": {
5
+ "Events": {
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "setValid": {
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "valid": {
12
+ "type": "boolean"
13
+ }
14
+ },
15
+ "required": [
16
+ "valid"
17
+ ],
18
+ "type": "object"
19
+ },
20
+ "setValue": {
21
+ "additionalProperties": false,
22
+ "properties": {
23
+ "value": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "required": [
28
+ "value"
29
+ ],
30
+ "type": "object"
31
+ }
32
+ },
33
+ "required": [
34
+ "setValue",
35
+ "setValid"
36
+ ],
37
+ "type": "object"
38
+ }
39
+ }
40
+ }
@@ -1,83 +0,0 @@
1
- {
2
- "storybookArgs": {
3
- "schemaentry": {
4
- "control": {
5
- "type": "object"
6
- }
7
- },
8
- "showvalidation": {
9
- "control": {
10
- "type": "boolean"
11
- }
12
- },
13
- "setvalid": {
14
- "control": {
15
- "type": "boolean"
16
- }
17
- },
18
- "setvalue": {
19
- "control": {
20
- "type": "boolean"
21
- }
22
- },
23
- "setValid": {
24
- "action": "setValid"
25
- },
26
- "setValue": {
27
- "action": "setValue"
28
- }
29
- },
30
- "styleSetup": {
31
- "vars": [
32
- {
33
- "name": "--bs-primary",
34
- "valueType": "color",
35
- "theme": "bootstrap",
36
- "defaultValue": "#07689f"
37
- },
38
- {
39
- "name": "--bs-secondary",
40
- "valueType": "color",
41
- "theme": "bootstrap",
42
- "defaultValue": "#c9d6df"
43
- },
44
- {
45
- "name": "--bs-success",
46
- "valueType": "color",
47
- "theme": "bootstrap",
48
- "defaultValue": "#11d3bc"
49
- },
50
- {
51
- "name": "--bs-info",
52
- "valueType": "color",
53
- "theme": "bootstrap",
54
- "defaultValue": "#a2d5f2"
55
- },
56
- {
57
- "name": "--bs-warning",
58
- "valueType": "color",
59
- "theme": "bootstrap",
60
- "defaultValue": "#ffc107"
61
- },
62
- {
63
- "name": "--bs-danger",
64
- "valueType": "color",
65
- "theme": "bootstrap",
66
- "defaultValue": "#f67280"
67
- }
68
- ],
69
- "parts": [
70
- {
71
- "name": "invalid-feedback",
72
- "description": ""
73
- }
74
- ]
75
- },
76
- "htmlSlots": [],
77
- "i18n": [],
78
- "examples": [],
79
- "name": "",
80
- "category": "",
81
- "tags": [],
82
- "size": {}
83
- }