@medway-ui/core 1.16.5 → 1.16.6
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.d.mts +12 -6
- package/dist/index.d.ts +12 -6
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -321,6 +321,9 @@ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }
|
|
|
321
321
|
}): react_jsx_runtime.JSX.Element;
|
|
322
322
|
declare function DropdownMenuSubContent({ className, ...props }: ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
323
323
|
|
|
324
|
+
declare const datePickerTriggerVariants: (props?: ({
|
|
325
|
+
size?: "md" | "lg" | null | undefined;
|
|
326
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
324
327
|
type DatePickerValue = Date | null;
|
|
325
328
|
type DateRangeValue = {
|
|
326
329
|
start: Date | null;
|
|
@@ -329,7 +332,7 @@ type DateRangeValue = {
|
|
|
329
332
|
interface DatePickerLabelProps extends HTMLAttributes<HTMLLabelElement> {
|
|
330
333
|
htmlFor?: string;
|
|
331
334
|
}
|
|
332
|
-
interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange"> {
|
|
335
|
+
interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange">, VariantProps<typeof datePickerTriggerVariants> {
|
|
333
336
|
value?: DatePickerValue;
|
|
334
337
|
defaultValue?: DatePickerValue;
|
|
335
338
|
onValueChange?: (value: DatePickerValue) => void;
|
|
@@ -347,7 +350,7 @@ interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "valu
|
|
|
347
350
|
showYearSelector?: boolean;
|
|
348
351
|
invalid?: boolean;
|
|
349
352
|
}
|
|
350
|
-
interface DateRangePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange"> {
|
|
353
|
+
interface DateRangePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange">, VariantProps<typeof datePickerTriggerVariants> {
|
|
351
354
|
value?: DateRangeValue;
|
|
352
355
|
defaultValue?: DateRangeValue;
|
|
353
356
|
onValueChange?: (value: DateRangeValue) => void;
|
|
@@ -368,8 +371,8 @@ interface DateRangePickerProps extends Omit<ComponentPropsWithoutRef<"button">,
|
|
|
368
371
|
declare function DatePickerWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
369
372
|
declare function DatePickerLabel({ className, children, ...props }: DatePickerLabelProps): react_jsx_runtime.JSX.Element;
|
|
370
373
|
declare function DatePickerText({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
371
|
-
declare function DatePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, yearRange, showYearSelector, invalid, children, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
372
|
-
declare function DateRangePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, yearRange, showYearSelector, invalid, children, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
374
|
+
declare function DatePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, size, yearRange, showYearSelector, invalid, children, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
375
|
+
declare function DateRangePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, size, yearRange, showYearSelector, invalid, children, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
373
376
|
|
|
374
377
|
type InputType = "text" | "email" | "numeric" | "password";
|
|
375
378
|
interface InputProps extends Omit<ComponentProps<"input">, "type" | "size">, VariantProps<typeof inputVariants> {
|
|
@@ -601,6 +604,9 @@ interface SelectProps extends ComponentProps<typeof Select$1.Root> {
|
|
|
601
604
|
invalid?: boolean;
|
|
602
605
|
size?: SelectSize;
|
|
603
606
|
}
|
|
607
|
+
interface SelectItemProps extends ComponentProps<typeof Select$1.Item> {
|
|
608
|
+
icon?: ReactNode;
|
|
609
|
+
}
|
|
604
610
|
declare function Select({ invalid, size, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
605
611
|
interface SelectLabelProps extends HTMLAttributes<HTMLLabelElement> {
|
|
606
612
|
htmlFor?: string;
|
|
@@ -612,7 +618,7 @@ declare function SelectValue({ ...props }: ComponentProps<typeof Select$1.Value>
|
|
|
612
618
|
declare function SelectTrigger({ className, children, ...props }: ComponentProps<typeof Select$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
613
619
|
declare function SelectContent({ className, children, position, ...props }: ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
|
614
620
|
declare function SelectHeader({ className, ...props }: ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
|
|
615
|
-
declare function SelectItem({ className, children, ...props }:
|
|
621
|
+
declare function SelectItem({ className, children, icon, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
|
|
616
622
|
declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
617
623
|
declare function SelectScrollUpButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
618
624
|
declare function SelectScrollDownButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
@@ -900,4 +906,4 @@ declare function useToast(): {
|
|
|
900
906
|
|
|
901
907
|
declare function useIsMobile(): boolean;
|
|
902
908
|
|
|
903
|
-
export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
|
|
909
|
+
export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, datePickerTriggerVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -321,6 +321,9 @@ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }
|
|
|
321
321
|
}): react_jsx_runtime.JSX.Element;
|
|
322
322
|
declare function DropdownMenuSubContent({ className, ...props }: ComponentProps<typeof DropdownMenu$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
323
323
|
|
|
324
|
+
declare const datePickerTriggerVariants: (props?: ({
|
|
325
|
+
size?: "md" | "lg" | null | undefined;
|
|
326
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
324
327
|
type DatePickerValue = Date | null;
|
|
325
328
|
type DateRangeValue = {
|
|
326
329
|
start: Date | null;
|
|
@@ -329,7 +332,7 @@ type DateRangeValue = {
|
|
|
329
332
|
interface DatePickerLabelProps extends HTMLAttributes<HTMLLabelElement> {
|
|
330
333
|
htmlFor?: string;
|
|
331
334
|
}
|
|
332
|
-
interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange"> {
|
|
335
|
+
interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange">, VariantProps<typeof datePickerTriggerVariants> {
|
|
333
336
|
value?: DatePickerValue;
|
|
334
337
|
defaultValue?: DatePickerValue;
|
|
335
338
|
onValueChange?: (value: DatePickerValue) => void;
|
|
@@ -347,7 +350,7 @@ interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "valu
|
|
|
347
350
|
showYearSelector?: boolean;
|
|
348
351
|
invalid?: boolean;
|
|
349
352
|
}
|
|
350
|
-
interface DateRangePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange"> {
|
|
353
|
+
interface DateRangePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange">, VariantProps<typeof datePickerTriggerVariants> {
|
|
351
354
|
value?: DateRangeValue;
|
|
352
355
|
defaultValue?: DateRangeValue;
|
|
353
356
|
onValueChange?: (value: DateRangeValue) => void;
|
|
@@ -368,8 +371,8 @@ interface DateRangePickerProps extends Omit<ComponentPropsWithoutRef<"button">,
|
|
|
368
371
|
declare function DatePickerWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
369
372
|
declare function DatePickerLabel({ className, children, ...props }: DatePickerLabelProps): react_jsx_runtime.JSX.Element;
|
|
370
373
|
declare function DatePickerText({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
371
|
-
declare function DatePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, yearRange, showYearSelector, invalid, children, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
372
|
-
declare function DateRangePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, yearRange, showYearSelector, invalid, children, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
374
|
+
declare function DatePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, size, yearRange, showYearSelector, invalid, children, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
375
|
+
declare function DateRangePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, size, yearRange, showYearSelector, invalid, children, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
373
376
|
|
|
374
377
|
type InputType = "text" | "email" | "numeric" | "password";
|
|
375
378
|
interface InputProps extends Omit<ComponentProps<"input">, "type" | "size">, VariantProps<typeof inputVariants> {
|
|
@@ -601,6 +604,9 @@ interface SelectProps extends ComponentProps<typeof Select$1.Root> {
|
|
|
601
604
|
invalid?: boolean;
|
|
602
605
|
size?: SelectSize;
|
|
603
606
|
}
|
|
607
|
+
interface SelectItemProps extends ComponentProps<typeof Select$1.Item> {
|
|
608
|
+
icon?: ReactNode;
|
|
609
|
+
}
|
|
604
610
|
declare function Select({ invalid, size, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
605
611
|
interface SelectLabelProps extends HTMLAttributes<HTMLLabelElement> {
|
|
606
612
|
htmlFor?: string;
|
|
@@ -612,7 +618,7 @@ declare function SelectValue({ ...props }: ComponentProps<typeof Select$1.Value>
|
|
|
612
618
|
declare function SelectTrigger({ className, children, ...props }: ComponentProps<typeof Select$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
613
619
|
declare function SelectContent({ className, children, position, ...props }: ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
|
614
620
|
declare function SelectHeader({ className, ...props }: ComponentProps<typeof Select$1.Label>): react_jsx_runtime.JSX.Element;
|
|
615
|
-
declare function SelectItem({ className, children, ...props }:
|
|
621
|
+
declare function SelectItem({ className, children, icon, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
|
|
616
622
|
declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
617
623
|
declare function SelectScrollUpButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
618
624
|
declare function SelectScrollDownButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
@@ -900,4 +906,4 @@ declare function useToast(): {
|
|
|
900
906
|
|
|
901
907
|
declare function useIsMobile(): boolean;
|
|
902
908
|
|
|
903
|
-
export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
|
|
909
|
+
export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, datePickerTriggerVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
|