nave-ui-library 1.0.0-beta.63 → 1.0.0-beta.65
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/react/index.d.ts +62 -26
- package/dist/react/index.js +33174 -2315
- package/dist/styles.css +1 -1
- package/dist/wc/index.d.ts +9 -25
- package/dist/wc/index.js +61 -61
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -1098,28 +1098,49 @@ declare function Avatar({ className, size, src, alt, fallback, name, imageClassN
|
|
|
1098
1098
|
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
|
|
1099
1099
|
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
|
|
1100
1100
|
|
|
1101
|
-
type ListItemStatus = {
|
|
1102
|
-
label: string;
|
|
1103
|
-
variant?: 'default' | 'secondary' | 'destructive' | 'outline';
|
|
1104
|
-
};
|
|
1105
1101
|
type ListItemProps = {
|
|
1106
|
-
id: string;
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1102
|
+
id: string | number;
|
|
1103
|
+
children: ReactNode;
|
|
1104
|
+
onItemClick?: (id: string | number) => void;
|
|
1105
|
+
className?: string;
|
|
1106
|
+
tokens?: Partial<ThemeTokensBase>;
|
|
1107
|
+
};
|
|
1108
|
+
declare const ListItem$1: ({ id, onItemClick, children, tokens, className, }: ListItemProps) => react_jsx_runtime.JSX.Element;
|
|
1109
|
+
|
|
1110
|
+
type ListItemContentProps = {
|
|
1110
1111
|
title: string;
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1112
|
+
description: string;
|
|
1113
|
+
icon?: string;
|
|
1114
|
+
labels: {
|
|
1115
|
+
icon: string;
|
|
1116
|
+
label: string;
|
|
1117
|
+
}[];
|
|
1118
|
+
tokens?: Partial<ThemeTokensBase>;
|
|
1119
|
+
};
|
|
1120
|
+
declare const ListItemContent: ({ title, description, icon, labels, tokens, }: ListItemContentProps) => react_jsx_runtime.JSX.Element;
|
|
1121
|
+
|
|
1122
|
+
type ListItemHeaderProps = {
|
|
1123
|
+
label: string;
|
|
1124
|
+
icon?: string;
|
|
1125
|
+
tokens?: Partial<ThemeTokensBase>;
|
|
1126
|
+
};
|
|
1127
|
+
declare const ListItemHeader: ({ label, icon, tokens, }: ListItemHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
1128
|
+
|
|
1129
|
+
type ListItemInfoProps = {
|
|
1130
|
+
title?: string;
|
|
1131
|
+
description?: string;
|
|
1132
|
+
label?: string;
|
|
1133
|
+
children?: ReactNode;
|
|
1120
1134
|
className?: string;
|
|
1135
|
+
tokens?: Partial<ThemeTokensBase>;
|
|
1136
|
+
};
|
|
1137
|
+
declare const ListItemInfo: ({ title, description, label, tokens, children, className, }: ListItemInfoProps) => react_jsx_runtime.JSX.Element;
|
|
1138
|
+
|
|
1139
|
+
declare const ListItem: typeof ListItem$1 & {
|
|
1140
|
+
Header: typeof ListItemHeader;
|
|
1141
|
+
Content: typeof ListItemContent;
|
|
1142
|
+
Info: typeof ListItemInfo;
|
|
1121
1143
|
};
|
|
1122
|
-
declare function ListItem({ id, overline, title, subtitle, amount, status, onItemClick, className, }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
1123
1144
|
|
|
1124
1145
|
declare function Table({ className, tokens, ...props }: React$1.ComponentProps<'table'> & {
|
|
1125
1146
|
tokens?: Partial<ThemeTokensBase>;
|
|
@@ -1318,14 +1339,28 @@ type BannerProps = React$1.ComponentProps<'div'> & VariantProps<typeof bannerVar
|
|
|
1318
1339
|
};
|
|
1319
1340
|
declare function Banner({ className, asChild, tokens, variant, size, orientation, imagePosition, contentAlign, imageDisplay, heroContentPosition, heroMinHeight, heroOverlay, title, description, cta, imageSrc, imageAlt, icon, endSlot, ...props }: BannerProps): react_jsx_runtime.JSX.Element;
|
|
1320
1341
|
|
|
1321
|
-
type CardProps =
|
|
1322
|
-
|
|
1323
|
-
|
|
1342
|
+
type CardProps = HTMLAttributes<HTMLDivElement> & {
|
|
1343
|
+
children: ReactNode;
|
|
1344
|
+
tokens?: Partial<ThemeTokensBase>;
|
|
1345
|
+
imgSrc?: string;
|
|
1346
|
+
imgAlt?: string;
|
|
1347
|
+
imgOri?: 'left' | 'right';
|
|
1348
|
+
orientation?: 'vertical' | 'horizontal';
|
|
1349
|
+
};
|
|
1350
|
+
type CardContentProps = HTMLAttributes<HTMLDivElement> & {
|
|
1324
1351
|
tokens?: Partial<ThemeTokensBase>;
|
|
1325
|
-
|
|
1326
|
-
|
|
1352
|
+
title?: string;
|
|
1353
|
+
description?: string;
|
|
1354
|
+
children?: ReactNode;
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
declare function Card$1({ className, tokens, children, orientation, imgSrc, imgAlt, imgOri, style, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
1358
|
+
|
|
1359
|
+
declare const CardContent: ({ tokens, title, description, className, children, style, ...props }: CardContentProps) => react_jsx_runtime.JSX.Element;
|
|
1360
|
+
|
|
1361
|
+
declare const Card: typeof Card$1 & {
|
|
1362
|
+
Content: typeof CardContent;
|
|
1327
1363
|
};
|
|
1328
|
-
declare function Card({ className, title, action, tokens, variant, width, children, style, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
1329
1364
|
|
|
1330
1365
|
type CarouselProps = {
|
|
1331
1366
|
children: ReactNode;
|
|
@@ -1895,7 +1930,8 @@ declare enum COMPONENT_NAMES {
|
|
|
1895
1930
|
ICON = "icon",
|
|
1896
1931
|
SELECT = "select",
|
|
1897
1932
|
ALERT = "alert",
|
|
1898
|
-
CALENDAR = "calendar"
|
|
1933
|
+
CALENDAR = "calendar",
|
|
1934
|
+
LIST_ITEM = "listItem"
|
|
1899
1935
|
}
|
|
1900
1936
|
|
|
1901
1937
|
/**
|
|
@@ -1976,4 +2012,4 @@ declare function useTokenStyles<T extends ResolvedTokenMap = ResolvedTokenMap>(c
|
|
|
1976
2012
|
tokens: T;
|
|
1977
2013
|
};
|
|
1978
2014
|
|
|
1979
|
-
export { AIProvider, type AIProviderProps, type AIRequest, type AIRequestFn, type AIResponse, type AITask, Accordion, AccordionContent, AccordionItem, type AccordionTokens, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, type AlertTokens, Avatar, AvatarFallback, AvatarImage, type AvatarSize, type AvatarTokens, Badge, type BadgeShape, type BadgeSize, type BadgeTokens, type BadgeTone, Banner, type BannerProps, type BannerTokens, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbSize, type BreadcrumbTokens, Button, type ButtonProps, type ButtonTokens, COMPONENT_NAMES, type CSSPropertiesWithVars, Calendar, type CalendarTokens, Card, type
|
|
2015
|
+
export { AIProvider, type AIProviderProps, type AIRequest, type AIRequestFn, type AIResponse, type AITask, Accordion, AccordionContent, AccordionItem, type AccordionTokens, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, type AlertTokens, Avatar, AvatarFallback, AvatarImage, type AvatarSize, type AvatarTokens, Badge, type BadgeShape, type BadgeSize, type BadgeTokens, type BadgeTone, Banner, type BannerProps, type BannerTokens, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbSize, type BreadcrumbTokens, Button, type ButtonProps, type ButtonTokens, COMPONENT_NAMES, type CSSPropertiesWithVars, Calendar, type CalendarTokens, Card, type CardTokens, Carousel, type ChartDatum, type ChartType, Charts, type ChartsProps, type ChartsTokens, Checkbox, type CheckboxTokens, type ColorBundle, type ColorBundleWithShadow, ColorExample, Combobox, DatePickerInput, type DragSliderTokens, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, type DrawerSlotTokens, DrawerTitle, type DrawerTokens, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownTokens, EmptyState, type EmptyStateProps, type EmptyStateTokens, ExpansionPanel, type ExpansionPanelProps, type ExpansionPanelSize, type ExpansionPanelStatus, Feedback, type FeedbackProps, type FeedbackSize, FileUpload, type FileUploadProps, type FileUploadState, type FileUploadTokens, type FontSizeTokens, Header, type HeaderProps, type HeaderSize, type HeaderTokens, INPUT_TOKEN_MAP, Icon, IconLabel, type IconLabelProps, type IconProps, type IconSize, type IconTokens, type IconVariant, Input, type InputSizeDimensions, type InputTokens, IntegrationCard, type IntegrationCardProps, type IntegrationCardTokens, Label, type LabelTokens, type LabeledFontTokens, ListItem, Loader, LoaderInit, type LoaderProps, type LoaderSize, type LoaderTokens, type LoaderVariant, type Merchant, type ModalDialogTokens, ModuleBox, type ModuleBoxTokens, Navbar, NavbarLogo, NavbarMerchant, type NavbarTokens, type NavbarUser, NavbarUserMenu, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationTokens, PasswordInput, Popover, PopoverAnchor, PopoverContent, type PopoverTokens, PopoverTrigger, Progress, type ProgressTokens, type PromoBannerTokens, RadioGroup, RadioItem, type RadioTokens, type ResolvedTokenMap, SearchBar, Select, type SelectTokens, Separator, type SeparatorTokens, Sidebar, type SidebarItem, type SidebarProps, type SidebarSection, type SidebarTokens, Switch, type SwitchTokens, Table, TableBody, TableCaption, TableCell, TableCellDescription, TableFooter, TableHead, TableHeader, TableRow, type TableTokens, Tabs, TabsContent, TabsList, type TabsSize, type TabsTokens, TabsTrigger, Textarea, ThemeProvider, type ThemeTokensBase, Tile, type TileProps, type TileSize, type TokenStyleMap, Tooltip, TooltipContent, TooltipProvider, type TooltipTokens, TooltipTrigger, Tour, type TourProps, type TourTokens, type TypographyTokens, accordionContentVariants, accordionTriggerVariants, bannerVariants, buttonBaseClasses, cn, inputSizeExtras, mapTokenStyles, resolveTokens, tokenAt, useAI, useTheme, useTokenStyles };
|