@bergetai/ui 0.12.1 → 0.13.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 +270 -508
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -54
- package/dist/index.d.ts +24 -54
- package/dist/index.js +241 -487
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -13,6 +13,7 @@ import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
|
13
13
|
import { Tooltip } from '@base-ui/react/tooltip';
|
|
14
14
|
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
15
15
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
16
|
+
import { Select as Select$1 } from '@base-ui/react/select';
|
|
16
17
|
import { LucideProps, LucideIcon } from 'lucide-react';
|
|
17
18
|
|
|
18
19
|
type Theme = 'dark' | 'light' | 'system';
|
|
@@ -78,9 +79,10 @@ declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div
|
|
|
78
79
|
|
|
79
80
|
declare const cardVariants: (props?: ({
|
|
80
81
|
variant?: "outlined" | "filled" | null | undefined;
|
|
81
|
-
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
82
82
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
83
83
|
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
84
|
+
/** Spacing scale of the card. `sm` uses a compact 16px spacing, `default` 24px. */
|
|
85
|
+
size?: 'default' | 'sm';
|
|
84
86
|
}
|
|
85
87
|
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
86
88
|
|
|
@@ -329,7 +331,7 @@ declare function NavigationMenuTrigger({ className, children, ...props }: Naviga
|
|
|
329
331
|
declare function NavigationMenuLink({ className, ...props }: NavigationMenu$1.Link.Props): react_jsx_runtime.JSX.Element;
|
|
330
332
|
declare function NavigationMenuPositioner({ className, side, sideOffset, align, alignOffset, ...props }: NavigationMenu$1.Positioner.Props): react_jsx_runtime.JSX.Element;
|
|
331
333
|
|
|
332
|
-
declare function Input
|
|
334
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
333
335
|
|
|
334
336
|
declare function Separator({ className, orientation, ...props }: Separator$1.Props): react_jsx_runtime.JSX.Element;
|
|
335
337
|
|
|
@@ -358,7 +360,7 @@ declare function Sidebar({ side, variant, collapsible, className, children, dir,
|
|
|
358
360
|
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button$1>): react_jsx_runtime.JSX.Element;
|
|
359
361
|
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
360
362
|
declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
361
|
-
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input
|
|
363
|
+
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
362
364
|
declare function SidebarHeader$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
363
365
|
declare function SidebarFooter$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
364
366
|
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
@@ -485,14 +487,11 @@ declare const ItemDescription: React$1.ForwardRefExoticComponent<Omit<React$1.Cl
|
|
|
485
487
|
/** ItemSeparator — override colour. */
|
|
486
488
|
declare const ItemSeparator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
487
489
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
error?: string;
|
|
494
|
-
}
|
|
495
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
490
|
+
type SearchInputProps = React$1.ComponentProps<'input'>;
|
|
491
|
+
declare const SearchInput: {
|
|
492
|
+
({ type, placeholder, className, ref, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
493
|
+
displayName: string;
|
|
494
|
+
};
|
|
496
495
|
|
|
497
496
|
declare const checkboxVariants: (props?: ({
|
|
498
497
|
variant?: "default" | "error" | "success" | null | undefined;
|
|
@@ -521,31 +520,18 @@ interface SwitchProps extends Omit<Switch$1.Root.Props, 'className'>, VariantPro
|
|
|
521
520
|
}
|
|
522
521
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
523
522
|
|
|
524
|
-
declare const
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
error?: string;
|
|
537
|
-
placeholder?: string;
|
|
538
|
-
options: SelectOption[];
|
|
539
|
-
id?: string;
|
|
540
|
-
disabled?: boolean;
|
|
541
|
-
value?: string;
|
|
542
|
-
defaultValue?: string;
|
|
543
|
-
onValueChange?: (value: string) => void;
|
|
544
|
-
name?: string;
|
|
545
|
-
required?: boolean;
|
|
546
|
-
className?: string;
|
|
547
|
-
}
|
|
548
|
-
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
523
|
+
declare const Select: typeof Select$1.Root;
|
|
524
|
+
declare function SelectGroup({ className, ...props }: Select$1.Group.Props): react_jsx_runtime.JSX.Element;
|
|
525
|
+
declare function SelectValue({ className, ...props }: Select$1.Value.Props): react_jsx_runtime.JSX.Element;
|
|
526
|
+
declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
|
|
527
|
+
size?: "sm" | "default";
|
|
528
|
+
}): react_jsx_runtime.JSX.Element;
|
|
529
|
+
declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): react_jsx_runtime.JSX.Element;
|
|
530
|
+
declare function SelectLabel({ className, ...props }: Select$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
531
|
+
declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): react_jsx_runtime.JSX.Element;
|
|
532
|
+
declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
533
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime.JSX.Element;
|
|
534
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime.JSX.Element;
|
|
549
535
|
|
|
550
536
|
/**
|
|
551
537
|
* List of countries supported by Odoo Fiscal Localization
|
|
@@ -573,23 +559,7 @@ interface CountrySelectProps {
|
|
|
573
559
|
}
|
|
574
560
|
declare const CountrySelect: React$1.ForwardRefExoticComponent<CountrySelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
575
561
|
|
|
576
|
-
declare
|
|
577
|
-
variant?: "default" | "primary" | "muted" | "subtle" | null | undefined;
|
|
578
|
-
size?: "sm" | "lg" | "default" | null | undefined;
|
|
579
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
580
|
-
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
|
|
581
|
-
label?: string;
|
|
582
|
-
description?: string;
|
|
583
|
-
error?: string;
|
|
584
|
-
placeholder?: string;
|
|
585
|
-
maxLength?: number;
|
|
586
|
-
showCount?: boolean;
|
|
587
|
-
rows?: number;
|
|
588
|
-
icon?: React$1.ReactNode;
|
|
589
|
-
secondaryIcon?: React$1.ReactNode;
|
|
590
|
-
actionButton?: React$1.ReactNode;
|
|
591
|
-
}
|
|
592
|
-
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
562
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
593
563
|
|
|
594
564
|
declare function Label({ className, ...props }: React$1.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
|
|
595
565
|
|
|
@@ -792,4 +762,4 @@ interface FogIllustrationProps {
|
|
|
792
762
|
}
|
|
793
763
|
declare const FogIllustration: ({ palette, speed, className }: FogIllustrationProps) => react_jsx_runtime.JSX.Element;
|
|
794
764
|
|
|
795
|
-
export { Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, COUNTRIES, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, type Country, CountrySelect, type CountrySelectProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EU_COUNTRY_CODES, FOG_BRAND_PALETTE, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FogIllustration, type FogIllustrationProps, type FogPalette, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Icon, type IconProps, Input,
|
|
765
|
+
export { Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, COUNTRIES, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, type Country, CountrySelect, type CountrySelectProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EU_COUNTRY_CODES, FOG_BRAND_PALETTE, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FogIllustration, type FogIllustrationProps, type FogPalette, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Icon, type IconProps, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemProps, ItemSeparator, ItemTitle, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, ModelCard, type ModelCardProps, type ModelCategory, type ModelLifecycle, ModelLogo, type ModelLogoProps, type ModelLogoProvider, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLogo, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarPageHeader, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TerminalExample, Textarea, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Typography, type TypographyProps, WindowFrame, type WindowFrameProps, type WindowTab, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, categoryLabels, checkboxVariants, containerVariants, getCountryByCode, getCountryByName, gridVariants, isEUCountry, linkVariants, navigationMenuTriggerStyle, switchRootVariants, switchThumbVariants, typographyVariants, useSidebar, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
|
13
13
|
import { Tooltip } from '@base-ui/react/tooltip';
|
|
14
14
|
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
15
15
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
16
|
+
import { Select as Select$1 } from '@base-ui/react/select';
|
|
16
17
|
import { LucideProps, LucideIcon } from 'lucide-react';
|
|
17
18
|
|
|
18
19
|
type Theme = 'dark' | 'light' | 'system';
|
|
@@ -78,9 +79,10 @@ declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div
|
|
|
78
79
|
|
|
79
80
|
declare const cardVariants: (props?: ({
|
|
80
81
|
variant?: "outlined" | "filled" | null | undefined;
|
|
81
|
-
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
82
82
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
83
83
|
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
84
|
+
/** Spacing scale of the card. `sm` uses a compact 16px spacing, `default` 24px. */
|
|
85
|
+
size?: 'default' | 'sm';
|
|
84
86
|
}
|
|
85
87
|
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
86
88
|
|
|
@@ -329,7 +331,7 @@ declare function NavigationMenuTrigger({ className, children, ...props }: Naviga
|
|
|
329
331
|
declare function NavigationMenuLink({ className, ...props }: NavigationMenu$1.Link.Props): react_jsx_runtime.JSX.Element;
|
|
330
332
|
declare function NavigationMenuPositioner({ className, side, sideOffset, align, alignOffset, ...props }: NavigationMenu$1.Positioner.Props): react_jsx_runtime.JSX.Element;
|
|
331
333
|
|
|
332
|
-
declare function Input
|
|
334
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
333
335
|
|
|
334
336
|
declare function Separator({ className, orientation, ...props }: Separator$1.Props): react_jsx_runtime.JSX.Element;
|
|
335
337
|
|
|
@@ -358,7 +360,7 @@ declare function Sidebar({ side, variant, collapsible, className, children, dir,
|
|
|
358
360
|
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button$1>): react_jsx_runtime.JSX.Element;
|
|
359
361
|
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
360
362
|
declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
361
|
-
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input
|
|
363
|
+
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
362
364
|
declare function SidebarHeader$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
363
365
|
declare function SidebarFooter$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
364
366
|
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
@@ -485,14 +487,11 @@ declare const ItemDescription: React$1.ForwardRefExoticComponent<Omit<React$1.Cl
|
|
|
485
487
|
/** ItemSeparator — override colour. */
|
|
486
488
|
declare const ItemSeparator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
487
489
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
error?: string;
|
|
494
|
-
}
|
|
495
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
490
|
+
type SearchInputProps = React$1.ComponentProps<'input'>;
|
|
491
|
+
declare const SearchInput: {
|
|
492
|
+
({ type, placeholder, className, ref, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
493
|
+
displayName: string;
|
|
494
|
+
};
|
|
496
495
|
|
|
497
496
|
declare const checkboxVariants: (props?: ({
|
|
498
497
|
variant?: "default" | "error" | "success" | null | undefined;
|
|
@@ -521,31 +520,18 @@ interface SwitchProps extends Omit<Switch$1.Root.Props, 'className'>, VariantPro
|
|
|
521
520
|
}
|
|
522
521
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
523
522
|
|
|
524
|
-
declare const
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
error?: string;
|
|
537
|
-
placeholder?: string;
|
|
538
|
-
options: SelectOption[];
|
|
539
|
-
id?: string;
|
|
540
|
-
disabled?: boolean;
|
|
541
|
-
value?: string;
|
|
542
|
-
defaultValue?: string;
|
|
543
|
-
onValueChange?: (value: string) => void;
|
|
544
|
-
name?: string;
|
|
545
|
-
required?: boolean;
|
|
546
|
-
className?: string;
|
|
547
|
-
}
|
|
548
|
-
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
523
|
+
declare const Select: typeof Select$1.Root;
|
|
524
|
+
declare function SelectGroup({ className, ...props }: Select$1.Group.Props): react_jsx_runtime.JSX.Element;
|
|
525
|
+
declare function SelectValue({ className, ...props }: Select$1.Value.Props): react_jsx_runtime.JSX.Element;
|
|
526
|
+
declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
|
|
527
|
+
size?: "sm" | "default";
|
|
528
|
+
}): react_jsx_runtime.JSX.Element;
|
|
529
|
+
declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): react_jsx_runtime.JSX.Element;
|
|
530
|
+
declare function SelectLabel({ className, ...props }: Select$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
531
|
+
declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): react_jsx_runtime.JSX.Element;
|
|
532
|
+
declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
533
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime.JSX.Element;
|
|
534
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime.JSX.Element;
|
|
549
535
|
|
|
550
536
|
/**
|
|
551
537
|
* List of countries supported by Odoo Fiscal Localization
|
|
@@ -573,23 +559,7 @@ interface CountrySelectProps {
|
|
|
573
559
|
}
|
|
574
560
|
declare const CountrySelect: React$1.ForwardRefExoticComponent<CountrySelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
575
561
|
|
|
576
|
-
declare
|
|
577
|
-
variant?: "default" | "primary" | "muted" | "subtle" | null | undefined;
|
|
578
|
-
size?: "sm" | "lg" | "default" | null | undefined;
|
|
579
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
580
|
-
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
|
|
581
|
-
label?: string;
|
|
582
|
-
description?: string;
|
|
583
|
-
error?: string;
|
|
584
|
-
placeholder?: string;
|
|
585
|
-
maxLength?: number;
|
|
586
|
-
showCount?: boolean;
|
|
587
|
-
rows?: number;
|
|
588
|
-
icon?: React$1.ReactNode;
|
|
589
|
-
secondaryIcon?: React$1.ReactNode;
|
|
590
|
-
actionButton?: React$1.ReactNode;
|
|
591
|
-
}
|
|
592
|
-
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
562
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
593
563
|
|
|
594
564
|
declare function Label({ className, ...props }: React$1.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
|
|
595
565
|
|
|
@@ -792,4 +762,4 @@ interface FogIllustrationProps {
|
|
|
792
762
|
}
|
|
793
763
|
declare const FogIllustration: ({ palette, speed, className }: FogIllustrationProps) => react_jsx_runtime.JSX.Element;
|
|
794
764
|
|
|
795
|
-
export { Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, COUNTRIES, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, type Country, CountrySelect, type CountrySelectProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EU_COUNTRY_CODES, FOG_BRAND_PALETTE, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FogIllustration, type FogIllustrationProps, type FogPalette, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Icon, type IconProps, Input,
|
|
765
|
+
export { Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, COUNTRIES, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, type Country, CountrySelect, type CountrySelectProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EU_COUNTRY_CODES, FOG_BRAND_PALETTE, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FogIllustration, type FogIllustrationProps, type FogPalette, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Icon, type IconProps, Input, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemProps, ItemSeparator, ItemTitle, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, ModelCard, type ModelCardProps, type ModelCategory, type ModelLifecycle, ModelLogo, type ModelLogoProps, type ModelLogoProvider, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLogo, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarPageHeader, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TerminalExample, Textarea, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Typography, type TypographyProps, WindowFrame, type WindowFrameProps, type WindowTab, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, categoryLabels, checkboxVariants, containerVariants, getCountryByCode, getCountryByName, gridVariants, isEUCountry, linkVariants, navigationMenuTriggerStyle, switchRootVariants, switchThumbVariants, typographyVariants, useSidebar, useTheme };
|