@rspress-theme-anatole/theme-default 0.7.54 → 0.7.55
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/bundle.js +11 -11
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -7229,18 +7229,18 @@ function SearchPanel({ focused, setFocused }) {
|
|
|
7229
7229
|
});
|
|
7230
7230
|
};
|
|
7231
7231
|
const getScopedPlaceholder = () => {
|
|
7232
|
-
if (!searchScope || !searchScope.scopeType) return searchPlaceholderText;
|
|
7232
|
+
// if (!searchScope || !searchScope.scopeType) return searchPlaceholderText;
|
|
7233
7233
|
|
|
7234
|
-
if (searchScope.scopeType === 'product') {
|
|
7235
|
-
|
|
7236
|
-
}
|
|
7237
|
-
if (searchScope.scopeType === 'solution') {
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
}
|
|
7234
|
+
// if (searchScope.scopeType === 'product') {
|
|
7235
|
+
// return `${scopedSearchPrefixText} ${searchScope.productName.toUpperCase()}...`;
|
|
7236
|
+
// }
|
|
7237
|
+
// if (searchScope.scopeType === 'solution') {
|
|
7238
|
+
// const formattedName = searchScope.solutionName
|
|
7239
|
+
// .split('-')
|
|
7240
|
+
// .map(word => word.charAt(0).toUpperCase() + word.slice(1))
|
|
7241
|
+
// .join(' ');
|
|
7242
|
+
// return `${scopedSearchPrefixText} ${formattedName}...`;
|
|
7243
|
+
// }
|
|
7244
7244
|
return searchPlaceholderText;
|
|
7245
7245
|
};
|
|
7246
7246
|
return (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspress-theme-anatole/theme-default",
|
|
3
3
|
"author": "Anatole Tong",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.55",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.css",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"types": "./dist/bundle.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@mdx-js/react": "2.3.0",
|
|
24
|
-
"@rspress-theme-anatole/rspress-plugin-mermaid": "0.7.
|
|
25
|
-
"@rspress-theme-anatole/shared": "0.7.
|
|
24
|
+
"@rspress-theme-anatole/rspress-plugin-mermaid": "0.7.55",
|
|
25
|
+
"@rspress-theme-anatole/shared": "0.7.55",
|
|
26
26
|
"@rspress/runtime": "1.43.8",
|
|
27
27
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
28
28
|
"copy-to-clipboard": "^3.3.3",
|