@sjsf/skeleton-theme 0.2.5 → 0.2.6
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.
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
});
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
|
-
{#each options as option, index (option.
|
|
13
|
+
{#each options as option, index (option.id)}
|
|
14
14
|
<label class="flex items-center space-x-2 cursor-pointer">
|
|
15
15
|
<input
|
|
16
16
|
type="checkbox"
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
bind:group={mapped.value}
|
|
19
19
|
value={index}
|
|
20
20
|
{...attributes}
|
|
21
|
+
id={option.id}
|
|
21
22
|
disabled={option.disabled || attributes.disabled}
|
|
22
23
|
/>
|
|
23
24
|
<p>{option.label}</p>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
});
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
|
-
{#each options as option, index (option.
|
|
13
|
+
{#each options as option, index (option.id)}
|
|
14
14
|
<label class="flex items-center space-x-2 cursor-pointer">
|
|
15
15
|
<input
|
|
16
16
|
type="radio"
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
bind:group={mapped.value}
|
|
19
19
|
value={index}
|
|
20
20
|
{...attributes}
|
|
21
|
+
id={option.id}
|
|
21
22
|
disabled={option.disabled || attributes.disabled}
|
|
22
23
|
/>
|
|
23
24
|
<p>{option.label}</p>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
{#if !multiple && config.schema.default === undefined}
|
|
24
24
|
<option value={-1}>{attributes.placeholder}</option>
|
|
25
25
|
{/if}
|
|
26
|
-
{#each options as option, index (option.
|
|
26
|
+
{#each options as option, index (option.id)}
|
|
27
27
|
<option value={index} disabled={option.disabled}>
|
|
28
28
|
{option.label}
|
|
29
29
|
</option>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sjsf/skeleton-theme",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "The skeleton based theme for svelte-jsonschema-form",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"./styles.css": "./dist/styles.css"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@sjsf/form": "^0.2.
|
|
39
|
+
"@sjsf/form": "^0.2.6",
|
|
40
40
|
"@skeletonlabs/skeleton": "3.0.0-next.5",
|
|
41
41
|
"@tailwindcss/forms": "^0.5.9",
|
|
42
42
|
"svelte": "^5.0.0-next.1"
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"typescript-eslint": "^8.0.0",
|
|
68
68
|
"vite": "^5.0.11",
|
|
69
69
|
"vitest": "^2.0.0",
|
|
70
|
-
"@sjsf/ajv8-validator": "0.2.
|
|
71
|
-
"@sjsf/form": "0.2.
|
|
70
|
+
"@sjsf/ajv8-validator": "0.2.6",
|
|
71
|
+
"@sjsf/form": "0.2.6"
|
|
72
72
|
},
|
|
73
73
|
"svelte": "./dist/index.js",
|
|
74
74
|
"types": "./dist/index.d.ts",
|