@alauda/doom 1.15.0 → 1.15.2
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/assets/login-bg.dark.svg +1 -0
- package/assets/login-bg.svg +1 -0
- package/lib/global/AuthCheck/index.js +5 -4
- package/lib/login/index.js +11 -2
- package/lib/plugins/attributes/remark-attributes/attributes-transformer.js +2 -1
- package/lib/runtime/components/Overview.js +1 -1
- package/package.json +8 -8
- package/styles/login.module.scss +48 -0
- package/styles/preamble.module.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alauda/doom",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Doctor Doom making docs.",
|
|
6
6
|
"repository": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@alauda/doom-export": "^0.2.1",
|
|
44
44
|
"@cspell/eslint-plugin": "^9.2.2",
|
|
45
|
-
"@eslint-react/eslint-plugin": "^2.2.
|
|
45
|
+
"@eslint-react/eslint-plugin": "^2.2.4",
|
|
46
46
|
"@inquirer/prompts": "^7.9.0",
|
|
47
47
|
"@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0",
|
|
48
48
|
"@rsbuild/plugin-react": "^1.4.1",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"@rspress/plugin-llms": "2.0.0-beta.34",
|
|
55
55
|
"@rspress/plugin-sitemap": "2.0.0-beta.34",
|
|
56
56
|
"@rspress/shared": "2.0.0-beta.34",
|
|
57
|
-
"@shikijs/transformers": "^3.
|
|
57
|
+
"@shikijs/transformers": "^3.14.0",
|
|
58
58
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
59
59
|
"ab64": "^0.1.6",
|
|
60
60
|
"chokidar": "^4.0.3",
|
|
61
61
|
"clsx": "^2.1.1",
|
|
62
|
-
"commander": "^14.0.
|
|
62
|
+
"commander": "^14.0.2",
|
|
63
63
|
"ejs": "^3.1.10",
|
|
64
|
-
"es-toolkit": "^1.
|
|
64
|
+
"es-toolkit": "^1.41.0",
|
|
65
65
|
"eslint": "^9.38.0",
|
|
66
66
|
"eslint-plugin-mdx": "^3.6.2",
|
|
67
67
|
"globals": "^16.4.0",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"mdast-util-phrasing": "^4.1.0",
|
|
74
74
|
"mdast-util-to-markdown": "^2.1.2",
|
|
75
75
|
"mdast-util-to-string": "^4.0.0",
|
|
76
|
-
"mermaid": "^11.12.
|
|
77
|
-
"openai": "^6.
|
|
76
|
+
"mermaid": "^11.12.1",
|
|
77
|
+
"openai": "^6.7.0",
|
|
78
78
|
"openapi-types": "^12.1.3",
|
|
79
79
|
"p-ratelimit": "^1.0.1",
|
|
80
80
|
"picomatch": "^4.0.3",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"remark-mdx": "^3.1.1",
|
|
96
96
|
"remark-message-control": "^8.0.0",
|
|
97
97
|
"remark-stringify": "^11.0.0",
|
|
98
|
-
"shiki": "^3.
|
|
98
|
+
"shiki": "^3.14.0",
|
|
99
99
|
"simple-git": "^3.28.0",
|
|
100
100
|
"string-width": "^8.1.0",
|
|
101
101
|
"swagger2openapi": "^7.0.8",
|
package/styles/login.module.scss
CHANGED
|
@@ -1,9 +1,57 @@
|
|
|
1
1
|
body:has(.container) :global {
|
|
2
2
|
#search-container,
|
|
3
3
|
.rspress-nav-search-button,
|
|
4
|
+
.rspress-sidebar-menu-container,
|
|
4
5
|
aside,
|
|
5
6
|
.rspress-doc-footer,
|
|
6
7
|
[class^='aside-container'] {
|
|
7
8
|
display: none;
|
|
8
9
|
}
|
|
10
|
+
|
|
11
|
+
.rspress-doc {
|
|
12
|
+
max-width: 1440px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.container {
|
|
17
|
+
padding: 100px 0 200px;
|
|
18
|
+
background: no-repeat 0 100px;
|
|
19
|
+
background-image: var(--login-bg);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:root {
|
|
23
|
+
&:global(.dark) {
|
|
24
|
+
.container {
|
|
25
|
+
background-image: var(--login-bg-dark);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.login-form {
|
|
29
|
+
--login-form-bg: #434652;
|
|
30
|
+
--login-form-shadow: 0 3px 5px #000;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.login-form {
|
|
36
|
+
--login-form-bg: #fefefe;
|
|
37
|
+
--login-form-shadow: 0 0 8px #3c3c3c4a;
|
|
38
|
+
|
|
39
|
+
margin-left: auto;
|
|
40
|
+
padding: 40px 60px;
|
|
41
|
+
width: min(452px, 100%);
|
|
42
|
+
border-radius: 4px;
|
|
43
|
+
box-shadow: var(--login-form-shadow);
|
|
44
|
+
background-color: var(--login-form-bg);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.title {
|
|
48
|
+
font-size: 20px;
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
margin-top: 16px;
|
|
51
|
+
text-align: center;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.content {
|
|
55
|
+
margin-bottom: 20px;
|
|
56
|
+
text-align: center;
|
|
9
57
|
}
|