@dosgato/dialog 1.1.12 → 1.1.13

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.
@@ -37,8 +37,8 @@ onMount(reactToOptions);
37
37
  <div class="container-query-wrapper">
38
38
  <div class="color-container {className}" role="radiogroup" aria-labelledby={groupid} class:invalid class:valid>
39
39
  {#if addAllOption}
40
- <label for={`${path}.alt`} class="colorsel alternating">
41
- <Radio id={`${path}.alt`} name={path} value="alternating" selected={value === 'alternating'} {onChange} {onBlur} {helptextid}/>
40
+ <label for={`${groupid}.alt`} class="colorsel alternating">
41
+ <Radio id={`${groupid}.alt`} name={groupid} value="alternating" selected={value === 'alternating'} {onChange} {onBlur} {helptextid}/>
42
42
  <span class="alternating-bg">
43
43
  {#each options as option (option.value)}
44
44
  <span style:background-color={option.color}></span>
@@ -48,9 +48,9 @@ onMount(reactToOptions);
48
48
  </label>
49
49
  {/if}
50
50
  {#each options as option, idx (option.value) }
51
- {@const radioid = `${path}.${idx}`}
51
+ {@const radioid = `${groupid}.${idx}`}
52
52
  <label for={radioid} class="colorsel">
53
- <Radio id={radioid} name={path} value={option.value} selected={value === option.value} {onChange} {onBlur} {helptextid}/>
53
+ <Radio id={radioid} name={groupid} value={option.value} selected={value === option.value} {onChange} {onBlur} {helptextid}/>
54
54
  <span class="picker-text" style:background-color={option.color} class:dark={shouldUseWhiteText(option.color)}>{option.name || option.value}</span>
55
55
  </label>
56
56
  {/each}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dosgato/dialog",
3
3
  "description": "A component library for building forms that edit a JSON document.",
4
- "version": "1.1.12",
4
+ "version": "1.1.13",
5
5
  "scripts": {
6
6
  "prepublishOnly": "svelte-package",
7
7
  "dev": "vite dev --force",