nave-ui-library 1.0.0-beta.70 → 1.0.0-beta.72
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 +24 -24
- package/dist/react/index.js +173 -272
- package/dist/styles.css +1 -1
- package/dist/wc/index.d.ts +21 -23
- package/dist/wc/index.js +50 -50
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -1502,36 +1502,35 @@ type ProgressProps = React$1.ComponentProps<typeof ProgressPrimitive.Root> & {
|
|
|
1502
1502
|
};
|
|
1503
1503
|
declare function Progress({ className, style, value, label, showValue, description, icon, variant, tokens, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
1504
1504
|
|
|
1505
|
-
type
|
|
1505
|
+
type Modes = 'light' | 'mid' | 'dark' | 'gradient';
|
|
1506
1506
|
type Orientation = 'horizontal' | 'vertical';
|
|
1507
1507
|
type ImagePosition = 'left' | 'right' | 'top' | 'bottom';
|
|
1508
|
-
type ContentAlign = 'left' | 'center';
|
|
1509
|
-
type
|
|
1510
|
-
type
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1508
|
+
type ContentAlign = 'left' | 'center' | 'right';
|
|
1509
|
+
type ImageWidth = 'sm' | 'md' | 'lg' | 'xl';
|
|
1510
|
+
type Size = 'sm' | 'md' | 'lg' | 'xl';
|
|
1511
|
+
type BannerButtons = {
|
|
1512
|
+
label: string;
|
|
1513
|
+
onClick: () => void;
|
|
1514
|
+
variant: 'primary' | 'secondary' | 'tertiary' | 'neutral';
|
|
1515
|
+
}[];
|
|
1516
|
+
type BannerProps = React.ComponentProps<'div'> & {
|
|
1517
1517
|
tokens?: Partial<ThemeTokensBase>;
|
|
1518
|
-
|
|
1518
|
+
mode?: Modes;
|
|
1519
|
+
size?: Size;
|
|
1519
1520
|
orientation?: Orientation;
|
|
1520
|
-
imagePosition?: ImagePosition;
|
|
1521
1521
|
contentAlign?: ContentAlign;
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
description?: React$1.ReactNode;
|
|
1528
|
-
cta?: React$1.ReactNode;
|
|
1522
|
+
title?: React.ReactNode;
|
|
1523
|
+
description?: React.ReactNode;
|
|
1524
|
+
actions?: BannerButtons;
|
|
1525
|
+
imagePosition?: ImagePosition;
|
|
1526
|
+
imageWidth?: ImageWidth;
|
|
1529
1527
|
imageSrc: string;
|
|
1530
1528
|
imageAlt?: string;
|
|
1531
|
-
icon?: React$1.ReactNode;
|
|
1532
|
-
endSlot?: React$1.ReactNode;
|
|
1533
1529
|
};
|
|
1534
|
-
|
|
1530
|
+
|
|
1531
|
+
declare const Banner: ({ className, tokens, orientation, mode, imagePosition, contentAlign, title, description, actions, size, imageWidth, imageSrc, imageAlt, ...props }: BannerProps) => react_jsx_runtime.JSX.Element;
|
|
1532
|
+
|
|
1533
|
+
declare const PROMO_BANNER_TOKEN_MAP: TokenStyleMap;
|
|
1535
1534
|
|
|
1536
1535
|
type CardProps = HTMLAttributes<HTMLDivElement> & {
|
|
1537
1536
|
children: ReactNode;
|
|
@@ -1758,8 +1757,9 @@ interface InputProps extends Omit<React$1.ComponentProps<'input'>, 'size'> {
|
|
|
1758
1757
|
label?: string;
|
|
1759
1758
|
helperText?: string;
|
|
1760
1759
|
error?: boolean;
|
|
1760
|
+
autocomplete?: string;
|
|
1761
1761
|
}
|
|
1762
|
-
declare function Input({ className, type, size, label, helperText, error, disabled, tokens, style, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
1762
|
+
declare function Input({ className, type, size, label, helperText, error, disabled, tokens, style, autocomplete, autoComplete, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
1763
1763
|
|
|
1764
1764
|
interface LabelProps extends React$1.ComponentProps<typeof LabelPrimitive.Root> {
|
|
1765
1765
|
tokens?: Partial<ThemeTokensBase>;
|
|
@@ -2099,4 +2099,4 @@ declare function ThemeProvider({ channelId, theme, children, }: {
|
|
|
2099
2099
|
children: React.ReactNode;
|
|
2100
2100
|
}): react_jsx_runtime.JSX.Element;
|
|
2101
2101
|
|
|
2102
|
-
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_TOKEN_MAP, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeTokens, type BadgeTone, Banner, type
|
|
2102
|
+
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_TOKEN_MAP, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeTokens, type BadgeTone, Banner, 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, PROMO_BANNER_TOKEN_MAP, 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, TABS_STYLE, TABS_TOKEN_MAP, TOOLTIP_TOKEN_MAP, Table, TableBody, TableCaption, TableCell, TableCellDescription, TableFooter, TableHead, TableHeader, TableRow, type TableTokens, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, type TabsSize, type TabsTokens, TabsTrigger, type TabsTriggerProps, Textarea, ThemeProvider, type ThemeTokensBase, Tile, type TileProps, type TileSize, type TokenStyleMap, Tooltip, TooltipContent, TooltipProvider, TooltipStateContext, type TooltipTokens, TooltipTrigger, Tour, type TourProps, type TourTokens, type TypographyTokens, buttonBaseClasses, cn, inputSizeExtras, mapTokenStyles, resolveTokens, tokenAt, useAI, useTheme, useTokenStyles };
|