@nswds/app 1.66.3 → 1.67.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 +214 -98
- package/dist/index.cjs +325 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -16
- package/dist/index.d.ts +49 -16
- package/dist/index.js +319 -87
- package/dist/index.js.map +1 -1
- package/dist/styles.css +214 -95
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1552,25 +1552,56 @@ declare function NavigationMenuViewport({ className, ...props }: React$1.Compone
|
|
|
1552
1552
|
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
1553
1553
|
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
1554
1554
|
|
|
1555
|
+
declare const cardVariants: (props?: ({
|
|
1556
|
+
variant?: "default" | "highlight" | null | undefined;
|
|
1557
|
+
color?: "white" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
1558
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1559
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1560
|
+
declare function NSWCardTitle({ children, className, href, ...props }: {
|
|
1561
|
+
children: React__default.ReactNode;
|
|
1562
|
+
className?: string;
|
|
1563
|
+
href: string;
|
|
1564
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1565
|
+
declare function NSWCardDescription({ children, className, ...props }: {
|
|
1566
|
+
children: React__default.ReactNode;
|
|
1567
|
+
className?: string;
|
|
1568
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1569
|
+
declare function NSWCardArrow({ className, ...props }: {
|
|
1570
|
+
color?: string;
|
|
1571
|
+
className?: string;
|
|
1572
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1573
|
+
declare function NSWCard({ children, topBorder, className, variant, color, size, ...props }: React__default.ComponentProps<'div'> & VariantProps<typeof cardVariants> & {
|
|
1574
|
+
children: React__default.ReactNode;
|
|
1575
|
+
topBorder?: string;
|
|
1576
|
+
className?: string;
|
|
1577
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1578
|
+
|
|
1555
1579
|
declare function PageHeading({ heading, children, className, }: {
|
|
1556
1580
|
heading?: string;
|
|
1557
1581
|
children?: React__default.ReactNode;
|
|
1558
1582
|
className?: string;
|
|
1559
1583
|
}): react_jsx_runtime.JSX.Element;
|
|
1560
1584
|
|
|
1561
|
-
type
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1585
|
+
type PaginationVariant = 'line' | 'default';
|
|
1586
|
+
interface PaginationProps extends React$1.ComponentPropsWithoutRef<'nav'> {
|
|
1587
|
+
variant?: PaginationVariant;
|
|
1588
|
+
'aria-label'?: string;
|
|
1589
|
+
}
|
|
1590
|
+
declare function Pagination({ variant, className, 'aria-label': ariaLabel, children, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
1591
|
+
type LinkLike = {
|
|
1592
|
+
href?: string | null;
|
|
1565
1593
|
className?: string;
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
declare function
|
|
1569
|
-
declare function
|
|
1570
|
-
declare function
|
|
1571
|
-
declare function
|
|
1572
|
-
|
|
1573
|
-
|
|
1594
|
+
children?: React$1.ReactNode;
|
|
1595
|
+
};
|
|
1596
|
+
declare function PaginationPrevious({ href, className, children }: LinkLike): react_jsx_runtime.JSX.Element;
|
|
1597
|
+
declare function PaginationNext({ href, className, children }: LinkLike): react_jsx_runtime.JSX.Element;
|
|
1598
|
+
declare function PaginationList({ className, ...props }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime.JSX.Element;
|
|
1599
|
+
declare function PaginationPage({ href, className, current, children, }: React$1.PropsWithChildren<{
|
|
1600
|
+
href: string;
|
|
1601
|
+
className?: string;
|
|
1602
|
+
current?: boolean;
|
|
1603
|
+
}>): react_jsx_runtime.JSX.Element;
|
|
1604
|
+
declare function PaginationGap({ className, children, ...props }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime.JSX.Element;
|
|
1574
1605
|
|
|
1575
1606
|
declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1576
1607
|
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -1982,15 +2013,17 @@ declare function createFormStore<FD extends Record<string, unknown>>(opts: {
|
|
|
1982
2013
|
storageKey: string;
|
|
1983
2014
|
initialFormData: FD;
|
|
1984
2015
|
initialFormStatus: Record<keyof FD & string, FormStatus>;
|
|
1985
|
-
}): zustand.UseBoundStore<Omit<zustand.StoreApi<FormStore<FD>>, "persist"> & {
|
|
2016
|
+
}): zustand.UseBoundStore<Omit<zustand.StoreApi<FormStore<FD>>, "setState" | "persist"> & {
|
|
2017
|
+
setState(partial: FormStore<FD> | Partial<FormStore<FD>> | ((state: FormStore<FD>) => FormStore<FD> | Partial<FormStore<FD>>), replace?: false | undefined): unknown;
|
|
2018
|
+
setState(state: FormStore<FD> | ((state: FormStore<FD>) => FormStore<FD>), replace: true): unknown;
|
|
1986
2019
|
persist: {
|
|
1987
|
-
setOptions: (options: Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown>>) => void;
|
|
2020
|
+
setOptions: (options: Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown, unknown>>) => void;
|
|
1988
2021
|
clearStorage: () => void;
|
|
1989
2022
|
rehydrate: () => Promise<void> | void;
|
|
1990
2023
|
hasHydrated: () => boolean;
|
|
1991
2024
|
onHydrate: (fn: (state: FormStore<FD>) => void) => () => void;
|
|
1992
2025
|
onFinishHydration: (fn: (state: FormStore<FD>) => void) => () => void;
|
|
1993
|
-
getOptions: () => Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown>>;
|
|
2026
|
+
getOptions: () => Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown, unknown>>;
|
|
1994
2027
|
};
|
|
1995
2028
|
}>;
|
|
1996
2029
|
type FormStatusHook = () => {
|
|
@@ -2205,4 +2238,4 @@ declare const focusInput: string[];
|
|
|
2205
2238
|
declare const hasErrorInput: string[];
|
|
2206
2239
|
declare const focusRing: string[];
|
|
2207
2240
|
|
|
2208
|
-
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$1 as 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, CheckboxSmall, 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, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, 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, HeroBannerSupportingImage, 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, PageHeading, Pagination,
|
|
2241
|
+
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$1 as 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, CheckboxSmall, 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, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, 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, HeroBannerSupportingImage, 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, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, type Output, PageHeading, Pagination, PaginationGap, PaginationList, PaginationNext, PaginationPage, 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, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLink, type SidebarLinkProps, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavigation, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, 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, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants, brand, buttonVariants$1 as buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, diverging, domToSimple, focusInput, focusRing, generateColorThemes, generateDataVisColors, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, sequential, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, useSelectorHeight, useSidebar, useToc };
|
package/dist/index.d.ts
CHANGED
|
@@ -1552,25 +1552,56 @@ declare function NavigationMenuViewport({ className, ...props }: React$1.Compone
|
|
|
1552
1552
|
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
1553
1553
|
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
1554
1554
|
|
|
1555
|
+
declare const cardVariants: (props?: ({
|
|
1556
|
+
variant?: "default" | "highlight" | null | undefined;
|
|
1557
|
+
color?: "white" | "primary" | "secondary" | "tertiary" | null | undefined;
|
|
1558
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1559
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1560
|
+
declare function NSWCardTitle({ children, className, href, ...props }: {
|
|
1561
|
+
children: React__default.ReactNode;
|
|
1562
|
+
className?: string;
|
|
1563
|
+
href: string;
|
|
1564
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1565
|
+
declare function NSWCardDescription({ children, className, ...props }: {
|
|
1566
|
+
children: React__default.ReactNode;
|
|
1567
|
+
className?: string;
|
|
1568
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1569
|
+
declare function NSWCardArrow({ className, ...props }: {
|
|
1570
|
+
color?: string;
|
|
1571
|
+
className?: string;
|
|
1572
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1573
|
+
declare function NSWCard({ children, topBorder, className, variant, color, size, ...props }: React__default.ComponentProps<'div'> & VariantProps<typeof cardVariants> & {
|
|
1574
|
+
children: React__default.ReactNode;
|
|
1575
|
+
topBorder?: string;
|
|
1576
|
+
className?: string;
|
|
1577
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1578
|
+
|
|
1555
1579
|
declare function PageHeading({ heading, children, className, }: {
|
|
1556
1580
|
heading?: string;
|
|
1557
1581
|
children?: React__default.ReactNode;
|
|
1558
1582
|
className?: string;
|
|
1559
1583
|
}): react_jsx_runtime.JSX.Element;
|
|
1560
1584
|
|
|
1561
|
-
type
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1585
|
+
type PaginationVariant = 'line' | 'default';
|
|
1586
|
+
interface PaginationProps extends React$1.ComponentPropsWithoutRef<'nav'> {
|
|
1587
|
+
variant?: PaginationVariant;
|
|
1588
|
+
'aria-label'?: string;
|
|
1589
|
+
}
|
|
1590
|
+
declare function Pagination({ variant, className, 'aria-label': ariaLabel, children, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
1591
|
+
type LinkLike = {
|
|
1592
|
+
href?: string | null;
|
|
1565
1593
|
className?: string;
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
declare function
|
|
1569
|
-
declare function
|
|
1570
|
-
declare function
|
|
1571
|
-
declare function
|
|
1572
|
-
|
|
1573
|
-
|
|
1594
|
+
children?: React$1.ReactNode;
|
|
1595
|
+
};
|
|
1596
|
+
declare function PaginationPrevious({ href, className, children }: LinkLike): react_jsx_runtime.JSX.Element;
|
|
1597
|
+
declare function PaginationNext({ href, className, children }: LinkLike): react_jsx_runtime.JSX.Element;
|
|
1598
|
+
declare function PaginationList({ className, ...props }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime.JSX.Element;
|
|
1599
|
+
declare function PaginationPage({ href, className, current, children, }: React$1.PropsWithChildren<{
|
|
1600
|
+
href: string;
|
|
1601
|
+
className?: string;
|
|
1602
|
+
current?: boolean;
|
|
1603
|
+
}>): react_jsx_runtime.JSX.Element;
|
|
1604
|
+
declare function PaginationGap({ className, children, ...props }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime.JSX.Element;
|
|
1574
1605
|
|
|
1575
1606
|
declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1576
1607
|
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -1982,15 +2013,17 @@ declare function createFormStore<FD extends Record<string, unknown>>(opts: {
|
|
|
1982
2013
|
storageKey: string;
|
|
1983
2014
|
initialFormData: FD;
|
|
1984
2015
|
initialFormStatus: Record<keyof FD & string, FormStatus>;
|
|
1985
|
-
}): zustand.UseBoundStore<Omit<zustand.StoreApi<FormStore<FD>>, "persist"> & {
|
|
2016
|
+
}): zustand.UseBoundStore<Omit<zustand.StoreApi<FormStore<FD>>, "setState" | "persist"> & {
|
|
2017
|
+
setState(partial: FormStore<FD> | Partial<FormStore<FD>> | ((state: FormStore<FD>) => FormStore<FD> | Partial<FormStore<FD>>), replace?: false | undefined): unknown;
|
|
2018
|
+
setState(state: FormStore<FD> | ((state: FormStore<FD>) => FormStore<FD>), replace: true): unknown;
|
|
1986
2019
|
persist: {
|
|
1987
|
-
setOptions: (options: Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown>>) => void;
|
|
2020
|
+
setOptions: (options: Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown, unknown>>) => void;
|
|
1988
2021
|
clearStorage: () => void;
|
|
1989
2022
|
rehydrate: () => Promise<void> | void;
|
|
1990
2023
|
hasHydrated: () => boolean;
|
|
1991
2024
|
onHydrate: (fn: (state: FormStore<FD>) => void) => () => void;
|
|
1992
2025
|
onFinishHydration: (fn: (state: FormStore<FD>) => void) => () => void;
|
|
1993
|
-
getOptions: () => Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown>>;
|
|
2026
|
+
getOptions: () => Partial<zustand_middleware.PersistOptions<FormStore<FD>, unknown, unknown>>;
|
|
1994
2027
|
};
|
|
1995
2028
|
}>;
|
|
1996
2029
|
type FormStatusHook = () => {
|
|
@@ -2205,4 +2238,4 @@ declare const focusInput: string[];
|
|
|
2205
2238
|
declare const hasErrorInput: string[];
|
|
2206
2239
|
declare const focusRing: string[];
|
|
2207
2240
|
|
|
2208
|
-
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$1 as 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, CheckboxSmall, 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, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, 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, HeroBannerSupportingImage, 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, PageHeading, Pagination,
|
|
2241
|
+
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$1 as 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, CheckboxSmall, 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, DataTable, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableToolbar, DataTableViewOptions, 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, HeroBannerSupportingImage, 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, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, type Output, PageHeading, Pagination, PaginationGap, PaginationList, PaginationNext, PaginationPage, 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, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLink, type SidebarLinkProps, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarNavigation, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SimpleNode, type SingleCodeData, SiteSearch, Skeleton, Slider, Social, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, 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, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants, brand, buttonVariants$1 as buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, diverging, domToSimple, focusInput, focusRing, generateColorThemes, generateDataVisColors, getColorClassName, getColorValue, getHeadings, getNodeText, getSurroundingColors, getYAxisDomain, hasErrorInput, hasOnlyOneValueForKey, humaniseVariant, interpolateColors, isLightColor, kebabCase, languages, lightenColor, navigationMenuTriggerStyle, oklchConverter, progressBarVariants, renderColorOutput, renderColorOutputToDTFM, semantic, sequential, shades, themeIndices, themeTokens, toggleVariants, truncate, useActiveSectionObserver, useDisableToc, useFormField, useIsMobile, useOnWindowResize, usePageHeadings, useSelectorHeight, useSidebar, useToc };
|