@medway-ui/core 1.7.1 → 1.7.2
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 +15 -10
- package/dist/index.d.ts +15 -10
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, ScrollArea as ScrollArea$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
5
|
+
import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Progress as Progress$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, ScrollArea as ScrollArea$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
6
6
|
|
|
7
7
|
interface AlertProps extends React.ComponentProps<"div"> {
|
|
8
8
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error";
|
|
@@ -98,6 +98,12 @@ interface ProgressCircleProps extends React.ComponentProps<"div"> {
|
|
|
98
98
|
}
|
|
99
99
|
declare function ProgressCircle({ className, indicatorClassName, trackClassName, valueClassName, label, labelClassName, value, size, strokeWidth, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
100
100
|
|
|
101
|
+
interface ProgressProps extends React.ComponentProps<typeof Progress$1.Root> {
|
|
102
|
+
indicatorClassName?: string;
|
|
103
|
+
label?: string;
|
|
104
|
+
}
|
|
105
|
+
declare function Progress({ className, indicatorClassName, label, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
101
107
|
interface CardWeekProps extends React.ComponentProps<"div"> {
|
|
102
108
|
done?: boolean;
|
|
103
109
|
postponed?: boolean;
|
|
@@ -106,12 +112,9 @@ interface CardWeekProps extends React.ComponentProps<"div"> {
|
|
|
106
112
|
interface CardWeekBreadcrumbProps extends React.ComponentProps<"div"> {
|
|
107
113
|
tag?: string;
|
|
108
114
|
}
|
|
109
|
-
interface CardWeekStatusProps {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
totalQuestions: number;
|
|
113
|
-
answeredQuestions: number;
|
|
114
|
-
timeLeft: number;
|
|
115
|
+
interface CardWeekStatusProps extends React.ComponentProps<"div"> {
|
|
116
|
+
}
|
|
117
|
+
interface CardWeekStatusTimeProps extends React.ComponentProps<"div"> {
|
|
115
118
|
}
|
|
116
119
|
declare function CardWeek({ className, done, postponed, skipped, ...props }: CardWeekProps): react_jsx_runtime.JSX.Element;
|
|
117
120
|
declare function CardWeekBreadcrumb({ className, children, tag, ...props }: CardWeekBreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
@@ -121,9 +124,11 @@ declare function CardWeekTitle({ className, ...props }: React.ComponentProps<"di
|
|
|
121
124
|
declare function CardWeekDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
122
125
|
declare function CardWeekTags({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
123
126
|
declare function CardWeekContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
124
|
-
declare function
|
|
127
|
+
declare function CardWeekProgressCircle({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
128
|
+
declare function CardWeekProgress({ className, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
125
129
|
declare function CardWeekFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
126
|
-
declare function CardWeekStatus({ className,
|
|
130
|
+
declare function CardWeekStatus({ className, children, ...props }: CardWeekStatusProps): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function CardWeekStatusTime({ className, children, ...props }: CardWeekStatusTimeProps): react_jsx_runtime.JSX.Element;
|
|
127
132
|
declare function CardWeekActions({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
128
133
|
|
|
129
134
|
type AnimationType = "accordion" | "fade";
|
|
@@ -513,4 +518,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
|
|
|
513
518
|
|
|
514
519
|
declare function useIsMobile(): boolean;
|
|
515
520
|
|
|
516
|
-
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, CardWeekStatus, 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, 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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, ScrollArea as ScrollArea$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
5
|
+
import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Progress as Progress$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, ScrollArea as ScrollArea$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
6
6
|
|
|
7
7
|
interface AlertProps extends React.ComponentProps<"div"> {
|
|
8
8
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error";
|
|
@@ -98,6 +98,12 @@ interface ProgressCircleProps extends React.ComponentProps<"div"> {
|
|
|
98
98
|
}
|
|
99
99
|
declare function ProgressCircle({ className, indicatorClassName, trackClassName, valueClassName, label, labelClassName, value, size, strokeWidth, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
100
100
|
|
|
101
|
+
interface ProgressProps extends React.ComponentProps<typeof Progress$1.Root> {
|
|
102
|
+
indicatorClassName?: string;
|
|
103
|
+
label?: string;
|
|
104
|
+
}
|
|
105
|
+
declare function Progress({ className, indicatorClassName, label, value, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
101
107
|
interface CardWeekProps extends React.ComponentProps<"div"> {
|
|
102
108
|
done?: boolean;
|
|
103
109
|
postponed?: boolean;
|
|
@@ -106,12 +112,9 @@ interface CardWeekProps extends React.ComponentProps<"div"> {
|
|
|
106
112
|
interface CardWeekBreadcrumbProps extends React.ComponentProps<"div"> {
|
|
107
113
|
tag?: string;
|
|
108
114
|
}
|
|
109
|
-
interface CardWeekStatusProps {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
totalQuestions: number;
|
|
113
|
-
answeredQuestions: number;
|
|
114
|
-
timeLeft: number;
|
|
115
|
+
interface CardWeekStatusProps extends React.ComponentProps<"div"> {
|
|
116
|
+
}
|
|
117
|
+
interface CardWeekStatusTimeProps extends React.ComponentProps<"div"> {
|
|
115
118
|
}
|
|
116
119
|
declare function CardWeek({ className, done, postponed, skipped, ...props }: CardWeekProps): react_jsx_runtime.JSX.Element;
|
|
117
120
|
declare function CardWeekBreadcrumb({ className, children, tag, ...props }: CardWeekBreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
@@ -121,9 +124,11 @@ declare function CardWeekTitle({ className, ...props }: React.ComponentProps<"di
|
|
|
121
124
|
declare function CardWeekDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
122
125
|
declare function CardWeekTags({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
123
126
|
declare function CardWeekContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
124
|
-
declare function
|
|
127
|
+
declare function CardWeekProgressCircle({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
128
|
+
declare function CardWeekProgress({ className, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
125
129
|
declare function CardWeekFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
126
|
-
declare function CardWeekStatus({ className,
|
|
130
|
+
declare function CardWeekStatus({ className, children, ...props }: CardWeekStatusProps): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function CardWeekStatusTime({ className, children, ...props }: CardWeekStatusTimeProps): react_jsx_runtime.JSX.Element;
|
|
127
132
|
declare function CardWeekActions({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
128
133
|
|
|
129
134
|
type AnimationType = "accordion" | "fade";
|
|
@@ -513,4 +518,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
|
|
|
513
518
|
|
|
514
519
|
declare function useIsMobile(): boolean;
|
|
515
520
|
|
|
516
|
-
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, CardWeekStatus, 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, 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 };
|
|
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 };
|