@nswds/app 5.0.8 → 6.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/globals.css +0 -3
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -59
- package/dist/index.d.ts +19 -59
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -3
- package/dist/styles.css.map +1 -1
- package/package.json +1 -11
package/dist/index.d.cts
CHANGED
|
@@ -18,8 +18,7 @@ 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 { RowData, ReactTable, ColumnDef, SortingState, Column } from '@tanstack/react-table';
|
|
22
|
-
import * as _tanstack_table_core from '@tanstack/table-core';
|
|
21
|
+
import { rowSortingFeature, columnFilteringFeature, globalFilteringFeature, columnVisibilityFeature, rowSelectionFeature, rowPaginationFeature, columnFacetingFeature, Table as Table$1, RowModel, TableFeatures, filterFns, sortFns, RowData, ReactTable, ColumnDef, SortingState, Column } from '@tanstack/react-table';
|
|
23
22
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
24
23
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
25
24
|
import * as react_hook_form from 'react-hook-form';
|
|
@@ -688,20 +687,6 @@ type TypeExampleProps = {
|
|
|
688
687
|
typeProps: TextTypeProps;
|
|
689
688
|
};
|
|
690
689
|
type FormStatus = 'completed' | 'saved' | 'in-progress' | 'error' | 'not-started' | 'cannot-start';
|
|
691
|
-
interface AuthButtonProps {
|
|
692
|
-
user?: {
|
|
693
|
-
name?: string | null;
|
|
694
|
-
email?: string | null;
|
|
695
|
-
image?: string | null;
|
|
696
|
-
} | null;
|
|
697
|
-
}
|
|
698
|
-
interface AuthButtonProps {
|
|
699
|
-
user?: {
|
|
700
|
-
name?: string | null;
|
|
701
|
-
email?: string | null;
|
|
702
|
-
image?: string | null;
|
|
703
|
-
} | null;
|
|
704
|
-
}
|
|
705
690
|
|
|
706
691
|
declare function BaseColorSwatches({ baseColors, format, }: {
|
|
707
692
|
baseColors: string[] | undefined;
|
|
@@ -954,49 +939,24 @@ declare function ContextMenuLabel({ className, inset, ...props }: react.Componen
|
|
|
954
939
|
declare function ContextMenuSeparator({ className, ...props }: react.ComponentProps<typeof ContextMenuPrimitive.Separator>): react.JSX.Element;
|
|
955
940
|
declare function ContextMenuShortcut({ className, ...props }: react.ComponentProps<'span'>): react.JSX.Element;
|
|
956
941
|
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
arrHas: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
974
|
-
arrIncludesSome: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
975
|
-
between: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
976
|
-
betweenInclusive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
977
|
-
empty: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
978
|
-
endsWith: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
979
|
-
equals: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
980
|
-
equalsString: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
981
|
-
equalsStringSensitive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
982
|
-
inDateRange: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
983
|
-
inNumberRange: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
984
|
-
includesString: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
985
|
-
includesStringSensitive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
986
|
-
notEmpty: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
987
|
-
startsWith: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
988
|
-
weakEquals: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
989
|
-
};
|
|
990
|
-
sortFns: {
|
|
991
|
-
alphanumeric: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
992
|
-
alphanumericCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
993
|
-
basic: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
994
|
-
datetime: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
995
|
-
text: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
996
|
-
textCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
997
|
-
};
|
|
942
|
+
type InferredAny = any;
|
|
943
|
+
type DataTableFeatures = {
|
|
944
|
+
rowSortingFeature: typeof rowSortingFeature;
|
|
945
|
+
columnFilteringFeature: typeof columnFilteringFeature;
|
|
946
|
+
globalFilteringFeature: typeof globalFilteringFeature;
|
|
947
|
+
columnVisibilityFeature: typeof columnVisibilityFeature;
|
|
948
|
+
rowSelectionFeature: typeof rowSelectionFeature;
|
|
949
|
+
rowPaginationFeature: typeof rowPaginationFeature;
|
|
950
|
+
columnFacetingFeature: typeof columnFacetingFeature;
|
|
951
|
+
sortedRowModel: (table: Table$1<InferredAny, InferredAny>) => () => RowModel<InferredAny, InferredAny>;
|
|
952
|
+
filteredRowModel: (table: Table$1<InferredAny, InferredAny>) => () => RowModel<InferredAny, InferredAny>;
|
|
953
|
+
paginatedRowModel: (table: Table$1<InferredAny, InferredAny>) => () => RowModel<InferredAny, InferredAny>;
|
|
954
|
+
facetedRowModel: (table: Table$1<InferredAny, InferredAny>, columnId: string) => () => RowModel<InferredAny, InferredAny>;
|
|
955
|
+
facetedUniqueValues: (table: Table$1<TableFeatures, InferredAny>, columnId: string) => () => Map<InferredAny, number>;
|
|
956
|
+
filterFns: typeof filterFns;
|
|
957
|
+
sortFns: typeof sortFns;
|
|
998
958
|
};
|
|
999
|
-
|
|
959
|
+
declare const dataTableFeatures: DataTableFeatures;
|
|
1000
960
|
|
|
1001
961
|
type ToolbarValue = {
|
|
1002
962
|
value: string;
|
|
@@ -6247,4 +6207,4 @@ declare const focusInput: string[];
|
|
|
6247
6207
|
declare const hasErrorInput: string[];
|
|
6248
6208
|
declare const focusRing: string[];
|
|
6249
6209
|
|
|
6250
|
-
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,
|
|
6210
|
+
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, 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, 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, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, 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, 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, HeroBannerSimple, 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$1 as Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loading, 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, 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, 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, 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, useSelectorHeight, useSidebar, useStickyOffset, useToc };
|
package/dist/index.d.ts
CHANGED
|
@@ -18,8 +18,7 @@ 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 { RowData, ReactTable, ColumnDef, SortingState, Column } from '@tanstack/react-table';
|
|
22
|
-
import * as _tanstack_table_core from '@tanstack/table-core';
|
|
21
|
+
import { rowSortingFeature, columnFilteringFeature, globalFilteringFeature, columnVisibilityFeature, rowSelectionFeature, rowPaginationFeature, columnFacetingFeature, Table as Table$1, RowModel, TableFeatures, filterFns, sortFns, RowData, ReactTable, ColumnDef, SortingState, Column } from '@tanstack/react-table';
|
|
23
22
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
24
23
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
25
24
|
import * as react_hook_form from 'react-hook-form';
|
|
@@ -688,20 +687,6 @@ type TypeExampleProps = {
|
|
|
688
687
|
typeProps: TextTypeProps;
|
|
689
688
|
};
|
|
690
689
|
type FormStatus = 'completed' | 'saved' | 'in-progress' | 'error' | 'not-started' | 'cannot-start';
|
|
691
|
-
interface AuthButtonProps {
|
|
692
|
-
user?: {
|
|
693
|
-
name?: string | null;
|
|
694
|
-
email?: string | null;
|
|
695
|
-
image?: string | null;
|
|
696
|
-
} | null;
|
|
697
|
-
}
|
|
698
|
-
interface AuthButtonProps {
|
|
699
|
-
user?: {
|
|
700
|
-
name?: string | null;
|
|
701
|
-
email?: string | null;
|
|
702
|
-
image?: string | null;
|
|
703
|
-
} | null;
|
|
704
|
-
}
|
|
705
690
|
|
|
706
691
|
declare function BaseColorSwatches({ baseColors, format, }: {
|
|
707
692
|
baseColors: string[] | undefined;
|
|
@@ -954,49 +939,24 @@ declare function ContextMenuLabel({ className, inset, ...props }: react.Componen
|
|
|
954
939
|
declare function ContextMenuSeparator({ className, ...props }: react.ComponentProps<typeof ContextMenuPrimitive.Separator>): react.JSX.Element;
|
|
955
940
|
declare function ContextMenuShortcut({ className, ...props }: react.ComponentProps<'span'>): react.JSX.Element;
|
|
956
941
|
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
arrHas: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
974
|
-
arrIncludesSome: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
975
|
-
between: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
976
|
-
betweenInclusive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
977
|
-
empty: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
978
|
-
endsWith: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
979
|
-
equals: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
980
|
-
equalsString: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
981
|
-
equalsStringSensitive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
982
|
-
inDateRange: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
983
|
-
inNumberRange: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
984
|
-
includesString: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
985
|
-
includesStringSensitive: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
986
|
-
notEmpty: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
987
|
-
startsWith: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
988
|
-
weakEquals: _tanstack_table_core.CreatedFilterFn<any, any>;
|
|
989
|
-
};
|
|
990
|
-
sortFns: {
|
|
991
|
-
alphanumeric: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
992
|
-
alphanumericCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
993
|
-
basic: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
994
|
-
datetime: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
995
|
-
text: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
996
|
-
textCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
|
|
997
|
-
};
|
|
942
|
+
type InferredAny = any;
|
|
943
|
+
type DataTableFeatures = {
|
|
944
|
+
rowSortingFeature: typeof rowSortingFeature;
|
|
945
|
+
columnFilteringFeature: typeof columnFilteringFeature;
|
|
946
|
+
globalFilteringFeature: typeof globalFilteringFeature;
|
|
947
|
+
columnVisibilityFeature: typeof columnVisibilityFeature;
|
|
948
|
+
rowSelectionFeature: typeof rowSelectionFeature;
|
|
949
|
+
rowPaginationFeature: typeof rowPaginationFeature;
|
|
950
|
+
columnFacetingFeature: typeof columnFacetingFeature;
|
|
951
|
+
sortedRowModel: (table: Table$1<InferredAny, InferredAny>) => () => RowModel<InferredAny, InferredAny>;
|
|
952
|
+
filteredRowModel: (table: Table$1<InferredAny, InferredAny>) => () => RowModel<InferredAny, InferredAny>;
|
|
953
|
+
paginatedRowModel: (table: Table$1<InferredAny, InferredAny>) => () => RowModel<InferredAny, InferredAny>;
|
|
954
|
+
facetedRowModel: (table: Table$1<InferredAny, InferredAny>, columnId: string) => () => RowModel<InferredAny, InferredAny>;
|
|
955
|
+
facetedUniqueValues: (table: Table$1<TableFeatures, InferredAny>, columnId: string) => () => Map<InferredAny, number>;
|
|
956
|
+
filterFns: typeof filterFns;
|
|
957
|
+
sortFns: typeof sortFns;
|
|
998
958
|
};
|
|
999
|
-
|
|
959
|
+
declare const dataTableFeatures: DataTableFeatures;
|
|
1000
960
|
|
|
1001
961
|
type ToolbarValue = {
|
|
1002
962
|
value: string;
|
|
@@ -6247,4 +6207,4 @@ declare const focusInput: string[];
|
|
|
6247
6207
|
declare const hasErrorInput: string[];
|
|
6248
6208
|
declare const focusRing: string[];
|
|
6249
6209
|
|
|
6250
|
-
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,
|
|
6210
|
+
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, 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, 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, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, 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, 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, HeroBannerSimple, 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$1 as Link, _List as List, Listbox, ListboxDescription, ListboxLabel, ListboxOption, Loading, 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, 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, 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, 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, useSelectorHeight, useSidebar, useStickyOffset, useToc };
|
package/dist/index.js
CHANGED
|
@@ -13213,7 +13213,7 @@ function TableCaption({ className, ...props }) {
|
|
|
13213
13213
|
}
|
|
13214
13214
|
);
|
|
13215
13215
|
}
|
|
13216
|
-
var
|
|
13216
|
+
var inferredDataTableFeatures = tableFeatures({
|
|
13217
13217
|
rowSortingFeature,
|
|
13218
13218
|
columnFilteringFeature,
|
|
13219
13219
|
globalFilteringFeature,
|
|
@@ -13229,6 +13229,7 @@ var dataTableFeatures = tableFeatures({
|
|
|
13229
13229
|
filterFns,
|
|
13230
13230
|
sortFns
|
|
13231
13231
|
});
|
|
13232
|
+
var dataTableFeatures = inferredDataTableFeatures;
|
|
13232
13233
|
function DataTable({
|
|
13233
13234
|
search,
|
|
13234
13235
|
toolbar,
|
|
@@ -14435,7 +14436,7 @@ function FormatToggle({ format, setFormat }) {
|
|
|
14435
14436
|
|
|
14436
14437
|
// package.json
|
|
14437
14438
|
var package_default = {
|
|
14438
|
-
version: "
|
|
14439
|
+
version: "6.0.1"};
|
|
14439
14440
|
var SluggerContext = React5__default.createContext(null);
|
|
14440
14441
|
function flattenText(nodes) {
|
|
14441
14442
|
if (nodes == null || typeof nodes === "boolean") return "";
|