@medway-ui/core 1.7.8 → 1.7.9

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
@@ -113,8 +113,9 @@ interface CardWeekBreadcrumbProps extends React.ComponentProps<"div"> {
113
113
  tag?: string;
114
114
  tagIcon?: React.ReactElement;
115
115
  }
116
- type CardWeekStatusProps = React.ComponentProps<"div">;
117
- type CardWeekStatusTimeProps = React.ComponentProps<"div">;
116
+ interface CardWeekTextProps extends React.ComponentProps<"div"> {
117
+ isTime?: boolean;
118
+ }
118
119
  declare function CardWeek({ className, done, postponed, skipped, ...props }: CardWeekProps): react_jsx_runtime.JSX.Element;
119
120
  declare function CardWeekBreadcrumb({ className, children, tag, tagIcon, ...props }: CardWeekBreadcrumbProps): react_jsx_runtime.JSX.Element;
120
121
  declare function CardWeekContainer({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -122,12 +123,12 @@ declare function CardWeekHeader({ className, ...props }: React.ComponentProps<"d
122
123
  declare function CardWeekTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
123
124
  declare function CardWeekDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
124
125
  declare function CardWeekTags({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
125
- declare function CardWeekContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
126
126
  declare function CardWeekProgressCircle({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
127
127
  declare function CardWeekProgress({ className, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
128
128
  declare function CardWeekFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
129
- declare function CardWeekStatus({ className, children, ...props }: CardWeekStatusProps): react_jsx_runtime.JSX.Element;
130
- declare function CardWeekStatusTime({ className, children, ...props }: CardWeekStatusTimeProps): react_jsx_runtime.JSX.Element;
129
+ declare function CardWeekContent({ className, children, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
130
+ declare function CardWeekText({ className, children, isTime, ...props }: CardWeekTextProps): react_jsx_runtime.JSX.Element;
131
+ declare function CardWeekStatus({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
131
132
  declare function CardWeekActions({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
132
133
 
133
134
  type AnimationType = "accordion" | "fade";
@@ -518,4 +519,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
518
519
 
519
520
  declare function useIsMobile(): boolean;
520
521
 
521
- export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CardWeek, CardWeekActions, CardWeekBreadcrumb, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, CardWeekStatus, CardWeekStatusTime, CardWeekTags, CardWeekTitle, Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Loading, Logo, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, Progress, ProgressCircle, Ranking, RankingAssigneeGroup, RankingAssigneeItem, RankingAssigneeLabel, RankingAssigneesColumn, RankingButton, RankingItem, RankingNumber, RankingPercentage, RankingPriority, RankingSpecialty, RankingSuperFocus, RankingTopic, RankingTopicColumn, RankingTopicContent, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, SegmentControlTrigger, Separator, Sheet, 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, Switcher, SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tabsListVariants, tabsTriggerVariants, tagVariants, useIsMobile, useSidebar, useTabsContext };
522
+ export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CardWeek, CardWeekActions, CardWeekBreadcrumb, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, CardWeekStatus, CardWeekTags, CardWeekText, CardWeekTitle, Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Loading, Logo, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, Progress, ProgressCircle, Ranking, RankingAssigneeGroup, RankingAssigneeItem, RankingAssigneeLabel, RankingAssigneesColumn, RankingButton, RankingItem, RankingNumber, RankingPercentage, RankingPriority, RankingSpecialty, RankingSuperFocus, RankingTopic, RankingTopicColumn, RankingTopicContent, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, SegmentControlTrigger, Separator, Sheet, 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, Switcher, SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tabsListVariants, tabsTriggerVariants, tagVariants, useIsMobile, useSidebar, useTabsContext };
package/dist/index.d.ts CHANGED
@@ -113,8 +113,9 @@ interface CardWeekBreadcrumbProps extends React.ComponentProps<"div"> {
113
113
  tag?: string;
114
114
  tagIcon?: React.ReactElement;
115
115
  }
116
- type CardWeekStatusProps = React.ComponentProps<"div">;
117
- type CardWeekStatusTimeProps = React.ComponentProps<"div">;
116
+ interface CardWeekTextProps extends React.ComponentProps<"div"> {
117
+ isTime?: boolean;
118
+ }
118
119
  declare function CardWeek({ className, done, postponed, skipped, ...props }: CardWeekProps): react_jsx_runtime.JSX.Element;
119
120
  declare function CardWeekBreadcrumb({ className, children, tag, tagIcon, ...props }: CardWeekBreadcrumbProps): react_jsx_runtime.JSX.Element;
120
121
  declare function CardWeekContainer({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -122,12 +123,12 @@ declare function CardWeekHeader({ className, ...props }: React.ComponentProps<"d
122
123
  declare function CardWeekTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
123
124
  declare function CardWeekDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
124
125
  declare function CardWeekTags({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
125
- declare function CardWeekContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
126
126
  declare function CardWeekProgressCircle({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
127
127
  declare function CardWeekProgress({ className, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
128
128
  declare function CardWeekFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
129
- declare function CardWeekStatus({ className, children, ...props }: CardWeekStatusProps): react_jsx_runtime.JSX.Element;
130
- declare function CardWeekStatusTime({ className, children, ...props }: CardWeekStatusTimeProps): react_jsx_runtime.JSX.Element;
129
+ declare function CardWeekContent({ className, children, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
130
+ declare function CardWeekText({ className, children, isTime, ...props }: CardWeekTextProps): react_jsx_runtime.JSX.Element;
131
+ declare function CardWeekStatus({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element | null;
131
132
  declare function CardWeekActions({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
132
133
 
133
134
  type AnimationType = "accordion" | "fade";
@@ -518,4 +519,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
518
519
 
519
520
  declare function useIsMobile(): boolean;
520
521
 
521
- export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CardWeek, CardWeekActions, CardWeekBreadcrumb, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, CardWeekStatus, CardWeekStatusTime, CardWeekTags, CardWeekTitle, Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Loading, Logo, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, Progress, ProgressCircle, Ranking, RankingAssigneeGroup, RankingAssigneeItem, RankingAssigneeLabel, RankingAssigneesColumn, RankingButton, RankingItem, RankingNumber, RankingPercentage, RankingPriority, RankingSpecialty, RankingSuperFocus, RankingTopic, RankingTopicColumn, RankingTopicContent, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, SegmentControlTrigger, Separator, Sheet, 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, Switcher, SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tabsListVariants, tabsTriggerVariants, tagVariants, useIsMobile, useSidebar, useTabsContext };
522
+ export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, CardWeek, CardWeekActions, CardWeekBreadcrumb, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, CardWeekStatus, CardWeekTags, CardWeekText, CardWeekTitle, Collapsible, CollapsibleContent, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Loading, Logo, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationRoot, Progress, ProgressCircle, Ranking, RankingAssigneeGroup, RankingAssigneeItem, RankingAssigneeLabel, RankingAssigneesColumn, RankingButton, RankingItem, RankingNumber, RankingPercentage, RankingPriority, RankingSpecialty, RankingSuperFocus, RankingTopic, RankingTopicColumn, RankingTopicContent, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, SegmentControlTrigger, Separator, Sheet, 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, Switcher, SwitcherContent, SwitcherFooter, SwitcherGroup, SwitcherItem, SwitcherSeparator, SwitcherTrigger, Tabs, TabsContent, TabsList, TabsTrigger, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tabsListVariants, tabsTriggerVariants, tagVariants, useIsMobile, useSidebar, useTabsContext };