@docusaurus/theme-classic 0.0.0-5048 → 0.0.0-5049

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.
@@ -95,7 +95,7 @@ function TabsComponent(props) {
95
95
  blockElementScrollPositionUntilNextRender(newTab);
96
96
  setSelectedValue(newTabValue);
97
97
  if (groupId != null) {
98
- setTabGroupChoices(groupId, newTabValue);
98
+ setTabGroupChoices(groupId, String(newTabValue));
99
99
  }
100
100
  }
101
101
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-classic",
3
- "version": "0.0.0-5048",
3
+ "version": "0.0.0-5049",
4
4
  "description": "Classic theme for Docusaurus",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/theme-classic.d.ts",
@@ -20,15 +20,15 @@
20
20
  "copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@docusaurus/core": "0.0.0-5048",
24
- "@docusaurus/plugin-content-blog": "0.0.0-5048",
25
- "@docusaurus/plugin-content-docs": "0.0.0-5048",
26
- "@docusaurus/plugin-content-pages": "0.0.0-5048",
27
- "@docusaurus/theme-common": "0.0.0-5048",
28
- "@docusaurus/theme-translations": "0.0.0-5048",
29
- "@docusaurus/utils": "0.0.0-5048",
30
- "@docusaurus/utils-common": "0.0.0-5048",
31
- "@docusaurus/utils-validation": "0.0.0-5048",
23
+ "@docusaurus/core": "0.0.0-5049",
24
+ "@docusaurus/plugin-content-blog": "0.0.0-5049",
25
+ "@docusaurus/plugin-content-docs": "0.0.0-5049",
26
+ "@docusaurus/plugin-content-pages": "0.0.0-5049",
27
+ "@docusaurus/theme-common": "0.0.0-5049",
28
+ "@docusaurus/theme-translations": "0.0.0-5049",
29
+ "@docusaurus/utils": "0.0.0-5049",
30
+ "@docusaurus/utils-common": "0.0.0-5049",
31
+ "@docusaurus/utils-validation": "0.0.0-5049",
32
32
  "@mdx-js/react": "^1.6.22",
33
33
  "clsx": "^1.1.1",
34
34
  "copy-text-to-clipboard": "^3.0.1",
@@ -43,8 +43,8 @@
43
43
  "tslib": "^2.4.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@docusaurus/module-type-aliases": "0.0.0-5048",
47
- "@docusaurus/types": "0.0.0-5048",
46
+ "@docusaurus/module-type-aliases": "0.0.0-5049",
47
+ "@docusaurus/types": "0.0.0-5049",
48
48
  "@types/mdx-js__react": "^1.5.5",
49
49
  "@types/nprogress": "^0.2.0",
50
50
  "@types/prismjs": "^1.26.0",
@@ -60,5 +60,5 @@
60
60
  "engines": {
61
61
  "node": ">=14"
62
62
  },
63
- "gitHead": "f5680d2f2633fbd6594972ae1f4c1ddb1467f9ac"
63
+ "gitHead": "527b2a01c46b67483327a1a6873fccf81bc19e2c"
64
64
  }
@@ -115,7 +115,7 @@ function TabsComponent(props: Props): JSX.Element {
115
115
  setSelectedValue(newTabValue);
116
116
 
117
117
  if (groupId != null) {
118
- setTabGroupChoices(groupId, newTabValue);
118
+ setTabGroupChoices(groupId, String(newTabValue));
119
119
  }
120
120
  }
121
121
  };
@@ -1032,10 +1032,10 @@ declare module '@theme/Tabs' {
1032
1032
  readonly lazy?: boolean;
1033
1033
  readonly block?: boolean;
1034
1034
  readonly children: readonly ReactElement<TabItemProps>[];
1035
- readonly defaultValue?: string | null;
1035
+ readonly defaultValue?: string | number | null;
1036
1036
  readonly values?: readonly {
1037
- value: string;
1038
- label?: string;
1037
+ value: string | number;
1038
+ label?: string | number;
1039
1039
  attributes?: {[key: string]: unknown};
1040
1040
  }[];
1041
1041
  readonly groupId?: string;