@docubook/mdx 1.0.0

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.
@@ -0,0 +1,75 @@
1
+ import * as React from 'react';
2
+ import { FC, ReactNode, ComponentProps } from 'react';
3
+ import { C as CardGroup, K as Kbd, N as Note, S as Stepper, a as StepperItem, Y as YoutubeProps, R as Release, b as Changes, L as Link } from '../Stepper-B7xt0Dyr.cjs';
4
+ export { c as Youtube } from '../Stepper-B7xt0Dyr.cjs';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
+ import * as Icons from 'lucide-react';
7
+ import { B as Button, C as Card } from '../Card-L5O7G4xG.cjs';
8
+ export { L as LinkLikeProps, a as LinkRenderer } from '../Card-L5O7G4xG.cjs';
9
+ import { I as Image } from '../Image-DZPezRHi.cjs';
10
+ import 'class-variance-authority/types';
11
+ import 'class-variance-authority';
12
+
13
+ interface TooltipProps {
14
+ text: string;
15
+ tip: string;
16
+ }
17
+ declare const Tooltip: FC<TooltipProps>;
18
+
19
+ type AccordionProps = {
20
+ title: string;
21
+ children?: ReactNode;
22
+ icon?: keyof typeof Icons;
23
+ };
24
+ declare function Accordion({ title, children, icon }: AccordionProps): react_jsx_runtime.JSX.Element;
25
+
26
+ interface AccordionGroupProps {
27
+ children: ReactNode;
28
+ className?: string;
29
+ }
30
+ declare function AccordionGroup({ children, className }: AccordionGroupProps): react_jsx_runtime.JSX.Element;
31
+
32
+ interface FileProps {
33
+ name: string;
34
+ children?: ReactNode;
35
+ }
36
+ declare function Files({ children }: {
37
+ children: ReactNode;
38
+ }): react_jsx_runtime.JSX.Element;
39
+ declare function Folder({ name, children }: FileProps): react_jsx_runtime.JSX.Element;
40
+ declare function File({ name }: FileProps): react_jsx_runtime.JSX.Element;
41
+
42
+ type PreProps = ComponentProps<"pre"> & {
43
+ raw?: string;
44
+ "data-title"?: string;
45
+ };
46
+ declare function Pre({ children, raw, ...rest }: PreProps): react_jsx_runtime.JSX.Element;
47
+
48
+ declare function Copy({ content }: {
49
+ content: string;
50
+ }): react_jsx_runtime.JSX.Element;
51
+
52
+ declare function createCoreMdxComponents(): {
53
+ Accordion: typeof Accordion;
54
+ AccordionGroup: typeof AccordionGroup;
55
+ Button: typeof Button;
56
+ Card: typeof Card;
57
+ CardGroup: typeof CardGroup;
58
+ Kbd: typeof Kbd;
59
+ kbd: typeof Kbd;
60
+ pre: typeof Pre;
61
+ Note: typeof Note;
62
+ Stepper: typeof Stepper;
63
+ StepperItem: typeof StepperItem;
64
+ Youtube: React.FC<YoutubeProps>;
65
+ Tooltip: React.FC<TooltipProps>;
66
+ Release: typeof Release;
67
+ Changes: typeof Changes;
68
+ File: typeof File;
69
+ Files: typeof Files;
70
+ Folder: typeof Folder;
71
+ img: typeof Image;
72
+ a: typeof Link;
73
+ };
74
+
75
+ export { Accordion, AccordionGroup, Button, Card, CardGroup, Changes, Copy, File, Files, Folder, Image, Kbd, Link, Note, Pre, Release, Stepper, StepperItem, Tooltip, createCoreMdxComponents };
@@ -0,0 +1,75 @@
1
+ import * as React from 'react';
2
+ import { FC, ReactNode, ComponentProps } from 'react';
3
+ import { C as CardGroup, K as Kbd, N as Note, S as Stepper, a as StepperItem, Y as YoutubeProps, R as Release, b as Changes, L as Link } from '../Stepper-B7xt0Dyr.js';
4
+ export { c as Youtube } from '../Stepper-B7xt0Dyr.js';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
+ import * as Icons from 'lucide-react';
7
+ import { B as Button, C as Card } from '../Card-L5O7G4xG.js';
8
+ export { L as LinkLikeProps, a as LinkRenderer } from '../Card-L5O7G4xG.js';
9
+ import { I as Image } from '../Image-DZPezRHi.js';
10
+ import 'class-variance-authority/types';
11
+ import 'class-variance-authority';
12
+
13
+ interface TooltipProps {
14
+ text: string;
15
+ tip: string;
16
+ }
17
+ declare const Tooltip: FC<TooltipProps>;
18
+
19
+ type AccordionProps = {
20
+ title: string;
21
+ children?: ReactNode;
22
+ icon?: keyof typeof Icons;
23
+ };
24
+ declare function Accordion({ title, children, icon }: AccordionProps): react_jsx_runtime.JSX.Element;
25
+
26
+ interface AccordionGroupProps {
27
+ children: ReactNode;
28
+ className?: string;
29
+ }
30
+ declare function AccordionGroup({ children, className }: AccordionGroupProps): react_jsx_runtime.JSX.Element;
31
+
32
+ interface FileProps {
33
+ name: string;
34
+ children?: ReactNode;
35
+ }
36
+ declare function Files({ children }: {
37
+ children: ReactNode;
38
+ }): react_jsx_runtime.JSX.Element;
39
+ declare function Folder({ name, children }: FileProps): react_jsx_runtime.JSX.Element;
40
+ declare function File({ name }: FileProps): react_jsx_runtime.JSX.Element;
41
+
42
+ type PreProps = ComponentProps<"pre"> & {
43
+ raw?: string;
44
+ "data-title"?: string;
45
+ };
46
+ declare function Pre({ children, raw, ...rest }: PreProps): react_jsx_runtime.JSX.Element;
47
+
48
+ declare function Copy({ content }: {
49
+ content: string;
50
+ }): react_jsx_runtime.JSX.Element;
51
+
52
+ declare function createCoreMdxComponents(): {
53
+ Accordion: typeof Accordion;
54
+ AccordionGroup: typeof AccordionGroup;
55
+ Button: typeof Button;
56
+ Card: typeof Card;
57
+ CardGroup: typeof CardGroup;
58
+ Kbd: typeof Kbd;
59
+ kbd: typeof Kbd;
60
+ pre: typeof Pre;
61
+ Note: typeof Note;
62
+ Stepper: typeof Stepper;
63
+ StepperItem: typeof StepperItem;
64
+ Youtube: React.FC<YoutubeProps>;
65
+ Tooltip: React.FC<TooltipProps>;
66
+ Release: typeof Release;
67
+ Changes: typeof Changes;
68
+ File: typeof File;
69
+ Files: typeof Files;
70
+ Folder: typeof Folder;
71
+ img: typeof Image;
72
+ a: typeof Link;
73
+ };
74
+
75
+ export { Accordion, AccordionGroup, Button, Card, CardGroup, Changes, Copy, File, Files, Folder, Image, Kbd, Link, Note, Pre, Release, Stepper, StepperItem, Tooltip, createCoreMdxComponents };