@htmlbricks/hb-input-checkbox 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 +17 -5
- package/package.json +3 -3
- package/release/docs.js +15 -4
- package/release/docs.js.map +1 -1
- package/release/docs.mjs +15 -4
- package/release/docs.ts +17 -5
- package/release/manifest.json +16 -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
|
schemaentry: { control: { type: "object" } },
|
|
@@ -26,15 +27,26 @@ export const styleSetup: StyleSetup = {
|
|
|
26
27
|
parts: cssParts,
|
|
27
28
|
};
|
|
28
29
|
|
|
29
|
-
|
|
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[] } = {
|
|
30
42
|
definitions: null,
|
|
31
43
|
storybookArgs,
|
|
32
44
|
styleSetup,
|
|
33
45
|
htmlSlots,
|
|
34
46
|
i18n: i18nLanguages,
|
|
35
|
-
examples
|
|
36
|
-
name: "",
|
|
37
|
-
category: "",
|
|
38
|
-
tags: [],
|
|
47
|
+
examples,
|
|
48
|
+
name: "hb-input-checkbox",
|
|
49
|
+
category: "input",
|
|
50
|
+
tags: ["input"],
|
|
39
51
|
size: {},
|
|
40
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.
|
|
5
|
+
"version": "0.8.42",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepublish": "npm run build:release"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@htmlbricks/hb-jsutils": "^0.8.
|
|
33
|
+
"@htmlbricks/hb-jsutils": "^0.8.42",
|
|
34
34
|
"@htmlbricks/manifester": "^0.0.5",
|
|
35
35
|
"@rollup/plugin-alias": "^3.1.2",
|
|
36
36
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"webcomponents"
|
|
76
76
|
],
|
|
77
77
|
"contributors": [],
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "d6919a86b5627d502a37fe2a28830a32724d0a52"
|
|
79
79
|
}
|
package/release/docs.js
CHANGED
|
@@ -21,16 +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 = {
|
|
25
36
|
definitions: null,
|
|
26
37
|
storybookArgs: storybookArgs,
|
|
27
38
|
styleSetup: styleSetup,
|
|
28
39
|
htmlSlots: htmlSlots,
|
|
29
40
|
i18n: i18nLanguages,
|
|
30
|
-
examples:
|
|
31
|
-
name: "",
|
|
32
|
-
category: "",
|
|
33
|
-
tags: [],
|
|
41
|
+
examples: examples,
|
|
42
|
+
name: "hb-input-checkbox",
|
|
43
|
+
category: "input",
|
|
44
|
+
tags: ["input"],
|
|
34
45
|
size: {}
|
|
35
46
|
};
|
|
36
47
|
//# 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,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,YAAY,EAAE,SAAS,EAAE;IACzF,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE;IAC3F,EAAE,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE;IACzF,EAAE,IAAI,EAAE,WAAW,EAAE,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
|
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 = {
|
|
25
36
|
definitions: null,
|
|
26
37
|
storybookArgs: storybookArgs,
|
|
27
38
|
styleSetup: styleSetup,
|
|
28
39
|
htmlSlots: htmlSlots,
|
|
29
40
|
i18n: i18nLanguages,
|
|
30
|
-
examples:
|
|
31
|
-
name: "",
|
|
32
|
-
category: "",
|
|
33
|
-
tags: [],
|
|
41
|
+
examples: examples,
|
|
42
|
+
name: "hb-input-checkbox",
|
|
43
|
+
category: "input",
|
|
44
|
+
tags: ["input"],
|
|
34
45
|
size: {}
|
|
35
46
|
};
|
|
36
47
|
//# 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
|
schemaentry: { control: { type: "object" } },
|
|
@@ -26,15 +27,26 @@ export const styleSetup: StyleSetup = {
|
|
|
26
27
|
parts: cssParts,
|
|
27
28
|
};
|
|
28
29
|
|
|
29
|
-
|
|
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[] } = {
|
|
30
42
|
definitions: null,
|
|
31
43
|
storybookArgs,
|
|
32
44
|
styleSetup,
|
|
33
45
|
htmlSlots,
|
|
34
46
|
i18n: i18nLanguages,
|
|
35
|
-
examples
|
|
36
|
-
name: "",
|
|
37
|
-
category: "",
|
|
38
|
-
tags: [],
|
|
47
|
+
examples,
|
|
48
|
+
name: "hb-input-checkbox",
|
|
49
|
+
category: "input",
|
|
50
|
+
tags: ["input"],
|
|
39
51
|
size: {},
|
|
40
52
|
};
|
package/release/manifest.json
CHANGED
|
@@ -200,9 +200,21 @@
|
|
|
200
200
|
},
|
|
201
201
|
"htmlSlots": [],
|
|
202
202
|
"i18n": [],
|
|
203
|
-
"examples": [
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
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
|
+
],
|
|
207
219
|
"size": {}
|
|
208
220
|
}
|