@lexibase/rdx-types 1.0.0-beta.2 → 1.0.0-beta.4

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/config.d.ts CHANGED
@@ -106,18 +106,30 @@ export type RDXConfig = {
106
106
  }
107
107
 
108
108
  /** Public configuration shared by the CLI, runtime, and plugins. */
109
+ export type RdxHomepage = {
110
+ enabled?: boolean
111
+ /** Custom project-owned homepage, e.g. import Home from './home'. */
112
+ component?: ComponentType
113
+ title?: string
114
+ description?: string
115
+ buttons?: { label: string; href: string }[]
116
+ }
117
+
109
118
  export type RdxConfig = {
110
119
  title: string
111
120
  description?: string
112
121
  lang?: string
113
122
  docsDir?: string
123
+ homepage?: RdxHomepage
114
124
  plugins?: RdxPlugin[]
115
125
  theme?: {
116
126
  defaultTheme?: 'system' | 'dark' | 'light'
117
127
  }
118
128
  navbar?: {
119
129
  title?: string
130
+ logo?: ComponentType<{ className?: string }>
120
131
  actions?: {
132
+ showToggleMode?: boolean
121
133
  github?: {
122
134
  visible: boolean
123
135
  url: string
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export { VersionsRaw, MDXLoader, DocLink, DocCategory } from './loaders'
2
2
  export {
3
3
  RDXConfig,
4
4
  RdxConfig,
5
+ RdxHomepage,
5
6
  RdxRuntimeConfig,
6
7
  ResolvedRdxConfig,
7
8
  } from './config'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lexibase/rdx-types",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.4",
4
4
  "license": "MIT",
5
5
  "description": "Shared TypeScript types for RDX documentation projects.",
6
6
  "types": "./dist/index.d.ts",