@medway-ui/core 1.22.6 → 1.23.1
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/assets/css/tokens.css +0 -3
- package/dist/assets/js/tokens.ts +18 -0
- package/dist/index.d.mts +83 -9
- package/dist/index.d.ts +83 -9
- 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 +3 -3
package/dist/assets/js/tokens.ts
CHANGED
|
@@ -693,6 +693,22 @@ export const keyframes = {
|
|
|
693
693
|
opacity: "0",
|
|
694
694
|
},
|
|
695
695
|
},
|
|
696
|
+
"index-level-ring-spin": {
|
|
697
|
+
from: {
|
|
698
|
+
rotate: "0deg",
|
|
699
|
+
},
|
|
700
|
+
to: {
|
|
701
|
+
rotate: "360deg",
|
|
702
|
+
},
|
|
703
|
+
},
|
|
704
|
+
"index-level-ring-settle": {
|
|
705
|
+
"0%, 75%": {
|
|
706
|
+
opacity: "1",
|
|
707
|
+
},
|
|
708
|
+
"100%": {
|
|
709
|
+
opacity: "0.1",
|
|
710
|
+
},
|
|
711
|
+
},
|
|
696
712
|
};
|
|
697
713
|
|
|
698
714
|
export const animation = {
|
|
@@ -703,4 +719,6 @@ export const animation = {
|
|
|
703
719
|
"fade-in": "fade-in 0.2s ease-out",
|
|
704
720
|
"fade-out": "fade-out 0.2s ease-out",
|
|
705
721
|
shine: "shine 2s infinite linear",
|
|
722
|
+
"index-level-ring-spin": "index-level-ring-spin 1.2s linear 2 forwards",
|
|
723
|
+
"index-level-ring-settle": "index-level-ring-settle 2.4s ease-out forwards",
|
|
706
724
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, ComponentPropsWithoutRef, ChangeEvent, TableHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
4
|
+
import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, ComponentPropsWithoutRef, ComponentType, ChangeEvent, TableHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Avatar as Avatar$1, Progress as Progress$1, Collapsible as Collapsible$1, Checkbox as Checkbox$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1,
|
|
6
|
+
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Avatar as Avatar$1, Progress as Progress$1, Collapsible as Collapsible$1, Checkbox as Checkbox$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tooltip as Tooltip$1, Tabs as Tabs$1, Separator as Separator$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
|
|
7
7
|
|
|
8
8
|
interface AlertProps extends ComponentProps<"div"> {
|
|
9
9
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error";
|
|
@@ -546,6 +546,78 @@ declare function DatePickerText({ className, ...props }: HTMLAttributes<HTMLSpan
|
|
|
546
546
|
declare function DatePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, size, yearRange, showYearSelector, invalid, children, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
547
547
|
declare function DateRangePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, size, yearRange, showYearSelector, invalid, children, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
548
548
|
|
|
549
|
+
/**
|
|
550
|
+
* Matches the `PriorityLevelType` enum used by the products:
|
|
551
|
+
* priority = "p" | high_priority = "h" | medium_priority = "m" | low_priority = "l"
|
|
552
|
+
*/
|
|
553
|
+
type IndexLevelValue = "p" | "h" | "m" | "l";
|
|
554
|
+
declare const LEVEL_LABELS: Record<IndexLevelValue, {
|
|
555
|
+
full: string;
|
|
556
|
+
short: string;
|
|
557
|
+
icon: IndexLevelIcon;
|
|
558
|
+
}>;
|
|
559
|
+
declare const indexLevelVariants: (props?: ({
|
|
560
|
+
variant?: "regular" | "basic" | "soft" | null | undefined;
|
|
561
|
+
size?: "sm" | "md" | null | undefined;
|
|
562
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
563
|
+
declare const indexLevelIconVariants: (props?: ({
|
|
564
|
+
size?: "sm" | "md" | null | undefined;
|
|
565
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
566
|
+
interface IndexLevelIconProps extends Omit<ComponentProps<"span">, "children">, VariantProps<typeof indexLevelIconVariants> {
|
|
567
|
+
level: IndexLevelValue;
|
|
568
|
+
baseOpacity?: "40" | "20";
|
|
569
|
+
}
|
|
570
|
+
type IndexLevelIcon = ComponentType<{
|
|
571
|
+
className?: string;
|
|
572
|
+
size?: number | string;
|
|
573
|
+
}>;
|
|
574
|
+
declare function IndexLevelIcon({ className, level, size, baseOpacity, ...props }: IndexLevelIconProps): react_jsx_runtime.JSX.Element | null;
|
|
575
|
+
interface IndexLevelProps extends ComponentProps<"span">, VariantProps<typeof indexLevelVariants> {
|
|
576
|
+
/** Priority level rendered by the component. */
|
|
577
|
+
level: IndexLevelValue;
|
|
578
|
+
/** Uses the abbreviated label ("Alta") instead of the full one ("Alta prevalência"). */
|
|
579
|
+
shortName?: boolean;
|
|
580
|
+
/** Overrides the label derived from `level`. */
|
|
581
|
+
label?: ReactNode;
|
|
582
|
+
/** Hides the label, keeping only the icon (and any `children`). */
|
|
583
|
+
hideLabel?: boolean;
|
|
584
|
+
/** Extra classes for the icon slot. */
|
|
585
|
+
iconClassName?: string;
|
|
586
|
+
/** Extra classes for the label slot. */
|
|
587
|
+
labelClassName?: string;
|
|
588
|
+
asChild?: boolean;
|
|
589
|
+
}
|
|
590
|
+
declare function IndexLevel({ className, variant, size, level, shortName, label, hideLabel, iconClassName, labelClassName, asChild, children, ...props }: IndexLevelProps): react_jsx_runtime.JSX.Element | null;
|
|
591
|
+
|
|
592
|
+
type IndexLevelSpecialty = "default" | "cm" | "go" | "cir" | "ped" | "prev";
|
|
593
|
+
/** Accepts the specialty in either casing, e.g. `"cm"` or `"CM"`. */
|
|
594
|
+
type IndexLevelSpecialtyProp = IndexLevelSpecialty | Uppercase<IndexLevelSpecialty>;
|
|
595
|
+
declare const indexLevelAnimatedVariants: (props?: ({
|
|
596
|
+
size?: "sm" | "md" | null | undefined;
|
|
597
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
598
|
+
interface IndexLevelAnimatedProps extends ComponentProps<"span">, VariantProps<typeof indexLevelAnimatedVariants> {
|
|
599
|
+
/** Priority level, matching the `PriorityLevelType` enum values. */
|
|
600
|
+
level: IndexLevelValue;
|
|
601
|
+
/** Specialty driving the colors. Case-insensitive. */
|
|
602
|
+
specialty?: IndexLevelSpecialtyProp;
|
|
603
|
+
/** Uses the abbreviated label ("Alta") instead of the full one ("Alta prevalência"). */
|
|
604
|
+
shortName?: boolean;
|
|
605
|
+
/** Overrides the label derived from `level`. */
|
|
606
|
+
label?: ReactNode;
|
|
607
|
+
/** Hides the label, keeping only the icon (and any `children`). */
|
|
608
|
+
hideLabel?: boolean;
|
|
609
|
+
/** Plays the ring sweep on mount. When `false`, the ring renders already settled. */
|
|
610
|
+
animated?: boolean;
|
|
611
|
+
/** Extra classes for the icon slot. */
|
|
612
|
+
iconClassName?: string;
|
|
613
|
+
/** Extra classes for the label slot. */
|
|
614
|
+
labelClassName?: string;
|
|
615
|
+
/** Extra classes for the ring slot. */
|
|
616
|
+
ringClassName?: string;
|
|
617
|
+
asChild?: boolean;
|
|
618
|
+
}
|
|
619
|
+
declare function IndexLevelAnimated({ className, size, level, specialty, shortName, label, hideLabel, animated, iconClassName, labelClassName, ringClassName, asChild, children, ...props }: IndexLevelAnimatedProps): react_jsx_runtime.JSX.Element | null;
|
|
620
|
+
|
|
549
621
|
type InputType = "text" | "email" | "numeric" | "password";
|
|
550
622
|
interface InputProps extends Omit<ComponentProps<"input">, "type" | "size">, VariantProps<typeof inputVariants> {
|
|
551
623
|
type?: InputType;
|
|
@@ -802,6 +874,11 @@ declare function SelectScrollUpButton({ className, ...props }: ComponentProps<ty
|
|
|
802
874
|
declare function SelectScrollDownButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
803
875
|
declare function SelectText({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
804
876
|
|
|
877
|
+
declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
878
|
+
declare function Tooltip({ ...props }: ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
879
|
+
declare function TooltipTrigger({ ...props }: ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
880
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
881
|
+
|
|
805
882
|
type SegmentSize = "sm" | "md" | "lg";
|
|
806
883
|
declare function SegmentControl({ className, size, children, ...props }: ComponentProps<typeof Tabs$1.Root> & {
|
|
807
884
|
size?: SegmentSize;
|
|
@@ -812,13 +889,15 @@ interface SegmentControlListProps extends ComponentProps<typeof Tabs$1.List> {
|
|
|
812
889
|
declare function SegmentControlList({ className, containerClassName, ...props }: SegmentControlListProps): react_jsx_runtime.JSX.Element;
|
|
813
890
|
interface SegmentControlTriggerProps extends ComponentProps<typeof Tabs$1.Trigger> {
|
|
814
891
|
icon?: ReactNode;
|
|
892
|
+
tooltip?: ReactNode;
|
|
893
|
+
tooltipSide?: ComponentProps<typeof TooltipContent>["side"];
|
|
815
894
|
badge?: number | string;
|
|
816
895
|
badgeVariant?: BadgeProps["variant"];
|
|
817
896
|
}
|
|
818
897
|
declare const segmentControlTriggerVariants: (props?: ({
|
|
819
898
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
820
899
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
821
|
-
declare function SegmentControlTrigger({ className, icon, badge, badgeVariant, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
|
|
900
|
+
declare function SegmentControlTrigger({ className, icon, tooltip, tooltipSide, badge, badgeVariant, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
|
|
822
901
|
declare function SegmentControlContent({ className, ...props }: ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
823
902
|
|
|
824
903
|
declare function Separator({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -835,11 +914,6 @@ declare function SheetFooter({ className, ...props }: ComponentProps<"div">): re
|
|
|
835
914
|
declare function SheetTitle({ className, ...props }: ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
836
915
|
declare function SheetDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
837
916
|
|
|
838
|
-
declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
839
|
-
declare function Tooltip({ ...props }: ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
840
|
-
declare function TooltipTrigger({ ...props }: ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
841
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
842
|
-
|
|
843
917
|
type SidebarContextProps = {
|
|
844
918
|
state: "expanded" | "collapsed";
|
|
845
919
|
open: boolean;
|
|
@@ -1076,4 +1150,4 @@ declare function useToast(): {
|
|
|
1076
1150
|
|
|
1077
1151
|
declare function useIsMobile(): boolean;
|
|
1078
1152
|
|
|
1079
|
-
export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, type AlertDialogIconProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTag, type AlertDialogTagProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogVariant, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardContinue, CardContinueBreadcrumb, type CardContinueBreadcrumbProps, CardContinueButton, CardContinueContent, CardContinueHeader, CardContinueImage, type CardContinueImageProps, CardContinueTitle, CardLesson, CardLessonButton, CardLessonContent, CardLessonDuration, CardLessonFooter, CardLessonHeader, CardLessonIcon, type CardLessonIconProps, CardLessonIcons, CardLessonImage, type CardLessonImageProps, CardLessonLabel, type CardLessonOrientation, type CardLessonProps, CardLessonStatus, type CardLessonStatusProps, type CardLessonStatusType, CardLessonTitle, type CardLessonVariant, CardModule, CardModuleAction, CardModuleButton, CardModuleFooter, CardModuleHeader, CardModuleLabel, type CardModuleLabelProps, CardModuleProgress, type CardModuleProgressProps, type CardModuleProps, CardModuleTitle, type CardModuleVariant, CardNews, CardNewsAuthor, type CardNewsAuthorProps, CardNewsBody, CardNewsContent, CardNewsDate, type CardNewsDateProps, CardNewsDescription, CardNewsFooter, CardNewsHeader, CardNewsImage, type CardNewsImageProps, type CardNewsProps, CardNewsResourceItem, CardNewsResources, type CardNewsResourcesProps, CardNewsTags, CardNewsTitle, CardTopic, CardTopicColumn, CardTopicContent, CardTopicCount, CardTopicNumber, CardTopicProgress, type CardTopicProgressProps, type CardTopicProps, CardTopicTitle, CardTopicTrigger, type CardTopicVariant, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FallbackImage, type FallbackImageProps, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, LogoCircular, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, 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, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, cardLessonVariants, cardModuleStatusVariants, cardModuleVariants, checkboxVariants, datePickerTriggerVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useToast };
|
|
1153
|
+
export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, type AlertDialogIconProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTag, type AlertDialogTagProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogVariant, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardContinue, CardContinueBreadcrumb, type CardContinueBreadcrumbProps, CardContinueButton, CardContinueContent, CardContinueHeader, CardContinueImage, type CardContinueImageProps, CardContinueTitle, CardLesson, CardLessonButton, CardLessonContent, CardLessonDuration, CardLessonFooter, CardLessonHeader, CardLessonIcon, type CardLessonIconProps, CardLessonIcons, CardLessonImage, type CardLessonImageProps, CardLessonLabel, type CardLessonOrientation, type CardLessonProps, CardLessonStatus, type CardLessonStatusProps, type CardLessonStatusType, CardLessonTitle, type CardLessonVariant, CardModule, CardModuleAction, CardModuleButton, CardModuleFooter, CardModuleHeader, CardModuleLabel, type CardModuleLabelProps, CardModuleProgress, type CardModuleProgressProps, type CardModuleProps, CardModuleTitle, type CardModuleVariant, CardNews, CardNewsAuthor, type CardNewsAuthorProps, CardNewsBody, CardNewsContent, CardNewsDate, type CardNewsDateProps, CardNewsDescription, CardNewsFooter, CardNewsHeader, CardNewsImage, type CardNewsImageProps, type CardNewsProps, CardNewsResourceItem, CardNewsResources, type CardNewsResourcesProps, CardNewsTags, CardNewsTitle, CardTopic, CardTopicColumn, CardTopicContent, CardTopicCount, CardTopicNumber, CardTopicProgress, type CardTopicProgressProps, type CardTopicProps, CardTopicTitle, CardTopicTrigger, type CardTopicVariant, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FallbackImage, type FallbackImageProps, LEVEL_LABELS as INDEX_LEVEL_LABELS, IndexLevel, IndexLevelAnimated, type IndexLevelAnimatedProps, IndexLevelIcon, type IndexLevelIconProps, type IndexLevelProps, type IndexLevelSpecialty, type IndexLevelSpecialtyProp, type IndexLevelValue, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, LogoCircular, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, 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, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, cardLessonVariants, cardModuleStatusVariants, cardModuleVariants, checkboxVariants, datePickerTriggerVariants, indexLevelAnimatedVariants, indexLevelIconVariants, indexLevelVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, ComponentPropsWithoutRef, ChangeEvent, TableHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
4
|
+
import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, ComponentPropsWithoutRef, ComponentType, ChangeEvent, TableHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Avatar as Avatar$1, Progress as Progress$1, Collapsible as Collapsible$1, Checkbox as Checkbox$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1,
|
|
6
|
+
import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Avatar as Avatar$1, Progress as Progress$1, Collapsible as Collapsible$1, Checkbox as Checkbox$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tooltip as Tooltip$1, Tabs as Tabs$1, Separator as Separator$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
|
|
7
7
|
|
|
8
8
|
interface AlertProps extends ComponentProps<"div"> {
|
|
9
9
|
variant?: "regular" | "emphasis" | "success" | "warning" | "error";
|
|
@@ -546,6 +546,78 @@ declare function DatePickerText({ className, ...props }: HTMLAttributes<HTMLSpan
|
|
|
546
546
|
declare function DatePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, size, yearRange, showYearSelector, invalid, children, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
547
547
|
declare function DateRangePicker({ value, defaultValue, onValueChange, placeholder, disabled, min, max, format, className, inputClassName, contentClassName, size, yearRange, showYearSelector, invalid, children, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
548
548
|
|
|
549
|
+
/**
|
|
550
|
+
* Matches the `PriorityLevelType` enum used by the products:
|
|
551
|
+
* priority = "p" | high_priority = "h" | medium_priority = "m" | low_priority = "l"
|
|
552
|
+
*/
|
|
553
|
+
type IndexLevelValue = "p" | "h" | "m" | "l";
|
|
554
|
+
declare const LEVEL_LABELS: Record<IndexLevelValue, {
|
|
555
|
+
full: string;
|
|
556
|
+
short: string;
|
|
557
|
+
icon: IndexLevelIcon;
|
|
558
|
+
}>;
|
|
559
|
+
declare const indexLevelVariants: (props?: ({
|
|
560
|
+
variant?: "regular" | "basic" | "soft" | null | undefined;
|
|
561
|
+
size?: "sm" | "md" | null | undefined;
|
|
562
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
563
|
+
declare const indexLevelIconVariants: (props?: ({
|
|
564
|
+
size?: "sm" | "md" | null | undefined;
|
|
565
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
566
|
+
interface IndexLevelIconProps extends Omit<ComponentProps<"span">, "children">, VariantProps<typeof indexLevelIconVariants> {
|
|
567
|
+
level: IndexLevelValue;
|
|
568
|
+
baseOpacity?: "40" | "20";
|
|
569
|
+
}
|
|
570
|
+
type IndexLevelIcon = ComponentType<{
|
|
571
|
+
className?: string;
|
|
572
|
+
size?: number | string;
|
|
573
|
+
}>;
|
|
574
|
+
declare function IndexLevelIcon({ className, level, size, baseOpacity, ...props }: IndexLevelIconProps): react_jsx_runtime.JSX.Element | null;
|
|
575
|
+
interface IndexLevelProps extends ComponentProps<"span">, VariantProps<typeof indexLevelVariants> {
|
|
576
|
+
/** Priority level rendered by the component. */
|
|
577
|
+
level: IndexLevelValue;
|
|
578
|
+
/** Uses the abbreviated label ("Alta") instead of the full one ("Alta prevalência"). */
|
|
579
|
+
shortName?: boolean;
|
|
580
|
+
/** Overrides the label derived from `level`. */
|
|
581
|
+
label?: ReactNode;
|
|
582
|
+
/** Hides the label, keeping only the icon (and any `children`). */
|
|
583
|
+
hideLabel?: boolean;
|
|
584
|
+
/** Extra classes for the icon slot. */
|
|
585
|
+
iconClassName?: string;
|
|
586
|
+
/** Extra classes for the label slot. */
|
|
587
|
+
labelClassName?: string;
|
|
588
|
+
asChild?: boolean;
|
|
589
|
+
}
|
|
590
|
+
declare function IndexLevel({ className, variant, size, level, shortName, label, hideLabel, iconClassName, labelClassName, asChild, children, ...props }: IndexLevelProps): react_jsx_runtime.JSX.Element | null;
|
|
591
|
+
|
|
592
|
+
type IndexLevelSpecialty = "default" | "cm" | "go" | "cir" | "ped" | "prev";
|
|
593
|
+
/** Accepts the specialty in either casing, e.g. `"cm"` or `"CM"`. */
|
|
594
|
+
type IndexLevelSpecialtyProp = IndexLevelSpecialty | Uppercase<IndexLevelSpecialty>;
|
|
595
|
+
declare const indexLevelAnimatedVariants: (props?: ({
|
|
596
|
+
size?: "sm" | "md" | null | undefined;
|
|
597
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
598
|
+
interface IndexLevelAnimatedProps extends ComponentProps<"span">, VariantProps<typeof indexLevelAnimatedVariants> {
|
|
599
|
+
/** Priority level, matching the `PriorityLevelType` enum values. */
|
|
600
|
+
level: IndexLevelValue;
|
|
601
|
+
/** Specialty driving the colors. Case-insensitive. */
|
|
602
|
+
specialty?: IndexLevelSpecialtyProp;
|
|
603
|
+
/** Uses the abbreviated label ("Alta") instead of the full one ("Alta prevalência"). */
|
|
604
|
+
shortName?: boolean;
|
|
605
|
+
/** Overrides the label derived from `level`. */
|
|
606
|
+
label?: ReactNode;
|
|
607
|
+
/** Hides the label, keeping only the icon (and any `children`). */
|
|
608
|
+
hideLabel?: boolean;
|
|
609
|
+
/** Plays the ring sweep on mount. When `false`, the ring renders already settled. */
|
|
610
|
+
animated?: boolean;
|
|
611
|
+
/** Extra classes for the icon slot. */
|
|
612
|
+
iconClassName?: string;
|
|
613
|
+
/** Extra classes for the label slot. */
|
|
614
|
+
labelClassName?: string;
|
|
615
|
+
/** Extra classes for the ring slot. */
|
|
616
|
+
ringClassName?: string;
|
|
617
|
+
asChild?: boolean;
|
|
618
|
+
}
|
|
619
|
+
declare function IndexLevelAnimated({ className, size, level, specialty, shortName, label, hideLabel, animated, iconClassName, labelClassName, ringClassName, asChild, children, ...props }: IndexLevelAnimatedProps): react_jsx_runtime.JSX.Element | null;
|
|
620
|
+
|
|
549
621
|
type InputType = "text" | "email" | "numeric" | "password";
|
|
550
622
|
interface InputProps extends Omit<ComponentProps<"input">, "type" | "size">, VariantProps<typeof inputVariants> {
|
|
551
623
|
type?: InputType;
|
|
@@ -802,6 +874,11 @@ declare function SelectScrollUpButton({ className, ...props }: ComponentProps<ty
|
|
|
802
874
|
declare function SelectScrollDownButton({ className, ...props }: ComponentProps<typeof Select$1.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
803
875
|
declare function SelectText({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
804
876
|
|
|
877
|
+
declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
878
|
+
declare function Tooltip({ ...props }: ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
879
|
+
declare function TooltipTrigger({ ...props }: ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
880
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
881
|
+
|
|
805
882
|
type SegmentSize = "sm" | "md" | "lg";
|
|
806
883
|
declare function SegmentControl({ className, size, children, ...props }: ComponentProps<typeof Tabs$1.Root> & {
|
|
807
884
|
size?: SegmentSize;
|
|
@@ -812,13 +889,15 @@ interface SegmentControlListProps extends ComponentProps<typeof Tabs$1.List> {
|
|
|
812
889
|
declare function SegmentControlList({ className, containerClassName, ...props }: SegmentControlListProps): react_jsx_runtime.JSX.Element;
|
|
813
890
|
interface SegmentControlTriggerProps extends ComponentProps<typeof Tabs$1.Trigger> {
|
|
814
891
|
icon?: ReactNode;
|
|
892
|
+
tooltip?: ReactNode;
|
|
893
|
+
tooltipSide?: ComponentProps<typeof TooltipContent>["side"];
|
|
815
894
|
badge?: number | string;
|
|
816
895
|
badgeVariant?: BadgeProps["variant"];
|
|
817
896
|
}
|
|
818
897
|
declare const segmentControlTriggerVariants: (props?: ({
|
|
819
898
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
820
899
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
821
|
-
declare function SegmentControlTrigger({ className, icon, badge, badgeVariant, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
|
|
900
|
+
declare function SegmentControlTrigger({ className, icon, tooltip, tooltipSide, badge, badgeVariant, children, ...props }: SegmentControlTriggerProps): react_jsx_runtime.JSX.Element;
|
|
822
901
|
declare function SegmentControlContent({ className, ...props }: ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
823
902
|
|
|
824
903
|
declare function Separator({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -835,11 +914,6 @@ declare function SheetFooter({ className, ...props }: ComponentProps<"div">): re
|
|
|
835
914
|
declare function SheetTitle({ className, ...props }: ComponentProps<typeof Dialog$1.Title>): react_jsx_runtime.JSX.Element;
|
|
836
915
|
declare function SheetDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
|
|
837
916
|
|
|
838
|
-
declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
839
|
-
declare function Tooltip({ ...props }: ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
840
|
-
declare function TooltipTrigger({ ...props }: ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
841
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime.JSX.Element;
|
|
842
|
-
|
|
843
917
|
type SidebarContextProps = {
|
|
844
918
|
state: "expanded" | "collapsed";
|
|
845
919
|
open: boolean;
|
|
@@ -1076,4 +1150,4 @@ declare function useToast(): {
|
|
|
1076
1150
|
|
|
1077
1151
|
declare function useIsMobile(): boolean;
|
|
1078
1152
|
|
|
1079
|
-
export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, type AlertDialogIconProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTag, type AlertDialogTagProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogVariant, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardContinue, CardContinueBreadcrumb, type CardContinueBreadcrumbProps, CardContinueButton, CardContinueContent, CardContinueHeader, CardContinueImage, type CardContinueImageProps, CardContinueTitle, CardLesson, CardLessonButton, CardLessonContent, CardLessonDuration, CardLessonFooter, CardLessonHeader, CardLessonIcon, type CardLessonIconProps, CardLessonIcons, CardLessonImage, type CardLessonImageProps, CardLessonLabel, type CardLessonOrientation, type CardLessonProps, CardLessonStatus, type CardLessonStatusProps, type CardLessonStatusType, CardLessonTitle, type CardLessonVariant, CardModule, CardModuleAction, CardModuleButton, CardModuleFooter, CardModuleHeader, CardModuleLabel, type CardModuleLabelProps, CardModuleProgress, type CardModuleProgressProps, type CardModuleProps, CardModuleTitle, type CardModuleVariant, CardNews, CardNewsAuthor, type CardNewsAuthorProps, CardNewsBody, CardNewsContent, CardNewsDate, type CardNewsDateProps, CardNewsDescription, CardNewsFooter, CardNewsHeader, CardNewsImage, type CardNewsImageProps, type CardNewsProps, CardNewsResourceItem, CardNewsResources, type CardNewsResourcesProps, CardNewsTags, CardNewsTitle, CardTopic, CardTopicColumn, CardTopicContent, CardTopicCount, CardTopicNumber, CardTopicProgress, type CardTopicProgressProps, type CardTopicProps, CardTopicTitle, CardTopicTrigger, type CardTopicVariant, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FallbackImage, type FallbackImageProps, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, LogoCircular, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, 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, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, cardLessonVariants, cardModuleStatusVariants, cardModuleVariants, checkboxVariants, datePickerTriggerVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useToast };
|
|
1153
|
+
export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, type AlertDialogIconProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTag, type AlertDialogTagProps, AlertDialogTitle, AlertDialogTrigger, type AlertDialogVariant, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardContinue, CardContinueBreadcrumb, type CardContinueBreadcrumbProps, CardContinueButton, CardContinueContent, CardContinueHeader, CardContinueImage, type CardContinueImageProps, CardContinueTitle, CardLesson, CardLessonButton, CardLessonContent, CardLessonDuration, CardLessonFooter, CardLessonHeader, CardLessonIcon, type CardLessonIconProps, CardLessonIcons, CardLessonImage, type CardLessonImageProps, CardLessonLabel, type CardLessonOrientation, type CardLessonProps, CardLessonStatus, type CardLessonStatusProps, type CardLessonStatusType, CardLessonTitle, type CardLessonVariant, CardModule, CardModuleAction, CardModuleButton, CardModuleFooter, CardModuleHeader, CardModuleLabel, type CardModuleLabelProps, CardModuleProgress, type CardModuleProgressProps, type CardModuleProps, CardModuleTitle, type CardModuleVariant, CardNews, CardNewsAuthor, type CardNewsAuthorProps, CardNewsBody, CardNewsContent, CardNewsDate, type CardNewsDateProps, CardNewsDescription, CardNewsFooter, CardNewsHeader, CardNewsImage, type CardNewsImageProps, type CardNewsProps, CardNewsResourceItem, CardNewsResources, type CardNewsResourcesProps, CardNewsTags, CardNewsTitle, CardTopic, CardTopicColumn, CardTopicContent, CardTopicCount, CardTopicNumber, CardTopicProgress, type CardTopicProgressProps, type CardTopicProps, CardTopicTitle, CardTopicTrigger, type CardTopicVariant, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, DatePicker, DatePickerLabel, type DatePickerLabelProps, type DatePickerProps, DatePickerText, type DatePickerValue, DatePickerWrapper, DateRangePicker, type DateRangePickerProps, type DateRangeValue, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FallbackImage, type FallbackImageProps, LEVEL_LABELS as INDEX_LEVEL_LABELS, IndexLevel, IndexLevelAnimated, type IndexLevelAnimatedProps, IndexLevelIcon, type IndexLevelIconProps, type IndexLevelProps, type IndexLevelSpecialty, type IndexLevelSpecialtyProp, type IndexLevelValue, Input, InputAdornment, InputEndIcon, InputField, InputLabel, type InputLabelProps, InputNumeric, type InputNumericProps, InputPassword, type InputPasswordProps, type InputProps, InputStartIcon, InputText, type InputTextProps, type InputType, InputWrapper, Label, type LabelProps, Loading, type LoadingProps, Logo, LogoCircular, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, type ProgressStatusKey, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, type SelectItemProps, SelectLabel, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, 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, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, applyInputIconSize, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, cardLessonVariants, cardModuleStatusVariants, cardModuleVariants, checkboxVariants, datePickerTriggerVariants, indexLevelAnimatedVariants, indexLevelIconVariants, indexLevelVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useToast };
|