boltdocs 3.3.6 → 3.4.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/dist/{adapters-BKzKe2mO.mjs → adapters-BXiBWAKs.mjs} +1 -1
- package/dist/{adapters-DwDTQoCG.cjs → adapters-Czl3WtQt.cjs} +1 -1
- package/dist/{build-CxT38vPv.cjs → build-CNkXRdk8.cjs} +1 -1
- package/dist/{build-BJnL-FHG.mjs → build-CqUBsXVC.mjs} +1 -1
- package/dist/client/index.cjs +223 -51
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +226 -56
- package/dist/client/mdx.cjs +1 -1
- package/dist/client/mdx.js +1 -1
- package/dist/client/primitives.cjs +5 -5
- package/dist/client/primitives.d.cts +53 -34
- package/dist/client/primitives.d.ts +62 -43
- package/dist/client/primitives.js +4 -4
- package/dist/client/router.cjs +1 -1
- package/dist/client/router.d.cts +1 -1
- package/dist/client/router.d.ts +1 -1
- package/dist/client/router.js +1 -1
- package/dist/client/theme/reset.css +41 -0
- package/dist/{config-BJp3lGzE.cjs → config-B3SEoVjG.cjs} +2 -2
- package/dist/{config-BC_qhXws.cjs → config-Bfakeadu.cjs} +1 -1
- package/dist/{config-B3_iVsbi.mjs → config-CTcfF-0c.mjs} +2 -2
- package/dist/dev-D1DmOSjn.mjs +6 -0
- package/dist/dev-DH6cSge8.cjs +6 -0
- package/dist/{docs-layout-D3Fmb0Wd.js → docs-layout-CmntYM6p.js} +33 -33
- package/dist/{docs-layout-SgphExoE.cjs → docs-layout-DIgxJ5c7.cjs} +9 -9
- package/dist/{doctor-BqxOFRt3.cjs → doctor-BLxm2alc.cjs} +1 -1
- package/dist/{doctor-TS3JGNEU.cjs → doctor-Dd-JMTRo.cjs} +1 -1
- package/dist/{doctor-Cv5lXnay.mjs → doctor-DogHujrP.mjs} +1 -1
- package/dist/{image-Bkx85rsq.cjs → image-Bke2ojW1.cjs} +3 -3
- package/dist/{image-BAiDReNd.js → image-CaY2w0ua.js} +2 -1
- package/dist/index--xbYbT8N.d.ts +343 -0
- package/dist/{index-B1Mx0dHl.d.ts → index-B_o5y34l.d.cts} +89 -10
- package/dist/{index-DLaHgD-i.d.cts → index-Bx0CUd7Q.d.ts} +89 -10
- package/dist/index-RK7W_Fxy.d.cts +343 -0
- package/dist/{link-q1qHNGK_.js → link-CSe_oD8Y.js} +86 -113
- package/dist/{link-hLWOsx0x.cjs → link-Xb69Oy2F.cjs} +87 -143
- package/dist/{mdx-Qi0DmaY8.cjs → mdx-BCOrMd-P.cjs} +68 -16
- package/dist/{mdx-CJGWzBGy.js → mdx-BijiEbkp.js} +62 -15
- package/dist/{native-nLA4Jr0T.cjs → native-BbtRkce5.cjs} +1 -1
- package/dist/node/cli-entry.cjs +1 -1
- package/dist/node/cli-entry.mjs +1 -1
- package/dist/node/highlight.d.cts +2 -2
- package/dist/node/highlight.d.mts +2 -2
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +18 -39
- package/dist/node/index.d.mts +19 -40
- package/dist/node/index.mjs +1 -1
- package/dist/node/mdx/shiki-adapter.d.cts +1 -1
- package/dist/node/mdx/shiki-adapter.d.mts +1 -1
- package/dist/node-BgiLCa0I.cjs +39 -0
- package/dist/node-Da3tYBHo.mjs +39 -0
- package/dist/{package-Bah2tHjK.cjs → package-D1gVs5gQ.cjs} +1 -1
- package/dist/{package-D6bf68FR.mjs → package-YgQJn3Yh.mjs} +1 -1
- package/dist/pages-external-B_r6gvqP.cjs +6 -0
- package/dist/pages-external-jmK7AHaO.mjs +6 -0
- package/dist/{parser-CD8Oo8qh.mjs → parser-CvNZc5s3.mjs} +1 -1
- package/dist/{parser-vPaKvzLp.cjs → parser-DJLWTiO-.cjs} +1 -1
- package/dist/plugin-DW9K2fW5.mjs +69 -0
- package/dist/plugin-NwGKyTJX.cjs +69 -0
- package/dist/{plugin-context-b5qVVQSU.mjs → plugin-context-COh-cbsW.mjs} +1 -1
- package/dist/{plugin-context-BZs5lvDu.cjs → plugin-context-FIHaWn6r.cjs} +1 -1
- package/dist/{plugin-lifecycle-s89gzTlh.cjs → plugin-lifecycle-D9fTRaWY.cjs} +1 -1
- package/dist/{registry-B8pt41zj.d.cts → registry-BFmzj1yg.d.mts} +1 -1
- package/dist/{registry-BrrH2X9c.d.mts → registry-BoswPzYV.d.cts} +1 -1
- package/dist/{resolve-C5rT6B21.mjs → resolve-5puUe7eS.mjs} +1 -1
- package/dist/{resolve-BelytNYR.cjs → resolve-CF4ZLfqx.cjs} +1 -1
- package/dist/route-paths-B6ocUfNY.cjs +6 -0
- package/dist/route-paths-DyDji4bX.mjs +6 -0
- package/dist/{router-CZBxMRAH.js → router-B5e8k4qK.js} +175 -10
- package/dist/{router-C3kygdRK.cjs → router-DKC0Lu0n.cjs} +204 -9
- package/dist/{routes-Dq_2EUIB.cjs → routes-D55M8UrH.cjs} +1 -1
- package/dist/{routes-CzhKOw67.cjs → routes-DdE6Lfcl.cjs} +1 -1
- package/dist/{routes-Dw6g0bfF.mjs → routes-_I_8PQYF.mjs} +1 -1
- package/dist/{search-dialog-CguKVtUu.cjs → search-dialog-BOQRHKTb.cjs} +53 -20
- package/dist/{search-dialog-mYnqU4v7.js → search-dialog-BXil4_7P.js} +57 -24
- package/dist/{search-dialog-BYZS9aeO.cjs → search-dialog-CwlBd-Mu.cjs} +5 -5
- package/dist/{search-dialog-DQwod5Xc.js → search-dialog-D3Obh3eA.js} +1 -1
- package/dist/{search-dialog-DzObE-Ar.js → search-dialog-DeplpVEB.js} +3 -3
- package/dist/{search-dialog-QgKRRbsI.cjs → search-dialog-cHXR5zhL.cjs} +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.mjs +1 -1
- package/dist/ssg-static-options-Br1_u9qp.mjs +6 -0
- package/dist/ssg-static-options-CVvGKM8i.cjs +6 -0
- package/dist/types-58Ac3UGI.d.cts +114 -0
- package/dist/types-BwnGf-1E.d.mts +114 -0
- package/dist/{virtual-modules-C3S3Nz8r.cjs → virtual-modules-C4-qxFlL.cjs} +1 -1
- package/dist/{virtual-modules-CaxqrFd6.mjs → virtual-modules-DiWUKJGP.mjs} +1 -1
- package/package.json +5 -3
- package/src/shared/types.ts +133 -987
- package/dist/dev-46NiL0MC.cjs +0 -6
- package/dist/dev-C4kjO5xs.mjs +0 -6
- package/dist/index-CgWkOCCn.d.cts +0 -1193
- package/dist/index-CuNSD3E2.d.ts +0 -1193
- package/dist/node-7Cfw6nMr.cjs +0 -23
- package/dist/node-CT2E84nY.mjs +0 -23
- package/dist/pages-external-BBw8ObVK.mjs +0 -6
- package/dist/pages-external-DPiPFxxP.cjs +0 -6
- package/dist/plugin-AgNI3ktz.cjs +0 -69
- package/dist/plugin-BAv_pYLt.mjs +0 -69
- package/dist/types-74i_xUe2.d.mts +0 -975
- package/dist/types-X_Pwk8Cg.d.cts +0 -975
- /package/dist/{audit-CMc_ydRr.mjs → audit-CYAkXXvP.mjs} +0 -0
- /package/dist/{audit-CHkGiV3c.cjs → audit-DxCZZTuX.cjs} +0 -0
- /package/dist/{csp-BiGAG8aF.cjs → csp-B-gc2Iha.cjs} +0 -0
- /package/dist/{csp-D0BOH8ae.mjs → csp-f8DOcI_7.mjs} +0 -0
- /package/dist/{generator-BCrZL53x.cjs → generator-CBAPKY6r.cjs} +0 -0
- /package/dist/{generator-CFukoGa0.mjs → generator-MRpn-yp6.mjs} +0 -0
- /package/dist/{handler-Lex5DbvG.mjs → handler-DBZqoWt2.mjs} +0 -0
- /package/dist/{handler-Ch-Q9NAB.cjs → handler-ryZR9Q41.cjs} +0 -0
- /package/dist/{index-HAwIo4nZ.d.mts → index-CPr34I2C.d.mts} +0 -0
- /package/dist/{native-BYKMke79.mjs → native-DZ6WMwjG.mjs} +0 -0
- /package/dist/{native-BOet8hpE.cjs → native-DeKxny_T.cjs} +0 -0
- /package/dist/{update-check-BXD1atVv.mjs → update-check-BXx8te9F.mjs} +0 -0
- /package/dist/{update-check-DFQZyoSU.cjs → update-check-CiIeC7CX.cjs} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { ft as BoltdocsRoutePathWithFallback } from "../index-
|
|
3
|
-
import { $ as SidebarItem, J as Sidebar, Q as SidebarHeader, X as SidebarGroup, Y as SidebarContent, Z as SidebarGroupRenderProps, at as SidebarLinkProps, ct as SidebarSlots, et as SidebarItemProps, it as SidebarLink, lt as SidebarSubGroup, nt as SidebarItems, ot as SidebarMobile,
|
|
2
|
+
import { ft as BoltdocsRoutePathWithFallback } from "../index-RK7W_Fxy.cjs";
|
|
3
|
+
import { $ as SidebarItem, J as Sidebar, Q as SidebarHeader, X as SidebarGroup, Y as SidebarContent, Yt as NavbarLink$1, Z as SidebarGroupRenderProps, at as SidebarLinkProps, ct as SidebarSlots, et as SidebarItemProps, it as SidebarLink, lt as SidebarSubGroup, nt as SidebarItems, ot as SidebarMobile, rt as SidebarItemsProps, st as SidebarRoot, tt as SidebarItemRenderProps, ut as ComponentBase } from "../index-B_o5y34l.cjs";
|
|
4
4
|
import { a as CalloutRoot, c as CalloutTitleProps, i as CalloutProps, l as CalloutVariant, n as CalloutBody, o as CalloutRootProps, r as CalloutIcon, s as CalloutTitle, t as Callout } from "../callout-plqx9Dw-.cjs";
|
|
5
5
|
import * as _$react from "react";
|
|
6
|
-
import { CSSProperties, Component, ComponentProps, ComponentType, ErrorInfo, FC, HTMLAttributes, ImgHTMLAttributes, ReactNode, Ref, RefObject } from "react";
|
|
6
|
+
import React$1, { CSSProperties, Component, ComponentProps, ComponentType, ErrorInfo, FC, HTMLAttributes, ImgHTMLAttributes, ReactNode, Ref, RefObject } from "react";
|
|
7
7
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
8
8
|
import * as RAC from "react-aria-components";
|
|
9
|
-
import { PopoverProps as PopoverProps$1 } from "react-aria-components";
|
|
9
|
+
import { AutocompleteProps, ButtonProps as ButtonProps$1, DialogProps, InputProps, ListBoxItemProps, ListBoxProps, MenuItemProps, MenuProps, MenuSectionProps as MenuSectionProps$1, MenuTriggerProps as MenuTriggerProps$1, ModalOverlayProps, PopoverProps as PopoverProps$1, SearchFieldProps, SeparatorProps, SubmenuTriggerProps as SubmenuTriggerProps$1 } from "react-aria-components";
|
|
10
10
|
|
|
11
11
|
//#region src/client/components/primitives/docs-layout.d.ts
|
|
12
12
|
interface SlotProps {
|
|
@@ -473,18 +473,25 @@ declare namespace Tooltip {
|
|
|
473
473
|
}
|
|
474
474
|
//#endregion
|
|
475
475
|
//#region src/client/components/primitives/link.d.ts
|
|
476
|
-
interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
476
|
+
interface LinkProps extends Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
477
477
|
href?: BoltdocsRoutePathWithFallback;
|
|
478
478
|
/** Alias for href, supported for React Router-style collection components. */
|
|
479
479
|
to?: BoltdocsRoutePathWithFallback;
|
|
480
|
-
/**
|
|
481
|
-
|
|
480
|
+
/**
|
|
481
|
+
* When to warm the destination's route chunk and loader data.
|
|
482
|
+
*
|
|
483
|
+
* - `hover` — on pointer enter or keyboard focus. Default.
|
|
484
|
+
* - `viewport` — also as soon as the link is about to be scrolled into view,
|
|
485
|
+
* so readers who scroll and click never wait. Implies hover.
|
|
486
|
+
* - `none` — never prefetch.
|
|
487
|
+
*/
|
|
488
|
+
prefetch?: 'hover' | 'viewport' | 'none';
|
|
482
489
|
/** Wrap local navigation in the experimental View Transition API. */
|
|
483
490
|
transition?: boolean;
|
|
484
491
|
/** Native transition types for this link. */
|
|
485
492
|
transitionTypes?: string[];
|
|
486
493
|
/** Ref to the rendered anchor element. */
|
|
487
|
-
ref?: React.Ref<HTMLAnchorElement>;
|
|
494
|
+
ref?: React$1.Ref<HTMLAnchorElement>;
|
|
488
495
|
/** Arbitrary `data-*` state attributes (e.g. `data-active`, `data-depth`). */
|
|
489
496
|
[key: `data-${string}`]: string | number | boolean | undefined;
|
|
490
497
|
}
|
|
@@ -510,9 +517,9 @@ interface NavLinkProps extends Omit<LinkProps, 'className' | 'children'> {
|
|
|
510
517
|
/**
|
|
511
518
|
* Provides access to the active state for conditional children rendering.
|
|
512
519
|
*/
|
|
513
|
-
children?: React.ReactNode | ((props: {
|
|
520
|
+
children?: React$1.ReactNode | ((props: {
|
|
514
521
|
isActive: boolean;
|
|
515
|
-
}) => React.ReactNode);
|
|
522
|
+
}) => React$1.ReactNode);
|
|
516
523
|
/**
|
|
517
524
|
* Provides access to the active state for conditional styling.
|
|
518
525
|
*/
|
|
@@ -610,7 +617,7 @@ declare function Image({
|
|
|
610
617
|
/**
|
|
611
618
|
* MenuTrigger wraps a trigger (usually a Button) and a Menu.
|
|
612
619
|
*/
|
|
613
|
-
interface MenuTriggerProps extends
|
|
620
|
+
interface MenuTriggerProps extends MenuTriggerProps$1 {
|
|
614
621
|
placement?: PopoverProps['placement'];
|
|
615
622
|
className?: string;
|
|
616
623
|
}
|
|
@@ -622,7 +629,7 @@ declare function MenuTrigger({
|
|
|
622
629
|
/**
|
|
623
630
|
* SubmenuTrigger for nested menus.
|
|
624
631
|
*/
|
|
625
|
-
interface SubmenuTriggerProps extends
|
|
632
|
+
interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
626
633
|
className?: string;
|
|
627
634
|
}
|
|
628
635
|
declare function SubmenuTrigger({
|
|
@@ -632,7 +639,7 @@ declare function SubmenuTrigger({
|
|
|
632
639
|
/**
|
|
633
640
|
* The Menu container.
|
|
634
641
|
*/
|
|
635
|
-
declare function Menu<T extends object>(props:
|
|
642
|
+
declare function Menu<T extends object>(props: MenuProps<T>): _$react_jsx_runtime0.JSX.Element;
|
|
636
643
|
declare namespace Menu {
|
|
637
644
|
var Root: typeof Menu;
|
|
638
645
|
var Item: typeof MenuItem;
|
|
@@ -644,7 +651,7 @@ declare namespace Menu {
|
|
|
644
651
|
/**
|
|
645
652
|
* MenuItem with support for selection states and submenus.
|
|
646
653
|
*/
|
|
647
|
-
declare function MenuItem(props:
|
|
654
|
+
declare function MenuItem(props: MenuItemProps & {
|
|
648
655
|
/** Class name for the content row. */contentClassName?: string; /** Class name for the multi-select check slot. */
|
|
649
656
|
checkClassName?: string; /** Class name for the submenu chevron. */
|
|
650
657
|
chevronClassName?: string; /** Custom multi-select check indicator. Replaces the default check. */
|
|
@@ -654,7 +661,7 @@ declare function MenuItem(props: RAC.MenuItemProps & {
|
|
|
654
661
|
/**
|
|
655
662
|
* MenuSection for grouping items with an optional header.
|
|
656
663
|
*/
|
|
657
|
-
interface MenuSectionProps<T> extends
|
|
664
|
+
interface MenuSectionProps<T> extends MenuSectionProps$1<T> {
|
|
658
665
|
title?: string;
|
|
659
666
|
headerClassName?: string;
|
|
660
667
|
}
|
|
@@ -666,7 +673,7 @@ declare function MenuSection<T extends object>({
|
|
|
666
673
|
/**
|
|
667
674
|
* MenuSeparator for visual division.
|
|
668
675
|
*/
|
|
669
|
-
declare function MenuSeparator(props:
|
|
676
|
+
declare function MenuSeparator(props: SeparatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
670
677
|
//#endregion
|
|
671
678
|
//#region src/client/components/primitives/page-nav.d.ts
|
|
672
679
|
interface PageNavProps extends ComponentBase {
|
|
@@ -704,7 +711,7 @@ declare function PageNavIcon({
|
|
|
704
711
|
}: ComponentBase): _$react_jsx_runtime0.JSX.Element;
|
|
705
712
|
//#endregion
|
|
706
713
|
//#region src/client/components/primitives/search-dialog.d.ts
|
|
707
|
-
interface SearchDialogItemProps extends Omit<
|
|
714
|
+
interface SearchDialogItemProps extends Omit<ListBoxItemProps, 'children'> {
|
|
708
715
|
className?: string;
|
|
709
716
|
children: React.ReactNode;
|
|
710
717
|
/** Class name for the focused/selected "Select" hint. */
|
|
@@ -725,12 +732,12 @@ interface SearchDialogItemIconProps {
|
|
|
725
732
|
icon?: React.ReactNode;
|
|
726
733
|
}
|
|
727
734
|
/**
|
|
728
|
-
* Pure, unstyled SearchDialog Overlay (maps to
|
|
735
|
+
* Pure, unstyled SearchDialog Overlay (maps to ModalOverlay)
|
|
729
736
|
*/
|
|
730
737
|
declare function SearchDialog({
|
|
731
738
|
className,
|
|
732
739
|
...props
|
|
733
|
-
}:
|
|
740
|
+
}: ModalOverlayProps): _$react_jsx_runtime0.JSX.Element;
|
|
734
741
|
declare namespace SearchDialog {
|
|
735
742
|
var Root: typeof SearchDialog;
|
|
736
743
|
var Overlay: typeof SearchDialog;
|
|
@@ -749,65 +756,65 @@ declare namespace SearchDialog {
|
|
|
749
756
|
};
|
|
750
757
|
}
|
|
751
758
|
/**
|
|
752
|
-
* Pure, unstyled SearchDialog Content (maps to
|
|
759
|
+
* Pure, unstyled SearchDialog Content (maps to Modal)
|
|
753
760
|
*/
|
|
754
761
|
declare function SearchDialogContent({
|
|
755
762
|
className,
|
|
756
763
|
...props
|
|
757
|
-
}:
|
|
764
|
+
}: ModalOverlayProps): _$react_jsx_runtime0.JSX.Element;
|
|
758
765
|
/**
|
|
759
|
-
* Pure, unstyled SearchDialog Dialog (maps to
|
|
766
|
+
* Pure, unstyled SearchDialog Dialog (maps to Dialog)
|
|
760
767
|
*/
|
|
761
768
|
declare function SearchDialogDialog({
|
|
762
769
|
children,
|
|
763
770
|
className,
|
|
764
771
|
...props
|
|
765
|
-
}:
|
|
772
|
+
}: DialogProps): _$react_jsx_runtime0.JSX.Element;
|
|
766
773
|
/**
|
|
767
|
-
* Pure, unstyled SearchDialog Input Field (maps to
|
|
774
|
+
* Pure, unstyled SearchDialog Input Field (maps to SearchField)
|
|
768
775
|
*/
|
|
769
776
|
declare function SearchDialogField({
|
|
770
777
|
className,
|
|
771
778
|
...props
|
|
772
|
-
}:
|
|
779
|
+
}: SearchFieldProps): _$react_jsx_runtime0.JSX.Element;
|
|
773
780
|
/**
|
|
774
|
-
* Pure, unstyled SearchInput (maps to
|
|
781
|
+
* Pure, unstyled SearchInput (maps to Input)
|
|
775
782
|
*/
|
|
776
783
|
declare function SearchDialogSearchInput({
|
|
777
784
|
className,
|
|
778
785
|
...props
|
|
779
|
-
}:
|
|
786
|
+
}: InputProps): _$react_jsx_runtime0.JSX.Element;
|
|
780
787
|
/**
|
|
781
|
-
* Pure, unstyled Clear Button (maps to
|
|
788
|
+
* Pure, unstyled Clear Button (maps to Button with slot="clear")
|
|
782
789
|
*/
|
|
783
790
|
declare function SearchDialogClearButton({
|
|
784
791
|
className,
|
|
785
792
|
...props
|
|
786
|
-
}:
|
|
793
|
+
}: ButtonProps$1): _$react_jsx_runtime0.JSX.Element;
|
|
787
794
|
/**
|
|
788
|
-
* Pure, unstyled Autocomplete container (maps to
|
|
795
|
+
* Pure, unstyled Autocomplete container (maps to Autocomplete)
|
|
789
796
|
*/
|
|
790
797
|
declare function SearchDialogAutocomplete<T extends object>({
|
|
791
798
|
children,
|
|
792
799
|
className,
|
|
793
800
|
innerClassName,
|
|
794
801
|
...props
|
|
795
|
-
}:
|
|
802
|
+
}: AutocompleteProps<T> & {
|
|
796
803
|
className?: string;
|
|
797
804
|
innerClassName?: string;
|
|
798
805
|
}): _$react_jsx_runtime0.JSX.Element;
|
|
799
806
|
/**
|
|
800
|
-
* Pure, unstyled List Box (maps to
|
|
807
|
+
* Pure, unstyled List Box (maps to ListBox)
|
|
801
808
|
*/
|
|
802
809
|
declare function SearchDialogList<T extends object>({
|
|
803
810
|
children,
|
|
804
811
|
className,
|
|
805
812
|
...props
|
|
806
|
-
}:
|
|
813
|
+
}: ListBoxProps<T> & {
|
|
807
814
|
className?: string;
|
|
808
815
|
}): _$react_jsx_runtime0.JSX.Element;
|
|
809
816
|
/**
|
|
810
|
-
* Pure, unstyled List Box Item (maps to
|
|
817
|
+
* Pure, unstyled List Box Item (maps to ListBoxItem)
|
|
811
818
|
*/
|
|
812
819
|
declare function SearchDialogItemRoot({
|
|
813
820
|
children,
|
|
@@ -886,12 +893,20 @@ interface NavbarLinkProps extends Omit<ComponentBase, 'children'> {
|
|
|
886
893
|
}
|
|
887
894
|
interface NavbarLogoProps extends Omit<ComponentBase, 'children'> {
|
|
888
895
|
src: string;
|
|
896
|
+
/** Source used while the `dark` class is absent from `<html>`. */
|
|
897
|
+
srcLight?: string;
|
|
898
|
+
/** Source used while the `dark` class is present on `<html>`. */
|
|
899
|
+
srcDark?: string | null;
|
|
889
900
|
alt: string;
|
|
890
901
|
width?: number;
|
|
891
902
|
height?: number;
|
|
892
903
|
href?: BoltdocsRoutePathWithFallback;
|
|
893
904
|
/** Class name for the logo `<img>` element. */
|
|
894
905
|
logoClassName?: string;
|
|
906
|
+
/** Class name for the light-theme logo `<img>`, when two are rendered. */
|
|
907
|
+
logoLightClassName?: string;
|
|
908
|
+
/** Class name for the dark-theme logo `<img>`, when two are rendered. */
|
|
909
|
+
logoDarkClassName?: string;
|
|
895
910
|
}
|
|
896
911
|
interface NavbarSearchTriggerProps extends ComponentBase {
|
|
897
912
|
onPress: () => void;
|
|
@@ -955,11 +970,15 @@ declare function NavbarCenter({
|
|
|
955
970
|
}: ComponentBase): _$react_jsx_runtime0.JSX.Element;
|
|
956
971
|
declare function NavbarLogo({
|
|
957
972
|
src,
|
|
973
|
+
srcLight,
|
|
974
|
+
srcDark,
|
|
958
975
|
alt,
|
|
959
976
|
width,
|
|
960
977
|
height,
|
|
961
978
|
className,
|
|
962
979
|
logoClassName,
|
|
980
|
+
logoLightClassName,
|
|
981
|
+
logoDarkClassName,
|
|
963
982
|
href
|
|
964
983
|
}: NavbarLogoProps): _$react_jsx_runtime0.JSX.Element;
|
|
965
984
|
declare function NavbarTitle({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { ft as BoltdocsRoutePathWithFallback } from "../index
|
|
3
|
-
import { $ as SidebarItem, J as Sidebar, Q as SidebarHeader, X as SidebarGroup, Y as SidebarContent, Z as SidebarGroupRenderProps, at as SidebarLinkProps, ct as SidebarSlots, et as SidebarItemProps, it as SidebarLink, lt as SidebarSubGroup, nt as SidebarItems, ot as SidebarMobile,
|
|
2
|
+
import { ft as BoltdocsRoutePathWithFallback } from "../index--xbYbT8N.js";
|
|
3
|
+
import { $ as SidebarItem, J as Sidebar, Q as SidebarHeader, X as SidebarGroup, Y as SidebarContent, Yt as NavbarLink$1, Z as SidebarGroupRenderProps, at as SidebarLinkProps, ct as SidebarSlots, et as SidebarItemProps, it as SidebarLink, lt as SidebarSubGroup, nt as SidebarItems, ot as SidebarMobile, rt as SidebarItemsProps, st as SidebarRoot, tt as SidebarItemRenderProps, ut as ComponentBase } from "../index-Bx0CUd7Q.js";
|
|
4
4
|
import { a as CalloutRoot, c as CalloutTitleProps, i as CalloutProps, l as CalloutVariant, n as CalloutBody, o as CalloutRootProps, r as CalloutIcon, s as CalloutTitle, t as Callout } from "../callout-oI_LCbxS.js";
|
|
5
5
|
import * as _$react from "react";
|
|
6
|
-
import { CSSProperties, Component, ComponentProps, ComponentType, ErrorInfo, FC, HTMLAttributes, ImgHTMLAttributes, ReactNode, Ref, RefObject } from "react";
|
|
6
|
+
import React$1, { CSSProperties, Component, ComponentProps, ComponentType, ErrorInfo, FC, HTMLAttributes, ImgHTMLAttributes, ReactNode, Ref, RefObject } from "react";
|
|
7
7
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
8
8
|
import * as RAC from "react-aria-components";
|
|
9
|
-
import { PopoverProps as PopoverProps$1 } from "react-aria-components";
|
|
9
|
+
import { AutocompleteProps, ButtonProps as ButtonProps$1, DialogProps, InputProps, ListBoxItemProps, ListBoxProps, MenuItemProps, MenuProps, MenuSectionProps as MenuSectionProps$1, MenuTriggerProps as MenuTriggerProps$1, ModalOverlayProps, PopoverProps as PopoverProps$1, SearchFieldProps, SeparatorProps, SubmenuTriggerProps as SubmenuTriggerProps$1 } from "react-aria-components";
|
|
10
10
|
|
|
11
11
|
//#region src/client/components/primitives/docs-layout.d.ts
|
|
12
12
|
interface SlotProps {
|
|
@@ -39,7 +39,7 @@ declare function ContentMdx({
|
|
|
39
39
|
contentClassName,
|
|
40
40
|
contentStyle
|
|
41
41
|
}: ContentMdxProps): _$react_jsx_runtime0.JSX.Element;
|
|
42
|
-
declare function Header({
|
|
42
|
+
declare function Header$1({
|
|
43
43
|
children,
|
|
44
44
|
className,
|
|
45
45
|
style
|
|
@@ -48,7 +48,7 @@ interface DocsLayoutComponent extends FC<SlotProps> {
|
|
|
48
48
|
Body: typeof Body;
|
|
49
49
|
Content: typeof Content;
|
|
50
50
|
ContentMdx: typeof ContentMdx;
|
|
51
|
-
Header: typeof Header;
|
|
51
|
+
Header: typeof Header$1;
|
|
52
52
|
}
|
|
53
53
|
declare const DocsLayout: DocsLayoutComponent;
|
|
54
54
|
//#endregion
|
|
@@ -473,18 +473,25 @@ declare namespace Tooltip {
|
|
|
473
473
|
}
|
|
474
474
|
//#endregion
|
|
475
475
|
//#region src/client/components/primitives/link.d.ts
|
|
476
|
-
interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
476
|
+
interface LinkProps extends Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
477
477
|
href?: BoltdocsRoutePathWithFallback;
|
|
478
478
|
/** Alias for href, supported for React Router-style collection components. */
|
|
479
479
|
to?: BoltdocsRoutePathWithFallback;
|
|
480
|
-
/**
|
|
481
|
-
|
|
480
|
+
/**
|
|
481
|
+
* When to warm the destination's route chunk and loader data.
|
|
482
|
+
*
|
|
483
|
+
* - `hover` — on pointer enter or keyboard focus. Default.
|
|
484
|
+
* - `viewport` — also as soon as the link is about to be scrolled into view,
|
|
485
|
+
* so readers who scroll and click never wait. Implies hover.
|
|
486
|
+
* - `none` — never prefetch.
|
|
487
|
+
*/
|
|
488
|
+
prefetch?: 'hover' | 'viewport' | 'none';
|
|
482
489
|
/** Wrap local navigation in the experimental View Transition API. */
|
|
483
490
|
transition?: boolean;
|
|
484
491
|
/** Native transition types for this link. */
|
|
485
492
|
transitionTypes?: string[];
|
|
486
493
|
/** Ref to the rendered anchor element. */
|
|
487
|
-
ref?: React.Ref<HTMLAnchorElement>;
|
|
494
|
+
ref?: React$1.Ref<HTMLAnchorElement>;
|
|
488
495
|
/** Arbitrary `data-*` state attributes (e.g. `data-active`, `data-depth`). */
|
|
489
496
|
[key: `data-${string}`]: string | number | boolean | undefined;
|
|
490
497
|
}
|
|
@@ -510,9 +517,9 @@ interface NavLinkProps extends Omit<LinkProps, 'className' | 'children'> {
|
|
|
510
517
|
/**
|
|
511
518
|
* Provides access to the active state for conditional children rendering.
|
|
512
519
|
*/
|
|
513
|
-
children?: React.ReactNode | ((props: {
|
|
520
|
+
children?: React$1.ReactNode | ((props: {
|
|
514
521
|
isActive: boolean;
|
|
515
|
-
}) => React.ReactNode);
|
|
522
|
+
}) => React$1.ReactNode);
|
|
516
523
|
/**
|
|
517
524
|
* Provides access to the active state for conditional styling.
|
|
518
525
|
*/
|
|
@@ -610,11 +617,11 @@ declare function Image({
|
|
|
610
617
|
/**
|
|
611
618
|
* MenuTrigger wraps a trigger (usually a Button) and a Menu.
|
|
612
619
|
*/
|
|
613
|
-
interface MenuTriggerProps extends
|
|
620
|
+
interface MenuTriggerProps extends MenuTriggerProps$1 {
|
|
614
621
|
placement?: PopoverProps['placement'];
|
|
615
622
|
className?: string;
|
|
616
623
|
}
|
|
617
|
-
declare function MenuTrigger({
|
|
624
|
+
declare function MenuTrigger$1({
|
|
618
625
|
placement,
|
|
619
626
|
className,
|
|
620
627
|
...props
|
|
@@ -622,29 +629,29 @@ declare function MenuTrigger({
|
|
|
622
629
|
/**
|
|
623
630
|
* SubmenuTrigger for nested menus.
|
|
624
631
|
*/
|
|
625
|
-
interface SubmenuTriggerProps extends
|
|
632
|
+
interface SubmenuTriggerProps extends SubmenuTriggerProps$1 {
|
|
626
633
|
className?: string;
|
|
627
634
|
}
|
|
628
|
-
declare function SubmenuTrigger({
|
|
635
|
+
declare function SubmenuTrigger$1({
|
|
629
636
|
className,
|
|
630
637
|
...props
|
|
631
638
|
}: SubmenuTriggerProps): _$react_jsx_runtime0.JSX.Element;
|
|
632
639
|
/**
|
|
633
640
|
* The Menu container.
|
|
634
641
|
*/
|
|
635
|
-
declare function Menu<T extends object>(props:
|
|
642
|
+
declare function Menu<T extends object>(props: MenuProps<T>): _$react_jsx_runtime0.JSX.Element;
|
|
636
643
|
declare namespace Menu {
|
|
637
644
|
var Root: typeof Menu;
|
|
638
|
-
var Item: typeof MenuItem;
|
|
639
|
-
var Trigger: typeof MenuTrigger;
|
|
640
|
-
var SubTrigger: typeof SubmenuTrigger;
|
|
641
|
-
var Section: typeof MenuSection;
|
|
645
|
+
var Item: typeof MenuItem$1;
|
|
646
|
+
var Trigger: typeof MenuTrigger$1;
|
|
647
|
+
var SubTrigger: typeof SubmenuTrigger$1;
|
|
648
|
+
var Section: typeof MenuSection$1;
|
|
642
649
|
var Separator: typeof MenuSeparator;
|
|
643
650
|
}
|
|
644
651
|
/**
|
|
645
652
|
* MenuItem with support for selection states and submenus.
|
|
646
653
|
*/
|
|
647
|
-
declare function MenuItem(props:
|
|
654
|
+
declare function MenuItem$1(props: MenuItemProps & {
|
|
648
655
|
/** Class name for the content row. */contentClassName?: string; /** Class name for the multi-select check slot. */
|
|
649
656
|
checkClassName?: string; /** Class name for the submenu chevron. */
|
|
650
657
|
chevronClassName?: string; /** Custom multi-select check indicator. Replaces the default check. */
|
|
@@ -654,11 +661,11 @@ declare function MenuItem(props: RAC.MenuItemProps & {
|
|
|
654
661
|
/**
|
|
655
662
|
* MenuSection for grouping items with an optional header.
|
|
656
663
|
*/
|
|
657
|
-
interface MenuSectionProps<T> extends
|
|
664
|
+
interface MenuSectionProps<T> extends MenuSectionProps$1<T> {
|
|
658
665
|
title?: string;
|
|
659
666
|
headerClassName?: string;
|
|
660
667
|
}
|
|
661
|
-
declare function MenuSection<T extends object>({
|
|
668
|
+
declare function MenuSection$1<T extends object>({
|
|
662
669
|
title,
|
|
663
670
|
headerClassName,
|
|
664
671
|
...props
|
|
@@ -666,7 +673,7 @@ declare function MenuSection<T extends object>({
|
|
|
666
673
|
/**
|
|
667
674
|
* MenuSeparator for visual division.
|
|
668
675
|
*/
|
|
669
|
-
declare function MenuSeparator(props:
|
|
676
|
+
declare function MenuSeparator(props: SeparatorProps): _$react_jsx_runtime0.JSX.Element;
|
|
670
677
|
//#endregion
|
|
671
678
|
//#region src/client/components/primitives/page-nav.d.ts
|
|
672
679
|
interface PageNavProps extends ComponentBase {
|
|
@@ -704,7 +711,7 @@ declare function PageNavIcon({
|
|
|
704
711
|
}: ComponentBase): _$react_jsx_runtime0.JSX.Element;
|
|
705
712
|
//#endregion
|
|
706
713
|
//#region src/client/components/primitives/search-dialog.d.ts
|
|
707
|
-
interface SearchDialogItemProps extends Omit<
|
|
714
|
+
interface SearchDialogItemProps extends Omit<ListBoxItemProps, 'children'> {
|
|
708
715
|
className?: string;
|
|
709
716
|
children: React.ReactNode;
|
|
710
717
|
/** Class name for the focused/selected "Select" hint. */
|
|
@@ -725,12 +732,12 @@ interface SearchDialogItemIconProps {
|
|
|
725
732
|
icon?: React.ReactNode;
|
|
726
733
|
}
|
|
727
734
|
/**
|
|
728
|
-
* Pure, unstyled SearchDialog Overlay (maps to
|
|
735
|
+
* Pure, unstyled SearchDialog Overlay (maps to ModalOverlay)
|
|
729
736
|
*/
|
|
730
737
|
declare function SearchDialog({
|
|
731
738
|
className,
|
|
732
739
|
...props
|
|
733
|
-
}:
|
|
740
|
+
}: ModalOverlayProps): _$react_jsx_runtime0.JSX.Element;
|
|
734
741
|
declare namespace SearchDialog {
|
|
735
742
|
var Root: typeof SearchDialog;
|
|
736
743
|
var Overlay: typeof SearchDialog;
|
|
@@ -749,65 +756,65 @@ declare namespace SearchDialog {
|
|
|
749
756
|
};
|
|
750
757
|
}
|
|
751
758
|
/**
|
|
752
|
-
* Pure, unstyled SearchDialog Content (maps to
|
|
759
|
+
* Pure, unstyled SearchDialog Content (maps to Modal)
|
|
753
760
|
*/
|
|
754
761
|
declare function SearchDialogContent({
|
|
755
762
|
className,
|
|
756
763
|
...props
|
|
757
|
-
}:
|
|
764
|
+
}: ModalOverlayProps): _$react_jsx_runtime0.JSX.Element;
|
|
758
765
|
/**
|
|
759
|
-
* Pure, unstyled SearchDialog Dialog (maps to
|
|
766
|
+
* Pure, unstyled SearchDialog Dialog (maps to Dialog)
|
|
760
767
|
*/
|
|
761
768
|
declare function SearchDialogDialog({
|
|
762
769
|
children,
|
|
763
770
|
className,
|
|
764
771
|
...props
|
|
765
|
-
}:
|
|
772
|
+
}: DialogProps): _$react_jsx_runtime0.JSX.Element;
|
|
766
773
|
/**
|
|
767
|
-
* Pure, unstyled SearchDialog Input Field (maps to
|
|
774
|
+
* Pure, unstyled SearchDialog Input Field (maps to SearchField)
|
|
768
775
|
*/
|
|
769
776
|
declare function SearchDialogField({
|
|
770
777
|
className,
|
|
771
778
|
...props
|
|
772
|
-
}:
|
|
779
|
+
}: SearchFieldProps): _$react_jsx_runtime0.JSX.Element;
|
|
773
780
|
/**
|
|
774
|
-
* Pure, unstyled SearchInput (maps to
|
|
781
|
+
* Pure, unstyled SearchInput (maps to Input)
|
|
775
782
|
*/
|
|
776
783
|
declare function SearchDialogSearchInput({
|
|
777
784
|
className,
|
|
778
785
|
...props
|
|
779
|
-
}:
|
|
786
|
+
}: InputProps): _$react_jsx_runtime0.JSX.Element;
|
|
780
787
|
/**
|
|
781
|
-
* Pure, unstyled Clear Button (maps to
|
|
788
|
+
* Pure, unstyled Clear Button (maps to Button with slot="clear")
|
|
782
789
|
*/
|
|
783
790
|
declare function SearchDialogClearButton({
|
|
784
791
|
className,
|
|
785
792
|
...props
|
|
786
|
-
}:
|
|
793
|
+
}: ButtonProps$1): _$react_jsx_runtime0.JSX.Element;
|
|
787
794
|
/**
|
|
788
|
-
* Pure, unstyled Autocomplete container (maps to
|
|
795
|
+
* Pure, unstyled Autocomplete container (maps to Autocomplete)
|
|
789
796
|
*/
|
|
790
797
|
declare function SearchDialogAutocomplete<T extends object>({
|
|
791
798
|
children,
|
|
792
799
|
className,
|
|
793
800
|
innerClassName,
|
|
794
801
|
...props
|
|
795
|
-
}:
|
|
802
|
+
}: AutocompleteProps<T> & {
|
|
796
803
|
className?: string;
|
|
797
804
|
innerClassName?: string;
|
|
798
805
|
}): _$react_jsx_runtime0.JSX.Element;
|
|
799
806
|
/**
|
|
800
|
-
* Pure, unstyled List Box (maps to
|
|
807
|
+
* Pure, unstyled List Box (maps to ListBox)
|
|
801
808
|
*/
|
|
802
809
|
declare function SearchDialogList<T extends object>({
|
|
803
810
|
children,
|
|
804
811
|
className,
|
|
805
812
|
...props
|
|
806
|
-
}:
|
|
813
|
+
}: ListBoxProps<T> & {
|
|
807
814
|
className?: string;
|
|
808
815
|
}): _$react_jsx_runtime0.JSX.Element;
|
|
809
816
|
/**
|
|
810
|
-
* Pure, unstyled List Box Item (maps to
|
|
817
|
+
* Pure, unstyled List Box Item (maps to ListBoxItem)
|
|
811
818
|
*/
|
|
812
819
|
declare function SearchDialogItemRoot({
|
|
813
820
|
children,
|
|
@@ -886,12 +893,20 @@ interface NavbarLinkProps extends Omit<ComponentBase, 'children'> {
|
|
|
886
893
|
}
|
|
887
894
|
interface NavbarLogoProps extends Omit<ComponentBase, 'children'> {
|
|
888
895
|
src: string;
|
|
896
|
+
/** Source used while the `dark` class is absent from `<html>`. */
|
|
897
|
+
srcLight?: string;
|
|
898
|
+
/** Source used while the `dark` class is present on `<html>`. */
|
|
899
|
+
srcDark?: string | null;
|
|
889
900
|
alt: string;
|
|
890
901
|
width?: number;
|
|
891
902
|
height?: number;
|
|
892
903
|
href?: BoltdocsRoutePathWithFallback;
|
|
893
904
|
/** Class name for the logo `<img>` element. */
|
|
894
905
|
logoClassName?: string;
|
|
906
|
+
/** Class name for the light-theme logo `<img>`, when two are rendered. */
|
|
907
|
+
logoLightClassName?: string;
|
|
908
|
+
/** Class name for the dark-theme logo `<img>`, when two are rendered. */
|
|
909
|
+
logoDarkClassName?: string;
|
|
895
910
|
}
|
|
896
911
|
interface NavbarSearchTriggerProps extends ComponentBase {
|
|
897
912
|
onPress: () => void;
|
|
@@ -955,11 +970,15 @@ declare function NavbarCenter({
|
|
|
955
970
|
}: ComponentBase): _$react_jsx_runtime0.JSX.Element;
|
|
956
971
|
declare function NavbarLogo({
|
|
957
972
|
src,
|
|
973
|
+
srcLight,
|
|
974
|
+
srcDark,
|
|
958
975
|
alt,
|
|
959
976
|
width,
|
|
960
977
|
height,
|
|
961
978
|
className,
|
|
962
979
|
logoClassName,
|
|
980
|
+
logoLightClassName,
|
|
981
|
+
logoDarkClassName,
|
|
963
982
|
href
|
|
964
983
|
}: NavbarLogoProps): _$react_jsx_runtime0.JSX.Element;
|
|
965
984
|
declare function NavbarTitle({
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Copyright (c) 2026 Jesus Alcala
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import { a as CodeBlockContent, c as CodeBlockHeader, d as CalloutBody, f as CalloutIcon, h as Heading, i as CodeBlockActions, l as CodeBlockPre, m as CalloutTitle, n as Tooltip, o as CodeBlockExpand, p as CalloutRoot, r as CodeBlock, s as CodeBlockGroup, t as Image, u as Callout } from "../image-
|
|
8
|
-
import { D as ButtonGroup, E as Popover, O as Breadcrumbs, T as Menu, _ as ScrollProvider, a as SidebarHeader, b as useItems, c as SidebarLink, d as SidebarSubGroup, f as PageNav, g as OnThisPageTree, h as OnThisPageItems, i as SidebarGroup, l as SidebarMobile, m as OnThisPage, n as Sidebar, o as SidebarItem, p as AnchorProvider, r as SidebarContent, s as SidebarItems, t as DocsLayout, u as SidebarRoot, v as useActiveAnchor, w as Tabs, y as useActiveAnchors } from "../docs-layout-
|
|
9
|
-
import { c as Button, i as Navbar, o as ErrorBoundary, s as ErrorBoundaryFallback, t as SearchDialog } from "../search-dialog-
|
|
6
|
+
import { i as cn, n as NavLink, r as TransitionLink, t as Link } from "../link-CSe_oD8Y.js";
|
|
7
|
+
import { a as CodeBlockContent, c as CodeBlockHeader, d as CalloutBody, f as CalloutIcon, h as Heading, i as CodeBlockActions, l as CodeBlockPre, m as CalloutTitle, n as Tooltip, o as CodeBlockExpand, p as CalloutRoot, r as CodeBlock, s as CodeBlockGroup, t as Image, u as Callout } from "../image-CaY2w0ua.js";
|
|
8
|
+
import { D as ButtonGroup, E as Popover, O as Breadcrumbs, T as Menu, _ as ScrollProvider, a as SidebarHeader, b as useItems, c as SidebarLink, d as SidebarSubGroup, f as PageNav, g as OnThisPageTree, h as OnThisPageItems, i as SidebarGroup, l as SidebarMobile, m as OnThisPage, n as Sidebar, o as SidebarItem, p as AnchorProvider, r as SidebarContent, s as SidebarItems, t as DocsLayout, u as SidebarRoot, v as useActiveAnchor, w as Tabs, y as useActiveAnchors } from "../docs-layout-CmntYM6p.js";
|
|
9
|
+
import { c as Button, i as Navbar, o as ErrorBoundary, s as ErrorBoundaryFallback, t as SearchDialog } from "../search-dialog-BXil4_7P.js";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
|
|
12
12
|
//#region src/client/components/primitives/skeleton.tsx
|
package/dist/client/router.cjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
7
|
-
const require_router = require('../router-
|
|
7
|
+
const require_router = require('../router-DKC0Lu0n.cjs');
|
|
8
8
|
|
|
9
9
|
exports.LocationContext = require_router.LocationContext;
|
|
10
10
|
exports.LocationProvider = require_router.LocationProvider;
|
package/dist/client/router.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { $ as LazyRouteResult, A as matchRouteBranch, B as useRouteData, C as stripSiteProtocol, D as normalizeBasename, E as hasBasename, F as useLoaderData, G as MatchesContext, H as LocationProvider, I as useLocation, J as PrefetchContext, K as NavigateContext, L as useMatches, M as resolveRouteBranch, N as Outlet, O as stripBasename, P as OutletContext, Q as CreateRoutesResult, R as useNavigate, S as splitUrlReference, T as addBasename, U as LocationProviderProps, V as LocationContext, W as LocationState, X as RouteDataContext, Y as PrefetchFunction, Z as defaultNavigate, _ as isConfiguredVersion, a as UrlRouteHint, at as RouterOptions, b as parseUrlReference, c as buildUrl, d as getConfiguredVersions, et as LoaderFunction, f as getVersionPrefixSegments, g as isConfiguredLocale, h as hasUrlBase, i as UrlContractConfig, it as RouteRendererProps, j as matchRouteBranchWithParams, k as RouteRenderer, l as classifyUrlPath, m as hasUriScheme, n as ParsedUrl, nt as RouteMatch, o as UrlRouteKind, p as getVersionSegments, q as NavigateFunction, r as ResolveUrlOptions, rt as RouteRecord, s as addUrlBase, t as BuildUrlOptions, tt as LoaderFunctionArgs, u as getConfiguredLocales, v as normalizeUrlBase, w as stripUrlBase, x as resolveUrlReference, y as normalizeUrlPath, z as usePrefetch } from "../index-
|
|
2
|
+
import { $ as LazyRouteResult, A as matchRouteBranch, B as useRouteData, C as stripSiteProtocol, D as normalizeBasename, E as hasBasename, F as useLoaderData, G as MatchesContext, H as LocationProvider, I as useLocation, J as PrefetchContext, K as NavigateContext, L as useMatches, M as resolveRouteBranch, N as Outlet, O as stripBasename, P as OutletContext, Q as CreateRoutesResult, R as useNavigate, S as splitUrlReference, T as addBasename, U as LocationProviderProps, V as LocationContext, W as LocationState, X as RouteDataContext, Y as PrefetchFunction, Z as defaultNavigate, _ as isConfiguredVersion, a as UrlRouteHint, at as RouterOptions, b as parseUrlReference, c as buildUrl, d as getConfiguredVersions, et as LoaderFunction, f as getVersionPrefixSegments, g as isConfiguredLocale, h as hasUrlBase, i as UrlContractConfig, it as RouteRendererProps, j as matchRouteBranchWithParams, k as RouteRenderer, l as classifyUrlPath, m as hasUriScheme, n as ParsedUrl, nt as RouteMatch, o as UrlRouteKind, p as getVersionSegments, q as NavigateFunction, r as ResolveUrlOptions, rt as RouteRecord, s as addUrlBase, t as BuildUrlOptions, tt as LoaderFunctionArgs, u as getConfiguredLocales, v as normalizeUrlBase, w as stripUrlBase, x as resolveUrlReference, y as normalizeUrlPath, z as usePrefetch } from "../index-RK7W_Fxy.cjs";
|
|
3
3
|
export { BuildUrlOptions, CreateRoutesResult, LazyRouteResult, LoaderFunction, LoaderFunctionArgs, LocationContext, LocationProvider, LocationProviderProps, LocationState, MatchesContext, NavigateContext, NavigateFunction, Outlet, OutletContext, ParsedUrl, PrefetchContext, PrefetchFunction, ResolveUrlOptions, RouteDataContext, RouteMatch, RouteRecord, RouteRenderer, RouteRendererProps, RouterOptions, UrlContractConfig, UrlRouteHint, UrlRouteKind, addBasename, addUrlBase, buildUrl, classifyUrlPath, defaultNavigate, getConfiguredLocales, getConfiguredVersions, getVersionPrefixSegments, getVersionSegments, hasBasename, hasUriScheme, hasUrlBase, isConfiguredLocale, isConfiguredVersion, matchRouteBranch, matchRouteBranchWithParams, normalizeBasename, normalizeUrlBase, normalizeUrlPath, parseUrlReference, resolveRouteBranch, resolveUrlReference, splitUrlReference, stripBasename, stripSiteProtocol, stripUrlBase, useLoaderData, useLocation, useMatches, useNavigate, usePrefetch, useRouteData };
|
package/dist/client/router.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { $ as LazyRouteResult, A as matchRouteBranch, B as useRouteData, C as stripSiteProtocol, D as normalizeBasename, E as hasBasename, F as useLoaderData, G as MatchesContext, H as LocationProvider, I as useLocation, J as PrefetchContext, K as NavigateContext, L as useMatches, M as resolveRouteBranch, N as Outlet, O as stripBasename, P as OutletContext, Q as CreateRoutesResult, R as useNavigate, S as splitUrlReference, T as addBasename, U as LocationProviderProps, V as LocationContext, W as LocationState, X as RouteDataContext, Y as PrefetchFunction, Z as defaultNavigate, _ as isConfiguredVersion, a as UrlRouteHint, at as RouterOptions, b as parseUrlReference, c as buildUrl, d as getConfiguredVersions, et as LoaderFunction, f as getVersionPrefixSegments, g as isConfiguredLocale, h as hasUrlBase, i as UrlContractConfig, it as RouteRendererProps, j as matchRouteBranchWithParams, k as RouteRenderer, l as classifyUrlPath, m as hasUriScheme, n as ParsedUrl, nt as RouteMatch, o as UrlRouteKind, p as getVersionSegments, q as NavigateFunction, r as ResolveUrlOptions, rt as RouteRecord, s as addUrlBase, t as BuildUrlOptions, tt as LoaderFunctionArgs, u as getConfiguredLocales, v as normalizeUrlBase, w as stripUrlBase, x as resolveUrlReference, y as normalizeUrlPath, z as usePrefetch } from "../index
|
|
2
|
+
import { $ as LazyRouteResult, A as matchRouteBranch, B as useRouteData, C as stripSiteProtocol, D as normalizeBasename, E as hasBasename, F as useLoaderData, G as MatchesContext, H as LocationProvider, I as useLocation, J as PrefetchContext, K as NavigateContext, L as useMatches, M as resolveRouteBranch, N as Outlet, O as stripBasename, P as OutletContext, Q as CreateRoutesResult, R as useNavigate, S as splitUrlReference, T as addBasename, U as LocationProviderProps, V as LocationContext, W as LocationState, X as RouteDataContext, Y as PrefetchFunction, Z as defaultNavigate, _ as isConfiguredVersion, a as UrlRouteHint, at as RouterOptions, b as parseUrlReference, c as buildUrl, d as getConfiguredVersions, et as LoaderFunction, f as getVersionPrefixSegments, g as isConfiguredLocale, h as hasUrlBase, i as UrlContractConfig, it as RouteRendererProps, j as matchRouteBranchWithParams, k as RouteRenderer, l as classifyUrlPath, m as hasUriScheme, n as ParsedUrl, nt as RouteMatch, o as UrlRouteKind, p as getVersionSegments, q as NavigateFunction, r as ResolveUrlOptions, rt as RouteRecord, s as addUrlBase, t as BuildUrlOptions, tt as LoaderFunctionArgs, u as getConfiguredLocales, v as normalizeUrlBase, w as stripUrlBase, x as resolveUrlReference, y as normalizeUrlPath, z as usePrefetch } from "../index--xbYbT8N.js";
|
|
3
3
|
export { BuildUrlOptions, CreateRoutesResult, LazyRouteResult, LoaderFunction, LoaderFunctionArgs, LocationContext, LocationProvider, LocationProviderProps, LocationState, MatchesContext, NavigateContext, NavigateFunction, Outlet, OutletContext, ParsedUrl, PrefetchContext, PrefetchFunction, ResolveUrlOptions, RouteDataContext, RouteMatch, RouteRecord, RouteRenderer, RouteRendererProps, RouterOptions, UrlContractConfig, UrlRouteHint, UrlRouteKind, addBasename, addUrlBase, buildUrl, classifyUrlPath, defaultNavigate, getConfiguredLocales, getConfiguredVersions, getVersionPrefixSegments, getVersionSegments, hasBasename, hasUriScheme, hasUrlBase, isConfiguredLocale, isConfiguredVersion, matchRouteBranch, matchRouteBranchWithParams, normalizeBasename, normalizeUrlBase, normalizeUrlPath, parseUrlReference, resolveRouteBranch, resolveUrlReference, splitUrlReference, stripBasename, stripSiteProtocol, stripUrlBase, useLoaderData, useLocation, useMatches, useNavigate, usePrefetch, useRouteData };
|
package/dist/client/router.js
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* Copyright (c) 2026 Jesus Alcala
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { A as useRouteData,
|
|
6
|
+
import { A as useRouteData, C as Outlet, D as useMatches, E as useLocation, F as PrefetchContext, G as normalizeBasename, I as RouteDataContext, K as stripBasename, L as defaultNavigate, M as LocationProvider, N as MatchesContext, O as useNavigate, P as NavigateContext, S as resolveRouteBranch, T as useLoaderData, U as addBasename, W as hasBasename, _ as stripSiteProtocol, a as getConfiguredVersions, b as matchRouteBranch, c as hasUriScheme, d as isConfiguredVersion, f as normalizeUrlBase, g as splitUrlReference, h as resolveUrlReference, i as getConfiguredLocales, j as LocationContext, k as usePrefetch, l as hasUrlBase, m as parseUrlReference, n as buildUrl, o as getVersionPrefixSegments, p as normalizeUrlPath, r as classifyUrlPath, s as getVersionSegments, t as addUrlBase, u as isConfiguredLocale, v as stripUrlBase, w as OutletContext, x as matchRouteBranchWithParams, y as RouteRenderer } from "../router-B5e8k4qK.js";
|
|
7
7
|
|
|
8
8
|
export { LocationContext, LocationProvider, MatchesContext, NavigateContext, Outlet, OutletContext, PrefetchContext, RouteDataContext, RouteRenderer, addBasename, addUrlBase, buildUrl, classifyUrlPath, defaultNavigate, getConfiguredLocales, getConfiguredVersions, getVersionPrefixSegments, getVersionSegments, hasBasename, hasUriScheme, hasUrlBase, isConfiguredLocale, isConfiguredVersion, matchRouteBranch, matchRouteBranchWithParams, normalizeBasename, normalizeUrlBase, normalizeUrlPath, parseUrlReference, resolveRouteBranch, resolveUrlReference, splitUrlReference, stripBasename, stripSiteProtocol, stripUrlBase, useLoaderData, useLocation, useMatches, useNavigate, usePrefetch, useRouteData };
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Layer order is declared up front so the accessibility baseline below can
|
|
3
|
+
* live in a layer ordered after `utilities`. Cascade layers beat specificity,
|
|
4
|
+
* so a rule in `base` cannot outrank the `outline-none` utility no matter how
|
|
5
|
+
* specific its selector is. `a11y` is intentionally last.
|
|
6
|
+
*/
|
|
7
|
+
@layer theme, base, components, utilities, a11y;
|
|
8
|
+
|
|
1
9
|
@layer base {
|
|
2
10
|
*,
|
|
3
11
|
*::before,
|
|
@@ -22,6 +30,10 @@
|
|
|
22
30
|
line-height: 1.7;
|
|
23
31
|
}
|
|
24
32
|
|
|
33
|
+
/*
|
|
34
|
+
* Focus visibility lives in the `a11y` layer below, not here.
|
|
35
|
+
*/
|
|
36
|
+
|
|
25
37
|
/*
|
|
26
38
|
* ═══ Mermaid anti-scroll guard ═══
|
|
27
39
|
* Mermaid can leave behind measurement nodes and iframe sandboxes
|
|
@@ -287,3 +299,32 @@
|
|
|
287
299
|
}
|
|
288
300
|
}
|
|
289
301
|
}
|
|
302
|
+
|
|
303
|
+
@layer a11y {
|
|
304
|
+
/*
|
|
305
|
+
* ═══ Focus visibility baseline (WCAG 2.4.7) ═══
|
|
306
|
+
* Components suppress the user-agent ring with `outline-none` and are
|
|
307
|
+
* expected to supply their own `focus-visible:` affordance. Plenty of them
|
|
308
|
+
* do not, which left the banner dismiss button, the navbar links, the
|
|
309
|
+
* language switcher and the code copy button with no visible focus
|
|
310
|
+
* indicator at all. `focus-visible:outline-2` on its own is not enough
|
|
311
|
+
* either: it emits `outline-style: var(--tw-outline-style)`, and that
|
|
312
|
+
* variable is only defined by the all-in-one `outline` utility, so the
|
|
313
|
+
* declaration is invalid and nothing is painted.
|
|
314
|
+
*
|
|
315
|
+
* This is a floor, not a design: anything without a deliberate indicator
|
|
316
|
+
* gets a visible one, and a theme can still replace it by redefining the
|
|
317
|
+
* rule in its own sheet. It sits in the `a11y` layer, declared after
|
|
318
|
+
* `utilities`, so the `outline-none` utility cannot silently drop it.
|
|
319
|
+
*/
|
|
320
|
+
a:focus-visible,
|
|
321
|
+
button:focus-visible,
|
|
322
|
+
input:focus-visible,
|
|
323
|
+
select:focus-visible,
|
|
324
|
+
textarea:focus-visible,
|
|
325
|
+
summary:focus-visible,
|
|
326
|
+
[tabindex]:focus-visible {
|
|
327
|
+
outline: 2px solid var(--color-primary-500);
|
|
328
|
+
outline-offset: 2px;
|
|
329
|
+
}
|
|
330
|
+
}
|