@likable-hair/svelte 3.0.72 → 3.0.73

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.
@@ -130,7 +130,12 @@ $:
130
130
  })
131
131
  }}
132
132
  on:click
133
- ></TreeEditorItem>
133
+ >
134
+ <svelte:fragment slot="append" let:item let:doUpdateItem >
135
+ <slot name="append" item={item} {doUpdateItem}>
136
+ </slot>
137
+ </svelte:fragment>
138
+ </TreeEditorItem>
134
139
  {/each}
135
140
  </ul>
136
141
  {/key}
@@ -39,7 +39,12 @@ declare const __propDef: {
39
39
  } & {
40
40
  [evt: string]: CustomEvent<any>;
41
41
  };
42
- slots: {};
42
+ slots: {
43
+ append: {
44
+ item: Item;
45
+ doUpdateItem: (item: Item, inputData: any) => void;
46
+ };
47
+ };
43
48
  };
44
49
  export type TreeEditorProps = typeof __propDef.props;
45
50
  export type TreeEditorEvents = typeof __propDef.events;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likable-hair/svelte",
3
3
  "description": "A Svelte component for likablehair",
4
- "version": "3.0.72",
4
+ "version": "3.0.73",
5
5
  "scripts": {
6
6
  "host": "vite --host",
7
7
  "dev": "vite dev",