@gradio/tabs 0.4.4 → 0.4.5

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,5 +1,11 @@
1
1
  # @gradio/tabs
2
2
 
3
+ ## 0.4.5
4
+
5
+ ### Fixes
6
+
7
+ - [#11344](https://github.com/gradio-app/gradio/pull/11344) [`b961441`](https://github.com/gradio-app/gradio/commit/b961441780d70c82504141bd4deae7b3290c2227) - Fixes default tab label. Thanks @dawoodkhan82!
8
+
3
9
  ## 0.4.4
4
10
 
5
11
  ### Fixes
@@ -157,7 +157,7 @@ $:
157
157
  }
158
158
  }}
159
159
  >
160
- {t.label}
160
+ {t?.label !== undefined ? t?.label : "Tab " + (i + 1)}
161
161
  </button>
162
162
  {/if}
163
163
  {/each}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/tabs",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -20,7 +20,7 @@
20
20
  "@gradio/utils": "^0.10.2"
21
21
  },
22
22
  "devDependencies": {
23
- "@gradio/preview": "^0.13.0"
23
+ "@gradio/preview": "^0.13.1"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "svelte": "^4.0.0"
@@ -201,7 +201,7 @@
201
201
  }
202
202
  }}
203
203
  >
204
- {t.label}
204
+ {t?.label !== undefined ? t?.label : "Tab " + (i + 1)}
205
205
  </button>
206
206
  {/if}
207
207
  {/each}