@medway-ui/core 1.6.1 → 1.7.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 +87 -6
- package/dist/index.d.ts +87 -6
- 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, Separator as Separator$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
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';
|
|
6
6
|
|
|
7
7
|
interface AlertProps extends React.ComponentProps<"div"> {
|
|
8
8
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error";
|
|
@@ -59,6 +59,18 @@ declare function Badge({ className, variant, size, icon, asChild, ...props }: Re
|
|
|
59
59
|
icon?: React.ReactNode;
|
|
60
60
|
}): react_jsx_runtime.JSX.Element;
|
|
61
61
|
|
|
62
|
+
declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare function BreadcrumbItem({ className, icon, children, ...props }: React.ComponentProps<"li"> & {
|
|
65
|
+
icon?: React.ReactNode;
|
|
66
|
+
}): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
|
|
68
|
+
asChild?: boolean;
|
|
69
|
+
}): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
71
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
73
|
+
|
|
62
74
|
interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
63
75
|
asChild?: boolean;
|
|
64
76
|
containerClassName?: string;
|
|
@@ -74,6 +86,46 @@ declare const buttonVariants: (props?: ({
|
|
|
74
86
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
75
87
|
declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
76
88
|
|
|
89
|
+
interface ProgressCircleProps extends React.ComponentProps<"div"> {
|
|
90
|
+
value: number;
|
|
91
|
+
size?: number;
|
|
92
|
+
strokeWidth?: number;
|
|
93
|
+
indicatorClassName?: string;
|
|
94
|
+
trackClassName?: string;
|
|
95
|
+
valueClassName?: string;
|
|
96
|
+
label?: string;
|
|
97
|
+
labelClassName?: string;
|
|
98
|
+
}
|
|
99
|
+
declare function ProgressCircle({ className, indicatorClassName, trackClassName, valueClassName, label, labelClassName, value, size, strokeWidth, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
100
|
+
|
|
101
|
+
interface CardWeekProps extends React.ComponentProps<"div"> {
|
|
102
|
+
done?: boolean;
|
|
103
|
+
postponed?: boolean;
|
|
104
|
+
skipped?: boolean;
|
|
105
|
+
}
|
|
106
|
+
interface CardWeekBreadcrumbProps extends React.ComponentProps<"div"> {
|
|
107
|
+
tag?: string;
|
|
108
|
+
}
|
|
109
|
+
interface CardWeekStatusProps {
|
|
110
|
+
className?: string;
|
|
111
|
+
correctQuestions: number;
|
|
112
|
+
totalQuestions: number;
|
|
113
|
+
answeredQuestions: number;
|
|
114
|
+
timeLeft: number;
|
|
115
|
+
}
|
|
116
|
+
declare function CardWeek({ className, done, postponed, skipped, ...props }: CardWeekProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function CardWeekBreadcrumb({ className, children, tag, ...props }: CardWeekBreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function CardWeekContainer({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare function CardWeekHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare function CardWeekTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function CardWeekDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare function CardWeekTags({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function CardWeekContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare function CardWeekProgress({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
125
|
+
declare function CardWeekFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
126
|
+
declare function CardWeekStatus({ className, correctQuestions, totalQuestions, answeredQuestions, timeLeft, ...props }: CardWeekStatusProps): react_jsx_runtime.JSX.Element;
|
|
127
|
+
declare function CardWeekActions({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
128
|
+
|
|
77
129
|
type AnimationType = "accordion" | "fade";
|
|
78
130
|
interface CollapsibleContentProps extends React.ComponentProps<typeof Collapsible$1.Content> {
|
|
79
131
|
className?: string;
|
|
@@ -251,19 +303,19 @@ declare function ScrollArea({ className, children, ...props }: React.ComponentPr
|
|
|
251
303
|
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
252
304
|
|
|
253
305
|
type SegmentSize = "sm" | "md" | "lg";
|
|
254
|
-
declare function SegmentControl({ className, size, children, ...props }: React.ComponentProps<typeof Tabs.Root> & {
|
|
306
|
+
declare function SegmentControl({ className, size, children, ...props }: React.ComponentProps<typeof Tabs$1.Root> & {
|
|
255
307
|
size?: SegmentSize;
|
|
256
308
|
}): react_jsx_runtime.JSX.Element;
|
|
257
|
-
interface SegmentControlListProps extends React.ComponentProps<typeof Tabs.List> {
|
|
309
|
+
interface SegmentControlListProps extends React.ComponentProps<typeof Tabs$1.List> {
|
|
258
310
|
containerClassName?: string;
|
|
259
311
|
}
|
|
260
312
|
declare function SegmentControlList({ className, containerClassName, ...props }: SegmentControlListProps): react_jsx_runtime.JSX.Element;
|
|
261
|
-
interface SegmentControlTriggerProps extends React.ComponentProps<typeof Tabs.Trigger> {
|
|
313
|
+
interface SegmentControlTriggerProps extends React.ComponentProps<typeof Tabs$1.Trigger> {
|
|
262
314
|
icon?: React.ReactNode;
|
|
263
315
|
badge?: number | string;
|
|
264
316
|
}
|
|
265
317
|
declare function SegmentControlTrigger({ className, icon, badge, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
|
|
266
|
-
declare function SegmentControlContent({ className, ...props }: React.ComponentProps<typeof Tabs.Content>): react_jsx_runtime.JSX.Element;
|
|
318
|
+
declare function SegmentControlContent({ className, ...props }: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
267
319
|
|
|
268
320
|
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
|
|
269
321
|
|
|
@@ -408,6 +460,35 @@ declare function SwitcherItem({ children, value, onClick, icon }: SwitcherItemPr
|
|
|
408
460
|
declare function SwitcherFooter({ children, onClick, icon }: SwitcherFooterProps): react_jsx_runtime.JSX.Element;
|
|
409
461
|
declare function SwitcherSeparator(): react_jsx_runtime.JSX.Element;
|
|
410
462
|
|
|
463
|
+
type TabsVariant = "header" | "standalone";
|
|
464
|
+
type TabsSize = "md" | "lg";
|
|
465
|
+
interface TabsProps extends React.ComponentProps<typeof Tabs$1.Root>, VariantProps<typeof tabsListVariants> {
|
|
466
|
+
size?: TabsSize;
|
|
467
|
+
responsive?: boolean;
|
|
468
|
+
}
|
|
469
|
+
interface TabsListProps extends React.ComponentProps<typeof Tabs$1.List> {
|
|
470
|
+
}
|
|
471
|
+
interface TabsTriggerProps extends React.ComponentProps<typeof Tabs$1.Trigger> {
|
|
472
|
+
icon?: React.ReactNode;
|
|
473
|
+
badge?: React.ReactNode;
|
|
474
|
+
}
|
|
475
|
+
declare function useTabsContext(): {
|
|
476
|
+
variant: TabsVariant;
|
|
477
|
+
size: TabsSize;
|
|
478
|
+
responsiveSize: TabsSize;
|
|
479
|
+
};
|
|
480
|
+
declare const tabsListVariants: (props?: ({
|
|
481
|
+
variant?: "header" | "standalone" | null | undefined;
|
|
482
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
483
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
484
|
+
variant?: "header" | "standalone" | null | undefined;
|
|
485
|
+
size?: "md" | "lg" | null | undefined;
|
|
486
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
487
|
+
declare function Tabs({ className, variant, size, responsive, children, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
488
|
+
declare function TabsList({ className, children, ...props }: TabsListProps): react_jsx_runtime.JSX.Element;
|
|
489
|
+
declare function TabsTrigger({ className, children, icon, badge, ...props }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
490
|
+
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
491
|
+
|
|
411
492
|
interface TagProps extends React.ComponentProps<"span">, VariantProps<typeof tagVariants> {
|
|
412
493
|
asChild?: boolean;
|
|
413
494
|
icon?: React.ReactElement;
|
|
@@ -433,4 +514,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
|
|
|
433
514
|
|
|
434
515
|
declare function useIsMobile(): boolean;
|
|
435
516
|
|
|
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 };
|
|
517
|
+
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 };
|
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, Separator as Separator$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
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';
|
|
6
6
|
|
|
7
7
|
interface AlertProps extends React.ComponentProps<"div"> {
|
|
8
8
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error";
|
|
@@ -59,6 +59,18 @@ declare function Badge({ className, variant, size, icon, asChild, ...props }: Re
|
|
|
59
59
|
icon?: React.ReactNode;
|
|
60
60
|
}): react_jsx_runtime.JSX.Element;
|
|
61
61
|
|
|
62
|
+
declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare function BreadcrumbItem({ className, icon, children, ...props }: React.ComponentProps<"li"> & {
|
|
65
|
+
icon?: React.ReactNode;
|
|
66
|
+
}): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
|
|
68
|
+
asChild?: boolean;
|
|
69
|
+
}): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
71
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
72
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
73
|
+
|
|
62
74
|
interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
63
75
|
asChild?: boolean;
|
|
64
76
|
containerClassName?: string;
|
|
@@ -74,6 +86,46 @@ declare const buttonVariants: (props?: ({
|
|
|
74
86
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
75
87
|
declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
76
88
|
|
|
89
|
+
interface ProgressCircleProps extends React.ComponentProps<"div"> {
|
|
90
|
+
value: number;
|
|
91
|
+
size?: number;
|
|
92
|
+
strokeWidth?: number;
|
|
93
|
+
indicatorClassName?: string;
|
|
94
|
+
trackClassName?: string;
|
|
95
|
+
valueClassName?: string;
|
|
96
|
+
label?: string;
|
|
97
|
+
labelClassName?: string;
|
|
98
|
+
}
|
|
99
|
+
declare function ProgressCircle({ className, indicatorClassName, trackClassName, valueClassName, label, labelClassName, value, size, strokeWidth, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
100
|
+
|
|
101
|
+
interface CardWeekProps extends React.ComponentProps<"div"> {
|
|
102
|
+
done?: boolean;
|
|
103
|
+
postponed?: boolean;
|
|
104
|
+
skipped?: boolean;
|
|
105
|
+
}
|
|
106
|
+
interface CardWeekBreadcrumbProps extends React.ComponentProps<"div"> {
|
|
107
|
+
tag?: string;
|
|
108
|
+
}
|
|
109
|
+
interface CardWeekStatusProps {
|
|
110
|
+
className?: string;
|
|
111
|
+
correctQuestions: number;
|
|
112
|
+
totalQuestions: number;
|
|
113
|
+
answeredQuestions: number;
|
|
114
|
+
timeLeft: number;
|
|
115
|
+
}
|
|
116
|
+
declare function CardWeek({ className, done, postponed, skipped, ...props }: CardWeekProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare function CardWeekBreadcrumb({ className, children, tag, ...props }: CardWeekBreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
118
|
+
declare function CardWeekContainer({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
119
|
+
declare function CardWeekHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare function CardWeekTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare function CardWeekDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare function CardWeekTags({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
123
|
+
declare function CardWeekContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare function CardWeekProgress({ className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
125
|
+
declare function CardWeekFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
126
|
+
declare function CardWeekStatus({ className, correctQuestions, totalQuestions, answeredQuestions, timeLeft, ...props }: CardWeekStatusProps): react_jsx_runtime.JSX.Element;
|
|
127
|
+
declare function CardWeekActions({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
128
|
+
|
|
77
129
|
type AnimationType = "accordion" | "fade";
|
|
78
130
|
interface CollapsibleContentProps extends React.ComponentProps<typeof Collapsible$1.Content> {
|
|
79
131
|
className?: string;
|
|
@@ -251,19 +303,19 @@ declare function ScrollArea({ className, children, ...props }: React.ComponentPr
|
|
|
251
303
|
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
252
304
|
|
|
253
305
|
type SegmentSize = "sm" | "md" | "lg";
|
|
254
|
-
declare function SegmentControl({ className, size, children, ...props }: React.ComponentProps<typeof Tabs.Root> & {
|
|
306
|
+
declare function SegmentControl({ className, size, children, ...props }: React.ComponentProps<typeof Tabs$1.Root> & {
|
|
255
307
|
size?: SegmentSize;
|
|
256
308
|
}): react_jsx_runtime.JSX.Element;
|
|
257
|
-
interface SegmentControlListProps extends React.ComponentProps<typeof Tabs.List> {
|
|
309
|
+
interface SegmentControlListProps extends React.ComponentProps<typeof Tabs$1.List> {
|
|
258
310
|
containerClassName?: string;
|
|
259
311
|
}
|
|
260
312
|
declare function SegmentControlList({ className, containerClassName, ...props }: SegmentControlListProps): react_jsx_runtime.JSX.Element;
|
|
261
|
-
interface SegmentControlTriggerProps extends React.ComponentProps<typeof Tabs.Trigger> {
|
|
313
|
+
interface SegmentControlTriggerProps extends React.ComponentProps<typeof Tabs$1.Trigger> {
|
|
262
314
|
icon?: React.ReactNode;
|
|
263
315
|
badge?: number | string;
|
|
264
316
|
}
|
|
265
317
|
declare function SegmentControlTrigger({ className, icon, badge, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
|
|
266
|
-
declare function SegmentControlContent({ className, ...props }: React.ComponentProps<typeof Tabs.Content>): react_jsx_runtime.JSX.Element;
|
|
318
|
+
declare function SegmentControlContent({ className, ...props }: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
267
319
|
|
|
268
320
|
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
|
|
269
321
|
|
|
@@ -408,6 +460,35 @@ declare function SwitcherItem({ children, value, onClick, icon }: SwitcherItemPr
|
|
|
408
460
|
declare function SwitcherFooter({ children, onClick, icon }: SwitcherFooterProps): react_jsx_runtime.JSX.Element;
|
|
409
461
|
declare function SwitcherSeparator(): react_jsx_runtime.JSX.Element;
|
|
410
462
|
|
|
463
|
+
type TabsVariant = "header" | "standalone";
|
|
464
|
+
type TabsSize = "md" | "lg";
|
|
465
|
+
interface TabsProps extends React.ComponentProps<typeof Tabs$1.Root>, VariantProps<typeof tabsListVariants> {
|
|
466
|
+
size?: TabsSize;
|
|
467
|
+
responsive?: boolean;
|
|
468
|
+
}
|
|
469
|
+
interface TabsListProps extends React.ComponentProps<typeof Tabs$1.List> {
|
|
470
|
+
}
|
|
471
|
+
interface TabsTriggerProps extends React.ComponentProps<typeof Tabs$1.Trigger> {
|
|
472
|
+
icon?: React.ReactNode;
|
|
473
|
+
badge?: React.ReactNode;
|
|
474
|
+
}
|
|
475
|
+
declare function useTabsContext(): {
|
|
476
|
+
variant: TabsVariant;
|
|
477
|
+
size: TabsSize;
|
|
478
|
+
responsiveSize: TabsSize;
|
|
479
|
+
};
|
|
480
|
+
declare const tabsListVariants: (props?: ({
|
|
481
|
+
variant?: "header" | "standalone" | null | undefined;
|
|
482
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
483
|
+
declare const tabsTriggerVariants: (props?: ({
|
|
484
|
+
variant?: "header" | "standalone" | null | undefined;
|
|
485
|
+
size?: "md" | "lg" | null | undefined;
|
|
486
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
487
|
+
declare function Tabs({ className, variant, size, responsive, children, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
488
|
+
declare function TabsList({ className, children, ...props }: TabsListProps): react_jsx_runtime.JSX.Element;
|
|
489
|
+
declare function TabsTrigger({ className, children, icon, badge, ...props }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
490
|
+
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
491
|
+
|
|
411
492
|
interface TagProps extends React.ComponentProps<"span">, VariantProps<typeof tagVariants> {
|
|
412
493
|
asChild?: boolean;
|
|
413
494
|
icon?: React.ReactElement;
|
|
@@ -433,4 +514,4 @@ declare function TileDescription({ className, ...props }: React.ComponentProps<"
|
|
|
433
514
|
|
|
434
515
|
declare function useIsMobile(): boolean;
|
|
435
516
|
|
|
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 };
|
|
517
|
+
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 };
|