@ims360/svelte-ivory 0.0.25 → 0.0.26

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.
@@ -70,7 +70,7 @@
70
70
  <!-- Ignoring this error is fine since it's a false positive -->
71
71
  <!-- svelte-ignore a11y_no_static_element_interactions -->
72
72
  <svelte:element
73
- this={href ? 'a' : onclick ? 'button' : 'div'}
73
+ this={href ? 'a' : rest.onclick ? 'button' : 'div'}
74
74
  type={onclick ? 'button' : undefined}
75
75
  {...rest}
76
76
  {href}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ims360/svelte-ivory",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "keywords": [
5
5
  "svelte"
6
6
  ],
@@ -70,7 +70,7 @@
70
70
  <!-- Ignoring this error is fine since it's a false positive -->
71
71
  <!-- svelte-ignore a11y_no_static_element_interactions -->
72
72
  <svelte:element
73
- this={href ? 'a' : onclick ? 'button' : 'div'}
73
+ this={href ? 'a' : rest.onclick ? 'button' : 'div'}
74
74
  type={onclick ? 'button' : undefined}
75
75
  {...rest}
76
76
  {href}