@gradio/tabs 0.3.0-beta.1 → 0.3.0-beta.2
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/CHANGELOG.md +12 -2
- package/dist/shared/Tabs.svelte +2 -0
- package/package.json +3 -3
- package/shared/Tabs.svelte +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @gradio/tabs
|
|
2
2
|
|
|
3
|
+
## 0.3.0-beta.2
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- [#9339](https://github.com/gradio-app/gradio/pull/9339) [`4c8c6f2`](https://github.com/gradio-app/gradio/commit/4c8c6f2fe603081941c5fdc43f48a0632b9f31ad) - Ssr part 2. Thanks @pngwn!
|
|
8
|
+
|
|
9
|
+
### Dependency updates
|
|
10
|
+
|
|
11
|
+
- @gradio/utils@0.7.0-beta.2
|
|
12
|
+
|
|
3
13
|
## 0.3.0-beta.1
|
|
4
14
|
|
|
5
15
|
### Features
|
|
@@ -10,7 +20,7 @@
|
|
|
10
20
|
|
|
11
21
|
- @gradio/utils@0.7.0-beta.1
|
|
12
22
|
|
|
13
|
-
## 0.2.14
|
|
23
|
+
## 0.2.14
|
|
14
24
|
|
|
15
25
|
### Fixes
|
|
16
26
|
|
|
@@ -18,7 +28,7 @@
|
|
|
18
28
|
|
|
19
29
|
### Dependency updates
|
|
20
30
|
|
|
21
|
-
- @gradio/utils@0.
|
|
31
|
+
- @gradio/utils@0.6.1
|
|
22
32
|
|
|
23
33
|
## 0.2.13
|
|
24
34
|
|
package/dist/shared/Tabs.svelte
CHANGED
|
@@ -72,6 +72,8 @@ onMount(() => {
|
|
|
72
72
|
window.addEventListener("click", handle_outside_click);
|
|
73
73
|
});
|
|
74
74
|
onDestroy(() => {
|
|
75
|
+
if (typeof window === "undefined")
|
|
76
|
+
return;
|
|
75
77
|
window.removeEventListener("resize", handle_menu_overflow);
|
|
76
78
|
window.removeEventListener("click", handle_outside_click);
|
|
77
79
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/tabs",
|
|
3
|
-
"version": "0.3.0-beta.
|
|
3
|
+
"version": "0.3.0-beta.2",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"./package.json": "./package.json"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@gradio/utils": "^0.7.0-beta.
|
|
20
|
+
"@gradio/utils": "^0.7.0-beta.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@gradio/preview": "^0.11.1
|
|
23
|
+
"@gradio/preview": "^0.11.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"svelte": "^4.0.0"
|
package/shared/Tabs.svelte
CHANGED
|
@@ -93,11 +93,13 @@
|
|
|
93
93
|
|
|
94
94
|
onMount(() => {
|
|
95
95
|
handle_menu_overflow();
|
|
96
|
+
|
|
96
97
|
window.addEventListener("resize", handle_menu_overflow);
|
|
97
98
|
window.addEventListener("click", handle_outside_click);
|
|
98
99
|
});
|
|
99
100
|
|
|
100
101
|
onDestroy(() => {
|
|
102
|
+
if (typeof window === "undefined") return;
|
|
101
103
|
window.removeEventListener("resize", handle_menu_overflow);
|
|
102
104
|
window.removeEventListener("click", handle_outside_click);
|
|
103
105
|
});
|