@nswds/app 3.0.2 → 4.0.1
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/index.cjs +115 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +65 -20
- package/dist/index.d.ts +65 -20
- package/dist/index.js +116 -104
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -18,7 +18,8 @@ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
|
18
18
|
import { Command as Command$1 } from 'cmdk';
|
|
19
19
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
20
20
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
21
|
-
import {
|
|
21
|
+
import { RowData, ReactTable, ColumnDef, SortingState, Column } from '@tanstack/react-table';
|
|
22
|
+
import * as _tanstack_table_core from '@tanstack/table-core';
|
|
22
23
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
23
24
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
24
25
|
import * as react_hook_form from 'react-hook-form';
|
|
@@ -958,6 +959,50 @@ declare function ContextMenuLabel({ className, inset, ...props }: react.Componen
|
|
|
958
959
|
declare function ContextMenuSeparator({ className, ...props }: react.ComponentProps<typeof ContextMenuPrimitive.Separator>): react.JSX.Element;
|
|
959
960
|
declare function ContextMenuShortcut({ className, ...props }: react.ComponentProps<'span'>): react.JSX.Element;
|
|
960
961
|
|
|
962
|
+
declare const dataTableFeatures: {
|
|
963
|
+
rowSortingFeature: _tanstack_table_core.TableFeature;
|
|
964
|
+
columnFilteringFeature: _tanstack_table_core.TableFeature;
|
|
965
|
+
globalFilteringFeature: _tanstack_table_core.TableFeature;
|
|
966
|
+
columnVisibilityFeature: _tanstack_table_core.TableFeature;
|
|
967
|
+
rowSelectionFeature: _tanstack_table_core.TableFeature;
|
|
968
|
+
rowPaginationFeature: _tanstack_table_core.TableFeature;
|
|
969
|
+
columnFacetingFeature: _tanstack_table_core.TableFeature;
|
|
970
|
+
sortedRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
|
|
971
|
+
filteredRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
|
|
972
|
+
paginatedRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
|
|
973
|
+
facetedRowModel: (table: _tanstack_table_core.Table<any, any>, columnId: string) => () => _tanstack_table_core.RowModel<any, any>;
|
|
974
|
+
facetedUniqueValues: (table: _tanstack_table_core.Table<_tanstack_table_core.TableFeatures, any>, columnId: string) => () => Map<any, number>;
|
|
975
|
+
filterFns: {
|
|
976
|
+
arrIncludes: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
977
|
+
arrIncludesAll: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
978
|
+
arrHas: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
979
|
+
arrIncludesSome: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
980
|
+
between: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
981
|
+
betweenInclusive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
982
|
+
empty: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
983
|
+
endsWith: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
984
|
+
equals: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
985
|
+
equalsString: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
986
|
+
equalsStringSensitive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
987
|
+
inDateRange: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
988
|
+
inNumberRange: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
989
|
+
includesString: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
990
|
+
includesStringSensitive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
991
|
+
notEmpty: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
992
|
+
startsWith: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
993
|
+
weakEquals: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
994
|
+
};
|
|
995
|
+
sortFns: {
|
|
996
|
+
alphanumeric: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
997
|
+
alphanumericCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
998
|
+
basic: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
999
|
+
datetime: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
1000
|
+
text: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
1001
|
+
textCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
type DataTableFeatures = typeof dataTableFeatures;
|
|
1005
|
+
|
|
961
1006
|
type ToolbarValue = {
|
|
962
1007
|
value: string;
|
|
963
1008
|
label: string;
|
|
@@ -970,17 +1015,17 @@ interface FacetGroup {
|
|
|
970
1015
|
title: string;
|
|
971
1016
|
values: ToolbarValue[];
|
|
972
1017
|
}
|
|
973
|
-
interface DataTableToolbarProps<TData> {
|
|
974
|
-
table:
|
|
1018
|
+
interface DataTableToolbarProps<TData extends RowData> {
|
|
1019
|
+
table: ReactTable<DataTableFeatures, TData>;
|
|
975
1020
|
toolbar?: FacetGroup[];
|
|
976
1021
|
search?: {
|
|
977
1022
|
placeholder?: string;
|
|
978
1023
|
};
|
|
979
1024
|
}
|
|
980
|
-
declare function DataTableToolbar<TData>({ search, toolbar, table }: DataTableToolbarProps<TData>): react.JSX.Element;
|
|
1025
|
+
declare function DataTableToolbar<TData extends RowData>({ search, toolbar, table, }: DataTableToolbarProps<TData>): react.JSX.Element;
|
|
981
1026
|
|
|
982
|
-
interface DataTableProps<TData
|
|
983
|
-
columns: ColumnDef<
|
|
1027
|
+
interface DataTableProps<TData extends RowData> {
|
|
1028
|
+
columns: ColumnDef<DataTableFeatures, TData>[];
|
|
984
1029
|
data: TData[];
|
|
985
1030
|
toolbar?: FacetGroup[];
|
|
986
1031
|
search?: {
|
|
@@ -988,17 +1033,17 @@ interface DataTableProps<TData, TValue> {
|
|
|
988
1033
|
};
|
|
989
1034
|
initialSorting?: SortingState;
|
|
990
1035
|
}
|
|
991
|
-
declare function DataTable<TData
|
|
1036
|
+
declare function DataTable<TData extends RowData>({ search, toolbar, columns, data, initialSorting, }: DataTableProps<TData>): react.JSX.Element;
|
|
992
1037
|
|
|
993
|
-
interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
994
|
-
column: Column<TData, TValue>;
|
|
1038
|
+
interface DataTableColumnHeaderProps<TData extends RowData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
1039
|
+
column: Column<DataTableFeatures, TData, TValue>;
|
|
995
1040
|
title: string;
|
|
996
1041
|
sortType?: 'string' | 'number' | 'date';
|
|
997
1042
|
}
|
|
998
|
-
declare function DataTableColumnHeader<TData, TValue>({ column, title, className, sortType, }: DataTableColumnHeaderProps<TData, TValue>): react.JSX.Element;
|
|
1043
|
+
declare function DataTableColumnHeader<TData extends RowData, TValue>({ column, title, className, sortType, }: DataTableColumnHeaderProps<TData, TValue>): react.JSX.Element;
|
|
999
1044
|
|
|
1000
|
-
interface DataTableFacetedFilterProps<TData, TValue> {
|
|
1001
|
-
column?: Column<TData, TValue>;
|
|
1045
|
+
interface DataTableFacetedFilterProps<TData extends RowData, TValue> {
|
|
1046
|
+
column?: Column<DataTableFeatures, TData, TValue>;
|
|
1002
1047
|
title?: string;
|
|
1003
1048
|
options: {
|
|
1004
1049
|
label: string;
|
|
@@ -1008,17 +1053,17 @@ interface DataTableFacetedFilterProps<TData, TValue> {
|
|
|
1008
1053
|
}>;
|
|
1009
1054
|
}[];
|
|
1010
1055
|
}
|
|
1011
|
-
declare function DataTableFacetedFilter<TData, TValue>({ column, title, options, }: DataTableFacetedFilterProps<TData, TValue>): react.JSX.Element;
|
|
1056
|
+
declare function DataTableFacetedFilter<TData extends RowData, TValue>({ column, title, options, }: DataTableFacetedFilterProps<TData, TValue>): react.JSX.Element;
|
|
1012
1057
|
|
|
1013
|
-
interface DataTablePaginationProps<TData> {
|
|
1014
|
-
table:
|
|
1058
|
+
interface DataTablePaginationProps<TData extends RowData> {
|
|
1059
|
+
table: ReactTable<DataTableFeatures, TData>;
|
|
1015
1060
|
}
|
|
1016
|
-
declare function DataTablePagination<TData>({ table }: DataTablePaginationProps<TData>): react.JSX.Element;
|
|
1061
|
+
declare function DataTablePagination<TData extends RowData>({ table, }: DataTablePaginationProps<TData>): react.JSX.Element;
|
|
1017
1062
|
|
|
1018
|
-
interface DataTableViewOptionsProps<TData> {
|
|
1019
|
-
table:
|
|
1063
|
+
interface DataTableViewOptionsProps<TData extends RowData> {
|
|
1064
|
+
table: ReactTable<DataTableFeatures, TData>;
|
|
1020
1065
|
}
|
|
1021
|
-
declare function DataTableViewOptions<TData>({ table }: DataTableViewOptionsProps<TData>): react.JSX.Element;
|
|
1066
|
+
declare function DataTableViewOptions<TData extends RowData>({ table, }: DataTableViewOptionsProps<TData>): react.JSX.Element;
|
|
1022
1067
|
|
|
1023
1068
|
declare function DescriptionList({ className, ...props }: React.ComponentPropsWithoutRef<'dl'>): react.JSX.Element;
|
|
1024
1069
|
declare function DescriptionTerm({ className, ...props }: React.ComponentPropsWithoutRef<'dt'>): react.JSX.Element;
|
|
@@ -6580,4 +6625,4 @@ declare const focusInput: string[];
|
|
|
6580
6625
|
declare const hasErrorInput: string[];
|
|
6581
6626
|
declare const focusRing: string[];
|
|
6582
6627
|
|
|
6583
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge$1 as Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button$2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel$1 as Carousel, type CarouselApi$1 as CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible$1 as Collapsible, CollapsibleContent$1 as CollapsibleContent, CollapsibleTrigger$1 as CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, ColorPairingTool, 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, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, 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$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent$1 as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem$1 as DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger$1 as 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, HeroBannerSimple, HeroBannerSupportingImage, HoverCard$1 as HoverCard, HoverCardContent$1 as HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input$1 as Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link$1 as Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loader, Loading, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuMainNavigation, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, NotFound, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, 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, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea$1 as 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, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Suggestion, Suggestions, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, type TextTypeProps, Textarea$1 as Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, 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, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants$1 as badgeVariants, brand, buttonVariants$2 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, usePromptInputAttachments, useSelectorHeight, useSidebar, useStickyOffset, useToc };
|
|
6628
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge$1 as Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button$2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel$1 as Carousel, type CarouselApi$1 as CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible$1 as Collapsible, CollapsibleContent$1 as CollapsibleContent, CollapsibleTrigger$1 as CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, ColorPairingTool, 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, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, DataTable, DataTableColumnHeader, DataTableFacetedFilter, type DataTableFeatures, 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$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent$1 as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem$1 as DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger$1 as 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, HeroBannerSimple, HeroBannerSupportingImage, HoverCard$1 as HoverCard, HoverCardContent$1 as HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input$1 as Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link$1 as Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loader, Loading, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuMainNavigation, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, NotFound, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, 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, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea$1 as 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, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Suggestion, Suggestions, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, type TextTypeProps, Textarea$1 as Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, 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, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants$1 as badgeVariants, brand, buttonVariants$2 as buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, dataTableFeatures, 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, usePromptInputAttachments, useSelectorHeight, useSidebar, useStickyOffset, useToc };
|
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,8 @@ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
|
18
18
|
import { Command as Command$1 } from 'cmdk';
|
|
19
19
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
20
20
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
21
|
-
import {
|
|
21
|
+
import { RowData, ReactTable, ColumnDef, SortingState, Column } from '@tanstack/react-table';
|
|
22
|
+
import * as _tanstack_table_core from '@tanstack/table-core';
|
|
22
23
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
23
24
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
24
25
|
import * as react_hook_form from 'react-hook-form';
|
|
@@ -958,6 +959,50 @@ declare function ContextMenuLabel({ className, inset, ...props }: react.Componen
|
|
|
958
959
|
declare function ContextMenuSeparator({ className, ...props }: react.ComponentProps<typeof ContextMenuPrimitive.Separator>): react.JSX.Element;
|
|
959
960
|
declare function ContextMenuShortcut({ className, ...props }: react.ComponentProps<'span'>): react.JSX.Element;
|
|
960
961
|
|
|
962
|
+
declare const dataTableFeatures: {
|
|
963
|
+
rowSortingFeature: _tanstack_table_core.TableFeature;
|
|
964
|
+
columnFilteringFeature: _tanstack_table_core.TableFeature;
|
|
965
|
+
globalFilteringFeature: _tanstack_table_core.TableFeature;
|
|
966
|
+
columnVisibilityFeature: _tanstack_table_core.TableFeature;
|
|
967
|
+
rowSelectionFeature: _tanstack_table_core.TableFeature;
|
|
968
|
+
rowPaginationFeature: _tanstack_table_core.TableFeature;
|
|
969
|
+
columnFacetingFeature: _tanstack_table_core.TableFeature;
|
|
970
|
+
sortedRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
|
|
971
|
+
filteredRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
|
|
972
|
+
paginatedRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
|
|
973
|
+
facetedRowModel: (table: _tanstack_table_core.Table<any, any>, columnId: string) => () => _tanstack_table_core.RowModel<any, any>;
|
|
974
|
+
facetedUniqueValues: (table: _tanstack_table_core.Table<_tanstack_table_core.TableFeatures, any>, columnId: string) => () => Map<any, number>;
|
|
975
|
+
filterFns: {
|
|
976
|
+
arrIncludes: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
977
|
+
arrIncludesAll: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
978
|
+
arrHas: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
979
|
+
arrIncludesSome: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
980
|
+
between: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
981
|
+
betweenInclusive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
982
|
+
empty: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
983
|
+
endsWith: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
984
|
+
equals: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
985
|
+
equalsString: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
986
|
+
equalsStringSensitive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
987
|
+
inDateRange: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
988
|
+
inNumberRange: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
989
|
+
includesString: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
990
|
+
includesStringSensitive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
991
|
+
notEmpty: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
992
|
+
startsWith: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
993
|
+
weakEquals: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
994
|
+
};
|
|
995
|
+
sortFns: {
|
|
996
|
+
alphanumeric: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
997
|
+
alphanumericCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
998
|
+
basic: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
999
|
+
datetime: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
1000
|
+
text: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
1001
|
+
textCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
type DataTableFeatures = typeof dataTableFeatures;
|
|
1005
|
+
|
|
961
1006
|
type ToolbarValue = {
|
|
962
1007
|
value: string;
|
|
963
1008
|
label: string;
|
|
@@ -970,17 +1015,17 @@ interface FacetGroup {
|
|
|
970
1015
|
title: string;
|
|
971
1016
|
values: ToolbarValue[];
|
|
972
1017
|
}
|
|
973
|
-
interface DataTableToolbarProps<TData> {
|
|
974
|
-
table:
|
|
1018
|
+
interface DataTableToolbarProps<TData extends RowData> {
|
|
1019
|
+
table: ReactTable<DataTableFeatures, TData>;
|
|
975
1020
|
toolbar?: FacetGroup[];
|
|
976
1021
|
search?: {
|
|
977
1022
|
placeholder?: string;
|
|
978
1023
|
};
|
|
979
1024
|
}
|
|
980
|
-
declare function DataTableToolbar<TData>({ search, toolbar, table }: DataTableToolbarProps<TData>): react.JSX.Element;
|
|
1025
|
+
declare function DataTableToolbar<TData extends RowData>({ search, toolbar, table, }: DataTableToolbarProps<TData>): react.JSX.Element;
|
|
981
1026
|
|
|
982
|
-
interface DataTableProps<TData
|
|
983
|
-
columns: ColumnDef<
|
|
1027
|
+
interface DataTableProps<TData extends RowData> {
|
|
1028
|
+
columns: ColumnDef<DataTableFeatures, TData>[];
|
|
984
1029
|
data: TData[];
|
|
985
1030
|
toolbar?: FacetGroup[];
|
|
986
1031
|
search?: {
|
|
@@ -988,17 +1033,17 @@ interface DataTableProps<TData, TValue> {
|
|
|
988
1033
|
};
|
|
989
1034
|
initialSorting?: SortingState;
|
|
990
1035
|
}
|
|
991
|
-
declare function DataTable<TData
|
|
1036
|
+
declare function DataTable<TData extends RowData>({ search, toolbar, columns, data, initialSorting, }: DataTableProps<TData>): react.JSX.Element;
|
|
992
1037
|
|
|
993
|
-
interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
994
|
-
column: Column<TData, TValue>;
|
|
1038
|
+
interface DataTableColumnHeaderProps<TData extends RowData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
1039
|
+
column: Column<DataTableFeatures, TData, TValue>;
|
|
995
1040
|
title: string;
|
|
996
1041
|
sortType?: 'string' | 'number' | 'date';
|
|
997
1042
|
}
|
|
998
|
-
declare function DataTableColumnHeader<TData, TValue>({ column, title, className, sortType, }: DataTableColumnHeaderProps<TData, TValue>): react.JSX.Element;
|
|
1043
|
+
declare function DataTableColumnHeader<TData extends RowData, TValue>({ column, title, className, sortType, }: DataTableColumnHeaderProps<TData, TValue>): react.JSX.Element;
|
|
999
1044
|
|
|
1000
|
-
interface DataTableFacetedFilterProps<TData, TValue> {
|
|
1001
|
-
column?: Column<TData, TValue>;
|
|
1045
|
+
interface DataTableFacetedFilterProps<TData extends RowData, TValue> {
|
|
1046
|
+
column?: Column<DataTableFeatures, TData, TValue>;
|
|
1002
1047
|
title?: string;
|
|
1003
1048
|
options: {
|
|
1004
1049
|
label: string;
|
|
@@ -1008,17 +1053,17 @@ interface DataTableFacetedFilterProps<TData, TValue> {
|
|
|
1008
1053
|
}>;
|
|
1009
1054
|
}[];
|
|
1010
1055
|
}
|
|
1011
|
-
declare function DataTableFacetedFilter<TData, TValue>({ column, title, options, }: DataTableFacetedFilterProps<TData, TValue>): react.JSX.Element;
|
|
1056
|
+
declare function DataTableFacetedFilter<TData extends RowData, TValue>({ column, title, options, }: DataTableFacetedFilterProps<TData, TValue>): react.JSX.Element;
|
|
1012
1057
|
|
|
1013
|
-
interface DataTablePaginationProps<TData> {
|
|
1014
|
-
table:
|
|
1058
|
+
interface DataTablePaginationProps<TData extends RowData> {
|
|
1059
|
+
table: ReactTable<DataTableFeatures, TData>;
|
|
1015
1060
|
}
|
|
1016
|
-
declare function DataTablePagination<TData>({ table }: DataTablePaginationProps<TData>): react.JSX.Element;
|
|
1061
|
+
declare function DataTablePagination<TData extends RowData>({ table, }: DataTablePaginationProps<TData>): react.JSX.Element;
|
|
1017
1062
|
|
|
1018
|
-
interface DataTableViewOptionsProps<TData> {
|
|
1019
|
-
table:
|
|
1063
|
+
interface DataTableViewOptionsProps<TData extends RowData> {
|
|
1064
|
+
table: ReactTable<DataTableFeatures, TData>;
|
|
1020
1065
|
}
|
|
1021
|
-
declare function DataTableViewOptions<TData>({ table }: DataTableViewOptionsProps<TData>): react.JSX.Element;
|
|
1066
|
+
declare function DataTableViewOptions<TData extends RowData>({ table, }: DataTableViewOptionsProps<TData>): react.JSX.Element;
|
|
1022
1067
|
|
|
1023
1068
|
declare function DescriptionList({ className, ...props }: React.ComponentPropsWithoutRef<'dl'>): react.JSX.Element;
|
|
1024
1069
|
declare function DescriptionTerm({ className, ...props }: React.ComponentPropsWithoutRef<'dt'>): react.JSX.Element;
|
|
@@ -6580,4 +6625,4 @@ declare const focusInput: string[];
|
|
|
6580
6625
|
declare const hasErrorInput: string[];
|
|
6581
6626
|
declare const focusRing: string[];
|
|
6582
6627
|
|
|
6583
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge$1 as Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button$2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel$1 as Carousel, type CarouselApi$1 as CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible$1 as Collapsible, CollapsibleContent$1 as CollapsibleContent, CollapsibleTrigger$1 as CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, ColorPairingTool, 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, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, 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$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent$1 as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem$1 as DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger$1 as 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, HeroBannerSimple, HeroBannerSupportingImage, HoverCard$1 as HoverCard, HoverCardContent$1 as HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input$1 as Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link$1 as Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loader, Loading, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuMainNavigation, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, NotFound, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, 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, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea$1 as 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, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Suggestion, Suggestions, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, type TextTypeProps, Textarea$1 as Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, 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, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants$1 as badgeVariants, brand, buttonVariants$2 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, usePromptInputAttachments, useSelectorHeight, useSidebar, useStickyOffset, useToc };
|
|
6628
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Action, Actions, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AnimationState, AreaChart, type AreaChartEventProps, Artifact, ArtifactAction, ArtifactActions, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle, AspectRatio, type AuthButtonProps, AuthLayout, AvailableChartColors, type AvailableChartColorsKeys, Avatar, AvatarFallback, AvatarImage, Badge$1 as Badge, BadgeButton, BarChart, type BarChartEventProps, BarList, type BarListProps, type BaseCodeData, BaseColorSwatches, Branch, BranchMessages, BranchNext, BranchPage, BranchPrevious, BranchSelector, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button$2 as Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel$1 as Carousel, type CarouselApi$1 as CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryBar, type CategoryBarProps, ChainOfThought, ChainOfThoughtContent, ChainOfThoughtHeader, ChainOfThoughtImage, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxSmall, Code, CodeBlock, CodeBlockCopyButton, type CodeData, CodeDemo, type CodeDemoProps, CodeHighlight, type CodeHighlightProps, type CodeItem, type CodeVariant, Collapsible$1 as Collapsible, CollapsibleContent$1 as CollapsibleContent, CollapsibleTrigger$1 as CollapsibleTrigger, type Color$1 as Color, ColorCard, type ColorCardProps, type ColorData, ColorPairingTool, 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, Context, ContextCacheUsage, ContextContent, ContextContentBody, ContextContentFooter, ContextContentHeader, ContextInputUsage, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextOutputUsage, ContextReasoningUsage, ContextTrigger, Conversation, ConversationContent, ConversationEmptyState, ConversationScrollButton, DataTable, DataTableColumnHeader, DataTableFacetedFilter, type DataTableFeatures, 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$1 as DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent$1 as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem$1 as DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger$1 as 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, HeroBannerSimple, HeroBannerSupportingImage, HoverCard$1 as HoverCard, HoverCardContent$1 as HoverCardContent, HoverCardTrigger, type IFrameData, type IFrameMap, type IFrameOptions, type IFrameProps, type IconProps, Icons, Image, InlineCitation, InlineCitationCard, InlineCitationCardBody, InlineCitationCardTrigger, InlineCitationCarousel, InlineCitationCarouselContent, InlineCitationCarouselHeader, InlineCitationCarouselIndex, InlineCitationCarouselItem, InlineCitationSource, InlineCitationText, Input$1 as Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, type Language, type LayoutProps, Legend, LineChart, type LineChartEventProps, Link$1 as Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loader, Loading, Logo, MainNavigation, Masthead, MegaMenu, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageContent, MobileHeader, MobileSearch, MultiLevelPushMenu, type MultiLevelPushMenuProps, NSWCard, NSWCardArrow, NSWCardDescription, NSWCardIcon, NSWCardImg, NSWCardTitle, Navbar, NavbarDivider, NavbarItem, NavbarLabel, NavbarSection, NavbarSpacer, Navigation, type NavigationItem, type NavigationLink, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuMainNavigation, NavigationMenuTrigger, NavigationMenuViewport, type NavigationSection, NotFound, OpenIn, OpenInChatGPT, OpenInClaude, OpenInContent, OpenInScira, OpenInT3, OpenInTrigger, OpenInv0, 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, PromptInput, PromptInputActionAddAttachments, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuItem, PromptInputActionMenuTrigger, PromptInputAttachment, PromptInputAttachments, PromptInputBody, PromptInputButton, PromptInputSubmit, PromptInputTextarea, PromptInputToolbar, PromptInputTools, Prose, type PushNavigationItem, type PushNavigationLevel, RadioGroup, RadioGroupItem, Reasoning, ReasoningContent, ReasoningTrigger, ResizableHandle, ResizablePanel, ResizablePanelGroup, Response, ScrollArea$1 as 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, Source, Sources, SourcesContent, SourcesTrigger, SparkAreaChart, SparkBarChart, SparkLineChart, Spinner, StepIndicator, StepNavigation, Strong, type StructuredColor, SubmitButton, Suggestion, Suggestions, Switch, SwitchField, SwitchGroup, TabNavigation, TabNavigationLink, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, type TableOfContentsItem, type TableOfContentsProps, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Task, TaskContent, TaskItem, TaskItemFile, TaskTrigger, Text, TextLink, type TextTypeProps, Textarea$1 as Textarea, type ThemeCategory, ThemeColorPalette, type ThemeMessage, type ThemeOption, ThemeProvider, ThemeSelector, type ThemeSelectorDropDownProps, type ThemeSelectorProps, ThemeSwitcher, Toaster, TocContext, type TocContextType, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, Tool, ToolContent, ToolHeader, ToolInput, ToolOutput, 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, WebPreview, WebPreviewBody, WebPreviewNavigation, WebPreviewUrl, Wrapper, aboriginal, addStartStopToColorArray, allPalettes, badgeVariants$1 as badgeVariants, brand, buttonVariants$2 as buttonVariants, camelCase, chartColors, cn, type colorCategories, colorDataArray, colorThemes, colors, constructCategoryColors, createColorArray, createColorData, createFormStore, darkenColor, dataTableFeatures, 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, usePromptInputAttachments, useSelectorHeight, useSidebar, useStickyOffset, useToc };
|