@gradio/tabitem 0.0.5-beta.4 → 0.1.0-beta.6
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
CHANGED
|
@@ -1,43 +1,25 @@
|
|
|
1
1
|
# @gradio/tabitem
|
|
2
2
|
|
|
3
|
-
## 0.0
|
|
3
|
+
## 0.1.0-beta.6
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#5960](https://github.com/gradio-app/gradio/pull/5960) [`319c30f3f`](https://github.com/gradio-app/gradio/commit/319c30f3fccf23bfe1da6c9b132a6a99d59652f7) - rererefactor frontend files. Thanks [@pngwn](https://github.com/pngwn)!
|
|
8
|
+
- [#5938](https://github.com/gradio-app/gradio/pull/5938) [`13ed8a485`](https://github.com/gradio-app/gradio/commit/13ed8a485d5e31d7d75af87fe8654b661edcca93) - V4: Use beta release versions for '@gradio' packages. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
|
8
9
|
|
|
9
|
-
## 0.0.
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- Updated dependencies [[`0b4fd5b6d`](https://github.com/gradio-app/gradio/commit/0b4fd5b6db96fc95a155e5e935e17e1ab11d1161)]:
|
|
14
|
-
- @gradio/utils@0.2.0-beta.3
|
|
15
|
-
- @gradio/tabs@0.0.6-beta.3
|
|
16
|
-
|
|
17
|
-
## 0.0.5-beta.2
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- Updated dependencies [[`14fc612d8`](https://github.com/gradio-app/gradio/commit/14fc612d84bf6b1408eccd3a40fab41f25477571)]:
|
|
22
|
-
- @gradio/utils@0.2.0-beta.2
|
|
23
|
-
- @gradio/tabs@0.0.6-beta.2
|
|
24
|
-
|
|
25
|
-
## 0.0.5-beta.1
|
|
10
|
+
## 0.0.6
|
|
26
11
|
|
|
27
12
|
### Patch Changes
|
|
28
13
|
|
|
29
14
|
- Updated dependencies []:
|
|
30
|
-
- @gradio/utils@0.2
|
|
31
|
-
- @gradio/tabs@0.0.
|
|
15
|
+
- @gradio/utils@0.1.2
|
|
16
|
+
- @gradio/tabs@0.0.7
|
|
32
17
|
|
|
33
|
-
## 0.0.5
|
|
18
|
+
## 0.0.5
|
|
34
19
|
|
|
35
|
-
###
|
|
20
|
+
### Features
|
|
36
21
|
|
|
37
|
-
-
|
|
38
|
-
- @gradio/column@0.1.0-beta.0
|
|
39
|
-
- @gradio/utils@0.2.0-beta.0
|
|
40
|
-
- @gradio/tabs@0.0.6-beta.0
|
|
22
|
+
- [#5590](https://github.com/gradio-app/gradio/pull/5590) [`d1ad1f671`](https://github.com/gradio-app/gradio/commit/d1ad1f671caef9f226eb3965f39164c256d8615c) - Attach `elem_classes` selectors to layout elements, and an id to the Tab button (for targeting via CSS/JS). Thanks [@abidlabs](https://github.com/abidlabs)!
|
|
41
23
|
|
|
42
24
|
## 0.0.4
|
|
43
25
|
|
package/package.json
CHANGED
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/tabitem",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0-beta.6",
|
|
4
4
|
"description": "Gradio UI packages",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./static/index.ts",
|
|
7
6
|
"author": "",
|
|
8
7
|
"license": "ISC",
|
|
9
8
|
"private": false,
|
|
10
9
|
"main_changeset": true,
|
|
11
10
|
"exports": {
|
|
12
|
-
".": "./
|
|
13
|
-
"./package.json": "./package.json"
|
|
14
|
-
"./interactive": "./interactive/index.ts",
|
|
15
|
-
"./static": "./static/index.ts",
|
|
16
|
-
"./example": "./example/index.ts"
|
|
11
|
+
".": "./Index.svelte",
|
|
12
|
+
"./package.json": "./package.json"
|
|
17
13
|
},
|
|
18
14
|
"dependencies": {
|
|
19
|
-
"@gradio/column": "^0.1.0-beta.
|
|
20
|
-
"@gradio/tabs": "^0.0
|
|
21
|
-
"@gradio/utils": "^0.2.0-beta.
|
|
15
|
+
"@gradio/column": "^0.1.0-beta.2",
|
|
16
|
+
"@gradio/tabs": "^0.1.0-beta.6",
|
|
17
|
+
"@gradio/utils": "^0.2.0-beta.4"
|
|
22
18
|
}
|
|
23
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext, onMount, createEventDispatcher, tick } from "svelte";
|
|
3
|
-
import { TABS } from "@gradio/tabs
|
|
3
|
+
import { TABS } from "@gradio/tabs";
|
|
4
4
|
import Column from "@gradio/column";
|
|
5
5
|
import type { SelectData } from "@gradio/utils";
|
|
6
6
|
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
const { register_tab, unregister_tab, selected_tab, selected_tab_index } =
|
|
15
15
|
getContext(TABS) as any;
|
|
16
16
|
|
|
17
|
-
let tab_index = register_tab({ name, id });
|
|
17
|
+
let tab_index = register_tab({ name, id, elem_id });
|
|
18
18
|
|
|
19
19
|
onMount(() => {
|
|
20
|
-
return (): void => unregister_tab({ name, id });
|
|
20
|
+
return (): void => unregister_tab({ name, id, elem_id });
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
$: $selected_tab_index === tab_index &&
|
package/static/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./StaticTabItem.svelte";
|