@axium/storage 0.7.3 → 0.7.4
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.
- package/lib/SidebarItem.svelte +7 -3
- package/package.json +2 -2
package/lib/SidebarItem.svelte
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
2
|
+
import { FormDialog, Icon } from '@axium/client/components';
|
|
3
|
+
import { copy } from '@axium/client/clipboard';
|
|
3
4
|
import * as icon from '@axium/core/icons';
|
|
4
5
|
import { deleteItem, updateItemMetadata } from '@axium/storage/client';
|
|
5
6
|
import type { StorageItemMetadata } from '@axium/storage/common';
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
e.preventDefault();
|
|
59
60
|
dialogs[name].showModal();
|
|
60
61
|
}}
|
|
61
|
-
class="action"
|
|
62
|
+
class="action icon-text"
|
|
62
63
|
>
|
|
63
64
|
<Icon {i} --size="14px" />
|
|
64
65
|
{text}
|
|
@@ -105,7 +106,10 @@
|
|
|
105
106
|
{@render action('download', 'download', 'Download')}
|
|
106
107
|
{/if}
|
|
107
108
|
{#if preferences.debug}
|
|
108
|
-
<
|
|
109
|
+
<div class="action icon-text" onclick={() => copy('text/plain', item.id)}>
|
|
110
|
+
<Icon i="copy" --size="14px" />
|
|
111
|
+
Copy ID
|
|
112
|
+
</div>
|
|
109
113
|
{/if}
|
|
110
114
|
</div>
|
|
111
115
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axium/storage",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4",
|
|
4
4
|
"author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
|
|
5
5
|
"description": "User file storage for Axium",
|
|
6
6
|
"funding": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"build": "tsc"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@axium/client": ">=0.4.
|
|
41
|
+
"@axium/client": ">=0.4.4",
|
|
42
42
|
"@axium/core": ">=0.6.0",
|
|
43
43
|
"@axium/server": ">=0.22.5",
|
|
44
44
|
"@sveltejs/kit": "^2.27.3",
|