Upload folder using huggingface_hub
Browse files
6.4.0/atoms/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"@gradio/utils": "workspace:^"
|
| 13 |
},
|
| 14 |
"peerDependencies": {
|
| 15 |
-
"svelte": "^5.
|
| 16 |
},
|
| 17 |
"exports": {
|
| 18 |
".": {
|
|
|
|
| 12 |
"@gradio/utils": "workspace:^"
|
| 13 |
},
|
| 14 |
"peerDependencies": {
|
| 15 |
+
"svelte": "^5.48.0"
|
| 16 |
},
|
| 17 |
"exports": {
|
| 18 |
".": {
|
6.4.0/atoms/src/DownloadLink.svelte
CHANGED
|
@@ -2,8 +2,10 @@
|
|
| 2 |
import type { HTMLAnchorAttributes } from "svelte/elements";
|
| 3 |
import { createEventDispatcher } from "svelte";
|
| 4 |
|
| 5 |
-
interface DownloadLinkAttributes
|
| 6 |
-
|
|
|
|
|
|
|
| 7 |
download: NonNullable<HTMLAnchorAttributes["download"]>;
|
| 8 |
}
|
| 9 |
type $$Props = DownloadLinkAttributes;
|
|
|
|
| 2 |
import type { HTMLAnchorAttributes } from "svelte/elements";
|
| 3 |
import { createEventDispatcher } from "svelte";
|
| 4 |
|
| 5 |
+
interface DownloadLinkAttributes extends Omit<
|
| 6 |
+
HTMLAnchorAttributes,
|
| 7 |
+
"target"
|
| 8 |
+
> {
|
| 9 |
download: NonNullable<HTMLAnchorAttributes["download"]>;
|
| 10 |
}
|
| 11 |
type $$Props = DownloadLinkAttributes;
|