@sierra-95/svelte-scaffold 1.0.34 → 1.0.35
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/dist/components/Modules/FilePicker/ActionsMenu/Actions.svelte +3 -4
- package/dist/components/Modules/FilePicker/ActionsMenu/delete_media.svelte +1 -2
- package/dist/components/Modules/FilePicker/ActionsMenu/delete_media.svelte.d.ts +0 -1
- package/dist/components/Modules/FilePicker/ActionsMenu/download_media.svelte +1 -2
- package/dist/components/Modules/FilePicker/ActionsMenu/download_media.svelte.d.ts +0 -1
- package/dist/components/Modules/FilePicker/ActionsMenu/file_properties.svelte +1 -1
- package/package.json +1 -1
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
}));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
const iconSize = '12px';
|
|
21
20
|
let showProperties = $state(false);
|
|
22
21
|
let openActionsMenu = $state(false);
|
|
23
22
|
let disableActions = $state(true);
|
|
@@ -43,9 +42,9 @@
|
|
|
43
42
|
</button>
|
|
44
43
|
{/snippet}
|
|
45
44
|
<DropdownContainer bind:open={openActionsMenu} dropdownTrigger={TriggerMenu}>
|
|
46
|
-
<MenuItem
|
|
47
|
-
<DownloadMedia
|
|
48
|
-
<DeleteMedia
|
|
45
|
+
<MenuItem onclick={() => { showProperties = true; openActionsMenu = false; }}>Properties</MenuItem>
|
|
46
|
+
<DownloadMedia bind:processing bind:openActionsMenu/>
|
|
47
|
+
<DeleteMedia bind:processing bind:openActionsMenu />
|
|
49
48
|
</DropdownContainer>
|
|
50
49
|
<button title="Cancel" onclick={resetFileInputStore} aria-label="Cancel"><i class="fa fa-xmark"></i></button>
|
|
51
50
|
</div>
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import {modalStore, fileInputStore, setToastMessage, MenuItem} from "../../../../index.js";
|
|
4
4
|
|
|
5
5
|
let {
|
|
6
|
-
iconSize,
|
|
7
6
|
processing = $bindable(),
|
|
8
7
|
openActionsMenu = $bindable(),
|
|
9
8
|
} = $props();
|
|
@@ -65,4 +64,4 @@
|
|
|
65
64
|
}
|
|
66
65
|
</script>
|
|
67
66
|
|
|
68
|
-
<MenuItem iconGap="10px" onclick={handleDelete} icon="fa-trash-o" iconBg="var(--error-bg)" iconSize=
|
|
67
|
+
<MenuItem iconGap="10px" onclick={handleDelete} icon="fa-trash-o" iconBg="var(--error-bg)" iconSize="12px">Delete</MenuItem>
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import {MenuItem, fileInputStore, User, setToastMessage} from "../../../../index.js";
|
|
4
4
|
|
|
5
5
|
let {
|
|
6
|
-
iconSize,
|
|
7
6
|
processing = $bindable(),
|
|
8
7
|
openActionsMenu = $bindable(),
|
|
9
8
|
} = $props();
|
|
@@ -72,4 +71,4 @@
|
|
|
72
71
|
}
|
|
73
72
|
</script>
|
|
74
73
|
|
|
75
|
-
<MenuItem
|
|
74
|
+
<MenuItem onclick={handleDownload}>Download</MenuItem>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<Wrapper>
|
|
19
19
|
<div style="display: flex; justify-content: space-between">
|
|
20
20
|
<Storage padding="0rem" width="80%"/>
|
|
21
|
-
<button style="align-self: start;" title="Cancel" onclick={() => showProperties = false} aria-label="Cancel"><i class="fa fa-times
|
|
21
|
+
<button style="align-self: start;" title="Cancel" onclick={() => showProperties = false} aria-label="Cancel"><i class="fa fa-times"></i></button>
|
|
22
22
|
</div>
|
|
23
23
|
<div style="display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; max-height: 70vh; overflow-y: auto;">
|
|
24
24
|
{#each $fileInputStore.submissions as item (item.id)}
|