@axium/storage 0.23.4 → 0.23.5

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.
Files changed (2) hide show
  1. package/lib/List.svelte +7 -1
  2. package/package.json +1 -1
package/lib/List.svelte CHANGED
@@ -145,7 +145,13 @@
145
145
  {/each}
146
146
  </div>
147
147
 
148
- <dialog bind:this={dialogs.preview} class="preview" onclick={e => e.stopPropagation()} {@attach closeOnBackGesture}>
148
+ <dialog
149
+ bind:this={dialogs.preview}
150
+ class="preview"
151
+ onclick={e => e.stopPropagation()}
152
+ onclose={() => (activeId = undefined)}
153
+ {@attach closeOnBackGesture}
154
+ >
149
155
  {#if activeItem}
150
156
  <Preview item={activeItem} previewDialog={dialogs.preview} shareDialog={dialogs['share:' + activeId]} onDelete={removeActiveItem} />
151
157
  {/if}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/storage",
3
- "version": "0.23.4",
3
+ "version": "0.23.5",
4
4
  "author": "James Prevett <axium@jamespre.dev>",
5
5
  "description": "User file storage for Axium",
6
6
  "funding": {