@docusaurus/theme-classic 0.0.0-4840 → 0.0.0-4841
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.
|
@@ -22,7 +22,7 @@ describe('Tabs', () => {
|
|
|
22
22
|
</Tabs>,
|
|
23
23
|
);
|
|
24
24
|
}).toThrowErrorMatchingInlineSnapshot(
|
|
25
|
-
`"Docusaurus error: Bad <Tabs> child <div>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique
|
|
25
|
+
`"Docusaurus error: Bad <Tabs> child <div>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop."`,
|
|
26
26
|
);
|
|
27
27
|
});
|
|
28
28
|
it('rejects bad Tabs defaultValue', () => {
|
|
@@ -34,7 +34,7 @@ describe('Tabs', () => {
|
|
|
34
34
|
</Tabs>,
|
|
35
35
|
);
|
|
36
36
|
}).toThrowErrorMatchingInlineSnapshot(
|
|
37
|
-
`"Docusaurus error: The <Tabs> has a defaultValue
|
|
37
|
+
`"Docusaurus error: The <Tabs> has a defaultValue "bad" but none of its children has the corresponding value. Available values are: v1, v2. If you intend to show no default tab, use defaultValue={null} instead."`,
|
|
38
38
|
);
|
|
39
39
|
});
|
|
40
40
|
it('rejects duplicate values', () => {
|
|
@@ -50,7 +50,7 @@ describe('Tabs', () => {
|
|
|
50
50
|
</Tabs>,
|
|
51
51
|
);
|
|
52
52
|
}).toThrowErrorMatchingInlineSnapshot(
|
|
53
|
-
`"Docusaurus error: Duplicate values
|
|
53
|
+
`"Docusaurus error: Duplicate values "v1, v2" found in <Tabs>. Every value needs to be unique."`,
|
|
54
54
|
);
|
|
55
55
|
});
|
|
56
56
|
it('accepts valid Tabs config', () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-classic",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4841",
|
|
4
4
|
"description": "Classic theme for Docusaurus",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-classic.d.ts",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"format:lib-next": "prettier --config ../../.prettierrc --write \"lib-next/**/*.{js,ts,jsx,tsc}\""
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@docusaurus/core": "0.0.0-
|
|
25
|
-
"@docusaurus/plugin-content-blog": "0.0.0-
|
|
26
|
-
"@docusaurus/plugin-content-docs": "0.0.0-
|
|
27
|
-
"@docusaurus/plugin-content-pages": "0.0.0-
|
|
28
|
-
"@docusaurus/theme-common": "0.0.0-
|
|
29
|
-
"@docusaurus/theme-translations": "0.0.0-
|
|
30
|
-
"@docusaurus/utils": "0.0.0-
|
|
31
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
32
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
24
|
+
"@docusaurus/core": "0.0.0-4841",
|
|
25
|
+
"@docusaurus/plugin-content-blog": "0.0.0-4841",
|
|
26
|
+
"@docusaurus/plugin-content-docs": "0.0.0-4841",
|
|
27
|
+
"@docusaurus/plugin-content-pages": "0.0.0-4841",
|
|
28
|
+
"@docusaurus/theme-common": "0.0.0-4841",
|
|
29
|
+
"@docusaurus/theme-translations": "0.0.0-4841",
|
|
30
|
+
"@docusaurus/utils": "0.0.0-4841",
|
|
31
|
+
"@docusaurus/utils-common": "0.0.0-4841",
|
|
32
|
+
"@docusaurus/utils-validation": "0.0.0-4841",
|
|
33
33
|
"@mdx-js/react": "^1.6.22",
|
|
34
34
|
"clsx": "^1.1.1",
|
|
35
35
|
"copy-text-to-clipboard": "^3.0.1",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"rtlcss": "^3.5.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
46
|
-
"@docusaurus/types": "0.0.0-
|
|
45
|
+
"@docusaurus/module-type-aliases": "0.0.0-4841",
|
|
46
|
+
"@docusaurus/types": "0.0.0-4841",
|
|
47
47
|
"@types/mdx-js__react": "^1.5.5",
|
|
48
48
|
"@types/prismjs": "^1.26.0",
|
|
49
49
|
"@types/rtlcss": "^3.1.3",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=14"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "d8b0b5fbaeeb5c2f8c380816f817bd2c7b88ff85"
|
|
63
63
|
}
|