@rspress/shared 2.0.0-beta.16 → 2.0.0-beta.17

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/index.d.ts CHANGED
@@ -676,7 +676,7 @@ export declare interface SidebarGroup {
676
676
  text: string;
677
677
  link?: string;
678
678
  tag?: string;
679
- items: (SidebarItem | SidebarDivider | SidebarGroup | string)[];
679
+ items: (SidebarGroup | SidebarItem | SidebarDivider | SidebarSectionHeader)[];
680
680
  collapsible?: boolean;
681
681
  collapsed?: boolean;
682
682
  /**
@@ -539,7 +539,7 @@ declare interface SidebarGroup {
539
539
  text: string;
540
540
  link?: string;
541
541
  tag?: string;
542
- items: (SidebarItem | SidebarDivider | SidebarGroup | string)[];
542
+ items: (SidebarGroup | SidebarItem | SidebarDivider | SidebarSectionHeader)[];
543
543
  collapsible?: boolean;
544
544
  collapsed?: boolean;
545
545
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "2.0.0-beta.16",
3
+ "version": "2.0.0-beta.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/web-infra-dev/rspress.git",
@@ -32,14 +32,14 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@rsbuild/core": "~1.3.22",
35
+ "@rsbuild/core": "~1.4.0-rc.0",
36
36
  "@shikijs/rehype": "^3.4.2",
37
37
  "gray-matter": "4.0.3",
38
38
  "lodash-es": "^4.17.21",
39
39
  "unified": "^11.0.5"
40
40
  },
41
41
  "devDependencies": {
42
- "@rslib/core": "0.10.0",
42
+ "@rslib/core": "0.10.2",
43
43
  "@types/jest": "~29.5.14",
44
44
  "@types/lodash-es": "^4.17.12",
45
45
  "@types/node": "^22.8.1",