@chekinapp/ui 0.0.95 → 0.0.96

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.cts CHANGED
@@ -3403,11 +3403,11 @@ declare function useSwitchSectionActive(preloadedSectionActive: boolean | undefi
3403
3403
  };
3404
3404
 
3405
3405
  type Props$1 = {
3406
- seconds: number;
3406
+ initialTime?: number;
3407
3407
  enabled?: boolean;
3408
3408
  onFinish?: () => void;
3409
3409
  };
3410
- declare const useTimer: ({ seconds, enabled, onFinish }: Props$1) => {
3410
+ declare const useCountdown: ({ initialTime, enabled, onFinish, }?: Props$1) => {
3411
3411
  timeLeft: number;
3412
3412
  isTimerRunning: boolean;
3413
3413
  resetTimer: () => void;
@@ -3841,4 +3841,4 @@ type AirbnbSearchInputProps = ComponentProps<'input'> & {
3841
3841
  };
3842
3842
  declare const AirbnbSearchInput: React$1.ForwardRefExoticComponent<Omit<AirbnbSearchInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
3843
3843
 
3844
- export { ALERT_BOX_VARIANTS, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbDatePicker, type AirbnbDatePickerProps, type AirbnbDatePickerValue, AirbnbFieldTrigger, type AirbnbFieldTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbPhoneField, type AirbnbPhoneFieldOption, type AirbnbPhoneFieldProps, type AirbnbPhoneFieldValue, AirbnbSearchInput, AirbnbSearchableSelect, type AirbnbSearchableSelectProps, type AirbnbSearchableSelectValue, AirbnbSelect, type AirbnbSelectProps, Alert, AlertBox, type AlertBoxProps, type AlertBoxVariant, AlertDescription, AlertSize, AlertSizes, AlertTitle, AlertType, AlertTypes, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BaseCheckbox, type BaseCheckboxProps, BetaBadge, type BetaBadgeProps, BookmarkTabsList, type BookmarkTabsListProps, BookmarkTabsTrigger, type BookmarkTabsTriggerProps, BoxOptionSelector, type BoxOptionSelectorProps, type BoxOptionSelectorSwitchProps, Breadcrumb, type BreadcrumbProps, type BreadcrumbType, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonStatuses, ButtonsGroupLabel, type ButtonsGroupLabelProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselNext, CarouselPrevious, type CarouselProps, CarouselRoot, type CarouselRootProps, CarouselSlide, CarouselTrack, CarouselViewport, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, Collapsible, CollapsibleContent, CollapsibleTrigger, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyLinkButton, type CopyLinkButtonProps, CopyString, type CopyStringProps, Counter, type CounterProps, CounterSize, CustomCheckboxDropdownGroup, type CustomIconEntry, DEFAULT_DISPLAY_FORMAT, DEVICE_BREAKPOINTS, DashboardCreatableMultiSelect, type DashboardCreatableMultiSelectProps, DashboardDateRangePicker, type DashboardDateRangePickerImperativeProps, type OpenDirection as DashboardDateRangePickerOpenDirection, type DashboardDateRangePickerProps, DashboardDatepicker, type DashboardDatepickerProps, type DashboardDatepickerValue, DashboardFileInput, type DashboardFileInputProps, type DashboardFileInputValue, DashboardInfiniteScrollSelect, type DashboardInfiniteScrollSelectProps, DashboardInput, type DashboardInputProps, DashboardMultiSelect, type DashboardMultiSelectChipRenderer, type DashboardMultiSelectProps, DashboardSelect, DashboardSelectIconsBox, type DashboardSelectIconsBoxProps, type DashboardSelectProps, DashboardTextarea, type DashboardTextareaProps, DashboardTimePicker, type DashboardTimePickerFormat, type DashboardTimePickerProps, type DashboardTimeSettings, DataTable, type DataTableProps, DateTableFilter, DebouncedSearchInput, type DebouncedSearchInputProps, DefaultSelectTrigger, type DefaultSelectTriggerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogVisuallyHidden, DividingSubsection, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentSide, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptySectionPlaceholder, type EmptySectionPlaceholderProps, EmptyTitle, ErrorMessage, type ErrorMessageProps, ExpandableContent, type ExpandableContentProps, type ExpandableContentTrigger, ExternalLink, type ExternalLinkProps, FieldErrorMessage, type FieldErrorMessageProps, FileInputButton, type FileInputButtonProps, FormBox, Content as FormBoxContent, type FormBoxContentProps, Header as FormBoxHeader, type FormBoxHeaderProps, Root$1 as FormBoxRoot, type FormBoxRootProps, SubHeader as FormBoxSubHeader, type FormBoxSubHeaderProps, FramedIcon, type FramedIconProps, FreeTextField, type FreeTextFieldProps, HALO_ICON_STATUS, HaloIcon, type HaloIconProps, HelpTooltip, type HelpTooltipProps, IconButton, type IconButtonProps, type IconEntry, IconsDropdown, type IconsDropdownProps, Image, ImageFullScreenView, type ImageFullScreenViewProps, type ImageProps, InfoBox, type InfoBoxProps, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, LegacyInfinitySelect, type LegacyInfinitySelectProps, LegacyInput, type LegacyInputProps, LegacyMultiSelect, type LegacyMultiSelectProps, LegacySelect, LegacySelectContent, LegacySelectGroup, LegacySelectItem, LegacySelectLabel, LegacySelectPortal, type LegacySelectProps, LegacySelectRoot, LegacySelectScrollDownButton, LegacySelectScrollUpButton, LegacySelectSeparator, type LegacySelectSize, LegacySelectTrigger, LegacySelectValue, LegacyTextarea, type LegacyTextareaProps, Link, type LinkProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, type MobileCameraProps, type MobileScreenshotPayload, MobileWebcam, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, NumberedList, type NumberedListProps, type OptionsCardsProps, OverlayLoader, type OverlayLoaderProps, Pagination, type PaginationProps, type PaginationVariant, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PopoverWithTooltip, type PopoverWithTooltipProps, Radio, type RadioCardOption, MemoizedRadioCardsGroup as RadioCardsGroup, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioOption, type RadioProps, type RadioSize, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, type RegisterUiKitI18nOptions, ResponsiveDropdown, type ResponsiveDropdownOption, type ResponsiveDropdownProps, ResponsiveSheet, type ResponsiveSheetProps, RotateArrow, type RotateArrowProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, type ScrollableAreaState, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, Section, SectionGroup, type SectionGroupItemProps, type SectionGroupLabelProps, type SectionGroupProps, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, type SelectOption, type SelectorOption, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIcon, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignatureCanvas, Skeleton, type SkeletonProps, Slider, SmallGridSingleItem, type SmallGridSingleItemProps, SortingAction, type SortingActionProps, type SortingActionValue, type SortingByVariant, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, StatusBox, type StatusBoxProps, StatusButton, type StatusButtonProps, Stepper, type StepperProps, SubSection, SubSectionSize, SvgIcon, type SvgIconProps, type SvgIconSize, Switch, SwitchBlocks, type SwitchBlocksOption, type SwitchBlocksProps, SwitchGroup, type SwitchGroupProps, type SwitchOption, type SwitchProps, TabbedSection, type TabbedSectionProps, Table, TableBody, TableCaption, TableCell, TableFilter, type TableFilterProps, TableFooter, TableHead, TableHeader, TableLoader, type TableLoaderProps, type TableLoaderRootProps, TablePlaceholder, type TablePlaceholderProps, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, ThreeDotsLoader, type ThreeDotsLoaderProps, Timeline, TimelineConnector, type TimelineConnectorProps, TimelineContent, type TimelineContentProps, type TimelineContextProps, TimelineDescription, type TimelineDescriptionProps, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSeparator, type TimelineSeparatorProps, TimelineTitle, type TimelineTitleProps, ToggleGroup, ToggleGroupItem, Toggles, type TogglesForwardType, type TogglesProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, TooltipRoot, type TooltipRootProps, TooltipRootWrapper, TooltipTrigger, UI_KIT_I18N_NAMESPACE, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, type UseScrollableAreaOptions, type UseScrollableAreaResult, VerticalTabs, type VerticalTabsProps, type VerticalTabsStep, type VideoConstraints, VideoModal, type VideoModalProps, VideoPlayer, type VideoPlayerProps, Webcam, type WebcamProps, type WebcamRefTypes, WideButton, type WideButtonProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, compressFile, compressImage, copyToClipboard, createDisabledMatchers, emptyMediaVariants, formatDate, getErrorMessage, getFileSizeMB, getScrollableAreaState, getSidebarState, isDayBlocked, isNumeric, labelVariants, parseDate, registerUiKitI18n, scrollToTop, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toCssSize, toastResponseError, toggleVariants, uiKitI18nResources, uiKitTranslations, useAbortController, useAccordionState, useCarouselContext, useClickEscape, useCombinedRef, useCopyToClipboard, useDebounce, useDebouncedFunction, useEvent, useHover, useIframeFocusTrapFallback, useIsFormTouched, useIsMobile, useIsMounted, useKeyDown, useLoadMore, useLockBodyScroll, useModalControls, useModalWithHistoryControls, useOutsideClick, usePagination, usePrevious, usePromisedModalControls, useRadioOptions, useResetAfterRequestStatus, useScreenResize, useScrollFrameIntoView, useScrollToTop, useScrollableArea, useSearchInput, useSidebar, useSidebarMenuButton, useSidebarSafe, useStickyStuck, useSwitchSectionActive, useTimeline, useTimeout, useTimeoutRef, useTimer, useUpdateToast, useValidateDates };
3844
+ export { ALERT_BOX_VARIANTS, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbDatePicker, type AirbnbDatePickerProps, type AirbnbDatePickerValue, AirbnbFieldTrigger, type AirbnbFieldTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbPhoneField, type AirbnbPhoneFieldOption, type AirbnbPhoneFieldProps, type AirbnbPhoneFieldValue, AirbnbSearchInput, AirbnbSearchableSelect, type AirbnbSearchableSelectProps, type AirbnbSearchableSelectValue, AirbnbSelect, type AirbnbSelectProps, Alert, AlertBox, type AlertBoxProps, type AlertBoxVariant, AlertDescription, AlertSize, AlertSizes, AlertTitle, AlertType, AlertTypes, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BaseCheckbox, type BaseCheckboxProps, BetaBadge, type BetaBadgeProps, BookmarkTabsList, type BookmarkTabsListProps, BookmarkTabsTrigger, type BookmarkTabsTriggerProps, BoxOptionSelector, type BoxOptionSelectorProps, type BoxOptionSelectorSwitchProps, Breadcrumb, type BreadcrumbProps, type BreadcrumbType, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonStatuses, ButtonsGroupLabel, type ButtonsGroupLabelProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselNext, CarouselPrevious, type CarouselProps, CarouselRoot, type CarouselRootProps, CarouselSlide, CarouselTrack, CarouselViewport, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, Collapsible, CollapsibleContent, CollapsibleTrigger, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyLinkButton, type CopyLinkButtonProps, CopyString, type CopyStringProps, Counter, type CounterProps, CounterSize, CustomCheckboxDropdownGroup, type CustomIconEntry, DEFAULT_DISPLAY_FORMAT, DEVICE_BREAKPOINTS, DashboardCreatableMultiSelect, type DashboardCreatableMultiSelectProps, DashboardDateRangePicker, type DashboardDateRangePickerImperativeProps, type OpenDirection as DashboardDateRangePickerOpenDirection, type DashboardDateRangePickerProps, DashboardDatepicker, type DashboardDatepickerProps, type DashboardDatepickerValue, DashboardFileInput, type DashboardFileInputProps, type DashboardFileInputValue, DashboardInfiniteScrollSelect, type DashboardInfiniteScrollSelectProps, DashboardInput, type DashboardInputProps, DashboardMultiSelect, type DashboardMultiSelectChipRenderer, type DashboardMultiSelectProps, DashboardSelect, DashboardSelectIconsBox, type DashboardSelectIconsBoxProps, type DashboardSelectProps, DashboardTextarea, type DashboardTextareaProps, DashboardTimePicker, type DashboardTimePickerFormat, type DashboardTimePickerProps, type DashboardTimeSettings, DataTable, type DataTableProps, DateTableFilter, DebouncedSearchInput, type DebouncedSearchInputProps, DefaultSelectTrigger, type DefaultSelectTriggerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogVisuallyHidden, DividingSubsection, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentSide, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptySectionPlaceholder, type EmptySectionPlaceholderProps, EmptyTitle, ErrorMessage, type ErrorMessageProps, ExpandableContent, type ExpandableContentProps, type ExpandableContentTrigger, ExternalLink, type ExternalLinkProps, FieldErrorMessage, type FieldErrorMessageProps, FileInputButton, type FileInputButtonProps, FormBox, Content as FormBoxContent, type FormBoxContentProps, Header as FormBoxHeader, type FormBoxHeaderProps, Root$1 as FormBoxRoot, type FormBoxRootProps, SubHeader as FormBoxSubHeader, type FormBoxSubHeaderProps, FramedIcon, type FramedIconProps, FreeTextField, type FreeTextFieldProps, HALO_ICON_STATUS, HaloIcon, type HaloIconProps, HelpTooltip, type HelpTooltipProps, IconButton, type IconButtonProps, type IconEntry, IconsDropdown, type IconsDropdownProps, Image, ImageFullScreenView, type ImageFullScreenViewProps, type ImageProps, InfoBox, type InfoBoxProps, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, LegacyInfinitySelect, type LegacyInfinitySelectProps, LegacyInput, type LegacyInputProps, LegacyMultiSelect, type LegacyMultiSelectProps, LegacySelect, LegacySelectContent, LegacySelectGroup, LegacySelectItem, LegacySelectLabel, LegacySelectPortal, type LegacySelectProps, LegacySelectRoot, LegacySelectScrollDownButton, LegacySelectScrollUpButton, LegacySelectSeparator, type LegacySelectSize, LegacySelectTrigger, LegacySelectValue, LegacyTextarea, type LegacyTextareaProps, Link, type LinkProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, type MobileCameraProps, type MobileScreenshotPayload, MobileWebcam, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, NumberedList, type NumberedListProps, type OptionsCardsProps, OverlayLoader, type OverlayLoaderProps, Pagination, type PaginationProps, type PaginationVariant, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PopoverWithTooltip, type PopoverWithTooltipProps, Radio, type RadioCardOption, MemoizedRadioCardsGroup as RadioCardsGroup, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioOption, type RadioProps, type RadioSize, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, type RegisterUiKitI18nOptions, ResponsiveDropdown, type ResponsiveDropdownOption, type ResponsiveDropdownProps, ResponsiveSheet, type ResponsiveSheetProps, RotateArrow, type RotateArrowProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, type ScrollableAreaState, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, Section, SectionGroup, type SectionGroupItemProps, type SectionGroupLabelProps, type SectionGroupProps, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, type SelectOption, type SelectorOption, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIcon, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignatureCanvas, Skeleton, type SkeletonProps, Slider, SmallGridSingleItem, type SmallGridSingleItemProps, SortingAction, type SortingActionProps, type SortingActionValue, type SortingByVariant, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, StatusBox, type StatusBoxProps, StatusButton, type StatusButtonProps, Stepper, type StepperProps, SubSection, SubSectionSize, SvgIcon, type SvgIconProps, type SvgIconSize, Switch, SwitchBlocks, type SwitchBlocksOption, type SwitchBlocksProps, SwitchGroup, type SwitchGroupProps, type SwitchOption, type SwitchProps, TabbedSection, type TabbedSectionProps, Table, TableBody, TableCaption, TableCell, TableFilter, type TableFilterProps, TableFooter, TableHead, TableHeader, TableLoader, type TableLoaderProps, type TableLoaderRootProps, TablePlaceholder, type TablePlaceholderProps, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, ThreeDotsLoader, type ThreeDotsLoaderProps, Timeline, TimelineConnector, type TimelineConnectorProps, TimelineContent, type TimelineContentProps, type TimelineContextProps, TimelineDescription, type TimelineDescriptionProps, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSeparator, type TimelineSeparatorProps, TimelineTitle, type TimelineTitleProps, ToggleGroup, ToggleGroupItem, Toggles, type TogglesForwardType, type TogglesProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, TooltipRoot, type TooltipRootProps, TooltipRootWrapper, TooltipTrigger, UI_KIT_I18N_NAMESPACE, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, type UseScrollableAreaOptions, type UseScrollableAreaResult, VerticalTabs, type VerticalTabsProps, type VerticalTabsStep, type VideoConstraints, VideoModal, type VideoModalProps, VideoPlayer, type VideoPlayerProps, Webcam, type WebcamProps, type WebcamRefTypes, WideButton, type WideButtonProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, compressFile, compressImage, copyToClipboard, createDisabledMatchers, emptyMediaVariants, formatDate, getErrorMessage, getFileSizeMB, getScrollableAreaState, getSidebarState, isDayBlocked, isNumeric, labelVariants, parseDate, registerUiKitI18n, scrollToTop, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toCssSize, toastResponseError, toggleVariants, uiKitI18nResources, uiKitTranslations, useAbortController, useAccordionState, useCarouselContext, useClickEscape, useCombinedRef, useCopyToClipboard, useCountdown, useDebounce, useDebouncedFunction, useEvent, useHover, useIframeFocusTrapFallback, useIsFormTouched, useIsMobile, useIsMounted, useKeyDown, useLoadMore, useLockBodyScroll, useModalControls, useModalWithHistoryControls, useOutsideClick, usePagination, usePrevious, usePromisedModalControls, useRadioOptions, useResetAfterRequestStatus, useScreenResize, useScrollFrameIntoView, useScrollToTop, useScrollableArea, useSearchInput, useSidebar, useSidebarMenuButton, useSidebarSafe, useStickyStuck, useSwitchSectionActive, useTimeline, useTimeout, useTimeoutRef, useUpdateToast, useValidateDates };
package/dist/index.d.ts CHANGED
@@ -3403,11 +3403,11 @@ declare function useSwitchSectionActive(preloadedSectionActive: boolean | undefi
3403
3403
  };
3404
3404
 
3405
3405
  type Props$1 = {
3406
- seconds: number;
3406
+ initialTime?: number;
3407
3407
  enabled?: boolean;
3408
3408
  onFinish?: () => void;
3409
3409
  };
3410
- declare const useTimer: ({ seconds, enabled, onFinish }: Props$1) => {
3410
+ declare const useCountdown: ({ initialTime, enabled, onFinish, }?: Props$1) => {
3411
3411
  timeLeft: number;
3412
3412
  isTimerRunning: boolean;
3413
3413
  resetTimer: () => void;
@@ -3841,4 +3841,4 @@ type AirbnbSearchInputProps = ComponentProps<'input'> & {
3841
3841
  };
3842
3842
  declare const AirbnbSearchInput: React$1.ForwardRefExoticComponent<Omit<AirbnbSearchInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
3843
3843
 
3844
- export { ALERT_BOX_VARIANTS, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbDatePicker, type AirbnbDatePickerProps, type AirbnbDatePickerValue, AirbnbFieldTrigger, type AirbnbFieldTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbPhoneField, type AirbnbPhoneFieldOption, type AirbnbPhoneFieldProps, type AirbnbPhoneFieldValue, AirbnbSearchInput, AirbnbSearchableSelect, type AirbnbSearchableSelectProps, type AirbnbSearchableSelectValue, AirbnbSelect, type AirbnbSelectProps, Alert, AlertBox, type AlertBoxProps, type AlertBoxVariant, AlertDescription, AlertSize, AlertSizes, AlertTitle, AlertType, AlertTypes, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BaseCheckbox, type BaseCheckboxProps, BetaBadge, type BetaBadgeProps, BookmarkTabsList, type BookmarkTabsListProps, BookmarkTabsTrigger, type BookmarkTabsTriggerProps, BoxOptionSelector, type BoxOptionSelectorProps, type BoxOptionSelectorSwitchProps, Breadcrumb, type BreadcrumbProps, type BreadcrumbType, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonStatuses, ButtonsGroupLabel, type ButtonsGroupLabelProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselNext, CarouselPrevious, type CarouselProps, CarouselRoot, type CarouselRootProps, CarouselSlide, CarouselTrack, CarouselViewport, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, Collapsible, CollapsibleContent, CollapsibleTrigger, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyLinkButton, type CopyLinkButtonProps, CopyString, type CopyStringProps, Counter, type CounterProps, CounterSize, CustomCheckboxDropdownGroup, type CustomIconEntry, DEFAULT_DISPLAY_FORMAT, DEVICE_BREAKPOINTS, DashboardCreatableMultiSelect, type DashboardCreatableMultiSelectProps, DashboardDateRangePicker, type DashboardDateRangePickerImperativeProps, type OpenDirection as DashboardDateRangePickerOpenDirection, type DashboardDateRangePickerProps, DashboardDatepicker, type DashboardDatepickerProps, type DashboardDatepickerValue, DashboardFileInput, type DashboardFileInputProps, type DashboardFileInputValue, DashboardInfiniteScrollSelect, type DashboardInfiniteScrollSelectProps, DashboardInput, type DashboardInputProps, DashboardMultiSelect, type DashboardMultiSelectChipRenderer, type DashboardMultiSelectProps, DashboardSelect, DashboardSelectIconsBox, type DashboardSelectIconsBoxProps, type DashboardSelectProps, DashboardTextarea, type DashboardTextareaProps, DashboardTimePicker, type DashboardTimePickerFormat, type DashboardTimePickerProps, type DashboardTimeSettings, DataTable, type DataTableProps, DateTableFilter, DebouncedSearchInput, type DebouncedSearchInputProps, DefaultSelectTrigger, type DefaultSelectTriggerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogVisuallyHidden, DividingSubsection, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentSide, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptySectionPlaceholder, type EmptySectionPlaceholderProps, EmptyTitle, ErrorMessage, type ErrorMessageProps, ExpandableContent, type ExpandableContentProps, type ExpandableContentTrigger, ExternalLink, type ExternalLinkProps, FieldErrorMessage, type FieldErrorMessageProps, FileInputButton, type FileInputButtonProps, FormBox, Content as FormBoxContent, type FormBoxContentProps, Header as FormBoxHeader, type FormBoxHeaderProps, Root$1 as FormBoxRoot, type FormBoxRootProps, SubHeader as FormBoxSubHeader, type FormBoxSubHeaderProps, FramedIcon, type FramedIconProps, FreeTextField, type FreeTextFieldProps, HALO_ICON_STATUS, HaloIcon, type HaloIconProps, HelpTooltip, type HelpTooltipProps, IconButton, type IconButtonProps, type IconEntry, IconsDropdown, type IconsDropdownProps, Image, ImageFullScreenView, type ImageFullScreenViewProps, type ImageProps, InfoBox, type InfoBoxProps, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, LegacyInfinitySelect, type LegacyInfinitySelectProps, LegacyInput, type LegacyInputProps, LegacyMultiSelect, type LegacyMultiSelectProps, LegacySelect, LegacySelectContent, LegacySelectGroup, LegacySelectItem, LegacySelectLabel, LegacySelectPortal, type LegacySelectProps, LegacySelectRoot, LegacySelectScrollDownButton, LegacySelectScrollUpButton, LegacySelectSeparator, type LegacySelectSize, LegacySelectTrigger, LegacySelectValue, LegacyTextarea, type LegacyTextareaProps, Link, type LinkProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, type MobileCameraProps, type MobileScreenshotPayload, MobileWebcam, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, NumberedList, type NumberedListProps, type OptionsCardsProps, OverlayLoader, type OverlayLoaderProps, Pagination, type PaginationProps, type PaginationVariant, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PopoverWithTooltip, type PopoverWithTooltipProps, Radio, type RadioCardOption, MemoizedRadioCardsGroup as RadioCardsGroup, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioOption, type RadioProps, type RadioSize, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, type RegisterUiKitI18nOptions, ResponsiveDropdown, type ResponsiveDropdownOption, type ResponsiveDropdownProps, ResponsiveSheet, type ResponsiveSheetProps, RotateArrow, type RotateArrowProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, type ScrollableAreaState, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, Section, SectionGroup, type SectionGroupItemProps, type SectionGroupLabelProps, type SectionGroupProps, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, type SelectOption, type SelectorOption, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIcon, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignatureCanvas, Skeleton, type SkeletonProps, Slider, SmallGridSingleItem, type SmallGridSingleItemProps, SortingAction, type SortingActionProps, type SortingActionValue, type SortingByVariant, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, StatusBox, type StatusBoxProps, StatusButton, type StatusButtonProps, Stepper, type StepperProps, SubSection, SubSectionSize, SvgIcon, type SvgIconProps, type SvgIconSize, Switch, SwitchBlocks, type SwitchBlocksOption, type SwitchBlocksProps, SwitchGroup, type SwitchGroupProps, type SwitchOption, type SwitchProps, TabbedSection, type TabbedSectionProps, Table, TableBody, TableCaption, TableCell, TableFilter, type TableFilterProps, TableFooter, TableHead, TableHeader, TableLoader, type TableLoaderProps, type TableLoaderRootProps, TablePlaceholder, type TablePlaceholderProps, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, ThreeDotsLoader, type ThreeDotsLoaderProps, Timeline, TimelineConnector, type TimelineConnectorProps, TimelineContent, type TimelineContentProps, type TimelineContextProps, TimelineDescription, type TimelineDescriptionProps, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSeparator, type TimelineSeparatorProps, TimelineTitle, type TimelineTitleProps, ToggleGroup, ToggleGroupItem, Toggles, type TogglesForwardType, type TogglesProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, TooltipRoot, type TooltipRootProps, TooltipRootWrapper, TooltipTrigger, UI_KIT_I18N_NAMESPACE, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, type UseScrollableAreaOptions, type UseScrollableAreaResult, VerticalTabs, type VerticalTabsProps, type VerticalTabsStep, type VideoConstraints, VideoModal, type VideoModalProps, VideoPlayer, type VideoPlayerProps, Webcam, type WebcamProps, type WebcamRefTypes, WideButton, type WideButtonProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, compressFile, compressImage, copyToClipboard, createDisabledMatchers, emptyMediaVariants, formatDate, getErrorMessage, getFileSizeMB, getScrollableAreaState, getSidebarState, isDayBlocked, isNumeric, labelVariants, parseDate, registerUiKitI18n, scrollToTop, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toCssSize, toastResponseError, toggleVariants, uiKitI18nResources, uiKitTranslations, useAbortController, useAccordionState, useCarouselContext, useClickEscape, useCombinedRef, useCopyToClipboard, useDebounce, useDebouncedFunction, useEvent, useHover, useIframeFocusTrapFallback, useIsFormTouched, useIsMobile, useIsMounted, useKeyDown, useLoadMore, useLockBodyScroll, useModalControls, useModalWithHistoryControls, useOutsideClick, usePagination, usePrevious, usePromisedModalControls, useRadioOptions, useResetAfterRequestStatus, useScreenResize, useScrollFrameIntoView, useScrollToTop, useScrollableArea, useSearchInput, useSidebar, useSidebarMenuButton, useSidebarSafe, useStickyStuck, useSwitchSectionActive, useTimeline, useTimeout, useTimeoutRef, useTimer, useUpdateToast, useValidateDates };
3844
+ export { ALERT_BOX_VARIANTS, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbDatePicker, type AirbnbDatePickerProps, type AirbnbDatePickerValue, AirbnbFieldTrigger, type AirbnbFieldTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbPhoneField, type AirbnbPhoneFieldOption, type AirbnbPhoneFieldProps, type AirbnbPhoneFieldValue, AirbnbSearchInput, AirbnbSearchableSelect, type AirbnbSearchableSelectProps, type AirbnbSearchableSelectValue, AirbnbSelect, type AirbnbSelectProps, Alert, AlertBox, type AlertBoxProps, type AlertBoxVariant, AlertDescription, AlertSize, AlertSizes, AlertTitle, AlertType, AlertTypes, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BaseCheckbox, type BaseCheckboxProps, BetaBadge, type BetaBadgeProps, BookmarkTabsList, type BookmarkTabsListProps, BookmarkTabsTrigger, type BookmarkTabsTriggerProps, BoxOptionSelector, type BoxOptionSelectorProps, type BoxOptionSelectorSwitchProps, Breadcrumb, type BreadcrumbProps, type BreadcrumbType, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, type ButtonStatuses, ButtonsGroupLabel, type ButtonsGroupLabelProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselNext, CarouselPrevious, type CarouselProps, CarouselRoot, type CarouselRootProps, CarouselSlide, CarouselTrack, CarouselViewport, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, Collapsible, CollapsibleContent, CollapsibleTrigger, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyLinkButton, type CopyLinkButtonProps, CopyString, type CopyStringProps, Counter, type CounterProps, CounterSize, CustomCheckboxDropdownGroup, type CustomIconEntry, DEFAULT_DISPLAY_FORMAT, DEVICE_BREAKPOINTS, DashboardCreatableMultiSelect, type DashboardCreatableMultiSelectProps, DashboardDateRangePicker, type DashboardDateRangePickerImperativeProps, type OpenDirection as DashboardDateRangePickerOpenDirection, type DashboardDateRangePickerProps, DashboardDatepicker, type DashboardDatepickerProps, type DashboardDatepickerValue, DashboardFileInput, type DashboardFileInputProps, type DashboardFileInputValue, DashboardInfiniteScrollSelect, type DashboardInfiniteScrollSelectProps, DashboardInput, type DashboardInputProps, DashboardMultiSelect, type DashboardMultiSelectChipRenderer, type DashboardMultiSelectProps, DashboardSelect, DashboardSelectIconsBox, type DashboardSelectIconsBoxProps, type DashboardSelectProps, DashboardTextarea, type DashboardTextareaProps, DashboardTimePicker, type DashboardTimePickerFormat, type DashboardTimePickerProps, type DashboardTimeSettings, DataTable, type DataTableProps, DateTableFilter, DebouncedSearchInput, type DebouncedSearchInputProps, DefaultSelectTrigger, type DefaultSelectTriggerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogVisuallyHidden, DividingSubsection, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownButton, type DropdownButtonProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentSide, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptySectionPlaceholder, type EmptySectionPlaceholderProps, EmptyTitle, ErrorMessage, type ErrorMessageProps, ExpandableContent, type ExpandableContentProps, type ExpandableContentTrigger, ExternalLink, type ExternalLinkProps, FieldErrorMessage, type FieldErrorMessageProps, FileInputButton, type FileInputButtonProps, FormBox, Content as FormBoxContent, type FormBoxContentProps, Header as FormBoxHeader, type FormBoxHeaderProps, Root$1 as FormBoxRoot, type FormBoxRootProps, SubHeader as FormBoxSubHeader, type FormBoxSubHeaderProps, FramedIcon, type FramedIconProps, FreeTextField, type FreeTextFieldProps, HALO_ICON_STATUS, HaloIcon, type HaloIconProps, HelpTooltip, type HelpTooltipProps, IconButton, type IconButtonProps, type IconEntry, IconsDropdown, type IconsDropdownProps, Image, ImageFullScreenView, type ImageFullScreenViewProps, type ImageProps, InfoBox, type InfoBoxProps, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, LegacyInfinitySelect, type LegacyInfinitySelectProps, LegacyInput, type LegacyInputProps, LegacyMultiSelect, type LegacyMultiSelectProps, LegacySelect, LegacySelectContent, LegacySelectGroup, LegacySelectItem, LegacySelectLabel, LegacySelectPortal, type LegacySelectProps, LegacySelectRoot, LegacySelectScrollDownButton, LegacySelectScrollUpButton, LegacySelectSeparator, type LegacySelectSize, LegacySelectTrigger, LegacySelectValue, LegacyTextarea, type LegacyTextareaProps, Link, type LinkProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, type MobileCameraProps, type MobileScreenshotPayload, MobileWebcam, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, NumberedList, type NumberedListProps, type OptionsCardsProps, OverlayLoader, type OverlayLoaderProps, Pagination, type PaginationProps, type PaginationVariant, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PopoverWithTooltip, type PopoverWithTooltipProps, Radio, type RadioCardOption, MemoizedRadioCardsGroup as RadioCardsGroup, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioOption, type RadioProps, type RadioSize, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, type RegisterUiKitI18nOptions, ResponsiveDropdown, type ResponsiveDropdownOption, type ResponsiveDropdownProps, ResponsiveSheet, type ResponsiveSheetProps, RotateArrow, type RotateArrowProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, type ScrollableAreaState, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, Section, SectionGroup, type SectionGroupItemProps, type SectionGroupLabelProps, type SectionGroupProps, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, type SelectOption, type SelectorOption, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIcon, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignatureCanvas, Skeleton, type SkeletonProps, Slider, SmallGridSingleItem, type SmallGridSingleItemProps, SortingAction, type SortingActionProps, type SortingActionValue, type SortingByVariant, StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, StatusBox, type StatusBoxProps, StatusButton, type StatusButtonProps, Stepper, type StepperProps, SubSection, SubSectionSize, SvgIcon, type SvgIconProps, type SvgIconSize, Switch, SwitchBlocks, type SwitchBlocksOption, type SwitchBlocksProps, SwitchGroup, type SwitchGroupProps, type SwitchOption, type SwitchProps, TabbedSection, type TabbedSectionProps, Table, TableBody, TableCaption, TableCell, TableFilter, type TableFilterProps, TableFooter, TableHead, TableHeader, TableLoader, type TableLoaderProps, type TableLoaderRootProps, TablePlaceholder, type TablePlaceholderProps, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, ThreeDotsLoader, type ThreeDotsLoaderProps, Timeline, TimelineConnector, type TimelineConnectorProps, TimelineContent, type TimelineContentProps, type TimelineContextProps, TimelineDescription, type TimelineDescriptionProps, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSeparator, type TimelineSeparatorProps, TimelineTitle, type TimelineTitleProps, ToggleGroup, ToggleGroupItem, Toggles, type TogglesForwardType, type TogglesProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, TooltipRoot, type TooltipRootProps, TooltipRootWrapper, TooltipTrigger, UI_KIT_I18N_NAMESPACE, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, type UseScrollableAreaOptions, type UseScrollableAreaResult, VerticalTabs, type VerticalTabsProps, type VerticalTabsStep, type VideoConstraints, VideoModal, type VideoModalProps, VideoPlayer, type VideoPlayerProps, Webcam, type WebcamProps, type WebcamRefTypes, WideButton, type WideButtonProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, compressFile, compressImage, copyToClipboard, createDisabledMatchers, emptyMediaVariants, formatDate, getErrorMessage, getFileSizeMB, getScrollableAreaState, getSidebarState, isDayBlocked, isNumeric, labelVariants, parseDate, registerUiKitI18n, scrollToTop, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toCssSize, toastResponseError, toggleVariants, uiKitI18nResources, uiKitTranslations, useAbortController, useAccordionState, useCarouselContext, useClickEscape, useCombinedRef, useCopyToClipboard, useCountdown, useDebounce, useDebouncedFunction, useEvent, useHover, useIframeFocusTrapFallback, useIsFormTouched, useIsMobile, useIsMounted, useKeyDown, useLoadMore, useLockBodyScroll, useModalControls, useModalWithHistoryControls, useOutsideClick, usePagination, usePrevious, usePromisedModalControls, useRadioOptions, useResetAfterRequestStatus, useScreenResize, useScrollFrameIntoView, useScrollToTop, useScrollableArea, useSearchInput, useSidebar, useSidebarMenuButton, useSidebarSafe, useStickyStuck, useSwitchSectionActive, useTimeline, useTimeout, useTimeoutRef, useUpdateToast, useValidateDates };
package/dist/index.js CHANGED
@@ -3390,16 +3390,20 @@ function useSwitchSectionActive(preloadedSectionActive, { canToggle, onToggle, o
3390
3390
  };
3391
3391
  }
3392
3392
 
3393
- // src/hooks/use-timer.ts
3393
+ // src/hooks/use-countdown.ts
3394
3394
  import { useEffect as useEffect19, useState as useState15 } from "react";
3395
- var useTimer = ({ seconds, enabled = true, onFinish }) => {
3396
- const [timeLeft, setTimeLeft] = useState15(seconds);
3395
+ var useCountdown = ({
3396
+ initialTime = 60,
3397
+ enabled = true,
3398
+ onFinish
3399
+ } = {}) => {
3400
+ const [timeLeft, setTimeLeft] = useState15(initialTime);
3397
3401
  const [isTimerRunning, setIsTimerRunning] = useState15(enabled);
3398
3402
  const handleOnFinish = useEvent(onFinish);
3399
3403
  useEffect19(() => {
3400
- setTimeLeft(seconds);
3404
+ setTimeLeft(initialTime);
3401
3405
  setIsTimerRunning(enabled);
3402
- }, [enabled, seconds]);
3406
+ }, [initialTime, enabled]);
3403
3407
  useEffect19(() => {
3404
3408
  if (!isTimerRunning) return;
3405
3409
  const timer = setInterval(() => {
@@ -3420,7 +3424,7 @@ var useTimer = ({ seconds, enabled = true, onFinish }) => {
3420
3424
  }
3421
3425
  }, [timeLeft]);
3422
3426
  const resetTimer = () => {
3423
- setTimeLeft(seconds);
3427
+ setTimeLeft(initialTime);
3424
3428
  setIsTimerRunning(enabled);
3425
3429
  };
3426
3430
  return {
@@ -3431,9 +3435,9 @@ var useTimer = ({ seconds, enabled = true, onFinish }) => {
3431
3435
  };
3432
3436
 
3433
3437
  // src/hooks/use-timeout.ts
3434
- import { useEffect as useEffect20, useMemo as useMemo2, useRef as useRef13 } from "react";
3438
+ import { useEffect as useEffect20, useMemo as useMemo2, useRef as useRef12 } from "react";
3435
3439
  function useTimeout(callback, ms = 0) {
3436
- const timeoutId = useRef13();
3440
+ const timeoutId = useRef12();
3437
3441
  const memoizedCallback = useEvent(callback);
3438
3442
  const handler = useMemo2(() => {
3439
3443
  return {
@@ -3587,10 +3591,10 @@ function useIframeFocusTrapFallback(contentRef, onKeyDown) {
3587
3591
  }
3588
3592
 
3589
3593
  // src/hooks/use-reset-after-request-status.ts
3590
- import { useEffect as useEffect22, useRef as useRef14 } from "react";
3594
+ import { useEffect as useEffect22, useRef as useRef13 } from "react";
3591
3595
  var ResetStatusTimeoutMs = 2e3;
3592
3596
  function useResetAfterRequestStatus({ status, reset }) {
3593
- const stateTimeoutRef = useRef14();
3597
+ const stateTimeoutRef = useRef13();
3594
3598
  const handleReset = useEvent(reset);
3595
3599
  const isNotIdle = ["success", "error"].includes(status);
3596
3600
  useEffect22(() => {
@@ -3605,10 +3609,10 @@ function useResetAfterRequestStatus({ status, reset }) {
3605
3609
  }
3606
3610
 
3607
3611
  // src/hooks/use-promised-modal-controls.ts
3608
- import { useRef as useRef15 } from "react";
3612
+ import { useRef as useRef14 } from "react";
3609
3613
  var usePromisedModalControls = () => {
3610
3614
  const { closeModal, isOpen, openModal } = useModalControls();
3611
- const resolveRef = useRef15();
3615
+ const resolveRef = useRef14();
3612
3616
  const openModalWithPromise = async () => {
3613
3617
  openModal();
3614
3618
  return new Promise((resolve) => {
@@ -4551,7 +4555,7 @@ ExternalLink.displayName = "ExternalLink";
4551
4555
  import {
4552
4556
  useCallback as useCallback17,
4553
4557
  useEffect as useEffect24,
4554
- useRef as useRef17,
4558
+ useRef as useRef16,
4555
4559
  useState as useState19
4556
4560
  } from "react";
4557
4561
  import { useTranslation as useTranslation8 } from "react-i18next";
@@ -4581,7 +4585,7 @@ function ExpandableContent({
4581
4585
  ...props
4582
4586
  }) {
4583
4587
  const { t } = useTranslation8();
4584
- const contentRef = useRef17(null);
4588
+ const contentRef = useRef16(null);
4585
4589
  const [contentHeight, setContentHeight] = useState19(0);
4586
4590
  const [internalOpen, setInternalOpen] = useState19(defaultOpen);
4587
4591
  const isOpen = open ?? internalOpen;
@@ -5080,7 +5084,7 @@ function extractDigits(str) {
5080
5084
  }
5081
5085
 
5082
5086
  // src/input-otp/useInputOTP.ts
5083
- import { useCallback as useCallback19, useEffect as useEffect25, useMemo as useMemo3, useRef as useRef18, useState as useState22 } from "react";
5087
+ import { useCallback as useCallback19, useEffect as useEffect25, useMemo as useMemo3, useRef as useRef17, useState as useState22 } from "react";
5084
5088
  function useInputOTP({
5085
5089
  maxLength,
5086
5090
  value,
@@ -5090,10 +5094,10 @@ function useInputOTP({
5090
5094
  error
5091
5095
  }) {
5092
5096
  const [activeIndex, setActiveIndex] = useState22(-1);
5093
- const inputRefs = useRef18([]);
5094
- const containerRef = useRef18(null);
5095
- const blurTimeoutRef = useRef18();
5096
- const slotsRef = useRef18(Array.from({ length: maxLength }, () => ""));
5097
+ const inputRefs = useRef17([]);
5098
+ const containerRef = useRef17(null);
5099
+ const blurTimeoutRef = useRef17();
5100
+ const slotsRef = useRef17(Array.from({ length: maxLength }, () => ""));
5097
5101
  const slots = useMemo3(() => {
5098
5102
  const nextSlots = Array.from({ length: maxLength }, () => "");
5099
5103
  for (let index = 0; index < Math.min(value.length, maxLength); index += 1) {
@@ -6161,7 +6165,7 @@ function ImageFullScreenView({ src, alt, onClose }) {
6161
6165
  }
6162
6166
 
6163
6167
  // src/modal/Modal.tsx
6164
- import { forwardRef as forwardRef30, useRef as useRef19 } from "react";
6168
+ import { forwardRef as forwardRef30, useRef as useRef18 } from "react";
6165
6169
  import { X as X4 } from "lucide-react";
6166
6170
  import { jsx as jsx71, jsxs as jsxs44 } from "react/jsx-runtime";
6167
6171
  var preventDefault = (event) => {
@@ -6191,7 +6195,7 @@ function Modal({
6191
6195
  overlayClassName,
6192
6196
  size = "auto"
6193
6197
  }) {
6194
- const contentRef = useRef19(null);
6198
+ const contentRef = useRef18(null);
6195
6199
  useScrollFrameIntoView(open, { elementRef: contentRef });
6196
6200
  const handleClose = () => {
6197
6201
  onOpenChange?.(false);
@@ -6768,7 +6772,7 @@ var LegacyMultiSelect = forwardRef33(LegacyMultiSelectInner);
6768
6772
 
6769
6773
  // src/legacy-fields/select/InfinitySelect.tsx
6770
6774
  import { useVirtualizer } from "@tanstack/react-virtual";
6771
- import { useCallback as useCallback21, useEffect as useEffect26, useId as useId7, useRef as useRef20, useState as useState27 } from "react";
6775
+ import { useCallback as useCallback21, useEffect as useEffect26, useId as useId7, useRef as useRef19, useState as useState27 } from "react";
6772
6776
  import { jsx as jsx79, jsxs as jsxs50 } from "react/jsx-runtime";
6773
6777
  function LegacyInfinitySelect({
6774
6778
  label,
@@ -6784,7 +6788,7 @@ function LegacyInfinitySelect({
6784
6788
  maxHeight = 300
6785
6789
  }) {
6786
6790
  const id = useId7();
6787
- const parentRef = useRef20(null);
6791
+ const parentRef = useRef19(null);
6788
6792
  const [isOpen, setIsOpen] = useState27(false);
6789
6793
  const virtualizer = useVirtualizer({
6790
6794
  count: hasNextPage ? options.length + 1 : options.length,
@@ -7510,11 +7514,11 @@ function RatingRadioGroupList({ children }) {
7510
7514
  }
7511
7515
 
7512
7516
  // src/rating-radio-group/useRatingPreview.ts
7513
- import { useRef as useRef21, useState as useState29 } from "react";
7517
+ import { useRef as useRef20, useState as useState29 } from "react";
7514
7518
  var TOUCH_END_DELAY = 100;
7515
7519
  function useRatingPreview() {
7516
7520
  const [hoverValue, setHoverValue] = useState29(void 0);
7517
- const isTouchDevice = useRef21(false);
7521
+ const isTouchDevice = useRef20(false);
7518
7522
  const handleContainerMouseLeave = () => {
7519
7523
  setHoverValue(void 0);
7520
7524
  };
@@ -8811,7 +8815,7 @@ var VALUE_PART = 1;
8811
8815
  var getSidebarState = (stateName) => document.cookie.split("; ").find((row) => row.startsWith(`${stateName}=`))?.split("=")[VALUE_PART] === "true";
8812
8816
 
8813
8817
  // src/signature-canvas/SignatureCanvas.tsx
8814
- import { forwardRef as forwardRef41, useEffect as useEffect29, useRef as useRef22 } from "react";
8818
+ import { forwardRef as forwardRef41, useEffect as useEffect29, useRef as useRef21 } from "react";
8815
8819
  import { Trans, useTranslation as useTranslation17 } from "react-i18next";
8816
8820
  import ReactSignatureCanvas from "react-signature-pad-wrapper";
8817
8821
 
@@ -8842,7 +8846,7 @@ var SIGNATURE_PROPS = {
8842
8846
  var SignatureCanvas = forwardRef41(
8843
8847
  ({ onClear, hasSignature, onEnd, onEnable, className, enabled }, ref) => {
8844
8848
  const { t } = useTranslation17();
8845
- const internalRef = useRef22(null);
8849
+ const internalRef = useRef21(null);
8846
8850
  const combinedRef = useCombinedRef(ref, internalRef);
8847
8851
  useEffect29(() => {
8848
8852
  if (!onEnd) return;
@@ -9942,10 +9946,10 @@ function TimelineDescription({ className, asChild, ...props }) {
9942
9946
  import { Toaster, toast as toast2 } from "sonner";
9943
9947
 
9944
9948
  // src/toaster/useUpdateToast.ts
9945
- import { useCallback as useCallback25, useRef as useRef23 } from "react";
9949
+ import { useCallback as useCallback25, useRef as useRef22 } from "react";
9946
9950
  import { toast } from "sonner";
9947
9951
  function useUpdateToast({ id }) {
9948
- const toastIdRef = useRef23("");
9952
+ const toastIdRef = useRef22("");
9949
9953
  const getToastOptions = useCallback25(
9950
9954
  (options) => ({
9951
9955
  id: toastIdRef.current,
@@ -10462,7 +10466,7 @@ function VideoModal({
10462
10466
  }
10463
10467
 
10464
10468
  // src/video-player/VideoPlayer.tsx
10465
- import { useEffect as useEffect33, useRef as useRef25, useState as useState34 } from "react";
10469
+ import { useEffect as useEffect33, useRef as useRef24, useState as useState34 } from "react";
10466
10470
  import { useTranslation as useTranslation22 } from "react-i18next";
10467
10471
  import {
10468
10472
  Loader2 as Loader23,
@@ -10486,9 +10490,9 @@ function VideoPlayer({
10486
10490
  autoPlay = false
10487
10491
  }) {
10488
10492
  const { t } = useTranslation22();
10489
- const videoRef = useRef25(null);
10490
- const iframeRef = useRef25(null);
10491
- const containerRef = useRef25(null);
10493
+ const videoRef = useRef24(null);
10494
+ const iframeRef = useRef24(null);
10495
+ const containerRef = useRef24(null);
10492
10496
  const [isPlaying, setIsPlaying] = useState34(false);
10493
10497
  const [isMuted, setIsMuted] = useState34(false);
10494
10498
  const [currentTime, setCurrentTime] = useState34(0);
@@ -10784,7 +10788,7 @@ import {
10784
10788
  useCallback as useCallback27,
10785
10789
  useImperativeHandle,
10786
10790
  useMemo as useMemo7,
10787
- useRef as useRef26,
10791
+ useRef as useRef25,
10788
10792
  useState as useState35
10789
10793
  } from "react";
10790
10794
  import { isFirefox, isMobile as isMobile2 } from "react-device-detect";
@@ -11126,10 +11130,10 @@ var Webcam = memo7(
11126
11130
  videoSourceDeviceId
11127
11131
  ]);
11128
11132
  const isMirroredInCSS = mirrored === void 0 && !isMobileOrTablet();
11129
- const webcamRef = useRef26(null);
11130
- const scanAreaRef = useRef26(null);
11131
- const canvasRef = useRef26(null);
11132
- const containerRef = useRef26(null);
11133
+ const webcamRef = useRef25(null);
11134
+ const scanAreaRef = useRef25(null);
11135
+ const canvasRef = useRef25(null);
11136
+ const containerRef = useRef25(null);
11133
11137
  const { handleUserMediaError } = useErrorHandler({
11134
11138
  onError: (errorDetails) => {
11135
11139
  onDisabled?.(true);
@@ -18853,6 +18857,7 @@ export {
18853
18857
  useClickEscape,
18854
18858
  useCombinedRef,
18855
18859
  useCopyToClipboard,
18860
+ useCountdown,
18856
18861
  useDebounce,
18857
18862
  useDebouncedFunction,
18858
18863
  useEvent,
@@ -18885,7 +18890,6 @@ export {
18885
18890
  useTimeline,
18886
18891
  useTimeout,
18887
18892
  useTimeoutRef,
18888
- useTimer,
18889
18893
  useUpdateToast,
18890
18894
  useValidateDates
18891
18895
  };