@medway-ui/core 1.21.9 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -305,15 +305,17 @@ interface CardModuleLabelProps extends ComponentProps<"div"> {
305
305
  type CardModuleProps = (ComponentProps<"div"> & {
306
306
  variant?: "default";
307
307
  availableDate?: never;
308
+ showStack?: boolean;
308
309
  }) | (ComponentProps<"div"> & {
309
310
  variant: "blocked";
310
311
  availableDate: string;
312
+ showStack?: boolean;
311
313
  });
312
314
  declare const cardModuleVariants: (props?: ({
313
315
  variant?: "default" | "blocked" | null | undefined;
314
316
  } & class_variance_authority_types.ClassProp) | undefined) => string;
315
317
  declare const cardModuleStatusVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
316
- declare function CardModule({ className, variant, availableDate, ...props }: CardModuleProps): react_jsx_runtime.JSX.Element;
318
+ declare function CardModule({ className, variant, availableDate, showStack, children, ...props }: CardModuleProps): react_jsx_runtime.JSX.Element;
317
319
  declare function CardModuleHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
318
320
  declare function CardModuleLabel({ className, children, count, ...props }: CardModuleLabelProps): react_jsx_runtime.JSX.Element;
319
321
  declare function CardModuleTitle({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -386,17 +388,21 @@ type CardLessonOrientation = "vertical" | "horizontal";
386
388
  type CardLessonStatusType = "completed" | "started";
387
389
  type CardLessonProps = (ComponentProps<"div"> & {
388
390
  variant?: "default";
389
- availableDate?: never;
390
391
  orientation?: CardLessonOrientation;
392
+ availableDate?: never;
391
393
  }) | (ComponentProps<"div"> & {
392
394
  variant: "blocked";
393
- availableDate: string;
394
395
  orientation?: CardLessonOrientation;
396
+ availableDate: string;
395
397
  });
396
398
  interface CardLessonImageProps extends ComponentProps<"div"> {
397
399
  src?: string;
398
400
  alt?: string;
399
401
  }
402
+ interface CardLessonIconProps extends ComponentProps<"div"> {
403
+ icon: ReactNode;
404
+ badge?: number | string;
405
+ }
400
406
  interface CardLessonStatusProps extends Omit<ComponentProps<typeof Tag>, "variant" | "icon"> {
401
407
  status: CardLessonStatusType;
402
408
  }
@@ -404,13 +410,15 @@ declare const cardLessonVariants: (props?: ({
404
410
  variant?: "default" | "blocked" | null | undefined;
405
411
  orientation?: "horizontal" | "vertical" | null | undefined;
406
412
  } & class_variance_authority_types.ClassProp) | undefined) => string;
407
- declare function CardLesson({ className, variant, availableDate, orientation, children, ...props }: CardLessonProps): react_jsx_runtime.JSX.Element;
413
+ declare function CardLesson({ className, variant, orientation, availableDate, children, ...props }: CardLessonProps): react_jsx_runtime.JSX.Element;
408
414
  declare function CardLessonImage({ className, src, alt, children, ...props }: CardLessonImageProps): react_jsx_runtime.JSX.Element;
409
415
  declare function CardLessonContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
410
416
  declare function CardLessonHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
411
417
  declare function CardLessonLabel({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
412
418
  declare function CardLessonTitle({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
413
419
  declare function CardLessonDuration({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
420
+ declare function CardLessonIcons({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
421
+ declare function CardLessonIcon({ className, icon, badge, ...props }: CardLessonIconProps): react_jsx_runtime.JSX.Element;
414
422
  declare function CardLessonFooter({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
415
423
  declare function CardLessonStatus({ className, status, ...props }: CardLessonStatusProps): react_jsx_runtime.JSX.Element;
416
424
  declare function CardLessonButton({ className, children, containerClassName, ...props }: ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
@@ -578,6 +586,11 @@ declare const labelVariants: (props?: ({
578
586
  } & class_variance_authority_types.ClassProp) | undefined) => string;
579
587
  declare function Label({ className, variant, size, block, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
580
588
 
589
+ interface FallbackImageProps extends ComponentProps<"svg"> {
590
+ label?: string;
591
+ }
592
+ declare function FallbackImage({ className, label, ...props }: FallbackImageProps): react_jsx_runtime.JSX.Element;
593
+
581
594
  interface LoadingProps {
582
595
  size?: number;
583
596
  className?: string;
@@ -1050,4 +1063,4 @@ declare function useToast(): {
1050
1063
 
1051
1064
  declare function useIsMobile(): boolean;
1052
1065
 
1053
- export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, type AlertDialogIconProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTag, type AlertDialogTagProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogVariant, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardContinue, CardContinueBreadcrumb, type CardContinueBreadcrumbProps, CardContinueButton, CardContinueContent, CardContinueHeader, CardContinueImage, type CardContinueImageProps, CardContinueTitle, CardLesson, CardLessonButton, CardLessonContent, CardLessonDuration, CardLessonFooter, CardLessonHeader, CardLessonImage, type CardLessonImageProps, CardLessonLabel, type CardLessonOrientation, type CardLessonProps, CardLessonStatus, type CardLessonStatusProps, type CardLessonStatusType, CardLessonTitle, type CardLessonVariant, CardModule, CardModuleAction, CardModuleButton, CardModuleFooter, CardModuleHeader, CardModuleLabel, type CardModuleLabelProps, CardModuleProgress, type CardModuleProgressProps, type CardModuleProps, CardModuleTitle, type CardModuleVariant, CardNews, CardNewsAuthor, type CardNewsAuthorProps, CardNewsBody, CardNewsContent, CardNewsDate, type CardNewsDateProps, CardNewsDescription, CardNewsFooter, CardNewsHeader, CardNewsImage, type CardNewsImageProps, type CardNewsProps, CardNewsTags, CardNewsTitle, CardTopic, CardTopicColumn, CardTopicContent, CardTopicCount, CardTopicNumber, CardTopicProgress, type CardTopicProgressProps, type CardTopicProps, CardTopicTitle, CardTopicTrigger, type CardTopicVariant, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, cardLessonVariants, cardModuleStatusVariants, cardModuleVariants, checkboxVariants, datePickerTriggerVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useToast };
1066
+ export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, type AlertDialogIconProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTag, type AlertDialogTagProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogVariant, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardContinue, CardContinueBreadcrumb, type CardContinueBreadcrumbProps, CardContinueButton, CardContinueContent, CardContinueHeader, CardContinueImage, type CardContinueImageProps, CardContinueTitle, CardLesson, CardLessonButton, CardLessonContent, CardLessonDuration, CardLessonFooter, CardLessonHeader, CardLessonIcon, type CardLessonIconProps, CardLessonIcons, CardLessonImage, type CardLessonImageProps, CardLessonLabel, type CardLessonOrientation, type CardLessonProps, CardLessonStatus, type CardLessonStatusProps, type CardLessonStatusType, CardLessonTitle, type CardLessonVariant, CardModule, CardModuleAction, CardModuleButton, CardModuleFooter, CardModuleHeader, CardModuleLabel, type CardModuleLabelProps, CardModuleProgress, type CardModuleProgressProps, type CardModuleProps, CardModuleTitle, type CardModuleVariant, CardNews, CardNewsAuthor, type CardNewsAuthorProps, CardNewsBody, CardNewsContent, CardNewsDate, type CardNewsDateProps, CardNewsDescription, CardNewsFooter, CardNewsHeader, CardNewsImage, type CardNewsImageProps, type CardNewsProps, CardNewsTags, CardNewsTitle, CardTopic, CardTopicColumn, CardTopicContent, CardTopicCount, CardTopicNumber, CardTopicProgress, type CardTopicProgressProps, type CardTopicProps, CardTopicTitle, CardTopicTrigger, type CardTopicVariant, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FallbackImage, type FallbackImageProps, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, cardLessonVariants, cardModuleStatusVariants, cardModuleVariants, checkboxVariants, datePickerTriggerVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useToast };
package/dist/index.d.ts CHANGED
@@ -305,15 +305,17 @@ interface CardModuleLabelProps extends ComponentProps<"div"> {
305
305
  type CardModuleProps = (ComponentProps<"div"> & {
306
306
  variant?: "default";
307
307
  availableDate?: never;
308
+ showStack?: boolean;
308
309
  }) | (ComponentProps<"div"> & {
309
310
  variant: "blocked";
310
311
  availableDate: string;
312
+ showStack?: boolean;
311
313
  });
312
314
  declare const cardModuleVariants: (props?: ({
313
315
  variant?: "default" | "blocked" | null | undefined;
314
316
  } & class_variance_authority_types.ClassProp) | undefined) => string;
315
317
  declare const cardModuleStatusVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
316
- declare function CardModule({ className, variant, availableDate, ...props }: CardModuleProps): react_jsx_runtime.JSX.Element;
318
+ declare function CardModule({ className, variant, availableDate, showStack, children, ...props }: CardModuleProps): react_jsx_runtime.JSX.Element;
317
319
  declare function CardModuleHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
318
320
  declare function CardModuleLabel({ className, children, count, ...props }: CardModuleLabelProps): react_jsx_runtime.JSX.Element;
319
321
  declare function CardModuleTitle({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -386,17 +388,21 @@ type CardLessonOrientation = "vertical" | "horizontal";
386
388
  type CardLessonStatusType = "completed" | "started";
387
389
  type CardLessonProps = (ComponentProps<"div"> & {
388
390
  variant?: "default";
389
- availableDate?: never;
390
391
  orientation?: CardLessonOrientation;
392
+ availableDate?: never;
391
393
  }) | (ComponentProps<"div"> & {
392
394
  variant: "blocked";
393
- availableDate: string;
394
395
  orientation?: CardLessonOrientation;
396
+ availableDate: string;
395
397
  });
396
398
  interface CardLessonImageProps extends ComponentProps<"div"> {
397
399
  src?: string;
398
400
  alt?: string;
399
401
  }
402
+ interface CardLessonIconProps extends ComponentProps<"div"> {
403
+ icon: ReactNode;
404
+ badge?: number | string;
405
+ }
400
406
  interface CardLessonStatusProps extends Omit<ComponentProps<typeof Tag>, "variant" | "icon"> {
401
407
  status: CardLessonStatusType;
402
408
  }
@@ -404,13 +410,15 @@ declare const cardLessonVariants: (props?: ({
404
410
  variant?: "default" | "blocked" | null | undefined;
405
411
  orientation?: "horizontal" | "vertical" | null | undefined;
406
412
  } & class_variance_authority_types.ClassProp) | undefined) => string;
407
- declare function CardLesson({ className, variant, availableDate, orientation, children, ...props }: CardLessonProps): react_jsx_runtime.JSX.Element;
413
+ declare function CardLesson({ className, variant, orientation, availableDate, children, ...props }: CardLessonProps): react_jsx_runtime.JSX.Element;
408
414
  declare function CardLessonImage({ className, src, alt, children, ...props }: CardLessonImageProps): react_jsx_runtime.JSX.Element;
409
415
  declare function CardLessonContent({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
410
416
  declare function CardLessonHeader({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
411
417
  declare function CardLessonLabel({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
412
418
  declare function CardLessonTitle({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
413
419
  declare function CardLessonDuration({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
420
+ declare function CardLessonIcons({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
421
+ declare function CardLessonIcon({ className, icon, badge, ...props }: CardLessonIconProps): react_jsx_runtime.JSX.Element;
414
422
  declare function CardLessonFooter({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
415
423
  declare function CardLessonStatus({ className, status, ...props }: CardLessonStatusProps): react_jsx_runtime.JSX.Element;
416
424
  declare function CardLessonButton({ className, children, containerClassName, ...props }: ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
@@ -578,6 +586,11 @@ declare const labelVariants: (props?: ({
578
586
  } & class_variance_authority_types.ClassProp) | undefined) => string;
579
587
  declare function Label({ className, variant, size, block, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
580
588
 
589
+ interface FallbackImageProps extends ComponentProps<"svg"> {
590
+ label?: string;
591
+ }
592
+ declare function FallbackImage({ className, label, ...props }: FallbackImageProps): react_jsx_runtime.JSX.Element;
593
+
581
594
  interface LoadingProps {
582
595
  size?: number;
583
596
  className?: string;
@@ -1050,4 +1063,4 @@ declare function useToast(): {
1050
1063
 
1051
1064
  declare function useIsMobile(): boolean;
1052
1065
 
1053
- export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, type AlertDialogIconProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTag, type AlertDialogTagProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogVariant, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardContinue, CardContinueBreadcrumb, type CardContinueBreadcrumbProps, CardContinueButton, CardContinueContent, CardContinueHeader, CardContinueImage, type CardContinueImageProps, CardContinueTitle, CardLesson, CardLessonButton, CardLessonContent, CardLessonDuration, CardLessonFooter, CardLessonHeader, CardLessonImage, type CardLessonImageProps, CardLessonLabel, type CardLessonOrientation, type CardLessonProps, CardLessonStatus, type CardLessonStatusProps, type CardLessonStatusType, CardLessonTitle, type CardLessonVariant, CardModule, CardModuleAction, CardModuleButton, CardModuleFooter, CardModuleHeader, CardModuleLabel, type CardModuleLabelProps, CardModuleProgress, type CardModuleProgressProps, type CardModuleProps, CardModuleTitle, type CardModuleVariant, CardNews, CardNewsAuthor, type CardNewsAuthorProps, CardNewsBody, CardNewsContent, CardNewsDate, type CardNewsDateProps, CardNewsDescription, CardNewsFooter, CardNewsHeader, CardNewsImage, type CardNewsImageProps, type CardNewsProps, CardNewsTags, CardNewsTitle, CardTopic, CardTopicColumn, CardTopicContent, CardTopicCount, CardTopicNumber, CardTopicProgress, type CardTopicProgressProps, type CardTopicProps, CardTopicTitle, CardTopicTrigger, type CardTopicVariant, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, cardLessonVariants, cardModuleStatusVariants, cardModuleVariants, checkboxVariants, datePickerTriggerVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useToast };
1066
+ export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, type AlertDialogIconProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTag, type AlertDialogTagProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogVariant, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardContinue, CardContinueBreadcrumb, type CardContinueBreadcrumbProps, CardContinueButton, CardContinueContent, CardContinueHeader, CardContinueImage, type CardContinueImageProps, CardContinueTitle, CardLesson, CardLessonButton, CardLessonContent, CardLessonDuration, CardLessonFooter, CardLessonHeader, CardLessonIcon, type CardLessonIconProps, CardLessonIcons, CardLessonImage, type CardLessonImageProps, CardLessonLabel, type CardLessonOrientation, type CardLessonProps, CardLessonStatus, type CardLessonStatusProps, type CardLessonStatusType, CardLessonTitle, type CardLessonVariant, CardModule, CardModuleAction, CardModuleButton, CardModuleFooter, CardModuleHeader, CardModuleLabel, type CardModuleLabelProps, CardModuleProgress, type CardModuleProgressProps, type CardModuleProps, CardModuleTitle, type CardModuleVariant, CardNews, CardNewsAuthor, type CardNewsAuthorProps, CardNewsBody, CardNewsContent, CardNewsDate, type CardNewsDateProps, CardNewsDescription, CardNewsFooter, CardNewsHeader, CardNewsImage, type CardNewsImageProps, type CardNewsProps, CardNewsTags, CardNewsTitle, CardTopic, CardTopicColumn, CardTopicContent, CardTopicCount, CardTopicNumber, CardTopicProgress, type CardTopicProgressProps, type CardTopicProps, CardTopicTitle, CardTopicTrigger, type CardTopicVariant, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FallbackImage, type FallbackImageProps, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, cardLessonVariants, cardModuleStatusVariants, cardModuleVariants, checkboxVariants, datePickerTriggerVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useToast };