@gradio/tabs 0.3.0-beta.2 → 0.3.0
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 +20 -0
- package/Index.svelte +1 -1
- package/dist/Index.svelte +1 -1
- package/dist/Index.svelte.d.ts +1 -1
- package/dist/shared/Tabs.svelte +3 -5
- package/package.json +3 -3
- package/shared/Tabs.svelte +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @gradio/tabs
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Playground requirements tab
|
|
8
|
+
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Redesign `gr.Tabs()`
|
|
9
|
+
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - UI theme fixes
|
|
10
|
+
- [#8843](https://github.com/gradio-app/gradio/pull/8843) [`6f95286`](https://github.com/gradio-app/gradio/commit/6f95286337459efbccb95c9cfac63355669df9ee) - Ssr part 2
|
|
11
|
+
|
|
12
|
+
### Dependencies
|
|
13
|
+
|
|
14
|
+
- @gradio/utils@0.7.0
|
|
15
|
+
|
|
16
|
+
## 0.3.0-beta.3
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- [#9460](https://github.com/gradio-app/gradio/pull/9460) [`7352a89`](https://github.com/gradio-app/gradio/commit/7352a89722da91461c32fd33588531f3edce9c48) - Playground requirements tab. Thanks @whitphx!
|
|
21
|
+
- [#9496](https://github.com/gradio-app/gradio/pull/9496) [`1647ebd`](https://github.com/gradio-app/gradio/commit/1647ebddc3e2ed6fc143a62629409e32afcc5801) - UI theme fixes. Thanks @aliabid94!
|
|
22
|
+
|
|
3
23
|
## 0.3.0-beta.2
|
|
4
24
|
|
|
5
25
|
### Features
|
package/Index.svelte
CHANGED
package/dist/Index.svelte
CHANGED
package/dist/Index.svelte.d.ts
CHANGED
package/dist/shared/Tabs.svelte
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import OverflowIcon from "./OverflowIcon.svelte";
|
|
12
12
|
import { writable } from "svelte/store";
|
|
13
13
|
export let visible = true;
|
|
14
|
-
export let elem_id = "
|
|
14
|
+
export let elem_id = "";
|
|
15
15
|
export let elem_classes = [];
|
|
16
16
|
export let selected;
|
|
17
17
|
let tabs = [];
|
|
@@ -161,9 +161,7 @@ function handle_menu_overflow() {
|
|
|
161
161
|
</div>
|
|
162
162
|
{/if}
|
|
163
163
|
|
|
164
|
-
<
|
|
165
|
-
<slot />
|
|
166
|
-
</div>
|
|
164
|
+
<slot />
|
|
167
165
|
|
|
168
166
|
<style>
|
|
169
167
|
.tabs {
|
|
@@ -212,7 +210,7 @@ function handle_menu_overflow() {
|
|
|
212
210
|
border: none;
|
|
213
211
|
border-radius: 0;
|
|
214
212
|
padding: 0 var(--size-4);
|
|
215
|
-
color: var(--body-text-color
|
|
213
|
+
color: var(--body-text-color);
|
|
216
214
|
font-weight: var(--section-header-text-weight);
|
|
217
215
|
font-size: var(--section-header-text-size);
|
|
218
216
|
transition: all 0.2s ease-out;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gradio/tabs",
|
|
3
|
-
"version": "0.3.0
|
|
3
|
+
"version": "0.3.0",
|
|
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
|
|
20
|
+
"@gradio/utils": "^0.7.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@gradio/preview": "^0.
|
|
23
|
+
"@gradio/preview": "^0.12.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"svelte": "^4.0.0"
|
package/shared/Tabs.svelte
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export let visible = true;
|
|
25
|
-
export let elem_id = "
|
|
25
|
+
export let elem_id = "";
|
|
26
26
|
export let elem_classes: string[] = [];
|
|
27
27
|
export let selected: number | string | object;
|
|
28
28
|
|
|
@@ -205,9 +205,7 @@
|
|
|
205
205
|
</div>
|
|
206
206
|
{/if}
|
|
207
207
|
|
|
208
|
-
<
|
|
209
|
-
<slot />
|
|
210
|
-
</div>
|
|
208
|
+
<slot />
|
|
211
209
|
|
|
212
210
|
<style>
|
|
213
211
|
.tabs {
|
|
@@ -256,7 +254,7 @@
|
|
|
256
254
|
border: none;
|
|
257
255
|
border-radius: 0;
|
|
258
256
|
padding: 0 var(--size-4);
|
|
259
|
-
color: var(--body-text-color
|
|
257
|
+
color: var(--body-text-color);
|
|
260
258
|
font-weight: var(--section-header-text-weight);
|
|
261
259
|
font-size: var(--section-header-text-size);
|
|
262
260
|
transition: all 0.2s ease-out;
|