nave-ui-library 1.0.0-beta.64 → 1.0.0-beta.66
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 +61 -35
- package/dist/react/index.js +33199 -2310
- package/dist/styles.css +1 -1
- package/dist/wc/index.d.ts +6 -24
- package/dist/wc/index.js +60 -65
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import { HTMLAttributes,
|
|
3
|
+
import { ReactNode, HTMLAttributes, ComponentProps, CSSProperties } from 'react';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
6
6
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
@@ -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>;
|
|
@@ -1402,20 +1423,24 @@ type AccordionProps = (Omit<AccordionPrimitive.AccordionMultipleProps, 'type'> &
|
|
|
1402
1423
|
size?: 'sm' | 'md';
|
|
1403
1424
|
tokens?: Partial<ThemeTokensBase>;
|
|
1404
1425
|
});
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
declare const
|
|
1409
|
-
size?: "sm" | "md"
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
declare
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1426
|
+
|
|
1427
|
+
declare const Accordion$1: ({ size, tokens, type, ...props }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
1428
|
+
|
|
1429
|
+
declare const AccordionContent: ({ className, children, ...props }: ComponentProps<typeof AccordionPrimitive.Content> & {
|
|
1430
|
+
size?: "sm" | "md";
|
|
1431
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1432
|
+
|
|
1433
|
+
declare const AccordionItem: ({ className, ...props }: ComponentProps<typeof AccordionPrimitive.Item>) => react_jsx_runtime.JSX.Element;
|
|
1434
|
+
|
|
1435
|
+
declare const AccordionTrigger: ({ className, children, ...props }: ComponentProps<typeof AccordionPrimitive.Trigger> & {
|
|
1436
|
+
size?: "sm" | "md";
|
|
1437
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1438
|
+
|
|
1439
|
+
declare const Accordion: typeof Accordion$1 & {
|
|
1440
|
+
Content: typeof AccordionContent;
|
|
1441
|
+
Item: typeof AccordionItem;
|
|
1442
|
+
Trigger: typeof AccordionTrigger;
|
|
1443
|
+
};
|
|
1419
1444
|
|
|
1420
1445
|
type ExpansionPanelStatus = 'incomplete' | 'complete' | 'blocked';
|
|
1421
1446
|
type ExpansionPanelSize = 'small' | 'medium';
|
|
@@ -1909,7 +1934,8 @@ declare enum COMPONENT_NAMES {
|
|
|
1909
1934
|
ICON = "icon",
|
|
1910
1935
|
SELECT = "select",
|
|
1911
1936
|
ALERT = "alert",
|
|
1912
|
-
CALENDAR = "calendar"
|
|
1937
|
+
CALENDAR = "calendar",
|
|
1938
|
+
LIST_ITEM = "listItem"
|
|
1913
1939
|
}
|
|
1914
1940
|
|
|
1915
1941
|
/**
|
|
@@ -1990,4 +2016,4 @@ declare function useTokenStyles<T extends ResolvedTokenMap = ResolvedTokenMap>(c
|
|
|
1990
2016
|
tokens: T;
|
|
1991
2017
|
};
|
|
1992
2018
|
|
|
1993
|
-
export { AIProvider, type AIProviderProps, type AIRequest, type AIRequestFn, type AIResponse, type AITask, Accordion,
|
|
2019
|
+
export { AIProvider, type AIProviderProps, type AIRequest, type AIRequestFn, type AIResponse, type AITask, Accordion, type AccordionTokens, 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, bannerVariants, buttonBaseClasses, cn, inputSizeExtras, mapTokenStyles, resolveTokens, tokenAt, useAI, useTheme, useTokenStyles };
|