@docusaurus/theme-classic 0.0.0-4573 → 0.0.0-4581
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/lib-next/theme/DocCard/styles.module.css +1 -1
- package/lib-next/theme/DocPage/styles.module.css +3 -3
- package/lib-next/theme/DocSidebar/styles.module.css +4 -4
- package/lib-next/theme/DocSidebarItem/index.js +0 -2
- package/lib-next/theme/DocSidebarItem/styles.module.css +0 -12
- package/lib-next/theme/ThemedImage/styles.module.css +2 -2
- package/package.json +17 -18
- package/src/theme/DocCard/styles.module.css +1 -1
- package/src/theme/DocPage/styles.module.css +3 -3
- package/src/theme/DocSidebar/styles.module.css +4 -4
- package/src/theme/DocSidebarItem/index.tsx +0 -2
- package/src/theme/DocSidebarItem/styles.module.css +0 -12
- package/src/theme/ThemedImage/styles.module.css +2 -2
- package/lib-next/theme/DocSidebarItems/styles.module.css +0 -20
- package/src/theme/DocSidebarItems/styles.module.css +0 -20
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
[data-theme='dark'] .cardContainer.cardContainerLink:hover {
|
|
28
28
|
--ifm-card-background-color: #2d2d2d; /* original, non-hovered color is #242526 */
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
transform: rotate(0);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
[dir='rtl'] .expandSidebarButtonIcon {
|
|
73
73
|
transform: rotate(180deg);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
[data-theme='dark'] .collapsedDocSidebar:hover,
|
|
77
|
+
[data-theme='dark'] .collapsedDocSidebar:focus {
|
|
78
78
|
background-color: var(--collapse-button-bg-color-dark);
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -72,16 +72,16 @@
|
|
|
72
72
|
margin-top: 4px;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
[dir='rtl'] .collapseSidebarButtonIcon {
|
|
76
76
|
transform: rotate(0);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
[data-theme='dark'] .collapseSidebarButton {
|
|
80
80
|
background-color: var(--collapse-button-bg-color-dark);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
[data-theme='dark'] .collapseSidebarButton:hover,
|
|
84
|
+
[data-theme='dark'] .collapseSidebarButton:focus {
|
|
85
85
|
background-color: var(--ifm-color-emphasis-200);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -145,8 +145,6 @@ function DocSidebarItemCategory({
|
|
|
145
145
|
className={clsx('menu__link', {
|
|
146
146
|
'menu__link--sublist': collapsible && !href,
|
|
147
147
|
'menu__link--active': isActive,
|
|
148
|
-
[styles.menuLinkText]: !collapsible,
|
|
149
|
-
[styles.hasHref]: !!hrefWithSSRFallback,
|
|
150
148
|
})}
|
|
151
149
|
onClick={
|
|
152
150
|
collapsible
|
|
@@ -6,18 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
@media (min-width: 997px) {
|
|
9
|
-
.menuLinkText {
|
|
10
|
-
cursor: initial;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.menuLinkText:hover {
|
|
14
|
-
background: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.menuLinkText.hasHref {
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
9
|
.menuHtmlItem {
|
|
22
10
|
padding: var(--ifm-menu-link-padding-vertical)
|
|
23
11
|
var(--ifm-menu-link-padding-horizontal);
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
display: none;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
[data-theme='light'] .themedImage--light {
|
|
13
13
|
display: initial;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
[data-theme='dark'] .themedImage--dark {
|
|
17
17
|
display: initial;
|
|
18
18
|
}
|
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-4581",
|
|
4
4
|
"description": "Classic theme for Docusaurus",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-classic.d.ts",
|
|
@@ -21,33 +21,32 @@
|
|
|
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-4581",
|
|
25
|
+
"@docusaurus/plugin-content-blog": "0.0.0-4581",
|
|
26
|
+
"@docusaurus/plugin-content-docs": "0.0.0-4581",
|
|
27
|
+
"@docusaurus/plugin-content-pages": "0.0.0-4581",
|
|
28
|
+
"@docusaurus/theme-common": "0.0.0-4581",
|
|
29
|
+
"@docusaurus/theme-translations": "0.0.0-4581",
|
|
30
|
+
"@docusaurus/utils": "0.0.0-4581",
|
|
31
|
+
"@docusaurus/utils-common": "0.0.0-4581",
|
|
32
|
+
"@docusaurus/utils-validation": "0.0.0-4581",
|
|
33
33
|
"@mdx-js/react": "^1.6.22",
|
|
34
34
|
"clsx": "^1.1.1",
|
|
35
35
|
"copy-text-to-clipboard": "^3.0.1",
|
|
36
36
|
"infima": "0.2.0-alpha.37",
|
|
37
|
-
"lodash": "^4.17.
|
|
38
|
-
"postcss": "^8.
|
|
37
|
+
"lodash": "^4.17.21",
|
|
38
|
+
"postcss": "^8.4.6",
|
|
39
39
|
"prism-react-renderer": "^1.2.1",
|
|
40
40
|
"prismjs": "^1.26.0",
|
|
41
41
|
"react-router-dom": "^5.2.0",
|
|
42
42
|
"rtlcss": "^3.3.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
46
|
-
"@docusaurus/types": "0.0.0-
|
|
47
|
-
"@types/mdx-js__react": "^1.5.
|
|
48
|
-
"@types/parse-numeric-range": "^0.0.1",
|
|
45
|
+
"@docusaurus/module-type-aliases": "0.0.0-4581",
|
|
46
|
+
"@docusaurus/types": "0.0.0-4581",
|
|
47
|
+
"@types/mdx-js__react": "^1.5.5",
|
|
49
48
|
"@types/prismjs": "^1.26.0",
|
|
50
|
-
"@types/rtlcss": "^3.1.
|
|
49
|
+
"@types/rtlcss": "^3.1.2",
|
|
51
50
|
"cross-env": "^7.0.3",
|
|
52
51
|
"fs-extra": "^10.0.0",
|
|
53
52
|
"react-test-renderer": "^17.0.2",
|
|
@@ -60,5 +59,5 @@
|
|
|
60
59
|
"engines": {
|
|
61
60
|
"node": ">=14"
|
|
62
61
|
},
|
|
63
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "836e6ce6a20794ad1167274f6bc200a15e0b31da"
|
|
64
63
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
[data-theme='dark'] .cardContainer.cardContainerLink:hover {
|
|
28
28
|
--ifm-card-background-color: #2d2d2d; /* original, non-hovered color is #242526 */
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
transform: rotate(0);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
[dir='rtl'] .expandSidebarButtonIcon {
|
|
73
73
|
transform: rotate(180deg);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
[data-theme='dark'] .collapsedDocSidebar:hover,
|
|
77
|
+
[data-theme='dark'] .collapsedDocSidebar:focus {
|
|
78
78
|
background-color: var(--collapse-button-bg-color-dark);
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -72,16 +72,16 @@
|
|
|
72
72
|
margin-top: 4px;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
[dir='rtl'] .collapseSidebarButtonIcon {
|
|
76
76
|
transform: rotate(0);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
[data-theme='dark'] .collapseSidebarButton {
|
|
80
80
|
background-color: var(--collapse-button-bg-color-dark);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
[data-theme='dark'] .collapseSidebarButton:hover,
|
|
84
|
+
[data-theme='dark'] .collapseSidebarButton:focus {
|
|
85
85
|
background-color: var(--ifm-color-emphasis-200);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -162,8 +162,6 @@ function DocSidebarItemCategory({
|
|
|
162
162
|
className={clsx('menu__link', {
|
|
163
163
|
'menu__link--sublist': collapsible && !href,
|
|
164
164
|
'menu__link--active': isActive,
|
|
165
|
-
[styles.menuLinkText]: !collapsible,
|
|
166
|
-
[styles.hasHref]: !!hrefWithSSRFallback,
|
|
167
165
|
})}
|
|
168
166
|
onClick={
|
|
169
167
|
collapsible
|
|
@@ -6,18 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
@media (min-width: 997px) {
|
|
9
|
-
.menuLinkText {
|
|
10
|
-
cursor: initial;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.menuLinkText:hover {
|
|
14
|
-
background: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.menuLinkText.hasHref {
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
9
|
.menuHtmlItem {
|
|
22
10
|
padding: var(--ifm-menu-link-padding-vertical)
|
|
23
11
|
var(--ifm-menu-link-padding-horizontal);
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
display: none;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
[data-theme='light'] .themedImage--light {
|
|
13
13
|
display: initial;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
[data-theme='dark'] .themedImage--dark {
|
|
17
17
|
display: initial;
|
|
18
18
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
@media (min-width: 997px) {
|
|
9
|
-
.menuLinkText {
|
|
10
|
-
cursor: initial;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.menuLinkText:hover {
|
|
14
|
-
background: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.menuLinkText.hasHref {
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
@media (min-width: 997px) {
|
|
9
|
-
.menuLinkText {
|
|
10
|
-
cursor: initial;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.menuLinkText:hover {
|
|
14
|
-
background: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.menuLinkText.hasHref {
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
}
|
|
20
|
-
}
|