@docubook/mdx-content 3.2.0 → 3.2.2
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/__test__/CodeBlockMdx.test.js +30 -12
- package/dist/__test__/CodeBlockMdx.test.js.map +1 -1
- package/dist/adapters/next/ButtonMdx.d.ts +1 -1
- package/dist/adapters/next/ButtonMdx.d.ts.map +1 -1
- package/dist/adapters/next/CardMdx.d.ts +1 -1
- package/dist/adapters/next/CardMdx.d.ts.map +1 -1
- package/dist/adapters/next/ImageMdx.d.ts +1 -1
- package/dist/adapters/next/ImageMdx.d.ts.map +1 -1
- package/dist/adapters/next/LinkMdx.d.ts +1 -1
- package/dist/adapters/next/LinkMdx.d.ts.map +1 -1
- package/dist/components/AccordionMdx.d.ts +1 -1
- package/dist/components/AccordionMdx.d.ts.map +1 -1
- package/dist/components/AccordionsMdx.d.ts +1 -1
- package/dist/components/AccordionsMdx.d.ts.map +1 -1
- package/dist/components/ButtonMdx.d.ts +1 -1
- package/dist/components/ButtonMdx.d.ts.map +1 -1
- package/dist/components/CardMdx.d.ts +1 -1
- package/dist/components/CardMdx.d.ts.map +1 -1
- package/dist/components/CardsMdx.d.ts +1 -1
- package/dist/components/CardsMdx.d.ts.map +1 -1
- package/dist/components/CodeBlockMdx.d.ts +1 -1
- package/dist/components/CodeBlockMdx.d.ts.map +1 -1
- package/dist/components/FileTreeMdx.d.ts +4 -4
- package/dist/components/FileTreeMdx.d.ts.map +1 -1
- package/dist/components/ImageMdx.d.ts +1 -1
- package/dist/components/ImageMdx.d.ts.map +1 -1
- package/dist/components/KbdMdx.d.ts +1 -1
- package/dist/components/KbdMdx.d.ts.map +1 -1
- package/dist/components/LinkMdx.d.ts +1 -1
- package/dist/components/LinkMdx.d.ts.map +1 -1
- package/dist/components/NoteMdx.d.ts +1 -1
- package/dist/components/NoteMdx.d.ts.map +1 -1
- package/dist/components/ReleaseMdx.d.ts +2 -2
- package/dist/components/ReleaseMdx.d.ts.map +1 -1
- package/dist/components/StepperMdx.d.ts +2 -2
- package/dist/components/StepperMdx.d.ts.map +1 -1
- package/dist/components/TableMdx.d.ts +7 -7
- package/dist/components/TableMdx.d.ts.map +1 -1
- package/dist/components/TabsMdx.d.ts +2 -2
- package/dist/components/TabsMdx.d.ts.map +1 -1
- package/dist/components/TooltipMdx.d.ts +1 -1
- package/dist/components/TooltipMdx.d.ts.map +1 -1
- package/dist/components/YoutubeMdx.d.ts +1 -1
- package/dist/components/YoutubeMdx.d.ts.map +1 -1
- package/dist/utils/CopyButton.d.ts +1 -1
- package/dist/utils/CopyButton.d.ts.map +1 -1
- package/dist/utils/ExpandableCode.d.ts +1 -1
- package/dist/utils/ExpandableCode.d.ts.map +1 -1
- package/package.json +14 -15
|
@@ -1,29 +1,47 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { describe, it, expect } from "vitest";
|
|
3
|
-
import { render } from "@testing-library/react";
|
|
2
|
+
import { describe, it, expect, afterEach } from "vitest";
|
|
3
|
+
import { render, cleanup, act } from "@testing-library/react";
|
|
4
4
|
import { CodeBlock } from "../components/CodeBlockMdx";
|
|
5
|
+
afterEach(() => {
|
|
6
|
+
cleanup();
|
|
7
|
+
});
|
|
5
8
|
describe("CodeBlock", () => {
|
|
6
|
-
it("renders with raw code and language", () => {
|
|
7
|
-
|
|
9
|
+
it("renders with raw code and language", async () => {
|
|
10
|
+
let container;
|
|
11
|
+
await act(async () => {
|
|
12
|
+
({ container } = render(_jsx(CodeBlock, { raw: "const x = 1;", "data-language": "typescript", "data-title": "example.ts", children: _jsx("code", { className: "language-typescript", children: "const x = 1;" }) })));
|
|
13
|
+
});
|
|
8
14
|
expect(container.querySelector(".code-block-container")).not.toBeNull();
|
|
9
15
|
expect(container.textContent).toContain("const x = 1;");
|
|
10
16
|
expect(container.textContent).toContain("example.ts");
|
|
11
17
|
});
|
|
12
|
-
it("renders without raw (no copy button)", () => {
|
|
13
|
-
|
|
18
|
+
it("renders without raw (no copy button)", async () => {
|
|
19
|
+
let container;
|
|
20
|
+
await act(async () => {
|
|
21
|
+
({ container } = render(_jsx(CodeBlock, { children: _jsx("code", { children: "hello" }) })));
|
|
22
|
+
});
|
|
14
23
|
expect(container.querySelector(".code-block-container")).not.toBeNull();
|
|
15
24
|
});
|
|
16
|
-
it("renders with expandable props", () => {
|
|
25
|
+
it("renders with expandable props", async () => {
|
|
17
26
|
const lines = Array.from({ length: 30 }, (_, i) => `line ${i}`).join("\n");
|
|
18
|
-
|
|
27
|
+
let container;
|
|
28
|
+
await act(async () => {
|
|
29
|
+
({ container } = render(_jsx(CodeBlock, { raw: lines, "data-expandable": "true", "data-expandable-lines": "30", children: _jsx("code", { children: lines }) })));
|
|
30
|
+
});
|
|
19
31
|
expect(container.querySelector(".code-block-container")).not.toBeNull();
|
|
20
32
|
});
|
|
21
|
-
it("resolves language from className", () => {
|
|
22
|
-
|
|
33
|
+
it("resolves language from className", async () => {
|
|
34
|
+
let container;
|
|
35
|
+
await act(async () => {
|
|
36
|
+
({ container } = render(_jsx(CodeBlock, { className: "language-python", raw: "print('hi')", children: _jsx("code", { children: "print('hi')" }) })));
|
|
37
|
+
});
|
|
23
38
|
expect(container.textContent).toContain("python");
|
|
24
39
|
});
|
|
25
|
-
it("does not crash with no children", () => {
|
|
26
|
-
|
|
40
|
+
it("does not crash with no children", async () => {
|
|
41
|
+
let container;
|
|
42
|
+
await act(async () => {
|
|
43
|
+
({ container } = render(_jsx(CodeBlock, { raw: "x" })));
|
|
44
|
+
});
|
|
27
45
|
expect(container.querySelector(".code-block-container")).not.toBeNull();
|
|
28
46
|
});
|
|
29
47
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlockMdx.test.js","sourceRoot":"","sources":["../../src/__test__/CodeBlockMdx.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"CodeBlockMdx.test.js","sourceRoot":"","sources":["../../src/__test__/CodeBlockMdx.test.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ButtonMdxProps as CoreButtonMdxProps } from "../../components/ButtonMdx";
|
|
2
2
|
export type ButtonMdxProps = Omit<CoreButtonMdxProps, "__LinkComponent">;
|
|
3
|
-
export declare function ButtonMdx(props: ButtonMdxProps): import("react
|
|
3
|
+
export declare function ButtonMdx(props: ButtonMdxProps): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=ButtonMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonMdx.d.ts","sourceRoot":"","sources":["../../../src/adapters/next/ButtonMdx.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAGvF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAC;AAEzE,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc
|
|
1
|
+
{"version":3,"file":"ButtonMdx.d.ts","sourceRoot":"","sources":["../../../src/adapters/next/ButtonMdx.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAGvF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAC;AAEzE,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,+BAE9C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { CardMdxProps as CoreCardMdxProps } from "../../components/CardMdx";
|
|
2
2
|
export type CardMdxProps = Omit<CoreCardMdxProps, "__LinkComponent">;
|
|
3
|
-
export declare function CardMdx(props: CardMdxProps): import("react
|
|
3
|
+
export declare function CardMdx(props: CardMdxProps): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=CardMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardMdx.d.ts","sourceRoot":"","sources":["../../../src/adapters/next/CardMdx.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAGjF,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;AAErE,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"CardMdx.d.ts","sourceRoot":"","sources":["../../../src/adapters/next/CardMdx.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAGjF,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;AAErE,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,+BAE1C"}
|
|
@@ -4,5 +4,5 @@ import { type ImageMdxProps as CoreImageMdxProps } from "../../components/ImageM
|
|
|
4
4
|
export type ImageMdxProps = Omit<CoreImageMdxProps, "src"> & {
|
|
5
5
|
src?: ComponentProps<typeof NextImage>["src"];
|
|
6
6
|
};
|
|
7
|
-
export declare function ImageMdx(props: ImageMdxProps): import("react
|
|
7
|
+
export declare function ImageMdx(props: ImageMdxProps): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=ImageMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageMdx.d.ts","sourceRoot":"","sources":["../../../src/adapters/next/ImageMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAA4B,KAAK,aAAa,IAAI,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9G,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC,GAAG;IACzD,GAAG,CAAC,EAAE,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC;CACjD,CAAC;AAEF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"ImageMdx.d.ts","sourceRoot":"","sources":["../../../src/adapters/next/ImageMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAA4B,KAAK,aAAa,IAAI,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9G,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,iBAAiB,EAAE,KAAK,CAAC,GAAG;IACzD,GAAG,CAAC,EAAE,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC,KAAK,CAAC,CAAC;CACjD,CAAC;AAEF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,+BAE5C"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LinkMdxProps } from "../../components/LinkMdx";
|
|
2
|
-
export declare function LinkMdx({ href, rel, target, ...props }: LinkMdxProps): import("react
|
|
2
|
+
export declare function LinkMdx({ href, rel, target, ...props }: LinkMdxProps): import("react").JSX.Element | null;
|
|
3
3
|
//# sourceMappingURL=LinkMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkMdx.d.ts","sourceRoot":"","sources":["../../../src/adapters/next/LinkMdx.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"LinkMdx.d.ts","sourceRoot":"","sources":["../../../src/adapters/next/LinkMdx.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,sCAQpE"}
|
|
@@ -6,6 +6,6 @@ type AccordionMdxProps = {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
};
|
|
9
|
-
export declare function AccordionMdx({ title, icon, className, children }: AccordionMdxProps): import("react
|
|
9
|
+
export declare function AccordionMdx({ title, icon, className, children }: AccordionMdxProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=AccordionMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionMdx.d.ts","sourceRoot":"","sources":["../../src/components/AccordionMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExF,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAC;AAG5D,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,iBAAiB
|
|
1
|
+
{"version":3,"file":"AccordionMdx.d.ts","sourceRoot":"","sources":["../../src/components/AccordionMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExF,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAC;AAG5D,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAuGnF"}
|
|
@@ -2,6 +2,6 @@ import { type ReactNode } from "react";
|
|
|
2
2
|
type AccordionsMdxProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
export declare function AccordionsMdx({ children }: AccordionsMdxProps): import("react
|
|
5
|
+
export declare function AccordionsMdx({ children }: AccordionsMdxProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=AccordionsMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionsMdx.d.ts","sourceRoot":"","sources":["../../src/components/AccordionsMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1D,KAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"AccordionsMdx.d.ts","sourceRoot":"","sources":["../../src/components/AccordionsMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1D,KAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,+BAmB7D"}
|
|
@@ -12,6 +12,6 @@ export type ButtonMdxProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
12
12
|
/** Internal adapter hook: inject framework link component without duplicating styles. */
|
|
13
13
|
__LinkComponent?: LinkRenderer;
|
|
14
14
|
};
|
|
15
|
-
export declare function ButtonMdx({ href, variant, size, icon, text, style, children, target, __LinkComponent, ...props }: ButtonMdxProps): import("react
|
|
15
|
+
export declare function ButtonMdx({ href, variant, size, icon, text, style, children, target, __LinkComponent, ...props }: ButtonMdxProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=ButtonMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonMdx.d.ts","sourceRoot":"","sources":["../../src/components/ButtonMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAiB,MAAM,OAAO,CAAC;AAEhF,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,KAAK,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC,CAAC;AAEhD,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAC;IAC5C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yFAAyF;IACzF,eAAe,CAAC,EAAE,YAAY,CAAC;CAChC,CAAC;AA0CF,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,OAAO,EACP,IAAW,EACX,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,MAAM,EACN,eAAe,EACf,GAAG,KAAK,EACT,EAAE,cAAc
|
|
1
|
+
{"version":3,"file":"ButtonMdx.d.ts","sourceRoot":"","sources":["../../src/components/ButtonMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAiB,MAAM,OAAO,CAAC;AAEhF,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,KAAK,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC,CAAC;AAEhD,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAC;IAC5C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yFAAyF;IACzF,eAAe,CAAC,EAAE,YAAY,CAAC;CAChC,CAAC;AA0CF,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,OAAO,EACP,IAAW,EACX,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,MAAM,EACN,eAAe,EACf,GAAG,KAAK,EACT,EAAE,cAAc,+BAqChB"}
|
|
@@ -12,6 +12,6 @@ export type CardMdxProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
12
12
|
/** Internal adapter hook: inject framework link component without duplicating styles. */
|
|
13
13
|
__LinkComponent?: LinkRenderer;
|
|
14
14
|
};
|
|
15
|
-
export declare function CardMdx({ title, icon, href, horizontal, children, style, className, __LinkComponent, ...props }: CardMdxProps): import("react
|
|
15
|
+
export declare function CardMdx({ title, icon, href, horizontal, children, style, className, __LinkComponent, ...props }: CardMdxProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=CardMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardMdx.d.ts","sourceRoot":"","sources":["../../src/components/CardMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErF,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,KAAK,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,yFAAyF;IACzF,eAAe,CAAC,EAAE,YAAY,CAAC;CAChC,CAAC;AAiBF,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,KAAK,EACL,SAAS,EACT,eAAe,EACf,GAAG,KAAK,EACT,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"CardMdx.d.ts","sourceRoot":"","sources":["../../src/components/CardMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErF,OAAO,EAAE,QAAQ,EAAqB,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,KAAK,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,yFAAyF;IACzF,eAAe,CAAC,EAAE,YAAY,CAAC;CAChC,CAAC;AAiBF,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,KAAK,EACL,SAAS,EACT,eAAe,EACf,GAAG,KAAK,EACT,EAAE,YAAY,+BAgFd"}
|
|
@@ -4,6 +4,6 @@ type CardsMdxProps = {
|
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
};
|
|
7
|
-
export declare function CardsMdx({ cols, children, style }: CardsMdxProps): import("react
|
|
7
|
+
export declare function CardsMdx({ cols, children, style }: CardsMdxProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=CardsMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardsMdx.d.ts","sourceRoot":"","sources":["../../src/components/CardsMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EAAE,IAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"CardsMdx.d.ts","sourceRoot":"","sources":["../../src/components/CardsMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EAAE,IAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,aAAa,+BAgBpE"}
|
|
@@ -6,6 +6,6 @@ type CodeBlockProps = ComponentProps<"pre"> & {
|
|
|
6
6
|
"data-expandable"?: string;
|
|
7
7
|
"data-expandable-lines"?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare function CodeBlock({ children, raw, ...rest }: CodeBlockProps): import("react
|
|
9
|
+
export declare function CodeBlock({ children, raw, ...rest }: CodeBlockProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=CodeBlockMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlockMdx.d.ts","sourceRoot":"","sources":["../../src/components/CodeBlockMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAkB,MAAM,OAAO,CAAC;AA6B5E,KAAK,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAuFF,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc
|
|
1
|
+
{"version":3,"file":"CodeBlockMdx.d.ts","sourceRoot":"","sources":["../../src/components/CodeBlockMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,cAAc,EAAkB,MAAM,OAAO,CAAC;AA6B5E,KAAK,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAuFF,wBAAgB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,cAAc,+BA2GnE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CSSProperties, type HTMLAttributes, type ReactNode } from "react";
|
|
1
|
+
import React, { type CSSProperties, type HTMLAttributes, type ReactNode } from "react";
|
|
2
2
|
type FilesMdxProps = HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
style?: CSSProperties;
|
|
@@ -12,8 +12,8 @@ type FileMdxProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
12
12
|
name: string;
|
|
13
13
|
style?: CSSProperties;
|
|
14
14
|
};
|
|
15
|
-
export declare function FilesMdx({ children, style, className, ...props }: FilesMdxProps):
|
|
16
|
-
export declare function FolderMdx({ name, children, style, className, ...props }: FolderMdxProps):
|
|
17
|
-
export declare function FileMdx({ name, style, className, ...props }: FileMdxProps):
|
|
15
|
+
export declare function FilesMdx({ children, style, className, ...props }: FilesMdxProps): React.JSX.Element;
|
|
16
|
+
export declare function FolderMdx({ name, children, style, className, ...props }: FolderMdxProps): React.JSX.Element;
|
|
17
|
+
export declare function FileMdx({ name, style, className, ...props }: FileMdxProps): React.JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=FileTreeMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileTreeMdx.d.ts","sourceRoot":"","sources":["../../src/components/FileTreeMdx.tsx"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"FileTreeMdx.d.ts","sourceRoot":"","sources":["../../src/components/FileTreeMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAGZ,KAAK,aAAa,EAClB,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,KAAK,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AACF,KAAK,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AACF,KAAK,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,aAAa,CAAA;CAAE,CAAC;AAE7F,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,qBAqB/E;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,qBAyHvF;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,qBA2DzE"}
|
|
@@ -4,5 +4,5 @@ export type ImageMdxProps = Omit<ComponentProps<"img">, "src"> & {
|
|
|
4
4
|
zoom?: boolean;
|
|
5
5
|
ImageComponent?: ComponentType<any>;
|
|
6
6
|
};
|
|
7
|
-
export declare function ImageMdx({ src, alt, width, height, zoom, style, ImageComponent, ...props }: ImageMdxProps): import("react
|
|
7
|
+
export declare function ImageMdx({ src, alt, width, height, zoom, style, ImageComponent, ...props }: ImageMdxProps): import("react").JSX.Element | null;
|
|
8
8
|
//# sourceMappingURL=ImageMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageMdx.d.ts","sourceRoot":"","sources":["../../src/components/ImageMdx.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAsC,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpG,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG;IAC7D,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CACvC,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACrB,GAAG,EACH,GAAa,EACb,KAAW,EACX,MAAY,EACZ,IAAW,EACX,KAAK,EACL,cAAc,EACd,GAAG,KAAK,EACX,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"ImageMdx.d.ts","sourceRoot":"","sources":["../../src/components/ImageMdx.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAsC,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpG,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG;IAC7D,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CACvC,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EACrB,GAAG,EACH,GAAa,EACb,KAAW,EACX,MAAY,EACZ,IAAW,EACX,KAAK,EACL,cAAc,EACd,GAAG,KAAK,EACX,EAAE,aAAa,sCAsKf"}
|
|
@@ -4,6 +4,6 @@ type KeyboardMdxProps = {
|
|
|
4
4
|
type?: "window" | "mac";
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
};
|
|
7
|
-
export declare function KbdMdx({ show, type, style }: KeyboardMdxProps): import("react
|
|
7
|
+
export declare function KbdMdx({ show, type, style }: KeyboardMdxProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=KbdMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KbdMdx.d.ts","sourceRoot":"","sources":["../../src/components/KbdMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAyEF,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,IAAe,EAAE,KAAK,EAAE,EAAE,gBAAgB
|
|
1
|
+
{"version":3,"file":"KbdMdx.d.ts","sourceRoot":"","sources":["../../src/components/KbdMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAyEF,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,IAAe,EAAE,KAAK,EAAE,EAAE,gBAAgB,+BAKxE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ComponentProps } from "react";
|
|
2
2
|
export type LinkMdxProps = ComponentProps<"a">;
|
|
3
|
-
export declare function LinkMdx({ href, rel, target, ...props }: LinkMdxProps): import("react
|
|
3
|
+
export declare function LinkMdx({ href, rel, target, ...props }: LinkMdxProps): import("react").JSX.Element | null;
|
|
4
4
|
//# sourceMappingURL=LinkMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkMdx.d.ts","sourceRoot":"","sources":["../../src/components/LinkMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;AAE/C,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"LinkMdx.d.ts","sourceRoot":"","sources":["../../src/components/LinkMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;AAE/C,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,sCAQpE"}
|
|
@@ -8,6 +8,6 @@ type NoteMdxProps = HTMLAttributes<HTMLElement> & {
|
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
style?: CSSProperties;
|
|
10
10
|
};
|
|
11
|
-
export declare function NoteMdx({ type, title, icon, children, style, className, ...props }: NoteMdxProps): import("react
|
|
11
|
+
export declare function NoteMdx({ type, title, icon, children, style, className, ...props }: NoteMdxProps): import("react").JSX.Element | null;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=NoteMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoteMdx.d.ts","sourceRoot":"","sources":["../../src/components/NoteMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,QAAQ,EAA+B,MAAM,eAAe,CAAC;AAEtE,KAAK,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,CAAC;AAElE,KAAK,YAAY,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IAChD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAuDF,wBAAgB,OAAO,CAAC,EACtB,IAAa,EACb,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"NoteMdx.d.ts","sourceRoot":"","sources":["../../src/components/NoteMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,QAAQ,EAA+B,MAAM,eAAe,CAAC;AAEtE,KAAK,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,CAAC;AAElE,KAAK,YAAY,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IAChD,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAuDF,wBAAgB,OAAO,CAAC,EACtB,IAAa,EACb,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,sCAyDd"}
|
|
@@ -10,7 +10,7 @@ type ChangesMdxProps = {
|
|
|
10
10
|
type?: "added" | "changed" | "fixed" | "improved" | "deprecated" | "removed";
|
|
11
11
|
children?: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export declare function ReleaseMdx({ version, date, title, children, style }: ReleaseMdxProps): import("react
|
|
14
|
-
export declare function ChangesMdx({ type, children }: ChangesMdxProps): import("react
|
|
13
|
+
export declare function ReleaseMdx({ version, date, title, children, style }: ReleaseMdxProps): import("react").JSX.Element;
|
|
14
|
+
export declare function ChangesMdx({ type, children }: ChangesMdxProps): import("react").JSX.Element;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=ReleaseMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReleaseMdx.d.ts","sourceRoot":"","sources":["../../src/components/ReleaseMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWtD,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,KAAK,eAAe,GAAG;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;IAC7E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAaF,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"ReleaseMdx.d.ts","sourceRoot":"","sources":["../../src/components/ReleaseMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWtD,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,KAAK,eAAe,GAAG;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;IAC7E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAaF,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,eAAe,+BAoCpF;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAgB,EAAE,QAAQ,EAAE,EAAE,eAAe,+BAyBzE"}
|
|
@@ -11,7 +11,7 @@ type StepMdxProps = LiHTMLAttributes<HTMLLIElement> & {
|
|
|
11
11
|
type InternalStepProps = StepMdxProps & {
|
|
12
12
|
stepNumber?: number;
|
|
13
13
|
};
|
|
14
|
-
export declare function StepsMdx({ children, style, className, ...props }: StepsMdxProps): import("react
|
|
15
|
-
export declare function StepMdx({ title, children, style, className, ...props }: InternalStepProps): import("react
|
|
14
|
+
export declare function StepsMdx({ children, style, className, ...props }: StepsMdxProps): import("react").JSX.Element;
|
|
15
|
+
export declare function StepMdx({ title, children, style, className, ...props }: InternalStepProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=StepperMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepperMdx.d.ts","sourceRoot":"","sources":["../../src/components/StepperMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EAErB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,KAAK,aAAa,GAAG,cAAc,CAAC,gBAAgB,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,KAAK,YAAY,GAAG,gBAAgB,CAAC,aAAa,CAAC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAGF,KAAK,iBAAiB,GAAG,YAAY,GAAG;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"StepperMdx.d.ts","sourceRoot":"","sources":["../../src/components/StepperMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EAErB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,KAAK,aAAa,GAAG,cAAc,CAAC,gBAAgB,CAAC,GAAG;IACpD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,KAAK,YAAY,GAAG,gBAAgB,CAAC,aAAa,CAAC,GAAG;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAGF,KAAK,iBAAiB,GAAG,YAAY,GAAG;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BA6C/E;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAqEzF"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { HTMLAttributes, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from "react";
|
|
2
|
-
export declare function TableMdx({ style, ...props }: TableHTMLAttributes<HTMLTableElement>): import("react
|
|
3
|
-
export declare function TableHeaderMdx(props: HTMLAttributes<HTMLTableSectionElement>): import("react
|
|
4
|
-
export declare function TableBodyMdx(props: HTMLAttributes<HTMLTableSectionElement>): import("react
|
|
5
|
-
export declare function TableFooterMdx(props: HTMLAttributes<HTMLTableSectionElement>): import("react
|
|
6
|
-
export declare function TableRowMdx(props: HTMLAttributes<HTMLTableRowElement>): import("react
|
|
7
|
-
export declare function TableHeadMdx(props: ThHTMLAttributes<HTMLTableCellElement>): import("react
|
|
8
|
-
export declare function TableCellMdx(props: TdHTMLAttributes<HTMLTableCellElement>): import("react
|
|
2
|
+
export declare function TableMdx({ style, ...props }: TableHTMLAttributes<HTMLTableElement>): import("react").JSX.Element;
|
|
3
|
+
export declare function TableHeaderMdx(props: HTMLAttributes<HTMLTableSectionElement>): import("react").JSX.Element;
|
|
4
|
+
export declare function TableBodyMdx(props: HTMLAttributes<HTMLTableSectionElement>): import("react").JSX.Element;
|
|
5
|
+
export declare function TableFooterMdx(props: HTMLAttributes<HTMLTableSectionElement>): import("react").JSX.Element;
|
|
6
|
+
export declare function TableRowMdx(props: HTMLAttributes<HTMLTableRowElement>): import("react").JSX.Element;
|
|
7
|
+
export declare function TableHeadMdx(props: ThHTMLAttributes<HTMLTableCellElement>): import("react").JSX.Element;
|
|
8
|
+
export declare function TableCellMdx(props: TdHTMLAttributes<HTMLTableCellElement>): import("react").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=TableMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableMdx.d.ts","sourceRoot":"","sources":["../../src/components/TableMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,OAAO,CAAC;AAkBf,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,CAAC,gBAAgB,CAAC
|
|
1
|
+
{"version":3,"file":"TableMdx.d.ts","sourceRoot":"","sources":["../../src/components/TableMdx.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,OAAO,CAAC;AAkBf,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,+BAelF;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,uBAAuB,CAAC,+BAU5E;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc,CAAC,uBAAuB,CAAC,+BAE1E;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,uBAAuB,CAAC,+BAW5E;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,CAAC,mBAAmB,CAAC,+BAErE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,CAAC,oBAAoB,CAAC,+BAczE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,CAAC,oBAAoB,CAAC,+BAEzE"}
|
|
@@ -3,11 +3,11 @@ type TabMdxProps = {
|
|
|
3
3
|
title: string;
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
};
|
|
6
|
-
export declare function TabMdx({ children }: TabMdxProps): import("react
|
|
6
|
+
export declare function TabMdx({ children }: TabMdxProps): import("react").JSX.Element;
|
|
7
7
|
type TabsMdxProps = {
|
|
8
8
|
className?: string;
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
};
|
|
11
|
-
export declare function TabsMdx({ className, children }: TabsMdxProps): import("react
|
|
11
|
+
export declare function TabsMdx({ className, children }: TabsMdxProps): import("react").JSX.Element;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=TabsMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsMdx.d.ts","sourceRoot":"","sources":["../../src/components/TabsMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW
|
|
1
|
+
{"version":3,"file":"TabsMdx.d.ts","sourceRoot":"","sources":["../../src/components/TabsMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,EAAE,WAAW,+BAE/C;AAED,KAAK,YAAY,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAUF,wBAAgB,OAAO,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,YAAY,+BAiG5D"}
|
|
@@ -5,6 +5,6 @@ type TooltipMdxProps = HTMLAttributes<HTMLSpanElement> & {
|
|
|
5
5
|
side?: "top" | "bottom";
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
};
|
|
8
|
-
export declare function TooltipMdx({ text, tip, side, style, className, ...props }: TooltipMdxProps): import("react
|
|
8
|
+
export declare function TooltipMdx({ text, tip, side, style, className, ...props }: TooltipMdxProps): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=TooltipMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooltipMdx.d.ts","sourceRoot":"","sources":["../../src/components/TooltipMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmB,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjG,KAAK,eAAe,GAAG,cAAc,CAAC,eAAe,CAAC,GAAG;IACvD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,GAAG,EACH,IAAY,EACZ,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"TooltipMdx.d.ts","sourceRoot":"","sources":["../../src/components/TooltipMdx.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmB,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjG,KAAK,eAAe,GAAG,cAAc,CAAC,eAAe,CAAC,GAAG;IACvD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,GAAG,EACH,IAAY,EACZ,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,+BA+DjB"}
|
|
@@ -2,6 +2,6 @@ type YoutubeMdxProps = {
|
|
|
2
2
|
videoId: string;
|
|
3
3
|
title?: string;
|
|
4
4
|
};
|
|
5
|
-
export declare function YoutubeMdx({ videoId, title }: YoutubeMdxProps): import("react
|
|
5
|
+
export declare function YoutubeMdx({ videoId, title }: YoutubeMdxProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=YoutubeMdx.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YoutubeMdx.d.ts","sourceRoot":"","sources":["../../src/components/YoutubeMdx.tsx"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,KAAuB,EAAE,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"YoutubeMdx.d.ts","sourceRoot":"","sources":["../../src/components/YoutubeMdx.tsx"],"names":[],"mappings":"AAAA,KAAK,eAAe,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,KAAuB,EAAE,EAAE,eAAe,+BAkC/E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type CopyButtonProps = {
|
|
2
2
|
content: string;
|
|
3
3
|
};
|
|
4
|
-
export declare function CopyButton({ content }: CopyButtonProps): import("react
|
|
4
|
+
export declare function CopyButton({ content }: CopyButtonProps): import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=CopyButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../src/utils/CopyButton.tsx"],"names":[],"mappings":"AAIA,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../src/utils/CopyButton.tsx"],"names":[],"mappings":"AAIA,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,eAAe,+BAqDtD"}
|
|
@@ -6,6 +6,6 @@ type ExpandableCodeProps = {
|
|
|
6
6
|
preProps: Record<string, unknown>;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare function ExpandableCode({ isExpandable, totalLines, preContent, preProps, className, }: ExpandableCodeProps): import("react
|
|
9
|
+
export declare function ExpandableCode({ isExpandable, totalLines, preContent, preProps, className, }: ExpandableCodeProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=ExpandableCode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandableCode.d.ts","sourceRoot":"","sources":["../../src/utils/ExpandableCode.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,SAAS,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAKF,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,UAAU,EACV,UAAU,EACV,QAAQ,EACR,SAAS,GACV,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"ExpandableCode.d.ts","sourceRoot":"","sources":["../../src/utils/ExpandableCode.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,SAAS,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAKF,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,UAAU,EACV,UAAU,EACV,QAAQ,EACR,SAAS,GACV,EAAE,mBAAmB,+BAkHrB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docubook/mdx-content",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Portable MDX components and framework adapters for DocuBook",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,13 +32,6 @@
|
|
|
32
32
|
"dist",
|
|
33
33
|
"styles.css"
|
|
34
34
|
],
|
|
35
|
-
"scripts": {
|
|
36
|
-
"build": "rm -rf dist tsconfig.tsbuildinfo && tsc -p tsconfig.json",
|
|
37
|
-
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
38
|
-
"test": "vitest run",
|
|
39
|
-
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
40
|
-
"prepublishOnly": "pnpm run clean && pnpm run build"
|
|
41
|
-
},
|
|
42
35
|
"keywords": [
|
|
43
36
|
"docubook",
|
|
44
37
|
"mdx",
|
|
@@ -58,11 +51,11 @@
|
|
|
58
51
|
"author-url": "https://wildan.dev",
|
|
59
52
|
"license": "MIT",
|
|
60
53
|
"peerDependencies": {
|
|
61
|
-
"@docubook/core": ">=1.6.0",
|
|
62
54
|
"lucide-react": "^1.7.0",
|
|
63
55
|
"react": ">=18",
|
|
64
56
|
"react-dom": ">=18",
|
|
65
|
-
"react-icons": "^5.0.0"
|
|
57
|
+
"react-icons": "^5.0.0",
|
|
58
|
+
"@docubook/core": "^1.7.2"
|
|
66
59
|
},
|
|
67
60
|
"peerDependenciesMeta": {
|
|
68
61
|
"next": {
|
|
@@ -72,13 +65,19 @@
|
|
|
72
65
|
"devDependencies": {
|
|
73
66
|
"@testing-library/jest-dom": "^6.9.1",
|
|
74
67
|
"@testing-library/react": "^16.3.2",
|
|
75
|
-
"@types/react": "19.2.
|
|
68
|
+
"@types/react": "19.2.17",
|
|
76
69
|
"@types/react-dom": "19.2.3",
|
|
77
70
|
"jsdom": "^29.1.1",
|
|
78
71
|
"lucide-react": "^1.7.0",
|
|
79
|
-
"react": "
|
|
80
|
-
"react-dom": "
|
|
72
|
+
"react": "^19.2.7",
|
|
73
|
+
"react-dom": "^19.2.7",
|
|
81
74
|
"react-icons": "^5.0.0",
|
|
82
|
-
"typescript": "^
|
|
75
|
+
"typescript": "^6.0.3"
|
|
76
|
+
},
|
|
77
|
+
"scripts": {
|
|
78
|
+
"build": "rm -rf dist tsconfig.tsbuildinfo && tsc -p tsconfig.json",
|
|
79
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
80
|
+
"test": "vitest run",
|
|
81
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
83
82
|
}
|
|
84
|
-
}
|
|
83
|
+
}
|