@medway-ui/core 1.5.4 → 1.6.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
@@ -184,6 +184,69 @@ declare function PaginationEllipsis({ className, size, ...props }: React.Compone
184
184
  }): react_jsx_runtime.JSX.Element;
185
185
  declare function Pagination({ currentPage, totalPages, maxVisibleItems, onPageChange, itemsPerPage, totalItems, className, responsive, size, }: PaginationProps): react_jsx_runtime.JSX.Element;
186
186
 
187
+ interface RankingProps extends React.TableHTMLAttributes<HTMLTableElement> {
188
+ children?: React.ReactNode;
189
+ }
190
+ interface RankingItemProps extends React.HTMLAttributes<HTMLTableRowElement> {
191
+ children?: React.ReactNode;
192
+ }
193
+ interface RankingNumberProps extends React.HTMLAttributes<HTMLTableCellElement> {
194
+ children: React.ReactNode;
195
+ }
196
+ interface RankingTopicColumnProps extends React.HTMLAttributes<HTMLTableCellElement> {
197
+ children: React.ReactNode;
198
+ }
199
+ interface RankingTopicContentProps extends React.HTMLAttributes<HTMLDivElement> {
200
+ children: React.ReactNode;
201
+ }
202
+ interface RankingSpecialtyProps extends React.HTMLAttributes<HTMLSpanElement> {
203
+ children: React.ReactNode;
204
+ }
205
+ interface RankingTopicProps extends React.HTMLAttributes<HTMLSpanElement> {
206
+ children: React.ReactNode;
207
+ }
208
+ interface RankingSuperFocusProps extends React.HTMLAttributes<HTMLDivElement> {
209
+ children?: React.ReactNode;
210
+ }
211
+ interface RankingAssigneesColumnProps extends React.HTMLAttributes<HTMLTableCellElement> {
212
+ children: React.ReactNode;
213
+ }
214
+ interface RankingAssigneeLabelProps extends React.HTMLAttributes<HTMLParagraphElement> {
215
+ children: React.ReactNode;
216
+ }
217
+ interface RankingAssigneeGroupProps extends React.HTMLAttributes<HTMLDivElement> {
218
+ children: React.ReactNode;
219
+ }
220
+ interface RankingAssigneeItemProps extends React.ComponentProps<typeof Avatar> {
221
+ src?: string;
222
+ alt?: string;
223
+ fallback?: string;
224
+ }
225
+ interface RankingPriorityProps extends React.HTMLAttributes<HTMLTableCellElement> {
226
+ children: React.ReactNode;
227
+ }
228
+ interface RankingPercentageProps extends React.HTMLAttributes<HTMLTableCellElement> {
229
+ value: number;
230
+ }
231
+ interface RankingButtonProps extends Omit<React.ComponentProps<typeof Button>, "iconRight" | "onClick"> {
232
+ onClick?: () => void;
233
+ }
234
+ declare function Ranking({ children, className, ...props }: RankingProps): react_jsx_runtime.JSX.Element;
235
+ declare function RankingItem({ children, className, ...props }: RankingItemProps): react_jsx_runtime.JSX.Element;
236
+ declare function RankingNumber({ children, className, ...props }: RankingNumberProps): react_jsx_runtime.JSX.Element;
237
+ declare function RankingTopicColumn({ children, className, ...props }: RankingTopicColumnProps): react_jsx_runtime.JSX.Element;
238
+ declare function RankingTopicContent({ children, className, ...props }: RankingTopicContentProps): react_jsx_runtime.JSX.Element;
239
+ declare function RankingSpecialty({ children, className, ...props }: RankingSpecialtyProps): react_jsx_runtime.JSX.Element;
240
+ declare function RankingTopic({ children, className, ...props }: RankingTopicProps): react_jsx_runtime.JSX.Element;
241
+ declare function RankingSuperFocus({ children, className, ...props }: RankingSuperFocusProps): react_jsx_runtime.JSX.Element;
242
+ declare function RankingAssigneesColumn({ children, className, ...props }: RankingAssigneesColumnProps): react_jsx_runtime.JSX.Element;
243
+ declare function RankingAssigneeLabel({ children, className, ...props }: RankingAssigneeLabelProps): react_jsx_runtime.JSX.Element;
244
+ declare function RankingAssigneeGroup({ children, className, ...props }: RankingAssigneeGroupProps): react_jsx_runtime.JSX.Element;
245
+ declare function RankingAssigneeItem({ src, alt, fallback, className, ...props }: RankingAssigneeItemProps): react_jsx_runtime.JSX.Element;
246
+ declare function RankingPriority({ children, className, ...props }: RankingPriorityProps): react_jsx_runtime.JSX.Element;
247
+ declare function RankingPercentage({ value, className, ...props }: RankingPercentageProps): react_jsx_runtime.JSX.Element;
248
+ declare function RankingButton({ children, className, onClick, ...props }: RankingButtonProps): react_jsx_runtime.JSX.Element;
249
+
187
250
  declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
188
251
  declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
189
252
 
@@ -370,4 +433,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
370
433
 
371
434
  declare function useIsMobile(): boolean;
372
435
 
373
- export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, 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, 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, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tagVariants, useIsMobile, useSidebar };
436
+ export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, 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, 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, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tagVariants, useIsMobile, useSidebar };
package/dist/index.d.ts CHANGED
@@ -184,6 +184,69 @@ declare function PaginationEllipsis({ className, size, ...props }: React.Compone
184
184
  }): react_jsx_runtime.JSX.Element;
