fuma 0.1.24 → 0.1.25

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.
@@ -3,7 +3,7 @@ import { toast } from "svelte-sonner";
3
3
  import { Icon } from "./index.js";
4
4
  export let value;
5
5
  export let title;
6
- export let path = mdiClipboardTextOutline;
6
+ export let icon = mdiClipboardTextOutline;
7
7
  export let successMessage = "Copied";
8
8
  function handleClick() {
9
9
  navigator.clipboard.writeText(value).then(() => {
@@ -15,5 +15,5 @@ function handleClick() {
15
15
  </script>
16
16
 
17
17
  <button on:click|preventDefault={handleClick} class="btn btn-square btn-ghost btn-sm">
18
- <Icon {path} {title} size={22} />
18
+ <Icon path={icon} {title} size={22} />
19
19
  </button>
@@ -3,7 +3,7 @@ declare const __propDef: {
3
3
  props: {
4
4
  value: string;
5
5
  title: string;
6
- path?: string | undefined;
6
+ icon?: string | undefined;
7
7
  successMessage?: string | undefined;
8
8
  };
9
9
  events: {
@@ -24,7 +24,6 @@ export let inputElement = void 0;
24
24
  type="text"
25
25
  name={key}
26
26
  id={key}
27
- size={1}
28
27
  class="input input-bordered w-full {inputClass || ''}"
29
28
  {...inputProps}
30
29
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fuma",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "My fullstack material build with sveltekit, daisyui, zod and more",
5
5
  "author": {
6
6
  "name": "Jonas Voisard",