@bergetai/ui 0.12.0 → 0.13.0
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 +267 -496
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -59
- package/dist/index.d.ts +32 -59
- package/dist/index.js +238 -475
- 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';
|
|
@@ -329,7 +330,7 @@ declare function NavigationMenuTrigger({ className, children, ...props }: Naviga
|
|
|
329
330
|
declare function NavigationMenuLink({ className, ...props }: NavigationMenu$1.Link.Props): react_jsx_runtime.JSX.Element;
|
|
330
331
|
declare function NavigationMenuPositioner({ className, side, sideOffset, align, alignOffset, ...props }: NavigationMenu$1.Positioner.Props): react_jsx_runtime.JSX.Element;
|
|
331
332
|
|
|
332
|
-
declare function Input
|
|
333
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
333
334
|
|
|
334
335
|
declare function Separator({ className, orientation, ...props }: Separator$1.Props): react_jsx_runtime.JSX.Element;
|
|
335
336
|
|
|
@@ -358,7 +359,7 @@ declare function Sidebar({ side, variant, collapsible, className, children, dir,
|
|
|
358
359
|
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button$1>): react_jsx_runtime.JSX.Element;
|
|
359
360
|
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
360
361
|
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
|
|
362
|
+
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
362
363
|
declare function SidebarHeader$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
363
364
|
declare function SidebarFooter$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
364
365
|
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
@@ -411,14 +412,15 @@ declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<t
|
|
|
411
412
|
* against the full 60px rail width. */
|
|
412
413
|
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<typeof SidebarHeader$1>): react_jsx_runtime.JSX.Element;
|
|
413
414
|
/** Berget brand slot for the sidebar header. Fades between the full logo
|
|
414
|
-
* (expanded) and the symbol
|
|
415
|
+
* (expanded) and the symbol (collapsed icon rail).
|
|
415
416
|
*
|
|
416
417
|
* Implementation notes — all load-bearing:
|
|
417
|
-
* - The symbol
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
* the
|
|
418
|
+
* - The symbol glides instead of popping: at pl-5 its box sits pixel-perfect
|
|
419
|
+
* under the leading glyph of the full logo (both 35.5x32 at x=20), and its
|
|
420
|
+
* padding-left animates to pl-3 (centered in the 60px rail) over 200ms
|
|
421
|
+
* linear — exactly matching the sidebar width transition. The mark never
|
|
422
|
+
* jumps: collapse fades the logotype out while the symbol glides into its
|
|
423
|
+
* gliding position; expand reverses it.
|
|
422
424
|
* - Both layers stay mounted: display isn't animatable, so unmounting the
|
|
423
425
|
* symbol on expand would blink it off in one frame while the logotype is
|
|
424
426
|
* still fading in. visibility+opacity handle hiding instead; visibility is
|
|
@@ -427,6 +429,9 @@ declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<t
|
|
|
427
429
|
* - The row is overflow-hidden and the logo shrink-0: when the rail narrows,
|
|
428
430
|
* the fading full logo is clipped at the moving edge instead of being
|
|
429
431
|
* squeezed (the SVG viewBox would otherwise scale it down).
|
|
432
|
+
* - px-5 aligns the logo's left edge with the 20px content line of the
|
|
433
|
+
* expanded sidebar (menu icons and group-label text both sit at 20px).
|
|
434
|
+
* The fading full logo clips under the shrinking rail edge while fading.
|
|
430
435
|
*
|
|
431
436
|
* Renders its own SidebarHeader (px-0 — the row owns all horizontal padding,
|
|
432
437
|
* so its position can't jump when the header's icon-mode padding lands).
|
|
@@ -481,14 +486,11 @@ declare const ItemDescription: React$1.ForwardRefExoticComponent<Omit<React$1.Cl
|
|
|
481
486
|
/** ItemSeparator — override colour. */
|
|
482
487
|
declare const ItemSeparator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
483
488
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
error?: string;
|
|
490
|
-
}
|
|
491
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
489
|
+
type SearchInputProps = React$1.ComponentProps<'input'>;
|
|
490
|
+
declare const SearchInput: {
|
|
491
|
+
({ type, placeholder, className, ref, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
492
|
+
displayName: string;
|
|
493
|
+
};
|
|
492
494
|
|
|
493
495
|
declare const checkboxVariants: (props?: ({
|
|
494
496
|
variant?: "default" | "error" | "success" | null | undefined;
|
|
@@ -517,31 +519,18 @@ interface SwitchProps extends Omit<Switch$1.Root.Props, 'className'>, VariantPro
|
|
|
517
519
|
}
|
|
518
520
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
519
521
|
|
|
520
|
-
declare const
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
error?: string;
|
|
533
|
-
placeholder?: string;
|
|
534
|
-
options: SelectOption[];
|
|
535
|
-
id?: string;
|
|
536
|
-
disabled?: boolean;
|
|
537
|
-
value?: string;
|
|
538
|
-
defaultValue?: string;
|
|
539
|
-
onValueChange?: (value: string) => void;
|
|
540
|
-
name?: string;
|
|
541
|
-
required?: boolean;
|
|
542
|
-
className?: string;
|
|
543
|
-
}
|
|
544
|
-
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
522
|
+
declare const Select: typeof Select$1.Root;
|
|
523
|
+
declare function SelectGroup({ className, ...props }: Select$1.Group.Props): react_jsx_runtime.JSX.Element;
|
|
524
|
+
declare function SelectValue({ className, ...props }: Select$1.Value.Props): react_jsx_runtime.JSX.Element;
|
|
525
|
+
declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
|
|
526
|
+
size?: "sm" | "default";
|
|
527
|
+
}): react_jsx_runtime.JSX.Element;
|
|
528
|
+
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;
|
|
529
|
+
declare function SelectLabel({ className, ...props }: Select$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
530
|
+
declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): react_jsx_runtime.JSX.Element;
|
|
531
|
+
declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
532
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime.JSX.Element;
|
|
533
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime.JSX.Element;
|
|
545
534
|
|
|
546
535
|
/**
|
|
547
536
|
* List of countries supported by Odoo Fiscal Localization
|
|
@@ -569,23 +558,7 @@ interface CountrySelectProps {
|
|
|
569
558
|
}
|
|
570
559
|
declare const CountrySelect: React$1.ForwardRefExoticComponent<CountrySelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
571
560
|
|
|
572
|
-
declare
|
|
573
|
-
variant?: "default" | "primary" | "muted" | "subtle" | null | undefined;
|
|
574
|
-
size?: "sm" | "lg" | "default" | null | undefined;
|
|
575
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
576
|
-
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
|
|
577
|
-
label?: string;
|
|
578
|
-
description?: string;
|
|
579
|
-
error?: string;
|
|
580
|
-
placeholder?: string;
|
|
581
|
-
maxLength?: number;
|
|
582
|
-
showCount?: boolean;
|
|
583
|
-
rows?: number;
|
|
584
|
-
icon?: React$1.ReactNode;
|
|
585
|
-
secondaryIcon?: React$1.ReactNode;
|
|
586
|
-
actionButton?: React$1.ReactNode;
|
|
587
|
-
}
|
|
588
|
-
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
561
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
589
562
|
|
|
590
563
|
declare function Label({ className, ...props }: React$1.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
|
|
591
564
|
|
|
@@ -788,4 +761,4 @@ interface FogIllustrationProps {
|
|
|
788
761
|
}
|
|
789
762
|
declare const FogIllustration: ({ palette, speed, className }: FogIllustrationProps) => react_jsx_runtime.JSX.Element;
|
|
790
763
|
|
|
791
|
-
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,
|
|
764
|
+
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';
|
|
@@ -329,7 +330,7 @@ declare function NavigationMenuTrigger({ className, children, ...props }: Naviga
|
|
|
329
330
|
declare function NavigationMenuLink({ className, ...props }: NavigationMenu$1.Link.Props): react_jsx_runtime.JSX.Element;
|
|
330
331
|
declare function NavigationMenuPositioner({ className, side, sideOffset, align, alignOffset, ...props }: NavigationMenu$1.Positioner.Props): react_jsx_runtime.JSX.Element;
|
|
331
332
|
|
|
332
|
-
declare function Input
|
|
333
|
+
declare function Input({ className, type, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
333
334
|
|
|
334
335
|
declare function Separator({ className, orientation, ...props }: Separator$1.Props): react_jsx_runtime.JSX.Element;
|
|
335
336
|
|
|
@@ -358,7 +359,7 @@ declare function Sidebar({ side, variant, collapsible, className, children, dir,
|
|
|
358
359
|
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button$1>): react_jsx_runtime.JSX.Element;
|
|
359
360
|
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
360
361
|
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
|
|
362
|
+
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
362
363
|
declare function SidebarHeader$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
363
364
|
declare function SidebarFooter$1({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
364
365
|
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
@@ -411,14 +412,15 @@ declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<t
|
|
|
411
412
|
* against the full 60px rail width. */
|
|
412
413
|
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<typeof SidebarHeader$1>): react_jsx_runtime.JSX.Element;
|
|
413
414
|
/** Berget brand slot for the sidebar header. Fades between the full logo
|
|
414
|
-
* (expanded) and the symbol
|
|
415
|
+
* (expanded) and the symbol (collapsed icon rail).
|
|
415
416
|
*
|
|
416
417
|
* Implementation notes — all load-bearing:
|
|
417
|
-
* - The symbol
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
* the
|
|
418
|
+
* - The symbol glides instead of popping: at pl-5 its box sits pixel-perfect
|
|
419
|
+
* under the leading glyph of the full logo (both 35.5x32 at x=20), and its
|
|
420
|
+
* padding-left animates to pl-3 (centered in the 60px rail) over 200ms
|
|
421
|
+
* linear — exactly matching the sidebar width transition. The mark never
|
|
422
|
+
* jumps: collapse fades the logotype out while the symbol glides into its
|
|
423
|
+
* gliding position; expand reverses it.
|
|
422
424
|
* - Both layers stay mounted: display isn't animatable, so unmounting the
|
|
423
425
|
* symbol on expand would blink it off in one frame while the logotype is
|
|
424
426
|
* still fading in. visibility+opacity handle hiding instead; visibility is
|
|
@@ -427,6 +429,9 @@ declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<t
|
|
|
427
429
|
* - The row is overflow-hidden and the logo shrink-0: when the rail narrows,
|
|
428
430
|
* the fading full logo is clipped at the moving edge instead of being
|
|
429
431
|
* squeezed (the SVG viewBox would otherwise scale it down).
|
|
432
|
+
* - px-5 aligns the logo's left edge with the 20px content line of the
|
|
433
|
+
* expanded sidebar (menu icons and group-label text both sit at 20px).
|
|
434
|
+
* The fading full logo clips under the shrinking rail edge while fading.
|
|
430
435
|
*
|
|
431
436
|
* Renders its own SidebarHeader (px-0 — the row owns all horizontal padding,
|
|
432
437
|
* so its position can't jump when the header's icon-mode padding lands).
|
|
@@ -481,14 +486,11 @@ declare const ItemDescription: React$1.ForwardRefExoticComponent<Omit<React$1.Cl
|
|
|
481
486
|
/** ItemSeparator — override colour. */
|
|
482
487
|
declare const ItemSeparator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
483
488
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
error?: string;
|
|
490
|
-
}
|
|
491
|
-
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
489
|
+
type SearchInputProps = React$1.ComponentProps<'input'>;
|
|
490
|
+
declare const SearchInput: {
|
|
491
|
+
({ type, placeholder, className, ref, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
492
|
+
displayName: string;
|
|
493
|
+
};
|
|
492
494
|
|
|
493
495
|
declare const checkboxVariants: (props?: ({
|
|
494
496
|
variant?: "default" | "error" | "success" | null | undefined;
|
|
@@ -517,31 +519,18 @@ interface SwitchProps extends Omit<Switch$1.Root.Props, 'className'>, VariantPro
|
|
|
517
519
|
}
|
|
518
520
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
519
521
|
|
|
520
|
-
declare const
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
error?: string;
|
|
533
|
-
placeholder?: string;
|
|
534
|
-
options: SelectOption[];
|
|
535
|
-
id?: string;
|
|
536
|
-
disabled?: boolean;
|
|
537
|
-
value?: string;
|
|
538
|
-
defaultValue?: string;
|
|
539
|
-
onValueChange?: (value: string) => void;
|
|
540
|
-
name?: string;
|
|
541
|
-
required?: boolean;
|
|
542
|
-
className?: string;
|
|
543
|
-
}
|
|
544
|
-
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
522
|
+
declare const Select: typeof Select$1.Root;
|
|
523
|
+
declare function SelectGroup({ className, ...props }: Select$1.Group.Props): react_jsx_runtime.JSX.Element;
|
|
524
|
+
declare function SelectValue({ className, ...props }: Select$1.Value.Props): react_jsx_runtime.JSX.Element;
|
|
525
|
+
declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
|
|
526
|
+
size?: "sm" | "default";
|
|
527
|
+
}): react_jsx_runtime.JSX.Element;
|
|
528
|
+
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;
|
|
529
|
+
declare function SelectLabel({ className, ...props }: Select$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
530
|
+
declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): react_jsx_runtime.JSX.Element;
|
|
531
|
+
declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
532
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime.JSX.Element;
|
|
533
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime.JSX.Element;
|
|
545
534
|
|
|
546
535
|
/**
|
|
547
536
|
* List of countries supported by Odoo Fiscal Localization
|
|
@@ -569,23 +558,7 @@ interface CountrySelectProps {
|
|
|
569
558
|
}
|
|
570
559
|
declare const CountrySelect: React$1.ForwardRefExoticComponent<CountrySelectProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
571
560
|
|
|
572
|
-
declare
|
|
573
|
-
variant?: "default" | "primary" | "muted" | "subtle" | null | undefined;
|
|
574
|
-
size?: "sm" | "lg" | "default" | null | undefined;
|
|
575
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
576
|
-
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
|
|
577
|
-
label?: string;
|
|
578
|
-
description?: string;
|
|
579
|
-
error?: string;
|
|
580
|
-
placeholder?: string;
|
|
581
|
-
maxLength?: number;
|
|
582
|
-
showCount?: boolean;
|
|
583
|
-
rows?: number;
|
|
584
|
-
icon?: React$1.ReactNode;
|
|
585
|
-
secondaryIcon?: React$1.ReactNode;
|
|
586
|
-
actionButton?: React$1.ReactNode;
|
|
587
|
-
}
|
|
588
|
-
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
561
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
589
562
|
|
|
590
563
|
declare function Label({ className, ...props }: React$1.ComponentProps<"label">): react_jsx_runtime.JSX.Element;
|
|
591
564
|
|
|
@@ -788,4 +761,4 @@ interface FogIllustrationProps {
|
|
|
788
761
|
}
|
|
789
762
|
declare const FogIllustration: ({ palette, speed, className }: FogIllustrationProps) => react_jsx_runtime.JSX.Element;
|
|
790
763
|
|
|
791
|
-
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,
|
|
764
|
+
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 };
|