gradio-pr-bot commited on
Commit
23226df
·
verified ·
1 Parent(s): 63eb75d

Upload folder using huggingface_hub

Browse files
6.11.0/group/Index.svelte CHANGED
@@ -2,31 +2,31 @@
2
  import { Gradio } from "@gradio/utils";
3
 
4
  const props = $props();
5
-
6
- // Register the component with Gradio
7
- const _ = new Gradio<{}, {}>(props);
8
-
9
- const elem_id = $derived(props.elem_id || "");
10
- const elem_classes = $derived(props.elem_classes || []);
11
- const visible = $derived(props.visible === undefined ? true : props.visible);
12
  </script>
13
 
14
  <div
15
- id={elem_id}
16
- class="gr-group {elem_classes.join(' ')}"
17
- class:hide={!visible}
18
  >
19
  <div
20
- class="styler"
21
- style:--block-radius="0px"
22
- style:--block-border-width="0px"
23
- style:--layout-gap="1px"
24
- style:--form-gap-width="1px"
25
- style:--button-border-width="0px"
26
- style:--button-large-radius="0px"
27
- style:--button-small-radius="0px"
28
  >
29
- <slot />
 
 
 
 
 
 
 
 
 
 
 
30
  </div>
31
  </div>
32
 
 
2
  import { Gradio } from "@gradio/utils";
3
 
4
  const props = $props();
5
+ const gradio = new Gradio<{}, {}>(props);
 
 
 
 
 
 
6
  </script>
7
 
8
  <div
9
+ id={gradio.shared.elem_id}
10
+ class="gr-group {gradio.shared.elem_classes?.join(' ') || ''}"
11
+ class:hide={gradio.shared.visible === "hidden"}
12
  >
13
  <div
14
+ id={gradio.shared.elem_id}
15
+ class="gr-group {gradio.shared.elem_classes?.join(' ') || ''}"
16
+ class:hide={gradio.shared.visible === "hidden"}
 
 
 
 
 
17
  >
18
+ <div
19
+ class="styler"
20
+ style:--block-radius="0px"
21
+ style:--block-border-width="0px"
22
+ style:--layout-gap="1px"
23
+ style:--form-gap-width="1px"
24
+ style:--button-border-width="0px"
25
+ style:--button-large-radius="0px"
26
+ style:--button-small-radius="0px"
27
+ >
28
+ <slot />
29
+ </div>
30
  </div>
31
  </div>
32
 
6.11.0/group/package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "@gradio/group",
3
- "version": "0.3.3",
4
  "description": "Gradio UI packages",
5
  "type": "module",
6
  "author": "",
 
1
  {
2
  "name": "@gradio/group",
3
+ "version": "0.3.4",
4
  "description": "Gradio UI packages",
5
  "type": "module",
6
  "author": "",