@likable-hair/svelte 3.0.78 → 3.0.80

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.
@@ -74,8 +74,8 @@ function doUpdateItem(item, inputData) {
74
74
  </Button>
75
75
  </div>
76
76
  {/if}
77
- {#if editable}
78
- <slot name="title" item={currentItem} {doUpdateItem}>
77
+ <slot name="title" item={currentItem} {doUpdateItem}>
78
+ {#if editable}
79
79
  <input
80
80
  bind:value={title}
81
81
  on:input|stopPropagation={(e) => {
@@ -84,10 +84,10 @@ function doUpdateItem(item, inputData) {
84
84
  })
85
85
  }}
86
86
  />
87
- </slot>
88
- {:else}
89
- {title}
90
- {/if}
87
+ {:else}
88
+ {title}
89
+ {/if}
90
+ </slot>
91
91
  {#if !!$$slots.append}
92
92
  <div style:margin-left="auto">
93
93
  <slot name="append" item={currentItem} {doUpdateItem}>
@@ -121,6 +121,7 @@ function doUpdateItem(item, inputData) {
121
121
  inputData: e.detail.inputData
122
122
  })
123
123
  }}
124
+ on:end
124
125
  on:input
125
126
  on:click
126
127
  >
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.78",
4
+ "version": "3.0.80",
5
5
  "scripts": {
6
6
  "host": "vite --host",
7
7
  "dev": "vite dev",