@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.
@@ -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 iconBg="var(--primary-bg)" iconGap="10px" onclick={() => { showProperties = true; openActionsMenu = false; }} icon="fa-info-circle" iconSize={iconSize}>Properties</MenuItem>
47
- <DownloadMedia {iconSize} bind:processing bind:openActionsMenu/>
48
- <DeleteMedia {iconSize} bind:processing bind:openActionsMenu />
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={iconSize}>Delete</MenuItem>
67
+ <MenuItem iconGap="10px" onclick={handleDelete} icon="fa-trash-o" iconBg="var(--error-bg)" iconSize="12px">Delete</MenuItem>
@@ -1,5 +1,4 @@
1
1
  declare const DeleteMedia: import("svelte").Component<{
2
- iconSize: any;
3
2
  processing?: any;
4
3
  openActionsMenu?: any;
5
4
  }, {}, "processing" | "openActionsMenu">;
@@ -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 iconGap="10px" onclick={handleDownload} icon="fa-download" iconBg="var(--primary-bg)" iconSize={iconSize}>Download</MenuItem>
74
+ <MenuItem onclick={handleDownload}>Download</MenuItem>
@@ -1,5 +1,4 @@
1
1
  declare const DownloadMedia: import("svelte").Component<{
2
- iconSize: any;
3
2
  processing?: any;
4
3
  openActionsMenu?: any;
5
4
  }, {}, "processing" | "openActionsMenu">;
@@ -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-circle"></i></button>
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)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sierra-95/svelte-scaffold",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",