@htmlbricks/hb-input-radio 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 +23 -5
- package/package.json +3 -3
- package/release/docs.js +21 -4
- package/release/docs.js.map +1 -1
- package/release/docs.mjs +21 -4
- package/release/docs.ts +23 -5
- package/release/manifest.json +28 -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,32 @@ export const styleSetup: StyleSetup = {
|
|
|
26
27
|
parts: cssParts,
|
|
27
28
|
};
|
|
28
29
|
|
|
29
|
-
|
|
30
|
+
const examples: Component[] = [
|
|
31
|
+
{
|
|
32
|
+
schemaentry: {
|
|
33
|
+
placeholder: "Choose here...",
|
|
34
|
+
id: "check0",
|
|
35
|
+
required: true,
|
|
36
|
+
label: "Check 0",
|
|
37
|
+
validationTip: "Check 1",
|
|
38
|
+
params: {
|
|
39
|
+
options: [
|
|
40
|
+
{ label: "777", value: "555" },
|
|
41
|
+
{ label: "testlabel", value: "testvalue" },
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
30
48
|
definitions: null,
|
|
31
49
|
storybookArgs,
|
|
32
50
|
styleSetup,
|
|
33
51
|
htmlSlots,
|
|
34
52
|
i18n: i18nLanguages,
|
|
35
|
-
examples
|
|
36
|
-
name: "",
|
|
37
|
-
category: "",
|
|
38
|
-
tags: [],
|
|
53
|
+
examples,
|
|
54
|
+
name: "hb-input-radio",
|
|
55
|
+
category: "input",
|
|
56
|
+
tags: ["input"],
|
|
39
57
|
size: {},
|
|
40
58
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-input-radio",
|
|
3
3
|
"displayName": "Svelte-Bootstrap Radio Input WebComponent",
|
|
4
4
|
"description": "Svelte-Bootstrap Radio 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,33 @@ export var styleSetup = {
|
|
|
21
21
|
vars: cssVars,
|
|
22
22
|
parts: cssParts
|
|
23
23
|
};
|
|
24
|
+
var examples = [
|
|
25
|
+
{
|
|
26
|
+
schemaentry: {
|
|
27
|
+
placeholder: "Choose here...",
|
|
28
|
+
id: "check0",
|
|
29
|
+
required: true,
|
|
30
|
+
label: "Check 0",
|
|
31
|
+
validationTip: "Check 1",
|
|
32
|
+
params: {
|
|
33
|
+
options: [
|
|
34
|
+
{ label: "777", value: "555" },
|
|
35
|
+
{ label: "testlabel", value: "testvalue" },
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
];
|
|
24
41
|
export var componentSetup = {
|
|
25
42
|
definitions: null,
|
|
26
43
|
storybookArgs: storybookArgs,
|
|
27
44
|
styleSetup: styleSetup,
|
|
28
45
|
htmlSlots: htmlSlots,
|
|
29
46
|
i18n: i18nLanguages,
|
|
30
|
-
examples:
|
|
31
|
-
name: "",
|
|
32
|
-
category: "",
|
|
33
|
-
tags: [],
|
|
47
|
+
examples: examples,
|
|
48
|
+
name: "hb-input-radio",
|
|
49
|
+
category: "input",
|
|
50
|
+
tags: ["input"],
|
|
34
51
|
size: {}
|
|
35
52
|
};
|
|
36
53
|
//# 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,EAA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E,WAAW,EAAE,IAAI;IACjB,aAAa,eAAA;IACb,UAAU,YAAA;IACV,SAAS,WAAA;IACT,IAAI,EAAE,aAAa;IACnB,QAAQ,UAAA;IACR,IAAI,EAAE,gBAAgB;IACtB,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,CAAC,OAAO,CAAC;IACf,IAAI,EAAE,EAAE;CACR,CAAC"}
|
package/release/docs.mjs
CHANGED
|
@@ -21,16 +21,33 @@ export var styleSetup = {
|
|
|
21
21
|
vars: cssVars,
|
|
22
22
|
parts: cssParts
|
|
23
23
|
};
|
|
24
|
+
var examples = [
|
|
25
|
+
{
|
|
26
|
+
schemaentry: {
|
|
27
|
+
placeholder: "Choose here...",
|
|
28
|
+
id: "check0",
|
|
29
|
+
required: true,
|
|
30
|
+
label: "Check 0",
|
|
31
|
+
validationTip: "Check 1",
|
|
32
|
+
params: {
|
|
33
|
+
options: [
|
|
34
|
+
{ label: "777", value: "555" },
|
|
35
|
+
{ label: "testlabel", value: "testvalue" },
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
];
|
|
24
41
|
export var componentSetup = {
|
|
25
42
|
definitions: null,
|
|
26
43
|
storybookArgs: storybookArgs,
|
|
27
44
|
styleSetup: styleSetup,
|
|
28
45
|
htmlSlots: htmlSlots,
|
|
29
46
|
i18n: i18nLanguages,
|
|
30
|
-
examples:
|
|
31
|
-
name: "",
|
|
32
|
-
category: "",
|
|
33
|
-
tags: [],
|
|
47
|
+
examples: examples,
|
|
48
|
+
name: "hb-input-radio",
|
|
49
|
+
category: "input",
|
|
50
|
+
tags: ["input"],
|
|
34
51
|
size: {}
|
|
35
52
|
};
|
|
36
53
|
//# 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,32 @@ export const styleSetup: StyleSetup = {
|
|
|
26
27
|
parts: cssParts,
|
|
27
28
|
};
|
|
28
29
|
|
|
29
|
-
|
|
30
|
+
const examples: Component[] = [
|
|
31
|
+
{
|
|
32
|
+
schemaentry: {
|
|
33
|
+
placeholder: "Choose here...",
|
|
34
|
+
id: "check0",
|
|
35
|
+
required: true,
|
|
36
|
+
label: "Check 0",
|
|
37
|
+
validationTip: "Check 1",
|
|
38
|
+
params: {
|
|
39
|
+
options: [
|
|
40
|
+
{ label: "777", value: "555" },
|
|
41
|
+
{ label: "testlabel", value: "testvalue" },
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
30
48
|
definitions: null,
|
|
31
49
|
storybookArgs,
|
|
32
50
|
styleSetup,
|
|
33
51
|
htmlSlots,
|
|
34
52
|
i18n: i18nLanguages,
|
|
35
|
-
examples
|
|
36
|
-
name: "",
|
|
37
|
-
category: "",
|
|
38
|
-
tags: [],
|
|
53
|
+
examples,
|
|
54
|
+
name: "hb-input-radio",
|
|
55
|
+
category: "input",
|
|
56
|
+
tags: ["input"],
|
|
39
57
|
size: {},
|
|
40
58
|
};
|
package/release/manifest.json
CHANGED
|
@@ -200,9 +200,33 @@
|
|
|
200
200
|
},
|
|
201
201
|
"htmlSlots": [],
|
|
202
202
|
"i18n": [],
|
|
203
|
-
"examples": [
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
203
|
+
"examples": [
|
|
204
|
+
{
|
|
205
|
+
"schemaentry": {
|
|
206
|
+
"placeholder": "Choose here...",
|
|
207
|
+
"id": "check0",
|
|
208
|
+
"required": true,
|
|
209
|
+
"label": "Check 0",
|
|
210
|
+
"validationTip": "Check 1",
|
|
211
|
+
"params": {
|
|
212
|
+
"options": [
|
|
213
|
+
{
|
|
214
|
+
"label": "777",
|
|
215
|
+
"value": "555"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"label": "testlabel",
|
|
219
|
+
"value": "testvalue"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"name": "hb-input-radio",
|
|
227
|
+
"category": "input",
|
|
228
|
+
"tags": [
|
|
229
|
+
"input"
|
|
230
|
+
],
|
|
207
231
|
"size": {}
|
|
208
232
|
}
|