@chekinapp/ui 0.0.62 → 0.0.63
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 +1757 -1723
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -12
- package/dist/index.d.ts +7 -12
- package/dist/index.js +1659 -1444
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/dist/calendar-days-in-SLPBPDOS.svg +0 -14
- package/dist/calendar-days-in-ULBTE44N.js +0 -8
- package/dist/calendar-days-in-ULBTE44N.js.map +0 -1
- package/dist/chart-no-axes-combined-FFQBB4WH.svg +0 -8
- package/dist/chart-no-axes-combined-HUP7G626.js +0 -8
- package/dist/chart-no-axes-combined-HUP7G626.js.map +0 -1
- package/dist/chart-no-axes-combined-in-KSSFTTR5.js +0 -8
- package/dist/chart-no-axes-combined-in-KSSFTTR5.js.map +0 -1
- package/dist/chart-no-axes-combined-in-OLBZWQTZ.svg +0 -10
- package/dist/chart-no-axes-combined-out-3FCGSX56.svg +0 -10
- package/dist/chart-no-axes-combined-out-5UHORQ4K.js +0 -8
- package/dist/chart-no-axes-combined-out-5UHORQ4K.js.map +0 -1
- package/dist/chunk-3HJJGB3B.js +0 -7
- package/dist/chunk-3HJJGB3B.js.map +0 -1
- package/dist/chunk-BFBKXDLS.js +0 -7
- package/dist/chunk-BFBKXDLS.js.map +0 -1
- package/dist/chunk-QKQ47GQZ.js +0 -10
- package/dist/chunk-QKQ47GQZ.js.map +0 -1
- package/dist/chunk-XQILAZOW.js +0 -7
- package/dist/chunk-XQILAZOW.js.map +0 -1
- package/dist/circled-home-45FW34E2.svg +0 -4
- package/dist/circled-home-LWDUSRBK.js +0 -8
- package/dist/circled-home-LWDUSRBK.js.map +0 -1
- package/dist/es-PVER2XTO.js +0 -8
- package/dist/es-PVER2XTO.js.map +0 -1
- package/dist/es-XSWWXXY5.svg +0 -17
- package/dist/facebook-4DNPLWJM.js +0 -8
- package/dist/facebook-4DNPLWJM.js.map +0 -1
- package/dist/facebook-HUCSYZMU.svg +0 -4
- package/dist/floppy-round-SGIBGGAK.svg +0 -1
- package/dist/floppy-round-XABRGW2N.js +0 -8
- package/dist/floppy-round-XABRGW2N.js.map +0 -1
- package/dist/fr-7U2X2FG5.svg +0 -13
- package/dist/fr-LNHVLN7A.js +0 -8
- package/dist/fr-LNHVLN7A.js.map +0 -1
- package/dist/host-5DOO2LY5.js +0 -8
- package/dist/host-5DOO2LY5.js.map +0 -1
- package/dist/host-RQHG7H3Z.svg +0 -3
- package/dist/house-i-COGUTKDY.js +0 -8
- package/dist/house-i-COGUTKDY.js.map +0 -1
- package/dist/house-i-WUQR3D5P.svg +0 -5
- package/dist/instagram-LPSQTSGR.svg +0 -3
- package/dist/instagram-NVMVE6CW.js +0 -8
- package/dist/instagram-NVMVE6CW.js.map +0 -1
- package/dist/it-P2JS75R4.svg +0 -13
- package/dist/it-YUC3MGKB.js +0 -8
- package/dist/it-YUC3MGKB.js.map +0 -1
- package/dist/linkedin-3YSPZR22.svg +0 -4
- package/dist/linkedin-KYB4L5T5.js +0 -8
- package/dist/linkedin-KYB4L5T5.js.map +0 -1
- package/dist/meta-HVCI6NQM.svg +0 -1
- package/dist/meta-JSNKKQXI.js +0 -8
- package/dist/meta-JSNKKQXI.js.map +0 -1
- package/dist/notfound-icon-A6ZZ2FEH.js +0 -8
- package/dist/notfound-icon-A6ZZ2FEH.js.map +0 -1
- package/dist/notfound-icon-IYZTTG37.svg +0 -1
- package/dist/pt-VK7IPRRL.js +0 -8
- package/dist/pt-VK7IPRRL.js.map +0 -1
- package/dist/pt-ZI4OBPKT.svg +0 -17
- package/dist/shield-star-3PDKRBMG.svg +0 -3
- package/dist/shield-star-PEFEFKNE.js +0 -8
- package/dist/shield-star-PEFEFKNE.js.map +0 -1
- package/dist/shield-star-in-5RKJXRSG.svg +0 -5
- package/dist/shield-star-in-CHYVAPEX.js +0 -8
- package/dist/shield-star-in-CHYVAPEX.js.map +0 -1
- package/dist/shield-star-out-WPZ653CA.js +0 -8
- package/dist/shield-star-out-WPZ653CA.js.map +0 -1
- package/dist/shield-star-out-XC3RHL53.svg +0 -5
- package/dist/sign-finger-A6OSM7BR.svg +0 -1
- package/dist/sign-finger-LUFKEZD7.js +0 -8
- package/dist/sign-finger-LUFKEZD7.js.map +0 -1
- package/dist/sms-FLMHZF52.svg +0 -6
- package/dist/sms-JYAB7JPV.js +0 -8
- package/dist/sms-JYAB7JPV.js.map +0 -1
- package/dist/uk-KRVBTIGA.svg +0 -40
- package/dist/uk-N4KBI5ZB.js +0 -8
- package/dist/uk-N4KBI5ZB.js.map +0 -1
- package/dist/warning-icon-7NZPQPPS.svg +0 -1
- package/dist/warning-icon-YN7BQAUP.js +0 -8
- package/dist/warning-icon-YN7BQAUP.js.map +0 -1
- package/dist/whatsapp-EB65DRS4.js +0 -8
- package/dist/whatsapp-EB65DRS4.js.map +0 -1
- package/dist/whatsapp-JM2FN2SY.svg +0 -11
- package/dist/x-N77LFRVR.js +0 -8
- package/dist/x-N77LFRVR.js.map +0 -1
- package/dist/x-OQ2UHDBL.svg +0 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, ElementType, ImgHTMLAttributes, ComponentProps, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, MouseEvent,
|
|
2
|
+
import React__default, { ReactNode, ElementType, ImgHTMLAttributes, ComponentProps, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, MouseEvent, ComponentType, SVGProps, 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';
|
|
@@ -311,6 +311,7 @@ type Text = {
|
|
|
311
311
|
text?: string | ReactNode;
|
|
312
312
|
};
|
|
313
313
|
type Icon$1 = {
|
|
314
|
+
icon?: ReactNode;
|
|
314
315
|
iconSrc?: string;
|
|
315
316
|
iconAlt?: string;
|
|
316
317
|
iconProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
@@ -337,7 +338,7 @@ type ModalProps = {
|
|
|
337
338
|
overlayClassName?: string;
|
|
338
339
|
size?: ModalSize;
|
|
339
340
|
} & Close & Text & Icon$1 & Buttons;
|
|
340
|
-
declare function Modal({ open, onOpenChange, onClose, children, withCloseButton, closeOnDocumentClick, closeOnEscape, scrollableOverlay, className, title, text, iconSrc, iconAlt, iconProps, buttons, lockScroll, container, modal, overlayClassName, size, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
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;
|
|
341
342
|
declare namespace Modal {
|
|
342
343
|
var displayName: string;
|
|
343
344
|
}
|
|
@@ -682,22 +683,16 @@ interface HelpTooltipProps {
|
|
|
682
683
|
}
|
|
683
684
|
declare function HelpTooltip({ content, side, variant, onClick, className, contentClassName, size, label, triggerAs, }: HelpTooltipProps): react_jsx_runtime.JSX.Element;
|
|
684
685
|
|
|
685
|
-
type
|
|
686
|
+
type IconName = 'shield-star' | 'circled-home' | 'house-i' | 'calendar-days-in' | 'shield-star-in' | 'chart-no-axes-combined-in' | 'chart-no-axes-combined' | 'chart-no-axes-combined-out' | 'shield-star-out' | 'whatsapp' | 'sms' | 'meta' | 'instagram' | 'x' | 'facebook' | 'linkedin' | 'host' | 'notfound-icon' | 'warning-icon' | 'sign-finger' | 'floppy-round' | 'flag-es' | 'flag-fr' | 'flag-it' | 'flag-pt' | 'flag-uk';
|
|
687
|
+
declare const icons: Record<IconName, ComponentType<SVGProps<SVGSVGElement>>>;
|
|
686
688
|
|
|
687
689
|
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
688
|
-
name:
|
|
690
|
+
name: IconName;
|
|
689
691
|
size?: number | string;
|
|
690
|
-
color?: string;
|
|
691
692
|
className?: string;
|
|
692
693
|
fallback?: ReactNode;
|
|
693
694
|
}
|
|
694
695
|
declare const Icon: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<SVGSVGElement>>>;
|
|
695
|
-
declare class IconRegistry {
|
|
696
|
-
private static cache;
|
|
697
|
-
static load(name: string): Promise<FC<SVGProps<SVGSVGElement>>>;
|
|
698
|
-
static preload(names: string[]): Promise<void[]>;
|
|
699
|
-
}
|
|
700
|
-
declare const RegistryIcon: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<SVGSVGElement>>>;
|
|
701
696
|
|
|
702
697
|
declare const iconButtonVariants: (props?: ({
|
|
703
698
|
size?: "s" | "m" | "l" | null | undefined;
|
|
@@ -3140,4 +3135,4 @@ declare function toastResponseError(error: unknown, options?: CustomToastOptions
|
|
|
3140
3135
|
|
|
3141
3136
|
declare function getErrorMessage(error?: any): any;
|
|
3142
3137
|
|
|
3143
|
-
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, ConfirmDeletionModal, type ConfirmDeletionModalProps, 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, Icon, IconButton, type IconButtonProps, type IconEntry, type
|
|
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, ConfirmDeletionModal, type ConfirmDeletionModalProps, 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, Icon, IconButton, type IconButtonProps, type IconEntry, type IconName, type IconProps, 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, 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, YouHaveMadeChangesModal, type YouHaveMadeChangesModalProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, copyToClipboard, emptyMediaVariants, getErrorMessage, getScrollableAreaState, getSidebarState, icons, 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, ImgHTMLAttributes, ComponentProps, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, MouseEvent,
|
|
2
|
+
import React__default, { ReactNode, ElementType, ImgHTMLAttributes, ComponentProps, HTMLAttributes, InputHTMLAttributes, PropsWithChildren, MouseEvent, ComponentType, SVGProps, 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';
|
|
@@ -311,6 +311,7 @@ type Text = {
|
|
|
311
311
|
text?: string | ReactNode;
|
|
312
312
|
};
|
|
313
313
|
type Icon$1 = {
|
|
314
|
+
icon?: ReactNode;
|
|
314
315
|
iconSrc?: string;
|
|
315
316
|
iconAlt?: string;
|
|
316
317
|
iconProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
@@ -337,7 +338,7 @@ type ModalProps = {
|
|
|
337
338
|
overlayClassName?: string;
|
|
338
339
|
size?: ModalSize;
|
|
339
340
|
} & Close & Text & Icon$1 & Buttons;
|
|
340
|
-
declare function Modal({ open, onOpenChange, onClose, children, withCloseButton, closeOnDocumentClick, closeOnEscape, scrollableOverlay, className, title, text, iconSrc, iconAlt, iconProps, buttons, lockScroll, container, modal, overlayClassName, size, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
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;
|
|
341
342
|
declare namespace Modal {
|
|
342
343
|
var displayName: string;
|
|
343
344
|
}
|
|
@@ -682,22 +683,16 @@ interface HelpTooltipProps {
|
|
|
682
683
|
}
|
|
683
684
|
declare function HelpTooltip({ content, side, variant, onClick, className, contentClassName, size, label, triggerAs, }: HelpTooltipProps): react_jsx_runtime.JSX.Element;
|
|
684
685
|
|
|
685
|
-
type
|
|
686
|
+
type IconName = 'shield-star' | 'circled-home' | 'house-i' | 'calendar-days-in' | 'shield-star-in' | 'chart-no-axes-combined-in' | 'chart-no-axes-combined' | 'chart-no-axes-combined-out' | 'shield-star-out' | 'whatsapp' | 'sms' | 'meta' | 'instagram' | 'x' | 'facebook' | 'linkedin' | 'host' | 'notfound-icon' | 'warning-icon' | 'sign-finger' | 'floppy-round' | 'flag-es' | 'flag-fr' | 'flag-it' | 'flag-pt' | 'flag-uk';
|
|
687
|
+
declare const icons: Record<IconName, ComponentType<SVGProps<SVGSVGElement>>>;
|
|
686
688
|
|
|
687
689
|
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
688
|
-
name:
|
|
690
|
+
name: IconName;
|
|
689
691
|
size?: number | string;
|
|
690
|
-
color?: string;
|
|
691
692
|
className?: string;
|
|
692
693
|
fallback?: ReactNode;
|
|
693
694
|
}
|
|
694
695
|
declare const Icon: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<SVGSVGElement>>>;
|
|
695
|
-
declare class IconRegistry {
|
|
696
|
-
private static cache;
|
|
697
|
-
static load(name: string): Promise<FC<SVGProps<SVGSVGElement>>>;
|
|
698
|
-
static preload(names: string[]): Promise<void[]>;
|
|
699
|
-
}
|
|
700
|
-
declare const RegistryIcon: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<SVGSVGElement>>>;
|
|
701
696
|
|
|
702
697
|
declare const iconButtonVariants: (props?: ({
|
|
703
698
|
size?: "s" | "m" | "l" | null | undefined;
|
|
@@ -3140,4 +3135,4 @@ declare function toastResponseError(error: unknown, options?: CustomToastOptions
|
|
|
3140
3135
|
|
|
3141
3136
|
declare function getErrorMessage(error?: any): any;
|
|
3142
3137
|
|
|
3143
|
-
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, ConfirmDeletionModal, type ConfirmDeletionModalProps, 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, Icon, IconButton, type IconButtonProps, type IconEntry, type
|
|
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, ConfirmDeletionModal, type ConfirmDeletionModalProps, 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, Icon, IconButton, type IconButtonProps, type IconEntry, type IconName, type IconProps, 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, 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, YouHaveMadeChangesModal, type YouHaveMadeChangesModalProps, addSupportEmailToMessage, badgeVariants, bookmarkTabsListVariants, bookmarkTabsTriggerVariants, buttonGroupVariants, buttonVariants, calendarClassNames, cn, copyToClipboard, emptyMediaVariants, getErrorMessage, getScrollableAreaState, getSidebarState, icons, 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 };
|