@rspress/shared 1.11.0 → 1.11.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -123,6 +123,10 @@ interface Config$1 {
123
123
  * Whether to open the full text search
124
124
  */
125
125
  search?: boolean;
126
+ /**
127
+ * The placeholder of search input
128
+ */
129
+ searchPlaceholderText?: string;
126
130
  /**
127
131
  * The behavior of hiding navbar
128
132
  */
@@ -156,6 +160,7 @@ interface LocaleConfig {
156
160
  nextPageText?: string;
157
161
  sourceCodeText?: string;
158
162
  langRoutePrefix?: string;
163
+ searchPlaceholderText?: string;
159
164
  }
160
165
  type Nav = NavItem[] | {
161
166
  [key: string]: NavItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -42,7 +42,7 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "@rsbuild/core": "0.3.1",
45
+ "@rsbuild/core": "0.4.0",
46
46
  "unified": "10.1.2",
47
47
  "chalk": "4.1.2",
48
48
  "execa": "5.1.1",