185
185
  declare function Pagination({ currentPage, totalPages, maxVisibleItems, onPageChange, itemsPerPage, totalItems, className, responsive, size, }: PaginationProps): react_jsx_runtime.JSX.Element;
186
186
 
187
+ interface RankingProps extends React.TableHTMLAttributes<HTMLTableElement> {
188
+ children?: React.ReactNode;
189
+ }
190
+ interface RankingItemProps extends React.HTMLAttributes<HTMLTableRowElement> {
191
+ children?: React.ReactNode;
192
+ }
193
+ interface RankingNumberProps extends React.HTMLAttributes<HTMLTableCellElement> {
194
+ children: React.ReactNode;
195
+ }
196
+ interface RankingTopicColumnProps extends React.HTMLAttributes<HTMLTableCellElement> {
197
+ children: React.ReactNode;
198
+ }
199
+ interface RankingTopicContentProps extends React.HTMLAttributes<HTMLDivElement> {
200
+ children: React.ReactNode;
201
+ }
202
+ interface RankingSpecialtyProps extends React.HTMLAttributes<HTMLSpanElement> {
203
+ children: React.ReactNode;
204
+ }
205
+ interface RankingTopicProps extends React.HTMLAttributes<HTMLSpanElement> {
206
+ children: React.ReactNode;
207
+ }
208
+ interface RankingSuperFocusProps extends React.HTMLAttributes<HTMLDivElement> {
209
+ children?: React.ReactNode;
210
+ }
211
+ interface RankingAssigneesColumnProps extends React.HTMLAttributes<HTMLTableCellElement> {
212
+ children: React.ReactNode;
213
+ }
214
+ interface RankingAssigneeLabelProps extends React.HTMLAttributes<HTMLParagraphElement> {
215
+ children: React.ReactNode;
216
+ }
217
+ interface RankingAssigneeGroupProps extends React.HTMLAttributes<HTMLDivElement> {
218
+ children: React.ReactNode;
219
+ }
220
+ interface RankingAssigneeItemProps extends React.ComponentProps<typeof Avatar> {
221
+ src?: string;
222
+ alt?: string;
223
+ fallback?: string;
224
+ }
225
+ interface RankingPriorityProps extends React.HTMLAttributes<HTMLTableCellElement> {
226
+ children: React.ReactNode;
227
+ }
228
+ interface RankingPercentageProps extends React.HTMLAttributes<HTMLTableCellElement> {
229
+ value: number;
230
+ }
231
+ interface RankingButtonProps extends Omit<React.ComponentProps<typeof Button>, "iconRight" | "onClick"> {
232
+ onClick?: () => void;
233
+ }
234
+ declare function Ranking({ children, className, ...props }: RankingProps): react_jsx_runtime.JSX.Element;
235
+ declare function RankingItem({ children, className, ...props }: RankingItemProps): react_jsx_runtime.JSX.Element;
236
+ declare function RankingNumber({ children, className, ...props }: RankingNumberProps): react_jsx_runtime.JSX.Element;
237
+ declare function RankingTopicColumn({ children, className, ...props }: RankingTopicColumnProps): react_jsx_runtime.JSX.Element;
238
+ declare function RankingTopicContent({ children, className, ...props }: RankingTopicContentProps): react_jsx_runtime.JSX.Element;
239
+ declare function RankingSpecialty({ children, className, ...props }: RankingSpecialtyProps): react_jsx_runtime.JSX.Element;
240
+ declare function RankingTopic({ children, className, ...props }: RankingTopicProps): react_jsx_runtime.JSX.Element;
241
+ declare function RankingSuperFocus({ children, className, ...props }: RankingSuperFocusProps): react_jsx_runtime.JSX.Element;
242
+ declare function RankingAssigneesColumn({ children, className, ...props }: RankingAssigneesColumnProps): react_jsx_runtime.JSX.Element;
243
+ declare function RankingAssigneeLabel({ children, className, ...props }: RankingAssigneeLabelProps): react_jsx_runtime.JSX.Element;
244
+ declare function RankingAssigneeGroup({ children, className, ...props }: RankingAssigneeGroupProps): react_jsx_runtime.JSX.Element;
245
+ declare function RankingAssigneeItem({ src, alt, fallback, className, ...props }: RankingAssigneeItemProps): react_jsx_runtime.JSX.Element;
246
+ declare function RankingPriority({ children, className, ...props }: RankingPriorityProps): react_jsx_runtime.JSX.Element;
247
+ declare function RankingPercentage({ value, className, ...props }: RankingPercentageProps): react_jsx_runtime.JSX.Element;
248
+ declare function RankingButton({ children, className, onClick, ...props }: RankingButtonProps): react_jsx_runtime.JSX.Element;
249
+
187
250
  declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollArea$1.Root>): react_jsx_runtime.JSX.Element;
188
251
  declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
189
252
 
@@ -370,4 +433,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
370
433
 
371
434
  declare function useIsMobile(): boolean;
372
435
 
373
- export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, 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, 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, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tagVariants, useIsMobile, useSidebar };
436
+ export { Alert, AlertActions, AlertButton, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, 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, 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, Tag, Tile, TileDescription, TileIcon, TileTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, tagVariants, useIsMobile, useSidebar };