@functionalcms/svelte-components 4.8.17 → 4.8.19

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.
@@ -181,8 +181,21 @@
181
181
  <div
182
182
  class="flex size-14 place-items-center justify-center rounded-full border border-dashed border-border text-muted-foreground"
183
183
  >
184
- <!-- <Upload class="size-7" /> -->
185
- <!-- <Icon icon="upload" class="size-7" /> -->
184
+ <svg
185
+ xmlns="http://www.w3.org/2000/svg"
186
+ width="24"
187
+ height="24"
188
+ viewBox="0 0 24 24"
189
+ fill="none"
190
+ stroke="currentColor"
191
+ stroke-width="2"
192
+ stroke-linecap="round"
193
+ stroke-linejoin="round"
194
+ class="lucide lucide-upload-icon lucide-upload"
195
+ ><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /><polyline
196
+ points="17 8 12 3 7 8"
197
+ /><line x1="12" x2="12" y1="3" y2="15" /></svg
198
+ >
186
199
  </div>
187
200
  <div class="flex flex-col gap-0.5 text-center">
188
201
  <span class="font-medium text-muted-foreground">
@@ -1,4 +1,3 @@
1
- import FileDropZone, { type FileRejectedReason, type FileDropZoneProps } from './file-drop-zone.svelte';
2
1
  export declare const displaySize: (bytes: number) => string;
3
2
  export declare const BYTE = 1;
4
3
  export declare const KILOBYTE = 1024;
@@ -7,4 +6,3 @@ export declare const GIGABYTE: number;
7
6
  export declare const ACCEPT_IMAGE = "image/*";
8
7
  export declare const ACCEPT_VIDEO = "video/*";
9
8
  export declare const ACCEPT_AUDIO = "audio/*";
10
- export { FileDropZone, type FileRejectedReason, type FileDropZoneProps };
@@ -1,4 +1,3 @@
1
- import FileDropZone, {} from './file-drop-zone.svelte';
2
1
  export const displaySize = (bytes) => {
3
2
  if (bytes < KILOBYTE)
4
3
  return `${bytes.toFixed(0)} B`;
@@ -17,4 +16,3 @@ export const GIGABYTE = 1024 * MEGABYTE;
17
16
  export const ACCEPT_IMAGE = 'image/*';
18
17
  export const ACCEPT_VIDEO = 'video/*';
19
18
  export const ACCEPT_AUDIO = 'audio/*';
20
- export { FileDropZone };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "4.8.17",
3
+ "version": "4.8.19",
4
4
  "watch": {
5
5
  "build": {
6
6
  "patterns": [