@nswds/app 1.46.0 → 1.47.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/globals.css +32 -0
- package/dist/index.cjs +47 -273
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -23
- package/dist/index.d.ts +8 -23
- package/dist/index.js +48 -263
- package/dist/index.js.map +1 -1
- package/dist/styles.css +32 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -960,16 +960,16 @@ declare function NavigationMenuViewport({ className, ...props }: React$1.Compone
|
|
|
960
960
|
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
961
961
|
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
962
962
|
|
|
963
|
-
declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
964
|
-
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
965
|
-
declare function PaginationItem({ ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
966
963
|
type PaginationLinkProps = {
|
|
967
964
|
isActive?: boolean;
|
|
965
|
+
size?: 'default' | 'icon';
|
|
968
966
|
children: React$1.ReactNode;
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
}): react_jsx_runtime.JSX.Element;
|
|
967
|
+
className?: string;
|
|
968
|
+
} & React$1.ComponentProps<'a'>;
|
|
969
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
970
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
971
|
+
declare function PaginationItem({ ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
972
|
+
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
973
973
|
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
974
974
|
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
975
975
|
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
@@ -1899,15 +1899,6 @@ declare function DescriptionList({ className, ...props }: React.ComponentPropsWi
|
|
|
1899
1899
|
declare function DescriptionTerm({ className, ...props }: React.ComponentPropsWithoutRef<'dt'>): react_jsx_runtime.JSX.Element;
|
|
1900
1900
|
declare function DescriptionDetails({ className, ...props }: React.ComponentPropsWithoutRef<'dd'>): react_jsx_runtime.JSX.Element;
|
|
1901
1901
|
|
|
1902
|
-
declare function generateLevelId(): string;
|
|
1903
|
-
declare function getMaxDepth(items: PushNavigationItem[] | undefined | null, currentDepth?: number): number;
|
|
1904
|
-
declare function findItemById(items: PushNavigationItem[] | undefined | null, id: string): PushNavigationItem | null;
|
|
1905
|
-
declare function findPathToItem(items: PushNavigationItem[] | undefined | null, targetId: string, path?: PushNavigationItem[]): PushNavigationItem[] | null;
|
|
1906
|
-
declare function getTotalItemCount(items: PushNavigationItem[] | undefined | null): number;
|
|
1907
|
-
declare function generateBreadcrumb(levels: {
|
|
1908
|
-
title: string;
|
|
1909
|
-
depth: number;
|
|
1910
|
-
}[], maxLength?: number): string;
|
|
1911
1902
|
declare function MultiLevelPushMenu({ navigation, onItemClick, onNavigate, onClose, className, showHeader, showFooter, showBreadcrumbs, showStats, showBackButton, initialTitle, }: MultiLevelPushMenuProps): react_jsx_runtime.JSX.Element;
|
|
1912
1903
|
|
|
1913
1904
|
declare function MobileHeader({ sitename, navigation, version, hide, }: {
|
|
@@ -1923,12 +1914,6 @@ declare function MobileSearch({ navigation }: {
|
|
|
1923
1914
|
navigation: NavigationItem[];
|
|
1924
1915
|
}): react_jsx_runtime.JSX.Element;
|
|
1925
1916
|
|
|
1926
|
-
declare function SignInButton(): react_jsx_runtime.JSX.Element;
|
|
1927
|
-
|
|
1928
|
-
declare function SignOutButton(): react_jsx_runtime.JSX.Element;
|
|
1929
|
-
|
|
1930
|
-
declare function SignInWithEntraButton(): react_jsx_runtime.JSX.Element;
|
|
1931
|
-
|
|
1932
1917
|
declare function useIsMobile(): boolean;
|
|
1933
1918
|
|
|
1934
1919
|
declare function useDisableToc(): void;
|
|
@@ -1995,4 +1980,4 @@ declare const allPalettes: Palette[];
|
|
|
1995
1980
|
declare const colors: ColorThemes;
|
|
1996
1981
|
declare const colorThemes: ColorThemes;
|
|
1997
1982
|
|
|
1998
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type DataType, type DataTypeSelectProps, Description, DescriptionDetails, DescriptionList, DescriptionTerm, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field, FieldGroup, FieldLabel, Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HoverCard, HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, type Output, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarLink, type SidebarLinkProps, SidebarNavigation,
|
|
1983
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type DataType, type DataTypeSelectProps, Description, DescriptionDetails, DescriptionList, DescriptionTerm, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field, FieldGroup, FieldLabel, Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HoverCard, HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, type Output, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarLink, type SidebarLinkProps, SidebarNavigation, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, Switch, SwitchField, SwitchGroup, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextLink, type TextTypeProps, Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$5 as TooltipProps, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, type TrackerBlockProps, Tooltip as TremorTooltip, type TypeExampleProps, type TypeSpecs, type Variant, type VariantCodeData, type Variants, type View, type ViewMode, ViewToggle, type ViewToggleProps, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants, brand, buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, domToSimple, focusInput, focusRing, generateColorThemes, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, useSelectorHeight, useToc };
|
package/dist/index.d.ts
CHANGED
|
@@ -960,16 +960,16 @@ declare function NavigationMenuViewport({ className, ...props }: React$1.Compone
|
|
|
960
960
|
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
961
961
|
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
962
962
|
|
|
963
|
-
declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
964
|
-
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
965
|
-
declare function PaginationItem({ ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
966
963
|
type PaginationLinkProps = {
|
|
967
964
|
isActive?: boolean;
|
|
965
|
+
size?: 'default' | 'icon';
|
|
968
966
|
children: React$1.ReactNode;
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
}): react_jsx_runtime.JSX.Element;
|
|
967
|
+
className?: string;
|
|
968
|
+
} & React$1.ComponentProps<'a'>;
|
|
969
|
+
declare function Pagination({ className, ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
970
|
+
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
971
|
+
declare function PaginationItem({ ...props }: React$1.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
972
|
+
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
973
973
|
declare function PaginationPrevious({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
974
974
|
declare function PaginationNext({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
975
975
|
declare function PaginationEllipsis({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
@@ -1899,15 +1899,6 @@ declare function DescriptionList({ className, ...props }: React.ComponentPropsWi
|
|
|
1899
1899
|
declare function DescriptionTerm({ className, ...props }: React.ComponentPropsWithoutRef<'dt'>): react_jsx_runtime.JSX.Element;
|
|
1900
1900
|
declare function DescriptionDetails({ className, ...props }: React.ComponentPropsWithoutRef<'dd'>): react_jsx_runtime.JSX.Element;
|
|
1901
1901
|
|
|
1902
|
-
declare function generateLevelId(): string;
|
|
1903
|
-
declare function getMaxDepth(items: PushNavigationItem[] | undefined | null, currentDepth?: number): number;
|
|
1904
|
-
declare function findItemById(items: PushNavigationItem[] | undefined | null, id: string): PushNavigationItem | null;
|
|
1905
|
-
declare function findPathToItem(items: PushNavigationItem[] | undefined | null, targetId: string, path?: PushNavigationItem[]): PushNavigationItem[] | null;
|
|
1906
|
-
declare function getTotalItemCount(items: PushNavigationItem[] | undefined | null): number;
|
|
1907
|
-
declare function generateBreadcrumb(levels: {
|
|
1908
|
-
title: string;
|
|
1909
|
-
depth: number;
|
|
1910
|
-
}[], maxLength?: number): string;
|
|
1911
1902
|
declare function MultiLevelPushMenu({ navigation, onItemClick, onNavigate, onClose, className, showHeader, showFooter, showBreadcrumbs, showStats, showBackButton, initialTitle, }: MultiLevelPushMenuProps): react_jsx_runtime.JSX.Element;
|
|
1912
1903
|
|
|
1913
1904
|
declare function MobileHeader({ sitename, navigation, version, hide, }: {
|
|
@@ -1923,12 +1914,6 @@ declare function MobileSearch({ navigation }: {
|
|
|
1923
1914
|
navigation: NavigationItem[];
|
|
1924
1915
|
}): react_jsx_runtime.JSX.Element;
|
|
1925
1916
|
|
|
1926
|
-
declare function SignInButton(): react_jsx_runtime.JSX.Element;
|
|
1927
|
-
|
|
1928
|
-
declare function SignOutButton(): react_jsx_runtime.JSX.Element;
|
|
1929
|
-
|
|
1930
|
-
declare function SignInWithEntraButton(): react_jsx_runtime.JSX.Element;
|
|
1931
|
-
|
|
1932
1917
|
declare function useIsMobile(): boolean;
|
|
1933
1918
|
|
|
1934
1919
|
declare function useDisableToc(): void;
|
|
@@ -1995,4 +1980,4 @@ declare const allPalettes: Palette[];
|
|
|
1995
1980
|
declare const colors: ColorThemes;
|
|
1996
1981
|
declare const colorThemes: ColorThemes;
|
|
1997
1982
|
|
|
1998
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type DataType, type DataTypeSelectProps, Description, DescriptionDetails, DescriptionList, DescriptionTerm, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field, FieldGroup, FieldLabel, Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HoverCard, HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, type Output, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarLink, type SidebarLinkProps, SidebarNavigation,
|
|
1983
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, type ColorProperty, ColorSwatches, type ColorSwatchesProps, type ColorTheme, type ColorThemes, type ColorUtility, type ColorsDisplayProps, type ColourOutputProps, ColourScale, type ColourScaleProps, ComboChart, type ComboChartEventProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type DataType, type DataTypeSelectProps, Description, DescriptionDetails, DescriptionList, DescriptionTerm, type DesignTokensShades, type DesignTokensTheme, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, type DonutChartEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field, FieldGroup, FieldLabel, Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormStatus, type FormStatusHook, type FormStore, type Format, FormatToggle, type FormatToggleProps, GenerateInterpolatedColors, Header, Heading, type HeadingNode, type HeadingTypeProps, HoverCard, HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, type Output, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, type PrevNextLinksProps, Progress, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarLink, type SidebarLinkProps, SidebarNavigation, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, Switch, SwitchField, SwitchGroup, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextLink, type TextTypeProps, Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tooltip$1 as Tooltip, TooltipContent, type TooltipProps$5 as TooltipProps, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, type TrackerBlockProps, Tooltip as TremorTooltip, type TypeExampleProps, type TypeSpecs, type Variant, type VariantCodeData, type Variants, type View, type ViewMode, ViewToggle, type ViewToggleProps, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants, brand, buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, domToSimple, focusInput, focusRing, generateColorThemes, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, useSelectorHeight, useToc };
|
package/dist/index.js
CHANGED
|
@@ -57,28 +57,16 @@ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
|
57
57
|
import { getDefaultClassNames, DayPicker } from 'react-day-picker';
|
|
58
58
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
59
59
|
import { OTPInput, OTPInputContext } from 'input-otp';
|
|
60
|
-
import NextAuth from 'next-auth';
|
|
61
|
-
import MicrosoftEntraID from 'next-auth/providers/microsoft-entra-id';
|
|
62
|
-
import { and, eq } from 'drizzle-orm';
|
|
63
|
-
import { DrizzleAdapter } from '@auth/drizzle-adapter';
|
|
64
|
-
import { drizzle } from 'drizzle-orm/libsql';
|
|
65
|
-
import { createClient } from '@libsql/client';
|
|
66
|
-
import { sqliteTable, text, integer, primaryKey } from 'drizzle-orm/sqlite-core';
|
|
67
60
|
import { slugifyWithCounter } from '@sindresorhus/slugify';
|
|
68
61
|
import { create } from 'zustand';
|
|
69
62
|
import { persist, createJSONStorage } from 'zustand/middleware';
|
|
70
63
|
|
|
71
|
-
var __defProp = Object.defineProperty;
|
|
72
64
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
73
65
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
74
66
|
}) : x)(function(x) {
|
|
75
67
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
76
68
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
77
69
|
});
|
|
78
|
-
var __export = (target, all) => {
|
|
79
|
-
for (var name in all)
|
|
80
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
81
|
-
};
|
|
82
70
|
var Icons = {
|
|
83
71
|
account_circle: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", "data-slot": "icon", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0-60Zm0 360Z" }) }),
|
|
84
72
|
add: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", "data-slot": "icon", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M440-440H240q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h200v-200q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v200h200q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H520v200q0 17-11.5 28.5T480-200q-17 0-28.5-11.5T440-240v-200Z" }) }),
|
|
@@ -187,11 +175,11 @@ var Icons = {
|
|
|
187
175
|
function cn(...inputs) {
|
|
188
176
|
return twMerge(clsx(inputs));
|
|
189
177
|
}
|
|
190
|
-
function truncate(
|
|
191
|
-
if (
|
|
192
|
-
return
|
|
178
|
+
function truncate(text, maxLength) {
|
|
179
|
+
if (text.length <= maxLength) {
|
|
180
|
+
return text;
|
|
193
181
|
}
|
|
194
|
-
return
|
|
182
|
+
return text.slice(0, maxLength) + "...";
|
|
195
183
|
}
|
|
196
184
|
function kebabCase(str) {
|
|
197
185
|
return str.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
|
|
@@ -7743,7 +7731,7 @@ function Heading({
|
|
|
7743
7731
|
|
|
7744
7732
|
// package.json
|
|
7745
7733
|
var package_default = {
|
|
7746
|
-
version: "1.
|
|
7734
|
+
version: "1.46.1"};
|
|
7747
7735
|
function Logo(props) {
|
|
7748
7736
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7749
7737
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "NSW Government" }),
|
|
@@ -13279,7 +13267,7 @@ function distance2D(a, b) {
|
|
|
13279
13267
|
|
|
13280
13268
|
// node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
|
|
13281
13269
|
var PanSession = class {
|
|
13282
|
-
constructor(event,
|
|
13270
|
+
constructor(event, handlers, { transformPagePoint, contextWindow, dragSnapToOrigin = false } = {}) {
|
|
13283
13271
|
this.startEvent = null;
|
|
13284
13272
|
this.lastMoveEvent = null;
|
|
13285
13273
|
this.lastMoveEventInfo = null;
|
|
@@ -13324,7 +13312,7 @@ var PanSession = class {
|
|
|
13324
13312
|
if (!isPrimaryPointer(event))
|
|
13325
13313
|
return;
|
|
13326
13314
|
this.dragSnapToOrigin = dragSnapToOrigin;
|
|
13327
|
-
this.handlers =
|
|
13315
|
+
this.handlers = handlers;
|
|
13328
13316
|
this.transformPagePoint = transformPagePoint;
|
|
13329
13317
|
this.contextWindow = contextWindow || window;
|
|
13330
13318
|
const info = extractEventInfo(event);
|
|
@@ -13332,12 +13320,12 @@ var PanSession = class {
|
|
|
13332
13320
|
const { point } = initialInfo;
|
|
13333
13321
|
const { timestamp } = frameData;
|
|
13334
13322
|
this.history = [{ ...point, timestamp }];
|
|
13335
|
-
const { onSessionStart } =
|
|
13323
|
+
const { onSessionStart } = handlers;
|
|
13336
13324
|
onSessionStart && onSessionStart(event, getPanInfo(initialInfo, this.history));
|
|
13337
13325
|
this.removeListeners = pipe(addPointerEvent(this.contextWindow, "pointermove", this.handlePointerMove), addPointerEvent(this.contextWindow, "pointerup", this.handlePointerUp), addPointerEvent(this.contextWindow, "pointercancel", this.handlePointerUp));
|
|
13338
13326
|
}
|
|
13339
|
-
updateHandlers(
|
|
13340
|
-
this.handlers =
|
|
13327
|
+
updateHandlers(handlers) {
|
|
13328
|
+
this.handlers = handlers;
|
|
13341
13329
|
}
|
|
13342
13330
|
end() {
|
|
13343
13331
|
this.removeListeners && this.removeListeners();
|
|
@@ -16394,6 +16382,24 @@ function NavigationMenuIndicator({
|
|
|
16394
16382
|
}
|
|
16395
16383
|
);
|
|
16396
16384
|
}
|
|
16385
|
+
var buttonVariants2 = cva(
|
|
16386
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
16387
|
+
{
|
|
16388
|
+
variants: {
|
|
16389
|
+
variant: {
|
|
16390
|
+
outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
16391
|
+
ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50"
|
|
16392
|
+
},
|
|
16393
|
+
size: {
|
|
16394
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
16395
|
+
icon: "size-9"
|
|
16396
|
+
}
|
|
16397
|
+
},
|
|
16398
|
+
defaultVariants: {
|
|
16399
|
+
size: "default"
|
|
16400
|
+
}
|
|
16401
|
+
}
|
|
16402
|
+
);
|
|
16397
16403
|
function Pagination({ className, ...props }) {
|
|
16398
16404
|
return /* @__PURE__ */ jsx(
|
|
16399
16405
|
"nav",
|
|
@@ -16419,24 +16425,21 @@ function PaginationContent({ className, ...props }) {
|
|
|
16419
16425
|
function PaginationItem({ ...props }) {
|
|
16420
16426
|
return /* @__PURE__ */ jsx("li", { "data-slot": "pagination-item", ...props });
|
|
16421
16427
|
}
|
|
16422
|
-
function PaginationLink({
|
|
16423
|
-
className,
|
|
16424
|
-
isActive,
|
|
16425
|
-
children,
|
|
16426
|
-
href,
|
|
16427
|
-
...props
|
|
16428
|
-
}) {
|
|
16428
|
+
function PaginationLink({ className, isActive, size = "icon", ...props }) {
|
|
16429
16429
|
return /* @__PURE__ */ jsx(
|
|
16430
|
-
|
|
16430
|
+
"a",
|
|
16431
16431
|
{
|
|
16432
16432
|
"aria-current": isActive ? "page" : void 0,
|
|
16433
16433
|
"data-slot": "pagination-link",
|
|
16434
16434
|
"data-active": isActive,
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
|
|
16439
|
-
|
|
16435
|
+
className: cn(
|
|
16436
|
+
buttonVariants2({
|
|
16437
|
+
variant: isActive ? "outline" : "ghost",
|
|
16438
|
+
size
|
|
16439
|
+
}),
|
|
16440
|
+
className
|
|
16441
|
+
),
|
|
16442
|
+
...props
|
|
16440
16443
|
}
|
|
16441
16444
|
);
|
|
16442
16445
|
}
|
|
@@ -16446,10 +16449,10 @@ function PaginationPrevious({ className, ...props }) {
|
|
|
16446
16449
|
{
|
|
16447
16450
|
"aria-label": "Go to previous page",
|
|
16448
16451
|
size: "default",
|
|
16449
|
-
className: cn("", className),
|
|
16452
|
+
className: cn("gap-1 px-2.5 sm:pl-2.5", className),
|
|
16450
16453
|
...props,
|
|
16451
16454
|
children: [
|
|
16452
|
-
/* @__PURE__ */ jsx(Icons.west, {
|
|
16455
|
+
/* @__PURE__ */ jsx(Icons.west, {}),
|
|
16453
16456
|
/* @__PURE__ */ jsx("span", { className: "hidden sm:block", children: "Previous" })
|
|
16454
16457
|
]
|
|
16455
16458
|
}
|
|
@@ -16461,11 +16464,11 @@ function PaginationNext({ className, ...props }) {
|
|
|
16461
16464
|
{
|
|
16462
16465
|
"aria-label": "Go to next page",
|
|
16463
16466
|
size: "default",
|
|
16464
|
-
className: cn("", className),
|
|
16467
|
+
className: cn("gap-1 px-2.5 sm:pr-2.5", className),
|
|
16465
16468
|
...props,
|
|
16466
16469
|
children: [
|
|
16467
16470
|
/* @__PURE__ */ jsx("span", { className: "hidden sm:block", children: "Next" }),
|
|
16468
|
-
/* @__PURE__ */ jsx(Icons.east, {
|
|
16471
|
+
/* @__PURE__ */ jsx(Icons.east, {})
|
|
16469
16472
|
]
|
|
16470
16473
|
}
|
|
16471
16474
|
);
|
|
@@ -17251,7 +17254,7 @@ var colors2 = {
|
|
|
17251
17254
|
]
|
|
17252
17255
|
};
|
|
17253
17256
|
function Switch2({
|
|
17254
|
-
color: color2 = "
|
|
17257
|
+
color: color2 = "primary",
|
|
17255
17258
|
className,
|
|
17256
17259
|
...props
|
|
17257
17260
|
}) {
|
|
@@ -22971,64 +22974,6 @@ function DescriptionDetails({ className, ...props }) {
|
|
|
22971
22974
|
function generateLevelId() {
|
|
22972
22975
|
return `level-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
|
|
22973
22976
|
}
|
|
22974
|
-
function getMaxDepth(items, currentDepth = 1) {
|
|
22975
|
-
if (!items || !Array.isArray(items) || items.length === 0) {
|
|
22976
|
-
return currentDepth;
|
|
22977
|
-
}
|
|
22978
|
-
let maxDepth2 = currentDepth;
|
|
22979
|
-
for (const item of items) {
|
|
22980
|
-
if (item && item.links && Array.isArray(item.links) && item.links.length > 0) {
|
|
22981
|
-
const itemDepth = getMaxDepth(item.links, currentDepth + 1);
|
|
22982
|
-
maxDepth2 = Math.max(maxDepth2, itemDepth);
|
|
22983
|
-
}
|
|
22984
|
-
}
|
|
22985
|
-
return maxDepth2;
|
|
22986
|
-
}
|
|
22987
|
-
function findItemById(items, id3) {
|
|
22988
|
-
if (!items || !Array.isArray(items)) {
|
|
22989
|
-
return null;
|
|
22990
|
-
}
|
|
22991
|
-
for (const item of items) {
|
|
22992
|
-
if (!item) continue;
|
|
22993
|
-
if (item.id === id3) {
|
|
22994
|
-
return item;
|
|
22995
|
-
}
|
|
22996
|
-
if (item.links && Array.isArray(item.links)) {
|
|
22997
|
-
const found = findItemById(item.links, id3);
|
|
22998
|
-
if (found) return found;
|
|
22999
|
-
}
|
|
23000
|
-
}
|
|
23001
|
-
return null;
|
|
23002
|
-
}
|
|
23003
|
-
function findPathToItem(items, targetId, path = []) {
|
|
23004
|
-
if (!items || !Array.isArray(items)) {
|
|
23005
|
-
return null;
|
|
23006
|
-
}
|
|
23007
|
-
for (const item of items) {
|
|
23008
|
-
if (!item) continue;
|
|
23009
|
-
const currentPath = [...path, item];
|
|
23010
|
-
if (item.id === targetId) {
|
|
23011
|
-
return currentPath;
|
|
23012
|
-
}
|
|
23013
|
-
if (item.links && Array.isArray(item.links)) {
|
|
23014
|
-
const found = findPathToItem(item.links, targetId, currentPath);
|
|
23015
|
-
if (found) return found;
|
|
23016
|
-
}
|
|
23017
|
-
}
|
|
23018
|
-
return null;
|
|
23019
|
-
}
|
|
23020
|
-
function getTotalItemCount(items) {
|
|
23021
|
-
if (!items || !Array.isArray(items)) {
|
|
23022
|
-
return 0;
|
|
23023
|
-
}
|
|
23024
|
-
let count = items.length;
|
|
23025
|
-
for (const item of items) {
|
|
23026
|
-
if (item && item.links && Array.isArray(item.links)) {
|
|
23027
|
-
count += getTotalItemCount(item.links);
|
|
23028
|
-
}
|
|
23029
|
-
}
|
|
23030
|
-
return count;
|
|
23031
|
-
}
|
|
23032
22977
|
function generateBreadcrumb(levels, maxLength = 50) {
|
|
23033
22978
|
if (levels.length <= 1) return levels[0]?.title || "Menu";
|
|
23034
22979
|
const breadcrumb = levels.map((level) => level.title).join(" \u203A ");
|
|
@@ -23336,166 +23281,6 @@ function MobileHeader({
|
|
|
23336
23281
|
] })
|
|
23337
23282
|
] });
|
|
23338
23283
|
}
|
|
23339
|
-
|
|
23340
|
-
// src/db/schema/users.ts
|
|
23341
|
-
var users_exports = {};
|
|
23342
|
-
__export(users_exports, {
|
|
23343
|
-
users: () => users
|
|
23344
|
-
});
|
|
23345
|
-
var users = sqliteTable("user", {
|
|
23346
|
-
id: text("id").primaryKey().$defaultFn(() => crypto.randomUUID()),
|
|
23347
|
-
name: text("name"),
|
|
23348
|
-
email: text("email").unique(),
|
|
23349
|
-
emailVerified: integer("emailVerified", { mode: "timestamp_ms" }),
|
|
23350
|
-
image: text("image"),
|
|
23351
|
-
role: text("role", { enum: ["ADMIN", "USER"] }).default("USER")
|
|
23352
|
-
});
|
|
23353
|
-
|
|
23354
|
-
// src/db/schema/accounts.ts
|
|
23355
|
-
var accounts_exports = {};
|
|
23356
|
-
__export(accounts_exports, {
|
|
23357
|
-
accounts: () => accounts
|
|
23358
|
-
});
|
|
23359
|
-
var accounts = sqliteTable(
|
|
23360
|
-
"account",
|
|
23361
|
-
{
|
|
23362
|
-
userId: text("userId").notNull().references(() => users.id, { onDelete: "cascade" }),
|
|
23363
|
-
type: text("type").$type().notNull(),
|
|
23364
|
-
provider: text("provider").notNull(),
|
|
23365
|
-
providerAccountId: text("providerAccountId").notNull(),
|
|
23366
|
-
refresh_token: text("refresh_token"),
|
|
23367
|
-
access_token: text("access_token"),
|
|
23368
|
-
expires_at: integer("expires_at"),
|
|
23369
|
-
token_type: text("token_type"),
|
|
23370
|
-
scope: text("scope"),
|
|
23371
|
-
id_token: text("id_token"),
|
|
23372
|
-
session_state: text("session_state")
|
|
23373
|
-
},
|
|
23374
|
-
(table) => [
|
|
23375
|
-
primaryKey({
|
|
23376
|
-
columns: [table.provider, table.providerAccountId],
|
|
23377
|
-
name: "accounts_pk"
|
|
23378
|
-
})
|
|
23379
|
-
]
|
|
23380
|
-
);
|
|
23381
|
-
|
|
23382
|
-
// src/db/schema/sessions.ts
|
|
23383
|
-
var sessions_exports = {};
|
|
23384
|
-
__export(sessions_exports, {
|
|
23385
|
-
sessions: () => sessions
|
|
23386
|
-
});
|
|
23387
|
-
var sessions = sqliteTable("session", {
|
|
23388
|
-
sessionToken: text("sessionToken").primaryKey(),
|
|
23389
|
-
userId: text("userId").notNull().references(() => users.id, { onDelete: "cascade" }),
|
|
23390
|
-
expires: integer("expires", { mode: "timestamp_ms" }).notNull()
|
|
23391
|
-
});
|
|
23392
|
-
|
|
23393
|
-
// src/db/index.ts
|
|
23394
|
-
var client = createClient({
|
|
23395
|
-
url: process.env.TURSO_CONNECTION_URL,
|
|
23396
|
-
authToken: process.env.TURSO_AUTH_TOKEN
|
|
23397
|
-
});
|
|
23398
|
-
var db = drizzle(client, {
|
|
23399
|
-
schema: {
|
|
23400
|
-
...users_exports,
|
|
23401
|
-
...accounts_exports,
|
|
23402
|
-
...sessions_exports
|
|
23403
|
-
}
|
|
23404
|
-
});
|
|
23405
|
-
|
|
23406
|
-
// src/auth.ts
|
|
23407
|
-
var { handlers, signIn, signOut, auth } = NextAuth({
|
|
23408
|
-
adapter: DrizzleAdapter(db),
|
|
23409
|
-
providers: [
|
|
23410
|
-
MicrosoftEntraID({
|
|
23411
|
-
clientId: process.env.AUTH_MICROSOFT_ENTRA_ID_ID,
|
|
23412
|
-
clientSecret: process.env.AUTH_MICROSOFT_ENTRA_ID_SECRET,
|
|
23413
|
-
issuer: process.env.AUTH_MICROSOFT_ENTRA_ID_ISSUER,
|
|
23414
|
-
authorization: {
|
|
23415
|
-
params: {
|
|
23416
|
-
scope: "openid profile email User.Read offline_access",
|
|
23417
|
-
tenant: process.env.AUTH_MICROSOFT_ENTRA_ID_TENANT_ID
|
|
23418
|
-
}
|
|
23419
|
-
}
|
|
23420
|
-
})
|
|
23421
|
-
],
|
|
23422
|
-
callbacks: {
|
|
23423
|
-
authorized: async ({ auth: auth2, request }) => {
|
|
23424
|
-
if (request.nextUrl.pathname.startsWith("/")) {
|
|
23425
|
-
return true;
|
|
23426
|
-
}
|
|
23427
|
-
return !!auth2;
|
|
23428
|
-
},
|
|
23429
|
-
jwt({ token, user }) {
|
|
23430
|
-
if (user) {
|
|
23431
|
-
token.id = user.id;
|
|
23432
|
-
}
|
|
23433
|
-
return token;
|
|
23434
|
-
},
|
|
23435
|
-
async session({ session, user }) {
|
|
23436
|
-
session.user.id = user.id;
|
|
23437
|
-
const [microsoftAccount] = await db.select().from(accounts).where(and(eq(accounts.userId, user.id), eq(accounts.provider, "microsoft-entra-id"))).limit(1);
|
|
23438
|
-
if (microsoftAccount && microsoftAccount.expires_at && microsoftAccount.expires_at * 1e3 < Date.now()) {
|
|
23439
|
-
try {
|
|
23440
|
-
const tokenEndpoint = `https://login.microsoftonline.com/${process.env.AUTH_MICROSOFT_ENTRA_ID_TENANT_ID}/oauth2/v2.0/token`;
|
|
23441
|
-
const response = await fetch(tokenEndpoint, {
|
|
23442
|
-
method: "POST",
|
|
23443
|
-
headers: {
|
|
23444
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
23445
|
-
},
|
|
23446
|
-
body: new URLSearchParams({
|
|
23447
|
-
client_id: process.env.AUTH_MICROSOFT_ENTRA_ID_ID,
|
|
23448
|
-
client_secret: process.env.AUTH_MICROSOFT_ENTRA_ID_SECRET,
|
|
23449
|
-
grant_type: "refresh_token",
|
|
23450
|
-
refresh_token: microsoftAccount.refresh_token,
|
|
23451
|
-
scope: "openid profile email offline_access"
|
|
23452
|
-
})
|
|
23453
|
-
});
|
|
23454
|
-
const tokensOrError = await response.json();
|
|
23455
|
-
if (!response.ok) throw tokensOrError;
|
|
23456
|
-
const newTokens = tokensOrError;
|
|
23457
|
-
await db.update(accounts).set({
|
|
23458
|
-
access_token: newTokens.access_token,
|
|
23459
|
-
expires_at: Math.floor(Date.now() / 1e3 + newTokens.expires_in),
|
|
23460
|
-
refresh_token: newTokens.refresh_token ?? microsoftAccount.refresh_token,
|
|
23461
|
-
id_token: newTokens.id_token ?? microsoftAccount.id_token
|
|
23462
|
-
}).where(
|
|
23463
|
-
and(
|
|
23464
|
-
eq(accounts.provider, "microsoft-entra-id"),
|
|
23465
|
-
eq(accounts.providerAccountId, microsoftAccount.providerAccountId)
|
|
23466
|
-
)
|
|
23467
|
-
);
|
|
23468
|
-
} catch (error) {
|
|
23469
|
-
console.error("Error refreshing access_token", error);
|
|
23470
|
-
session.error = "RefreshTokenError";
|
|
23471
|
-
}
|
|
23472
|
-
}
|
|
23473
|
-
return session;
|
|
23474
|
-
}
|
|
23475
|
-
}
|
|
23476
|
-
});
|
|
23477
|
-
|
|
23478
|
-
// src/actions/auth-actions.ts
|
|
23479
|
-
async function signInWithEntra(formData) {
|
|
23480
|
-
const redirect = formData.get("redirect")?.toString() || "/dashboard";
|
|
23481
|
-
await signIn("microsoft-entra-id", { redirectTo: redirect });
|
|
23482
|
-
}
|
|
23483
|
-
async function signInGeneric(formData) {
|
|
23484
|
-
const redirect = formData.get("redirect")?.toString() || "/dashboard";
|
|
23485
|
-
await signIn(void 0, { redirectTo: redirect });
|
|
23486
|
-
}
|
|
23487
|
-
async function signOutAction() {
|
|
23488
|
-
await signOut();
|
|
23489
|
-
}
|
|
23490
|
-
function SignInButton() {
|
|
23491
|
-
return /* @__PURE__ */ jsx("form", { action: signInGeneric, children: /* @__PURE__ */ jsx(Button2, { type: "submit", variant: "outline", children: "Sign in" }) });
|
|
23492
|
-
}
|
|
23493
|
-
function SignOutButton() {
|
|
23494
|
-
return /* @__PURE__ */ jsx("form", { action: signOutAction, children: /* @__PURE__ */ jsx(Button2, { type: "submit", color: "danger", children: "Sign Out" }) });
|
|
23495
|
-
}
|
|
23496
|
-
function SignInWithEntraButton() {
|
|
23497
|
-
return /* @__PURE__ */ jsx("form", { action: signInWithEntra, children: /* @__PURE__ */ jsx(Button2, { type: "submit", children: "Sign in with Entra" }) });
|
|
23498
|
-
}
|
|
23499
23284
|
var MOBILE_BREAKPOINT = 768;
|
|
23500
23285
|
function useIsMobile() {
|
|
23501
23286
|
const [isMobile, setIsMobile] = React16.useState(void 0);
|
|
@@ -23526,15 +23311,15 @@ function useDisableToc() {
|
|
|
23526
23311
|
}, [setToc]);
|
|
23527
23312
|
}
|
|
23528
23313
|
function getNodeText(node) {
|
|
23529
|
-
let
|
|
23314
|
+
let text = "";
|
|
23530
23315
|
for (const child of node.children ?? []) {
|
|
23531
23316
|
if ("type" in child && child.type === "text") {
|
|
23532
|
-
|
|
23317
|
+
text += child.attributes?.content ?? "";
|
|
23533
23318
|
} else if (child instanceof HTMLElement) {
|
|
23534
|
-
|
|
23319
|
+
text += getNodeText(child);
|
|
23535
23320
|
}
|
|
23536
23321
|
}
|
|
23537
|
-
return
|
|
23322
|
+
return text;
|
|
23538
23323
|
}
|
|
23539
23324
|
function domToSimple(node) {
|
|
23540
23325
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
@@ -23651,6 +23436,6 @@ var languages = [
|
|
|
23651
23436
|
"html"
|
|
23652
23437
|
];
|
|
23653
23438
|
|
|
23654
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AreaChart, AspectRatio, AuthLayout, AvailableChartColors, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, BarList, BaseColorSwatches, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, CodeDemo, CodeHighlight, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ColorCard, ColorSwatches, ColourScale, ComboChart, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description3 as Description, DescriptionDetails, DescriptionList, DescriptionTerm, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field2 as Field, FieldGroup, FieldLabel, Fieldset2 as Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatToggle, GenerateInterpolatedColors, Header2 as Header, Heading, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label3 as Label, Legend2 as Legend, LineChart, Link, _List as List, Listbox2 as Listbox, ListboxDescription, ListboxLabel, ListboxOption2 as ListboxOption, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileHeader, MobileSearch, MultiLevelPushMenu, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, Progress, ProgressBar, ProgressCircle, Prose, RadioGroup2 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator4 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarLink, SidebarNavigation,
|
|
23439
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AreaChart, AspectRatio, AuthLayout, AvailableChartColors, Avatar, AvatarFallback, AvatarImage, Badge, BadgeButton, BarChart, BarList, BaseColorSwatches, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, Button2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Code, CodeDemo, CodeHighlight, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, ColorCard, ColorSwatches, ColourScale, ComboChart, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Description3 as Description, DescriptionDetails, DescriptionList, DescriptionTerm, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DonutChart, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicFavicon, ErrorMessage, ExpandableSearch, ExpandableSearchField, Field2 as Field, FieldGroup, FieldLabel, Fieldset2 as Fieldset, Footer, FooterAcknowledgement, FooterLegalLinks, FooterSmallPrint, FooterSocialLink, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormatToggle, GenerateInterpolatedColors, Header2 as Header, Heading, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label3 as Label, Legend2 as Legend, LineChart, Link, _List as List, Listbox2 as Listbox, ListboxDescription, ListboxLabel, ListboxOption2 as ListboxOption, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MobileHeader, MobileSearch, MultiLevelPushMenu, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreWithCopy, PrevNextLinks, PrevNextLinksPageLink, Progress, ProgressBar, ProgressCircle, Prose, RadioGroup2 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator4 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarLink, SidebarNavigation, SiteSearch, Skeleton, Slider, Social, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, Switch2 as Switch, SwitchField, SwitchGroup, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs2 as Tabs, TabsContent, TabsList, TabsTrigger, Text, TextLink, Textarea, ThemeColorPalette, ThemeProvider, ThemeSelector, ThemeSwitcher, Toaster, TocContext, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopLevel, TouchTarget, Tracker, Tooltip5 as TremorTooltip, ViewToggle, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants, brand, buttonVariants, camelCase, chartColors, cn, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, domToSimple, focusInput, focusRing, generateColorThemes, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, useSelectorHeight, useToc };
|
|
23655
23440
|
//# sourceMappingURL=index.js.map
|
|
23656
23441
|
//# sourceMappingURL=index.js.map
|