@lotte-innovate/ui-component-test 0.1.54 → 0.1.55
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_virtual/_commonjsHelpers.mjs +2 -0
- package/dist/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/dist/_virtual/index.mjs +2 -0
- package/dist/_virtual/index.mjs.map +1 -0
- package/dist/_virtual/index2.mjs +2 -0
- package/dist/_virtual/index2.mjs.map +1 -0
- package/dist/_virtual/jsx-runtime.mjs +2 -0
- package/dist/_virtual/jsx-runtime.mjs.map +1 -0
- package/dist/_virtual/jsx-runtime2.mjs +2 -0
- package/dist/_virtual/jsx-runtime2.mjs.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.mjs +2 -0
- package/dist/_virtual/react-jsx-runtime.development.mjs.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.mjs +2 -0
- package/dist/_virtual/react-jsx-runtime.production.min.mjs.map +1 -0
- package/dist/globals.css +1 -1
- package/dist/lib/Typography/Header/index.d.ts +13 -0
- package/dist/lib/Typography/Header/index.js +55 -0
- package/dist/lib/Typography/Header/index.mjs +2 -0
- package/dist/lib/Typography/Header/index.mjs.map +1 -0
- package/dist/lib/Typography/Text/index.d.ts +15 -0
- package/dist/lib/Typography/Text/index.js +44 -0
- package/dist/lib/Typography/Text/index.mjs +2 -0
- package/dist/lib/Typography/Text/index.mjs.map +1 -0
- package/dist/lib/color/alpha.mjs +2 -0
- package/dist/lib/color/alpha.mjs.map +1 -0
- package/dist/lib/color/constants.mjs +2 -0
- package/dist/lib/color/constants.mjs.map +1 -0
- package/dist/lib/color/light.mjs +2 -0
- package/dist/lib/color/light.mjs.map +1 -0
- package/dist/lib/components/Accordion/index.d.ts +22 -0
- package/dist/lib/components/Accordion/index.js +64 -0
- package/dist/lib/components/Accordion/index.mjs +2 -0
- package/dist/lib/components/Accordion/index.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +61 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +2 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +60 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +2 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +51 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +2 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +47 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +2 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +2 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +47 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +2 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +55 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +2 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/index.mjs +2 -0
- package/dist/lib/components/AlertDialog/index.mjs.map +1 -0
- package/dist/lib/components/AspectRatio/index.js +42 -0
- package/dist/lib/components/AspectRatio/index.mjs +2 -0
- package/dist/lib/components/AspectRatio/index.mjs.map +1 -0
- package/dist/lib/components/Avatar/index.js +58 -0
- package/dist/lib/components/Avatar/index.mjs +2 -0
- package/dist/lib/components/Avatar/index.mjs.map +1 -0
- package/dist/lib/components/Badge/index.d.ts +18 -0
- package/dist/lib/components/Badge/index.js +54 -0
- package/dist/lib/components/Badge/index.mjs +2 -0
- package/dist/lib/components/Badge/index.mjs.map +1 -0
- package/dist/lib/components/BarChart/index.d.ts +37 -0
- package/dist/lib/components/BarChart/index.js +63 -0
- package/dist/lib/components/BarChart/index.mjs +2 -0
- package/dist/lib/components/BarChart/index.mjs.map +1 -0
- package/dist/lib/components/BubbleChart/index.d.ts +28 -0
- package/dist/lib/components/BubbleChart/index.js +73 -0
- package/dist/lib/components/BubbleChart/index.mjs +2 -0
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -0
- package/dist/lib/components/Button/index.d.ts +16 -0
- package/dist/lib/components/Button/index.js +56 -0
- package/dist/lib/components/Button/index.mjs +2 -0
- package/dist/lib/components/Button/index.mjs.map +1 -0
- package/dist/lib/components/Callout/CalloutIcon.js +57 -0
- package/dist/lib/components/Callout/CalloutIcon.mjs +2 -0
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
- package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/lib/components/Callout/CalloutRoot.js +72 -0
- package/dist/lib/components/Callout/CalloutRoot.mjs +2 -0
- package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
- package/dist/lib/components/Callout/CalloutText.js +52 -0
- package/dist/lib/components/Callout/CalloutText.mjs +2 -0
- package/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
- package/dist/lib/components/Callout/index.mjs +2 -0
- package/dist/lib/components/Callout/index.mjs.map +1 -0
- package/dist/lib/components/Card/index.d.ts +14 -0
- package/dist/lib/components/Card/index.js +64 -0
- package/dist/lib/components/Card/index.mjs +2 -0
- package/dist/lib/components/Card/index.mjs.map +1 -0
- package/dist/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/lib/components/Checkbox/index.js +89 -0
- package/dist/lib/components/Checkbox/index.mjs +2 -0
- package/dist/lib/components/Checkbox/index.mjs.map +1 -0
- package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/lib/components/CheckboxCard/index.js +58 -0
- package/dist/lib/components/CheckboxCard/index.mjs +2 -0
- package/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +33 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +2 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +17 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +34 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +2 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/lib/components/CheckboxGroup/index.mjs +2 -0
- package/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +42 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +56 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +59 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +50 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +48 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +44 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +54 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +40 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/index.mjs +2 -0
- package/dist/lib/components/ContextMenu/index.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListItem.js +43 -0
- package/dist/lib/components/DataList/DataListItem.mjs +2 -0
- package/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListLabel.js +49 -0
- package/dist/lib/components/DataList/DataListLabel.mjs +2 -0
- package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListRoot.js +54 -0
- package/dist/lib/components/DataList/DataListRoot.mjs +2 -0
- package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListValue.js +51 -0
- package/dist/lib/components/DataList/DataListValue.mjs +2 -0
- package/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
- package/dist/lib/components/DataList/index.mjs +2 -0
- package/dist/lib/components/DataList/index.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogAction.js +59 -0
- package/dist/lib/components/Dialog/DialogAction.mjs +2 -0
- package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
- package/dist/lib/components/Dialog/DialogCancel.js +55 -0
- package/dist/lib/components/Dialog/DialogCancel.mjs +2 -0
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogContent.js +57 -0
- package/dist/lib/components/Dialog/DialogContent.mjs +2 -0
- package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogDescription.js +47 -0
- package/dist/lib/components/Dialog/DialogDescription.mjs +2 -0
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogRoot.mjs +2 -0
- package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
- package/dist/lib/components/Dialog/DialogSlot.js +46 -0
- package/dist/lib/components/Dialog/DialogSlot.mjs +2 -0
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogTitle.js +47 -0
- package/dist/lib/components/Dialog/DialogTitle.mjs +2 -0
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
- package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
- package/dist/lib/components/Dialog/index.mjs +2 -0
- package/dist/lib/components/Dialog/index.mjs.map +1 -0
- package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
- package/dist/lib/components/DoughnutChart/index.js +65 -0
- package/dist/lib/components/DoughnutChart/index.mjs +2 -0
- package/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +60 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +41 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +56 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +58 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +48 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +45 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +41 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +15 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +40 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +53 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/index.mjs +2 -0
- package/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
- package/dist/lib/components/HoverCard/HoverCardContent.js +61 -0
- package/dist/lib/components/HoverCard/HoverCardContent.mjs +2 -0
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
- package/dist/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/lib/components/HoverCard/index.mjs +2 -0
- package/dist/lib/components/HoverCard/index.mjs.map +1 -0
- package/dist/lib/components/IconButton/index.d.ts +15 -0
- package/dist/lib/components/IconButton/index.js +63 -0
- package/dist/lib/components/IconButton/index.mjs +2 -0
- package/dist/lib/components/IconButton/index.mjs.map +1 -0
- package/dist/lib/components/Inset/index.js +50 -0
- package/dist/lib/components/Inset/index.mjs +2 -0
- package/dist/lib/components/Inset/index.mjs.map +1 -0
- package/dist/lib/components/Label/index.d.ts +17 -0
- package/dist/lib/components/Label/index.js +53 -0
- package/dist/lib/components/Label/index.mjs +2 -0
- package/dist/lib/components/Label/index.mjs.map +1 -0
- package/dist/lib/components/LineChart/index.d.ts +43 -0
- package/dist/lib/components/LineChart/index.js +61 -0
- package/dist/lib/components/LineChart/index.mjs +2 -0
- package/dist/lib/components/LineChart/index.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +38 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarContent.js +60 -0
- package/dist/lib/components/Menubar/MenubarContent.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarItem.js +54 -0
- package/dist/lib/components/Menubar/MenubarItem.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +49 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.js +40 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/lib/components/Menubar/MenubarRoot.js +61 -0
- package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
- package/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSubContent.js +51 -0
- package/dist/lib/components/Menubar/MenubarSubContent.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +41 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarTrigger.js +57 -0
- package/dist/lib/components/Menubar/MenubarTrigger.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
- package/dist/lib/components/Menubar/index.mjs +2 -0
- package/dist/lib/components/Menubar/index.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +48 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +51 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +47 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +43 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +58 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/index.mjs +2 -0
- package/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
- package/dist/lib/components/PieChart/index.d.ts +22 -0
- package/dist/lib/components/PieChart/index.js +65 -0
- package/dist/lib/components/PieChart/index.mjs +2 -0
- package/dist/lib/components/PieChart/index.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverClose.js +48 -0
- package/dist/lib/components/Popover/PopoverClose.mjs +2 -0
- package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
- package/dist/lib/components/Popover/PopoverContent.js +65 -0
- package/dist/lib/components/Popover/PopoverContent.mjs +2 -0
- package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverRoot.mjs +2 -0
- package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
- package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
- package/dist/lib/components/Popover/index.mjs +2 -0
- package/dist/lib/components/Popover/index.mjs.map +1 -0
- package/dist/lib/components/Progress/index.d.ts +13 -0
- package/dist/lib/components/Progress/index.js +56 -0
- package/dist/lib/components/Progress/index.mjs +2 -0
- package/dist/lib/components/Progress/index.mjs.map +1 -0
- package/dist/lib/components/RadarChart/index.d.ts +32 -0
- package/dist/lib/components/RadarChart/index.js +76 -0
- package/dist/lib/components/RadarChart/index.mjs +2 -0
- package/dist/lib/components/RadarChart/index.mjs.map +1 -0
- package/dist/lib/components/Radio/index.d.ts +13 -0
- package/dist/lib/components/Radio/index.js +53 -0
- package/dist/lib/components/Radio/index.mjs +2 -0
- package/dist/lib/components/Radio/index.mjs.map +1 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.js +54 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs +2 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +46 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
- package/dist/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/lib/components/RadioCards/index.mjs +2 -0
- package/dist/lib/components/RadioCards/index.mjs.map +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +46 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +2 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +53 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
- package/dist/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/lib/components/RadioGroup/index.mjs +2 -0
- package/dist/lib/components/RadioGroup/index.mjs.map +1 -0
- package/dist/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/lib/components/ScrollArea/index.mjs +2 -0
- package/dist/lib/components/ScrollArea/index.mjs.map +1 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +47 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +2 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
- package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/index.mjs +2 -0
- package/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/lib/components/Select/index.d.ts +34 -0
- package/dist/lib/components/Select/index.js +92 -0
- package/dist/lib/components/Select/index.mjs +2 -0
- package/dist/lib/components/Select/index.mjs.map +1 -0
- package/dist/lib/components/Separator/index.js +47 -0
- package/dist/lib/components/Separator/index.mjs +2 -0
- package/dist/lib/components/Separator/index.mjs.map +1 -0
- package/dist/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/lib/components/Skeleton/index.js +42 -0
- package/dist/lib/components/Skeleton/index.mjs +2 -0
- package/dist/lib/components/Skeleton/index.mjs.map +1 -0
- package/dist/lib/components/Slider/index.d.ts +14 -0
- package/dist/lib/components/Slider/index.js +49 -0
- package/dist/lib/components/Slider/index.mjs +2 -0
- package/dist/lib/components/Slider/index.mjs.map +1 -0
- package/dist/lib/components/Spinner/index.d.ts +15 -0
- package/dist/lib/components/Spinner/index.js +47 -0
- package/dist/lib/components/Spinner/index.mjs +2 -0
- package/dist/lib/components/Spinner/index.mjs.map +1 -0
- package/dist/lib/components/TabNav/index.js +50 -0
- package/dist/lib/components/TabNav/index.mjs +2 -0
- package/dist/lib/components/TabNav/index.mjs.map +1 -0
- package/dist/lib/components/Table/index.d.ts +30 -0
- package/dist/lib/components/Table/index.js +98 -0
- package/dist/lib/components/Table/index.mjs +2 -0
- package/dist/lib/components/Table/index.mjs.map +1 -0
- package/dist/lib/components/Tabs/index.js +65 -0
- package/dist/lib/components/Tabs/index.mjs +2 -0
- package/dist/lib/components/Tabs/index.mjs.map +1 -0
- package/dist/lib/components/TextArea/index.d.ts +16 -0
- package/dist/lib/components/TextArea/index.js +58 -0
- package/dist/lib/components/TextArea/index.mjs +2 -0
- package/dist/lib/components/TextArea/index.mjs.map +1 -0
- package/dist/lib/components/TextField/index.d.ts +21 -0
- package/dist/lib/components/TextField/index.js +56 -0
- package/dist/lib/components/TextField/index.mjs +2 -0
- package/dist/lib/components/TextField/index.mjs.map +1 -0
- package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/lib/components/Toast/ToastActionButton.js +67 -0
- package/dist/lib/components/Toast/ToastActionButton.mjs +2 -0
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
- package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/lib/components/Toast/ToastDescription.js +53 -0
- package/dist/lib/components/Toast/ToastDescription.mjs +2 -0
- package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
- package/dist/lib/components/Toast/ToastRoot.js +90 -0
- package/dist/lib/components/Toast/ToastRoot.mjs +2 -0
- package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
- package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/lib/components/Toast/ToastTitle.js +53 -0
- package/dist/lib/components/Toast/ToastTitle.mjs +2 -0
- package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
- package/dist/lib/components/Toast/index.mjs +2 -0
- package/dist/lib/components/Toast/index.mjs.map +1 -0
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/lib/components/Toggle/ToggleWithText.js +58 -0
- package/dist/lib/components/Toggle/ToggleWithText.mjs +2 -0
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
- package/dist/lib/components/Toggle/index.d.ts +21 -0
- package/dist/lib/components/Toggle/index.js +58 -0
- package/dist/lib/components/Toggle/index.mjs +2 -0
- package/dist/lib/components/Toggle/index.mjs.map +1 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +54 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +2 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +48 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
- package/dist/lib/components/ToggleGroup/index.mjs +2 -0
- package/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
- package/dist/lib/components/ToggleSwitch/index.js +71 -0
- package/dist/lib/components/ToggleSwitch/index.mjs +2 -0
- package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
- package/dist/lib/components/Tooltip/index.d.ts +19 -0
- package/dist/lib/components/Tooltip/index.js +49 -0
- package/dist/lib/components/Tooltip/index.mjs +2 -0
- package/dist/lib/components/Tooltip/index.mjs.map +1 -0
- package/dist/lib/constants.js +914 -0
- package/dist/lib/constants.mjs +2 -0
- package/dist/lib/constants.mjs.map +1 -0
- package/dist/lib/index.mjs +2 -0
- package/dist/lib/index.mjs.map +1 -0
- package/dist/lib/utils/useDarkMode.js +49 -0
- package/dist/lib/utils/useDarkMode.mjs +2 -0
- package/dist/lib/utils/useDarkMode.mjs.map +1 -0
- package/dist/lib/utils/utils.mjs +2 -0
- package/dist/lib/utils/utils.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +2 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +2 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs +2 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +2 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.map +1 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +2 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.map +1 -0
- package/dist/node_modules/@kurkle/color/dist/color.esm.mjs +8 -0
- package/dist/node_modules/@kurkle/color/dist/color.esm.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/number/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/number/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-aspect-ratio/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-avatar/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-checkbox/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-hover-card/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-label/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-menubar/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-progress/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-radio-group/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-slider/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-switch/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-toast/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-toggle/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-toggle-group/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-previous/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-checkbox.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-radio.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/base-tab-list.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.primitive.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/icons.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/inert.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/color.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/gap.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/height.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/layout.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/margin.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/padding.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/prop-def.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/dist/esm/props/width.props.mjs.map +1 -0
- package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs +2 -0
- package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs.map +1 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.mjs +2 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.mjs.map +1 -0
- package/dist/node_modules/chart.js/auto/auto.mjs +2 -0
- package/dist/node_modules/chart.js/auto/auto.mjs.map +1 -0
- package/dist/node_modules/chart.js/dist/chart.mjs +8 -0
- package/dist/node_modules/chart.js/dist/chart.mjs.map +1 -0
- package/dist/node_modules/chart.js/dist/chunks/helpers.segment.mjs +8 -0
- package/dist/node_modules/chart.js/dist/chunks/helpers.segment.mjs.map +1 -0
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs +8 -0
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs.map +1 -0
- package/dist/node_modules/class-variance-authority/dist/index.mjs +2 -0
- package/dist/node_modules/class-variance-authority/dist/index.mjs.map +1 -0
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs +2 -0
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.map +1 -0
- package/dist/node_modules/classnames/index.mjs +7 -0
- package/dist/node_modules/classnames/index.mjs.map +1 -0
- package/dist/node_modules/clsx/dist/clsx.mjs +2 -0
- package/dist/node_modules/clsx/dist/clsx.mjs.map +1 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.mjs +2 -0
- package/dist/node_modules/get-nonce/dist/es2015/index.mjs.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs +11 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +11 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs.map +1 -0
- package/dist/node_modules/react/jsx-runtime.mjs +2 -0
- package/dist/node_modules/react/jsx-runtime.mjs.map +1 -0
- package/dist/node_modules/react-chartjs-2/dist/index.mjs +2 -0
- package/dist/node_modules/react-chartjs-2/dist/index.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +2 -0
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +2 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +2 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs.map +1 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +2 -0
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs +2 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs +2 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs.map +1 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs +2 -0
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs +2 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.mjs +2 -0
- package/dist/node_modules/tslib/tslib.es6.mjs.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +2 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +2 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs.map +1 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs +2 -0
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs +2 -0
- package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs.map +1 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs +2 -0
- package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs.map +1 -0
- package/dist/tailwind.config.js +2 -5
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +20 -26
- package/dist/cjs/lib/Typography/Header/index.d.ts +0 -13
- package/dist/cjs/lib/Typography/Header/index.js +0 -61
- package/dist/cjs/lib/Typography/Text/index.d.ts +0 -15
- package/dist/cjs/lib/Typography/Text/index.js +0 -47
- package/dist/cjs/lib/Typography/index.js +0 -10
- package/dist/cjs/lib/color/alpha.js +0 -788
- package/dist/cjs/lib/color/constants.js +0 -299
- package/dist/cjs/lib/color/dark.js +0 -395
- package/dist/cjs/lib/color/krdsColors.js +0 -312
- package/dist/cjs/lib/color/light.js +0 -396
- package/dist/cjs/lib/components/Accordion/index.d.ts +0 -22
- package/dist/cjs/lib/components/Accordion/index.js +0 -93
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.d.ts +0 -14
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.js +0 -87
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.d.ts +0 -13
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.js +0 -86
- package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.js +0 -77
- package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.js +0 -73
- package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.d.ts +0 -16
- package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.js +0 -73
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.js +0 -73
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.d.ts +0 -17
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.js +0 -81
- package/dist/cjs/lib/components/AlertDialog/index.js +0 -19
- package/dist/cjs/lib/components/AspectRatio/index.js +0 -68
- package/dist/cjs/lib/components/Avatar/index.js +0 -83
- package/dist/cjs/lib/components/Badge/index.d.ts +0 -18
- package/dist/cjs/lib/components/Badge/index.js +0 -56
- package/dist/cjs/lib/components/BarChart/index.d.ts +0 -37
- package/dist/cjs/lib/components/BarChart/index.js +0 -65
- package/dist/cjs/lib/components/BubbleChart/index.d.ts +0 -28
- package/dist/cjs/lib/components/BubbleChart/index.js +0 -80
- package/dist/cjs/lib/components/Button/index.d.ts +0 -16
- package/dist/cjs/lib/components/Button/index.js +0 -59
- package/dist/cjs/lib/components/Callout/CalloutIcon.js +0 -60
- package/dist/cjs/lib/components/Callout/CalloutRoot.d.ts +0 -18
- package/dist/cjs/lib/components/Callout/CalloutRoot.js +0 -76
- package/dist/cjs/lib/components/Callout/CalloutText.js +0 -55
- package/dist/cjs/lib/components/Callout/index.js +0 -11
- package/dist/cjs/lib/components/Card/index.d.ts +0 -14
- package/dist/cjs/lib/components/Card/index.js +0 -66
- package/dist/cjs/lib/components/Checkbox/index.d.ts +0 -17
- package/dist/cjs/lib/components/Checkbox/index.js +0 -115
- package/dist/cjs/lib/components/CheckboxCard/index.d.ts +0 -20
- package/dist/cjs/lib/components/CheckboxCard/index.js +0 -64
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +0 -5
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.js +0 -39
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +0 -17
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.js +0 -61
- package/dist/cjs/lib/components/CheckboxGroup/index.d.ts +0 -6
- package/dist/cjs/lib/components/CheckboxGroup/index.js +0 -6
- package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.js +0 -68
- package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.js +0 -82
- package/dist/cjs/lib/components/ContextMenu/ContextMenuGroup.js +0 -56
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.js +0 -85
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.js +0 -76
- package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.js +0 -74
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioGroup.js +0 -57
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.js +0 -70
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.d.ts +0 -13
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.js +0 -69
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.js +0 -57
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.js +0 -80
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.js +0 -66
- package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.js +0 -57
- package/dist/cjs/lib/components/ContextMenu/index.js +0 -31
- package/dist/cjs/lib/components/DataList/DataListItem.js +0 -46
- package/dist/cjs/lib/components/DataList/DataListLabel.js +0 -52
- package/dist/cjs/lib/components/DataList/DataListRoot.js +0 -58
- package/dist/cjs/lib/components/DataList/DataListValue.js +0 -54
- package/dist/cjs/lib/components/DataList/index.js +0 -8
- package/dist/cjs/lib/components/Dialog/DialogAction.d.ts +0 -13
- package/dist/cjs/lib/components/Dialog/DialogAction.js +0 -62
- package/dist/cjs/lib/components/Dialog/DialogCancel.d.ts +0 -11
- package/dist/cjs/lib/components/Dialog/DialogCancel.js +0 -58
- package/dist/cjs/lib/components/Dialog/DialogContent.js +0 -60
- package/dist/cjs/lib/components/Dialog/DialogDescription.js +0 -50
- package/dist/cjs/lib/components/Dialog/DialogRoot.js +0 -41
- package/dist/cjs/lib/components/Dialog/DialogSlot.d.ts +0 -9
- package/dist/cjs/lib/components/Dialog/DialogSlot.js +0 -49
- package/dist/cjs/lib/components/Dialog/DialogTitle.d.ts +0 -11
- package/dist/cjs/lib/components/Dialog/DialogTitle.js +0 -50
- package/dist/cjs/lib/components/Dialog/DialogTrigger.js +0 -33
- package/dist/cjs/lib/components/Dialog/index.js +0 -21
- package/dist/cjs/lib/components/DoughnutChart/index.d.ts +0 -22
- package/dist/cjs/lib/components/DoughnutChart/index.js +0 -70
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -56
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.js +0 -86
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +0 -67
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.js +0 -82
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.d.ts +0 -15
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.js +0 -84
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +0 -74
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.js +0 -71
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.js +0 -67
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -15
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.js +0 -65
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.js +0 -57
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSub.js +0 -56
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +0 -66
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.js +0 -79
- package/dist/cjs/lib/components/DropdownMenu/index.js +0 -31
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.d.ts +0 -14
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.js +0 -64
- package/dist/cjs/lib/components/HoverCard/HoverCardRoot.js +0 -42
- package/dist/cjs/lib/components/HoverCard/HoverCardTrigger.js +0 -33
- package/dist/cjs/lib/components/HoverCard/index.d.ts +0 -10
- package/dist/cjs/lib/components/HoverCard/index.js +0 -11
- package/dist/cjs/lib/components/IconButton/index.d.ts +0 -15
- package/dist/cjs/lib/components/IconButton/index.js +0 -89
- package/dist/cjs/lib/components/Inset/index.js +0 -53
- package/dist/cjs/lib/components/Label/index.d.ts +0 -17
- package/dist/cjs/lib/components/Label/index.js +0 -82
- package/dist/cjs/lib/components/LineChart/index.d.ts +0 -43
- package/dist/cjs/lib/components/LineChart/index.js +0 -63
- package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.js +0 -64
- package/dist/cjs/lib/components/Menubar/MenubarContent.js +0 -86
- package/dist/cjs/lib/components/Menubar/MenubarItem.js +0 -80
- package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.js +0 -75
- package/dist/cjs/lib/components/Menubar/MenubarMenu.js +0 -56
- package/dist/cjs/lib/components/Menubar/MenubarRadioGroup.js +0 -57
- package/dist/cjs/lib/components/Menubar/MenubarRadioItem.js +0 -66
- package/dist/cjs/lib/components/Menubar/MenubarRoot.d.ts +0 -19
- package/dist/cjs/lib/components/Menubar/MenubarRoot.js +0 -88
- package/dist/cjs/lib/components/Menubar/MenubarSeparator.js +0 -57
- package/dist/cjs/lib/components/Menubar/MenubarSub.js +0 -56
- package/dist/cjs/lib/components/Menubar/MenubarSubContent.js +0 -77
- package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.js +0 -67
- package/dist/cjs/lib/components/Menubar/MenubarTrigger.js +0 -83
- package/dist/cjs/lib/components/Menubar/index.js +0 -31
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.js +0 -74
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.js +0 -57
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuItem.js +0 -56
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.js +0 -77
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.js +0 -73
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +0 -14
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.js +0 -70
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.js +0 -84
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.js +0 -79
- package/dist/cjs/lib/components/NavigationMenu/index.js +0 -12
- package/dist/cjs/lib/components/PieChart/index.d.ts +0 -22
- package/dist/cjs/lib/components/PieChart/index.js +0 -70
- package/dist/cjs/lib/components/Popover/PopoverClose.js +0 -51
- package/dist/cjs/lib/components/Popover/PopoverContent.d.ts +0 -11
- package/dist/cjs/lib/components/Popover/PopoverContent.js +0 -68
- package/dist/cjs/lib/components/Popover/PopoverRoot.js +0 -40
- package/dist/cjs/lib/components/Popover/PopoverTrigger.js +0 -33
- package/dist/cjs/lib/components/Popover/index.js +0 -13
- package/dist/cjs/lib/components/Progress/index.d.ts +0 -13
- package/dist/cjs/lib/components/Progress/index.js +0 -59
- package/dist/cjs/lib/components/RadarChart/index.d.ts +0 -32
- package/dist/cjs/lib/components/RadarChart/index.js +0 -83
- package/dist/cjs/lib/components/Radio/index.d.ts +0 -13
- package/dist/cjs/lib/components/Radio/index.js +0 -59
- package/dist/cjs/lib/components/RadioCards/RadioCardsItem.js +0 -57
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -13
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.js +0 -49
- package/dist/cjs/lib/components/RadioCards/index.d.ts +0 -6
- package/dist/cjs/lib/components/RadioCards/index.js +0 -9
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -13
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.js +0 -49
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -15
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.js +0 -56
- package/dist/cjs/lib/components/RadioGroup/index.d.ts +0 -6
- package/dist/cjs/lib/components/RadioGroup/index.js +0 -9
- package/dist/cjs/lib/components/ScrollArea/index.d.ts +0 -9
- package/dist/cjs/lib/components/ScrollArea/index.js +0 -39
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.js +0 -38
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +0 -14
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.js +0 -76
- package/dist/cjs/lib/components/SegmentedControl/index.d.ts +0 -6
- package/dist/cjs/lib/components/SegmentedControl/index.js +0 -9
- package/dist/cjs/lib/components/Select/index.d.ts +0 -34
- package/dist/cjs/lib/components/Select/index.js +0 -98
- package/dist/cjs/lib/components/Separator/index.js +0 -53
- package/dist/cjs/lib/components/Skeleton/index.d.ts +0 -14
- package/dist/cjs/lib/components/Skeleton/index.js +0 -48
- package/dist/cjs/lib/components/Slider/index.d.ts +0 -14
- package/dist/cjs/lib/components/Slider/index.js +0 -55
- package/dist/cjs/lib/components/Spinner/index.d.ts +0 -15
- package/dist/cjs/lib/components/Spinner/index.js +0 -53
- package/dist/cjs/lib/components/TabNav/index.js +0 -56
- package/dist/cjs/lib/components/Table/index.d.ts +0 -30
- package/dist/cjs/lib/components/Table/index.js +0 -104
- package/dist/cjs/lib/components/Tabs/index.js +0 -71
- package/dist/cjs/lib/components/TextArea/index.d.ts +0 -16
- package/dist/cjs/lib/components/TextArea/index.js +0 -64
- package/dist/cjs/lib/components/TextField/index.d.ts +0 -21
- package/dist/cjs/lib/components/TextField/index.js +0 -62
- package/dist/cjs/lib/components/Toast/ToastActionButton.d.ts +0 -14
- package/dist/cjs/lib/components/Toast/ToastActionButton.js +0 -96
- package/dist/cjs/lib/components/Toast/ToastDescription.d.ts +0 -13
- package/dist/cjs/lib/components/Toast/ToastDescription.js +0 -79
- package/dist/cjs/lib/components/Toast/ToastRoot.js +0 -117
- package/dist/cjs/lib/components/Toast/ToastTitle.d.ts +0 -13
- package/dist/cjs/lib/components/Toast/ToastTitle.js +0 -79
- package/dist/cjs/lib/components/Toast/index.js +0 -13
- package/dist/cjs/lib/components/Toggle/ToggleWithText.d.ts +0 -21
- package/dist/cjs/lib/components/Toggle/ToggleWithText.js +0 -84
- package/dist/cjs/lib/components/Toggle/index.d.ts +0 -21
- package/dist/cjs/lib/components/Toggle/index.js +0 -87
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.d.ts +0 -17
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.js +0 -80
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +0 -15
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.js +0 -74
- package/dist/cjs/lib/components/ToggleGroup/index.js +0 -9
- package/dist/cjs/lib/components/ToggleSwitch/index.js +0 -77
- package/dist/cjs/lib/components/Tooltip/index.d.ts +0 -19
- package/dist/cjs/lib/components/Tooltip/index.js +0 -77
- package/dist/cjs/lib/components/index.js +0 -108
- package/dist/cjs/lib/constants.js +0 -950
- package/dist/cjs/lib/index.js +0 -18
- package/dist/cjs/lib/types.js +0 -2
- package/dist/cjs/lib/utils/useDarkMode.js +0 -53
- package/dist/cjs/lib/utils/utils.js +0 -14
- package/dist/esm/lib/Typography/Header/index.d.ts +0 -13
- package/dist/esm/lib/Typography/Header/index.js +0 -55
- package/dist/esm/lib/Typography/Text/index.d.ts +0 -15
- package/dist/esm/lib/Typography/Text/index.js +0 -44
- package/dist/esm/lib/Typography/index.d.ts +0 -2
- package/dist/esm/lib/color/alpha.d.ts +0 -784
- package/dist/esm/lib/color/constants.d.ts +0 -29
- package/dist/esm/lib/color/dark.d.ts +0 -392
- package/dist/esm/lib/color/krdsColors.d.ts +0 -309
- package/dist/esm/lib/color/light.d.ts +0 -392
- package/dist/esm/lib/components/Accordion/index.d.ts +0 -22
- package/dist/esm/lib/components/Accordion/index.js +0 -64
- package/dist/esm/lib/components/AlertDialog/AlertDialogAction.d.ts +0 -14
- package/dist/esm/lib/components/AlertDialog/AlertDialogAction.js +0 -61
- package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.d.ts +0 -13
- package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.js +0 -60
- package/dist/esm/lib/components/AlertDialog/AlertDialogContent.d.ts +0 -11
- package/dist/esm/lib/components/AlertDialog/AlertDialogContent.js +0 -51
- package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.d.ts +0 -10
- package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.js +0 -47
- package/dist/esm/lib/components/AlertDialog/AlertDialogRoot.d.ts +0 -16
- package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.d.ts +0 -10
- package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.js +0 -47
- package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.d.ts +0 -17
- package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.js +0 -55
- package/dist/esm/lib/components/AlertDialog/index.d.ts +0 -11
- package/dist/esm/lib/components/AspectRatio/index.d.ts +0 -10
- package/dist/esm/lib/components/AspectRatio/index.js +0 -42
- package/dist/esm/lib/components/Avatar/index.d.ts +0 -21
- package/dist/esm/lib/components/Avatar/index.js +0 -58
- package/dist/esm/lib/components/Badge/index.d.ts +0 -18
- package/dist/esm/lib/components/Badge/index.js +0 -54
- package/dist/esm/lib/components/BarChart/index.d.ts +0 -37
- package/dist/esm/lib/components/BarChart/index.js +0 -63
- package/dist/esm/lib/components/BubbleChart/index.d.ts +0 -28
- package/dist/esm/lib/components/BubbleChart/index.js +0 -73
- package/dist/esm/lib/components/Button/index.d.ts +0 -16
- package/dist/esm/lib/components/Button/index.js +0 -56
- package/dist/esm/lib/components/Callout/CalloutIcon.d.ts +0 -13
- package/dist/esm/lib/components/Callout/CalloutIcon.js +0 -57
- package/dist/esm/lib/components/Callout/CalloutRoot.d.ts +0 -18
- package/dist/esm/lib/components/Callout/CalloutRoot.js +0 -72
- package/dist/esm/lib/components/Callout/CalloutText.d.ts +0 -10
- package/dist/esm/lib/components/Callout/CalloutText.js +0 -52
- package/dist/esm/lib/components/Callout/index.d.ts +0 -7
- package/dist/esm/lib/components/Card/index.d.ts +0 -14
- package/dist/esm/lib/components/Card/index.js +0 -64
- package/dist/esm/lib/components/Checkbox/index.d.ts +0 -17
- package/dist/esm/lib/components/Checkbox/index.js +0 -89
- package/dist/esm/lib/components/CheckboxCard/index.d.ts +0 -20
- package/dist/esm/lib/components/CheckboxCard/index.js +0 -58
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +0 -5
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.js +0 -33
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +0 -17
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.js +0 -34
- package/dist/esm/lib/components/CheckboxGroup/index.d.ts +0 -6
- package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.js +0 -42
- package/dist/esm/lib/components/ContextMenu/ContextMenuContent.d.ts +0 -11
- package/dist/esm/lib/components/ContextMenu/ContextMenuContent.js +0 -56
- package/dist/esm/lib/components/ContextMenu/ContextMenuGroup.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuItem.d.ts +0 -13
- package/dist/esm/lib/components/ContextMenu/ContextMenuItem.js +0 -59
- package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +0 -10
- package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.js +0 -50
- package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.d.ts +0 -11
- package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.js +0 -48
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -8
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.js +0 -44
- package/dist/esm/lib/components/ContextMenu/ContextMenuRoot.d.ts +0 -13
- package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.d.ts +0 -3
- package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.js +0 -31
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.d.ts +0 -11
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.js +0 -54
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.js +0 -40
- package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.js +0 -31
- package/dist/esm/lib/components/ContextMenu/index.d.ts +0 -17
- package/dist/esm/lib/components/DataList/DataListItem.d.ts +0 -9
- package/dist/esm/lib/components/DataList/DataListItem.js +0 -43
- package/dist/esm/lib/components/DataList/DataListLabel.d.ts +0 -10
- package/dist/esm/lib/components/DataList/DataListLabel.js +0 -49
- package/dist/esm/lib/components/DataList/DataListRoot.d.ts +0 -14
- package/dist/esm/lib/components/DataList/DataListRoot.js +0 -54
- package/dist/esm/lib/components/DataList/DataListValue.d.ts +0 -11
- package/dist/esm/lib/components/DataList/DataListValue.js +0 -51
- package/dist/esm/lib/components/DataList/index.d.ts +0 -8
- package/dist/esm/lib/components/Dialog/DialogAction.d.ts +0 -13
- package/dist/esm/lib/components/Dialog/DialogAction.js +0 -59
- package/dist/esm/lib/components/Dialog/DialogCancel.d.ts +0 -11
- package/dist/esm/lib/components/Dialog/DialogCancel.js +0 -55
- package/dist/esm/lib/components/Dialog/DialogContent.d.ts +0 -11
- package/dist/esm/lib/components/Dialog/DialogContent.js +0 -57
- package/dist/esm/lib/components/Dialog/DialogDescription.d.ts +0 -9
- package/dist/esm/lib/components/Dialog/DialogDescription.js +0 -47
- package/dist/esm/lib/components/Dialog/DialogRoot.d.ts +0 -15
- package/dist/esm/lib/components/Dialog/DialogSlot.d.ts +0 -9
- package/dist/esm/lib/components/Dialog/DialogSlot.js +0 -46
- package/dist/esm/lib/components/Dialog/DialogTitle.d.ts +0 -11
- package/dist/esm/lib/components/Dialog/DialogTitle.js +0 -47
- package/dist/esm/lib/components/Dialog/DialogTrigger.d.ts +0 -3
- package/dist/esm/lib/components/Dialog/index.d.ts +0 -15
- package/dist/esm/lib/components/DoughnutChart/index.d.ts +0 -22
- package/dist/esm/lib/components/DoughnutChart/index.js +0 -65
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -3
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +0 -11
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.js +0 -60
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -7
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +0 -41
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.d.ts +0 -11
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.js +0 -56
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.d.ts +0 -15
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.js +0 -58
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -10
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +0 -48
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.d.ts +0 -10
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.js +0 -45
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -6
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.js +0 -41
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -15
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -3
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.js +0 -31
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSub.d.ts +0 -3
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -4
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +0 -40
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.js +0 -53
- package/dist/esm/lib/components/DropdownMenu/index.d.ts +0 -20
- package/dist/esm/lib/components/HoverCard/HoverCardContent.d.ts +0 -14
- package/dist/esm/lib/components/HoverCard/HoverCardContent.js +0 -61
- package/dist/esm/lib/components/HoverCard/HoverCardRoot.d.ts +0 -11
- package/dist/esm/lib/components/HoverCard/HoverCardTrigger.d.ts +0 -3
- package/dist/esm/lib/components/HoverCard/index.d.ts +0 -10
- package/dist/esm/lib/components/IconButton/index.d.ts +0 -15
- package/dist/esm/lib/components/IconButton/index.js +0 -63
- package/dist/esm/lib/components/Inset/index.d.ts +0 -10
- package/dist/esm/lib/components/Inset/index.js +0 -50
- package/dist/esm/lib/components/Label/index.d.ts +0 -17
- package/dist/esm/lib/components/Label/index.js +0 -53
- package/dist/esm/lib/components/LineChart/index.d.ts +0 -43
- package/dist/esm/lib/components/LineChart/index.js +0 -61
- package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.d.ts +0 -4
- package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.js +0 -38
- package/dist/esm/lib/components/Menubar/MenubarContent.d.ts +0 -11
- package/dist/esm/lib/components/Menubar/MenubarContent.js +0 -60
- package/dist/esm/lib/components/Menubar/MenubarItem.d.ts +0 -13
- package/dist/esm/lib/components/Menubar/MenubarItem.js +0 -54
- package/dist/esm/lib/components/Menubar/MenubarItemIndicator.d.ts +0 -10
- package/dist/esm/lib/components/Menubar/MenubarItemIndicator.js +0 -49
- package/dist/esm/lib/components/Menubar/MenubarMenu.d.ts +0 -5
- package/dist/esm/lib/components/Menubar/MenubarRadioGroup.d.ts +0 -8
- package/dist/esm/lib/components/Menubar/MenubarRadioItem.d.ts +0 -4
- package/dist/esm/lib/components/Menubar/MenubarRadioItem.js +0 -40
- package/dist/esm/lib/components/Menubar/MenubarRoot.d.ts +0 -19
- package/dist/esm/lib/components/Menubar/MenubarRoot.js +0 -61
- package/dist/esm/lib/components/Menubar/MenubarSeparator.d.ts +0 -3
- package/dist/esm/lib/components/Menubar/MenubarSeparator.js +0 -31
- package/dist/esm/lib/components/Menubar/MenubarSub.d.ts +0 -3
- package/dist/esm/lib/components/Menubar/MenubarSubContent.d.ts +0 -10
- package/dist/esm/lib/components/Menubar/MenubarSubContent.js +0 -51
- package/dist/esm/lib/components/Menubar/MenubarSubTrigger.d.ts +0 -4
- package/dist/esm/lib/components/Menubar/MenubarSubTrigger.js +0 -41
- package/dist/esm/lib/components/Menubar/MenubarTrigger.d.ts +0 -12
- package/dist/esm/lib/components/Menubar/MenubarTrigger.js +0 -57
- package/dist/esm/lib/components/Menubar/index.d.ts +0 -19
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.d.ts +0 -11
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.js +0 -48
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -3
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuItem.d.ts +0 -3
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.d.ts +0 -13
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.js +0 -51
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.d.ts +0 -12
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.js +0 -47
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +0 -14
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.js +0 -43
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +0 -13
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.js +0 -58
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +0 -12
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.js +0 -53
- package/dist/esm/lib/components/NavigationMenu/index.d.ts +0 -12
- package/dist/esm/lib/components/PieChart/index.d.ts +0 -22
- package/dist/esm/lib/components/PieChart/index.js +0 -65
- package/dist/esm/lib/components/Popover/PopoverClose.d.ts +0 -9
- package/dist/esm/lib/components/Popover/PopoverClose.js +0 -48
- package/dist/esm/lib/components/Popover/PopoverContent.d.ts +0 -11
- package/dist/esm/lib/components/Popover/PopoverContent.js +0 -65
- package/dist/esm/lib/components/Popover/PopoverRoot.d.ts +0 -12
- package/dist/esm/lib/components/Popover/PopoverTrigger.d.ts +0 -3
- package/dist/esm/lib/components/Popover/index.d.ts +0 -11
- package/dist/esm/lib/components/Progress/index.d.ts +0 -13
- package/dist/esm/lib/components/Progress/index.js +0 -56
- package/dist/esm/lib/components/RadarChart/index.d.ts +0 -32
- package/dist/esm/lib/components/RadarChart/index.js +0 -76
- package/dist/esm/lib/components/Radio/index.d.ts +0 -13
- package/dist/esm/lib/components/Radio/index.js +0 -53
- package/dist/esm/lib/components/RadioCards/RadioCardsItem.d.ts +0 -10
- package/dist/esm/lib/components/RadioCards/RadioCardsItem.js +0 -54
- package/dist/esm/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -13
- package/dist/esm/lib/components/RadioCards/RadioCardsRoot.js +0 -46
- package/dist/esm/lib/components/RadioCards/index.d.ts +0 -6
- package/dist/esm/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -13
- package/dist/esm/lib/components/RadioGroup/RadioGroupItem.js +0 -46
- package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -15
- package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.js +0 -53
- package/dist/esm/lib/components/RadioGroup/index.d.ts +0 -6
- package/dist/esm/lib/components/ScrollArea/index.d.ts +0 -9
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.d.ts +0 -6
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.js +0 -35
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +0 -14
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.js +0 -47
- package/dist/esm/lib/components/SegmentedControl/index.d.ts +0 -6
- package/dist/esm/lib/components/Select/index.d.ts +0 -34
- package/dist/esm/lib/components/Select/index.js +0 -92
- package/dist/esm/lib/components/Separator/index.d.ts +0 -11
- package/dist/esm/lib/components/Separator/index.js +0 -47
- package/dist/esm/lib/components/Skeleton/index.d.ts +0 -14
- package/dist/esm/lib/components/Skeleton/index.js +0 -42
- package/dist/esm/lib/components/Slider/index.d.ts +0 -14
- package/dist/esm/lib/components/Slider/index.js +0 -49
- package/dist/esm/lib/components/Spinner/index.d.ts +0 -15
- package/dist/esm/lib/components/Spinner/index.js +0 -47
- package/dist/esm/lib/components/TabNav/index.d.ts +0 -15
- package/dist/esm/lib/components/TabNav/index.js +0 -50
- package/dist/esm/lib/components/Table/index.d.ts +0 -30
- package/dist/esm/lib/components/Table/index.js +0 -98
- package/dist/esm/lib/components/Tabs/index.d.ts +0 -22
- package/dist/esm/lib/components/Tabs/index.js +0 -65
- package/dist/esm/lib/components/TextArea/index.d.ts +0 -16
- package/dist/esm/lib/components/TextArea/index.js +0 -58
- package/dist/esm/lib/components/TextField/index.d.ts +0 -21
- package/dist/esm/lib/components/TextField/index.js +0 -56
- package/dist/esm/lib/components/Toast/ToastActionButton.d.ts +0 -14
- package/dist/esm/lib/components/Toast/ToastActionButton.js +0 -67
- package/dist/esm/lib/components/Toast/ToastDescription.d.ts +0 -13
- package/dist/esm/lib/components/Toast/ToastDescription.js +0 -53
- package/dist/esm/lib/components/Toast/ToastRoot.d.ts +0 -27
- package/dist/esm/lib/components/Toast/ToastRoot.js +0 -90
- package/dist/esm/lib/components/Toast/ToastTitle.d.ts +0 -13
- package/dist/esm/lib/components/Toast/ToastTitle.js +0 -53
- package/dist/esm/lib/components/Toast/index.d.ts +0 -8
- package/dist/esm/lib/components/Toggle/ToggleWithText.d.ts +0 -21
- package/dist/esm/lib/components/Toggle/ToggleWithText.js +0 -58
- package/dist/esm/lib/components/Toggle/index.d.ts +0 -21
- package/dist/esm/lib/components/Toggle/index.js +0 -58
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.d.ts +0 -17
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.js +0 -54
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +0 -15
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.js +0 -48
- package/dist/esm/lib/components/ToggleGroup/index.d.ts +0 -6
- package/dist/esm/lib/components/ToggleSwitch/index.d.ts +0 -13
- package/dist/esm/lib/components/ToggleSwitch/index.js +0 -71
- package/dist/esm/lib/components/Tooltip/index.d.ts +0 -19
- package/dist/esm/lib/components/Tooltip/index.js +0 -49
- package/dist/esm/lib/components/index.d.ts +0 -50
- package/dist/esm/lib/constants.d.ts +0 -655
- package/dist/esm/lib/constants.js +0 -914
- package/dist/esm/lib/index.d.ts +0 -2
- package/dist/esm/lib/types.d.ts +0 -81
- package/dist/esm/lib/utils/useDarkMode.d.ts +0 -1
- package/dist/esm/lib/utils/useDarkMode.js +0 -49
- package/dist/esm/lib/utils/utils.d.ts +0 -2
- /package/dist/{cjs/lib → lib}/Typography/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/Typography/index.js +0 -0
- /package/dist/{cjs/lib → lib}/color/alpha.d.ts +0 -0
- /package/dist/{esm/lib → lib}/color/alpha.js +0 -0
- /package/dist/{cjs/lib → lib}/color/constants.d.ts +0 -0
- /package/dist/{esm/lib → lib}/color/constants.js +0 -0
- /package/dist/{cjs/lib → lib}/color/dark.d.ts +0 -0
- /package/dist/{esm/lib → lib}/color/dark.js +0 -0
- /package/dist/{cjs/lib → lib}/color/krdsColors.d.ts +0 -0
- /package/dist/{esm/lib → lib}/color/krdsColors.js +0 -0
- /package/dist/{cjs/lib → lib}/color/light.d.ts +0 -0
- /package/dist/{esm/lib → lib}/color/light.js +0 -0
- /package/dist/{cjs/lib → lib}/components/AlertDialog/AlertDialogContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/AlertDialog/AlertDialogDescription.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/AlertDialog/AlertDialogRoot.js +0 -0
- /package/dist/{cjs/lib → lib}/components/AlertDialog/AlertDialogTitle.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/AlertDialog/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/AlertDialog/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/AspectRatio/index.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Avatar/index.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Callout/CalloutIcon.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Callout/CalloutText.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Callout/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Callout/index.js +0 -0
- /package/dist/{esm/lib → lib}/components/CheckboxGroup/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuGroup.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/ContextMenu/ContextMenuGroup.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuItem.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuItemIndicator.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuLabel.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/ContextMenu/ContextMenuRadioGroup.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/ContextMenu/ContextMenuRoot.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuSeparator.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuSubContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/ContextMenu/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/DataList/DataListItem.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DataList/DataListLabel.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DataList/DataListRoot.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DataList/DataListValue.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DataList/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/DataList/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Dialog/DialogContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Dialog/DialogDescription.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Dialog/DialogRoot.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Dialog/DialogRoot.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Dialog/DialogTrigger.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Dialog/DialogTrigger.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Dialog/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Dialog/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdonMenuSubContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuLable.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/DropdownMenu/DropdownMenuRoot.js +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuSub.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/DropdownMenu/DropdownMenuSub.js +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/DropdownMenu/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/HoverCard/HoverCardRoot.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/HoverCard/HoverCardRoot.js +0 -0
- /package/dist/{cjs/lib → lib}/components/HoverCard/HoverCardTrigger.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/HoverCard/HoverCardTrigger.js +0 -0
- /package/dist/{esm/lib → lib}/components/HoverCard/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Inset/index.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarCheckboxItem.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarItem.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarItemIndicator.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarMenu.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Menubar/MenubarMenu.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarRadioGroup.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Menubar/MenubarRadioGroup.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarRadioItem.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarSeparator.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarSub.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Menubar/MenubarSub.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarSubContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarSubTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Menubar/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuContent.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuItem.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/NavigationMenu/NavigationMenuItem.js +0 -0
- /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuLink.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuList.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/NavigationMenu/NavigationMenuViewport.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/NavigationMenu/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/NavigationMenu/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Popover/PopoverClose.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Popover/PopoverRoot.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Popover/PopoverRoot.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Popover/PopoverTrigger.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Popover/PopoverTrigger.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Popover/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Popover/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/RadioCards/RadioCardsItem.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/RadioCards/index.js +0 -0
- /package/dist/{esm/lib → lib}/components/RadioGroup/index.js +0 -0
- /package/dist/{esm/lib → lib}/components/ScrollArea/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/SegmentedControl/SegmentedControlItem.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/SegmentedControl/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Separator/index.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/TabNav/index.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Tabs/index.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Toast/ToastRoot.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Toast/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/Toast/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ToggleGroup/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/ToggleGroup/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ToggleSwitch/index.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/components/index.js +0 -0
- /package/dist/{cjs/lib → lib}/constants.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/index.d.ts +0 -0
- /package/dist/{esm/lib → lib}/index.js +0 -0
- /package/dist/{cjs/lib → lib}/types.d.ts +0 -0
- /package/dist/{esm/lib → lib}/types.js +0 -0
- /package/dist/{cjs/lib → lib}/utils/useDarkMode.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/utils/utils.d.ts +0 -0
- /package/dist/{esm/lib → lib}/utils/utils.js +0 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import React, { Children, createContext, forwardRef, useContext, useMemo, } from 'react';
|
3
|
+
import { CheckboxGroup as CheckboxGroupTheme } from '@radix-ui/themes';
|
4
|
+
import { cva } from 'class-variance-authority';
|
5
|
+
import { cn } from '../../../lib/utils/utils';
|
6
|
+
export var CheckboxGroupVariants = cva("", {
|
7
|
+
variants: {
|
8
|
+
size: {
|
9
|
+
small: 'space-y-1',
|
10
|
+
medium: 'space-y-2',
|
11
|
+
large: 'space-y-3',
|
12
|
+
},
|
13
|
+
},
|
14
|
+
defaultVariants: {
|
15
|
+
size: 'medium',
|
16
|
+
},
|
17
|
+
});
|
18
|
+
var CheckboxGroupContext = createContext({
|
19
|
+
size: 'medium',
|
20
|
+
color: 'red',
|
21
|
+
scaling: '100%',
|
22
|
+
radius: 'medium',
|
23
|
+
appearance: 'surface',
|
24
|
+
});
|
25
|
+
export var useCheckboxGroupContext = function () {
|
26
|
+
return useContext(CheckboxGroupContext);
|
27
|
+
};
|
28
|
+
export var CheckboxGroupRoot = forwardRef(function (_a, ref) {
|
29
|
+
var className = _a.className, children = _a.children, defaultValue = _a.defaultValue, scaling = _a.scaling, size = _a.size, color = _a.color, radius = _a.radius, appearance = _a.appearance;
|
30
|
+
var contextValue = useMemo(function () { return ({ scaling: scaling, size: size, color: color, radius: radius, appearance: appearance }); }, [scaling, size, color, radius, appearance]);
|
31
|
+
return (_jsx(CheckboxGroupContext.Provider, { value: contextValue, children: _jsx(CheckboxGroupTheme.Root, { ref: ref, defaultValue: defaultValue, className: cn(CheckboxGroupVariants({ size: size }), className), children: Children.map(children, function (child) { return React.cloneElement(child, { defaultValue: defaultValue }); }) }) }));
|
32
|
+
});
|
33
|
+
CheckboxGroupRoot.displayName = 'CheckboxGroup.Root';
|
34
|
+
export default CheckboxGroupRoot;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import a,{createContext as r,forwardRef as s,useMemo as i,Children as o,useContext as t}from"react";import{cva as u}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{cn as m}from"../../utils/utils.mjs";import{Root as l}from"../../../node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs";var n=u("",{variants:{size:{small:"space-y-1",medium:"space-y-2",large:"space-y-3"}},defaultVariants:{size:"medium"}}),c=r({size:"medium",color:"red",scaling:"100%",radius:"medium",appearance:"surface"}),d=function(){return t(c)},p=s((function(r,s){var t=r.className,u=r.children,d=r.defaultValue,p=r.scaling,f=r.size,j=r.color,x=r.radius,h=r.appearance,v=i((function(){return{scaling:p,size:f,color:j,radius:x,appearance:h}}),[p,f,j,x,h]);return e.jsx(c.Provider,{value:v,children:e.jsx(l,{ref:s,defaultValue:d,className:m(n({size:f}),t),children:o.map(u,(function(e){return a.cloneElement(e,{defaultValue:d})}))})})}));p.displayName="CheckboxGroup.Root";export{p as CheckboxGroupRoot,n as CheckboxGroupVariants,p as default,d as useCheckboxGroupContext};
|
2
|
+
//# sourceMappingURL=CheckboxGroupRoot.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CheckboxGroupRoot.mjs","sources":["../../../../lib/components/CheckboxGroup/CheckboxGroupRoot.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport React, { Children, createContext, forwardRef, useContext, useMemo, } from 'react';\nimport { CheckboxGroup as CheckboxGroupTheme } from '@radix-ui/themes';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nexport var CheckboxGroupVariants = cva(\"\", {\n variants: {\n size: {\n small: 'space-y-1',\n medium: 'space-y-2',\n large: 'space-y-3',\n },\n },\n defaultVariants: {\n size: 'medium',\n },\n});\nvar CheckboxGroupContext = createContext({\n size: 'medium',\n color: 'red',\n scaling: '100%',\n radius: 'medium',\n appearance: 'surface',\n});\nexport var useCheckboxGroupContext = function () {\n return useContext(CheckboxGroupContext);\n};\nexport var CheckboxGroupRoot = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, defaultValue = _a.defaultValue, scaling = _a.scaling, size = _a.size, color = _a.color, radius = _a.radius, appearance = _a.appearance;\n var contextValue = useMemo(function () { return ({ scaling: scaling, size: size, color: color, radius: radius, appearance: appearance }); }, [scaling, size, color, radius, appearance]);\n return (_jsx(CheckboxGroupContext.Provider, { value: contextValue, children: _jsx(CheckboxGroupTheme.Root, { ref: ref, defaultValue: defaultValue, className: cn(CheckboxGroupVariants({ size: size }), className), children: Children.map(children, function (child) { return React.cloneElement(child, { defaultValue: defaultValue }); }) }) }));\n});\nCheckboxGroupRoot.displayName = 'CheckboxGroup.Root';\nexport default CheckboxGroupRoot;\n"],"names":["CheckboxGroupVariants","cva","variants","size","small","medium","large","defaultVariants","CheckboxGroupContext","createContext","color","scaling","radius","appearance","useCheckboxGroupContext","useContext","CheckboxGroupRoot","forwardRef","_a","ref","className","children","defaultValue","contextValue","useMemo","_jsx","Provider","value","CheckboxGroupTheme.Root","cn","Children","map","child","React","cloneElement","displayName"],"mappings":"uYAKU,IAACA,EAAwBC,EAAI,GAAI,CACvCC,SAAU,CACNC,KAAM,CACFC,MAAO,YACPC,OAAQ,YACRC,MAAO,cAGfC,gBAAiB,CACbJ,KAAM,YAGVK,EAAuBC,EAAc,CACrCN,KAAM,SACNO,MAAO,MACPC,QAAS,OACTC,OAAQ,SACRC,WAAY,YAELC,EAA0B,WACjC,OAAOC,EAAWP,EACtB,EACWQ,EAAoBC,GAAW,SAAUC,EAAIC,GACpD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAeJ,EAAGI,aAAcX,EAAUO,EAAGP,QAASR,EAAOe,EAAGf,KAAMO,EAAQQ,EAAGR,MAAOE,EAASM,EAAGN,OAAQC,EAAaK,EAAGL,WAC9KU,EAAeC,GAAQ,WAAc,OAAUb,QAASA,EAASR,KAAMA,EAAMO,MAAOA,EAAOE,OAAQA,EAAQC,WAAYA,EAAc,GAAI,CAACF,EAASR,EAAMO,EAAOE,EAAQC,IAC5K,OAAQY,EAAAA,IAAKjB,EAAqBkB,SAAU,CAAEC,MAAOJ,EAAcF,SAAUI,MAAKG,EAAyB,CAAET,IAAKA,EAAKG,aAAcA,EAAcF,UAAWS,EAAG7B,EAAsB,CAAEG,KAAMA,IAASiB,GAAYC,SAAUS,EAASC,IAAIV,GAAU,SAAUW,GAAS,OAAOC,EAAMC,aAAaF,EAAO,CAAEV,aAAcA,UAC7T,IACAN,EAAkBmB,YAAc"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const CheckboxGroup: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/checkbox-group").RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./CheckboxGroupRoot").CheckboxGroupRootProps & import("react").RefAttributes<HTMLDivElement>>;
|
4
|
+
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../../lib/components/Checkbox").CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
|
5
|
+
};
|
6
|
+
export default CheckboxGroup;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../lib/components/CheckboxGroup/index.js"],"sourcesContent":["import { CheckboxGroupRoot as Root } from './CheckboxGroupRoot';\nimport { CheckboxGroupItem as Item } from './CheckboxGroupItem';\nvar CheckboxGroup = { Root: Root, Item: Item };\nexport default CheckboxGroup;\n"],"names":["CheckboxGroup","Root","Item"],"mappings":"wHAEG,IAACA,EAAgB,CAAEC,KAAMA,EAAMC,KAAMA"}
|
@@ -0,0 +1,42 @@
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
+
import { CheckIcon } from '@radix-ui/react-icons';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { useContextMenuContext } from './ContextMenuRoot';
|
29
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
30
|
+
import { contextMenuItemVariants } from './ContextMenuItem';
|
31
|
+
import { ContextMenuItemIndicator } from './ContextMenuItemIndicator';
|
32
|
+
export var ContextMenuCheckboxItem = forwardRef(function (_a, ref) {
|
33
|
+
var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, ["children", "className", "checked"]);
|
34
|
+
var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
35
|
+
var itemClassName = cn(contextMenuItemVariants({
|
36
|
+
radius: radius,
|
37
|
+
scaling: scaling,
|
38
|
+
size: size,
|
39
|
+
}), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
|
40
|
+
return (_jsxs(ContextMenuPrimitive.CheckboxItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'medium', size: size, children: checked && _jsx(CheckIcon, {}) }), children] })));
|
41
|
+
});
|
42
|
+
ContextMenuCheckboxItem.displayName = 'ContextMenu.CheckboxItem';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as r}from"react";import{CheckboxItem as t}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";import{CheckIcon as o}from"../../../node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs";import{cn as n}from"../../utils/utils.mjs";import{useContextMenuContext as i}from"./ContextMenuRoot.mjs";import{menuItemAppearanceStyle as s}from"../../constants.mjs";import{contextMenuItemVariants as m}from"./ContextMenuItem.mjs";import{ContextMenuItemIndicator as a}from"./ContextMenuItemIndicator.mjs";var c=function(){return c=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},c.apply(this,arguments)},l=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t},p=r((function(r,p){var u=r.children,d=r.className,f=r.checked,j=l(r,["children","className","checked"]),x=i(),h=x.radius,y=x.scaling,O=x.size,b=x.color,v=void 0===b?"red":b,g=x.appearance,C=void 0===g?"solid":g,I=n(m({radius:h,scaling:y,size:O}),"pl-7",s(C,v),d);return e.jsxs(t,c({ref:p,className:I},j,{children:[e.jsx(a,{forceMount:!0,radius:"medium",size:O,children:f&&e.jsx(o,{})}),u]}))}));p.displayName="ContextMenu.CheckboxItem";export{p as ContextMenuCheckboxItem};
|
2
|
+
//# sourceMappingURL=ContextMenuCheckboxItem.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuCheckboxItem.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuCheckboxItem.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { CheckIcon } from '@radix-ui/react-icons';\nimport { cn } from '../../../lib/utils/utils';\nimport { useContextMenuContext } from './ContextMenuRoot';\nimport { menuItemAppearanceStyle } from '../../../lib/constants';\nimport { contextMenuItemVariants } from './ContextMenuItem';\nimport { ContextMenuItemIndicator } from './ContextMenuItemIndicator';\nexport var ContextMenuCheckboxItem = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, [\"children\", \"className\", \"checked\"]);\n var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;\n var itemClassName = cn(contextMenuItemVariants({\n radius: radius,\n scaling: scaling,\n size: size,\n }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);\n return (_jsxs(ContextMenuPrimitive.CheckboxItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'medium', size: size, children: checked && _jsx(CheckIcon, {}) }), children] })));\n});\nContextMenuCheckboxItem.displayName = 'ContextMenu.CheckboxItem';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuCheckboxItem","forwardRef","_a","ref","children","className","checked","props","_b","useContextMenuContext","radius","scaling","size","_c","color","_d","appearance","itemClassName","cn","contextMenuItemVariants","menuItemAppearanceStyle","_jsxs","jsxs","ContextMenuPrimitive.CheckboxItem","_jsx","jsx","ContextMenuItemIndicator","forceMount","CheckIcon","displayName"],"mappings":"qlBAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAUWiB,EAA0BC,GAAW,SAAUC,EAAIC,GAC1D,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAUJ,EAAGI,QAASC,EAAQZ,EAAOO,EAAI,CAAC,WAAY,YAAa,YACrHM,EAAKC,IAAyBC,EAASF,EAAGE,OAAQC,EAAUH,EAAGG,QAASC,EAAOJ,EAAGI,KAAMC,EAAKL,EAAGM,MAAOA,OAAe,IAAPD,EAAgB,MAAQA,EAAIE,EAAKP,EAAGQ,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EACtME,EAAgBC,EAAGC,EAAwB,CAC3CT,OAAQA,EACRC,QAASA,EACTC,KAAMA,IACN,OAAQQ,EAAwBJ,EAAYF,GAAQT,GACxD,OAAQgB,EAAKC,KAACC,EAAmC3C,EAAS,CAAEuB,IAAKA,EAAKE,UAAWY,GAAiBV,EAAO,CAAEH,SAAU,CAACoB,EAAIC,IAACC,EAA0B,CAAEC,YAAY,EAAMjB,OAAQ,SAAUE,KAAMA,EAAMR,SAAUE,GAAWkB,EAAIC,IAACG,EAAW,CAAE,KAAMxB,KACxP,IACAJ,EAAwB6B,YAAc"}
|
@@ -0,0 +1,56 @@
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
|
+
import { useContextMenuContext } from './ContextMenuRoot';
|
30
|
+
export var contextMenuContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
31
|
+
variants: {
|
32
|
+
radius: {
|
33
|
+
none: 'rounded-none',
|
34
|
+
small: 'rounded-[3px]',
|
35
|
+
medium: 'rounded',
|
36
|
+
large: 'rounded-md',
|
37
|
+
full: 'rounded-md',
|
38
|
+
},
|
39
|
+
size: {
|
40
|
+
small: 'p-1 min-w-[120px] max-w-[300px]',
|
41
|
+
medium: 'p-2 min-w-[136px] max-w-[300px]',
|
42
|
+
},
|
43
|
+
scaling: __assign({}, scalingVariants),
|
44
|
+
},
|
45
|
+
defaultVariants: {
|
46
|
+
radius: 'medium',
|
47
|
+
size: 'medium',
|
48
|
+
scaling: '100%',
|
49
|
+
},
|
50
|
+
});
|
51
|
+
export var ContextMenuContent = forwardRef(function (_a, ref) {
|
52
|
+
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
53
|
+
var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size;
|
54
|
+
return (_jsx(ContextMenuPrimitive.Portal, { children: _jsx(ContextMenuPrimitive.Content, __assign({ ref: ref, className: cn(contextMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className) }, props, { children: children })) }));
|
55
|
+
});
|
56
|
+
ContextMenuContent.displayName = 'ContextMenu.Content';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as r}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as n}from"react";import{Portal as e,Content as t}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";import{cn as i}from"../../utils/utils.mjs";import{cva as a}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{scalingVariants as o}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";var m=function(){return m=Object.assign||function(r){for(var n,e=1,t=arguments.length;e<t;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i]);return r},m.apply(this,arguments)},l=function(r,n){var e={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&n.indexOf(t)<0&&(e[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(r);i<t.length;i++)n.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i])&&(e[t[i]]=r[t[i]])}return e},p=a("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded-md",full:"rounded-md"},size:{small:"p-1 min-w-[120px] max-w-[300px]",medium:"p-2 min-w-[136px] max-w-[300px]"},scaling:m({},o)},defaultVariants:{radius:"medium",size:"medium",scaling:"100%"}}),d=n((function(n,a){var o=n.className,d=n.children,u=l(n,["className","children"]),c=s(),x=c.radius,f=c.scaling,_=c.size;return r.jsx(e,{children:r.jsx(t,m({ref:a,className:i(p({radius:x,scaling:f,size:_}),o)},u,{children:d}))})}));d.displayName="ContextMenu.Content";export{d as ContextMenuContent,p as contextMenuContentVariants};
|
2
|
+
//# sourceMappingURL=ContextMenuContent.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuContent.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuContent.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuContentVariants = cva(\"p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \\n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]\", {\n variants: {\n radius: {\n none: 'rounded-none',\n small: 'rounded-[3px]',\n medium: 'rounded',\n large: 'rounded-md',\n full: 'rounded-md',\n },\n size: {\n small: 'p-1 min-w-[120px] max-w-[300px]',\n medium: 'p-2 min-w-[136px] max-w-[300px]',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n radius: 'medium',\n size: 'medium',\n scaling: '100%',\n },\n});\nexport var ContextMenuContent = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size;\n return (_jsx(ContextMenuPrimitive.Portal, { children: _jsx(ContextMenuPrimitive.Content, __assign({ ref: ref, className: cn(contextMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className) }, props, { children: children })) }));\n});\nContextMenuContent.displayName = 'ContextMenu.Content';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuContentVariants","cva","variants","radius","none","small","medium","large","full","size","scaling","scalingVariants","defaultVariants","ContextMenuContent","forwardRef","_a","ref","className","children","props","_b","useContextMenuContext","_jsx","jsx","ContextMenuPrimitive.Portal","ContextMenuPrimitive.Content","cn","displayName"],"mappings":"6bAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAQWiB,EAA6BC,EAAI,oQAAqQ,CAC7SC,SAAU,CACNC,OAAQ,CACJC,KAAM,eACNC,MAAO,gBACPC,OAAQ,UACRC,MAAO,aACPC,KAAM,cAEVC,KAAM,CACFJ,MAAO,kCACPC,OAAQ,mCAEZI,QAAS9B,EAAS,CAAE,EAAE+B,IAE1BC,gBAAiB,CACbT,OAAQ,SACRM,KAAM,SACNC,QAAS,UAGNG,EAAqBC,GAAW,SAAUC,EAAIC,GACrD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQxB,EAAOoB,EAAI,CAAC,YAAa,aACnFK,EAAKC,IAAyBlB,EAASiB,EAAGjB,OAAQO,EAAUU,EAAGV,QAASD,EAAOW,EAAGX,KACtF,OAAQa,EAAIC,IAACC,EAA6B,CAAEN,SAAUI,EAAIC,IAACE,EAA8B7C,EAAS,CAAEoC,IAAKA,EAAKC,UAAWS,EAAG1B,EAA2B,CAAEG,OAAQA,EAAQO,QAASA,EAASD,KAAMA,IAASQ,IAAcE,EAAO,CAAED,SAAUA,MAC/O,IACAL,EAAmBc,YAAc"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as r}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as e}from"react";import{Group as t}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";var n=function(){return n=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},n.apply(this,arguments)},o=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]])}return t},a=e((function(e,a){var i=e.className,c=e.children,l=o(e,["className","children"]);return r.jsx(t,n({ref:a,className:i},l,{children:c}))}));a.displayName="ContextMenu.Group";export{a as ContextMenuGroup};
|
2
|
+
//# sourceMappingURL=ContextMenuGroup.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuGroup.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuGroup.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nexport var ContextMenuGroup = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(ContextMenuPrimitive.Group, __assign({ ref: ref, className: className }, props, { children: children })));\n});\nContextMenuGroup.displayName = 'ContextMenu.Group';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuGroup","forwardRef","_a","ref","className","children","props","_jsx","jsx","ContextMenuPrimitive.Group","displayName"],"mappings":"yLAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAIWiB,EAAmBC,GAAW,SAAUC,EAAIC,GACnD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQX,EAAOO,EAAI,CAAC,YAAa,aACvF,OAAQK,EAAIC,IAACC,EAA4B7B,EAAS,CAAEuB,IAAKA,EAAKC,UAAWA,GAAaE,EAAO,CAAED,SAAUA,IAC7G,IACAL,EAAiBU,YAAc"}
|
@@ -0,0 +1,59 @@
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from '../../../lib/constants';
|
29
|
+
import { useContextMenuContext } from './ContextMenuRoot';
|
30
|
+
export var contextMenuItemVariants = cva("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent", {
|
31
|
+
variants: {
|
32
|
+
radius: __assign({}, radiusVariants['menu-item']),
|
33
|
+
size: {
|
34
|
+
small: 'text-xs h-[24px] px-2',
|
35
|
+
medium: 'text-sm h-[32px] px-3',
|
36
|
+
},
|
37
|
+
scaling: __assign({}, scalingVariants),
|
38
|
+
},
|
39
|
+
defaultVariants: {
|
40
|
+
radius: 'medium',
|
41
|
+
scaling: '100%',
|
42
|
+
size: 'medium',
|
43
|
+
},
|
44
|
+
});
|
45
|
+
export var ContextMenuItem = forwardRef(function (_a, ref) {
|
46
|
+
var children = _a.children, className = _a.className, shortcut = _a.shortcut, props = __rest(_a, ["children", "className", "shortcut"]);
|
47
|
+
var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
48
|
+
var itemClassName = cn(contextMenuItemVariants({
|
49
|
+
radius: radius,
|
50
|
+
scaling: scaling,
|
51
|
+
size: size,
|
52
|
+
}), menuItemAppearanceStyle(appearance, color), className);
|
53
|
+
var shortcutClassName = 'group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11';
|
54
|
+
if (appearance === 'solid' && !blackText.includes(color)) {
|
55
|
+
shortcutClassName = 'group-hover:text-white dark:group-hover:text-slateDark-1';
|
56
|
+
}
|
57
|
+
return (_jsxs(ContextMenuPrimitive.Item, __assign({ ref: ref, className: itemClassName }, props, { children: [children, shortcut && _jsx("span", { className: shortcutClassName, children: shortcut })] })));
|
58
|
+
});
|
59
|
+
ContextMenuItem.displayName = 'ContextMenu.Item';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as t}from"react";import{Item as r}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";import{cn as a}from"../../utils/utils.mjs";import{cva as s}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{radiusVariants as o,scalingVariants as n,menuItemAppearanceStyle as i,blackText as l}from"../../constants.mjs";import{useContextMenuContext as d}from"./ContextMenuRoot.mjs";var m=function(){return m=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},m.apply(this,arguments)},u=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(e);s<a.length;s++)t.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(e,a[s])&&(r[a[s]]=e[a[s]])}return r},c=s("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent",{variants:{radius:m({},o["menu-item"]),size:{small:"text-xs h-[24px] px-2",medium:"text-sm h-[32px] px-3"},scaling:m({},n)},defaultVariants:{radius:"medium",scaling:"100%",size:"medium"}}),p=t((function(t,s){var o=t.children,n=t.className,p=t.shortcut,x=u(t,["children","className","shortcut"]),f=d(),h=f.radius,v=f.scaling,b=f.size,g=f.color,j=void 0===g?"red":g,y=f.appearance,O=void 0===y?"solid":y,k=a(c({radius:h,scaling:v,size:b}),i(O,j),n),w="group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11";return"solid"!==O||l.includes(j)||(w="group-hover:text-white dark:group-hover:text-slateDark-1"),e.jsxs(r,m({ref:s,className:k},x,{children:[o,p&&e.jsx("span",{className:w,children:p})]}))}));p.displayName="ContextMenu.Item";export{p as ContextMenuItem,c as contextMenuItemVariants};
|
2
|
+
//# sourceMappingURL=ContextMenuItem.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuItem.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuItem.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuItemVariants = cva(\"flex group relative leading-none select-none outline-none items-center justify-between font-normal\\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent\", {\n variants: {\n radius: __assign({}, radiusVariants['menu-item']),\n size: {\n small: 'text-xs h-[24px] px-2',\n medium: 'text-sm h-[32px] px-3',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n radius: 'medium',\n scaling: '100%',\n size: 'medium',\n },\n});\nexport var ContextMenuItem = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, shortcut = _a.shortcut, props = __rest(_a, [\"children\", \"className\", \"shortcut\"]);\n var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;\n var itemClassName = cn(contextMenuItemVariants({\n radius: radius,\n scaling: scaling,\n size: size,\n }), menuItemAppearanceStyle(appearance, color), className);\n var shortcutClassName = 'group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11';\n if (appearance === 'solid' && !blackText.includes(color)) {\n shortcutClassName = 'group-hover:text-white dark:group-hover:text-slateDark-1';\n }\n return (_jsxs(ContextMenuPrimitive.Item, __assign({ ref: ref, className: itemClassName }, props, { children: [children, shortcut && _jsx(\"span\", { className: shortcutClassName, children: shortcut })] })));\n});\nContextMenuItem.displayName = 'ContextMenu.Item';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuItemVariants","cva","variants","radius","radiusVariants","size","small","medium","scaling","scalingVariants","defaultVariants","ContextMenuItem","forwardRef","_a","ref","children","className","shortcut","props","_b","useContextMenuContext","_c","color","_d","appearance","itemClassName","cn","menuItemAppearanceStyle","shortcutClassName","blackText","includes","_jsxs","ContextMenuPrimitive.Item","_jsx","displayName"],"mappings":"8eAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAQWiB,EAA0BC,EAAI,yUAA0U,CAC/WC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAe,cACpCC,KAAM,CACFC,MAAO,wBACPC,OAAQ,yBAEZC,QAAS5B,EAAS,CAAE,EAAE6B,IAE1BC,gBAAiB,CACbP,OAAQ,SACRK,QAAS,OACTH,KAAM,YAGHM,EAAkBC,GAAW,SAAUC,EAAIC,GAClD,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAWJ,EAAGI,SAAUC,EAAQvB,EAAOkB,EAAI,CAAC,WAAY,YAAa,aACvHM,EAAKC,IAAyBjB,EAASgB,EAAGhB,OAAQK,EAAUW,EAAGX,QAASH,EAAOc,EAAGd,KAAMgB,EAAKF,EAAGG,MAAOA,OAAe,IAAPD,EAAgB,MAAQA,EAAIE,EAAKJ,EAAGK,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EACtME,EAAgBC,EAAG1B,EAAwB,CAC3CG,OAAQA,EACRK,QAASA,EACTH,KAAMA,IACNsB,EAAwBH,EAAYF,GAAQN,GAC5CY,EAAoB,iEAIxB,MAHmB,UAAfJ,GAA2BK,EAAUC,SAASR,KAC9CM,EAAoB,4DAEhBG,OAAMC,EAA2BpD,EAAS,CAAEkC,IAAKA,EAAKE,UAAWS,GAAiBP,EAAO,CAAEH,SAAU,CAACA,EAAUE,GAAYgB,EAAAA,IAAK,OAAQ,CAAEjB,UAAWY,EAAmBb,SAAUE,OAC/L,IACAN,EAAgBuB,YAAc"}
|
@@ -0,0 +1,50 @@
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { CheckIcon } from '@radix-ui/react-icons';
|
28
|
+
import { cva } from 'class-variance-authority';
|
29
|
+
import { radiusVariants } from '../../../lib/constants';
|
30
|
+
import { useContextMenuContext } from './ContextMenuRoot';
|
31
|
+
export var contextMenuItemIndicatorVariants = cva("absolute left-0 inline-flex items-center justify-center ml-1 border", {
|
32
|
+
variants: {
|
33
|
+
radius: __assign({}, radiusVariants['base']),
|
34
|
+
size: {
|
35
|
+
small: 'w-3.5 h-3.5',
|
36
|
+
medium: 'w-4 h-4',
|
37
|
+
},
|
38
|
+
},
|
39
|
+
defaultVariants: {
|
40
|
+
size: 'medium',
|
41
|
+
radius: 'medium',
|
42
|
+
},
|
43
|
+
});
|
44
|
+
export var ContextMenuItemIndicator = forwardRef(function (_a, ref) {
|
45
|
+
var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, ["className", "children", "radius"]);
|
46
|
+
var size = useContextMenuContext().size;
|
47
|
+
var indicatorClassName = cn(contextMenuItemIndicatorVariants({ size: size, radius: radius }), className);
|
48
|
+
return (_jsx(ContextMenuPrimitive.ItemIndicator, __assign({ ref: ref, className: indicatorClassName }, props, { children: children !== null && children !== void 0 ? children : _jsx(CheckIcon, {}) })));
|
49
|
+
});
|
50
|
+
ContextMenuItemIndicator.displayName = 'ContextMenu.ItemIndicator';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as r}from"react";import{ItemIndicator as t}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";import{cn as i}from"../../utils/utils.mjs";import{CheckIcon as o}from"../../../node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs";import{cva as s}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{radiusVariants as n}from"../../constants.mjs";import{useContextMenuContext as a}from"./ContextMenuRoot.mjs";var m=function(){return m=Object.assign||function(e){for(var r,t=1,i=arguments.length;t<i;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},m.apply(this,arguments)},l=function(e,r){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)r.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(t[i[o]]=e[i[o]])}return t},u=s("absolute left-0 inline-flex items-center justify-center ml-1 border",{variants:{radius:m({},n.base),size:{small:"w-3.5 h-3.5",medium:"w-4 h-4"}},defaultVariants:{size:"medium",radius:"medium"}}),c=r((function(r,s){var n=r.className,c=r.children,d=r.radius,f=l(r,["className","children","radius"]),p=a().size,j=i(u({size:p,radius:d}),n);return e.jsx(t,m({ref:s,className:j},f,{children:null!=c?c:e.jsx(o,{})}))}));c.displayName="ContextMenu.ItemIndicator";export{c as ContextMenuItemIndicator,u as contextMenuItemIndicatorVariants};
|
2
|
+
//# sourceMappingURL=ContextMenuItemIndicator.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuItemIndicator.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuItemIndicator.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { CheckIcon } from '@radix-ui/react-icons';\nimport { cva } from 'class-variance-authority';\nimport { radiusVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuItemIndicatorVariants = cva(\"absolute left-0 inline-flex items-center justify-center ml-1 border\", {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n size: {\n small: 'w-3.5 h-3.5',\n medium: 'w-4 h-4',\n },\n },\n defaultVariants: {\n size: 'medium',\n radius: 'medium',\n },\n});\nexport var ContextMenuItemIndicator = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, [\"className\", \"children\", \"radius\"]);\n var size = useContextMenuContext().size;\n var indicatorClassName = cn(contextMenuItemIndicatorVariants({ size: size, radius: radius }), className);\n return (_jsx(ContextMenuPrimitive.ItemIndicator, __assign({ ref: ref, className: indicatorClassName }, props, { children: children !== null && children !== void 0 ? children : _jsx(CheckIcon, {}) })));\n});\nContextMenuItemIndicator.displayName = 'ContextMenu.ItemIndicator';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuItemIndicatorVariants","cva","variants","radius","radiusVariants","size","small","medium","defaultVariants","ContextMenuItemIndicator","forwardRef","_a","ref","className","children","props","useContextMenuContext","indicatorClassName","cn","_jsx","jsx","ContextMenuPrimitive.ItemIndicator","CheckIcon","displayName"],"mappings":"0hBAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EASWiB,EAAmCC,EAAI,sEAAuE,CACrHC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAqB,MAC1CC,KAAM,CACFC,MAAO,cACPC,OAAQ,YAGhBC,gBAAiB,CACbH,KAAM,SACNF,OAAQ,YAGLM,EAA2BC,GAAW,SAAUC,EAAIC,GAC3D,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUX,EAASQ,EAAGR,OAAQY,EAAQpB,EAAOgB,EAAI,CAAC,YAAa,WAAY,WACnHN,EAAOW,IAAwBX,KAC/BY,EAAqBC,EAAGlB,EAAiC,CAAEK,KAAMA,EAAMF,OAAQA,IAAWU,GAC9F,OAAQM,EAAIC,IAACC,EAAoCzC,EAAS,CAAEgC,IAAKA,EAAKC,UAAWI,GAAsBF,EAAO,CAAED,SAAUA,QAA2CA,EAAWK,EAAIC,IAACE,EAAW,CAAA,KACpM,IACAb,EAAyBc,YAAc"}
|
@@ -0,0 +1,48 @@
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
|
+
import { useContextMenuContext } from './ContextMenuRoot';
|
30
|
+
export var contextMenuLabelVariants = cva("flex relative leading-none select-none outline-none items-center \n text-slate-11 dark:text-slateDarkA-11 font-normal", {
|
31
|
+
variants: {
|
32
|
+
size: {
|
33
|
+
small: 'text-xs h-[24px] px-2',
|
34
|
+
medium: 'text-sm h-[32px] px-3',
|
35
|
+
},
|
36
|
+
scaling: __assign({}, scalingVariants),
|
37
|
+
},
|
38
|
+
defaultVariants: {
|
39
|
+
scaling: '100%',
|
40
|
+
size: 'medium',
|
41
|
+
},
|
42
|
+
});
|
43
|
+
export var ContextMenuLabel = forwardRef(function (_a, ref) {
|
44
|
+
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
45
|
+
var _b = useContextMenuContext(), size = _b.size, scaling = _b.scaling;
|
46
|
+
return (_jsx(ContextMenuPrimitive.Label, __assign({ ref: ref, className: cn(contextMenuLabelVariants({ size: size, scaling: scaling }), className) }, props, { children: children })));
|
47
|
+
});
|
48
|
+
ContextMenuLabel.displayName = 'ContextMenu.Label';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as t}from"react";import{Label as r}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";import{cn as n}from"../../utils/utils.mjs";import{cva as o}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{scalingVariants as a}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},m=o("flex relative leading-none select-none outline-none items-center \n text-slate-11 dark:text-slateDarkA-11 font-normal",{variants:{size:{small:"text-xs h-[24px] px-2",medium:"text-sm h-[32px] px-3"},scaling:i({},a)},defaultVariants:{scaling:"100%",size:"medium"}}),c=t((function(t,o){var a=t.className,c=t.children,p=l(t,["className","children"]),u=s(),f=u.size,x=u.scaling;return e.jsx(r,i({ref:o,className:n(m({size:f,scaling:x}),a)},p,{children:c}))}));c.displayName="ContextMenu.Label";export{c as ContextMenuLabel,m as contextMenuLabelVariants};
|
2
|
+
//# sourceMappingURL=ContextMenuLabel.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuLabel.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuLabel.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nexport var contextMenuLabelVariants = cva(\"flex relative leading-none select-none outline-none items-center \\n text-slate-11 dark:text-slateDarkA-11 font-normal\", {\n variants: {\n size: {\n small: 'text-xs h-[24px] px-2',\n medium: 'text-sm h-[32px] px-3',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n size: 'medium',\n },\n});\nexport var ContextMenuLabel = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n var _b = useContextMenuContext(), size = _b.size, scaling = _b.scaling;\n return (_jsx(ContextMenuPrimitive.Label, __assign({ ref: ref, className: cn(contextMenuLabelVariants({ size: size, scaling: scaling }), className) }, props, { children: children })));\n});\nContextMenuLabel.displayName = 'ContextMenu.Label';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","contextMenuLabelVariants","cva","variants","size","small","medium","scaling","scalingVariants","defaultVariants","ContextMenuLabel","forwardRef","_a","ref","className","children","props","_b","useContextMenuContext","_jsx","jsx","ContextMenuPrimitive.Label","cn","displayName"],"mappings":"+aAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAQWiB,EAA2BC,EAAI,2HAA4H,CAClKC,SAAU,CACNC,KAAM,CACFC,MAAO,wBACPC,OAAQ,yBAEZC,QAAS1B,EAAS,CAAE,EAAE2B,IAE1BC,gBAAiB,CACbF,QAAS,OACTH,KAAM,YAGHM,EAAmBC,GAAW,SAAUC,EAAIC,GACnD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQpB,EAAOgB,EAAI,CAAC,YAAa,aACnFK,EAAKC,IAAyBd,EAAOa,EAAGb,KAAMG,EAAUU,EAAGV,QAC/D,OAAQY,EAAIC,IAACC,EAA4BxC,EAAS,CAAEgC,IAAKA,EAAKC,UAAWQ,EAAGrB,EAAyB,CAAEG,KAAMA,EAAMG,QAASA,IAAYO,IAAcE,EAAO,CAAED,SAAUA,IAC7K,IACAL,EAAiBa,YAAc"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import{createContext as r,forwardRef as t}from"react";import{RadioGroup as n}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";var o=function(){return o=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},o.apply(this,arguments)},a=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t},l=r({selectedValue:""}),i=t((function(r,t){var i=r.className,c=r.children,s=r.value,u=a(r,["className","children","value"]);return e.jsx(n,o({ref:t,className:i},u,{children:e.jsx(l.Provider,{value:{selectedValue:null!=s?s:""},children:c})}))}));i.displayName="ContextMenu.RadioGroup";export{i as ContextMenuRadioGroup,l as RadioContext};
|
2
|
+
//# sourceMappingURL=ContextMenuRadioGroup.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuRadioGroup.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuRadioGroup.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nexport var RadioContext = createContext({ selectedValue: '' });\nexport var ContextMenuRadioGroup = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, value = _a.value, props = __rest(_a, [\"className\", \"children\", \"value\"]);\n return (_jsx(ContextMenuPrimitive.RadioGroup, __assign({ ref: ref, className: className }, props, { children: _jsx(RadioContext.Provider, { value: { selectedValue: value !== null && value !== void 0 ? value : '' }, children: children }) })));\n});\nContextMenuRadioGroup.displayName = 'ContextMenu.RadioGroup';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","RadioContext","createContext","selectedValue","ContextMenuRadioGroup","forwardRef","_a","ref","className","children","value","props","_jsx","jsx","ContextMenuPrimitive.RadioGroup","Provider","displayName"],"mappings":"iNAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAIWiB,EAAeC,EAAc,CAAEC,cAAe,KAC9CC,EAAwBC,GAAW,SAAUC,EAAIC,GACxD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQJ,EAAGI,MAAOC,EAAQf,EAAOU,EAAI,CAAC,YAAa,WAAY,UACrH,OAAQM,EAAIC,IAACC,EAAiCjC,EAAS,CAAE0B,IAAKA,EAAKC,UAAWA,GAAaG,EAAO,CAAEF,SAAUG,EAAIC,IAACZ,EAAac,SAAU,CAAEL,MAAO,CAAEP,cAAeO,QAAqCA,EAAQ,IAAMD,SAAUA,MACrO,IACAL,EAAsBY,YAAc"}
|
@@ -0,0 +1,44 @@
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
+
import { forwardRef, useContext } from 'react';
|
25
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { DotFilledIcon } from '@radix-ui/react-icons';
|
28
|
+
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
29
|
+
import { useContextMenuContext } from './ContextMenuRoot';
|
30
|
+
import { contextMenuItemVariants } from './ContextMenuItem';
|
31
|
+
import { RadioContext } from './ContextMenuRadioGroup';
|
32
|
+
import { ContextMenuItemIndicator } from './ContextMenuItemIndicator';
|
33
|
+
export var ContextMenuRadioItem = forwardRef(function (_a, ref) {
|
34
|
+
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
35
|
+
var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
36
|
+
var itemClassName = cn(contextMenuItemVariants({
|
37
|
+
radius: radius,
|
38
|
+
scaling: scaling,
|
39
|
+
size: size,
|
40
|
+
}), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
|
41
|
+
var radioGroup = useContext(RadioContext);
|
42
|
+
return (_jsxs(ContextMenuPrimitive.RadioItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'full', size: size, children: radioGroup.selectedValue === props.value && _jsx(DotFilledIcon, {}) }), children] })));
|
43
|
+
});
|
44
|
+
ContextMenuRadioItem.displayName = 'ContextMenu.RadioItem';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as r,useContext as t}from"react";import{RadioItem as o}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";import{cn as n}from"../../utils/utils.mjs";import{DotFilledIcon as i}from"../../../node_modules/@radix-ui/react-icons/dist/react-icons.esm.mjs";import{menuItemAppearanceStyle as s}from"../../constants.mjs";import{useContextMenuContext as a}from"./ContextMenuRoot.mjs";import{contextMenuItemVariants as m}from"./ContextMenuItem.mjs";import{RadioContext as l}from"./ContextMenuRadioGroup.mjs";import{ContextMenuItemIndicator as c}from"./ContextMenuItemIndicator.mjs";var u=function(){return u=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},u.apply(this,arguments)},p=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t},d=r((function(r,d){var f=r.children,j=r.className,x=p(r,["children","className"]),y=a(),O=y.radius,v=y.scaling,b=y.size,h=y.color,g=void 0===h?"red":h,I=y.appearance,M=void 0===I?"solid":I,C=n(m({radius:O,scaling:v,size:b}),"pl-7",s(M,g),j),w=t(l);return e.jsxs(o,u({ref:d,className:C},x,{children:[e.jsx(c,{forceMount:!0,radius:"full",size:b,children:w.selectedValue===x.value&&e.jsx(i,{})}),f]}))}));d.displayName="ContextMenu.RadioItem";export{d as ContextMenuRadioItem};
|
2
|
+
//# sourceMappingURL=ContextMenuRadioItem.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuRadioItem.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuRadioItem.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef, useContext } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nimport { DotFilledIcon } from '@radix-ui/react-icons';\nimport { menuItemAppearanceStyle } from '../../../lib/constants';\nimport { useContextMenuContext } from './ContextMenuRoot';\nimport { contextMenuItemVariants } from './ContextMenuItem';\nimport { RadioContext } from './ContextMenuRadioGroup';\nimport { ContextMenuItemIndicator } from './ContextMenuItemIndicator';\nexport var ContextMenuRadioItem = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, props = __rest(_a, [\"children\", \"className\"]);\n var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;\n var itemClassName = cn(contextMenuItemVariants({\n radius: radius,\n scaling: scaling,\n size: size,\n }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);\n var radioGroup = useContext(RadioContext);\n return (_jsxs(ContextMenuPrimitive.RadioItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'full', size: size, children: radioGroup.selectedValue === props.value && _jsx(DotFilledIcon, {}) }), children] })));\n});\nContextMenuRadioItem.displayName = 'ContextMenu.RadioItem';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuRadioItem","forwardRef","_a","ref","children","className","props","_b","useContextMenuContext","radius","scaling","size","_c","color","_d","appearance","itemClassName","cn","contextMenuItemVariants","menuItemAppearanceStyle","radioGroup","useContext","RadioContext","_jsxs","ContextMenuPrimitive.RadioItem","_jsx","jsx","ContextMenuItemIndicator","forceMount","selectedValue","value","DotFilledIcon","displayName"],"mappings":"iqBAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAWWiB,EAAuBC,GAAW,SAAUC,EAAIC,GACvD,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAQX,EAAOO,EAAI,CAAC,WAAY,cAClFK,EAAKC,IAAyBC,EAASF,EAAGE,OAAQC,EAAUH,EAAGG,QAASC,EAAOJ,EAAGI,KAAMC,EAAKL,EAAGM,MAAOA,OAAe,IAAPD,EAAgB,MAAQA,EAAIE,EAAKP,EAAGQ,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EACtME,EAAgBC,EAAGC,EAAwB,CAC3CT,OAAQA,EACRC,QAASA,EACTC,KAAMA,IACN,OAAQQ,EAAwBJ,EAAYF,GAAQR,GACpDe,EAAaC,EAAWC,GAC5B,OAAQC,EAAAA,KAAMC,EAAgC5C,EAAS,CAAEuB,IAAKA,EAAKE,UAAWW,GAAiBV,EAAO,CAAEF,SAAU,CAACqB,EAAIC,IAACC,EAA0B,CAAEC,YAAY,EAAMnB,OAAQ,OAAQE,KAAMA,EAAMP,SAAUgB,EAAWS,gBAAkBvB,EAAMwB,OAASL,EAAAA,IAAKM,EAAe,CAAA,KAAQ3B,KACxR,IACAJ,EAAqBgC,YAAc"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IColor } from '../../../lib/types';
|
5
|
+
import { contextMenuContentVariants } from './ContextMenuContent';
|
6
|
+
import { contextMenuItemVariants } from './ContextMenuItem';
|
7
|
+
export interface ContextMenuProps extends VariantProps<typeof contextMenuContentVariants>, VariantProps<typeof contextMenuItemVariants> {
|
8
|
+
color?: IColor;
|
9
|
+
appearance?: 'solid' | 'soft';
|
10
|
+
}
|
11
|
+
export declare const useContextMenuContext: () => ContextMenuProps;
|
12
|
+
export declare const ContextMenuRoot: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuProps & ContextMenuProps & React.RefAttributes<never>>;
|
13
|
+
export default ContextMenuRoot;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as r}from"../../../_virtual/jsx-runtime.mjs";import{createContext as e,forwardRef as n,useMemo as t,useContext as o}from"react";import{Root as a}from"../../../node_modules/@radix-ui/react-context-menu/dist/index.mjs";var i=function(){return i=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},i.apply(this,arguments)},c=function(r,e){var n={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(n[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(t=Object.getOwnPropertySymbols(r);o<t.length;o++)e.indexOf(t[o])<0&&Object.prototype.propertyIsEnumerable.call(r,t[o])&&(n[t[o]]=r[t[o]])}return n},l=e({radius:"medium",scaling:"100%",size:"medium",color:"red",appearance:"solid"}),s=function(){return o(l)},u=n((function(e,n){var o=e.children,s=e.radius,u=e.size,p=e.scaling,d=e.color,f=e.appearance,m=c(e,["children","radius","size","scaling","color","appearance"]),j=t((function(){return{radius:s,size:u,scaling:p,color:d,appearance:f}}),[s,u,p,d,f]);return r.jsx(l.Provider,{value:j,children:r.jsx("div",{ref:n,children:r.jsx(a,i({},m,{children:o}))})})}));u.displayName="ContextMenu.Root";export{u as ContextMenuRoot,u as default,s as useContextMenuContext};
|
2
|
+
//# sourceMappingURL=ContextMenuRoot.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuRoot.mjs","sources":["../../../../lib/components/ContextMenu/ContextMenuRoot.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef, useContext, useMemo, } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nvar ContextMenuContext = createContext({\n radius: 'medium',\n scaling: '100%',\n size: 'medium',\n color: 'red',\n appearance: 'solid',\n});\nexport var useContextMenuContext = function () {\n return useContext(ContextMenuContext);\n};\nexport var ContextMenuRoot = forwardRef(function (_a, ref) {\n var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, [\"children\", \"radius\", \"size\", \"scaling\", \"color\", \"appearance\"]);\n var contextValue = useMemo(function () { return ({ radius: radius, size: size, scaling: scaling, color: color, appearance: appearance }); }, [radius, size, scaling, color, appearance]);\n return (_jsx(ContextMenuContext.Provider, { value: contextValue, children: _jsx(\"div\", { ref: ref, children: _jsx(ContextMenuPrimitive.Root, __assign({}, props, { children: children })) }) }));\n});\nContextMenuRoot.displayName = 'ContextMenu.Root';\nexport default ContextMenuRoot;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuContext","createContext","radius","scaling","size","color","appearance","useContextMenuContext","useContext","ContextMenuRoot","forwardRef","_a","ref","children","props","contextValue","useMemo","_jsx","Provider","value","jsx","ContextMenuPrimitive.Root","displayName"],"mappings":"wOAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAIIiB,EAAqBC,EAAc,CACnCC,OAAQ,SACRC,QAAS,OACTC,KAAM,SACNC,MAAO,MACPC,WAAY,UAELC,EAAwB,WAC/B,OAAOC,EAAWR,EACtB,EACWS,EAAkBC,GAAW,SAAUC,EAAIC,GAClD,IAAIC,EAAWF,EAAGE,SAAUX,EAASS,EAAGT,OAAQE,EAAOO,EAAGP,KAAMD,EAAUQ,EAAGR,QAASE,EAAQM,EAAGN,MAAOC,EAAaK,EAAGL,WAAYQ,EAAQnB,EAAOgB,EAAI,CAAC,WAAY,SAAU,OAAQ,UAAW,QAAS,eACtMI,EAAeC,GAAQ,WAAc,OAAUd,OAAQA,EAAQE,KAAMA,EAAMD,QAASA,EAASE,MAAOA,EAAOC,WAAYA,EAAc,GAAI,CAACJ,EAAQE,EAAMD,EAASE,EAAOC,IAC5K,OAAQW,MAAKjB,EAAmBkB,SAAU,CAAEC,MAAOJ,EAAcF,SAAUI,EAAIG,IAAC,MAAO,CAAER,IAAKA,EAAKC,SAAUI,EAAAA,IAAKI,EAA2BzC,EAAS,CAAA,EAAIkC,EAAO,CAAED,SAAUA,QACjL,IACAJ,EAAgBa,YAAc"}
|