@umijs/plugin-docs 4.0.0-canary.20220424.1 → 4.0.0-canary.20220425.3
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.
|
@@ -44,7 +44,10 @@ export default (props: any) => {
|
|
|
44
44
|
location: props.location,
|
|
45
45
|
}}
|
|
46
46
|
>
|
|
47
|
-
<div
|
|
47
|
+
<div
|
|
48
|
+
className="flex flex-col dark:bg-gray-900 min-h-screen transition-all"
|
|
49
|
+
id={isHomePage ? 'home-page' : 'doc-page'}
|
|
50
|
+
>
|
|
48
51
|
<div
|
|
49
52
|
id="head-container"
|
|
50
53
|
className="z-30 sticky top-0 dark:before:bg-gray-800 before:bg-white before:bg-opacity-[.85]
|
|
@@ -14,7 +14,10 @@ export default () => {
|
|
|
14
14
|
<img src={Logo} className="w-8 h-8" alt="logo" />
|
|
15
15
|
)}
|
|
16
16
|
{typeof Logo === 'function' && <Logo />}
|
|
17
|
-
<div
|
|
17
|
+
<div
|
|
18
|
+
id="header-title"
|
|
19
|
+
className="text-xl font-extrabold ml-2 dark:text-white"
|
|
20
|
+
>
|
|
18
21
|
{themeConfig.title}
|
|
19
22
|
</div>
|
|
20
23
|
</div>
|
|
@@ -63,6 +63,7 @@ export default () => {
|
|
|
63
63
|
return (
|
|
64
64
|
<Fragment>
|
|
65
65
|
<div
|
|
66
|
+
id="search-input-wrapper"
|
|
66
67
|
className="rounded-lg w-40 lg:w-64 flex items-center pr-2 flex-row hover:bg-gray-50
|
|
67
68
|
transition duration-300 bg-gray-100 border border-white focus-within:border-gray-100
|
|
68
69
|
focus-within:bg-white dark:bg-gray-700 dark:border-gray-700 relative
|
|
@@ -84,6 +85,7 @@ export default () => {
|
|
|
84
85
|
{isMac ? macSearchKey : windowsSearchKey}
|
|
85
86
|
</div>
|
|
86
87
|
<div
|
|
88
|
+
id="search-results-wrapper"
|
|
87
89
|
className={cx(
|
|
88
90
|
'absolute transition-all duration-500 top-12 w-96 rounded-lg',
|
|
89
91
|
'cursor-pointer shadow overflow-hidden',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/plugin-docs",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.20220425.3",
|
|
4
4
|
"description": "@umijs/plugin-docs",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/plugin-docs#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"rehype-slug": "5.0.1",
|
|
40
40
|
"remark-gfm": "^3.0.1",
|
|
41
41
|
"tailwindcss": "^3.0.23",
|
|
42
|
-
"umi": "4.0.0-canary.
|
|
42
|
+
"umi": "4.0.0-canary.20220425.3"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|