@chekinapp/ui 0.0.63 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2053 -2498
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -71
- package/dist/index.d.ts +46 -71
- package/dist/index.js +2089 -2531
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ElementType,
|
|
2
|
+
import React__default, { ReactNode, ElementType, ComponentProps, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, MouseEvent, SVGProps, ComponentType, ImgHTMLAttributes, AnchorHTMLAttributes, Ref, FC, ButtonHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, ComponentPropsWithoutRef, ReactElement, ForwardedRef, TextareaHTMLAttributes, FocusEventHandler, RefCallback, RefObject, ChangeEvent } from 'react';
|
|
3
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
@@ -306,55 +306,6 @@ type CommingSoonBadgeProps = {
|
|
|
306
306
|
};
|
|
307
307
|
declare function CommingSoonBadge({ tooltip }: CommingSoonBadgeProps): react_jsx_runtime.JSX.Element;
|
|
308
308
|
|
|
309
|
-
type Text = {
|
|
310
|
-
title?: string | ReactNode;
|
|
311
|
-
text?: string | ReactNode;
|
|
312
|
-
};
|
|
313
|
-
type Icon$1 = {
|
|
314
|
-
icon?: ReactNode;
|
|
315
|
-
iconSrc?: string;
|
|
316
|
-
iconAlt?: string;
|
|
317
|
-
iconProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
318
|
-
};
|
|
319
|
-
type Buttons = {
|
|
320
|
-
buttons?: ReactNode;
|
|
321
|
-
};
|
|
322
|
-
type Close = {
|
|
323
|
-
withCloseButton?: boolean;
|
|
324
|
-
closeOnDocumentClick?: boolean;
|
|
325
|
-
closeOnEscape?: boolean;
|
|
326
|
-
};
|
|
327
|
-
type ModalSize = 'auto' | 'compact';
|
|
328
|
-
type ModalProps = {
|
|
329
|
-
open?: boolean;
|
|
330
|
-
modal?: boolean;
|
|
331
|
-
onOpenChange?: (open: boolean) => void;
|
|
332
|
-
onClose?: () => void;
|
|
333
|
-
children?: ReactNode;
|
|
334
|
-
className?: string;
|
|
335
|
-
lockScroll?: boolean;
|
|
336
|
-
scrollableOverlay?: boolean;
|
|
337
|
-
container?: HTMLElement;
|
|
338
|
-
overlayClassName?: string;
|
|
339
|
-
size?: ModalSize;
|
|
340
|
-
} & Close & Text & Icon$1 & Buttons;
|
|
341
|
-
declare function Modal({ open, onOpenChange, onClose, children, withCloseButton, closeOnDocumentClick, closeOnEscape, scrollableOverlay, className, title, text, icon, iconSrc, iconAlt, iconProps, buttons, lockScroll, container, modal, overlayClassName, size, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
342
|
-
declare namespace Modal {
|
|
343
|
-
var displayName: string;
|
|
344
|
-
}
|
|
345
|
-
declare const ModalButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
346
|
-
|
|
347
|
-
type ConfirmDeletionModalProps = Pick<ModalProps, 'container' | 'lockScroll' | 'modal'> & {
|
|
348
|
-
title: ReactNode;
|
|
349
|
-
isConfirmDeletionModalOpen: boolean;
|
|
350
|
-
onDelete: () => void;
|
|
351
|
-
onCancel: () => void;
|
|
352
|
-
isLoading?: boolean;
|
|
353
|
-
customDocument?: Document;
|
|
354
|
-
customWindow?: Window;
|
|
355
|
-
};
|
|
356
|
-
declare function ConfirmDeletionModal({ title, isConfirmDeletionModalOpen, onDelete, onCancel, isLoading, container, customDocument, customWindow, ...props }: ConfirmDeletionModalProps): react_jsx_runtime.JSX.Element;
|
|
357
|
-
|
|
358
309
|
type CopyIconProps = {
|
|
359
310
|
textToCopy: string;
|
|
360
311
|
className?: string;
|
|
@@ -683,16 +634,13 @@ interface HelpTooltipProps {
|
|
|
683
634
|
}
|
|
684
635
|
declare function HelpTooltip({ content, side, variant, onClick, className, contentClassName, size, label, triggerAs, }: HelpTooltipProps): react_jsx_runtime.JSX.Element;
|
|
685
636
|
|
|
686
|
-
type
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
size?: number | string;
|
|
692
|
-
className?: string;
|
|
693
|
-
fallback?: ReactNode;
|
|
637
|
+
type SvgIconSize = 'sm' | 'md' | 'lg' | number;
|
|
638
|
+
interface SvgIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
639
|
+
as: ComponentType<SVGProps<SVGSVGElement>>;
|
|
640
|
+
size?: SvgIconSize;
|
|
641
|
+
label?: string;
|
|
694
642
|
}
|
|
695
|
-
declare const
|
|
643
|
+
declare const SvgIcon: React$1.ForwardRefExoticComponent<SvgIconProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
696
644
|
|
|
697
645
|
declare const iconButtonVariants: (props?: ({
|
|
698
646
|
size?: "s" | "m" | "l" | null | undefined;
|
|
@@ -1627,6 +1575,44 @@ type LoadingBarProps = {
|
|
|
1627
1575
|
};
|
|
1628
1576
|
declare function LoadingBar({ className }: LoadingBarProps): react_jsx_runtime.JSX.Element;
|
|
1629
1577
|
|
|
1578
|
+
type Text = {
|
|
1579
|
+
title?: string | ReactNode;
|
|
1580
|
+
text?: string | ReactNode;
|
|
1581
|
+
};
|
|
1582
|
+
type Icon = {
|
|
1583
|
+
icon?: ReactNode;
|
|
1584
|
+
iconSrc?: string;
|
|
1585
|
+
iconAlt?: string;
|
|
1586
|
+
iconProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
1587
|
+
};
|
|
1588
|
+
type Buttons = {
|
|
1589
|
+
buttons?: ReactNode;
|
|
1590
|
+
};
|
|
1591
|
+
type Close = {
|
|
1592
|
+
withCloseButton?: boolean;
|
|
1593
|
+
closeOnDocumentClick?: boolean;
|
|
1594
|
+
closeOnEscape?: boolean;
|
|
1595
|
+
};
|
|
1596
|
+
type ModalSize = 'auto' | 'compact';
|
|
1597
|
+
type ModalProps = {
|
|
1598
|
+
open?: boolean;
|
|
1599
|
+
modal?: boolean;
|
|
1600
|
+
onOpenChange?: (open: boolean) => void;
|
|
1601
|
+
onClose?: () => void;
|
|
1602
|
+
children?: ReactNode;
|
|
1603
|
+
className?: string;
|
|
1604
|
+
lockScroll?: boolean;
|
|
1605
|
+
scrollableOverlay?: boolean;
|
|
1606
|
+
container?: HTMLElement;
|
|
1607
|
+
overlayClassName?: string;
|
|
1608
|
+
size?: ModalSize;
|
|
1609
|
+
} & Close & Text & Icon & Buttons;
|
|
1610
|
+
declare function Modal({ open, onOpenChange, onClose, children, withCloseButton, closeOnDocumentClick, closeOnEscape, scrollableOverlay, className, title, text, icon, iconSrc, iconAlt, iconProps, buttons, lockScroll, container, modal, overlayClassName, size, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
1611
|
+
declare namespace Modal {
|
|
1612
|
+
var displayName: string;
|
|
1613
|
+
}
|
|
1614
|
+
declare const ModalButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1615
|
+
|
|
1630
1616
|
interface ModalLoaderProps {
|
|
1631
1617
|
visible?: boolean;
|
|
1632
1618
|
className?: string;
|
|
@@ -2561,17 +2547,6 @@ declare const Webcam: React$1.ForwardRefExoticComponent<WebcamProps & React$1.Re
|
|
|
2561
2547
|
type WideButtonProps = Omit<ButtonProps, 'size'>;
|
|
2562
2548
|
declare const WideButton: React$1.ForwardRefExoticComponent<WideButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2563
2549
|
|
|
2564
|
-
type YouHaveMadeChangesModalProps = {
|
|
2565
|
-
handleModalSave: () => void;
|
|
2566
|
-
handleModalDontSave: () => void;
|
|
2567
|
-
handleModalCancel: () => void;
|
|
2568
|
-
text?: string;
|
|
2569
|
-
saveLabel?: string;
|
|
2570
|
-
dontSaveLabel?: string;
|
|
2571
|
-
loading?: boolean;
|
|
2572
|
-
};
|
|
2573
|
-
declare function YouHaveMadeChangesModal({ handleModalSave, handleModalDontSave, handleModalCancel, text, saveLabel, dontSaveLabel, loading, }: YouHaveMadeChangesModalProps): react_jsx_runtime.JSX.Element;
|
|
2574
|
-
|
|
2575
2550
|
type DatePickerValue = Date | number | null | undefined | '';
|
|
2576
2551
|
type DatePickerProps = {
|
|
2577
2552
|
variant?: 'default' | 'airbnb';
|
|
@@ -3135,4 +3110,4 @@ declare function toastResponseError(error: unknown, options?: CustomToastOptions
|
|
|
3135
3110
|
|
|
3136
3111
|
declare function getErrorMessage(error?: any): any;
|
|
3137
3112
|
|
|
3138
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbSearchInput, AirbnbSelect, type AirbnbSelectProps, AlertBox, type AlertBoxProps, AlertSize, AlertSizes, 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, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, CommingSoonBadge, type CommingSoonBadgeProps,
|
|
3113
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbSearchInput, AirbnbSelect, type AirbnbSelectProps, AlertBox, type AlertBoxProps, AlertSize, AlertSizes, 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, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyInput, type CopyInputProps, CopyLinkButton, type CopyLinkButtonProps, CopyString, type CopyStringProps, CustomCheckboxDropdownGroup, type CustomIconEntry, DEVICE_BREAKPOINTS, DataTable, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerValue, 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, ExternalLink, type ExternalLinkProps, FieldErrorMessage, type FieldErrorMessageProps, FieldTrigger, type FieldTriggerProps, 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, InfinitySelect, type InfinitySelectProps, InfoBox, type InfoBoxProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputProps, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, Link, type LinkProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, MultiSelect, type MultiSelectProps, NumberedList, type NumberedListProps, type OptionsCardsProps, OverlayLoader, type OverlayLoaderProps, Pagination, type PaginationProps, type PaginationVariant, PhoneField, type PhoneFieldOption, type PhoneFieldProps, type PhoneFieldValue, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PopoverWithTooltip, type PopoverWithTooltipProps, Radio, type RadioCardOption, MemoizedRadioCardsGroup as RadioCardsGroup, RadioGroup, RadioGroupItem, type RadioOption, type RadioProps, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, ResponsiveSheet, type ResponsiveSheetProps, RotateArrow, type RotateArrowProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, type ScrollableAreaState, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, SearchableSelect, type SearchableSelectProps, type SearchableSelectValue, Section, SectionGroup, type SectionGroupItemProps, type SectionGroupLabelProps, type SectionGroupProps, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectPortal, type SelectProps, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, type SelectSize, SelectTrigger, SelectValue$1 as SelectValue, 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, SliderNext, SliderPrevious, type SliderProps, SliderRoot, type SliderRootProps, SliderSlide, SliderTrack, SliderViewport, 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, TextField, type TextFieldProps, Textarea, type TextareaProps, 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, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, type UseScrollableAreaOptions, type UseScrollableAreaResult, VerticalTabs, type VerticalTabsProps, type VerticalTabsStep, VideoModal, type VideoModalProps, VideoPlayer, type VideoPlayerProps, Webcam, type WebcamProps, type WebcamRefTypes, WideButton, type WideButtonProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, copyToClipboard, emptyMediaVariants, getErrorMessage, getScrollableAreaState, getSidebarState, inputVariants, isNumeric, labelVariants, scrollToTop, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toCssSize, toastResponseError, toggleVariants, uiKitI18nResources, uiKitTranslations, useAbortController, useAccordionState, useClickEscape, useCombinedRef, useCopyToClipboard, useDebounce, useDebouncedFunction, useEvent, useHover, useIframeFocusTrapFallback, useIsFormTouched, useIsMobile, useIsMounted, useKeyDown, useLoadMore, useModalControls, useOutsideClick, usePagination, usePrevious, usePromisedModalControls, useRadioOptions, useResetAfterRequestStatus, useScreenResize, useScrollFrameIntoView, useScrollToTop, useScrollableArea, useSearchInput, useSidebar, useSidebarMenuButton, useSidebarSafe, useSliderContext, useStickyStuck, useSwitchSectionActive, useTimeline, useTimeout, useTimeoutRef, useTimer, useUpdateToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ElementType,
|
|
2
|
+
import React__default, { ReactNode, ElementType, ComponentProps, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, MouseEvent, SVGProps, ComponentType, ImgHTMLAttributes, AnchorHTMLAttributes, Ref, FC, ButtonHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, MouseEventHandler, ComponentPropsWithoutRef, ReactElement, ForwardedRef, TextareaHTMLAttributes, FocusEventHandler, RefCallback, RefObject, ChangeEvent } from 'react';
|
|
3
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
@@ -306,55 +306,6 @@ type CommingSoonBadgeProps = {
|
|
|
306
306
|
};
|
|
307
307
|
declare function CommingSoonBadge({ tooltip }: CommingSoonBadgeProps): react_jsx_runtime.JSX.Element;
|
|
308
308
|
|
|
309
|
-
type Text = {
|
|
310
|
-
title?: string | ReactNode;
|
|
311
|
-
text?: string | ReactNode;
|
|
312
|
-
};
|
|
313
|
-
type Icon$1 = {
|
|
314
|
-
icon?: ReactNode;
|
|
315
|
-
iconSrc?: string;
|
|
316
|
-
iconAlt?: string;
|
|
317
|
-
iconProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
318
|
-
};
|
|
319
|
-
type Buttons = {
|
|
320
|
-
buttons?: ReactNode;
|
|
321
|
-
};
|
|
322
|
-
type Close = {
|
|
323
|
-
withCloseButton?: boolean;
|
|
324
|
-
closeOnDocumentClick?: boolean;
|
|
325
|
-
closeOnEscape?: boolean;
|
|
326
|
-
};
|
|
327
|
-
type ModalSize = 'auto' | 'compact';
|
|
328
|
-
type ModalProps = {
|
|
329
|
-
open?: boolean;
|
|
330
|
-
modal?: boolean;
|
|
331
|
-
onOpenChange?: (open: boolean) => void;
|
|
332
|
-
onClose?: () => void;
|
|
333
|
-
children?: ReactNode;
|
|
334
|
-
className?: string;
|
|
335
|
-
lockScroll?: boolean;
|
|
336
|
-
scrollableOverlay?: boolean;
|
|
337
|
-
container?: HTMLElement;
|
|
338
|
-
overlayClassName?: string;
|
|
339
|
-
size?: ModalSize;
|
|
340
|
-
} & Close & Text & Icon$1 & Buttons;
|
|
341
|
-
declare function Modal({ open, onOpenChange, onClose, children, withCloseButton, closeOnDocumentClick, closeOnEscape, scrollableOverlay, className, title, text, icon, iconSrc, iconAlt, iconProps, buttons, lockScroll, container, modal, overlayClassName, size, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
342
|
-
declare namespace Modal {
|
|
343
|
-
var displayName: string;
|
|
344
|
-
}
|
|
345
|
-
declare const ModalButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
346
|
-
|
|
347
|
-
type ConfirmDeletionModalProps = Pick<ModalProps, 'container' | 'lockScroll' | 'modal'> & {
|
|
348
|
-
title: ReactNode;
|
|
349
|
-
isConfirmDeletionModalOpen: boolean;
|
|
350
|
-
onDelete: () => void;
|
|
351
|
-
onCancel: () => void;
|
|
352
|
-
isLoading?: boolean;
|
|
353
|
-
customDocument?: Document;
|
|
354
|
-
customWindow?: Window;
|
|
355
|
-
};
|
|
356
|
-
declare function ConfirmDeletionModal({ title, isConfirmDeletionModalOpen, onDelete, onCancel, isLoading, container, customDocument, customWindow, ...props }: ConfirmDeletionModalProps): react_jsx_runtime.JSX.Element;
|
|
357
|
-
|
|
358
309
|
type CopyIconProps = {
|
|
359
310
|
textToCopy: string;
|
|
360
311
|
className?: string;
|
|
@@ -683,16 +634,13 @@ interface HelpTooltipProps {
|
|
|
683
634
|
}
|
|
684
635
|
declare function HelpTooltip({ content, side, variant, onClick, className, contentClassName, size, label, triggerAs, }: HelpTooltipProps): react_jsx_runtime.JSX.Element;
|
|
685
636
|
|
|
686
|
-
type
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
size?: number | string;
|
|
692
|
-
className?: string;
|
|
693
|
-
fallback?: ReactNode;
|
|
637
|
+
type SvgIconSize = 'sm' | 'md' | 'lg' | number;
|
|
638
|
+
interface SvgIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
639
|
+
as: ComponentType<SVGProps<SVGSVGElement>>;
|
|
640
|
+
size?: SvgIconSize;
|
|
641
|
+
label?: string;
|
|
694
642
|
}
|
|
695
|
-
declare const
|
|
643
|
+
declare const SvgIcon: React$1.ForwardRefExoticComponent<SvgIconProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
696
644
|
|
|
697
645
|
declare const iconButtonVariants: (props?: ({
|
|
698
646
|
size?: "s" | "m" | "l" | null | undefined;
|
|
@@ -1627,6 +1575,44 @@ type LoadingBarProps = {
|
|
|
1627
1575
|
};
|
|
1628
1576
|
declare function LoadingBar({ className }: LoadingBarProps): react_jsx_runtime.JSX.Element;
|
|
1629
1577
|
|
|
1578
|
+
type Text = {
|
|
1579
|
+
title?: string | ReactNode;
|
|
1580
|
+
text?: string | ReactNode;
|
|
1581
|
+
};
|
|
1582
|
+
type Icon = {
|
|
1583
|
+
icon?: ReactNode;
|
|
1584
|
+
iconSrc?: string;
|
|
1585
|
+
iconAlt?: string;
|
|
1586
|
+
iconProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
1587
|
+
};
|
|
1588
|
+
type Buttons = {
|
|
1589
|
+
buttons?: ReactNode;
|
|
1590
|
+
};
|
|
1591
|
+
type Close = {
|
|
1592
|
+
withCloseButton?: boolean;
|
|
1593
|
+
closeOnDocumentClick?: boolean;
|
|
1594
|
+
closeOnEscape?: boolean;
|
|
1595
|
+
};
|
|
1596
|
+
type ModalSize = 'auto' | 'compact';
|
|
1597
|
+
type ModalProps = {
|
|
1598
|
+
open?: boolean;
|
|
1599
|
+
modal?: boolean;
|
|
1600
|
+
onOpenChange?: (open: boolean) => void;
|
|
1601
|
+
onClose?: () => void;
|
|
1602
|
+
children?: ReactNode;
|
|
1603
|
+
className?: string;
|
|
1604
|
+
lockScroll?: boolean;
|
|
1605
|
+
scrollableOverlay?: boolean;
|
|
1606
|
+
container?: HTMLElement;
|
|
1607
|
+
overlayClassName?: string;
|
|
1608
|
+
size?: ModalSize;
|
|
1609
|
+
} & Close & Text & Icon & Buttons;
|
|
1610
|
+
declare function Modal({ open, onOpenChange, onClose, children, withCloseButton, closeOnDocumentClick, closeOnEscape, scrollableOverlay, className, title, text, icon, iconSrc, iconAlt, iconProps, buttons, lockScroll, container, modal, overlayClassName, size, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
1611
|
+
declare namespace Modal {
|
|
1612
|
+
var displayName: string;
|
|
1613
|
+
}
|
|
1614
|
+
declare const ModalButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1615
|
+
|
|
1630
1616
|
interface ModalLoaderProps {
|
|
1631
1617
|
visible?: boolean;
|
|
1632
1618
|
className?: string;
|
|
@@ -2561,17 +2547,6 @@ declare const Webcam: React$1.ForwardRefExoticComponent<WebcamProps & React$1.Re
|
|
|
2561
2547
|
type WideButtonProps = Omit<ButtonProps, 'size'>;
|
|
2562
2548
|
declare const WideButton: React$1.ForwardRefExoticComponent<WideButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2563
2549
|
|
|
2564
|
-
type YouHaveMadeChangesModalProps = {
|
|
2565
|
-
handleModalSave: () => void;
|
|
2566
|
-
handleModalDontSave: () => void;
|
|
2567
|
-
handleModalCancel: () => void;
|
|
2568
|
-
text?: string;
|
|
2569
|
-
saveLabel?: string;
|
|
2570
|
-
dontSaveLabel?: string;
|
|
2571
|
-
loading?: boolean;
|
|
2572
|
-
};
|
|
2573
|
-
declare function YouHaveMadeChangesModal({ handleModalSave, handleModalDontSave, handleModalCancel, text, saveLabel, dontSaveLabel, loading, }: YouHaveMadeChangesModalProps): react_jsx_runtime.JSX.Element;
|
|
2574
|
-
|
|
2575
2550
|
type DatePickerValue = Date | number | null | undefined | '';
|
|
2576
2551
|
type DatePickerProps = {
|
|
2577
2552
|
variant?: 'default' | 'airbnb';
|
|
@@ -3135,4 +3110,4 @@ declare function toastResponseError(error: unknown, options?: CustomToastOptions
|
|
|
3135
3110
|
|
|
3136
3111
|
declare function getErrorMessage(error?: any): any;
|
|
3137
3112
|
|
|
3138
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbSearchInput, AirbnbSelect, type AirbnbSelectProps, AlertBox, type AlertBoxProps, AlertSize, AlertSizes, 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, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, CommingSoonBadge, type CommingSoonBadgeProps,
|
|
3113
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, AccordionTrigger, type AccordionTriggerProps, AirbnbInput, type AirbnbInputProps, AirbnbSearchInput, AirbnbSelect, type AirbnbSelectProps, AlertBox, type AlertBoxProps, AlertSize, AlertSizes, 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, CheckList, type CheckListProps, Checkbox, CheckboxDropdownGroup, type CheckboxDropdownGroupConfig, type CheckboxDropdownGroupProps, CheckboxDropdownMultiGroup, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxSize, CircularLoader, CommingSoonBadge, type CommingSoonBadgeProps, ConfirmationDialog, type ConfirmationDialogProps, CopyIcon, type CopyIconProps, CopyInput, type CopyInputProps, CopyLinkButton, type CopyLinkButtonProps, CopyString, type CopyStringProps, CustomCheckboxDropdownGroup, type CustomIconEntry, DEVICE_BREAKPOINTS, DataTable, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerValue, 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, ExternalLink, type ExternalLinkProps, FieldErrorMessage, type FieldErrorMessageProps, FieldTrigger, type FieldTriggerProps, 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, InfinitySelect, type InfinitySelectProps, InfoBox, type InfoBoxProps, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputProps, Label, type LabelProps, LargeModal, type LargeModalProps, LearnMoreButton, type LearnMoreButtonProps, Link, type LinkProps, LoadingBar, type LoadingBarProps, type LucideIconEntry, Modal, ModalButton, ModalLoader, type ModalLoaderProps, type ModalProps, MultiSelect, type MultiSelectProps, NumberedList, type NumberedListProps, type OptionsCardsProps, OverlayLoader, type OverlayLoaderProps, Pagination, type PaginationProps, type PaginationVariant, PhoneField, type PhoneFieldOption, type PhoneFieldProps, type PhoneFieldValue, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger, PopoverWithTooltip, type PopoverWithTooltipProps, Radio, type RadioCardOption, MemoizedRadioCardsGroup as RadioCardsGroup, RadioGroup, RadioGroupItem, type RadioOption, type RadioProps, RadioWithBorder, RatingProgress, type RatingProgressProps, RatingRadioGroup, type RatingRadioGroupProps, RatingStars, type RatingStarsProps, ResponsiveSheet, type ResponsiveSheetProps, RotateArrow, type RotateArrowProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, type ScrollableAreaState, SearchButton, type SearchButtonProps, SearchInput, type SearchInputProps, SearchableSelect, type SearchableSelectProps, type SearchableSelectValue, Section, SectionGroup, type SectionGroupItemProps, type SectionGroupLabelProps, type SectionGroupProps, type SectionProps, SectionTag, SectionTagColors, type SectionTagProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, SelectPortal, type SelectProps, SelectRoot, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, type SelectSize, SelectTrigger, SelectValue$1 as SelectValue, 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, SliderNext, SliderPrevious, type SliderProps, SliderRoot, type SliderRootProps, SliderSlide, SliderTrack, SliderViewport, 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, TextField, type TextFieldProps, Textarea, type TextareaProps, 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, type UiKitLocale, UploadedFilesList, type UploadedFilesListProps, type UseScrollableAreaOptions, type UseScrollableAreaResult, VerticalTabs, type VerticalTabsProps, type VerticalTabsStep, VideoModal, type VideoModalProps, VideoPlayer, type VideoPlayerProps, Webcam, type WebcamProps, type WebcamRefTypes, WideButton, type WideButtonProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, copyToClipboard, emptyMediaVariants, getErrorMessage, getScrollableAreaState, getSidebarState, inputVariants, isNumeric, labelVariants, scrollToTop, sectionTagVariants, switchThumbVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toCssSize, toastResponseError, toggleVariants, uiKitI18nResources, uiKitTranslations, useAbortController, useAccordionState, useClickEscape, useCombinedRef, useCopyToClipboard, useDebounce, useDebouncedFunction, useEvent, useHover, useIframeFocusTrapFallback, useIsFormTouched, useIsMobile, useIsMounted, useKeyDown, useLoadMore, useModalControls, useOutsideClick, usePagination, usePrevious, usePromisedModalControls, useRadioOptions, useResetAfterRequestStatus, useScreenResize, useScrollFrameIntoView, useScrollToTop, useScrollableArea, useSearchInput, useSidebar, useSidebarMenuButton, useSidebarSafe, useSliderContext, useStickyStuck, useSwitchSectionActive, useTimeline, useTimeout, useTimeoutRef, useTimer, useUpdateToast };
|