@rspress/plugin-llms 2.0.0-beta.29 → 2.0.0-beta.30
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/dist/runtime/index.css +18 -7
- package/dist/runtime/index.js +3 -5
- package/package.json +8 -8
package/dist/runtime/index.css
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
background: var(--rp-c-bg);
|
|
11
11
|
height: 40px;
|
|
12
12
|
color: var(--rp-c-text-1);
|
|
13
|
+
cursor: pointer;
|
|
13
14
|
border-radius: 8px;
|
|
14
15
|
justify-content: center;
|
|
15
16
|
align-items: center;
|
|
@@ -68,11 +69,12 @@
|
|
|
68
69
|
transform: translate(-50%, -50%);
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
.
|
|
72
|
+
.dropdownButton-Mj4g7p {
|
|
72
73
|
border: 1px solid var(--rp-c-divider-light);
|
|
73
74
|
background: var(--rp-c-bg);
|
|
74
75
|
height: 40px;
|
|
75
76
|
color: var(--rp-c-text-1);
|
|
77
|
+
cursor: pointer;
|
|
76
78
|
border-radius: 8px;
|
|
77
79
|
justify-content: center;
|
|
78
80
|
align-items: center;
|
|
@@ -84,17 +86,13 @@
|
|
|
84
86
|
line-height: 22px;
|
|
85
87
|
transition: background .3s, border .3s;
|
|
86
88
|
display: inline-flex;
|
|
89
|
+
position: relative;
|
|
87
90
|
}
|
|
88
91
|
|
|
89
|
-
.
|
|
92
|
+
.dropdownButton-Mj4g7p:hover, .dropdownButton-Mj4g7p.active-SacMuO {
|
|
90
93
|
background: var(--rp-c-bg-mute);
|
|
91
94
|
}
|
|
92
95
|
|
|
93
|
-
.dropdownButton-Mj4g7p {
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
position: relative;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
96
|
.dropdownArrow-UjqrjW {
|
|
99
97
|
transition: transform .2s;
|
|
100
98
|
}
|
|
@@ -114,6 +112,7 @@
|
|
|
114
112
|
align-items: flex-start;
|
|
115
113
|
margin-top: 4px;
|
|
116
114
|
padding: 8px;
|
|
115
|
+
animation: .15s ease-in-out fadeIn-_SWLWZ;
|
|
117
116
|
display: inline-flex;
|
|
118
117
|
position: absolute;
|
|
119
118
|
top: 100%;
|
|
@@ -121,6 +120,18 @@
|
|
|
121
120
|
box-shadow: 0 4px 16px #0000000a;
|
|
122
121
|
}
|
|
123
122
|
|
|
123
|
+
@keyframes fadeIn-_SWLWZ {
|
|
124
|
+
0% {
|
|
125
|
+
opacity: 0;
|
|
126
|
+
transform: translateY(-4px);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
100% {
|
|
130
|
+
opacity: 1;
|
|
131
|
+
transform: translateY(0);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
124
135
|
.dropdownItem-taWikf {
|
|
125
136
|
text-align: left;
|
|
126
137
|
cursor: pointer;
|
package/dist/runtime/index.js
CHANGED
|
@@ -142,8 +142,7 @@ var LlmsViewOptions_module_3 = "dropdownButton-Mj4g7p";
|
|
|
142
142
|
var LlmsViewOptions_module_4 = "dropdownItem-taWikf";
|
|
143
143
|
var LlmsViewOptions_module_5 = "dropdownMenu-_ggfjT";
|
|
144
144
|
var LlmsViewOptions_module_6 = "externalIcon-r8tMpa";
|
|
145
|
-
var
|
|
146
|
-
var _8 = "llmsViewOptionsContainer-EuqmUT";
|
|
145
|
+
var _8 = "leftIcon-JI6iFK";
|
|
147
146
|
var _9 = "rotated-YGs7Vp";
|
|
148
147
|
/**
|
|
149
148
|
* Inspired from fumadocs docsite
|
|
@@ -301,7 +300,6 @@ const LlmsViewOptions = ({ options = [
|
|
|
301
300
|
ref: dropdownRef,
|
|
302
301
|
className: [
|
|
303
302
|
LlmsViewOptions_module_3,
|
|
304
|
-
_8,
|
|
305
303
|
isOpen ? LlmsViewOptions_module_1 : ''
|
|
306
304
|
].filter(Boolean).join(' '),
|
|
307
305
|
type: "button",
|
|
@@ -325,7 +323,7 @@ const LlmsViewOptions = ({ options = [
|
|
|
325
323
|
rel: "noopener noreferrer",
|
|
326
324
|
children: [
|
|
327
325
|
/*#__PURE__*/ jsx("span", {
|
|
328
|
-
className:
|
|
326
|
+
className: _8,
|
|
329
327
|
children: displayItem.icon
|
|
330
328
|
}),
|
|
331
329
|
/*#__PURE__*/ jsx("span", {
|
|
@@ -342,7 +340,7 @@ const LlmsViewOptions = ({ options = [
|
|
|
342
340
|
onClick: displayItem.onClick,
|
|
343
341
|
children: [
|
|
344
342
|
/*#__PURE__*/ jsx("span", {
|
|
345
|
-
className:
|
|
343
|
+
className: _8,
|
|
346
344
|
children: displayItem.icon
|
|
347
345
|
}),
|
|
348
346
|
/*#__PURE__*/ jsx("span", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspress/plugin-llms",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.30",
|
|
4
4
|
"description": "A plugin for rspress to generate llms.txt, llms-full.txt, md files to let llm understand your website.",
|
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"static"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"remark-mdx": "^3.1.
|
|
31
|
+
"remark-mdx": "^3.1.1",
|
|
32
32
|
"remark-parse": "^11.0.0",
|
|
33
33
|
"remark-stringify": "^11.0.0",
|
|
34
34
|
"unified": "^11.0.5",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@microsoft/api-extractor": "^7.52.11",
|
|
39
|
-
"@rsbuild/core": "~1.
|
|
40
|
-
"@rsbuild/plugin-react": "~1.
|
|
41
|
-
"@rsbuild/plugin-sass": "~1.
|
|
42
|
-
"@rslib/core": "0.12.
|
|
39
|
+
"@rsbuild/core": "~1.5.3",
|
|
40
|
+
"@rsbuild/plugin-react": "~1.4.0",
|
|
41
|
+
"@rsbuild/plugin-sass": "~1.4.0",
|
|
42
|
+
"@rslib/core": "0.12.4",
|
|
43
43
|
"@types/hast": "^3.0.4",
|
|
44
44
|
"@types/node": "^22.8.1",
|
|
45
|
-
"@types/react": "^19.1.
|
|
45
|
+
"@types/react": "^19.1.12",
|
|
46
46
|
"react": "^19.1.1",
|
|
47
47
|
"rsbuild-plugin-publint": "^0.3.3",
|
|
48
48
|
"typescript": "^5.8.2",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@rspress/config": "1.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@rspress/core": "^2.0.0-beta.
|
|
53
|
+
"@rspress/core": "^2.0.0-beta.30"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=18.0.0"
|