boltdocs 2.7.10 → 2.8.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.
- package/README.md +2 -2
- package/dist/banner-3N4Jd_L9.d.ts +100 -0
- package/dist/banner-MynZD_Ox.d.cts +100 -0
- package/dist/cache-BMUyNiiA.mjs +6 -0
- package/dist/cache-CKm45d2w.cjs +6 -0
- package/dist/client/index.cjs +2268 -1
- package/dist/client/index.d.cts +86 -110
- package/dist/client/index.d.ts +87 -111
- package/dist/client/index.js +2214 -1
- package/dist/client/mdx.cjs +12 -1
- package/dist/client/mdx.d.cts +39 -93
- package/dist/client/mdx.d.ts +38 -93
- package/dist/client/mdx.js +7 -1
- package/dist/client/primitives.cjs +60 -1
- package/dist/client/primitives.d.cts +411 -347
- package/dist/client/primitives.d.ts +411 -347
- package/dist/client/primitives.js +20 -1
- package/dist/docs-layout-CwCq42Zt.cjs +1348 -0
- package/dist/docs-layout-Dn6S5g59.js +1167 -0
- package/dist/doctor-BArviV8X.cjs +28 -0
- package/dist/doctor-CgLA7_Uv.mjs +28 -0
- package/dist/{doctor-CrytFkqW.cjs → doctor-DyNUVe96.cjs} +1 -1
- package/dist/{routes-DP1vmWRj.cjs → doctor-aN_leTbh.mjs} +1 -1
- package/dist/{generator-ClVanhvi.mjs → generator-BHCrLU6h.mjs} +2 -2
- package/dist/{generator-CHqxiQhF.cjs → generator-CC2yHzhZ.cjs} +2 -2
- package/dist/icons-dev-DvJ-hh9x.cjs +1209 -0
- package/dist/icons-dev-Oju24Wjp.js +845 -0
- package/dist/image-Ch4-GxdO.cjs +268 -0
- package/dist/image-Do8V9PCW.js +214 -0
- package/dist/mdx-D3A2_l7P.js +520 -0
- package/dist/mdx-PLhhPJRS.cjs +531 -0
- package/dist/node/cli-entry.cjs +3 -1
- package/dist/node/cli-entry.mjs +3 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +258 -152
- package/dist/node/index.d.mts +258 -150
- package/dist/node/index.mjs +1 -1
- package/dist/node/routes/worker.cjs +1 -1
- package/dist/node/routes/worker.mjs +1 -1
- package/dist/node-BmlP0eBP.cjs +159 -0
- package/dist/node-Y8_4ayje.mjs +159 -0
- package/dist/package-2nFy_NsW.cjs +6 -0
- package/dist/{package--0Yf0t1N.mjs → package-DAbtltXX.mjs} +1 -1
- package/dist/parser-B7-6PyQz.cjs +6 -0
- package/dist/{parser-Aq8LoH-0.cjs → parser-BzB-zCkF.cjs} +1 -1
- package/dist/parser-WGZdWs0X.mjs +6 -0
- package/dist/routes-BDDSxAl0.mjs +6 -0
- package/dist/routes-DJNJ-rTt.cjs +6 -0
- package/dist/routes-DiYC4nD2.cjs +6 -0
- package/dist/routes-_Bb2f4eI.mjs +6 -0
- package/dist/search-dialog-BXVoecTx.cjs +483 -0
- package/dist/search-dialog-BYhOov4S.cjs +331 -0
- package/dist/search-dialog-C09riYmx.js +313 -0
- package/dist/search-dialog-CUeAfy-8.cjs +8 -0
- package/dist/search-dialog-D8gLkhUV.js +453 -0
- package/dist/search-dialog-DHc_8FFX.js +8 -0
- package/dist/{sidebar-CcBkrm06.d.cts → sidebar-DNq4_ZAa.d.ts} +118 -52
- package/dist/{sidebar-CyZS9YOm.d.ts → sidebar-Dlkgbxs6.d.cts} +118 -52
- package/dist/utils-BYITg7T5.mjs +7 -0
- package/dist/utils-Cjmx1hhk.cjs +7 -0
- package/dist/worker-pool-CtqklOXq.cjs +6 -0
- package/dist/worker-pool-k0DY6k8T.mjs +6 -0
- package/package.json +5 -6
- package/src/shared/config-utils.ts +4 -0
- package/src/shared/types.ts +52 -6
- package/dist/cache-Ba-DZQNH.cjs +0 -6
- package/dist/cache-BuMZ58L5.mjs +0 -6
- package/dist/cards-BakZPTz9.d.ts +0 -30
- package/dist/cards-CQn9mXZS.d.cts +0 -30
- package/dist/docs-layout-KoWNZc8_.js +0 -6
- package/dist/docs-layout-x2yKt2cL.cjs +0 -6
- package/dist/doctor-Be7Ly1oM.mjs +0 -21
- package/dist/doctor-jMxWZyLJ.cjs +0 -21
- package/dist/icons-dev-B_RZIyxu.js +0 -6
- package/dist/icons-dev-BlV3wWFT.cjs +0 -6
- package/dist/image-BHhTvQzr.cjs +0 -6
- package/dist/image-CqKzYD8f.js +0 -6
- package/dist/mdx-DudBEac0.js +0 -7
- package/dist/mdx-r4cDQxWu.cjs +0 -7
- package/dist/node-DtEDyN1u.cjs +0 -111
- package/dist/node-_1jhMGYx.mjs +0 -111
- package/dist/package-DrwtlXfk.cjs +0 -6
- package/dist/parser-CdNbqN5y.cjs +0 -6
- package/dist/parser-nE792MLO.mjs +0 -6
- package/dist/rolldown-runtime-fkIsjY3S.mjs +0 -6
- package/dist/routes-2k3tbUmC.cjs +0 -6
- package/dist/routes-CpxZIsMM.mjs +0 -6
- package/dist/search-dialog-B584t9ZF.js +0 -6
- package/dist/search-dialog-BvBopRsZ.cjs +0 -6
- package/dist/search-dialog-ByvGScjt.js +0 -6
- package/dist/search-dialog-Cyko6TJm.cjs +0 -6
- package/dist/search-dialog-D6BNohIJ.js +0 -6
- package/dist/search-dialog-DuYTIefy.cjs +0 -6
- package/dist/utils-CG65J0Sc.mjs +0 -7
- package/dist/utils-CKunkU96.cjs +0 -7
- package/dist/worker-pool-CGn7DrLb.mjs +0 -6
- package/dist/worker-pool-Crbqgw5R.cjs +0 -6
- package/src/client/app/config-context.tsx +0 -51
- package/src/client/app/doc-page.tsx +0 -38
- package/src/client/app/docs-layout.tsx +0 -28
- package/src/client/app/head.tsx +0 -122
- package/src/client/app/helmet-compat.tsx +0 -36
- package/src/client/app/mdx-component.tsx +0 -8
- package/src/client/app/mdx-components-context.tsx +0 -72
- package/src/client/app/routes-context.tsx +0 -34
- package/src/client/app/scroll-handler.tsx +0 -74
- package/src/client/app/theme-context.tsx +0 -103
- package/src/client/app/ui-context.tsx +0 -42
- package/src/client/components/docs-layout-default.tsx +0 -85
- package/src/client/components/icons-dev.tsx +0 -282
- package/src/client/components/mdx/callout.tsx +0 -97
- package/src/client/components/mdx/card.tsx +0 -99
- package/src/client/components/mdx/cards.tsx +0 -27
- package/src/client/components/mdx/code-block.tsx +0 -184
- package/src/client/components/mdx/field.tsx +0 -33
- package/src/client/components/mdx/image.tsx +0 -44
- package/src/client/components/mdx/index.ts +0 -19
- package/src/client/components/mdx/table.tsx +0 -54
- package/src/client/components/mdx/typographics.tsx +0 -120
- package/src/client/components/mdx/use-code-block.ts +0 -34
- package/src/client/components/primitives/breadcrumbs.tsx +0 -54
- package/src/client/components/primitives/button-group.tsx +0 -54
- package/src/client/components/primitives/button.tsx +0 -6
- package/src/client/components/primitives/code-block.tsx +0 -120
- package/src/client/components/primitives/docs-layout.tsx +0 -125
- package/src/client/components/primitives/error-boundary.tsx +0 -107
- package/src/client/components/primitives/heading.tsx +0 -128
- package/src/client/components/primitives/helpers/observer.ts +0 -141
- package/src/client/components/primitives/image.tsx +0 -26
- package/src/client/components/primitives/link.tsx +0 -102
- package/src/client/components/primitives/menu.tsx +0 -137
- package/src/client/components/primitives/navbar.tsx +0 -466
- package/src/client/components/primitives/on-this-page.tsx +0 -430
- package/src/client/components/primitives/page-nav.tsx +0 -51
- package/src/client/components/primitives/popover.tsx +0 -28
- package/src/client/components/primitives/search-dialog.tsx +0 -193
- package/src/client/components/primitives/sidebar.tsx +0 -423
- package/src/client/components/primitives/skeleton.tsx +0 -26
- package/src/client/components/primitives/tabs.tsx +0 -70
- package/src/client/components/primitives/tooltip.tsx +0 -81
- package/src/client/components/primitives/types.ts +0 -11
- package/src/client/components/ui-base/banner.tsx +0 -66
- package/src/client/components/ui-base/breadcrumbs.tsx +0 -44
- package/src/client/components/ui-base/copy-markdown.tsx +0 -107
- package/src/client/components/ui-base/error-boundary.tsx +0 -15
- package/src/client/components/ui-base/github-stars.tsx +0 -29
- package/src/client/components/ui-base/icons.tsx +0 -240
- package/src/client/components/ui-base/index.ts +0 -16
- package/src/client/components/ui-base/last-updated.tsx +0 -27
- package/src/client/components/ui-base/navbar.tsx +0 -266
- package/src/client/components/ui-base/not-found.tsx +0 -26
- package/src/client/components/ui-base/on-this-page.tsx +0 -57
- package/src/client/components/ui-base/page-nav.tsx +0 -50
- package/src/client/components/ui-base/search-dialog.tsx +0 -163
- package/src/client/components/ui-base/search-highlight.tsx +0 -10
- package/src/client/components/ui-base/sidebar.tsx +0 -92
- package/src/client/components/ui-base/tabs.tsx +0 -83
- package/src/client/components/ui-base/theme-toggle.tsx +0 -130
- package/src/client/components/ui-base/version-i18n.tsx +0 -80
- package/src/client/hooks/index.ts +0 -13
- package/src/client/hooks/use-analytics.ts +0 -272
- package/src/client/hooks/use-breadcrumbs.ts +0 -22
- package/src/client/hooks/use-i18n.ts +0 -182
- package/src/client/hooks/use-localized-to.ts +0 -113
- package/src/client/hooks/use-location.ts +0 -5
- package/src/client/hooks/use-navbar.ts +0 -130
- package/src/client/hooks/use-page-nav.ts +0 -46
- package/src/client/hooks/use-routes.ts +0 -108
- package/src/client/hooks/use-search-highlight.ts +0 -185
- package/src/client/hooks/use-search.ts +0 -118
- package/src/client/hooks/use-sidebar.ts +0 -205
- package/src/client/hooks/use-tabs.ts +0 -46
- package/src/client/hooks/use-version.ts +0 -111
- package/src/client/index.ts +0 -31
- package/src/client/mdx.ts +0 -2
- package/src/client/primitives.ts +0 -19
- package/src/client/ssg/boltdocs-shell.tsx +0 -148
- package/src/client/ssg/create-routes.tsx +0 -473
- package/src/client/ssg/index.ts +0 -4
- package/src/client/ssg/mdx-page.tsx +0 -38
- package/src/client/store/boltdocs-context.tsx +0 -137
- package/src/client/theme/neutral.css +0 -141
- package/src/client/theme/reset.css +0 -189
- package/src/client/types.ts +0 -116
- package/src/client/utils/cn.ts +0 -6
- package/src/client/utils/copy-clipboard.ts +0 -22
- package/src/client/utils/get-base-file-path.ts +0 -21
- package/src/client/utils/github.ts +0 -121
- package/src/client/utils/i18n.ts +0 -23
- package/src/client/utils/path.ts +0 -9
- package/src/client/utils/react-to-text.ts +0 -34
- package/src/client/virtual.d.ts +0 -24
- /package/dist/{meta-loader-CWg2gnbY.mjs → meta-loader-DzwDFtdT.mjs} +0 -0
package/dist/client/mdx.cjs
CHANGED
|
@@ -3,4 +3,15 @@
|
|
|
3
3
|
* Copyright (c) 2026 Jesus Alcala
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
7
|
+
const require_mdx = require('../mdx-PLhhPJRS.cjs');
|
|
8
|
+
|
|
9
|
+
//#region src/client/mdx.ts
|
|
10
|
+
const { Card, Cards, Callout, Field, Image } = require_mdx.mdx_components_default;
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.Callout = Callout;
|
|
14
|
+
exports.Card = Card;
|
|
15
|
+
exports.Cards = Cards;
|
|
16
|
+
exports.Field = Field;
|
|
17
|
+
exports.Image = Image;
|
package/dist/client/mdx.d.cts
CHANGED
|
@@ -1,20 +1,31 @@
|
|
|
1
1
|
|
|
2
|
-
import { n as Card, t as Cards } from "../cards-CQn9mXZS.cjs";
|
|
3
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
3
|
|
|
5
|
-
//#region src/client/components/mdx/
|
|
6
|
-
interface
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
description?: string;
|
|
11
|
-
required?: boolean;
|
|
4
|
+
//#region src/client/components/mdx/card.d.ts
|
|
5
|
+
interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
title?: React.ReactNode;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
href?: string;
|
|
12
9
|
}
|
|
10
|
+
declare function Card$1({
|
|
11
|
+
className,
|
|
12
|
+
title,
|
|
13
|
+
icon,
|
|
14
|
+
href,
|
|
15
|
+
children,
|
|
16
|
+
...props
|
|
17
|
+
}: CardProps): _$react_jsx_runtime0.JSX.Element;
|
|
13
18
|
//#endregion
|
|
14
|
-
//#region src/client/components/mdx/
|
|
15
|
-
interface
|
|
16
|
-
|
|
19
|
+
//#region src/client/components/mdx/cards.d.ts
|
|
20
|
+
interface CardsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
+
cols?: 1 | 2 | 3 | 4;
|
|
17
22
|
}
|
|
23
|
+
declare function Cards$1({
|
|
24
|
+
children,
|
|
25
|
+
className,
|
|
26
|
+
cols,
|
|
27
|
+
...props
|
|
28
|
+
}: CardsProps): _$react_jsx_runtime0.JSX.Element;
|
|
18
29
|
//#endregion
|
|
19
30
|
//#region src/client/components/mdx/callout.d.ts
|
|
20
31
|
type CalloutVariant = 'note' | 'tip' | 'warning' | 'danger' | 'info';
|
|
@@ -22,7 +33,7 @@ interface CalloutProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
22
33
|
variant?: CalloutVariant;
|
|
23
34
|
title?: string;
|
|
24
35
|
}
|
|
25
|
-
declare function Callout({
|
|
36
|
+
declare function Callout$1({
|
|
26
37
|
children,
|
|
27
38
|
className,
|
|
28
39
|
variant,
|
|
@@ -30,43 +41,28 @@ declare function Callout({
|
|
|
30
41
|
...props
|
|
31
42
|
}: CalloutProps): _$react_jsx_runtime0.JSX.Element;
|
|
32
43
|
//#endregion
|
|
33
|
-
//#region src/client/components/mdx/
|
|
34
|
-
interface
|
|
44
|
+
//#region src/client/components/mdx/field.d.ts
|
|
45
|
+
interface FieldProps {
|
|
35
46
|
children?: React.ReactNode;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
47
|
+
name: string;
|
|
48
|
+
type?: string;
|
|
49
|
+
description?: string;
|
|
50
|
+
required?: boolean;
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/client/components/mdx/image.d.ts
|
|
54
|
+
interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
55
|
+
theme?: 'light' | 'dark';
|
|
45
56
|
}
|
|
46
|
-
declare function CodeBlock(props: CodeBlockProps): _$react_jsx_runtime0.JSX.Element;
|
|
47
57
|
//#endregion
|
|
48
|
-
//#region src/client/
|
|
49
|
-
declare const
|
|
50
|
-
pre: typeof CodeBlock;
|
|
51
|
-
Field: ({
|
|
58
|
+
//#region src/client/mdx.d.ts
|
|
59
|
+
declare const Card: typeof Card$1, Cards: typeof Cards$1, Callout: typeof Callout$1, Field: ({
|
|
52
60
|
children,
|
|
53
61
|
name,
|
|
54
62
|
type,
|
|
55
63
|
description,
|
|
56
64
|
required
|
|
57
|
-
}: FieldProps) => _$react_jsx_runtime0.JSX.Element
|
|
58
|
-
Callout: typeof Callout;
|
|
59
|
-
Card: typeof Card;
|
|
60
|
-
Cards: typeof Cards;
|
|
61
|
-
img: ({
|
|
62
|
-
src,
|
|
63
|
-
alt,
|
|
64
|
-
title,
|
|
65
|
-
theme,
|
|
66
|
-
className,
|
|
67
|
-
...props
|
|
68
|
-
}: ImageProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
69
|
-
Image: ({
|
|
65
|
+
}: FieldProps) => _$react_jsx_runtime0.JSX.Element, Image: ({
|
|
70
66
|
src,
|
|
71
67
|
alt,
|
|
72
68
|
title,
|
|
@@ -74,55 +70,5 @@ declare const mdx_components_default: {
|
|
|
74
70
|
className,
|
|
75
71
|
...props
|
|
76
72
|
}: ImageProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
tbody: (props: React.HTMLAttributes<HTMLTableSectionElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
80
|
-
tr: (props: React.HTMLAttributes<HTMLTableRowElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
81
|
-
th: (props: React.HTMLAttributes<HTMLTableCellElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
82
|
-
td: (props: React.HTMLAttributes<HTMLTableCellElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
83
|
-
a: ({
|
|
84
|
-
href,
|
|
85
|
-
children,
|
|
86
|
-
className,
|
|
87
|
-
...props
|
|
88
|
-
}: React.AnchorHTMLAttributes<HTMLAnchorElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
89
|
-
h1: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
90
|
-
h2: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
91
|
-
h3: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
92
|
-
h4: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
93
|
-
h5: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
94
|
-
h6: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
95
|
-
p: ({
|
|
96
|
-
className,
|
|
97
|
-
...props
|
|
98
|
-
}: React.HTMLAttributes<HTMLParagraphElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
99
|
-
strong: ({
|
|
100
|
-
className,
|
|
101
|
-
...props
|
|
102
|
-
}: React.HTMLAttributes<HTMLElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
103
|
-
mark: ({
|
|
104
|
-
className,
|
|
105
|
-
...props
|
|
106
|
-
}: React.HTMLAttributes<HTMLElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
107
|
-
blockquote: ({
|
|
108
|
-
className,
|
|
109
|
-
...props
|
|
110
|
-
}: React.HTMLAttributes<HTMLQuoteElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
111
|
-
hr: ({
|
|
112
|
-
className,
|
|
113
|
-
...props
|
|
114
|
-
}: React.HTMLAttributes<HTMLHRElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
115
|
-
ul: ({
|
|
116
|
-
className,
|
|
117
|
-
...props
|
|
118
|
-
}: React.HTMLAttributes<HTMLUListElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
119
|
-
ol: ({
|
|
120
|
-
className,
|
|
121
|
-
...props
|
|
122
|
-
}: React.HTMLAttributes<HTMLOListElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
123
|
-
li: ({
|
|
124
|
-
className,
|
|
125
|
-
...props
|
|
126
|
-
}: React.HTMLAttributes<HTMLLIElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
127
|
-
};
|
|
128
|
-
export = mdx_components_default;
|
|
73
|
+
//#endregion
|
|
74
|
+
export { Callout, Card, Cards, Field, Image };
|
package/dist/client/mdx.d.ts
CHANGED
|
@@ -1,20 +1,31 @@
|
|
|
1
1
|
|
|
2
|
-
import { n as Card, t as Cards } from "../cards-BakZPTz9.js";
|
|
3
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
3
|
|
|
5
|
-
//#region src/client/components/mdx/
|
|
6
|
-
interface
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
description?: string;
|
|
11
|
-
required?: boolean;
|
|
4
|
+
//#region src/client/components/mdx/card.d.ts
|
|
5
|
+
interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
title?: React.ReactNode;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
href?: string;
|
|
12
9
|
}
|
|
10
|
+
declare function Card$1({
|
|
11
|
+
className,
|
|
12
|
+
title,
|
|
13
|
+
icon,
|
|
14
|
+
href,
|
|
15
|
+
children,
|
|
16
|
+
...props
|
|
17
|
+
}: CardProps): _$react_jsx_runtime0.JSX.Element;
|
|
13
18
|
//#endregion
|
|
14
|
-
//#region src/client/components/mdx/
|
|
15
|
-
interface
|
|
16
|
-
|
|
19
|
+
//#region src/client/components/mdx/cards.d.ts
|
|
20
|
+
interface CardsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
21
|
+
cols?: 1 | 2 | 3 | 4;
|
|
17
22
|
}
|
|
23
|
+
declare function Cards$1({
|
|
24
|
+
children,
|
|
25
|
+
className,
|
|
26
|
+
cols,
|
|
27
|
+
...props
|
|
28
|
+
}: CardsProps): _$react_jsx_runtime0.JSX.Element;
|
|
18
29
|
//#endregion
|
|
19
30
|
//#region src/client/components/mdx/callout.d.ts
|
|
20
31
|
type CalloutVariant = 'note' | 'tip' | 'warning' | 'danger' | 'info';
|
|
@@ -22,7 +33,7 @@ interface CalloutProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
22
33
|
variant?: CalloutVariant;
|
|
23
34
|
title?: string;
|
|
24
35
|
}
|
|
25
|
-
declare function Callout({
|
|
36
|
+
declare function Callout$1({
|
|
26
37
|
children,
|
|
27
38
|
className,
|
|
28
39
|
variant,
|
|
@@ -30,43 +41,28 @@ declare function Callout({
|
|
|
30
41
|
...props
|
|
31
42
|
}: CalloutProps): _$react_jsx_runtime0.JSX.Element;
|
|
32
43
|
//#endregion
|
|
33
|
-
//#region src/client/components/mdx/
|
|
34
|
-
interface
|
|
44
|
+
//#region src/client/components/mdx/field.d.ts
|
|
45
|
+
interface FieldProps {
|
|
35
46
|
children?: React.ReactNode;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
highlightedHtml?: string;
|
|
41
|
-
'data-lang'?: string;
|
|
42
|
-
'data-title'?: string;
|
|
43
|
-
plain?: boolean;
|
|
44
|
-
[key: string]: any;
|
|
47
|
+
name: string;
|
|
48
|
+
type?: string;
|
|
49
|
+
description?: string;
|
|
50
|
+
required?: boolean;
|
|
45
51
|
}
|
|
46
|
-
declare function CodeBlock(props: CodeBlockProps): _$react_jsx_runtime0.JSX.Element;
|
|
47
52
|
//#endregion
|
|
48
|
-
//#region src/client/components/mdx/
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
//#region src/client/components/mdx/image.d.ts
|
|
54
|
+
interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
55
|
+
theme?: 'light' | 'dark';
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/client/mdx.d.ts
|
|
59
|
+
declare const Card: typeof Card$1, Cards: typeof Cards$1, Callout: typeof Callout$1, Field: ({
|
|
52
60
|
children,
|
|
53
61
|
name,
|
|
54
62
|
type,
|
|
55
63
|
description,
|
|
56
64
|
required
|
|
57
|
-
}: FieldProps) => _$react_jsx_runtime0.JSX.Element
|
|
58
|
-
Callout: typeof Callout;
|
|
59
|
-
Card: typeof Card;
|
|
60
|
-
Cards: typeof Cards;
|
|
61
|
-
img: ({
|
|
62
|
-
src,
|
|
63
|
-
alt,
|
|
64
|
-
title,
|
|
65
|
-
theme,
|
|
66
|
-
className,
|
|
67
|
-
...props
|
|
68
|
-
}: ImageProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
69
|
-
Image: ({
|
|
65
|
+
}: FieldProps) => _$react_jsx_runtime0.JSX.Element, Image: ({
|
|
70
66
|
src,
|
|
71
67
|
alt,
|
|
72
68
|
title,
|
|
@@ -74,56 +70,5 @@ declare const mdx_components_default: {
|
|
|
74
70
|
className,
|
|
75
71
|
...props
|
|
76
72
|
}: ImageProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
77
|
-
table: (props: React.HTMLAttributes<HTMLTableElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
78
|
-
thead: (props: React.HTMLAttributes<HTMLTableSectionElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
79
|
-
tbody: (props: React.HTMLAttributes<HTMLTableSectionElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
80
|
-
tr: (props: React.HTMLAttributes<HTMLTableRowElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
81
|
-
th: (props: React.HTMLAttributes<HTMLTableCellElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
82
|
-
td: (props: React.HTMLAttributes<HTMLTableCellElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
83
|
-
a: ({
|
|
84
|
-
href,
|
|
85
|
-
children,
|
|
86
|
-
className,
|
|
87
|
-
...props
|
|
88
|
-
}: React.AnchorHTMLAttributes<HTMLAnchorElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
89
|
-
h1: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
90
|
-
h2: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
91
|
-
h3: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
92
|
-
h4: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
93
|
-
h5: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
94
|
-
h6: (props: React.HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
95
|
-
p: ({
|
|
96
|
-
className,
|
|
97
|
-
...props
|
|
98
|
-
}: React.HTMLAttributes<HTMLParagraphElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
99
|
-
strong: ({
|
|
100
|
-
className,
|
|
101
|
-
...props
|
|
102
|
-
}: React.HTMLAttributes<HTMLElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
103
|
-
mark: ({
|
|
104
|
-
className,
|
|
105
|
-
...props
|
|
106
|
-
}: React.HTMLAttributes<HTMLElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
107
|
-
blockquote: ({
|
|
108
|
-
className,
|
|
109
|
-
...props
|
|
110
|
-
}: React.HTMLAttributes<HTMLQuoteElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
111
|
-
hr: ({
|
|
112
|
-
className,
|
|
113
|
-
...props
|
|
114
|
-
}: React.HTMLAttributes<HTMLHRElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
115
|
-
ul: ({
|
|
116
|
-
className,
|
|
117
|
-
...props
|
|
118
|
-
}: React.HTMLAttributes<HTMLUListElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
119
|
-
ol: ({
|
|
120
|
-
className,
|
|
121
|
-
...props
|
|
122
|
-
}: React.HTMLAttributes<HTMLOListElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
123
|
-
li: ({
|
|
124
|
-
className,
|
|
125
|
-
...props
|
|
126
|
-
}: React.HTMLAttributes<HTMLLIElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
127
|
-
};
|
|
128
73
|
//#endregion
|
|
129
|
-
export {
|
|
74
|
+
export { Callout, Card, Cards, Field, Image };
|
package/dist/client/mdx.js
CHANGED
|
@@ -3,4 +3,10 @@
|
|
|
3
3
|
* Copyright (c) 2026 Jesus Alcala
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import{t as
|
|
6
|
+
import { t as mdx_components_default } from "../mdx-D3A2_l7P.js";
|
|
7
|
+
|
|
8
|
+
//#region src/client/mdx.ts
|
|
9
|
+
const { Card, Cards, Callout, Field, Image } = mdx_components_default;
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Callout, Card, Cards, Field, Image };
|
|
@@ -3,4 +3,63 @@
|
|
|
3
3
|
* Copyright (c) 2026 Jesus Alcala
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value
|
|
6
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
7
|
+
const require_icons_dev = require('../icons-dev-DvJ-hh9x.cjs');
|
|
8
|
+
const require_image = require('../image-Ch4-GxdO.cjs');
|
|
9
|
+
const require_docs_layout = require('../docs-layout-CwCq42Zt.cjs');
|
|
10
|
+
const require_search_dialog = require('../search-dialog-BXVoecTx.cjs');
|
|
11
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
|
+
|
|
13
|
+
//#region src/client/components/primitives/skeleton.tsx
|
|
14
|
+
/**
|
|
15
|
+
* A flexible skeleton component that mimics the shape of content
|
|
16
|
+
* while it is loading. Features a smooth pulse animation.
|
|
17
|
+
*/
|
|
18
|
+
function Skeleton({ className, variant = "rect", ...props }) {
|
|
19
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
20
|
+
className: require_icons_dev.cn("animate-pulse bg-soft", variant === "circle" ? "rounded-full" : "rounded-md", className),
|
|
21
|
+
...props
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.AnchorProvider = require_docs_layout.AnchorProvider;
|
|
27
|
+
exports.Breadcrumbs = require_docs_layout.Breadcrumbs;
|
|
28
|
+
exports.Button = require_search_dialog.Button;
|
|
29
|
+
exports.ButtonGroup = require_docs_layout.ButtonGroup;
|
|
30
|
+
exports.CodeBlock = require_image.CodeBlock;
|
|
31
|
+
exports.CodeBlockContent = require_image.CodeBlockContent;
|
|
32
|
+
exports.CodeBlockGroup = require_image.CodeBlockGroup;
|
|
33
|
+
exports.CodeBlockHeader = require_image.CodeBlockHeader;
|
|
34
|
+
exports.DocsLayout = require_docs_layout.DocsLayout;
|
|
35
|
+
exports.ErrorBoundary = require_search_dialog.ErrorBoundary;
|
|
36
|
+
exports.ErrorBoundaryFallback = require_search_dialog.ErrorBoundaryFallback;
|
|
37
|
+
exports.Heading = require_image.Heading;
|
|
38
|
+
exports.Image = require_image.Image;
|
|
39
|
+
exports.Link = require_icons_dev.Link;
|
|
40
|
+
exports.Menu = require_docs_layout.Menu;
|
|
41
|
+
exports.NavLink = require_icons_dev.NavLink;
|
|
42
|
+
exports.Navbar = require_search_dialog.Navbar;
|
|
43
|
+
exports.OnThisPage = require_docs_layout.OnThisPage;
|
|
44
|
+
exports.OnThisPageItems = require_docs_layout.OnThisPageItems;
|
|
45
|
+
exports.OnThisPageTree = require_docs_layout.OnThisPageTree;
|
|
46
|
+
exports.PageNav = require_docs_layout.PageNav;
|
|
47
|
+
exports.Popover = require_docs_layout.Popover;
|
|
48
|
+
exports.ScrollProvider = require_docs_layout.ScrollProvider;
|
|
49
|
+
exports.SearchDialog = require_search_dialog.SearchDialog;
|
|
50
|
+
exports.Sidebar = require_docs_layout.Sidebar;
|
|
51
|
+
exports.SidebarContent = require_docs_layout.SidebarContent;
|
|
52
|
+
exports.SidebarGroup = require_docs_layout.SidebarGroup;
|
|
53
|
+
exports.SidebarHeader = require_docs_layout.SidebarHeader;
|
|
54
|
+
exports.SidebarItem = require_docs_layout.SidebarItem;
|
|
55
|
+
exports.SidebarItems = require_docs_layout.SidebarItems;
|
|
56
|
+
exports.SidebarLink = require_docs_layout.SidebarLink;
|
|
57
|
+
exports.SidebarMobile = require_docs_layout.SidebarMobile;
|
|
58
|
+
exports.SidebarRoot = require_docs_layout.SidebarRoot;
|
|
59
|
+
exports.SidebarSubGroup = require_docs_layout.SidebarSubGroup;
|
|
60
|
+
exports.Skeleton = Skeleton;
|
|
61
|
+
exports.Tabs = require_docs_layout.Tabs;
|
|
62
|
+
exports.Tooltip = require_image.Tooltip;
|
|
63
|
+
exports.useActiveAnchor = require_docs_layout.useActiveAnchor;
|
|
64
|
+
exports.useActiveAnchors = require_docs_layout.useActiveAnchors;
|
|
65
|
+
exports.useItems = require_docs_layout.useItems;
|