@lotte-innovate/ui-component-test 0.1.68 → 0.1.69-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +76 -6
- package/dist/globals.css +1 -1
- package/dist/lib/Typography/Header/index.d.ts +6 -4
- package/dist/lib/Typography/Header/index.js +5 -2
- package/dist/lib/Typography/Text/index.js +4 -1
- package/dist/lib/color/constants.d.ts +1 -0
- package/dist/lib/color/constants.js +1 -0
- package/dist/lib/components/Accordion/index.js +7 -4
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +4 -2
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +5 -4
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +15 -3
- package/dist/lib/components/AlertDialog/index.js +1 -1
- package/dist/lib/components/AspectRatio/index.js +2 -1
- package/dist/lib/components/Avatar/index.js +6 -5
- package/dist/lib/components/Badge/index.js +8 -6
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
- package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
- package/dist/lib/components/Breadcrumb/index.js +17 -0
- package/dist/lib/components/Button/index.js +8 -6
- package/dist/lib/components/Callout/CalloutIcon.js +1 -0
- package/dist/lib/components/Callout/CalloutRoot.js +2 -2
- package/dist/lib/components/Callout/CalloutText.js +1 -0
- package/dist/lib/components/Card/index.js +3 -2
- package/dist/lib/components/Checkbox/index.js +5 -4
- package/dist/lib/components/CheckboxCard/index.js +3 -2
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +5 -4
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +5 -4
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
- package/dist/lib/components/DataList/DataListItem.js +1 -0
- package/dist/lib/components/DataList/DataListLabel.js +1 -0
- package/dist/lib/components/DataList/DataListRoot.js +2 -2
- package/dist/lib/components/DataList/DataListValue.js +1 -0
- package/dist/lib/components/Dialog/DialogAction.js +3 -1
- package/dist/lib/components/Dialog/DialogCancel.js +1 -0
- package/dist/lib/components/Dialog/DialogContent.js +1 -0
- package/dist/lib/components/Dialog/DialogDescription.js +2 -1
- package/dist/lib/components/Dialog/DialogRoot.js +5 -4
- package/dist/lib/components/Dialog/DialogSlot.js +1 -0
- package/dist/lib/components/Dialog/DialogTitle.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +5 -4
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
- package/dist/lib/components/Footer/index.d.ts +11 -0
- package/dist/lib/components/Footer/index.js +50 -0
- package/dist/lib/components/Grid/index.d.ts +5 -0
- package/dist/lib/components/Grid/index.js +52 -0
- package/dist/lib/components/Grid/useGrid.d.ts +3 -0
- package/dist/lib/components/Grid/useGrid.js +67 -0
- package/dist/lib/components/HoverCard/HoverCardContent.js +1 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.js +6 -5
- package/dist/lib/components/IconButton/index.js +7 -5
- package/dist/lib/components/Inset/index.js +3 -2
- package/dist/lib/components/Label/index.d.ts +4 -3
- package/dist/lib/components/Label/index.js +9 -6
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarContent.js +1 -0
- package/dist/lib/components/Menubar/MenubarItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarRoot.js +7 -5
- package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
- package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +5 -4
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
- package/dist/lib/components/Popover/PopoverClose.js +1 -0
- package/dist/lib/components/Popover/PopoverContent.js +1 -0
- package/dist/lib/components/Popover/PopoverRoot.js +2 -2
- package/dist/lib/components/Progress/index.js +9 -8
- package/dist/lib/components/Radio/index.js +7 -6
- package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +7 -7
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +6 -6
- package/dist/lib/components/ScrollArea/index.js +2 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +6 -4
- package/dist/lib/components/SegmentedControl/index.d.ts +1 -1
- package/dist/lib/components/SegmentedControl/index.js +1 -1
- package/dist/lib/components/Select/index.js +8 -5
- package/dist/lib/components/Separator/index.js +5 -3
- package/dist/lib/components/Skeleton/index.js +3 -2
- package/dist/lib/components/Slider/index.js +8 -9
- package/dist/lib/components/Spinner/index.js +2 -1
- package/dist/lib/components/TabNav/index.js +5 -4
- package/dist/lib/components/Table/index.js +4 -4
- package/dist/lib/components/Tabs/index.d.ts +2 -1
- package/dist/lib/components/Tabs/index.js +5 -2
- package/dist/lib/components/TextArea/index.js +8 -7
- package/dist/lib/components/TextField/index.js +8 -7
- package/dist/lib/components/Toast/ToastActionButton.js +1 -0
- package/dist/lib/components/Toast/ToastDescription.js +1 -0
- package/dist/lib/components/Toast/ToastRoot.js +2 -2
- package/dist/lib/components/Toast/ToastTitle.js +1 -0
- package/dist/lib/components/Toggle/ToggleWithText.js +7 -4
- package/dist/lib/components/Toggle/index.d.ts +1 -1
- package/dist/lib/components/Toggle/index.js +8 -5
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +5 -3
- package/dist/lib/components/ToggleSwitch/index.js +8 -9
- package/dist/lib/components/Tooltip/index.js +4 -4
- package/dist/lib/components/index.d.ts +2 -0
- package/dist/lib/components/index.js +2 -0
- package/dist/lib/constants.d.ts +5 -4
- package/dist/lib/constants.js +13 -1
- package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
- package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
- package/dist/lib/dist/lib/color/constants.mjs +2 -0
- package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/color/light.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogCancel.mjs +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogContent.mjs +2 -1
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogDescription.mjs +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
- package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTitle.mjs +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/AspectRatio/index.mjs +2 -1
- package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Callout/CalloutIcon.mjs +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
- package/dist/lib/{components → dist/lib/components}/Callout/CalloutText.mjs +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Card/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Checkbox/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/CheckboxCard/index.mjs +2 -1
- package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupItem.mjs +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuCheckboxItem.mjs +2 -1
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuContent.mjs +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItemIndicator.mjs +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuLabel.mjs +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioItem.mjs +2 -1
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubContent.mjs +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DataList/DataListItem.mjs +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DataList/DataListLabel.mjs +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs +1 -1
- package/dist/lib/{components → dist/lib/components}/DataList/DataListValue.mjs +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogCancel.mjs +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogContent.mjs +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogDescription.mjs +2 -1
- package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogSlot.mjs +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogTitle.mjs +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuContent.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuLable.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardContent.mjs +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Inset/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Menubar/MenubarContent.mjs +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItemIndicator.mjs +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubContent.mjs +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Menubar/MenubarTrigger.mjs +2 -1
- package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuViewport.mjs +2 -1
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Popover/PopoverClose.mjs +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Popover/PopoverContent.mjs +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsItem.mjs +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupItem.mjs +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ScrollArea/index.mjs +2 -1
- package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlRoot.mjs +2 -1
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Skeleton/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Spinner/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Toast/ToastActionButton.mjs +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Toast/ToastDescription.mjs +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs +1 -1
- package/dist/lib/{components → dist/lib/components}/Toast/ToastTitle.mjs +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Tooltip/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
- package/dist/lib/dist/lib/constants.mjs +2 -0
- package/dist/lib/dist/lib/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/index.mjs +2 -0
- package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/createLucideIcon.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/createLucideIcon.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/defaultAttributes.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/defaultAttributes.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/icons/ellipsis.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/icons/ellipsis.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/shared/src/utils.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/shared/src/utils.mjs.map +1 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/types.d.ts +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/dist/lib/Typography/Header/index.mjs +0 -2
- package/dist/lib/Typography/Header/index.mjs.map +0 -1
- package/dist/lib/Typography/Text/index.mjs +0 -2
- package/dist/lib/Typography/Text/index.mjs.map +0 -1
- package/dist/lib/color/alpha.mjs.map +0 -1
- package/dist/lib/color/constants.mjs +0 -2
- package/dist/lib/color/constants.mjs.map +0 -1
- package/dist/lib/color/light.mjs.map +0 -1
- package/dist/lib/components/Accordion/index.mjs +0 -2
- package/dist/lib/components/Accordion/index.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +0 -2
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +0 -2
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/index.mjs.map +0 -1
- package/dist/lib/components/AspectRatio/index.mjs.map +0 -1
- package/dist/lib/components/Avatar/index.mjs +0 -3
- package/dist/lib/components/Badge/index.mjs +0 -2
- package/dist/lib/components/Badge/index.mjs.map +0 -1
- package/dist/lib/components/BarChart/index.mjs.map +0 -1
- package/dist/lib/components/BubbleChart/index.mjs.map +0 -1
- package/dist/lib/components/Button/index.mjs +0 -2
- package/dist/lib/components/Button/index.mjs.map +0 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +0 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs +0 -3
- package/dist/lib/components/Callout/CalloutText.mjs.map +0 -1
- package/dist/lib/components/Callout/index.mjs.map +0 -1
- package/dist/lib/components/Card/index.mjs.map +0 -1
- package/dist/lib/components/Checkbox/index.mjs.map +0 -1
- package/dist/lib/components/CheckboxCard/index.mjs.map +0 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +0 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +0 -3
- package/dist/lib/components/CheckboxGroup/index.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +0 -2
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +0 -2
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/index.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListItem.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListLabel.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListValue.mjs.map +0 -1
- package/dist/lib/components/DataList/index.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +0 -2
- package/dist/lib/components/Dialog/DialogAction.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogContent.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogRoot.mjs +0 -3
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogTrigger.mjs.map +0 -1
- package/dist/lib/components/Dialog/index.mjs.map +0 -1
- package/dist/lib/components/DoughnutChart/index.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +0 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +0 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/index.mjs.map +0 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +0 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs +0 -3
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +0 -1
- package/dist/lib/components/HoverCard/index.mjs.map +0 -1
- package/dist/lib/components/IconButton/index.mjs +0 -2
- package/dist/lib/components/IconButton/index.mjs.map +0 -1
- package/dist/lib/components/Inset/index.mjs.map +0 -1
- package/dist/lib/components/Label/index.mjs +0 -2
- package/dist/lib/components/Label/index.mjs.map +0 -1
- package/dist/lib/components/LineChart/index.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarMenu.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSub.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +0 -1
- package/dist/lib/components/Menubar/index.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/index.mjs.map +0 -1
- package/dist/lib/components/PieChart/index.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverClose.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverContent.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverRoot.mjs +0 -3
- package/dist/lib/components/Popover/PopoverTrigger.mjs.map +0 -1
- package/dist/lib/components/Popover/index.mjs.map +0 -1
- package/dist/lib/components/Progress/index.mjs +0 -2
- package/dist/lib/components/Progress/index.mjs.map +0 -1
- package/dist/lib/components/RadarChart/index.mjs.map +0 -1
- package/dist/lib/components/Radio/index.mjs +0 -2
- package/dist/lib/components/Radio/index.mjs.map +0 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +0 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +0 -3
- package/dist/lib/components/RadioCards/index.mjs.map +0 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +0 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +0 -3
- package/dist/lib/components/RadioGroup/index.mjs.map +0 -1
- package/dist/lib/components/ScrollArea/index.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/index.mjs.map +0 -1
- package/dist/lib/components/Select/index.mjs +0 -2
- package/dist/lib/components/Select/index.mjs.map +0 -1
- package/dist/lib/components/Separator/index.mjs +0 -2
- package/dist/lib/components/Separator/index.mjs.map +0 -1
- package/dist/lib/components/Skeleton/index.mjs.map +0 -1
- package/dist/lib/components/Slider/index.mjs +0 -2
- package/dist/lib/components/Slider/index.mjs.map +0 -1
- package/dist/lib/components/Spinner/index.mjs.map +0 -1
- package/dist/lib/components/TabNav/index.mjs +0 -2
- package/dist/lib/components/TabNav/index.mjs.map +0 -1
- package/dist/lib/components/Table/index.mjs +0 -2
- package/dist/lib/components/Table/index.mjs.map +0 -1
- package/dist/lib/components/Tabs/index.mjs +0 -2
- package/dist/lib/components/Tabs/index.mjs.map +0 -1
- package/dist/lib/components/TextArea/index.mjs +0 -2
- package/dist/lib/components/TextArea/index.mjs.map +0 -1
- package/dist/lib/components/TextField/index.mjs +0 -2
- package/dist/lib/components/TextField/index.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastDescription.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastTitle.mjs.map +0 -1
- package/dist/lib/components/Toast/index.mjs.map +0 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs +0 -2
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +0 -1
- package/dist/lib/components/Toggle/index.mjs +0 -2
- package/dist/lib/components/Toggle/index.mjs.map +0 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +0 -2
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +0 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +0 -3
- package/dist/lib/components/ToggleGroup/index.mjs.map +0 -1
- package/dist/lib/components/ToggleSwitch/index.mjs +0 -2
- package/dist/lib/components/ToggleSwitch/index.mjs.map +0 -1
- package/dist/lib/components/Tooltip/index.mjs.map +0 -1
- package/dist/lib/constants.mjs +0 -2
- package/dist/lib/constants.mjs.map +0 -1
- package/dist/lib/index.mjs +0 -2
- package/dist/lib/utils/utils.mjs.map +0 -1
- /package/dist/lib/{components/Avatar → dist/lib/Typography/Header}/index.mjs.map +0 -0
- /package/dist/lib/{color → dist/lib/color}/alpha.mjs +0 -0
- /package/dist/lib/{color → dist/lib/color}/light.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/AlertDialog/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/BarChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/BubbleChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Callout/CalloutRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Callout/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuGroup.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSeparator.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuTrigger.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/DataList/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Dialog/DialogRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Dialog/DialogTrigger.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Dialog/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DoughnutChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuRadioGroup.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSeparator.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSub.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardTrigger.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/HoverCard/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/LineChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarMenu.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSeparator.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSub.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuItem.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/NavigationMenu/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/PieChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Popover/PopoverRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Popover/PopoverTrigger.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Popover/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadarChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadioCards/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadioGroup/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlItem.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/SegmentedControl/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Toast/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ToggleGroup/ToggleGroupRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/ToggleGroup/index.mjs +0 -0
- /package/dist/lib/{index.mjs.map → dist/lib/index.mjs.map} +0 -0
- /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs +0 -0
- /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs.map +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs.map +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -28,6 +29,7 @@ import { cva } from 'class-variance-authority';
|
|
28
29
|
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
30
|
import { NavigationMenuIndicator } from './NavigationMenuIndicator';
|
30
31
|
import { useNavigationMenuContext } from './NavigationMenuRoot';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
33
|
export var navigationMenuListVariants = cva('flex p-1 space-x-1 shadow-slate-4 shadow dark:shadow-slateDark-4 bg-white dark:bg-slateDark-1', {
|
32
34
|
variants: {
|
33
35
|
radius: __assign({}, radiusVariants['base']),
|
@@ -40,7 +42,7 @@ export var navigationMenuListVariants = cva('flex p-1 space-x-1 shadow-slate-4 s
|
|
40
42
|
});
|
41
43
|
export var NavigationMenuList = forwardRef(function (_a, ref) {
|
42
44
|
var children = _a.children, className = _a.className, _b = _a.isShowIndicator, isShowIndicator = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIndicator"]);
|
43
|
-
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 ?
|
45
|
+
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 ? MAIN_COLOR : _e;
|
44
46
|
var navigationMenuListClassName = cn(navigationMenuListVariants({ scaling: scaling, radius: radius }), appearanceStyle(appearance, color, false), 'border-none', appearance === 'ghost' && 'bg-white', className);
|
45
47
|
return (_jsxs(NavigationMenuPrimitive.List, __assign({ ref: ref, className: navigationMenuListClassName }, props, { children: [children, isShowIndicator && _jsx(NavigationMenuIndicator, {})] })));
|
46
48
|
});
|
@@ -26,11 +26,12 @@ import { forwardRef, createContext, useContext, } from 'react';
|
|
26
26
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
27
27
|
import { cn } from '../../../lib/utils/utils';
|
28
28
|
import { useTheme } from '../../../lib/theme';
|
29
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
29
30
|
var NavigationMenuContext = createContext({
|
30
31
|
radius: 'medium',
|
31
32
|
scaling: '100%',
|
32
33
|
size: 'medium',
|
33
|
-
color:
|
34
|
+
color: MAIN_COLOR,
|
34
35
|
appearance: 'ghost',
|
35
36
|
});
|
36
37
|
export var useNavigationMenuContext = function () {
|
@@ -40,9 +41,9 @@ export var NavigationMenuRoot = forwardRef(function (_a, ref) {
|
|
40
41
|
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"]);
|
41
42
|
var theme = useTheme().theme;
|
42
43
|
var contextValue = {
|
43
|
-
radius: theme.themeRadius
|
44
|
-
scaling: theme.themeScaling
|
45
|
-
color: theme.themeColor
|
44
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
45
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
46
|
+
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
46
47
|
size: size,
|
47
48
|
appearance: appearance,
|
48
49
|
};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -28,6 +29,7 @@ import { cva } from 'class-variance-authority';
|
|
28
29
|
import { appearanceStyle, scalingVariants } from '../../../lib/constants';
|
29
30
|
import { CaretDownIcon } from '@radix-ui/react-icons';
|
30
31
|
import { useNavigationMenuContext } from './NavigationMenuRoot';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
33
|
export var navigationMenuTriggerVariants = cva("flex items-center justify-between outline-none select-none leading-none py-1 px-3 font-medium", {
|
32
34
|
variants: {
|
33
35
|
size: {
|
@@ -51,7 +53,7 @@ export var navigationMenuTriggerVariants = cva("flex items-center justify-betwee
|
|
51
53
|
});
|
52
54
|
export var NavigationMenuTrigger = forwardRef(function (_a, ref) {
|
53
55
|
var children = _a.children, className = _a.className, _b = _a.isShowIcon, isShowIcon = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIcon"]);
|
54
|
-
var _c = useNavigationMenuContext(), scaling = _c.scaling, size = _c.size, radius = _c.radius, _d = _c.color, color = _d === void 0 ?
|
56
|
+
var _c = useNavigationMenuContext(), scaling = _c.scaling, size = _c.size, radius = _c.radius, _d = _c.color, color = _d === void 0 ? MAIN_COLOR : _d, _e = _c.appearance, appearance = _e === void 0 ? 'ghost' : _e;
|
55
57
|
var triggerClassName = cn(navigationMenuTriggerVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
|
56
58
|
return (_jsxs(NavigationMenuPrimitive.Trigger, __assign({ ref: ref, className: triggerClassName }, props, { children: [children, isShowIcon && (_jsx(CaretDownIcon, { className: cn("relative top-[1px] transition-transform duration-[250] ease-in group-data-[state=open]:-rotate-180"), "aria-hidden": true }))] })));
|
57
59
|
});
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -27,7 +28,7 @@ import { cn } from '../../../lib/utils/utils';
|
|
27
28
|
import { cva } from 'class-variance-authority';
|
28
29
|
import { radiusVariants, scalingVariants, weightVariants } from '../../../lib/constants';
|
29
30
|
import { useNavigationMenuContext } from './NavigationMenuRoot';
|
30
|
-
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
|
+
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)] bg-white", {
|
31
32
|
variants: {
|
32
33
|
radius: __assign({}, radiusVariants['extra-large']),
|
33
34
|
weight: __assign({}, weightVariants),
|
@@ -48,6 +49,6 @@ export var NavigationMenuViewport = forwardRef(function (_a, ref) {
|
|
48
49
|
var className = _a.className, props = __rest(_a, ["className"]);
|
49
50
|
var _b = useNavigationMenuContext(), size = _b.size, scaling = _b.scaling, radius = _b.radius;
|
50
51
|
var viewportClassName = cn(navigationViewportVariants({ size: size, scaling: scaling, radius: radius }), className);
|
51
|
-
return (_jsx("div", { className: "perspective-[2000px] absolute left-0 top-full flex w-full", children: _jsx(NavigationMenuPrimitive.Viewport, __assign({ ref: ref, className: viewportClassName }, props)) }));
|
52
|
+
return (_jsx("div", { className: "perspective-[2000px] absolute left-0 top-full z-20 flex w-full bg-white", children: _jsx(NavigationMenuPrimitive.Viewport, __assign({ ref: ref, className: viewportClassName }, props)) }));
|
52
53
|
});
|
53
54
|
NavigationMenuViewport.displayName = 'NavigationMenu.Viewport';
|
@@ -34,8 +34,8 @@ export var PopoverRoot = function (_a) {
|
|
34
34
|
var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, props = __rest(_a, ["children", "radius", "size", "scaling"]);
|
35
35
|
var theme = useTheme().theme;
|
36
36
|
var contextValue = {
|
37
|
-
radius: theme.themeRadius
|
38
|
-
scaling: theme.themeScaling
|
37
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
38
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
39
39
|
size: size,
|
40
40
|
};
|
41
41
|
return (_jsx(Theme, { children: _jsx(PopoverContext.Provider, { value: contextValue, children: _jsx(PopoverTheme.Root, __assign({}, props, { children: children })) }) }));
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -23,10 +24,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
25
|
import { forwardRef } from 'react';
|
25
26
|
import { cva } from 'class-variance-authority';
|
26
|
-
import { scalingVariants } from '../../../lib/constants';
|
27
27
|
import { Theme, Progress as ProgressTheme } from '@radix-ui/themes';
|
28
28
|
import { cn } from '../../../lib/utils/utils';
|
29
29
|
import { useTheme } from '../../../lib/theme';
|
30
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
|
+
import { scalingVariants } from '../../../lib/constants';
|
30
32
|
var progressVariants = cva('w-[300px]', {
|
31
33
|
variants: {
|
32
34
|
radius: {
|
@@ -50,17 +52,16 @@ var progressVariants = cva('w-[300px]', {
|
|
50
52
|
},
|
51
53
|
});
|
52
54
|
export var Progress = forwardRef(function (_a, ref) {
|
53
|
-
var
|
55
|
+
var _b;
|
56
|
+
var className = _a.className, radius = _a.radius, size = _a.size, value = _a.value, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, color = _a.color, scaling = _a.scaling, props = __rest(_a, ["className", "radius", "size", "value", "appearance", "color", "scaling"]);
|
54
57
|
var theme = useTheme().theme;
|
55
58
|
var progressStyle = {
|
56
|
-
radius: theme.themeRadius
|
57
|
-
scaling: theme.themeScaling
|
58
|
-
color: theme.themeColor
|
59
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
60
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
61
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
59
62
|
size: size,
|
60
63
|
};
|
61
|
-
return (
|
62
|
-
// @ts-ignore
|
63
|
-
_jsx(Theme, { accentColor: progressStyle.color, children: _jsx(ProgressTheme, __assign({ ref: ref, value: value, variant: appearance, className: cn(progressVariants(progressStyle), className) }, props)) }));
|
64
|
+
return (_jsx(Theme, { accentColor: progressStyle.color, children: _jsx(ProgressTheme, __assign({ ref: ref, value: value, variant: appearance, className: cn(progressVariants(progressStyle), className) }, props)) }));
|
64
65
|
});
|
65
66
|
Progress.displayName = 'Progress';
|
66
67
|
export default Progress;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -27,6 +28,7 @@ import { Theme, Radio as RadioTheme, Flex } from '@radix-ui/themes';
|
|
27
28
|
import { Text } from '../../../lib/Typography/Text';
|
28
29
|
import { cn } from '../../../lib/utils/utils';
|
29
30
|
import { useTheme } from '../../../lib/theme';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
32
|
var radioVariants = cva('font-normal', {
|
31
33
|
variants: {
|
32
34
|
size: {
|
@@ -40,7 +42,8 @@ var radioVariants = cva('font-normal', {
|
|
40
42
|
},
|
41
43
|
});
|
42
44
|
export var Radio = forwardRef(function (_a, ref) {
|
43
|
-
var
|
45
|
+
var _b;
|
46
|
+
var value = _a.value, scaling = _a.scaling, color = _a.color, _c = _a.size, size = _c === void 0 ? 'medium' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, children = _a.children, className = _a.className, props = __rest(_a, ["value", "scaling", "color", "size", "appearance", "children", "className"]);
|
44
47
|
var theme = useTheme().theme;
|
45
48
|
var sizeTheme = '2';
|
46
49
|
if (size === 'small')
|
@@ -48,12 +51,10 @@ export var Radio = forwardRef(function (_a, ref) {
|
|
48
51
|
if (size === 'large')
|
49
52
|
sizeTheme = '3';
|
50
53
|
var radioStyle = {
|
51
|
-
scaling: theme.themeScaling
|
52
|
-
color: theme.themeColor
|
54
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
55
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
53
56
|
};
|
54
|
-
return (
|
55
|
-
// @ts-ignore
|
56
|
-
_jsx(Theme, { accentColor: radioStyle.color, scaling: radioStyle.scaling, children: _jsx(Flex, { asChild: true, className: cn(radioVariants({ size: size }), className), children: _jsxs(Text, { as: "label", size: sizeTheme, children: [_jsx(RadioTheme, __assign({ ref: ref, value: value, variant: appearance, size: sizeTheme }, props)), children] }) }) }));
|
57
|
+
return (_jsx(Theme, { accentColor: radioStyle.color, scaling: radioStyle.scaling, children: _jsx(Flex, { asChild: true, className: cn(radioVariants({ size: size }), className), children: _jsxs(Text, { as: "label", size: sizeTheme, color: "black", children: [_jsx(RadioTheme, __assign({ ref: ref, value: value, variant: appearance, size: sizeTheme }, props)), children] }) }) }));
|
57
58
|
});
|
58
59
|
Radio.displayName = 'Radio';
|
59
60
|
export default Radio;
|
@@ -28,6 +28,7 @@ import { scalingVariants } from '../../../lib/constants';
|
|
28
28
|
import { Theme, RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
29
29
|
import { cn } from '../../../lib/utils/utils';
|
30
30
|
import { useTheme } from '../../../lib/theme';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
32
|
var radioCardsVariants = cva('flex items-center gap-2', {
|
32
33
|
variants: {
|
33
34
|
scaling: __assign({}, scalingVariants),
|
@@ -41,16 +42,15 @@ export var RadioCardsContext = createContext({
|
|
41
42
|
size: 'medium',
|
42
43
|
});
|
43
44
|
export var RadioCardsRoot = forwardRef(function (_a, ref) {
|
44
|
-
var
|
45
|
+
var _b;
|
46
|
+
var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, color = _a.color, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance"]);
|
45
47
|
var theme = useTheme().theme;
|
46
48
|
var contextValue = {
|
47
|
-
radius: theme.themeRadius
|
48
|
-
color: theme.themeColor
|
49
|
-
scaling: theme.themeScaling
|
49
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
50
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
51
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
50
52
|
size: size,
|
51
53
|
};
|
52
|
-
return (
|
53
|
-
// @ts-ignore
|
54
|
-
_jsx(Theme, { accentColor: contextValue.color, children: _jsx(RadioCardsContext.Provider, { value: contextValue, children: _jsx(RadioCardsTheme.Root, __assign({ ref: ref, variant: appearance, className: cn(radioCardsVariants({ scaling: contextValue.scaling }), className) }, props, { children: children })) }) }));
|
54
|
+
return (_jsx(Theme, { accentColor: contextValue.color, children: _jsx(RadioCardsContext.Provider, { value: contextValue, children: _jsx(RadioCardsTheme.Root, __assign({ ref: ref, variant: appearance, className: cn(radioCardsVariants({ scaling: contextValue.scaling }), className) }, props, { children: children })) }) }));
|
55
55
|
});
|
56
56
|
RadioCardsRoot.displayName = 'RadioCards.Root';
|
@@ -27,6 +27,7 @@ import { Theme, RadioGroup as RadioGroupTheme } from '@radix-ui/themes';
|
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
28
|
import { cn } from '../../../lib/utils/utils';
|
29
29
|
import { useTheme } from '../../../lib/theme';
|
30
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
31
|
var radioGroupVariants = cva('', {
|
31
32
|
variants: {
|
32
33
|
size: {
|
@@ -43,11 +44,12 @@ export var RadioGroupContext = createContext({
|
|
43
44
|
size: 'medium',
|
44
45
|
});
|
45
46
|
export var RadioGroupRoot = forwardRef(function (_a, ref) {
|
46
|
-
var
|
47
|
+
var _b;
|
48
|
+
var className = _a.className, children = _a.children, scaling = _a.scaling, size = _a.size, color = _a.color, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, props = __rest(_a, ["className", "children", "scaling", "size", "color", "appearance"]);
|
47
49
|
var theme = useTheme().theme;
|
48
50
|
var contextValue = {
|
49
|
-
scaling: theme.themeScaling
|
50
|
-
color: theme.themeColor
|
51
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
52
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
51
53
|
size: size,
|
52
54
|
};
|
53
55
|
var sizeTheme = '2';
|
@@ -55,8 +57,6 @@ export var RadioGroupRoot = forwardRef(function (_a, ref) {
|
|
55
57
|
sizeTheme = '1';
|
56
58
|
if (size === 'large')
|
57
59
|
sizeTheme = '3';
|
58
|
-
return (
|
59
|
-
// @ts-ignore
|
60
|
-
_jsx(Theme, { accentColor: contextValue.color, scaling: contextValue.scaling, children: _jsx(RadioGroupContext.Provider, { value: contextValue, children: _jsx(RadioGroupTheme.Root, __assign({ ref: ref, size: sizeTheme, variant: appearance, className: cn(radioGroupVariants({ size: size }), className) }, props, { children: children })) }) }));
|
60
|
+
return (_jsx(Theme, { accentColor: contextValue.color, scaling: contextValue.scaling, children: _jsx(RadioGroupContext.Provider, { value: contextValue, children: _jsx(RadioGroupTheme.Root, __assign({ ref: ref, size: sizeTheme, variant: appearance, className: cn(radioGroupVariants({ size: size }), className) }, props, { children: children })) }) }));
|
61
61
|
});
|
62
62
|
RadioGroupRoot.displayName = 'RadioGroup.Root';
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -32,7 +33,7 @@ export var ScrollArea = forwardRef(function (_a, ref) {
|
|
32
33
|
sizeTheme = '2';
|
33
34
|
if (size === 'large')
|
34
35
|
sizeTheme = '3';
|
35
|
-
return (_jsx(Theme, { children: _jsx(ScrollAreaTheme, __assign({ ref: ref, scrollbars: scrollbars, radius: theme.themeRadius
|
36
|
+
return (_jsx(Theme, { children: _jsx(ScrollAreaTheme, __assign({ ref: ref, scrollbars: scrollbars, radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius, size: sizeTheme, className: className }, props, { children: children })) }));
|
36
37
|
});
|
37
38
|
ScrollArea.displayName = 'ScrollArea';
|
38
39
|
export default ScrollArea;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import { SegmentedControl as SegmentedControlTheme } from '@radix-ui/themes';
|
4
|
-
export
|
4
|
+
export { SegmentedControlItem } from './SegmentedControlItem';
|
5
5
|
import { ISize } from '../../../lib/types';
|
6
6
|
export interface SegmentedControlProps extends VariantProps<typeof segmentedControlVariants> {
|
7
7
|
appearance?: 'surface' | 'classic';
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -25,7 +26,7 @@ import React, { Children, forwardRef } from 'react';
|
|
25
26
|
import { cva } from 'class-variance-authority';
|
26
27
|
import { SegmentedControl as SegmentedControlTheme, Theme } from '@radix-ui/themes';
|
27
28
|
import { scalingVariants } from '../../../lib/constants';
|
28
|
-
export
|
29
|
+
export { SegmentedControlItem } from './SegmentedControlItem';
|
29
30
|
import { cn } from '../../../lib/utils/utils';
|
30
31
|
import { useTheme } from '../../../lib/theme';
|
31
32
|
var segmentedControlVariants = cva('text-slateA-12 dark:text-slateDarkA-12', {
|
@@ -37,7 +38,8 @@ var segmentedControlVariants = cva('text-slateA-12 dark:text-slateDarkA-12', {
|
|
37
38
|
},
|
38
39
|
});
|
39
40
|
export var SegmentedControlRoot = forwardRef(function (_a, ref) {
|
40
|
-
var
|
41
|
+
var _b;
|
42
|
+
var children = _a.children, className = _a.className, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, radius = _a.radius, _d = _a.size, size = _d === void 0 ? 'medium' : _d, scaling = _a.scaling, props = __rest(_a, ["children", "className", "appearance", "radius", "size", "scaling"]);
|
41
43
|
var theme = useTheme().theme;
|
42
44
|
var sizeTheme = '2';
|
43
45
|
if (size === 'small')
|
@@ -45,8 +47,8 @@ export var SegmentedControlRoot = forwardRef(function (_a, ref) {
|
|
45
47
|
if (size === 'large')
|
46
48
|
sizeTheme = '3';
|
47
49
|
var contextValue = {
|
48
|
-
radius: theme.themeRadius
|
49
|
-
scaling: theme.themeScaling
|
50
|
+
radius: (_b = radius !== null && radius !== void 0 ? radius : theme.themeRadius) !== null && _b !== void 0 ? _b : 'medium',
|
51
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
50
52
|
};
|
51
53
|
return (_jsx(Theme, { children: _jsx(SegmentedControlTheme.Root, __assign({ ref: ref, size: sizeTheme, radius: contextValue.radius, variant: appearance, className: cn(segmentedControlVariants({ scaling: contextValue.scaling }), className) }, props, { children: Children.map(children, function (child) { return React.cloneElement(child, { appearance: appearance }); }) })) }));
|
52
54
|
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
declare const SegmentedControl: {
|
3
3
|
Root: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes/dist/cjs/components/segmented-control").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref">, "size"> & import("./SegmentedControlRoot").SegmentedControlProps & import("react").RefAttributes<HTMLDivElement>>;
|
4
|
-
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/segmented-control").ItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("
|
4
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/segmented-control").ItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./SegmentedControlItem").SegmentedControlItemProps & import("react").RefAttributes<HTMLButtonElement>>;
|
5
5
|
};
|
6
6
|
export default SegmentedControl;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { SegmentedControlRoot } from './SegmentedControlRoot';
|
2
|
-
import { SegmentedControlItem } from './
|
2
|
+
import { SegmentedControlItem } from './SegmentedControlItem';
|
3
3
|
var SegmentedControl = {
|
4
4
|
Root: SegmentedControlRoot,
|
5
5
|
Item: SegmentedControlItem,
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -27,6 +28,7 @@ import { cva } from 'class-variance-authority';
|
|
27
28
|
import { cn } from '../../../lib/utils/utils';
|
28
29
|
import { radiusVariants, selectAppearanceStyle } from '../../../lib/constants';
|
29
30
|
import { useTheme } from '../../../lib/theme';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
32
|
var selectVariants = cva('', {
|
31
33
|
variants: {
|
32
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -38,7 +40,7 @@ var selectVariants = cva('', {
|
|
38
40
|
var SelectContext = createContext({
|
39
41
|
size: 'medium',
|
40
42
|
scaling: '100%',
|
41
|
-
color:
|
43
|
+
color: MAIN_COLOR,
|
42
44
|
radius: 'medium',
|
43
45
|
appearance: 'classic',
|
44
46
|
});
|
@@ -46,7 +48,8 @@ export var useSelectContext = function () {
|
|
46
48
|
return useContext(SelectContext);
|
47
49
|
};
|
48
50
|
export var Root = React.forwardRef(function (_a, ref) {
|
49
|
-
var
|
51
|
+
var _b;
|
52
|
+
var scaling = _a.scaling, size = _a.size, color = _a.color, radius = _a.radius, appearance = _a.appearance, children = _a.children, props = __rest(_a, ["scaling", "size", "color", "radius", "appearance", "children"]);
|
50
53
|
var theme = useTheme().theme;
|
51
54
|
var sizeTheme = '2';
|
52
55
|
if (size === 'small')
|
@@ -54,9 +57,9 @@ export var Root = React.forwardRef(function (_a, ref) {
|
|
54
57
|
if (size === 'large')
|
55
58
|
sizeTheme = '3';
|
56
59
|
var contextValue = {
|
57
|
-
scaling: theme.themeScaling
|
58
|
-
color: theme.themeColor
|
59
|
-
radius: theme.themeRadius
|
60
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
61
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
62
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
60
63
|
size: size,
|
61
64
|
sizeTheme: sizeTheme,
|
62
65
|
appearance: appearance,
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -34,11 +35,12 @@ var separatorVariants = cva('', {
|
|
34
35
|
},
|
35
36
|
});
|
36
37
|
export var Separator = React.forwardRef(function (_a, forwardedRef) {
|
37
|
-
var
|
38
|
+
var _b;
|
39
|
+
var orientation = _a.orientation, scaling = _a.scaling, size = _a.size, color = _a.color, className = _a.className, children = _a.children, props = __rest(_a, ["orientation", "scaling", "size", "color", "className", "children"]);
|
38
40
|
var theme = useTheme().theme;
|
39
41
|
var separatorStyle = {
|
40
|
-
scaling: theme.themeScaling
|
41
|
-
color: theme.themeColor
|
42
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
43
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : 'slate',
|
42
44
|
};
|
43
45
|
var sizeTheme = '1';
|
44
46
|
if (size === 'medium')
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -38,8 +39,8 @@ var separatorVariants = cva('', {
|
|
38
39
|
export var Skeleton = React.forwardRef(function (_a, forwardedRef) {
|
39
40
|
var children = _a.children, className = _a.className, radius = _a.radius, loading = _a.loading, width = _a.width, height = _a.height, skeletonProps = __rest(_a, ["children", "className", "radius", "loading", "width", "height"]);
|
40
41
|
var theme = useTheme().theme;
|
41
|
-
var radiusStyle = theme.themeRadius
|
42
|
-
return (_jsx(Theme, { children: _jsx(SkeletonTheme, __assign({ ref: forwardedRef, loading: loading, width: width, height: height, className: cn(
|
42
|
+
var radiusStyle = radius !== null && radius !== void 0 ? radius : theme.themeRadius;
|
43
|
+
return (_jsx(Theme, { children: _jsx(SkeletonTheme, __assign({ ref: forwardedRef, loading: loading, width: width, height: height, className: cn(separatorVariants({ radius: radiusStyle }), className) }, skeletonProps, { children: children })) }));
|
43
44
|
});
|
44
45
|
Skeleton.displayName = 'Skeleton';
|
45
46
|
export default Skeleton;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -27,18 +28,20 @@ import { cn } from '../../../lib/utils/utils';
|
|
27
28
|
import { radiusVariants } from '../../../lib/constants';
|
28
29
|
import { Theme, Slider as SliderTheme } from '@radix-ui/themes';
|
29
30
|
import { useTheme } from '../../../lib/theme';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
32
|
var sliderVariants = cva('relative flex items-center select-none touch-none w-[200px] h-5', {
|
31
33
|
variants: {
|
32
34
|
radius: __assign({}, radiusVariants['base']),
|
33
35
|
},
|
34
36
|
});
|
35
37
|
export var Slider = React.forwardRef(function (_a, forwardedRef) {
|
36
|
-
var
|
38
|
+
var _b;
|
39
|
+
var className = _a.className, color = _a.color, size = _a.size, appearance = _a.appearance, _c = _a.scaling, scaling = _c === void 0 ? '100%' : _c, radius = _a.radius, tabIndex = _a.tabIndex, sliderProps = __rest(_a, ["className", "color", "size", "appearance", "scaling", "radius", "tabIndex"]);
|
37
40
|
var theme = useTheme().theme;
|
38
41
|
var contextValue = {
|
39
|
-
radius: theme.themeRadius
|
40
|
-
scaling: theme.themeScaling
|
41
|
-
color: theme.themeColor
|
42
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
43
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
44
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
42
45
|
};
|
43
46
|
if (radius === 'medium' || radius === 'large')
|
44
47
|
radius = 'full';
|
@@ -47,11 +50,7 @@ export var Slider = React.forwardRef(function (_a, forwardedRef) {
|
|
47
50
|
sizeTheme = '1';
|
48
51
|
if (size === 'large')
|
49
52
|
sizeTheme = '3';
|
50
|
-
return (
|
51
|
-
// @ts-ignore
|
52
|
-
_jsx(Theme, { accentColor: contextValue.color, scaling: contextValue.scaling, hasBackground: false, children: _jsx(SliderTheme, __assign({ ref: forwardedRef, variant: appearance, size: sizeTheme, radius: contextValue.radius,
|
53
|
-
// @ts-ignore
|
54
|
-
color: contextValue.color, className: cn(sliderVariants({ radius: contextValue.radius }), className) }, sliderProps)) }));
|
53
|
+
return (_jsx(Theme, { accentColor: contextValue.color, scaling: contextValue.scaling, hasBackground: false, children: _jsx(SliderTheme, __assign({ ref: forwardedRef, variant: appearance, size: sizeTheme, radius: contextValue.radius, color: contextValue.color, className: cn(sliderVariants({ radius: contextValue.radius }), className) }, sliderProps)) }));
|
55
54
|
});
|
56
55
|
Slider.displayName = 'Slider';
|
57
56
|
export default Slider;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -43,7 +44,7 @@ export var Spinner = React.forwardRef(function (_a, forwardedRef) {
|
|
43
44
|
sizeTheme = '1';
|
44
45
|
if (size === 'large')
|
45
46
|
sizeTheme = '3';
|
46
|
-
return (_jsx(Theme, { hasBackground: false, children: _jsx(SpinnerTheme, __assign({ ref: forwardedRef, loading: loading, size: sizeTheme, className: cn('', spinnerVariants({ scaling: theme.themeScaling
|
47
|
+
return (_jsx(Theme, { hasBackground: false, children: _jsx(SpinnerTheme, __assign({ ref: forwardedRef, loading: loading, size: sizeTheme, className: cn('', spinnerVariants({ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling }), className) }, spinnerProps, { children: children })) }));
|
47
48
|
});
|
48
49
|
Spinner.displayName = 'Spinner';
|
49
50
|
export default Spinner;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -26,18 +27,18 @@ import { cva } from 'class-variance-authority';
|
|
26
27
|
import { TabNav as TabNavTheme, Theme } from '@radix-ui/themes';
|
27
28
|
import { cn } from '../../../lib/utils/utils';
|
28
29
|
import { useTheme } from '../../../lib/theme';
|
30
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
29
31
|
var tabNavVariants = cva('', {
|
30
32
|
variants: {},
|
31
33
|
});
|
32
34
|
export var Root = React.forwardRef(function (_a, ref) {
|
33
|
-
var
|
35
|
+
var _b;
|
36
|
+
var className = _a.className, children = _a.children, size = _a.size, color = _a.color, rootProps = __rest(_a, ["className", "children", "size", "color"]);
|
34
37
|
var theme = useTheme().theme;
|
35
38
|
var sizeTheme = '2';
|
36
39
|
if (size === 'small')
|
37
40
|
sizeTheme = '1';
|
38
|
-
return (
|
39
|
-
// @ts-ignore
|
40
|
-
_jsx(Theme, { accentColor: theme.themeColor || color, hasBackground: false, children: _jsx(TabNavTheme.Root, __assign({ ref: ref, size: sizeTheme, className: cn('', tabNavVariants({}), className) }, rootProps, { children: children })) }));
|
41
|
+
return (_jsx(Theme, { accentColor: ((_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR), hasBackground: false, children: _jsx(TabNavTheme.Root, __assign({ ref: ref, size: sizeTheme, className: cn(tabNavVariants({}), className) }, rootProps, { children: children })) }));
|
41
42
|
});
|
42
43
|
Root.displayName = 'TabNav.Root';
|
43
44
|
export var Link = React.forwardRef(function (_a, ref) {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -53,11 +54,10 @@ export var Root = React.forwardRef(function (_a, ref) {
|
|
53
54
|
sizeTheme = '1';
|
54
55
|
if (size === 'large')
|
55
56
|
sizeTheme = '3';
|
56
|
-
|
57
|
-
radius = 'large';
|
57
|
+
var radiusValue = radius !== null && radius !== void 0 ? radius : theme.themeRadius;
|
58
58
|
var contextValue = {
|
59
|
-
scaling: theme.themeScaling
|
60
|
-
radius:
|
59
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
60
|
+
radius: radiusValue === 'full' ? 'large' : radiusValue,
|
61
61
|
};
|
62
62
|
return (_jsx(Theme, { hasBackground: false, children: _jsx(TableTheme.Root, __assign({ ref: ref, className: cn(tableVariants(contextValue), className), variant: appearance, size: sizeTheme }, tableProps, { children: children })) }));
|
63
63
|
});
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { Tabs as TabsTheme } from '@radix-ui/themes';
|
2
2
|
import React from 'react';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IColor } from '../../../lib/types';
|
4
5
|
export interface TabsProps extends VariantProps<typeof tabsVariants> {
|
5
6
|
defaultValue?: string;
|
6
7
|
size?: 'small' | 'medium';
|
7
|
-
color?:
|
8
|
+
color?: IColor;
|
8
9
|
}
|
9
10
|
declare const tabsVariants: (props?: ({
|
10
11
|
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -27,15 +28,17 @@ import { cn } from '../../../lib/utils/utils';
|
|
27
28
|
import { cva } from 'class-variance-authority';
|
28
29
|
import { weightVariants } from '../../../lib/constants';
|
29
30
|
import { useTheme } from '../../../lib/theme';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
32
|
var tabsVariants = cva('', {
|
31
33
|
variants: {
|
32
34
|
weight: __assign({}, weightVariants),
|
33
35
|
},
|
34
36
|
});
|
35
37
|
export var Root = React.forwardRef(function (_a, forwardedRef) {
|
36
|
-
var
|
38
|
+
var _b;
|
39
|
+
var className = _a.className, children = _a.children, color = _a.color, rootProps = __rest(_a, ["className", "children", "color"]);
|
37
40
|
var theme = useTheme().theme;
|
38
|
-
return (_jsx(Theme, { accentColor: theme.themeColor
|
41
|
+
return (_jsx(Theme, { accentColor: ((_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR), hasBackground: false, children: _jsx(TabsTheme.Root, __assign({}, rootProps, { ref: forwardedRef, className: cn('', className), children: children })) }));
|
39
42
|
});
|
40
43
|
Root.displayName = 'Tabs.Root';
|
41
44
|
export var List = React.forwardRef(function (_a, forwardedRef) {
|