@medway-ui/core 1.15.7 → 1.16.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.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import * as React from 'react';
4
- import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, TableHTMLAttributes, ThHTMLAttributes, ComponentPropsWithoutRef } from 'react';
4
+ import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, ComponentPropsWithoutRef, ChangeEvent, TableHTMLAttributes, ThHTMLAttributes } from 'react';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
  import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Avatar as Avatar$1, Progress as Progress$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
7
7
 
@@ -321,7 +321,92 @@ 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 function Input({ className, type, ...props }: ComponentProps<"input">): react_jsx_runtime.JSX.Element;
324
+ type DatePickerValue = Date | null;
325
+ type DateRangeValue = {
326
+ start: Date | null;
327
+ end: Date | null;
328
+ } | null;
329
+ interface DatePickerLabelProps extends HTMLAttributes<HTMLLabelElement> {
330
+ htmlFor?: string;
331
+ }
332
+ interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange"> {
333
+ value?: DatePickerValue;
334
+ defaultValue?: DatePickerValue;
335
+ onValueChange?: (value: DatePickerValue) => void;
336
+ placeholder?: string;
337
+ disabled?: boolean;
338
+ min?: Date;
339
+ max?: Date;
340
+ format?: (date: Date) => string;
341
+ inputClassName?: string;
342
+ contentClassName?: string;
343
+ yearRange?: {
344
+ start: number;
345
+ end: number;
346
+ };
347
+ showYearSelector?: boolean;
348
+ invalid?: boolean;
349
+ }
350
+ interface DateRangePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange"> {
351
+ value?: DateRangeValue;
352
+ defaultValue?: DateRangeValue;
353
+ onValueChange?: (value: DateRangeValue) => void;
354
+ placeholder?: string;
355
+ disabled?: boolean;
356
+ min?: Date;
357
+ max?: Date;
358
+ format?: (date: Date) => string;
359
+ inputClassName?: string;
360
+ contentClassName?: string;
361
+ yearRange?: {
362
+ start: number;
363
+ end: number;
364
+ };
365
+ showYearSelector?: boolean;
366
+ invalid?: boolean;
367
+ }
368
+ declare function DatePickerWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
369
+ declare function DatePickerLabel({ className, children, ...props }: DatePickerLabelProps): react_jsx_runtime.JSX.Element;
370
+ 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;
373
+
374
+ type InputType = "text" | "email" | "numeric" | "password";
375
+ type InputSize = "sm" | "lg";
376
+ interface InputProps extends Omit<ComponentProps<"input">, "type" | "size"> {
377
+ type?: InputType;
378
+ size?: InputSize;
379
+ invalid?: boolean;
380
+ iconLeft?: ReactElement;
381
+ iconRight?: ReactElement;
382
+ }
383
+ interface InputPasswordProps extends Omit<ComponentProps<"input">, "type" | "size"> {
384
+ invalid?: boolean;
385
+ size?: InputSize;
386
+ }
387
+ interface InputNumericProps extends Omit<ComponentProps<"input">, "type" | "onChange" | "size"> {
388
+ invalid?: boolean;
389
+ size?: InputSize;
390
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
391
+ iconLeft?: ReactElement;
392
+ }
393
+ interface InputLabelProps extends HTMLAttributes<HTMLLabelElement> {
394
+ htmlFor?: string;
395
+ }
396
+ interface InputTextProps extends HTMLAttributes<HTMLSpanElement> {
397
+ invalid?: boolean;
398
+ }
399
+ declare function InputWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
400
+ declare function InputField({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
401
+ declare function InputLabel({ className, children, ...props }: InputLabelProps): react_jsx_runtime.JSX.Element;
402
+ declare function InputText({ className, invalid, ...props }: InputTextProps): react_jsx_runtime.JSX.Element;
403
+ declare function InputAdornment({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
404
+ declare function InputStartIcon({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
405
+ declare function InputEndIcon({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
406
+ declare function applyInputIconSize(icon: ReactElement, size?: InputSize): ReactElement;
407
+ declare function InputPassword({ className, invalid, size, disabled, ...props }: InputPasswordProps): react_jsx_runtime.JSX.Element;
408
+ declare function InputNumeric({ className, invalid, size, iconLeft, min, value, defaultValue, onChange, disabled, ...props }: InputNumericProps): react_jsx_runtime.JSX.Element;
409
+ declare function Input({ className, type, size, invalid, iconLeft, iconRight, ...props }: InputProps): react_jsx_runtime.JSX.Element;
325
410
 
326
411
  interface LabelProps extends ComponentProps<typeof Label$1.Root>, VariantProps<typeof labelVariants> {
327
412
  block?: boolean;
@@ -814,4 +899,4 @@ declare function useToast(): {
814
899
 
815
900
  declare function useIsMobile(): boolean;
816
901
 
817
- 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, 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, 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, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
902
+ 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 };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import * as React from 'react';
4
- import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, TableHTMLAttributes, ThHTMLAttributes, ComponentPropsWithoutRef } from 'react';
4
+ import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, ComponentPropsWithoutRef, ChangeEvent, TableHTMLAttributes, ThHTMLAttributes } from 'react';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
  import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Avatar as Avatar$1, Progress as Progress$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
7
7
 
@@ -321,7 +321,92 @@ 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 function Input({ className, type, ...props }: ComponentProps<"input">): react_jsx_runtime.JSX.Element;
324
+ type DatePickerValue = Date | null;
325
+ type DateRangeValue = {
326
+ start: Date | null;
327
+ end: Date | null;
328
+ } | null;
329
+ interface DatePickerLabelProps extends HTMLAttributes<HTMLLabelElement> {
330
+ htmlFor?: string;
331
+ }
332
+ interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange"> {
333
+ value?: DatePickerValue;
334
+ defaultValue?: DatePickerValue;
335
+ onValueChange?: (value: DatePickerValue) => void;
336
+ placeholder?: string;
337
+ disabled?: boolean;
338
+ min?: Date;
339
+ max?: Date;
340
+ format?: (date: Date) => string;
341
+ inputClassName?: string;
342
+ contentClassName?: string;
343
+ yearRange?: {
344
+ start: number;
345
+ end: number;
346
+ };
347
+ showYearSelector?: boolean;
348
+ invalid?: boolean;
349
+ }
350
+ interface DateRangePickerProps extends Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue" | "onChange"> {
351
+ value?: DateRangeValue;
352
+ defaultValue?: DateRangeValue;
353
+ onValueChange?: (value: DateRangeValue) => void;
354
+ placeholder?: string;
355
+ disabled?: boolean;
356
+ min?: Date;
357
+ max?: Date;
358
+ format?: (date: Date) => string;
359
+ inputClassName?: string;
360
+ contentClassName?: string;
361
+ yearRange?: {
362
+ start: number;
363
+ end: number;
364
+ };
365
+ showYearSelector?: boolean;
366
+ invalid?: boolean;
367
+ }
368
+ declare function DatePickerWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
369
+ declare function DatePickerLabel({ className, children, ...props }: DatePickerLabelProps): react_jsx_runtime.JSX.Element;
370
+ 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;
373
+
374
+ type InputType = "text" | "email" | "numeric" | "password";
375
+ type InputSize = "sm" | "lg";
376
+ interface InputProps extends Omit<ComponentProps<"input">, "type" | "size"> {
377
+ type?: InputType;
378
+ size?: InputSize;
379
+ invalid?: boolean;
380
+ iconLeft?: ReactElement;
381
+ iconRight?: ReactElement;
382
+ }
383
+ interface InputPasswordProps extends Omit<ComponentProps<"input">, "type" | "size"> {
384
+ invalid?: boolean;
385
+ size?: InputSize;
386
+ }
387
+ interface InputNumericProps extends Omit<ComponentProps<"input">, "type" | "onChange" | "size"> {
388
+ invalid?: boolean;
389
+ size?: InputSize;
390
+ onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
391
+ iconLeft?: ReactElement;
392
+ }
393
+ interface InputLabelProps extends HTMLAttributes<HTMLLabelElement> {
394
+ htmlFor?: string;
395
+ }
396
+ interface InputTextProps extends HTMLAttributes<HTMLSpanElement> {
397
+ invalid?: boolean;
398
+ }
399
+ declare function InputWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
400
+ declare function InputField({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
401
+ declare function InputLabel({ className, children, ...props }: InputLabelProps): react_jsx_runtime.JSX.Element;
402
+ declare function InputText({ className, invalid, ...props }: InputTextProps): react_jsx_runtime.JSX.Element;
403
+ declare function InputAdornment({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
404
+ declare function InputStartIcon({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
405
+ declare function InputEndIcon({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
406
+ declare function applyInputIconSize(icon: ReactElement, size?: InputSize): ReactElement;
407
+ declare function InputPassword({ className, invalid, size, disabled, ...props }: InputPasswordProps): react_jsx_runtime.JSX.Element;
408
+ declare function InputNumeric({ className, invalid, size, iconLeft, min, value, defaultValue, onChange, disabled, ...props }: InputNumericProps): react_jsx_runtime.JSX.Element;
409
+ declare function Input({ className, type, size, invalid, iconLeft, iconRight, ...props }: InputProps): react_jsx_runtime.JSX.Element;
325
410
 
326
411
  interface LabelProps extends ComponentProps<typeof Label$1.Root>, VariantProps<typeof labelVariants> {
327
412
  block?: boolean;
@@ -814,4 +899,4 @@ declare function useToast(): {
814
899
 
815
900
  declare function useIsMobile(): boolean;
816
901
 
817
- 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, 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, 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, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
902
+ 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 };