@lotte-innovate/ui-component-test 0.0.18 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{Typography → lib/Typography}/Header/index.d.ts +1 -1
- package/dist/{Typography/Header/index.js → lib/Typography/Header/index.jsx} +7 -4
- package/dist/{Typography → lib/Typography}/Text/index.d.ts +1 -2
- package/dist/{Typography/Text/index.js → lib/Typography/Text/index.jsx} +8 -5
- package/dist/{color → lib/color}/constants.d.ts +1 -1
- package/dist/{components → lib/components}/Accordion/index.d.ts +1 -1
- package/dist/{components/Accordion/index.js → lib/components/Accordion/index.jsx} +19 -7
- package/dist/{components → lib/components}/AlertDialog/AlertDialogAction.d.ts +1 -1
- package/dist/{components/AlertDialog/AlertDialogAction.js → lib/components/AlertDialog/AlertDialogAction.jsx} +6 -5
- package/dist/{components → lib/components}/AlertDialog/AlertDialogCancel.d.ts +1 -1
- package/dist/{components/AlertDialog/AlertDialogCancel.js → lib/components/AlertDialog/AlertDialogCancel.jsx} +6 -5
- package/dist/{components/AlertDialog/AlertDialogContent.js → lib/components/AlertDialog/AlertDialogContent.jsx} +9 -5
- package/dist/{components/AlertDialog/AlertDialogDescription.js → lib/components/AlertDialog/AlertDialogDescription.jsx} +5 -15
- package/dist/{components/AlertDialog/AlertDialogTitle.js → lib/components/AlertDialog/AlertDialogTitle.jsx} +5 -15
- package/dist/{components → lib/components}/AlertDialog/AlertDialogTrigger.d.ts +1 -1
- package/dist/{components/AlertDialog/AlertDialogTrigger.js → lib/components/AlertDialog/AlertDialogTrigger.jsx} +6 -5
- package/dist/{components → lib/components}/AlertDialog/index.d.ts +1 -1
- package/dist/{components/AlertDialog/index.js → lib/components/AlertDialog/index.jsx} +4 -14
- package/dist/{components/AspectRatio/index.js → lib/components/AspectRatio/index.jsx} +6 -5
- package/dist/{components/Avatar/index.js → lib/components/Avatar/index.jsx} +9 -5
- package/dist/{components → lib/components}/Badge/index.d.ts +1 -1
- package/dist/{components/Badge/index.js → lib/components/Badge/index.jsx} +6 -5
- package/dist/{components → lib/components}/BubbleChart/index.d.ts +3 -2
- package/dist/{components/BubbleChart/index.js → lib/components/BubbleChart/index.jsx} +4 -4
- package/dist/{components → lib/components}/Button/index.d.ts +1 -1
- package/dist/{components/Button/index.js → lib/components/Button/index.jsx} +6 -5
- package/dist/{components/Callout/CalloutIcon.js → lib/components/Callout/CalloutIcon.jsx} +10 -5
- package/dist/{components/Callout/CalloutText.js → lib/components/Callout/CalloutText.jsx} +5 -15
- package/dist/{components → lib/components}/Callout/index.d.ts +1 -1
- package/dist/{components/Callout/index.js → lib/components/Callout/index.jsx} +8 -5
- package/dist/{components → lib/components}/Card/index.d.ts +1 -1
- package/dist/{components/Card/index.js → lib/components/Card/index.jsx} +6 -5
- package/dist/{components → lib/components}/Checkbox/index.d.ts +1 -1
- package/dist/{components/Checkbox/index.js → lib/components/Checkbox/index.jsx} +14 -6
- package/dist/{components → lib/components}/CheckboxCard/index.d.ts +2 -2
- package/dist/{components/CheckboxCard/index.js → lib/components/CheckboxCard/index.jsx} +9 -7
- package/dist/{components → lib/components}/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/{components/CheckboxGroup/CheckboxGroupItem.js → lib/components/CheckboxGroup/CheckboxGroupItem.jsx} +7 -15
- package/dist/{components → lib/components}/CheckboxGroup/index.d.ts +2 -2
- package/dist/{components/CheckboxGroup/index.js → lib/components/CheckboxGroup/index.jsx} +6 -3
- package/dist/{components/ContextMenu/ContextMenuCheckboxItem.js → lib/components/ContextMenu/ContextMenuCheckboxItem.jsx} +9 -16
- package/dist/{components/ContextMenu/ContextMenuContent.js → lib/components/ContextMenu/ContextMenuContent.jsx} +8 -5
- package/dist/{components/ContextMenu/ContextMenuGroup.js → lib/components/ContextMenu/ContextMenuGroup.jsx} +4 -14
- package/dist/{components/ContextMenu/ContextMenuItem.js → lib/components/ContextMenu/ContextMenuItem.jsx} +7 -5
- package/dist/{components/ContextMenu/ContextMenuItemIndicator.js → lib/components/ContextMenu/ContextMenuItemIndicator.jsx} +6 -5
- package/dist/{components/ContextMenu/ContextMenuLabel.js → lib/components/ContextMenu/ContextMenuLabel.jsx} +6 -5
- package/dist/{components/ContextMenu/ContextMenuRadioGroup.js → lib/components/ContextMenu/ContextMenuRadioGroup.jsx} +6 -14
- package/dist/{components/ContextMenu/ContextMenuRadioItem.js → lib/components/ContextMenu/ContextMenuRadioItem.jsx} +9 -16
- package/dist/{components/ContextMenu/ContextMenuSeparator.js → lib/components/ContextMenu/ContextMenuSeparator.jsx} +5 -15
- package/dist/{components/ContextMenu/ContextMenuSubContent.js → lib/components/ContextMenu/ContextMenuSubContent.jsx} +11 -8
- package/dist/{components/ContextMenu/ContextMenuSubTrigger.js → lib/components/ContextMenu/ContextMenuSubTrigger.jsx} +11 -16
- package/dist/{components/ContextMenu/ContextMenuTrigger.js → lib/components/ContextMenu/ContextMenuTrigger.jsx} +5 -15
- package/dist/{components → lib/components}/ContextMenu/index.d.ts +1 -1
- package/dist/{components/ContextMenu/index.js → lib/components/ContextMenu/index.jsx} +6 -14
- package/dist/{components/DataList/DataListItem.js → lib/components/DataList/DataListItem.jsx} +6 -5
- package/dist/{components/DataList/DataListLabel.js → lib/components/DataList/DataListLabel.jsx} +6 -5
- package/dist/{components/DataList/DataListValue.js → lib/components/DataList/DataListValue.jsx} +6 -5
- package/dist/{components/DataList/index.js → lib/components/DataList/index.jsx} +7 -15
- package/dist/{components → lib/components}/Dialog/DialogAction.d.ts +1 -1
- package/dist/{components/Dialog/DialogAction.js → lib/components/Dialog/DialogAction.jsx} +6 -16
- package/dist/{components/Dialog/DialogCancel.js → lib/components/Dialog/DialogCancel.jsx} +5 -15
- package/dist/{components/Dialog/DialogContent.js → lib/components/Dialog/DialogContent.jsx} +6 -5
- package/dist/{components/Dialog/DialogDescription.js → lib/components/Dialog/DialogDescription.jsx} +5 -15
- package/dist/{components/Dialog/DialogSlot.js → lib/components/Dialog/DialogSlot.jsx} +5 -15
- package/dist/{components/Dialog/DialogTitle.js → lib/components/Dialog/DialogTitle.jsx} +5 -15
- package/dist/{components/Dialog/DialogTrigger.js → lib/components/Dialog/DialogTrigger.jsx} +4 -14
- package/dist/{components/Dialog/index.js → lib/components/Dialog/index.jsx} +4 -14
- package/dist/{components → lib/components}/DoughnutChart/index.d.ts +2 -1
- package/dist/{components/DoughnutChart/index.js → lib/components/DoughnutChart/index.jsx} +4 -4
- package/dist/{components/DropdownMenu/DropdonMenuRadioGroup.js → lib/components/DropdownMenu/DropdonMenuRadioGroup.jsx} +6 -14
- package/dist/{components/DropdownMenu/DropdonMenuSubContent.js → lib/components/DropdownMenu/DropdonMenuSubContent.jsx} +12 -9
- package/dist/{components/DropdownMenu/DropdownMenuCheckboxItem.js → lib/components/DropdownMenu/DropdownMenuCheckboxItem.jsx} +9 -16
- package/dist/{components/DropdownMenu/DropdownMenuContent.js → lib/components/DropdownMenu/DropdownMenuContent.jsx} +8 -5
- package/dist/{components/DropdownMenu/DropdownMenuItem.js → lib/components/DropdownMenu/DropdownMenuItem.jsx} +7 -5
- package/dist/{components/DropdownMenu/DropdownMenuItemIndicator.js → lib/components/DropdownMenu/DropdownMenuItemIndicator.jsx} +6 -5
- package/dist/{components/DropdownMenu/DropdownMenuLable.js → lib/components/DropdownMenu/DropdownMenuLable.jsx} +6 -5
- package/dist/{components/DropdownMenu/DropdownMenuRadioItem.js → lib/components/DropdownMenu/DropdownMenuRadioItem.jsx} +9 -16
- package/dist/{components/DropdownMenu/DropdownMenuSeparator.js → lib/components/DropdownMenu/DropdownMenuSeparator.jsx} +3 -15
- package/dist/{components/DropdownMenu/DropdownMenuSub.js → lib/components/DropdownMenu/DropdownMenuSub.jsx} +2 -14
- package/dist/{components/DropdownMenu/DropdownMenuSubTrigger.js → lib/components/DropdownMenu/DropdownMenuSubTrigger.jsx} +9 -16
- package/dist/{components/DropdownMenu/DropdownMenuTrigger.js → lib/components/DropdownMenu/DropdownMenuTrigger.jsx} +5 -15
- package/dist/{components/DropdownMenu/index.js → lib/components/DropdownMenu/index.jsx} +2 -14
- package/dist/{components/HoverCard/HoverCardContent.js → lib/components/HoverCard/HoverCardContent.jsx} +6 -6
- package/dist/{components/HoverCard/HoverCardTrigger.js → lib/components/HoverCard/HoverCardTrigger.jsx} +4 -14
- package/dist/{components/HoverCard/index.js → lib/components/HoverCard/index.jsx} +4 -14
- package/dist/{components → lib/components}/IconButton/index.d.ts +1 -1
- package/dist/{components/IconButton/index.js → lib/components/IconButton/index.jsx} +5 -4
- package/dist/{components/Inset/index.js → lib/components/Inset/index.jsx} +8 -5
- package/dist/{components → lib/components}/Label/index.d.ts +1 -1
- package/dist/{components/Label/index.js → lib/components/Label/index.jsx} +5 -4
- package/dist/{components/Menubar/MenubarCheckboxItem.js → lib/components/Menubar/MenubarCheckboxItem.jsx} +9 -16
- package/dist/{components/Menubar/MenubarContent.js → lib/components/Menubar/MenubarContent.jsx} +12 -9
- package/dist/{components/Menubar/MenubarItem.js → lib/components/Menubar/MenubarItem.jsx} +7 -5
- package/dist/{components/Menubar/MenubarItemIndicator.js → lib/components/Menubar/MenubarItemIndicator.jsx} +6 -5
- package/dist/{components/Menubar/MenubarMenu.js → lib/components/Menubar/MenubarMenu.jsx} +2 -14
- package/dist/{components/Menubar/MenubarRadioGroup.js → lib/components/Menubar/MenubarRadioGroup.jsx} +6 -14
- package/dist/{components/Menubar/MenubarRadioItem.js → lib/components/Menubar/MenubarRadioItem.jsx} +9 -16
- package/dist/{components/Menubar/MenubarSeparator.js → lib/components/Menubar/MenubarSeparator.jsx} +5 -15
- package/dist/{components/Menubar/MenubarSub.js → lib/components/Menubar/MenubarSub.jsx} +2 -14
- package/dist/{components/Menubar/MenubarSubContent.js → lib/components/Menubar/MenubarSubContent.jsx} +7 -6
- package/dist/{components/Menubar/MenubarSubTrigger.js → lib/components/Menubar/MenubarSubTrigger.jsx} +9 -16
- package/dist/{components/Menubar/MenubarTrigger.js → lib/components/Menubar/MenubarTrigger.jsx} +6 -5
- package/dist/{components → lib/components}/Menubar/index.d.ts +1 -1
- package/dist/{components/Menubar/index.js → lib/components/Menubar/index.jsx} +8 -5
- package/dist/{components/NavigationMenu/NavigationMenuContent.js → lib/components/NavigationMenu/NavigationMenuContent.jsx} +6 -5
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
- package/dist/{components/NavigationMenu/NavigationMenuItem.js → lib/components/NavigationMenu/NavigationMenuItem.jsx} +4 -14
- package/dist/{components/NavigationMenu/NavigationMenuLink.js → lib/components/NavigationMenu/NavigationMenuLink.jsx} +6 -5
- package/dist/{components/NavigationMenu/NavigationMenuList.js → lib/components/NavigationMenu/NavigationMenuList.jsx} +7 -5
- package/dist/{components/NavigationMenu/NavigationMenuTrigger.js → lib/components/NavigationMenu/NavigationMenuTrigger.jsx} +7 -5
- package/dist/{components/NavigationMenu/NavigationMenuViewport.js → lib/components/NavigationMenu/NavigationMenuViewport.jsx} +6 -5
- package/dist/{components → lib/components}/NavigationMenu/index.d.ts +1 -1
- package/dist/{components/NavigationMenu/index.js → lib/components/NavigationMenu/index.jsx} +7 -15
- package/dist/{components → lib/components}/PieChart/index.d.ts +2 -1
- package/dist/{components/PieChart/index.js → lib/components/PieChart/index.jsx} +4 -4
- package/dist/{components/Popover/PopoverClose.js → lib/components/Popover/PopoverClose.jsx} +5 -15
- package/dist/{components/Popover/PopoverContent.js → lib/components/Popover/PopoverContent.jsx} +6 -5
- package/dist/{components/Popover/PopoverTrigger.js → lib/components/Popover/PopoverTrigger.jsx} +4 -14
- package/dist/{components/Popover/index.js → lib/components/Popover/index.jsx} +4 -14
- package/dist/{components/Progress/index.js → lib/components/Progress/index.jsx} +6 -5
- package/dist/{components → lib/components}/RadarChart/index.d.ts +3 -2
- package/dist/{components/RadarChart/index.js → lib/components/RadarChart/index.jsx} +4 -4
- package/dist/{components → lib/components}/Radio/index.d.ts +1 -1
- package/dist/{components/Radio/index.js → lib/components/Radio/index.jsx} +10 -15
- package/dist/{components/RadioCards/RadioCardsItem.js → lib/components/RadioCards/RadioCardsItem.jsx} +5 -15
- package/dist/{components/RadioCards/index.js → lib/components/RadioCards/index.jsx} +8 -5
- package/dist/{components/RadioGroup/RadioGroupItem.js → lib/components/RadioGroup/RadioGroupItem.jsx} +5 -15
- package/dist/{components → lib/components}/RadioGroup/index.d.ts +1 -1
- package/dist/{components/RadioGroup/index.js → lib/components/RadioGroup/index.jsx} +7 -15
- package/dist/{components/ScrollArea/index.js → lib/components/ScrollArea/index.jsx} +6 -14
- package/dist/{components/SegmentedControl/SegmentedControlItem.js → lib/components/SegmentedControl/SegmentedControlItem.jsx} +5 -15
- package/dist/{components → lib/components}/SegmentedControl/index.d.ts +1 -1
- package/dist/{components/SegmentedControl/index.js → lib/components/SegmentedControl/index.jsx} +7 -4
- package/dist/{components → lib/components}/Select/index.d.ts +1 -1
- package/dist/{components/Select/index.js → lib/components/Select/index.jsx} +27 -10
- package/dist/{components/Separator/index.js → lib/components/Separator/index.jsx} +7 -4
- package/dist/{components → lib/components}/Skeleton/index.d.ts +1 -1
- package/dist/{components/Skeleton/index.js → lib/components/Skeleton/index.jsx} +7 -4
- package/dist/{components → lib/components}/Slider/index.d.ts +1 -1
- package/dist/{components/Slider/index.js → lib/components/Slider/index.jsx} +5 -4
- package/dist/{components → lib/components}/Spinner/index.d.ts +1 -1
- package/dist/{components/Spinner/index.js → lib/components/Spinner/index.jsx} +7 -4
- package/dist/{components/TabNav/index.js → lib/components/TabNav/index.jsx} +9 -15
- package/dist/{components → lib/components}/Table/index.d.ts +1 -1
- package/dist/{components/Table/index.js → lib/components/Table/index.jsx} +25 -10
- package/dist/{components/Tabs/index.js → lib/components/Tabs/index.jsx} +16 -7
- package/dist/{components → lib/components}/TextArea/index.d.ts +1 -1
- package/dist/{components/TextArea/index.js → lib/components/TextArea/index.jsx} +5 -4
- package/dist/{components → lib/components}/TextField/index.d.ts +1 -1
- package/dist/{components/TextField/index.js → lib/components/TextField/index.jsx} +10 -5
- package/dist/{components → lib/components}/Toast/ToastActionButton.d.ts +1 -1
- package/dist/{components/Toast/ToastActionButton.js → lib/components/Toast/ToastActionButton.jsx} +7 -6
- package/dist/{components → lib/components}/Toast/ToastDescription.d.ts +1 -1
- package/dist/{components/Toast/ToastDescription.js → lib/components/Toast/ToastDescription.jsx} +7 -15
- package/dist/{components → lib/components}/Toast/ToastTitle.d.ts +1 -1
- package/dist/{components/Toast/ToastTitle.js → lib/components/Toast/ToastTitle.jsx} +5 -15
- package/dist/{components/Toast/index.js → lib/components/Toast/index.jsx} +11 -5
- package/dist/{components → lib/components}/Toggle/ToggleWithText.d.ts +1 -1
- package/dist/{components/Toggle/ToggleWithText.js → lib/components/Toggle/ToggleWithText.jsx} +9 -7
- package/dist/{components → lib/components}/Toggle/index.d.ts +1 -1
- package/dist/{components/Toggle/index.js → lib/components/Toggle/index.jsx} +6 -5
- package/dist/{components → lib/components}/ToggleGroup/index.d.ts +1 -1
- package/dist/{components/ToggleGroup/index.js → lib/components/ToggleGroup/index.jsx} +8 -5
- package/dist/{components → lib/components}/ToggleGroup/toggleGroupItem.d.ts +1 -1
- package/dist/{components/ToggleGroup/toggleGroupItem.js → lib/components/ToggleGroup/toggleGroupItem.jsx} +6 -16
- package/dist/{components/ToggleSwitch/index.js → lib/components/ToggleSwitch/index.jsx} +9 -5
- package/dist/{components → lib/components}/Tooltip/index.d.ts +1 -1
- package/dist/{components/Tooltip/index.js → lib/components/Tooltip/index.jsx} +13 -4
- package/dist/{constants.js → lib/constants.js} +1 -1
- package/package.json +3 -20
- package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
- /package/dist/{Typography → lib/Typography}/index.d.ts +0 -0
- /package/dist/{Typography → lib/Typography}/index.js +0 -0
- /package/dist/{color → lib/color}/alpha.d.ts +0 -0
- /package/dist/{color → lib/color}/alpha.js +0 -0
- /package/dist/{color → lib/color}/constants.js +0 -0
- /package/dist/{color → lib/color}/dark.d.ts +0 -0
- /package/dist/{color → lib/color}/dark.js +0 -0
- /package/dist/{color → lib/color}/krdsColors.d.ts +0 -0
- /package/dist/{color → lib/color}/krdsColors.js +0 -0
- /package/dist/{color → lib/color}/light.d.ts +0 -0
- /package/dist/{color → lib/color}/light.js +0 -0
- /package/dist/{components → lib/components}/AlertDialog/AlertDialogContent.d.ts +0 -0
- /package/dist/{components → lib/components}/AlertDialog/AlertDialogDescription.d.ts +0 -0
- /package/dist/{components → lib/components}/AlertDialog/AlertDialogTitle.d.ts +0 -0
- /package/dist/{components → lib/components}/AspectRatio/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Avatar/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Callout/CalloutIcon.d.ts +0 -0
- /package/dist/{components → lib/components}/Callout/CalloutText.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuContent.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuGroup.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuItem.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuItemIndicator.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuLabel.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuRadioGroup.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuRadioItem.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuSeparator.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuSubContent.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuSubTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/ContextMenu/ContextMenuTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/DataList/DataListItem.d.ts +0 -0
- /package/dist/{components → lib/components}/DataList/DataListLabel.d.ts +0 -0
- /package/dist/{components → lib/components}/DataList/DataListValue.d.ts +0 -0
- /package/dist/{components → lib/components}/DataList/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogCancel.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogContent.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogDescription.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogSlot.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogTitle.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/DialogTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/Dialog/index.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdonMenuSubContent.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuContent.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuItem.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuLable.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSeparator.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSub.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/DropdownMenu/index.d.ts +0 -0
- /package/dist/{components → lib/components}/HoverCard/HoverCardContent.d.ts +0 -0
- /package/dist/{components → lib/components}/HoverCard/HoverCardTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/HoverCard/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Inset/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarCheckboxItem.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarContent.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarItem.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarItemIndicator.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarMenu.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarRadioGroup.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarRadioItem.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarSeparator.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarSub.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarSubContent.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarSubTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/Menubar/MenubarTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuContent.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuIndicator.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuItem.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuLink.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuList.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuViewport.d.ts +0 -0
- /package/dist/{components → lib/components}/Popover/PopoverClose.d.ts +0 -0
- /package/dist/{components → lib/components}/Popover/PopoverContent.d.ts +0 -0
- /package/dist/{components → lib/components}/Popover/PopoverTrigger.d.ts +0 -0
- /package/dist/{components → lib/components}/Popover/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Progress/index.d.ts +0 -0
- /package/dist/{components → lib/components}/RadioCards/RadioCardsItem.d.ts +0 -0
- /package/dist/{components → lib/components}/RadioCards/index.d.ts +0 -0
- /package/dist/{components → lib/components}/RadioGroup/RadioGroupItem.d.ts +0 -0
- /package/dist/{components → lib/components}/ScrollArea/index.d.ts +0 -0
- /package/dist/{components → lib/components}/SegmentedControl/SegmentedControlItem.d.ts +0 -0
- /package/dist/{components → lib/components}/Separator/index.d.ts +0 -0
- /package/dist/{components → lib/components}/TabNav/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Tabs/index.d.ts +0 -0
- /package/dist/{components → lib/components}/Toast/index.d.ts +0 -0
- /package/dist/{components → lib/components}/ToggleSwitch/index.d.ts +0 -0
- /package/dist/{components → lib/components}/index.d.ts +0 -0
- /package/dist/{components → lib/components}/index.js +0 -0
- /package/dist/{constants.d.ts → lib/constants.d.ts} +0 -0
- /package/dist/{types.d.ts → lib/types.d.ts} +0 -0
- /package/dist/{types.js → lib/types.js} +0 -0
- /package/dist/{utils → lib/utils}/utils.d.ts +0 -0
- /package/dist/{utils → lib/utils}/utils.js +0 -0
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import
|
24
|
-
import { forwardRef } from 'react';
|
23
|
+
import React, { forwardRef } from 'react';
|
25
24
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
26
|
-
import { cn } from 'utils/utils';
|
25
|
+
import { cn } from 'lib/utils/utils';
|
27
26
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { appearanceStyle, radiusVariants, scalingVariants } from '
|
27
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
29
28
|
import { NavigationMenuIndicator } from './NavigationMenuIndicator';
|
30
29
|
import { useNavigationMenuContext } from '.';
|
31
30
|
export var navigationMenuListVariants = cva('flex items-center p-1 space-x-1 shadow-slate-4 shadow dark:shadow-slateDark-4 bg-white dark:bg-slateDark-1', {
|
@@ -42,6 +41,9 @@ export var NavigationMenuList = forwardRef(function (_a, ref) {
|
|
42
41
|
var children = _a.children, className = _a.className, _b = _a.isShowIndicator, isShowIndicator = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIndicator"]);
|
43
42
|
var _c = useNavigationMenuContext(), scaling = _c.scaling, radius = _c.radius, _d = _c.appearance, appearance = _d === void 0 ? 'ghost' : _d, _e = _c.color, color = _e === void 0 ? 'red' : _e;
|
44
43
|
var navigationMenuListClassName = cn(navigationMenuListVariants({ scaling: scaling, radius: radius }), appearanceStyle(appearance, color, false), 'border-none', appearance === 'ghost' && 'bg-white', className);
|
45
|
-
return (
|
44
|
+
return (<NavigationMenuPrimitive.List ref={ref} className={navigationMenuListClassName} {...props}>
|
45
|
+
{children}
|
46
|
+
{isShowIndicator && <NavigationMenuIndicator />}
|
47
|
+
</NavigationMenuPrimitive.List>);
|
46
48
|
});
|
47
49
|
NavigationMenuList.displayName = 'NavigationMenuList';
|
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import
|
24
|
-
import { forwardRef } from 'react';
|
23
|
+
import React, { forwardRef } from 'react';
|
25
24
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
26
|
-
import { cn } from 'utils/utils';
|
25
|
+
import { cn } from 'lib/utils/utils';
|
27
26
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { appearanceStyle, scalingVariants } from '
|
27
|
+
import { appearanceStyle, scalingVariants } from 'lib/constants';
|
29
28
|
import { CaretDownIcon } from '@radix-ui/react-icons';
|
30
29
|
import { useNavigationMenuContext } from '.';
|
31
30
|
export var navigationMenuTriggerVariants = cva("flex items-center justify-between outline-none select-none leading-none py-1 px-3 font-medium", {
|
@@ -53,6 +52,9 @@ export var NavigationMenuTrigger = forwardRef(function (_a, ref) {
|
|
53
52
|
var children = _a.children, className = _a.className, _b = _a.isShowIcon, isShowIcon = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIcon"]);
|
54
53
|
var _c = useNavigationMenuContext(), scaling = _c.scaling, size = _c.size, radius = _c.radius, _d = _c.color, color = _d === void 0 ? 'red' : _d, _e = _c.appearance, appearance = _e === void 0 ? 'ghost' : _e;
|
55
54
|
var triggerClassName = cn(navigationMenuTriggerVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
|
56
|
-
return (
|
55
|
+
return (<NavigationMenuPrimitive.Trigger ref={ref} className={triggerClassName} {...props}>
|
56
|
+
{children}
|
57
|
+
{isShowIcon && (<CaretDownIcon className={cn("relative top-[1px] transition-transform duration-[250] ease-in group-data-[state=open]:-rotate-180")} aria-hidden/>)}
|
58
|
+
</NavigationMenuPrimitive.Trigger>);
|
57
59
|
});
|
58
60
|
NavigationMenuTrigger.displayName = 'NavigationMenuTrigger';
|
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
23
|
+
import React, { forwardRef } from 'react';
|
25
24
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
26
|
-
import { cn } from 'utils/utils';
|
25
|
+
import { cn } from 'lib/utils/utils';
|
27
26
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { radiusVariants, scalingVariants, weightVariants } from '
|
27
|
+
import { radiusVariants, scalingVariants, weightVariants } from 'lib/constants';
|
29
28
|
import { useNavigationMenuContext } from '.';
|
30
29
|
export var navigationViewportVariants = cva("data-[state=open]:animate-scaleIn data-[state=closed]:animate-scaleOut relative mt-[10px] \n h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden \n transition-[width,_height] duration-300 shadow-slate-4 shadow dark:shadow-slateDark-4\n sm:w-[var(--radix-navigation-menu-viewport-width)]", {
|
31
30
|
variants: {
|
@@ -48,6 +47,8 @@ export var NavigationMenuViewport = forwardRef(function (_a, ref) {
|
|
48
47
|
var className = _a.className, props = __rest(_a, ["className"]);
|
49
48
|
var _b = useNavigationMenuContext(), size = _b.size, scaling = _b.scaling, radius = _b.radius;
|
50
49
|
var viewportClassName = cn(navigationViewportVariants({ size: size, scaling: scaling, radius: radius }), className);
|
51
|
-
return (
|
50
|
+
return (<div className="perspective-[2000px] absolute top-full left-0 flex w-full justify-center ">
|
51
|
+
<NavigationMenuPrimitive.Viewport ref={ref} className={viewportClassName} {...props}/>
|
52
|
+
</div>);
|
52
53
|
});
|
53
54
|
NavigationMenuViewport.displayName = 'NavigationMenuViewport';
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import { navigationMenuListVariants } from './NavigationMenuList';
|
5
5
|
import { navigationMenuTriggerVariants } from './NavigationMenuTrigger';
|
6
6
|
import { navigationMenuLinkVariants } from './NavigationMenuLink';
|
7
|
-
import { IColor } from 'types';
|
7
|
+
import { IColor } from 'lib/types';
|
8
8
|
export * from './NavigationMenuList';
|
9
9
|
export * from './NavigationMenuItem';
|
10
10
|
export * from './NavigationMenuTrigger';
|
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,10 +9,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef, createContext, useContext, } from 'react';
|
12
|
+
import React, { forwardRef, createContext, useContext, } from 'react';
|
25
13
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
26
|
-
import { cn } from 'utils/utils';
|
14
|
+
import { cn } from 'lib/utils/utils';
|
27
15
|
export * from './NavigationMenuList';
|
28
16
|
export * from './NavigationMenuItem';
|
29
17
|
export * from './NavigationMenuTrigger';
|
@@ -44,7 +32,11 @@ export var useNavigationMenuContext = function () {
|
|
44
32
|
export var NavigationMenu = forwardRef(function (_a, ref) {
|
45
33
|
var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance"]);
|
46
34
|
var contextValue = { radius: radius, size: size, scaling: scaling, color: color, appearance: appearance };
|
47
|
-
return (
|
35
|
+
return (<NavigationMenuContext.Provider value={contextValue}>
|
36
|
+
<NavigationMenuPrimitive.Root ref={ref} className={cn('flex relative z-[1] w-screen justify-center', className)} {...props}>
|
37
|
+
{children}
|
38
|
+
</NavigationMenuPrimitive.Root>
|
39
|
+
</NavigationMenuContext.Provider>);
|
48
40
|
});
|
49
41
|
NavigationMenu.displayName = 'NavigationMenu';
|
50
42
|
export default NavigationMenu;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
2
3
|
export interface PieChartProps extends VariantProps<typeof PieVariants> {
|
3
4
|
labels?: string[];
|
@@ -19,5 +20,5 @@ export interface PieChartProps extends VariantProps<typeof PieVariants> {
|
|
19
20
|
declare const PieVariants: (props?: ({
|
20
21
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
21
22
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
22
|
-
declare const PieChart: ({ labels, datasets, scaling, className, ...rest }: PieChartProps) =>
|
23
|
+
declare const PieChart: ({ labels, datasets, scaling, className, ...rest }: PieChartProps) => React.JSX.Element;
|
23
24
|
export default PieChart;
|
@@ -20,13 +20,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import
|
23
|
+
import React from 'react';
|
24
24
|
import { Pie } from 'react-chartjs-2';
|
25
25
|
import { Chart as ChartJS, ArcElement, Tooltip, Legend, plugins } from 'chart.js';
|
26
26
|
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
27
|
-
import { cn } from 'utils/utils';
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { scalingVariants } from '
|
29
|
+
import { scalingVariants } from 'lib/constants';
|
30
30
|
ChartJS.register(ArcElement, Tooltip, Legend, plugins, ChartDataLabels);
|
31
31
|
ChartJS.defaults.set('plugins.datalabels', {
|
32
32
|
display: false,
|
@@ -41,6 +41,6 @@ var PieVariants = cva('', {
|
|
41
41
|
});
|
42
42
|
var PieChart = function (_a) {
|
43
43
|
var labels = _a.labels, datasets = _a.datasets, scaling = _a.scaling, className = _a.className, rest = __rest(_a, ["labels", "datasets", "scaling", "className"]);
|
44
|
-
return (
|
44
|
+
return (<Pie data={{ labels: labels, datasets: datasets }} className={cn(PieVariants({ scaling: scaling }), className)} {...rest}/>);
|
45
45
|
};
|
46
46
|
export default PieChart;
|
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,11 +9,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
12
|
+
import React, { forwardRef } from 'react';
|
25
13
|
import { cva } from 'class-variance-authority';
|
26
14
|
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
15
|
+
import { cn } from 'lib/utils/utils';
|
28
16
|
export var popoverCloseVariants = cva('', {
|
29
17
|
variants: {
|
30
18
|
radius: {
|
@@ -41,6 +29,8 @@ export var popoverCloseVariants = cva('', {
|
|
41
29
|
});
|
42
30
|
export var PopoverClose = forwardRef(function (_a, ref) {
|
43
31
|
var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, ["className", "children", "radius"]);
|
44
|
-
return (
|
32
|
+
return (<PopoverTheme.Close ref={ref} className={cn(popoverCloseVariants({ radius: radius }), className)} {...props}>
|
33
|
+
{children}
|
34
|
+
</PopoverTheme.Close>);
|
45
35
|
});
|
46
36
|
PopoverClose.displayName = 'PopoverClose';
|
package/dist/{components/Popover/PopoverContent.js → lib/components/Popover/PopoverContent.jsx}
RENAMED
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import {
|
24
|
-
import {
|
25
|
-
import { scalingVariants } from '../../constants';
|
23
|
+
import React, { forwardRef } from 'react';
|
24
|
+
import { scalingVariants } from 'lib/constants';
|
26
25
|
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
27
26
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
29
28
|
export var popoverContentVariants = cva('flex gap-2 bg-white dark:bg-slateDark-1 border-slateA-6 dark:border-slateDarkA-6', {
|
30
29
|
variants: {
|
31
30
|
radius: {
|
@@ -58,6 +57,8 @@ export var PopoverContent = forwardRef(function (_a, ref) {
|
|
58
57
|
sizeTheme = '3';
|
59
58
|
if (size === 'x-large')
|
60
59
|
sizeTheme = '4';
|
61
|
-
return (
|
60
|
+
return (<PopoverTheme.Content ref={ref} size={sizeTheme} className={cn(popoverContentVariants({ size: size, radius: radius, scaling: scaling }), className)} {...props}>
|
61
|
+
{children}
|
62
|
+
</PopoverTheme.Content>);
|
62
63
|
});
|
63
64
|
PopoverContent.displayName = 'PopoverContent';
|
package/dist/{components/Popover/PopoverTrigger.js → lib/components/Popover/PopoverTrigger.jsx}
RENAMED
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,11 +9,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
12
|
+
import React, { forwardRef } from 'react';
|
25
13
|
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
26
14
|
export var PopoverTrigger = forwardRef(function (_a, ref) {
|
27
15
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
28
|
-
return (
|
16
|
+
return (<PopoverTheme.Trigger ref={ref} {...props} className={className}>
|
17
|
+
{children}
|
18
|
+
</PopoverTheme.Trigger>);
|
29
19
|
});
|
30
20
|
PopoverTrigger.displayName = 'PopoverTrigger';
|
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,15 +9,16 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
12
|
+
import React, { forwardRef } from 'react';
|
25
13
|
import { Theme, Popover as PopoverTheme } from '@radix-ui/themes';
|
26
14
|
export * from './PopoverTrigger';
|
27
15
|
export * from './PopoverContent';
|
28
16
|
export * from './PopoverClose';
|
29
17
|
export var Popover = forwardRef(function (_a, ref) {
|
30
18
|
var children = _a.children, props = __rest(_a, ["children"]);
|
31
|
-
return (
|
19
|
+
return (<Theme>
|
20
|
+
<PopoverTheme.Root {...props}>{children}</PopoverTheme.Root>
|
21
|
+
</Theme>);
|
32
22
|
});
|
33
23
|
Popover.displayName = 'Popover';
|
34
24
|
export default Popover;
|
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
23
|
+
import React, { forwardRef } from 'react';
|
25
24
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { scalingVariants, bgColorStyle } from '
|
25
|
+
import { scalingVariants, bgColorStyle } from 'lib/constants';
|
27
26
|
import { Theme, Progress as ProgressTheme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
29
28
|
var progressVariants = cva('w-[300px]', {
|
30
29
|
variants: {
|
31
30
|
radius: {
|
@@ -51,7 +50,9 @@ var progressVariants = cva('w-[300px]', {
|
|
51
50
|
});
|
52
51
|
export var Progress = forwardRef(function (_a, ref) {
|
53
52
|
var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, value = _a.value, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, scaling = _a.scaling, props = __rest(_a, ["className", "children", "radius", "size", "value", "appearance", "color", "scaling"]);
|
54
|
-
return (
|
53
|
+
return (<Theme accentColor={color}>
|
54
|
+
<ProgressTheme ref={ref} value={value} variant={appearance} className={cn(progressVariants({ radius: radius, size: size, scaling: scaling }), className)} {...props}/>
|
55
|
+
</Theme>);
|
55
56
|
});
|
56
57
|
Progress.displayName = 'Progress';
|
57
58
|
export default Progress;
|
@@ -1,5 +1,6 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { VariantProps } from 'class-variance-authority';
|
2
|
-
import { PointStyle } from 'types';
|
3
|
+
import { PointStyle } from 'lib/types';
|
3
4
|
export interface RadarChartProps extends VariantProps<typeof radarChartVariants> {
|
4
5
|
labels?: string[];
|
5
6
|
datasets: {
|
@@ -28,7 +29,7 @@ declare const radarChartVariants: (props?: ({
|
|
28
29
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
29
30
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
30
31
|
export declare const RadarChart: {
|
31
|
-
({ className, labels, datasets, width, height, scaling, ...props }: RadarChartProps):
|
32
|
+
({ className, labels, datasets, width, height, scaling, ...props }: RadarChartProps): React.JSX.Element;
|
32
33
|
displayName: string;
|
33
34
|
};
|
34
35
|
export default RadarChart;
|
@@ -20,11 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import
|
23
|
+
import React from 'react';
|
24
24
|
import { cva } from 'class-variance-authority';
|
25
|
-
import { scalingVariants } from '
|
25
|
+
import { scalingVariants } from 'lib/constants';
|
26
26
|
import { Radar } from 'react-chartjs-2';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
28
28
|
import { Chart as ChartJS, RadialLinearScale, PointElement, LineElement, Filler, Tooltip, Legend, } from 'chart.js/auto';
|
29
29
|
ChartJS.register(RadialLinearScale, PointElement, LineElement, Filler, Tooltip, Legend);
|
30
30
|
var radarChartVariants = cva('', {
|
@@ -37,7 +37,7 @@ var radarChartVariants = cva('', {
|
|
37
37
|
});
|
38
38
|
export var RadarChart = function (_a) {
|
39
39
|
var className = _a.className, labels = _a.labels, datasets = _a.datasets, width = _a.width, height = _a.height, scaling = _a.scaling, props = __rest(_a, ["className", "labels", "datasets", "width", "height", "scaling"]);
|
40
|
-
return (
|
40
|
+
return (<Radar data={{ labels: labels, datasets: datasets }} className={cn(radarChartVariants({ scaling: scaling }), className)} width={width} height={height} {...props}/>);
|
41
41
|
};
|
42
42
|
RadarChart.displayName = 'RadarChart';
|
43
43
|
export default RadarChart;
|
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,12 +9,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
12
|
import React from 'react';
|
25
13
|
import { cva } from 'class-variance-authority';
|
26
14
|
import { Theme, Radio as RadioTheme, Flex } from '@radix-ui/themes';
|
27
|
-
import { Text } from 'Typography/Text';
|
28
|
-
import { cn } from '
|
15
|
+
import { Text } from 'lib/Typography/Text';
|
16
|
+
import { cn } from 'lib/utils/utils';
|
29
17
|
var radioVariants = cva('font-normal', {
|
30
18
|
variants: {
|
31
19
|
size: {
|
@@ -45,7 +33,14 @@ export var Radio = React.forwardRef(function (_a, ref) {
|
|
45
33
|
sizeTheme = '1';
|
46
34
|
if (size === 'large')
|
47
35
|
sizeTheme = '3';
|
48
|
-
return (
|
36
|
+
return (<Theme accentColor={color} scaling={scaling}>
|
37
|
+
<Flex asChild className={cn(radioVariants({ size: size }), className)}>
|
38
|
+
<Text as="label" size={sizeTheme}>
|
39
|
+
<RadioTheme ref={ref} value={value} variant={appearance} size={sizeTheme} {...props}/>
|
40
|
+
{children}
|
41
|
+
</Text>
|
42
|
+
</Flex>
|
43
|
+
</Theme>);
|
49
44
|
});
|
50
45
|
Radio.displayName = 'Radio';
|
51
46
|
export default Radio;
|
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,11 +9,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
12
|
+
import React, { forwardRef } from 'react';
|
25
13
|
import { cva } from 'class-variance-authority';
|
26
14
|
import { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
15
|
+
import { cn } from 'lib/utils/utils';
|
28
16
|
export var radioCardsItemVariants = cva('bg-white dark:bg-slateDark-1 text-slateA-12 dark:text-slateDarkA-12 border-slateA-6 dark:border-slateDarkA-6 font-normal disabled:text-slateA-9 dark:disabled:text-slateDarkA-9', {
|
29
17
|
variants: {
|
30
18
|
radius: {
|
@@ -47,6 +35,8 @@ export var radioCardsItemVariants = cva('bg-white dark:bg-slateDark-1 text-slate
|
|
47
35
|
});
|
48
36
|
export var RadioCardsItem = forwardRef(function (_a, ref) {
|
49
37
|
var children = _a.children, className = _a.className, radius = _a.radius, size = _a.size, value = _a.value, props = __rest(_a, ["children", "className", "radius", "size", "value"]);
|
50
|
-
return (
|
38
|
+
return (<RadioCardsTheme.Item ref={ref} value={value} className={cn(radioCardsItemVariants({ radius: radius, size: size }), className)} {...props}>
|
39
|
+
{children}
|
40
|
+
</RadioCardsTheme.Item>);
|
51
41
|
});
|
52
42
|
RadioCardsItem.displayName = 'RadioCardsItem';
|
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
23
|
+
import React, { forwardRef } from 'react';
|
25
24
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { scalingVariants } from '
|
25
|
+
import { scalingVariants } from 'lib/constants';
|
27
26
|
import { Theme, RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '
|
27
|
+
import { cn } from 'lib/utils/utils';
|
29
28
|
export * from './RadioCardsItem';
|
30
29
|
var radioCardsVariants = cva('flex items-center gap-2', {
|
31
30
|
variants: {
|
@@ -37,7 +36,11 @@ var radioCardsVariants = cva('flex items-center gap-2', {
|
|
37
36
|
});
|
38
37
|
export var RadioCards = forwardRef(function (_a, ref) {
|
39
38
|
var children = _a.children, className = _a.className, scaling = _a.scaling, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, props = __rest(_a, ["children", "className", "scaling", "appearance", "color"]);
|
40
|
-
return (
|
39
|
+
return (<Theme accentColor={color}>
|
40
|
+
<RadioCardsTheme.Root ref={ref} variant={appearance} className={cn(radioCardsVariants({ scaling: scaling }), className)} {...props}>
|
41
|
+
{children}
|
42
|
+
</RadioCardsTheme.Root>
|
43
|
+
</Theme>);
|
41
44
|
});
|
42
45
|
RadioCards.displayName = 'RadioCards';
|
43
46
|
export default RadioCards;
|
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,11 +9,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
12
|
+
import React, { forwardRef } from 'react';
|
25
13
|
import { cva } from 'class-variance-authority';
|
26
14
|
import { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
27
|
-
import { cn } from '
|
15
|
+
import { cn } from 'lib/utils/utils';
|
28
16
|
var radioGroupItemVariants = cva('font-normal text-slate-12 dark:text-slateDark-12', {
|
29
17
|
variants: {
|
30
18
|
size: {
|
@@ -39,6 +27,8 @@ var radioGroupItemVariants = cva('font-normal text-slate-12 dark:text-slateDark-
|
|
39
27
|
});
|
40
28
|
export var RadioGroupItem = forwardRef(function (_a, ref) {
|
41
29
|
var className = _a.className, children = _a.children, value = _a.value, size = _a.size, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, props = __rest(_a, ["className", "children", "value", "size", "appearance"]);
|
42
|
-
return (
|
30
|
+
return (<RadioGroupTheme.Item ref={ref} value={value} className={cn(radioGroupItemVariants({ size: size }), className)} {...props}>
|
31
|
+
{children}
|
32
|
+
</RadioGroupTheme.Item>);
|
43
33
|
});
|
44
34
|
RadioGroupItem.displayName = 'RadioGroupItem';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IScaling } from 'types';
|
4
|
+
import { IScaling } from 'lib/types';
|
5
5
|
export * from './RadioGroupItem';
|
6
6
|
export interface RadioGroupProps extends VariantProps<typeof radioGroupVariants> {
|
7
7
|
color?: any;
|
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,11 +9,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
12
|
+
import React, { forwardRef } from 'react';
|
25
13
|
import { Theme, RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
26
14
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from '
|
15
|
+
import { cn } from 'lib/utils/utils';
|
28
16
|
export * from './RadioGroupItem';
|
29
17
|
var radioGroupVariants = cva('', {
|
30
18
|
variants: {
|
@@ -45,7 +33,11 @@ export var RadioGroup = forwardRef(function (_a, ref) {
|
|
45
33
|
sizeTheme = '1';
|
46
34
|
if (size === 'large')
|
47
35
|
sizeTheme = '3';
|
48
|
-
return (
|
36
|
+
return (<Theme accentColor={color} scaling={scaling}>
|
37
|
+
<RadioGroupTheme.Root ref={ref} size={sizeTheme} variant={appearance} className={cn(radioGroupVariants({ size: size }), className)} {...props}>
|
38
|
+
{children}
|
39
|
+
</RadioGroupTheme.Root>
|
40
|
+
</Theme>);
|
49
41
|
});
|
50
42
|
RadioGroup.displayName = 'RadioGroup';
|
51
43
|
export default RadioGroup;
|
@@ -1,14 +1,3 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
13
2
|
var t = {};
|
14
3
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
@@ -20,8 +9,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
9
|
}
|
21
10
|
return t;
|
22
11
|
};
|
23
|
-
import {
|
24
|
-
import { forwardRef } from 'react';
|
12
|
+
import React, { forwardRef } from 'react';
|
25
13
|
import { Theme, ScrollArea as ScrollAreaTheme } from '@radix-ui/themes';
|
26
14
|
export var ScrollArea = forwardRef(function (_a, ref) {
|
27
15
|
var className = _a.className, children = _a.children, scrollbars = _a.scrollbars, radius = _a.radius, _b = _a.size, size = _b === void 0 ? 'small' : _b, props = __rest(_a, ["className", "children", "scrollbars", "radius", "size"]);
|
@@ -30,7 +18,11 @@ export var ScrollArea = forwardRef(function (_a, ref) {
|
|
30
18
|
sizeTheme = '2';
|
31
19
|
if (size === 'large')
|
32
20
|
sizeTheme = '3';
|
33
|
-
return (
|
21
|
+
return (<Theme>
|
22
|
+
<ScrollAreaTheme ref={ref} scrollbars={scrollbars} radius={radius} size={sizeTheme} className={className} {...props}>
|
23
|
+
{children}
|
24
|
+
</ScrollAreaTheme>
|
25
|
+
</Theme>);
|
34
26
|
});
|
35
27
|
ScrollArea.displayName = 'ScrollArea';
|
36
28
|
export default ScrollArea;
|