@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
package/dist/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './components';
|
2
|
-
export * from './Typography';
|
1
|
+
export * from './lib/components';
|
2
|
+
export * from './lib/Typography';
|
package/dist/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './components';
|
2
|
-
export * from './Typography';
|
1
|
+
export * from './lib/components';
|
2
|
+
export * from './lib/Typography';
|
@@ -20,10 +20,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import {
|
24
|
-
import { cn } from '../../utils/utils';
|
23
|
+
import { cn } from 'lib/utils/utils';
|
25
24
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { textColorStyle, weightVariants } from '
|
25
|
+
import { textColorStyle, weightVariants } from 'lib/constants';
|
27
26
|
import { Heading as HeadingTheme, Theme } from '@radix-ui/themes';
|
28
27
|
import React from 'react';
|
29
28
|
var weights = __assign({}, weightVariants);
|
@@ -49,7 +48,11 @@ export var Header = React.forwardRef(function (_a, ref) {
|
|
49
48
|
var className = _a.className, children = _a.children, size = _a.size, weight = _a.weight, color = _a.color, headers = _a.headers, align = _a.align, rootProps = __rest(_a, ["className", "children", "size", "weight", "color", "headers", "align"]);
|
50
49
|
if (!headers)
|
51
50
|
headers = 'h1';
|
52
|
-
return (
|
51
|
+
return (<Theme>
|
52
|
+
<HeadingTheme ref={ref} as={headers} size={size} align={align} className={cn('leading-normal', headerVariants({ weight: weight, color: color }), className)} {...rootProps}>
|
53
|
+
{children}
|
54
|
+
</HeadingTheme>
|
55
|
+
</Theme>);
|
53
56
|
});
|
54
57
|
Header.displayName = 'Header';
|
55
58
|
export default Header;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor } from '
|
4
|
-
import { ITypoSize } from '../../types';
|
3
|
+
import { IColor, ITypoSize } from 'lib/types';
|
5
4
|
export interface TextProps extends VariantProps<typeof textVariants> {
|
6
5
|
color?: IColor;
|
7
6
|
size?: ITypoSize;
|
@@ -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
25
|
import { Text as TextTheme, Theme } from '@radix-ui/themes';
|
27
|
-
import { textColorStyle, weightVariants } from '
|
28
|
-
import { cn } from '
|
26
|
+
import { textColorStyle, weightVariants } from 'lib/constants';
|
27
|
+
import { cn } from 'lib/utils/utils';
|
29
28
|
var textVariants = cva('text', {
|
30
29
|
variants: {
|
31
30
|
weight: __assign({ light: 'font-light' }, weightVariants),
|
@@ -38,7 +37,11 @@ var textVariants = cva('text', {
|
|
38
37
|
});
|
39
38
|
export var Text = forwardRef(function (_a, ref) {
|
40
39
|
var className = _a.className, children = _a.children, as = _a.as, align = _a.align, weight = _a.weight, color = _a.color, size = _a.size, props = __rest(_a, ["className", "children", "as", "align", "weight", "color", "size"]);
|
41
|
-
return (
|
40
|
+
return (<Theme>
|
41
|
+
<TextTheme as={as} ref={ref} size={size} align={align} className={cn(textVariants({ weight: weight, color: color }), className)} {...props}>
|
42
|
+
{children}
|
43
|
+
</TextTheme>
|
44
|
+
</Theme>);
|
42
45
|
});
|
43
46
|
Text.displayName = 'Text';
|
44
47
|
export default Text;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IColor, IAlphaColor, IDarkColor } from 'types';
|
1
|
+
import { IColor, IAlphaColor, IDarkColor } from '../types';
|
2
2
|
export declare const colorOptions: IColor[];
|
3
3
|
export declare const alphaColorOptions: IAlphaColor[];
|
4
4
|
export declare const darkColorOptions: IDarkColor[];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from 'types';
|
4
|
+
import { IColor } from 'lib/types';
|
5
5
|
export interface AccordionProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof accoridanVariants> {
|
6
6
|
defaultValue?: string;
|
7
7
|
color?: IColor;
|
@@ -20,13 +20,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
20
20
|
}
|
21
21
|
return t;
|
22
22
|
};
|
23
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
23
|
import React from 'react';
|
25
24
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
26
25
|
import { ChevronDownIcon } from '@radix-ui/react-icons';
|
27
|
-
import { cn } from '
|
26
|
+
import { cn } from 'lib/utils/utils';
|
28
27
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { scalingVariants } from '
|
28
|
+
import { scalingVariants } from 'lib/constants';
|
30
29
|
var accoridanVariants = cva('', {
|
31
30
|
variants: {
|
32
31
|
scaling: __assign({}, scalingVariants),
|
@@ -37,22 +36,35 @@ var accoridanVariants = cva('', {
|
|
37
36
|
});
|
38
37
|
export var Accordion = React.forwardRef(function (_a, forwardedRef) {
|
39
38
|
var className = _a.className, children = _a.children, scaling = _a.scaling, rootProps = __rest(_a, ["className", "children", "scaling"]);
|
40
|
-
return (
|
39
|
+
return (<AccordionPrimitive.Root className={cn('w-[280px] rounded-md border border-slateA-4 dark:border-slateDarkA-4', accoridanVariants({ scaling: scaling }), className)} {...rootProps} ref={forwardedRef}>
|
40
|
+
{children}
|
41
|
+
</AccordionPrimitive.Root>);
|
41
42
|
});
|
42
43
|
Accordion.displayName = 'AccordionRoot';
|
43
44
|
export var AccordionItem = React.forwardRef(function (_a, forwardedRef) {
|
44
45
|
var className = _a.className, children = _a.children, rootProps = __rest(_a, ["className", "children"]);
|
45
|
-
return (
|
46
|
+
return (<AccordionPrimitive.Item {...rootProps} ref={forwardedRef} className={cn('w-[278px] mt-px overflow-hidden first:mt-0 first:rounded-t last:rounded-b ', className)}>
|
47
|
+
{children}
|
48
|
+
</AccordionPrimitive.Item>);
|
46
49
|
});
|
47
50
|
AccordionItem.displayName = 'AccordionItem';
|
48
51
|
export var AccordionTrigger = React.forwardRef(function (_a, forwardedRef) {
|
49
52
|
var className = _a.className, children = _a.children, _b = _a.color, color = _b === void 0 ? 'red' : _b, rootProps = __rest(_a, ["className", "children", "color"]);
|
50
|
-
return (
|
53
|
+
return (<AccordionPrimitive.Header {...rootProps} className={cn('flex', className)}>
|
54
|
+
<AccordionPrimitive.Trigger {...rootProps} ref={forwardedRef} className={cn(" w-[278px] group flex h-[44px] cursor-default items-center justify-between py-[10px] px-[20px] text-base font-normal ", "dark:bg-[#111113] text-".concat(color, "A-11 dark:text-").concat(color, "Dark-11 "), "hover:bg-".concat(color, "A-4 dark:hover:bg-").concat(color, "Dark-4 hover:text-").concat(color, "A-11 dark:hover:text-").concat(color, "DarkA-11"), "data-[state=open]:bg-".concat(color, "A-5 dark:data-[state=open]:bg-").concat(color, "DarkA-5"), "disabled:bg-slateA-3 disabled:dark:bg-slateDarkA-3 disabled:text-slateA-3 disabled:dark:text-slateDarkA-8", className)}>
|
55
|
+
{children}
|
56
|
+
<ChevronDownIcon className="ease-[cubic-bezier(0.87,_0,_0.13,_1)] transition-transform duration-300 group-data-[state=open]:rotate-180" aria-hidden/>
|
57
|
+
</AccordionPrimitive.Trigger>
|
58
|
+
</AccordionPrimitive.Header>);
|
51
59
|
});
|
52
60
|
AccordionTrigger.displayName = 'AccordionTrigger';
|
53
61
|
export var AccordionContent = React.forwardRef(function (_a, forwardedRef) {
|
54
62
|
var className = _a.className, children = _a.children, rootProps = __rest(_a, ["className", "children"]);
|
55
|
-
return (
|
63
|
+
return (<AccordionPrimitive.Content {...rootProps} ref={forwardedRef} className={cn('w-[278px] max-h-[800px] bg-slateA-2 dark:bg-slateDarkA-2 border-t border-t-slateA-4 dark:border-t-slateDarkA-4 text-slateA-11 dark:text-slateDarkA-11 data-[state=open]:animate-slideDown data-[state=closed]:animate-slideUp overflow-hidden text-[16px]', className)}>
|
64
|
+
<div className="px-[20px] py-[15px] text-base font-normal h-auto max-h-[1000px] overflow-y-auto">
|
65
|
+
{children}
|
66
|
+
</div>
|
67
|
+
</AccordionPrimitive.Content>);
|
56
68
|
});
|
57
69
|
AccordionContent.displayName = 'AccordionContent';
|
58
70
|
export default Accordion;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'types';
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
5
|
export interface AlertDialogActionProps extends VariantProps<typeof alertDialogActionVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
@@ -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 AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
25
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'utils/utils';
|
28
|
-
import { appearanceStyle, primaryColorStyle, weightVariants } from '
|
26
|
+
import { cn } from 'lib/utils/utils';
|
27
|
+
import { appearanceStyle, primaryColorStyle, weightVariants } from 'lib/constants';
|
29
28
|
export var alertDialogActionVariants = cva("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal", {
|
30
29
|
variants: {
|
31
30
|
radius: {
|
@@ -54,6 +53,8 @@ export var alertDialogActionVariants = cva("inline-flex items-center justify-cen
|
|
54
53
|
export var AlertDialogAction = forwardRef(function (_a, ref) {
|
55
54
|
var className = _a.className, children = _a.children, radius = _a.radius, weight = _a.weight, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["className", "children", "radius", "weight", "size", "color", "appearance"]);
|
56
55
|
var buttonClassName = cn(alertDialogActionVariants({ radius: radius, size: size, weight: weight, color: color }), appearanceStyle(appearance, color), className);
|
57
|
-
return (
|
56
|
+
return (<AlertDialogPrimitive.Action ref={ref} className={buttonClassName} {...props}>
|
57
|
+
{children}
|
58
|
+
</AlertDialogPrimitive.Action>);
|
58
59
|
});
|
59
60
|
AlertDialogAction.displayName = 'AlertDialogAction';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance } from 'types';
|
4
|
+
import { IAppearance } from 'lib/types';
|
5
5
|
export interface AlertDialogCancelProps extends VariantProps<typeof alertDialogCancelVariants> {
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
@@ -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 AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
25
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'utils/utils';
|
28
|
-
import { weightVariants } from '
|
26
|
+
import { cn } from 'lib/utils/utils';
|
27
|
+
import { weightVariants } from 'lib/constants';
|
29
28
|
export var alertDialogCancelVariants = cva("inline-flex justify-center items-center text-slate-11 bg-slate-3 outline-none border-none\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4\n active:border-none hover:cursor-pointer hover:bg-slateA-4", {
|
30
29
|
variants: {
|
31
30
|
radius: {
|
@@ -51,6 +50,8 @@ export var alertDialogCancelVariants = cva("inline-flex justify-center items-cen
|
|
51
50
|
});
|
52
51
|
export var AlertDialogCancel = forwardRef(function (_a, ref) {
|
53
52
|
var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, weight = _a.weight, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, props = __rest(_a, ["className", "children", "radius", "size", "weight", "appearance"]);
|
54
|
-
return (
|
53
|
+
return (<AlertDialogPrimitive.Cancel ref={ref} {...props} className={cn(alertDialogCancelVariants({ radius: radius, size: size, weight: weight }), className)}>
|
54
|
+
{children}
|
55
|
+
</AlertDialogPrimitive.Cancel>);
|
55
56
|
});
|
56
57
|
AlertDialogCancel.displayName = 'AlertDialogCancel';
|
@@ -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 AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
25
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'utils/utils';
|
28
|
-
import { radiusVariants, scalingVariants } from '
|
26
|
+
import { cn } from 'lib/utils/utils';
|
27
|
+
import { radiusVariants, scalingVariants } from 'lib/constants';
|
29
28
|
export var alertDialogContentVariants = cva("fixed max-h-[85vh] top-[50%] left-[50%] focus:outline-none\n translate-x-[-50%] translate-y-[-50%] data-[state=open]:animate-contentShow bg-white dark:bg-slateDark-1 \n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]", {
|
30
29
|
variants: {
|
31
30
|
size: {
|
@@ -44,6 +43,11 @@ export var alertDialogContentVariants = cva("fixed max-h-[85vh] top-[50%] left-[
|
|
44
43
|
});
|
45
44
|
export var AlertDialogContent = forwardRef(function (_a, ref) {
|
46
45
|
var className = _a.className, children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, props = __rest(_a, ["className", "children", "radius", "size", "scaling"]);
|
47
|
-
return (
|
46
|
+
return (<AlertDialogPrimitive.Portal>
|
47
|
+
<AlertDialogPrimitive.Overlay className="fixed data-[state=open]:animate-overlayShow inset-0"/>
|
48
|
+
<AlertDialogPrimitive.Content className={cn(alertDialogContentVariants({ radius: radius, size: size, scaling: scaling }), className)} ref={ref} {...props}>
|
49
|
+
{children}
|
50
|
+
</AlertDialogPrimitive.Content>
|
51
|
+
</AlertDialogPrimitive.Portal>);
|
48
52
|
});
|
49
53
|
AlertDialogContent.displayName = 'AlertDialogContent';
|
@@ -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 * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
14
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'utils/utils';
|
15
|
+
import { cn } from 'lib/utils/utils';
|
28
16
|
export var alertDialogDescriptionVariants = cva("text-slate-12 dark:text-slateDark-12 font-normal", {
|
29
17
|
variants: {
|
30
18
|
size: {
|
@@ -40,6 +28,8 @@ export var alertDialogDescriptionVariants = cva("text-slate-12 dark:text-slateDa
|
|
40
28
|
});
|
41
29
|
export var AlertDialogDescription = forwardRef(function (_a, ref) {
|
42
30
|
var className = _a.className, children = _a.children, size = _a.size, contentText = _a.contentText, props = __rest(_a, ["className", "children", "size", "contentText"]);
|
43
|
-
return (
|
31
|
+
return (<AlertDialogPrimitive.Description className={cn(alertDialogDescriptionVariants({ size: size }), className)} ref={ref} {...props}>
|
32
|
+
{contentText !== null && contentText !== void 0 ? contentText : children}
|
33
|
+
</AlertDialogPrimitive.Description>);
|
44
34
|
});
|
45
35
|
AlertDialogDescription.displayName = 'AlertDialogDescription';
|
@@ -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 * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
14
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'utils/utils';
|
15
|
+
import { cn } from 'lib/utils/utils';
|
28
16
|
export var alertDialogTitleVariants = cva("m-0 text-slate-12 dark:text-slateDark-12 font-bold", {
|
29
17
|
variants: {
|
30
18
|
size: {
|
@@ -40,6 +28,8 @@ export var alertDialogTitleVariants = cva("m-0 text-slate-12 dark:text-slateDark
|
|
40
28
|
});
|
41
29
|
export var AlertDialogTitle = forwardRef(function (_a, ref) {
|
42
30
|
var className = _a.className, children = _a.children, size = _a.size, titleText = _a.titleText, props = __rest(_a, ["className", "children", "size", "titleText"]);
|
43
|
-
return (
|
31
|
+
return (<AlertDialogPrimitive.Title className={cn(alertDialogTitleVariants({ size: size }), className)} ref={ref} {...props}>
|
32
|
+
{titleText !== null && titleText !== void 0 ? titleText : children}
|
33
|
+
</AlertDialogPrimitive.Title>);
|
44
34
|
});
|
45
35
|
AlertDialogTitle.displayName = 'AlertDialogTitle';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IAppearance, IColor } from 'types';
|
4
|
+
import { IAppearance, IColor } from 'lib/types';
|
5
5
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
appearance?: IAppearance;
|
@@ -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 AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
25
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from '
|
28
|
-
import { cn } from 'utils/utils';
|
26
|
+
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from 'lib/constants';
|
27
|
+
import { cn } from 'lib/utils/utils';
|
29
28
|
var buttonVariants = cva("inline-flex items-center transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8", {
|
30
29
|
variants: {
|
31
30
|
radius: __assign({}, radiusVariants['base']),
|
@@ -50,6 +49,8 @@ var buttonVariants = cva("inline-flex items-center transition-colors focus:outli
|
|
50
49
|
export var AlertDialogTrigger = forwardRef(function (_a, ref) {
|
51
50
|
var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, weight = _a.weight, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "weight", "color", "appearance"]);
|
52
51
|
var buttonClassName = cn(buttonVariants({ radius: radius, scaling: scaling, size: size, weight: weight, color: color }), appearanceStyle(appearance, color), className);
|
53
|
-
return (
|
52
|
+
return (<AlertDialogPrimitive.Trigger asChild ref={ref} className={buttonClassName} {...props}>
|
53
|
+
{children}
|
54
|
+
</AlertDialogPrimitive.Trigger>);
|
54
55
|
});
|
55
56
|
AlertDialogTrigger.displayName = 'AlertDialogTrigger';
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import { alertDialogContentVariants } from './AlertDialogContent';
|
5
5
|
import { alertDialogTitleVariants } from './AlertDialogTitle';
|
6
6
|
import { alertDialogDescriptionVariants } from './AlertDialogDescription';
|
7
|
-
import { IColor } from 'types';
|
7
|
+
import { IColor } from 'lib/types';
|
8
8
|
export * from './AlertDialogTrigger';
|
9
9
|
export * from './AlertDialogContent';
|
10
10
|
export * from './AlertDialogTitle';
|
@@ -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 * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
26
14
|
export * from './AlertDialogTrigger';
|
27
15
|
export * from './AlertDialogContent';
|
@@ -31,7 +19,9 @@ export * from './AlertDialogCancel';
|
|
31
19
|
export * from './AlertDialogAction';
|
32
20
|
export var AlertDialog = forwardRef(function (_a, ref) {
|
33
21
|
var children = _a.children, props = __rest(_a, ["children"]);
|
34
|
-
return (
|
22
|
+
return (<div ref={ref}>
|
23
|
+
<AlertDialogPrimitive.Root {...props}>{children}</AlertDialogPrimitive.Root>
|
24
|
+
</div>);
|
35
25
|
});
|
36
26
|
AlertDialog.displayName = 'AlertDialog';
|
37
27
|
export default AlertDialog;
|
@@ -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 AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
26
25
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'utils/utils';
|
28
|
-
import { scalingVariants } from '
|
26
|
+
import { cn } from 'lib/utils/utils';
|
27
|
+
import { scalingVariants } from 'lib/constants';
|
29
28
|
export var aspectRatioVariants = cva('', {
|
30
29
|
variants: {
|
31
30
|
scaling: __assign({}, scalingVariants),
|
@@ -36,7 +35,9 @@ export var aspectRatioVariants = cva('', {
|
|
36
35
|
});
|
37
36
|
var AspectRatio = forwardRef(function (_a, ref) {
|
38
37
|
var children = _a.children, className = _a.className, _b = _a.ratio, ratio = _b === void 0 ? 16 / 9 : _b, scaling = _a.scaling, props = __rest(_a, ["children", "className", "ratio", "scaling"]);
|
39
|
-
return (
|
38
|
+
return (<AspectRatioPrimitive.Root ratio={ratio} ref={ref} {...props} className={cn(aspectRatioVariants({ scaling: scaling }), className)}>
|
39
|
+
{children}
|
40
|
+
</AspectRatioPrimitive.Root>);
|
40
41
|
});
|
41
42
|
AspectRatio.displayName = 'AspectRatio';
|
42
43
|
export default AspectRatio;
|
@@ -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 AvatarPrimitive from '@radix-ui/react-avatar';
|
26
25
|
import { cva } from 'class-variance-authority';
|
27
|
-
import { cn } from 'utils/utils';
|
28
|
-
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants
|
26
|
+
import { cn } from 'lib/utils/utils';
|
27
|
+
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants } from 'lib/constants';
|
29
28
|
var AvatarVariants = cva('font-medium', {
|
30
29
|
variants: {
|
31
30
|
radius: __assign({}, radiusVariants['base']),
|
@@ -51,7 +50,12 @@ var AvatarVariants = cva('font-medium', {
|
|
51
50
|
});
|
52
51
|
var Avatar = forwardRef(function (_a, ref) {
|
53
52
|
var className = _a.className, fallbackClassName = _a.fallbackClassName, radius = _a.radius, scaling = _a.scaling, size = _a.size, fallbackText = _a.fallbackText, imagePath = _a.imagePath, alt = _a.alt, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, props = __rest(_a, ["className", "fallbackClassName", "radius", "scaling", "size", "fallbackText", "imagePath", "alt", "appearance", "color"]);
|
54
|
-
return (
|
53
|
+
return (<AvatarPrimitive.Root className={cn("inline-flex select-none items-center justify-center overflow-hidden align-middle", AvatarVariants({ radius: radius, scaling: scaling, size: size, color: color }), appearanceStyle(appearance, color, false), className)} {...props} ref={ref}>
|
54
|
+
<AvatarPrimitive.Image className="h-full w-full object-cover border-none" src={imagePath} alt={alt}/>
|
55
|
+
<AvatarPrimitive.Fallback className={cn("leading-1 flex h-full w-full items-center justify-center", className)} delayMs={300}>
|
56
|
+
{fallbackText}
|
57
|
+
</AvatarPrimitive.Fallback>
|
58
|
+
</AvatarPrimitive.Root>);
|
55
59
|
});
|
56
60
|
Avatar.displayName = 'Avatar';
|
57
61
|
export default Avatar;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IColor, IAppearance, ISize, IWeight } from 'types';
|
3
|
+
import { IColor, IAppearance, ISize, IWeight } from 'lib/types';
|
4
4
|
export interface BadgeProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof BadgeVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
appearance?: Exclude<IAppearance, 'classic' | 'ghost'>;
|
@@ -20,11 +20,10 @@ 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 { cn } from 'utils/utils';
|
27
|
-
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from '
|
25
|
+
import { cn } from 'lib/utils/utils';
|
26
|
+
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from 'lib/constants';
|
28
27
|
var BadgeVariants = cva('inline-flex items-center transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', {
|
29
28
|
variants: {
|
30
29
|
radius: __assign({}, radiusVariants['base']),
|
@@ -48,7 +47,9 @@ var BadgeVariants = cva('inline-flex items-center transition-colors focus:outlin
|
|
48
47
|
var Badge = forwardRef(function (_a, ref) {
|
49
48
|
var className = _a.className, children = _a.children, radius = _a.radius, scaling = _a.scaling, weight = _a.weight, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["className", "children", "radius", "scaling", "weight", "size", "color", "appearance"]);
|
50
49
|
var badgeClassName = cn(BadgeVariants({ radius: radius, scaling: scaling, weight: weight, size: size, color: color }), appearanceStyle(appearance, color, false), className);
|
51
|
-
return (
|
50
|
+
return (<div ref={ref} className={badgeClassName} {...props}>
|
51
|
+
{children}
|
52
|
+
</div>);
|
52
53
|
});
|
53
54
|
Badge.displayName = 'Badge';
|
54
55
|
export default Badge;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import
|
1
|
+
import React from 'react';
|
2
|
+
import { PointStyle } from 'lib/types';
|
2
3
|
import { VariantProps } from 'class-variance-authority';
|
3
4
|
export interface BubbleChartProps extends VariantProps<typeof bubbleChartVariants> {
|
4
5
|
datasets: {
|
@@ -25,7 +26,7 @@ declare const bubbleChartVariants: (props?: ({
|
|
25
26
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
26
27
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
27
28
|
export declare const BubbleChart: {
|
28
|
-
({ className, datasets, scaling, width, height, ...props }: BubbleChartProps):
|
29
|
+
({ className, datasets, scaling, width, height, ...props }: BubbleChartProps): React.JSX.Element;
|
29
30
|
displayName: string;
|
30
31
|
};
|
31
32
|
export default BubbleChart;
|
@@ -20,12 +20,12 @@ 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 { Bubble } from 'react-chartjs-2';
|
25
25
|
import { Chart as ChartJS, LinearScale, PointElement, Tooltip, Legend } from 'chart.js/auto';
|
26
|
-
import { scalingVariants } from '
|
26
|
+
import { scalingVariants } from 'lib/constants';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from 'utils/utils';
|
28
|
+
import { cn } from 'lib/utils/utils';
|
29
29
|
ChartJS.register(LinearScale, PointElement, Tooltip, Legend);
|
30
30
|
var bubbleChartVariants = cva('', {
|
31
31
|
variants: {
|
@@ -37,7 +37,7 @@ var bubbleChartVariants = cva('', {
|
|
37
37
|
});
|
38
38
|
export var BubbleChart = function (_a) {
|
39
39
|
var className = _a.className, datasets = _a.datasets, scaling = _a.scaling, width = _a.width, height = _a.height, props = __rest(_a, ["className", "datasets", "scaling", "width", "height"]);
|
40
|
-
return (
|
40
|
+
return (<Bubble data={{ datasets: datasets }} className={cn(bubbleChartVariants({ scaling: scaling }), className)} width={width} height={height} {...props}/>);
|
41
41
|
};
|
42
42
|
BubbleChart.displayName = 'BubbleChart';
|
43
43
|
export default BubbleChart;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IAppearance, IColor } from 'types';
|
3
|
+
import { IAppearance, IColor } from 'lib/types';
|
4
4
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
5
5
|
color?: IColor;
|
6
6
|
appearance?: IAppearance;
|
@@ -20,11 +20,10 @@ 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 { cn } from 'utils/utils';
|
27
|
-
import { radiusVariants, weightVariants, primaryColorStyle, appearanceStyle, scalingVariants, } from '
|
25
|
+
import { cn } from 'lib/utils/utils';
|
26
|
+
import { radiusVariants, weightVariants, primaryColorStyle, appearanceStyle, scalingVariants, } from 'lib/constants';
|
28
27
|
var buttonVariants = cva("inline-flex items-center transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8 justify-center", {
|
29
28
|
variants: {
|
30
29
|
radius: __assign({}, radiusVariants['base']),
|
@@ -50,7 +49,9 @@ var buttonVariants = cva("inline-flex items-center transition-colors focus:outli
|
|
50
49
|
export var Button = forwardRef(function (_a, ref) {
|
51
50
|
var className = _a.className, children = _a.children, radius = _a.radius, scaling = _a.scaling, size = _a.size, weight = _a.weight, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["className", "children", "radius", "scaling", "size", "weight", "color", "appearance"]);
|
52
51
|
var buttonClassName = cn(buttonVariants({ radius: radius, scaling: scaling, size: size, weight: weight, color: color }), appearanceStyle(appearance, color, true), className);
|
53
|
-
return (
|
52
|
+
return (<button ref={ref} className={buttonClassName} {...props}>
|
53
|
+
{children}
|
54
|
+
</button>);
|
54
55
|
});
|
55
56
|
Button.displayName = 'Button';
|
56
57
|
export default Button;
|