@docusaurus/theme-classic 0.0.0-4707 → 0.0.0-4710
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/lib/getSwizzleConfig.js +50 -2
- package/lib/theme-classic.d.ts +72 -1
- package/lib-next/theme/Footer/Copyright/index.js +18 -0
- package/lib-next/theme/Footer/Layout/index.js +26 -0
- package/lib-next/theme/Footer/LinkItem/index.js +35 -0
- package/lib-next/theme/Footer/Links/MultiColumn/index.js +47 -0
- package/lib-next/theme/Footer/Links/Simple/index.js +41 -0
- package/lib-next/theme/Footer/Links/index.js +17 -0
- package/lib-next/theme/Footer/Logo/index.js +38 -0
- package/lib-next/theme/Footer/{styles.module.css → Logo/styles.module.css} +0 -0
- package/lib-next/theme/Footer/index.js +11 -156
- package/lib-next/theme/MDXComponents/index.js +1 -1
- package/lib-next/theme/Tabs/__tests__/index.test.js +5 -5
- package/lib-next/theme/Tabs/index.js +2 -2
- package/package.json +13 -13
- package/src/getSwizzleConfig.ts +52 -1
- package/src/theme/Footer/Copyright/index.tsx +22 -0
- package/src/theme/Footer/Layout/index.tsx +34 -0
- package/src/theme/Footer/LinkItem/index.tsx +38 -0
- package/src/theme/Footer/Links/MultiColumn/index.tsx +53 -0
- package/src/theme/Footer/Links/Simple/index.tsx +44 -0
- package/src/theme/Footer/Links/index.tsx +21 -0
- package/src/theme/Footer/Logo/index.tsx +41 -0
- package/src/theme/Footer/{styles.module.css → Logo/styles.module.css} +0 -0
- package/src/theme/Footer/index.tsx +12 -170
- package/src/theme/MDXComponents/index.tsx +2 -2
- package/src/theme/Tabs/index.tsx +1 -2
- package/src/theme-classic.d.ts +72 -1
package/src/theme-classic.d.ts
CHANGED
|
@@ -205,7 +205,7 @@ declare module '@theme/DocSidebar/Desktop/Content' {
|
|
|
205
205
|
readonly sidebar: readonly PropSidebarItem[];
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
export default function
|
|
208
|
+
export default function Content(props: Props): JSX.Element;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
declare module '@theme/DocSidebar/Desktop/CollapseButton' {
|
|
@@ -280,6 +280,77 @@ declare module '@theme/Footer' {
|
|
|
280
280
|
export default function Footer(): JSX.Element | null;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
+
declare module '@theme/Footer/Logo' {
|
|
284
|
+
import type {FooterLogo} from '@docusaurus/theme-common';
|
|
285
|
+
|
|
286
|
+
export interface Props {
|
|
287
|
+
logo: FooterLogo;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export default function FooterLogo(props: Props): JSX.Element;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
declare module '@theme/Footer/Copyright' {
|
|
294
|
+
export interface Props {
|
|
295
|
+
copyright: string;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export default function FooterCopyright(props: Props): JSX.Element;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
declare module '@theme/Footer/LinkItem' {
|
|
302
|
+
import type {FooterLinkItem} from '@docusaurus/theme-common';
|
|
303
|
+
|
|
304
|
+
export interface Props {
|
|
305
|
+
item: FooterLinkItem;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export default function FooterLinkItem(props: Props): JSX.Element;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
declare module '@theme/Footer/Layout' {
|
|
312
|
+
import type {ReactNode} from 'react';
|
|
313
|
+
|
|
314
|
+
export interface Props {
|
|
315
|
+
style: 'light' | 'dark';
|
|
316
|
+
links: ReactNode;
|
|
317
|
+
logo: ReactNode;
|
|
318
|
+
copyright: ReactNode;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export default function FooterLayout(props: Props): JSX.Element;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
declare module '@theme/Footer/Links' {
|
|
325
|
+
import type {Footer} from '@docusaurus/theme-common';
|
|
326
|
+
|
|
327
|
+
export interface Props {
|
|
328
|
+
links: Footer['links'];
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export default function FooterLinks(props: Props): JSX.Element;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
declare module '@theme/Footer/Links/MultiColumn' {
|
|
335
|
+
import type {MultiColumnFooter} from '@docusaurus/theme-common';
|
|
336
|
+
|
|
337
|
+
export interface Props {
|
|
338
|
+
columns: MultiColumnFooter['links'];
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export default function FooterLinksMultiColumn(props: Props): JSX.Element;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
declare module '@theme/Footer/Links/Simple' {
|
|
345
|
+
import type {SimpleFooter} from '@docusaurus/theme-common';
|
|
346
|
+
|
|
347
|
+
export interface Props {
|
|
348
|
+
links: SimpleFooter['links'];
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export default function FooterLinksSimple(props: Props): JSX.Element;
|
|
352
|
+
}
|
|
353
|
+
|
|
283
354
|
declare module '@theme/Heading' {
|
|
284
355
|
import type {ComponentProps} from 'react';
|
|
285
356
|
|