@medway-ui/core 1.7.7 → 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";
@@ -280,6 +281,7 @@ interface RankingAssigneeItemProps extends React.ComponentProps<typeof Avatar> {
280
281
  }
281
282
  interface RankingPriorityProps extends React.HTMLAttributes<HTMLTableCellElement> {
282
283
  children: React.ReactNode;
284
+ icon?: React.ReactElement;
283
285
  }
284
286
  interface RankingPercentageProps extends React.HTMLAttributes<HTMLTableCellElement> {
285
287
  value: number;
@@ -299,7 +301,7 @@ declare function RankingAssigneesColumn({ children, className, ...props }: Ranki
299
301
  declare function RankingAssigneeLabel({ children, className, ...props }: RankingAssigneeLabelProps): react_jsx_runtime.JSX.Element;
300
302
  declare function RankingAssigneeGroup({ children, className, ...props }: RankingAssigneeGroupProps): react_jsx_runtime.JSX.Element;
301
303
  declare function RankingAssigneeItem({ src, alt, fallback, className, ...props }: RankingAssigneeItemProps): react_jsx_runtime.JSX.Element;
302
- declare function RankingPriority({ children, className, ...props }: RankingPriorityProps): react_jsx_runtime.JSX.Element;
304
+ declare function RankingPriority({ children, className, icon, ...props }: RankingPriorityProps): react_jsx_runtime.JSX.Element;
303
305
  declare function RankingPercentage({ value, className, ...props }: RankingPercentageProps): react_jsx_runtime.JSX.Element;
304
306
  declare function RankingButton({ children, className, onClick, ...props }: RankingButtonProps): react_jsx_runtime.JSX.Element;
305
307
 
@@ -517,4 +519,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
517
519
 
518
520
  declare function useIsMobile(): boolean;
519
521
 
520
- 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";
@@ -280,6 +281,7 @@ interface RankingAssigneeItemProps extends React.ComponentProps<typeof Avatar> {
280
281
  }
281
282
  interface RankingPriorityProps extends React.HTMLAttributes<HTMLTableCellElement> {
282
283
  children: React.ReactNode;
284
+ icon?: React.ReactElement;
283
285
  }
284
286
  interface RankingPercentageProps extends React.HTMLAttributes<HTMLTableCellElement> {
285
287
  value: number;
@@ -299,7 +301,7 @@ declare function RankingAssigneesColumn({ children, className, ...props }: Ranki
299
301
  declare function RankingAssigneeLabel({ children, className, ...props }: RankingAssigneeLabelProps): react_jsx_runtime.JSX.Element;
300
302
  declare function RankingAssigneeGroup({ children, className, ...props }: RankingAssigneeGroupProps): react_jsx_runtime.JSX.Element;
301
303
  declare function RankingAssigneeItem({ src, alt, fallback, className, ...props }: RankingAssigneeItemProps): react_jsx_runtime.JSX.Element;
302
- declare function RankingPriority({ children, className, ...props }: RankingPriorityProps): react_jsx_runtime.JSX.Element;
304
+ declare function RankingPriority({ children, className, icon, ...props }: RankingPriorityProps): react_jsx_runtime.JSX.Element;
303
305
  declare function RankingPercentage({ value, className, ...props }: RankingPercentageProps): react_jsx_runtime.JSX.Element;
304
306
  declare function RankingButton({ children, className, onClick, ...props }: RankingButtonProps): react_jsx_runtime.JSX.Element;
305
307
 
@@ -517,4 +519,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
517
519
 
518
520
  declare function useIsMobile(): boolean;
519
521
 
520
- 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 };