ardo 3.4.0 → 3.6.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 +1 -1
- package/dist/{DocPage-Dy7OrCP2.js → DocPage-Yt8MMpBg.js} +354 -70
- package/dist/DocPage-Yt8MMpBg.js.map +1 -0
- package/dist/assets/src/ui/components/Accordion.css.ts.vanilla-BPEoNgJt.css +103 -0
- package/dist/assets/src/ui/components/Badge.css.ts.vanilla-D9jsj0rg.css +44 -0
- package/dist/assets/src/ui/components/Card.css.ts.vanilla-CO6uiEzC.css +97 -0
- package/dist/assets/src/ui/components/{CodeBlock.css.ts.vanilla-BxDJ2gKc.css → CodeBlock.css.ts.vanilla-DYyQRTxk.css} +4 -4
- package/dist/assets/src/ui/components/{Container.css.ts.vanilla-CUhRUA9t.css → Container.css.ts.vanilla-B8_jKj0Q.css} +6 -0
- package/dist/assets/src/ui/components/{Features.css.ts.vanilla-ggYasCFy.css → Features.css.ts.vanilla-CcCxB5Q6.css} +1 -1
- package/dist/assets/src/ui/{content.css.ts.vanilla-CJnrOQNh.css → content.css.ts.vanilla-B5a1kmaY.css} +12 -2
- package/dist/assets/src/ui/theme/{dark.css.ts.vanilla-CQef5pk2.css → dark.css.ts.vanilla-yFCWJiX4.css} +4 -0
- package/dist/assets/src/ui/theme/{light.css.ts.vanilla-D8gxaS1c.css → light.css.ts.vanilla-DDKnXFOi.css} +4 -0
- package/dist/{brand-icons-Di8w0Nu9.js → brand-icons-DBTSSnty.js} +1 -1
- package/dist/{brand-icons-Di8w0Nu9.js.map → brand-icons-DBTSSnty.js.map} +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +5 -0
- package/dist/config/index.js.map +1 -1
- package/dist/{contract.css-qPyk_asd.d.ts → contract.css-BwTjjNXQ.d.ts} +5 -1
- package/dist/contract.css-BwTjjNXQ.d.ts.map +1 -0
- package/dist/{favicon-Cx-inut3.js → favicon-DN3ymUVm.js} +1 -1
- package/dist/{favicon-Cx-inut3.js.map → favicon-DN3ymUVm.js.map} +1 -1
- package/dist/{generator-CYSyo4Vz.js → generator-Cc4WGRdf.js} +1 -1
- package/dist/{generator-CYSyo4Vz.js.map → generator-Cc4WGRdf.js.map} +1 -1
- package/dist/icons/index.d.ts +5 -6
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/{index-CuMTHUxX.d.ts → index-BSWG2TdH.d.ts} +6 -8
- package/dist/index-BSWG2TdH.d.ts.map +1 -0
- package/dist/{index-BcekgOfA.d.ts → index-Dg1xEJ_Y.d.ts} +132 -45
- package/dist/index-Dg1xEJ_Y.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/mdx/provider.d.ts +1 -1
- package/dist/mdx/provider.d.ts.map +1 -1
- package/dist/mdx/provider.js +6 -1
- package/dist/mdx/provider.js.map +1 -1
- package/dist/runtime/index.d.ts +2 -2
- package/dist/runtime/index.js +1 -1
- package/dist/{sidebar-utils-C06DJsx4.js → sidebar-utils-tTBVAPLE.js} +1 -1
- package/dist/{sidebar-utils-C06DJsx4.js.map → sidebar-utils-tTBVAPLE.js.map} +1 -1
- package/dist/theme/index.d.ts +9 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +11 -0
- package/dist/theme/index.js.map +1 -1
- package/dist/typedoc/components/index.d.ts +8 -8
- package/dist/typedoc/components/index.d.ts.map +1 -1
- package/dist/typedoc/components/index.js.map +1 -1
- package/dist/typedoc/index.d.ts +1 -1
- package/dist/typedoc/index.d.ts.map +1 -1
- package/dist/typedoc/index.js +3 -3
- package/dist/typedoc/index.js.map +1 -1
- package/dist/{types-Ck2Vm7NB.d.ts → types-DZKj8kWR.d.ts} +1 -1
- package/dist/types-DZKj8kWR.d.ts.map +1 -0
- package/dist/{types-B75OhnGa.d.ts → types-iGO1oGpR.d.ts} +49 -4
- package/dist/types-iGO1oGpR.d.ts.map +1 -0
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.js +3 -3
- package/dist/ui/styles.css +231 -7
- package/dist/ui/styles.js +8 -6
- package/dist/{ui-AGPGBunC.js → ui-Cs2nhBpA.js} +289 -132
- package/dist/ui-Cs2nhBpA.js.map +1 -0
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.d.ts.map +1 -1
- package/dist/vite/index.js +543 -33
- package/dist/vite/index.js.map +1 -1
- package/package.json +15 -15
- package/dist/DocPage-Dy7OrCP2.js.map +0 -1
- package/dist/contract.css-qPyk_asd.d.ts.map +0 -1
- package/dist/index-BcekgOfA.d.ts.map +0 -1
- package/dist/index-CuMTHUxX.d.ts.map +0 -1
- package/dist/types-B75OhnGa.d.ts.map +0 -1
- package/dist/types-Ck2Vm7NB.d.ts.map +0 -1
- package/dist/ui-AGPGBunC.js.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ComponentProps, ComponentType, ReactNode, SVGAttributes } from "react";
|
|
3
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
1
|
+
import { b as SponsorConfig, g as SidebarItem, n as ArdoContextItem, t as ArdoConfig, u as ProjectMeta } from "./types-iGO1oGpR.js";
|
|
2
|
+
import React$1, { ComponentProps, ComponentType, ReactNode, SVGAttributes } from "react";
|
|
4
3
|
import { Link, NavLink } from "react-router";
|
|
5
4
|
|
|
6
5
|
//#region src/ui/Footer.d.ts
|
|
@@ -25,7 +24,7 @@ declare function ArdoFooter({
|
|
|
25
24
|
sponsor,
|
|
26
25
|
buildTime,
|
|
27
26
|
buildHash
|
|
28
|
-
}: ArdoFooterProps):
|
|
27
|
+
}: ArdoFooterProps): React$1.JSX.Element;
|
|
29
28
|
type ArdoFooterMessageProps = {
|
|
30
29
|
children: ReactNode;
|
|
31
30
|
className?: string;
|
|
@@ -60,7 +59,7 @@ declare function ArdoHeader({
|
|
|
60
59
|
themeToggle,
|
|
61
60
|
mobileMenuContent,
|
|
62
61
|
className
|
|
63
|
-
}: ArdoHeaderProps):
|
|
62
|
+
}: ArdoHeaderProps): import("react").JSX.Element;
|
|
64
63
|
type ArdoSocialLinkProps = {
|
|
65
64
|
/** URL to link to */href: string; /** Social icon type */
|
|
66
65
|
icon: "discord" | "github" | "linkedin" | "npm" | "twitter" | "youtube"; /** Accessible label */
|
|
@@ -72,7 +71,7 @@ declare function ArdoSocialLink({
|
|
|
72
71
|
icon,
|
|
73
72
|
ariaLabel,
|
|
74
73
|
className
|
|
75
|
-
}: ArdoSocialLinkProps):
|
|
74
|
+
}: ArdoSocialLinkProps): import("react").JSX.Element;
|
|
76
75
|
//#endregion
|
|
77
76
|
//#region src/ui/Sidebar.d.ts
|
|
78
77
|
/** Route path type - uses React Router's NavLink 'to' prop type for type-safe routes */
|
|
@@ -119,7 +118,7 @@ declare function ArdoSidebar({
|
|
|
119
118
|
children,
|
|
120
119
|
header,
|
|
121
120
|
className
|
|
122
|
-
}: ArdoSidebarProps):
|
|
121
|
+
}: ArdoSidebarProps): import("react").JSX.Element;
|
|
123
122
|
type ArdoSidebarGroupProps = {
|
|
124
123
|
/** Group title */title: string; /** Optional icon shown in the desktop section rail */
|
|
125
124
|
icon?: ReactNode; /** Optional link for the group title */
|
|
@@ -154,7 +153,7 @@ declare function ArdoSidebarGroup({
|
|
|
154
153
|
collapsible,
|
|
155
154
|
children,
|
|
156
155
|
className
|
|
157
|
-
}: ArdoSidebarGroupProps):
|
|
156
|
+
}: ArdoSidebarGroupProps): import("react").JSX.Element;
|
|
158
157
|
type ArdoSidebarLinkProps = {
|
|
159
158
|
/** Internal route path (type-safe with React Router's registered routes) */to: RoutePath$2; /** Link text */
|
|
160
159
|
children: ReactNode; /** Additional CSS classes */
|
|
@@ -172,7 +171,7 @@ declare function ArdoSidebarLink({
|
|
|
172
171
|
to,
|
|
173
172
|
children,
|
|
174
173
|
className
|
|
175
|
-
}: ArdoSidebarLinkProps):
|
|
174
|
+
}: ArdoSidebarLinkProps): import("react").JSX.Element;
|
|
176
175
|
//#endregion
|
|
177
176
|
//#region src/ui/ArdoRoot.d.ts
|
|
178
177
|
type ArdoRootProps = {
|
|
@@ -227,7 +226,7 @@ declare function ArdoRoot({
|
|
|
227
226
|
tocLabel,
|
|
228
227
|
className,
|
|
229
228
|
children
|
|
230
|
-
}: ArdoRootProps):
|
|
229
|
+
}: ArdoRootProps): import("react").JSX.Element;
|
|
231
230
|
//#endregion
|
|
232
231
|
//#region src/ui/BareContent.d.ts
|
|
233
232
|
/**
|
|
@@ -246,7 +245,95 @@ declare function ArdoBareContent({
|
|
|
246
245
|
children
|
|
247
246
|
}: {
|
|
248
247
|
children: ReactNode;
|
|
249
|
-
}):
|
|
248
|
+
}): import("react").JSX.Element;
|
|
249
|
+
//#endregion
|
|
250
|
+
//#region src/ui/components/Accordion.d.ts
|
|
251
|
+
type ArdoAccordionHeadingLevel = 2 | 3 | 4 | 5 | 6;
|
|
252
|
+
type ArdoAccordionGroupProps = {
|
|
253
|
+
/** Accordion items to display. */children: ReactNode; /** When true, opening one accordion closes the currently open item. */
|
|
254
|
+
onlyOneOpen?: boolean; /** Additional CSS class. */
|
|
255
|
+
className?: string;
|
|
256
|
+
};
|
|
257
|
+
type ArdoAccordionProps = {
|
|
258
|
+
/** Accordion summary/title. */title: ReactNode; /** Collapsible content. */
|
|
259
|
+
children: ReactNode; /** Whether the accordion starts open. */
|
|
260
|
+
defaultOpen?: boolean; /** Optional registered icon name or custom React node shown before the title. */
|
|
261
|
+
icon?: ReactNode | string; /** Heading level used for the accordion trigger. */
|
|
262
|
+
headingLevel?: ArdoAccordionHeadingLevel; /** Stable item value used by AccordionGroup only-one-open mode. */
|
|
263
|
+
value?: string; /** Additional CSS class. */
|
|
264
|
+
className?: string;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* Group container for accordion items.
|
|
268
|
+
*/
|
|
269
|
+
declare function ArdoAccordionGroup({
|
|
270
|
+
children,
|
|
271
|
+
onlyOneOpen,
|
|
272
|
+
className
|
|
273
|
+
}: ArdoAccordionGroupProps): import("react").JSX.Element;
|
|
274
|
+
/**
|
|
275
|
+
* Collapsible documentation content section.
|
|
276
|
+
*/
|
|
277
|
+
declare function ArdoAccordion({
|
|
278
|
+
title,
|
|
279
|
+
children,
|
|
280
|
+
defaultOpen,
|
|
281
|
+
icon,
|
|
282
|
+
headingLevel,
|
|
283
|
+
value,
|
|
284
|
+
className
|
|
285
|
+
}: ArdoAccordionProps): import("react").JSX.Element;
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/ui/components/Badge.d.ts
|
|
288
|
+
type ArdoBadgeVariant = "danger" | "default" | "info" | "success" | "warning";
|
|
289
|
+
type ArdoBadgeProps = {
|
|
290
|
+
/** Visual style for the badge. */variant?: ArdoBadgeVariant; /** Optional leading icon. */
|
|
291
|
+
icon?: ReactNode; /** Inline badge content. */
|
|
292
|
+
children: ReactNode;
|
|
293
|
+
};
|
|
294
|
+
/**
|
|
295
|
+
* Inline status label for documentation content.
|
|
296
|
+
*/
|
|
297
|
+
declare function ArdoBadge({
|
|
298
|
+
variant,
|
|
299
|
+
icon,
|
|
300
|
+
children
|
|
301
|
+
}: ArdoBadgeProps): import("react").JSX.Element;
|
|
302
|
+
//#endregion
|
|
303
|
+
//#region src/ui/components/Card.d.ts
|
|
304
|
+
type ArdoCardGroupColumns = 1 | 2 | 3 | 4;
|
|
305
|
+
type ArdoCardGroupProps = {
|
|
306
|
+
/** Cards to display in the group. */children: ReactNode; /** Preferred number of columns on wide screens. */
|
|
307
|
+
cols?: ArdoCardGroupColumns; /** Additional CSS class. */
|
|
308
|
+
className?: string;
|
|
309
|
+
};
|
|
310
|
+
type ArdoCardProps = {
|
|
311
|
+
/** Card title. */title: string; /** Optional registered icon name or custom React node. */
|
|
312
|
+
icon?: ReactNode | string; /** Card content. */
|
|
313
|
+
children?: ReactNode; /** Optional destination. When set, the full card is clickable. */
|
|
314
|
+
href?: string; /** Additional CSS class. */
|
|
315
|
+
className?: string;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* General-purpose documentation card.
|
|
319
|
+
*
|
|
320
|
+
* Cards can be static content blocks or clickable navigation items when `href` is provided.
|
|
321
|
+
*/
|
|
322
|
+
declare function ArdoCard({
|
|
323
|
+
title,
|
|
324
|
+
icon,
|
|
325
|
+
children,
|
|
326
|
+
href,
|
|
327
|
+
className
|
|
328
|
+
}: ArdoCardProps): import("react").JSX.Element;
|
|
329
|
+
/**
|
|
330
|
+
* Responsive grid for documentation cards.
|
|
331
|
+
*/
|
|
332
|
+
declare function ArdoCardGroup({
|
|
333
|
+
children,
|
|
334
|
+
cols,
|
|
335
|
+
className
|
|
336
|
+
}: ArdoCardGroupProps): import("react").JSX.Element;
|
|
250
337
|
//#endregion
|
|
251
338
|
//#region src/ui/components/CodeBlock.d.ts
|
|
252
339
|
type ArdoCodeBlockProps = {
|
|
@@ -278,7 +365,7 @@ declare function ArdoCodeBlock({
|
|
|
278
365
|
highlightLines,
|
|
279
366
|
children,
|
|
280
367
|
__html
|
|
281
|
-
}: ArdoCodeBlockProps):
|
|
368
|
+
}: ArdoCodeBlockProps): import("react").JSX.Element;
|
|
282
369
|
type ArdoCodeGroupProps = {
|
|
283
370
|
/** CodeBlock components to display as tabs */children: React.ReactNode; /** Comma-separated tab labels */
|
|
284
371
|
labels?: string;
|
|
@@ -291,7 +378,7 @@ type ArdoCodeGroupProps = {
|
|
|
291
378
|
declare function ArdoCodeGroup({
|
|
292
379
|
children,
|
|
293
380
|
labels: labelsStr
|
|
294
|
-
}: ArdoCodeGroupProps):
|
|
381
|
+
}: ArdoCodeGroupProps): import("react").JSX.Element;
|
|
295
382
|
//#endregion
|
|
296
383
|
//#region src/ui/components/Container.d.ts
|
|
297
384
|
type ArdoContainerType = "danger" | "info" | "note" | "tip" | "warning";
|
|
@@ -307,7 +394,7 @@ declare function ArdoContainer({
|
|
|
307
394
|
type,
|
|
308
395
|
title,
|
|
309
396
|
children
|
|
310
|
-
}: ArdoContainerProps):
|
|
397
|
+
}: ArdoContainerProps): import("react").JSX.Element;
|
|
311
398
|
type ArdoTipProps = {
|
|
312
399
|
/** Optional custom title */title?: string; /** Content to display */
|
|
313
400
|
children: ReactNode;
|
|
@@ -318,7 +405,7 @@ type ArdoTipProps = {
|
|
|
318
405
|
declare function ArdoTip({
|
|
319
406
|
title,
|
|
320
407
|
children
|
|
321
|
-
}: ArdoTipProps):
|
|
408
|
+
}: ArdoTipProps): import("react").JSX.Element;
|
|
322
409
|
type ArdoWarningProps = {
|
|
323
410
|
/** Optional custom title */title?: string; /** Content to display */
|
|
324
411
|
children: ReactNode;
|
|
@@ -329,7 +416,7 @@ type ArdoWarningProps = {
|
|
|
329
416
|
declare function ArdoWarning({
|
|
330
417
|
title,
|
|
331
418
|
children
|
|
332
|
-
}: ArdoWarningProps):
|
|
419
|
+
}: ArdoWarningProps): import("react").JSX.Element;
|
|
333
420
|
type ArdoDangerProps = {
|
|
334
421
|
/** Optional custom title */title?: string; /** Content to display */
|
|
335
422
|
children: ReactNode;
|
|
@@ -340,7 +427,7 @@ type ArdoDangerProps = {
|
|
|
340
427
|
declare function ArdoDanger({
|
|
341
428
|
title,
|
|
342
429
|
children
|
|
343
|
-
}: ArdoDangerProps):
|
|
430
|
+
}: ArdoDangerProps): import("react").JSX.Element;
|
|
344
431
|
type ArdoInfoProps = {
|
|
345
432
|
/** Optional custom title */title?: string; /** Content to display */
|
|
346
433
|
children: ReactNode;
|
|
@@ -351,7 +438,7 @@ type ArdoInfoProps = {
|
|
|
351
438
|
declare function ArdoInfo({
|
|
352
439
|
title,
|
|
353
440
|
children
|
|
354
|
-
}: ArdoInfoProps):
|
|
441
|
+
}: ArdoInfoProps): import("react").JSX.Element;
|
|
355
442
|
type ArdoNoteProps = {
|
|
356
443
|
/** Optional custom title */title?: string; /** Content to display */
|
|
357
444
|
children: ReactNode;
|
|
@@ -362,7 +449,7 @@ type ArdoNoteProps = {
|
|
|
362
449
|
declare function ArdoNote({
|
|
363
450
|
title,
|
|
364
451
|
children
|
|
365
|
-
}: ArdoNoteProps):
|
|
452
|
+
}: ArdoNoteProps): import("react").JSX.Element;
|
|
366
453
|
//#endregion
|
|
367
454
|
//#region src/ui/components/CopyButton.d.ts
|
|
368
455
|
type CopyButtonProps = {
|
|
@@ -370,7 +457,7 @@ type CopyButtonProps = {
|
|
|
370
457
|
};
|
|
371
458
|
declare function ArdoCopyButton({
|
|
372
459
|
code
|
|
373
|
-
}: CopyButtonProps):
|
|
460
|
+
}: CopyButtonProps): import("react").JSX.Element;
|
|
374
461
|
//#endregion
|
|
375
462
|
//#region src/ui/components/Features.d.ts
|
|
376
463
|
type ArdoFeaturesProps = {
|
|
@@ -406,7 +493,7 @@ declare function ArdoFeatureCard({
|
|
|
406
493
|
link,
|
|
407
494
|
linkText,
|
|
408
495
|
className
|
|
409
|
-
}: ArdoFeatureCardProps):
|
|
496
|
+
}: ArdoFeatureCardProps): import("react").JSX.Element;
|
|
410
497
|
/**
|
|
411
498
|
* Features grid component for displaying multiple feature cards.
|
|
412
499
|
*
|
|
@@ -423,7 +510,7 @@ declare function ArdoFeatures({
|
|
|
423
510
|
title,
|
|
424
511
|
subtitle,
|
|
425
512
|
className
|
|
426
|
-
}: ArdoFeaturesProps):
|
|
513
|
+
}: ArdoFeaturesProps): import("react").JSX.Element;
|
|
427
514
|
//#endregion
|
|
428
515
|
//#region src/ui/components/Hero.d.ts
|
|
429
516
|
/** Internal route path from React Router */
|
|
@@ -456,7 +543,7 @@ declare function ArdoHero({
|
|
|
456
543
|
actions,
|
|
457
544
|
className,
|
|
458
545
|
version
|
|
459
|
-
}: ArdoHeroProps):
|
|
546
|
+
}: ArdoHeroProps): import("react").JSX.Element;
|
|
460
547
|
//#endregion
|
|
461
548
|
//#region src/ui/components/Icon.d.ts
|
|
462
549
|
type IconComponent = ComponentType<{
|
|
@@ -515,7 +602,7 @@ type ArdoSearchProps = {
|
|
|
515
602
|
declare function ArdoSearch({
|
|
516
603
|
placeholder,
|
|
517
604
|
autoFocus
|
|
518
|
-
}: ArdoSearchProps):
|
|
605
|
+
}: ArdoSearchProps): import("react").JSX.Element;
|
|
519
606
|
//#endregion
|
|
520
607
|
//#region src/ui/components/Steps.d.ts
|
|
521
608
|
type ArdoStepsProps = {
|
|
@@ -537,7 +624,7 @@ type ArdoStepsProps = {
|
|
|
537
624
|
*/
|
|
538
625
|
declare function ArdoSteps({
|
|
539
626
|
children
|
|
540
|
-
}: ArdoStepsProps):
|
|
627
|
+
}: ArdoStepsProps): import("react").JSX.Element;
|
|
541
628
|
//#endregion
|
|
542
629
|
//#region src/ui/components/Tabs.d.ts
|
|
543
630
|
type ArdoTabsProps = {
|
|
@@ -550,7 +637,7 @@ type ArdoTabsProps = {
|
|
|
550
637
|
declare function ArdoTabs({
|
|
551
638
|
defaultValue,
|
|
552
639
|
children
|
|
553
|
-
}: ArdoTabsProps):
|
|
640
|
+
}: ArdoTabsProps): import("react").JSX.Element;
|
|
554
641
|
type ArdoTabListProps = {
|
|
555
642
|
/** Tab buttons */children: ReactNode;
|
|
556
643
|
};
|
|
@@ -559,7 +646,7 @@ type ArdoTabListProps = {
|
|
|
559
646
|
*/
|
|
560
647
|
declare function ArdoTabList({
|
|
561
648
|
children
|
|
562
|
-
}: ArdoTabListProps):
|
|
649
|
+
}: ArdoTabListProps): import("react").JSX.Element;
|
|
563
650
|
type ArdoTabProps = {
|
|
564
651
|
/** Unique value identifying this tab (optional if tab order matches panels) */value?: string; /** Tab button label */
|
|
565
652
|
children: ReactNode;
|
|
@@ -570,7 +657,7 @@ type ArdoTabProps = {
|
|
|
570
657
|
declare function ArdoTab({
|
|
571
658
|
value,
|
|
572
659
|
children
|
|
573
|
-
}: ArdoTabProps):
|
|
660
|
+
}: ArdoTabProps): import("react").JSX.Element;
|
|
574
661
|
type ArdoTabPanelProps = {
|
|
575
662
|
/** Value matching the corresponding ArdoTab (optional if panel order matches tabs) */value?: string; /** Panel content */
|
|
576
663
|
children: ReactNode;
|
|
@@ -581,7 +668,7 @@ type ArdoTabPanelProps = {
|
|
|
581
668
|
declare function ArdoTabPanel({
|
|
582
669
|
value,
|
|
583
670
|
children
|
|
584
|
-
}: ArdoTabPanelProps):
|
|
671
|
+
}: ArdoTabPanelProps): import("react").JSX.Element | null;
|
|
585
672
|
type ArdoTabPanelsProps = {
|
|
586
673
|
/** ArdoTabPanel components */children: ReactNode;
|
|
587
674
|
};
|
|
@@ -590,10 +677,10 @@ type ArdoTabPanelsProps = {
|
|
|
590
677
|
*/
|
|
591
678
|
declare function ArdoTabPanels({
|
|
592
679
|
children
|
|
593
|
-
}: ArdoTabPanelsProps):
|
|
680
|
+
}: ArdoTabPanelsProps): import("react").JSX.Element;
|
|
594
681
|
//#endregion
|
|
595
682
|
//#region src/ui/components/ThemeToggle.d.ts
|
|
596
|
-
declare function ArdoThemeToggle():
|
|
683
|
+
declare function ArdoThemeToggle(): import("react").JSX.Element;
|
|
597
684
|
//#endregion
|
|
598
685
|
//#region src/ui/Content.d.ts
|
|
599
686
|
type ContentProps = {
|
|
@@ -614,7 +701,7 @@ declare function ArdoContent({
|
|
|
614
701
|
editLink,
|
|
615
702
|
lastUpdated,
|
|
616
703
|
metaPlacement
|
|
617
|
-
}: ContentProps):
|
|
704
|
+
}: ContentProps): import("react").JSX.Element;
|
|
618
705
|
//#endregion
|
|
619
706
|
//#region src/ui/DocPage.d.ts
|
|
620
707
|
type DocPageProps = {
|
|
@@ -646,7 +733,7 @@ declare function ArdoDocPage({
|
|
|
646
733
|
editLink,
|
|
647
734
|
lastUpdated,
|
|
648
735
|
tocLabel
|
|
649
|
-
}: DocPageProps):
|
|
736
|
+
}: DocPageProps): import("react").JSX.Element;
|
|
650
737
|
type DocContentProps = {
|
|
651
738
|
children: ReactNode; /** Edit link configuration (forwarded to Content) */
|
|
652
739
|
editLink?: {
|
|
@@ -685,7 +772,7 @@ declare function ArdoDocContent({
|
|
|
685
772
|
editLink,
|
|
686
773
|
lastUpdated,
|
|
687
774
|
tocLabel
|
|
688
|
-
}: DocContentProps):
|
|
775
|
+
}: DocContentProps): import("react").JSX.Element;
|
|
689
776
|
type DocLayoutProps = {
|
|
690
777
|
content: ReactNode;
|
|
691
778
|
};
|
|
@@ -694,7 +781,7 @@ type DocLayoutProps = {
|
|
|
694
781
|
*/
|
|
695
782
|
declare function ArdoDocLayout({
|
|
696
783
|
content
|
|
697
|
-
}: DocLayoutProps):
|
|
784
|
+
}: DocLayoutProps): import("react").JSX.Element;
|
|
698
785
|
//#endregion
|
|
699
786
|
//#region src/ui/ErrorBoundary.d.ts
|
|
700
787
|
type ArdoErrorBoundaryProps = {
|
|
@@ -721,7 +808,7 @@ type ArdoErrorBoundaryProps = {
|
|
|
721
808
|
* export { ArdoErrorBoundary as ErrorBoundary } from "ardo/ui"
|
|
722
809
|
* ```
|
|
723
810
|
*/
|
|
724
|
-
declare function ArdoErrorBoundary(props?: ArdoErrorBoundaryProps):
|
|
811
|
+
declare function ArdoErrorBoundary(props?: ArdoErrorBoundaryProps): import("react").JSX.Element;
|
|
725
812
|
//#endregion
|
|
726
813
|
//#region src/ui/HomePage.d.ts
|
|
727
814
|
type ArdoHomePageProps = {
|
|
@@ -735,7 +822,7 @@ declare function ArdoHomePage({
|
|
|
735
822
|
footerProps,
|
|
736
823
|
header,
|
|
737
824
|
footer
|
|
738
|
-
}?: ArdoHomePageProps):
|
|
825
|
+
}?: ArdoHomePageProps): import("react").JSX.Element;
|
|
739
826
|
//#endregion
|
|
740
827
|
//#region src/ui/Layout.d.ts
|
|
741
828
|
type ArdoRootLayoutProps = {
|
|
@@ -769,7 +856,7 @@ declare function ArdoRootLayout({
|
|
|
769
856
|
favicon,
|
|
770
857
|
iconBasePath,
|
|
771
858
|
lang
|
|
772
|
-
}: ArdoRootLayoutProps):
|
|
859
|
+
}: ArdoRootLayoutProps): import("react").JSX.Element;
|
|
773
860
|
type ArdoLayoutProps = {
|
|
774
861
|
/** Header content */header?: ReactNode; /** Sidebar content */
|
|
775
862
|
sidebar?: ReactNode; /** Footer content */
|
|
@@ -797,7 +884,7 @@ declare function ArdoLayout({
|
|
|
797
884
|
footer,
|
|
798
885
|
children,
|
|
799
886
|
className
|
|
800
|
-
}: ArdoLayoutProps):
|
|
887
|
+
}: ArdoLayoutProps): import("react").JSX.Element;
|
|
801
888
|
//#endregion
|
|
802
889
|
//#region src/ui/Nav.d.ts
|
|
803
890
|
/** Route path type - uses React Router's NavLink 'to' prop type for type-safe routes */
|
|
@@ -821,7 +908,7 @@ type ArdoNavProps = {
|
|
|
821
908
|
declare function ArdoNav({
|
|
822
909
|
children,
|
|
823
910
|
className
|
|
824
|
-
}: ArdoNavProps):
|
|
911
|
+
}: ArdoNavProps): import("react").JSX.Element;
|
|
825
912
|
type ArdoNavLinkProps = {
|
|
826
913
|
/** Internal route path (type-safe with React Router's registered routes) */to?: RoutePath; /** External URL (uses anchor tag) */
|
|
827
914
|
href?: string; /** Link text or children */
|
|
@@ -847,7 +934,7 @@ declare function ArdoNavLink({
|
|
|
847
934
|
children,
|
|
848
935
|
className,
|
|
849
936
|
activeMatch: _activeMatch
|
|
850
|
-
}: ArdoNavLinkProps):
|
|
937
|
+
}: ArdoNavLinkProps): import("react").JSX.Element;
|
|
851
938
|
//#endregion
|
|
852
939
|
//#region src/ui/OwlMark.d.ts
|
|
853
940
|
type ArdoOwlMarkProps = {
|
|
@@ -863,7 +950,7 @@ declare function ArdoOwlMark({
|
|
|
863
950
|
size,
|
|
864
951
|
title,
|
|
865
952
|
...props
|
|
866
|
-
}: ArdoOwlMarkProps):
|
|
953
|
+
}: ArdoOwlMarkProps): import("react").JSX.Element;
|
|
867
954
|
//#endregion
|
|
868
955
|
//#region src/ui/Toc.d.ts
|
|
869
956
|
type ArdoTOCProps = {
|
|
@@ -871,7 +958,7 @@ type ArdoTOCProps = {
|
|
|
871
958
|
};
|
|
872
959
|
declare function ArdoTOC({
|
|
873
960
|
label: labelProp
|
|
874
|
-
}?: ArdoTOCProps):
|
|
961
|
+
}?: ArdoTOCProps): import("react").JSX.Element | null;
|
|
875
962
|
//#endregion
|
|
876
|
-
export { ArdoInfo as $, ArdoTabs as A, ArdoHeroAction as B, ArdoTabList as C,
|
|
877
|
-
//# sourceMappingURL=index-
|
|
963
|
+
export { ArdoInfo as $, ArdoTabs as A, ArdoSidebarLinkProps as At, ArdoHeroAction as B, ArdoTabList as C, ArdoBareContent as Ct, ArdoTabPanels as D, ArdoSidebarGroup as Dt, ArdoTabPanelProps as E, ArdoSidebar as Et, ArdoIcon as F, ArdoSocialLinkProps as Ft, ArdoFeatures as G, ArdoHeroProps as H, ArdoIconProps as I, ArdoFooter as It, ArdoContainer as J, ArdoFeaturesProps as K, getRegisteredIconNames as L, ArdoFooterCopyrightProps as Lt, ArdoSteps as M, ArdoHeader as Mt, ArdoStepsProps as N, ArdoHeaderProps as Nt, ArdoTabPanelsProps as O, ArdoSidebarGroupProps as Ot, ArdoSearch as P, ArdoSocialLink as Pt, ArdoDangerProps as Q, registerIcons as R, ArdoFooterMessageProps as Rt, ArdoTab as S, ArdoAccordionProps as St, ArdoTabPanel as T, ArdoRootProps as Tt, ArdoFeatureCard as U, ArdoHeroImage as V, ArdoFeatureCardProps as W, ArdoContainerType as X, ArdoContainerProps as Y, ArdoDanger as Z, ArdoDocContent as _, ArdoBadgeProps as _t, ArdoNav as a, ArdoWarning as at, ArdoContent as b, ArdoAccordionGroup as bt, ArdoNavProps as c, ArdoCodeBlockProps as ct, ArdoRootLayout as d, ArdoCard as dt, ArdoInfoProps as et, ArdoRootLayoutProps as f, ArdoCardGroup as ft, ArdoErrorBoundaryProps as g, ArdoBadge as gt, ArdoErrorBoundary as h, ArdoCardProps as ht, ArdoOwlMarkProps as i, ArdoTipProps as it, ArdoTabsProps as j, ArdoSidebarProps as jt, ArdoTabProps as k, ArdoSidebarLink as kt, ArdoLayout as l, ArdoCodeGroup as lt, ArdoHomePageProps as m, ArdoCardGroupProps as mt, ArdoTOCProps as n, ArdoNoteProps as nt, ArdoNavLink as o, ArdoWarningProps as ot, ArdoHomePage as p, ArdoCardGroupColumns as pt, ArdoCopyButton as q, ArdoOwlMark as r, ArdoTip as rt, ArdoNavLinkProps as s, ArdoCodeBlock as st, ArdoTOC as t, ArdoNote as tt, ArdoLayoutProps as u, ArdoCodeGroupProps as ut, ArdoDocLayout as v, ArdoBadgeVariant as vt, ArdoTabListProps as w, ArdoRoot as wt, ArdoThemeToggle as x, ArdoAccordionGroupProps as xt, ArdoDocPage as y, ArdoAccordion as yt, ArdoHero as z, ArdoFooterProps as zt };
|
|
964
|
+
//# sourceMappingURL=index-Dg1xEJ_Y.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-Dg1xEJ_Y.d.ts","names":[],"sources":["../src/ui/Footer.tsx","../src/ui/Header.tsx","../src/ui/Sidebar.tsx","../src/ui/ArdoRoot.tsx","../src/ui/BareContent.tsx","../src/ui/components/Accordion.tsx","../src/ui/components/Badge.tsx","../src/ui/components/Card.tsx","../src/ui/components/CodeBlock.tsx","../src/ui/components/Container.tsx","../src/ui/components/CopyButton.tsx","../src/ui/components/Features.tsx","../src/ui/components/Hero.tsx","../src/ui/components/Icon.tsx","../src/ui/components/Search.tsx","../src/ui/components/Steps.tsx","../src/ui/components/Tabs.tsx","../src/ui/components/ThemeToggle.tsx","../src/ui/Content.tsx","../src/ui/DocPage.tsx","../src/ui/ErrorBoundary.tsx","../src/ui/HomePage.tsx","../src/ui/Layout.tsx","../src/ui/Nav.tsx","../src/ui/OwlMark.tsx","../src/ui/Toc.tsx"],"mappings":";;;;;KAYY,eAAA;8CAEV,OAAA,WAFU;EAIV,SAAA;EAEA,QAAA,GAAW,SAAA,EAID;EAFV,SAAA,WAIuB;EAFvB,OAAA,GAAU,WAAA,EARV;EAUA,OAAA,GAAU,aAAA,EANV;EAQA,SAAA,WANA;EAQA,SAAA,WANU;EAQV,QAAA;AAAA;AAAA,iBAwHc,UAAA;EACd,QAAA;EACA,SAAA;EACA,QAAA;EACA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as PageFrontmatter, r as HeadConfig, s as NavItem, t as ArdoConfig, u as ProjectMeta, x as TOCItem, y as SocialLink } from "./types-iGO1oGpR.js";
|
|
2
2
|
import { defineConfig, loadConfig, resolveConfig } from "./config/index.js";
|
|
3
|
-
import { a as ArdoProvider, c as useArdoConfig, d as useArdoSidebar, f as useArdoSiteConfig, l as useArdoContext, n as getPrevNextLinks, o as ArdoSiteConfig, p as useArdoTOC, s as ArdoSiteConfigProvider, t as findCurrentSidebarItem, u as useArdoPageData } from "./index-
|
|
4
|
-
import { $ as ArdoInfo, A as ArdoTabs, B as ArdoHeroAction, C as ArdoTabList, D as ArdoTabPanels, E as ArdoTabPanelProps, G as ArdoFeatures, H as ArdoHeroProps, J as ArdoContainer, K as ArdoFeaturesProps, M as ArdoSteps, N as ArdoStepsProps, O as ArdoTabPanelsProps, P as ArdoSearch, Q as ArdoDangerProps, S as ArdoTab, T as ArdoTabPanel, U as ArdoFeatureCard, V as ArdoHeroImage, W as ArdoFeatureCardProps, X as ArdoContainerType, Y as ArdoContainerProps, Z as ArdoDanger, at as ArdoWarning, b as ArdoContent,
|
|
3
|
+
import { a as ArdoProvider, c as useArdoConfig, d as useArdoSidebar, f as useArdoSiteConfig, l as useArdoContext, n as getPrevNextLinks, o as ArdoSiteConfig, p as useArdoTOC, s as ArdoSiteConfigProvider, t as findCurrentSidebarItem, u as useArdoPageData } from "./index-BSWG2TdH.js";
|
|
4
|
+
import { $ as ArdoInfo, A as ArdoTabs, B as ArdoHeroAction, C as ArdoTabList, D as ArdoTabPanels, E as ArdoTabPanelProps, Et as ArdoSidebar, G as ArdoFeatures, H as ArdoHeroProps, It as ArdoFooter, J as ArdoContainer, K as ArdoFeaturesProps, M as ArdoSteps, Mt as ArdoHeader, N as ArdoStepsProps, O as ArdoTabPanelsProps, P as ArdoSearch, Q as ArdoDangerProps, S as ArdoTab, T as ArdoTabPanel, U as ArdoFeatureCard, V as ArdoHeroImage, W as ArdoFeatureCardProps, X as ArdoContainerType, Y as ArdoContainerProps, Z as ArdoDanger, at as ArdoWarning, b as ArdoContent, ct as ArdoCodeBlockProps, et as ArdoInfoProps, it as ArdoTipProps, j as ArdoTabsProps, k as ArdoTabProps, l as ArdoLayout, lt as ArdoCodeGroup, nt as ArdoNoteProps, ot as ArdoWarningProps, p as ArdoHomePage, q as ArdoCopyButton, rt as ArdoTip, st as ArdoCodeBlock, t as ArdoTOC, tt as ArdoNote, ut as ArdoCodeGroupProps, v as ArdoDocLayout, w as ArdoTabListProps, x as ArdoThemeToggle, y as ArdoDocPage, z as ArdoHero } from "./index-Dg1xEJ_Y.js";
|
|
5
5
|
export { ArdoCodeBlock, type ArdoCodeBlockProps, ArdoCodeGroup, type ArdoCodeGroupProps, type ArdoConfig, ArdoContainer, type ArdoContainerProps, type ArdoContainerType, ArdoContent, ArdoCopyButton, ArdoDanger, type ArdoDangerProps, ArdoDocLayout, ArdoDocPage, ArdoFeatureCard, type ArdoFeatureCardProps, ArdoFeatures, type ArdoFeaturesProps, ArdoFooter, ArdoHeader, ArdoHero, type ArdoHeroAction, type ArdoHeroImage, type ArdoHeroProps, ArdoHomePage, ArdoInfo, type ArdoInfoProps, ArdoLayout, ArdoNote, type ArdoNoteProps, ArdoProvider, ArdoSearch, ArdoSidebar, type ArdoSiteConfig, ArdoSiteConfigProvider, ArdoSteps, type ArdoStepsProps, ArdoTOC, ArdoTab, ArdoTabList, type ArdoTabListProps, ArdoTabPanel, type ArdoTabPanelProps, ArdoTabPanels, type ArdoTabPanelsProps, type ArdoTabProps, ArdoTabs, type ArdoTabsProps, ArdoThemeToggle, ArdoTip, type ArdoTipProps, ArdoWarning, type ArdoWarningProps, type HeadConfig, type MarkdownConfig, type NavItem, type PageData, type PageFrontmatter, type ProjectMeta, type ResolvedConfig, type SidebarConfig, type SidebarItem, type SocialLink, type TOCItem, type TypeDocConfig, defineConfig, findCurrentSidebarItem, getPrevNextLinks, loadConfig, resolveConfig, useArdoConfig, useArdoContext, useArdoPageData, useArdoSidebar, useArdoSiteConfig, useArdoTOC };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineConfig, loadConfig, resolveConfig } from "./config/index.js";
|
|
2
|
-
import { a as ArdoProvider, c as useArdoContext, d as useArdoSidebar, f as useArdoSiteConfig, n as getPrevNextLinks, o as ArdoSiteConfigProvider, p as useArdoTOC, s as useArdoConfig, t as findCurrentSidebarItem, u as useArdoPageData } from "./sidebar-utils-
|
|
2
|
+
import { a as ArdoProvider, c as useArdoContext, d as useArdoSidebar, f as useArdoSiteConfig, n as getPrevNextLinks, o as ArdoSiteConfigProvider, p as useArdoTOC, s as useArdoConfig, t as findCurrentSidebarItem, u as useArdoPageData } from "./sidebar-utils-tTBVAPLE.js";
|
|
3
3
|
import "./runtime/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import { a as ArdoHero, f as ArdoHeader, g as ArdoFooter, h as ArdoSearch, l as ArdoSidebar, m as ArdoThemeToggle, o as ArdoFeatureCard, r as ArdoHomePage, s as ArdoFeatures } from "./ui-
|
|
4
|
+
import { N as ArdoLayout, _ as ArdoWarning, a as ArdoContent, b as ArdoCopyButton, c as ArdoTabPanel, d as ArdoSteps, f as ArdoContainer, g as ArdoTip, h as ArdoNote, i as ArdoTOC, l as ArdoTabPanels, m as ArdoInfo, n as ArdoDocLayout, o as ArdoTab, p as ArdoDanger, r as ArdoDocPage, s as ArdoTabList, u as ArdoTabs, v as ArdoCodeBlock, y as ArdoCodeGroup } from "./DocPage-Yt8MMpBg.js";
|
|
5
|
+
import { a as ArdoHero, f as ArdoHeader, g as ArdoFooter, h as ArdoSearch, l as ArdoSidebar, m as ArdoThemeToggle, o as ArdoFeatureCard, r as ArdoHomePage, s as ArdoFeatures } from "./ui-Cs2nhBpA.js";
|
|
6
6
|
export { ArdoCodeBlock, ArdoCodeGroup, ArdoContainer, ArdoContent, ArdoCopyButton, ArdoDanger, ArdoDocLayout, ArdoDocPage, ArdoFeatureCard, ArdoFeatures, ArdoFooter, ArdoHeader, ArdoHero, ArdoHomePage, ArdoInfo, ArdoLayout, ArdoNote, ArdoProvider, ArdoSearch, ArdoSidebar, ArdoSiteConfigProvider, ArdoSteps, ArdoTOC, ArdoTab, ArdoTabList, ArdoTabPanel, ArdoTabPanels, ArdoTabs, ArdoThemeToggle, ArdoTip, ArdoWarning, defineConfig, findCurrentSidebarItem, getPrevNextLinks, loadConfig, resolveConfig, useArdoConfig, useArdoContext, useArdoPageData, useArdoSidebar, useArdoSiteConfig, useArdoTOC };
|
package/dist/mdx/provider.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@types+mdx@2.0.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@types+mdx@2.0.14/node_modules/@types/mdx/types.d.ts
|
|
2
2
|
// Internal helper types
|
|
3
3
|
/**
|
|
4
4
|
* This is the global JSX.ElementType if it’s defined, otherwise never.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","names":["
|
|
1
|
+
{"version":3,"file":"provider.d.ts","names":["JSX","ElementType","Extract","Record","props","IntrinsicElements","Element","Props","FunctionElementType","ReturnType","ElementClass","ClassElementType","InstanceType","FunctionComponent","ClassComponent","StringComponent","key","NestedMDXComponents","Component","Key","wrapper","components","MDXComponents","MDXProps","default","MDXContent"],"sources":["../../../../node_modules/.pnpm/@types+mdx@2.0.14/node_modules/@types/mdx/types.d.ts","../../src/mdx/provider.tsx"],"x_google_ignoreList":[0],"mappings":";;;;;;;KAOK,WAAA,eAA0B,GAAA,CAAI,WAAA,WAAsB,GAAA,CAAI,WAAW;;AAAA;AAAA;KAKnE,mBAAA,GAAsB,OAAA,CAAQ,WAAA,GAAcI,KAAAA,EAAO,MAAA;;;;KAKnD,gBAAA,GAAmB,OAAA,CAAQ,WAAA,OAAiBA,KAAAA,EAAO,MAAA;;;;KAKnD,eAAA,GAAkB,OAAA,OAAc,GAAA,CAAI,iBAAA,EAAmB,WAAA,0BAAqC,WAAA;AAVtB;AAAA;;AAAA,KAe/D,OAAA,GAAU,GAAA,CAAI,OAAO;;;;KAK5B,iBAAA,UAA2B,WAAA;AAAA,GAEzBA,KAAAA,EAAO,KAAA,KAAU,OAAA,UAClB,mBAAA;AAAA;AAAA,GAICA,KAAAA,EAAO,KAAA,KAAU,UAAA,CAAW,mBAAA;;;;KAK9B,cAAA,UAAwB,WAAA;AAAA,OAEnBA,KAAAA,EAAO,KAAA,KAAU,GAAA,CAAI,YAAA,GACzB,gBAAA;AAAA;AAAA,OAIIA,KAAAA,EAAO,KAAA,KAAU,YAAA,CAAa,gBAAA;;AA7BoE;AAK5G;KA6BK,SAAA,UAAmB,iBAAA,CAAkB,KAAA,IAAS,cAAA,CAAe,KAAA,IAAS,eAAA;AAAA,UAEjE,mBAAA;EAAA,CACLY,GAAAA,WAAc,mBAAA,GAAsB,SAAS;AAAA;;;;;;KAUtC,aAAA,GACN,mBAAA,aAEU,eAAA,IAAmB,SAAA,CAAU,GAAA,CAAI,iBAAA,CAAkB,GAAA;EAtC5DZ;;;EA4CCgB,OAAAA,GAAU,SAAA;AAAA;;;;;;;iBC0BF,gBAAA,IAAoB,aAAa"}
|
package/dist/mdx/provider.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as codeWrapper, D as ArdoAccordion, E as ArdoBadge, O as ArdoAccordionGroup, T as ArdoCardGroup, _ as ArdoWarning, b as ArdoCopyButton, c as ArdoTabPanel, d as ArdoSteps, g as ArdoTip, h as ArdoNote, k as ArdoIcon, l as ArdoTabPanels, m as ArdoInfo, o as ArdoTab, p as ArdoDanger, s as ArdoTabList, t as ArdoDocContent, u as ArdoTabs, v as ArdoCodeBlock, w as ArdoCard, x as codeBlock, y as ArdoCodeGroup } from "../DocPage-Yt8MMpBg.js";
|
|
2
2
|
import { isValidElement } from "react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { Link } from "react-router";
|
|
@@ -75,6 +75,11 @@ function useMDXComponents() {
|
|
|
75
75
|
wrapper: ({ children }) => /* @__PURE__ */ jsx(ArdoDocContent, { children }),
|
|
76
76
|
a: SmartLink,
|
|
77
77
|
pre: PreBlock,
|
|
78
|
+
Accordion: ArdoAccordion,
|
|
79
|
+
AccordionGroup: ArdoAccordionGroup,
|
|
80
|
+
Badge: ArdoBadge,
|
|
81
|
+
Card: ArdoCard,
|
|
82
|
+
CardGroup: ArdoCardGroup,
|
|
78
83
|
Icon: ArdoIcon,
|
|
79
84
|
Tip: ArdoTip,
|
|
80
85
|
Warning: ArdoWarning,
|
package/dist/mdx/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","names":["codeStyles.codeBlock","codeStyles.codeWrapper"],"sources":["../../src/mdx/provider.tsx"],"sourcesContent":["import type { MDXComponents } from \"mdx/types\"\nimport type { AnchorHTMLAttributes, HTMLAttributes, ReactNode } from \"react\"\n\nimport { isValidElement } from \"react\"\nimport { Link } from \"react-router\"\n\nimport { ArdoCodeBlock, ArdoCodeGroup } from \"../ui/components/CodeBlock\"\nimport * as codeStyles from \"../ui/components/CodeBlock.css\"\nimport { ArdoDanger, ArdoInfo, ArdoNote, ArdoTip, ArdoWarning } from \"../ui/components/Container\"\nimport { ArdoCopyButton } from \"../ui/components/CopyButton\"\nimport { ArdoIcon } from \"../ui/components/Icon\"\nimport { ArdoSteps } from \"../ui/components/Steps\"\nimport { ArdoTab, ArdoTabList, ArdoTabPanel, ArdoTabPanels, ArdoTabs } from \"../ui/components/Tabs\"\nimport { ArdoDocContent } from \"../ui/DocPage\"\n\n/**\n * Smart link component that uses React Router for internal links\n * and regular anchor tags for external links.\n */\nfunction SmartLink({\n href,\n children,\n className,\n ...props\n}: AnchorHTMLAttributes<HTMLAnchorElement>) {\n const hrefValue = href ?? \"\"\n const hasHref = hrefValue !== \"\"\n const isExternal = hrefValue.startsWith(\"http\") || hrefValue.startsWith(\"//\")\n const isAnchor = hrefValue.startsWith(\"#\")\n\n if (isExternal) {\n return (\n <a href={href} className={className} target=\"_blank\" rel=\"noopener noreferrer\" {...props}>\n {children}\n </a>\n )\n }\n\n if (isAnchor || !hasHref) {\n return (\n <a href={href} className={className} {...props}>\n {children}\n </a>\n )\n }\n\n // Internal link - use React Router Link for proper basename handling\n return (\n <Link to={hrefValue} className={className} {...props}>\n {children}\n </Link>\n )\n}\n\n/**\n * Extracts text content from React children (for copy button)\n */\nfunction extractTextContent(children: ReactNode): string {\n if (typeof children === \"string\") {\n return children\n }\n if (Array.isArray(children)) {\n return children.map((child: ReactNode) => extractTextContent(child)).join(\"\")\n }\n if (isValidElement<{ children?: ReactNode }>(children)) {\n const nestedChildren = children.props.children\n if (nestedChildren != null) {\n return extractTextContent(nestedChildren)\n }\n }\n return \"\"\n}\n\n/**\n * Code block wrapper with copy button and optional title.\n * Forwards data-label for CodeGroup tab labels.\n */\nfunction PreBlock({\n children,\n \"data-title\": dataTitle,\n \"data-label\": dataLabel,\n ...props\n}: { \"data-title\"?: string; \"data-label\"?: string } & HTMLAttributes<HTMLPreElement>) {\n const code = extractTextContent(children)\n const hasDataTitle = dataTitle != null && dataTitle !== \"\"\n\n return (\n <div className={codeStyles.codeBlock} data-label={dataLabel}>\n {hasDataTitle && <div className={codeStyles.codeTitle}>{dataTitle}</div>}\n <div className={codeStyles.codeWrapper}>\n <pre {...props}>{children}</pre>\n <ArdoCopyButton code={code} />\n </div>\n </div>\n )\n}\n\n/**\n * Provides MDX components for rendering documentation content.\n * Used as the providerImportSource for `@mdx-js/rollup`.\n */\nexport function useMDXComponents(): MDXComponents {\n return {\n // Wrapper for the entire MDX content - renders content + TOC via DocContent.\n // The recma-wrap-export plugin wraps this with ArdoPageDataProvider,\n // which makes frontmatter/toc available to both Content and TOC components.\n wrapper: ({ children }: { children: ReactNode }) => <ArdoDocContent>{children}</ArdoDocContent>,\n\n // MDX element overrides — styled via tag selectors in content.css.ts\n a: SmartLink,\n pre: PreBlock,\n\n // Custom Ardo components available in MDX (mapped as short names)\n Icon: ArdoIcon,\n Tip: ArdoTip,\n Warning: ArdoWarning,\n Danger: ArdoDanger,\n Info: ArdoInfo,\n Note: ArdoNote,\n Steps: ArdoSteps,\n Tabs: ArdoTabs,\n TabList: ArdoTabList,\n Tab: ArdoTab,\n TabPanel: ArdoTabPanel,\n TabPanels: ArdoTabPanels,\n CodeBlock: ArdoCodeBlock,\n CodeGroup: ArdoCodeGroup,\n }\n}\n"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"provider.js","names":["codeStyles.codeBlock","codeStyles.codeWrapper"],"sources":["../../src/mdx/provider.tsx"],"sourcesContent":["import type { MDXComponents } from \"mdx/types\"\nimport type { AnchorHTMLAttributes, HTMLAttributes, ReactNode } from \"react\"\n\nimport { isValidElement } from \"react\"\nimport { Link } from \"react-router\"\n\nimport { ArdoAccordion, ArdoAccordionGroup } from \"../ui/components/Accordion\"\nimport { ArdoBadge } from \"../ui/components/Badge\"\nimport { ArdoCard, ArdoCardGroup } from \"../ui/components/Card\"\nimport { ArdoCodeBlock, ArdoCodeGroup } from \"../ui/components/CodeBlock\"\nimport * as codeStyles from \"../ui/components/CodeBlock.css\"\nimport { ArdoDanger, ArdoInfo, ArdoNote, ArdoTip, ArdoWarning } from \"../ui/components/Container\"\nimport { ArdoCopyButton } from \"../ui/components/CopyButton\"\nimport { ArdoIcon } from \"../ui/components/Icon\"\nimport { ArdoSteps } from \"../ui/components/Steps\"\nimport { ArdoTab, ArdoTabList, ArdoTabPanel, ArdoTabPanels, ArdoTabs } from \"../ui/components/Tabs\"\nimport { ArdoDocContent } from \"../ui/DocPage\"\n\n/**\n * Smart link component that uses React Router for internal links\n * and regular anchor tags for external links.\n */\nfunction SmartLink({\n href,\n children,\n className,\n ...props\n}: AnchorHTMLAttributes<HTMLAnchorElement>) {\n const hrefValue = href ?? \"\"\n const hasHref = hrefValue !== \"\"\n const isExternal = hrefValue.startsWith(\"http\") || hrefValue.startsWith(\"//\")\n const isAnchor = hrefValue.startsWith(\"#\")\n\n if (isExternal) {\n return (\n <a href={href} className={className} target=\"_blank\" rel=\"noopener noreferrer\" {...props}>\n {children}\n </a>\n )\n }\n\n if (isAnchor || !hasHref) {\n return (\n <a href={href} className={className} {...props}>\n {children}\n </a>\n )\n }\n\n // Internal link - use React Router Link for proper basename handling\n return (\n <Link to={hrefValue} className={className} {...props}>\n {children}\n </Link>\n )\n}\n\n/**\n * Extracts text content from React children (for copy button)\n */\nfunction extractTextContent(children: ReactNode): string {\n if (typeof children === \"string\") {\n return children\n }\n if (Array.isArray(children)) {\n return children.map((child: ReactNode) => extractTextContent(child)).join(\"\")\n }\n if (isValidElement<{ children?: ReactNode }>(children)) {\n const nestedChildren = children.props.children\n if (nestedChildren != null) {\n return extractTextContent(nestedChildren)\n }\n }\n return \"\"\n}\n\n/**\n * Code block wrapper with copy button and optional title.\n * Forwards data-label for CodeGroup tab labels.\n */\nfunction PreBlock({\n children,\n \"data-title\": dataTitle,\n \"data-label\": dataLabel,\n ...props\n}: { \"data-title\"?: string; \"data-label\"?: string } & HTMLAttributes<HTMLPreElement>) {\n const code = extractTextContent(children)\n const hasDataTitle = dataTitle != null && dataTitle !== \"\"\n\n return (\n <div className={codeStyles.codeBlock} data-label={dataLabel}>\n {hasDataTitle && <div className={codeStyles.codeTitle}>{dataTitle}</div>}\n <div className={codeStyles.codeWrapper}>\n <pre {...props}>{children}</pre>\n <ArdoCopyButton code={code} />\n </div>\n </div>\n )\n}\n\n/**\n * Provides MDX components for rendering documentation content.\n * Used as the providerImportSource for `@mdx-js/rollup`.\n */\nexport function useMDXComponents(): MDXComponents {\n return {\n // Wrapper for the entire MDX content - renders content + TOC via DocContent.\n // The recma-wrap-export plugin wraps this with ArdoPageDataProvider,\n // which makes frontmatter/toc available to both Content and TOC components.\n wrapper: ({ children }: { children: ReactNode }) => <ArdoDocContent>{children}</ArdoDocContent>,\n\n // MDX element overrides — styled via tag selectors in content.css.ts\n a: SmartLink,\n pre: PreBlock,\n\n // Custom Ardo components available in MDX (mapped as short names)\n Accordion: ArdoAccordion,\n AccordionGroup: ArdoAccordionGroup,\n Badge: ArdoBadge,\n Card: ArdoCard,\n CardGroup: ArdoCardGroup,\n Icon: ArdoIcon,\n Tip: ArdoTip,\n Warning: ArdoWarning,\n Danger: ArdoDanger,\n Info: ArdoInfo,\n Note: ArdoNote,\n Steps: ArdoSteps,\n Tabs: ArdoTabs,\n TabList: ArdoTabList,\n Tab: ArdoTab,\n TabPanel: ArdoTabPanel,\n TabPanels: ArdoTabPanels,\n CodeBlock: ArdoCodeBlock,\n CodeGroup: ArdoCodeGroup,\n }\n}\n"],"mappings":";;;;;;;;;AAsBA,SAAS,UAAU,EACjB,MACA,UACA,WACA,GAAG,SACuC;CAC1C,MAAM,YAAY,QAAQ;CAC1B,MAAM,UAAU,cAAc;CAC9B,MAAM,aAAa,UAAU,WAAW,MAAM,KAAK,UAAU,WAAW,IAAI;CAC5E,MAAM,WAAW,UAAU,WAAW,GAAG;CAEzC,IAAI,YACF,OACE,oBAAC,KAAD;EAAS;EAAiB;EAAW,QAAO;EAAS,KAAI;EAAsB,GAAI;EAChF;CACA,CAAA;CAIP,IAAI,YAAY,CAAC,SACf,OACE,oBAAC,KAAD;EAAS;EAAiB;EAAW,GAAI;EACtC;CACA,CAAA;CAKP,OACE,oBAAC,MAAD;EAAM,IAAI;EAAsB;EAAW,GAAI;EAC5C;CACG,CAAA;AAEV;;;;AAKA,SAAS,mBAAmB,UAA6B;CACvD,IAAI,OAAO,aAAa,UACtB,OAAO;CAET,IAAI,MAAM,QAAQ,QAAQ,GACxB,OAAO,SAAS,KAAK,UAAqB,mBAAmB,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE;CAE9E,IAAI,eAAyC,QAAQ,GAAG;EACtD,MAAM,iBAAiB,SAAS,MAAM;EACtC,IAAI,kBAAkB,MACpB,OAAO,mBAAmB,cAAc;CAE5C;CACA,OAAO;AACT;;;;;AAMA,SAAS,SAAS,EAChB,UACA,cAAc,WACd,cAAc,WACd,GAAG,SACiF;CACpF,MAAM,OAAO,mBAAmB,QAAQ;CAGxC,OACE,qBAAC,OAAD;EAAK,WAAWA;EAAsB,cAAY;YAAlD,CAHmB,aAAa,QAAQ,cAAc,MAInC,oBAAC,OAAD;GAAK,WAAW;aAAuB;EAAe,CAAA,GACvE,qBAAC,OAAD;GAAK,WAAWC;aAAhB,CACE,oBAAC,OAAD;IAAK,GAAI;IAAQ;GAAc,CAAA,GAC/B,oBAAC,gBAAD,EAAsB,KAAO,CAAA,CAC1B;IACF;;AAET;;;;;AAMA,SAAgB,mBAAkC;CAChD,OAAO;EAIL,UAAU,EAAE,eAAwC,oBAAC,gBAAD,EAAiB,SAAyB,CAAA;EAG9F,GAAG;EACH,KAAK;EAGL,WAAW;EACX,gBAAgB;EAChB,OAAO;EACP,MAAM;EACN,WAAW;EACX,MAAM;EACN,KAAK;EACL,SAAS;EACT,QAAQ;EACR,MAAM;EACN,MAAM;EACN,OAAO;EACP,MAAM;EACN,SAAS;EACT,KAAK;EACL,UAAU;EACV,WAAW;EACX,WAAW;EACX,WAAW;CACb;AACF"}
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ArdoProvider, c as useArdoConfig, d as useArdoSidebar, f as useArdoSiteConfig, i as ArdoPageDataProvider, l as useArdoContext, n as getPrevNextLinks, o as ArdoSiteConfig, p as useArdoTOC, r as ArdoContext, s as ArdoSiteConfigProvider, t as findCurrentSidebarItem, u as useArdoPageData } from "../index-
|
|
2
|
-
export { ArdoContext, ArdoPageDataProvider, ArdoProvider, ArdoSiteConfig, ArdoSiteConfigProvider, findCurrentSidebarItem, getPrevNextLinks, useArdoConfig, useArdoContext, useArdoPageData, useArdoSidebar, useArdoSiteConfig, useArdoTOC };
|
|
1
|
+
import { a as ArdoProvider, c as useArdoConfig, d as useArdoSidebar, f as useArdoSiteConfig, i as ArdoPageDataProvider, l as useArdoContext, n as getPrevNextLinks, o as ArdoSiteConfig, p as useArdoTOC, r as ArdoContext, s as ArdoSiteConfigProvider, t as findCurrentSidebarItem, u as useArdoPageData } from "../index-BSWG2TdH.js";
|
|
2
|
+
export { ArdoContext, ArdoPageDataProvider, ArdoProvider, type ArdoSiteConfig, ArdoSiteConfigProvider, findCurrentSidebarItem, getPrevNextLinks, useArdoConfig, useArdoContext, useArdoPageData, useArdoSidebar, useArdoSiteConfig, useArdoTOC };
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ArdoProvider, c as useArdoContext, d as useArdoSidebar, f as useArdoSiteConfig, i as ArdoPageDataProvider, n as getPrevNextLinks, o as ArdoSiteConfigProvider, p as useArdoTOC, r as ArdoContext, s as useArdoConfig, t as findCurrentSidebarItem, u as useArdoPageData } from "../sidebar-utils-
|
|
1
|
+
import { a as ArdoProvider, c as useArdoContext, d as useArdoSidebar, f as useArdoSiteConfig, i as ArdoPageDataProvider, n as getPrevNextLinks, o as ArdoSiteConfigProvider, p as useArdoTOC, r as ArdoContext, s as useArdoConfig, t as findCurrentSidebarItem, u as useArdoPageData } from "../sidebar-utils-tTBVAPLE.js";
|
|
2
2
|
export { ArdoContext, ArdoPageDataProvider, ArdoProvider, ArdoSiteConfigProvider, findCurrentSidebarItem, getPrevNextLinks, useArdoConfig, useArdoContext, useArdoPageData, useArdoSidebar, useArdoSiteConfig, useArdoTOC };
|
|
@@ -117,4 +117,4 @@ function flattenSidebar(sidebar) {
|
|
|
117
117
|
//#endregion
|
|
118
118
|
export { ArdoProvider as a, useArdoContext as c, useArdoSidebar as d, useArdoSiteConfig as f, ArdoPageDataProvider as i, useArdoContexts as l, getPrevNextLinks as n, ArdoSiteConfigProvider as o, useArdoTOC as p, ArdoContext as r, useArdoConfig as s, findCurrentSidebarItem as t, useArdoPageData as u };
|
|
119
119
|
|
|
120
|
-
//# sourceMappingURL=sidebar-utils-
|
|
120
|
+
//# sourceMappingURL=sidebar-utils-tTBVAPLE.js.map
|