gradio-pr-bot commited on
Commit
b8a378a
·
verified ·
1 Parent(s): db0b430

Upload folder using huggingface_hub

Browse files
5.49.1/group/Index.svelte ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script lang="ts">
2
+ export let elem_id = "";
3
+ export let elem_classes: string[] = [];
4
+ export let visible: boolean | "hidden" = true;
5
+ </script>
6
+
7
+ <div
8
+ id={elem_id}
9
+ class="gr-group {elem_classes.join(' ')}"
10
+ class:hide={!visible}
11
+ >
12
+ <div
13
+ class="styler"
14
+ style:--block-radius="0px"
15
+ style:--block-border-width="0px"
16
+ style:--layout-gap="1px"
17
+ style:--form-gap-width="1px"
18
+ style:--button-border-width="0px"
19
+ style:--button-large-radius="0px"
20
+ style:--button-small-radius="0px"
21
+ >
22
+ <slot />
23
+ </div>
24
+ </div>
25
+
26
+ <style>
27
+ div {
28
+ border: var(--block-border-width) solid var(--border-color-primary);
29
+ background: var(--block-border-color);
30
+ border-radius: var(--block-radius);
31
+ display: flex;
32
+ flex-direction: column;
33
+ gap: var(--form-gap-width);
34
+ overflow: hidden;
35
+ }
36
+ div > :global(*:not(.absolute)) {
37
+ border: none;
38
+ border-radius: 0;
39
+ }
40
+ .hide {
41
+ display: none;
42
+ }
43
+ </style>
5.49.1/group/package.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "@gradio/group",
3
+ "version": "0.2.1",
4
+ "description": "Gradio UI packages",
5
+ "type": "module",
6
+ "author": "",
7
+ "license": "ISC",
8
+ "private": false,
9
+ "main_changeset": true,
10
+ "exports": {
11
+ ".": {
12
+ "gradio": "./Index.svelte",
13
+ "svelte": "./dist/Index.svelte",
14
+ "types": "./dist/Index.svelte.d.ts"
15
+ },
16
+ "./package.json": "./package.json"
17
+ },
18
+ "devDependencies": {
19
+ "@gradio/preview": "workspace:^"
20
+ },
21
+ "peerDependencies": {
22
+ "svelte": "^4.0.0"
23
+ },
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/gradio-app/gradio.git",
27
+ "directory": "js/group"
28
+ }
29
+ }