@cleen/ui 0.1.78 → 0.1.79
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.ts +44 -22
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1667,41 +1667,23 @@ type DropdownProps = Omit<ComponentProps<'div'>, 'title'> & {
|
|
|
1667
1667
|
*/
|
|
1668
1668
|
declare const Dropdown: react.ForwardRefExoticComponent<Omit<DropdownProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1669
1669
|
|
|
1670
|
-
type
|
|
1671
|
-
label?: ReactNode;
|
|
1670
|
+
type DatePickerProps = CalendarProps & {
|
|
1672
1671
|
placeholder?: ReactNode;
|
|
1673
|
-
min?: Date | 'today';
|
|
1674
|
-
max?: Date | 'today';
|
|
1675
|
-
infoLabels?: InfoLabelsProps;
|
|
1676
1672
|
leftIcon?: ReactNode;
|
|
1677
1673
|
rightIcon?: ReactNode;
|
|
1678
1674
|
classNames?: {
|
|
1679
1675
|
label?: string;
|
|
1680
1676
|
dropdown?: ComponentClassnames<DropdownProps>;
|
|
1681
1677
|
card?: ComponentClassnames<CardProps>;
|
|
1682
|
-
|
|
1678
|
+
calendar?: ComponentClassnames<CalendarProps>;
|
|
1683
1679
|
};
|
|
1684
1680
|
styles?: {
|
|
1685
1681
|
label?: CSSProperties;
|
|
1686
1682
|
dropdown?: ComponentStyles<DropdownProps>;
|
|
1687
1683
|
card?: ComponentStyles<CardProps>;
|
|
1688
|
-
|
|
1684
|
+
calendar?: ComponentStyles<CalendarProps>;
|
|
1689
1685
|
};
|
|
1690
1686
|
};
|
|
1691
|
-
type DatePickerSingleProps = DatePickerBase & {
|
|
1692
|
-
mode?: 'single';
|
|
1693
|
-
selected?: Date;
|
|
1694
|
-
onSelect?: (value?: Date) => void;
|
|
1695
|
-
};
|
|
1696
|
-
type DatePickerRangeProps = DatePickerBase & {
|
|
1697
|
-
mode?: 'range';
|
|
1698
|
-
selected?: DateRange;
|
|
1699
|
-
onSelect?: (value?: DateRange) => void;
|
|
1700
|
-
};
|
|
1701
|
-
type DatePickerProps = (DatePickerSingleProps | DatePickerRangeProps) & {
|
|
1702
|
-
disabled?: boolean;
|
|
1703
|
-
disabledDates?: Matcher | Matcher[];
|
|
1704
|
-
};
|
|
1705
1687
|
|
|
1706
1688
|
/**
|
|
1707
1689
|
* The `DatePicker` component is a controlled or uncontrolled date selection interface that combines a dropdown trigger with a calendar picker. It supports both single date and date range selection modes with customizable label, optional styling, and class name support for both the wrapper and internal DayPicker component.
|
|
@@ -3288,4 +3270,44 @@ type TabsProps = ComponentProps<'div'> & {
|
|
|
3288
3270
|
*/
|
|
3289
3271
|
declare const Tabs: react.ForwardRefExoticComponent<Omit<TabsProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
3290
3272
|
|
|
3291
|
-
|
|
3273
|
+
type CalendarBase = Omit<DayPickerProps, 'classNames' | 'styles' | 'mode' | 'disabled'> & {
|
|
3274
|
+
label?: ReactNode;
|
|
3275
|
+
withTodayButton?: boolean;
|
|
3276
|
+
withDateInput?: boolean;
|
|
3277
|
+
min?: Date | 'today';
|
|
3278
|
+
max?: Date | 'today';
|
|
3279
|
+
infoLabels?: InfoLabelsProps;
|
|
3280
|
+
labels?: {
|
|
3281
|
+
inputPlaceholder?: string;
|
|
3282
|
+
today?: ReactNode;
|
|
3283
|
+
};
|
|
3284
|
+
classNames?: {
|
|
3285
|
+
label?: string;
|
|
3286
|
+
calendar?: ComponentClassnames<DayPickerProps>;
|
|
3287
|
+
};
|
|
3288
|
+
styles?: {
|
|
3289
|
+
label?: CSSProperties;
|
|
3290
|
+
calendar?: ComponentStyles<DayPickerProps>;
|
|
3291
|
+
};
|
|
3292
|
+
};
|
|
3293
|
+
type CalendarSingleProps = CalendarBase & {
|
|
3294
|
+
mode?: 'single';
|
|
3295
|
+
selected?: Date;
|
|
3296
|
+
onSelect?: (value?: Date) => void;
|
|
3297
|
+
};
|
|
3298
|
+
type CalendarRangeProps = CalendarBase & {
|
|
3299
|
+
mode?: 'range';
|
|
3300
|
+
selected?: DateRange;
|
|
3301
|
+
onSelect?: (value?: DateRange) => void;
|
|
3302
|
+
};
|
|
3303
|
+
type CalendarProps = (CalendarSingleProps | CalendarRangeProps) & {
|
|
3304
|
+
disabled?: boolean;
|
|
3305
|
+
disabledDates?: Matcher | Matcher[];
|
|
3306
|
+
};
|
|
3307
|
+
|
|
3308
|
+
/**
|
|
3309
|
+
* The `Calendar` component is an inline date selection interface that supports both single date and date range selection modes. It provides customizable labels, optional styling, and class name support for both the wrapper and internal DayPicker component.
|
|
3310
|
+
*/
|
|
3311
|
+
declare const Calendar: react.ForwardRefExoticComponent<CalendarProps & react.RefAttributes<HTMLDivElement>>;
|
|
3312
|
+
|
|
3313
|
+
export { AdvancedProgressBar, type AdvancedProgressBarProps, AudioPlayback, type AudioPlaybackProps, AudioRecorder, type AudioRecorderProps, Avatar, type AvatarProps, AvatarRow, type AvatarRowProps, Breadcrumb, type BreadcrumbProps, Button, type ButtonProps, type ButtonVariant, Calendar, type CalendarProps, CanvasButton, Card, CardIcon, type CardIconProps, CardMedia, type CardMediaProps, type Media as CardMediaType, type CardProps, Carousel, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CleenIcon, CleenNotificationContainer, Collapsible, type CollapsibleProps, type CollapsibleSection, CreditCardInput, type CreditCardInputProps, DatePicker, type DatePickerProps, Divider, type DividerProps, Drawer, type DrawerConfig, DrawerContainer, type DrawerContainerProps, DrawerContentTitle, type DrawerContentTitleProps, type DrawerProps, DropZone, type DropZoneProps, Dropdown, type DropdownProps, EditableCard, type EditableCardField, type EditableCardProps, EditableText, EditableTextArea, type EditableTextAreaProps, type EditableTextAreaRef, type EditableTextProps, type EditableTextRef, FilterDrawer, type FilterDrawerFilterCategories, type FilterDrawerNewFilter, type FilterDrawerProps, type FilterDrawerSavedFilter, FormGroup, type FormGroupProps, GroupSelector, type GroupSelectorProps, type GroupSelectorSaveResult, type GroupSelectorThreeDotOption, IconAlertCircle, IconAlertFeatured, IconAlertOctagon, IconAlertTriangle, IconAlignRight, IconArrowDown, IconArrowLeft, IconArrowLeft2, IconArrowRight, IconArrowToTop, IconArrowUp, IconArrowUpRight, IconArrowUpRightNarrow, IconArrowUpRightSquare, IconAttachment, IconBarChartSquare, IconBold, IconBookmarkCheck, IconBookmarkCheckFill, IconBookmarkX, IconBoxLines, IconBoxText, IconBracketsCheck, IconBracketsEllipses, IconCalendar, IconCertificateHeart, IconCheck, IconCheckCircle, IconCheckCircleBroken, IconCheckFill, IconCheckVerified, IconChevronDown, IconChevronLeft, IconChevronLeftDouble, IconChevronRight, IconChevronRightDouble, IconChevronSelectorVertical, IconChevronUp, IconCircleSwap, IconClockFastForward, IconClockRewind, IconClockRewind2, IconCodeBrowser, IconCodeCircle, IconColors, IconColumnEdit, IconCopy, IconCopy2, IconCopy3, IconCopy4, IconCopy5, IconCopyCheck, IconCube, IconCubeOutline, IconCursorBox, IconDataflow, IconDataflow2, IconDataflow3, IconDelete, IconDollarCircle, IconDotsGrid, IconDotsHorizontal, IconDotsVertical, IconEdit, IconEditable, IconExpand, IconEye, IconEyeHidden, IconEyeHidden2, IconFaceSmile, IconFilter, IconFilter2, IconFlag, IconFlag2, IconFlag3, IconHandShield, IconHash, IconHeadsetMic, IconHeart, IconHouseLine, IconImage, IconImage2, IconImage3, IconImage4, IconImageCheck, IconInfoCircle, IconInfoHexagon, IconItalic, IconLayersMultiple, IconLayersSingle, IconLayout, IconLayout2, IconLayoutColumns, IconLayoutCustom, IconLayoutSequential, IconLayoutStuffed, IconLayoutTile, IconLifeBuoy, IconLightbulb, IconLightning, IconLightning2, IconLightningFast, IconLineChartBar, IconLineChartBreakoutSquare, IconLineChartUp, IconLineChartUp2, IconLines, IconLinesCheck, IconLinesPlay, IconLink, IconLink2, IconLink3, IconLink4, IconLink5, IconListBullet, IconListOrder, IconListOrder2, IconLock, IconLock2, IconLogIn, IconLogOut, IconLogOut2, IconMagicWand, IconMagicWand2, IconMail, IconMessageSquare, IconMessageSquare2, IconMessageXSquare, IconMinusCircle, IconMobile, IconMonitor, IconMonitor2, IconMonitor3, IconMoonCircle, IconName, IconNavigationPointer, IconNotificationBox, IconPCSetup, IconPalette, IconPasscodeLock, IconPencil, IconPercentageCircle, IconPerspective, IconPhoneCall, IconPin, IconPlayCircle, IconPlus, IconPlusCircle, IconPulse, IconQuestionCircle, IconRadioButton, IconRadioButtonActive, IconReceiptCheck, IconRedo, IconRefresh, IconRefresh2, IconRefresh3, IconRepeat, IconRepeat2, IconRetweet, IconRoundChart, IconRoundChart2, IconRoute, IconSave, IconSave2, IconScanDots, IconSearch, IconSend, IconSettings, IconSettings2, IconSettings3, IconShieldLightning, IconShieldPlus, IconShieldRemove, IconShuffle, IconSlashCircle, IconSlashOctagon, IconSocialGlobe, IconSocialLinkedin, IconSocialX, IconSpeedometer, IconStairsRound, IconStar, IconStarHalf, IconStars, IconStars2, IconStrikethrough, IconSuccessFeatured, IconSun, IconSwitchHorizontal, IconTag, IconTarget, IconTarget2, IconTextFormat, IconTextFormat2, IconTextHighlight, IconTranslate, IconTrash, IconTrending, IconUnderline, IconUndo, IconUndo2, IconUploadCloud, IconUser, IconUserEdit, IconUserRight, IconUserSquare, IconUsers, IconUsersUp, IconVolume, IconWrench, IconX, IconXCircle, IconXCircle2, IconXClose, IconXSquare, InfoLabels, type InfoLabelsProps, Input, type InputProps, Loader, type LoaderProps, Lookup, type LookupOption, type LookupProps, Menu, type MenuProps, Modal, type ModalProps, type NotificationProps, Pagination, PaginationGoToPage, type PaginationGoToPageProps, PaginationPageSize, type PaginationPageSizeProps, type PaginationProps, PillBadge, type PillBadgeProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, RadioBoxGroup, type RadioBoxGroupProps, RadioButtonGroup, type RadioButtonGroupProps, RangeSlider, type RangeSliderProps, Rating, type RatingProps, Select, type SelectProps, Sidebar, SidebarItem, type SidebarItemConfig, type SidebarItemProps, type SidebarProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonBanner, SkeletonButton, SkeletonCard, SkeletonCard2, SkeletonCard3, SkeletonCardStack, SkeletonChart, type SkeletonComponentProps, SkeletonContentCard, SkeletonDataGrid, SkeletonForm, SkeletonGlowingCard, SkeletonImage, SkeletonInfoCard, SkeletonInput, SkeletonList, SkeletonParagraph, type SkeletonProps, type SkeletonRoundness, SkeletonText, type SkeletonType, SkeletonVideo, SkeletonWidgetCard, SkeletonWrapper, Slider, type SliderProps, StarRating, type StarRatingProps, Stepper, type StepperProps, type SubmenuItem, Switch, type SwitchProps, type Tab, Tabs, type TabsProps, TextArea, type TextAreaProps, Tooltip, type TooltipProps, showNotification };
|