@rspress/shared 0.0.0-nightly-20240208160146 → 0.0.0-nightly-20240218160240

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 +6 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -135,6 +135,11 @@ interface Config$1 {
135
135
  * Whether to enable the animation for translation pages
136
136
  */
137
137
  enableContentAnimation?: boolean;
138
+ /**
139
+ * Enable scroll to top button on documentation
140
+ * @default false
141
+ */
142
+ enableScrollToTop?: boolean;
138
143
  }
139
144
  /**
140
145
  * locale config
@@ -237,7 +242,7 @@ interface SocialLink {
237
242
  mode: 'link' | 'text' | 'img';
238
243
  content: string;
239
244
  }
240
- type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'twitter' | 'youtube' | 'wechat' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | {
245
+ type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'twitter' | 'youtube' | 'wechat' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | 'X' | {
241
246
  svg: string;
242
247
  };
243
248
  interface Footer {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "0.0.0-nightly-20240208160146",
3
+ "version": "0.0.0-nightly-20240218160240",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",