@lotte-innovate/ui-component-test 0.1.53 → 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.d.ts +15 -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.d.ts +15 -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.d.ts +20 -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.d.ts +11 -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.d.ts +12 -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.d.ts +11 -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 -55
- package/dist/cjs/lib/Typography/Header/index.jsx +0 -64
- package/dist/cjs/lib/Typography/Text/index.d.ts +0 -15
- package/dist/cjs/lib/Typography/Text/index.js +0 -44
- package/dist/cjs/lib/Typography/Text/index.jsx +0 -73
- 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 -64
- package/dist/cjs/lib/components/Accordion/index.jsx +0 -105
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.d.ts +0 -14
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.js +0 -61
- package/dist/cjs/lib/components/AlertDialog/AlertDialogAction.jsx +0 -88
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.d.ts +0 -13
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.js +0 -60
- package/dist/cjs/lib/components/AlertDialog/AlertDialogCancel.jsx +0 -87
- package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.js +0 -51
- package/dist/cjs/lib/components/AlertDialog/AlertDialogContent.jsx +0 -81
- package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.js +0 -47
- package/dist/cjs/lib/components/AlertDialog/AlertDialogDescription.jsx +0 -63
- package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.d.ts +0 -16
- package/dist/cjs/lib/components/AlertDialog/AlertDialogRoot.jsx +0 -65
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.js +0 -47
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTitle.jsx +0 -63
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.d.ts +0 -17
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.js +0 -55
- package/dist/cjs/lib/components/AlertDialog/AlertDialogTrigger.jsx +0 -82
- package/dist/cjs/lib/components/AlertDialog/index.jsx +0 -19
- package/dist/cjs/lib/components/AspectRatio/index.js +0 -42
- package/dist/cjs/lib/components/AspectRatio/index.jsx +0 -69
- package/dist/cjs/lib/components/Avatar/index.js +0 -58
- package/dist/cjs/lib/components/Avatar/index.jsx +0 -87
- package/dist/cjs/lib/components/Badge/index.d.ts +0 -18
- package/dist/cjs/lib/components/Badge/index.js +0 -54
- package/dist/cjs/lib/components/Badge/index.jsx +0 -80
- package/dist/cjs/lib/components/BarChart/index.d.ts +0 -38
- package/dist/cjs/lib/components/BarChart/index.js +0 -63
- package/dist/cjs/lib/components/BarChart/index.jsx +0 -64
- package/dist/cjs/lib/components/BubbleChart/index.d.ts +0 -29
- package/dist/cjs/lib/components/BubbleChart/index.js +0 -73
- package/dist/cjs/lib/components/BubbleChart/index.jsx +0 -80
- package/dist/cjs/lib/components/Button/index.d.ts +0 -16
- package/dist/cjs/lib/components/Button/index.js +0 -56
- package/dist/cjs/lib/components/Button/index.jsx +0 -83
- package/dist/cjs/lib/components/Callout/CalloutIcon.js +0 -57
- package/dist/cjs/lib/components/Callout/CalloutIcon.jsx +0 -88
- package/dist/cjs/lib/components/Callout/CalloutRoot.d.ts +0 -18
- package/dist/cjs/lib/components/Callout/CalloutRoot.js +0 -72
- package/dist/cjs/lib/components/Callout/CalloutRoot.jsx +0 -102
- package/dist/cjs/lib/components/Callout/CalloutText.js +0 -52
- package/dist/cjs/lib/components/Callout/CalloutText.jsx +0 -68
- package/dist/cjs/lib/components/Callout/index.jsx +0 -11
- package/dist/cjs/lib/components/Card/index.d.ts +0 -14
- package/dist/cjs/lib/components/Card/index.js +0 -64
- package/dist/cjs/lib/components/Card/index.jsx +0 -90
- package/dist/cjs/lib/components/Checkbox/index.d.ts +0 -17
- package/dist/cjs/lib/components/Checkbox/index.js +0 -89
- package/dist/cjs/lib/components/Checkbox/index.jsx +0 -123
- package/dist/cjs/lib/components/CheckboxCard/index.d.ts +0 -20
- package/dist/cjs/lib/components/CheckboxCard/index.js +0 -58
- package/dist/cjs/lib/components/CheckboxCard/index.jsx +0 -89
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +0 -5
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.js +0 -33
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupItem.jsx +0 -54
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +0 -17
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.js +0 -34
- package/dist/cjs/lib/components/CheckboxGroup/CheckboxGroupRoot.jsx +0 -64
- package/dist/cjs/lib/components/CheckboxGroup/index.d.ts +0 -6
- package/dist/cjs/lib/components/CheckboxGroup/index.jsx +0 -6
- package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.js +0 -42
- package/dist/cjs/lib/components/ContextMenu/ContextMenuCheckboxItem.jsx +0 -61
- package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.js +0 -56
- package/dist/cjs/lib/components/ContextMenu/ContextMenuContent.jsx +0 -85
- package/dist/cjs/lib/components/ContextMenu/ContextMenuGroup.jsx +0 -46
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.js +0 -59
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItem.jsx +0 -87
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.js +0 -50
- package/dist/cjs/lib/components/ContextMenu/ContextMenuItemIndicator.jsx +0 -77
- package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.js +0 -48
- package/dist/cjs/lib/components/ContextMenu/ContextMenuLabel.jsx +0 -75
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioGroup.jsx +0 -49
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.js +0 -44
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRadioItem.jsx +0 -63
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.d.ts +0 -13
- package/dist/cjs/lib/components/ContextMenu/ContextMenuRoot.jsx +0 -61
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.js +0 -31
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSeparator.jsx +0 -47
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.js +0 -54
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubContent.jsx +0 -83
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.js +0 -40
- package/dist/cjs/lib/components/ContextMenu/ContextMenuSubTrigger.jsx +0 -61
- package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.js +0 -31
- package/dist/cjs/lib/components/ContextMenu/ContextMenuTrigger.jsx +0 -47
- package/dist/cjs/lib/components/ContextMenu/index.jsx +0 -31
- package/dist/cjs/lib/components/DataList/DataListItem.js +0 -43
- package/dist/cjs/lib/components/DataList/DataListItem.jsx +0 -70
- package/dist/cjs/lib/components/DataList/DataListLabel.js +0 -49
- package/dist/cjs/lib/components/DataList/DataListLabel.jsx +0 -76
- package/dist/cjs/lib/components/DataList/DataListRoot.js +0 -54
- package/dist/cjs/lib/components/DataList/DataListRoot.jsx +0 -73
- package/dist/cjs/lib/components/DataList/DataListValue.js +0 -51
- package/dist/cjs/lib/components/DataList/DataListValue.jsx +0 -78
- package/dist/cjs/lib/components/DataList/index.jsx +0 -8
- package/dist/cjs/lib/components/Dialog/DialogAction.d.ts +0 -13
- package/dist/cjs/lib/components/Dialog/DialogAction.js +0 -59
- package/dist/cjs/lib/components/Dialog/DialogAction.jsx +0 -75
- package/dist/cjs/lib/components/Dialog/DialogCancel.d.ts +0 -11
- package/dist/cjs/lib/components/Dialog/DialogCancel.js +0 -55
- package/dist/cjs/lib/components/Dialog/DialogCancel.jsx +0 -71
- package/dist/cjs/lib/components/Dialog/DialogContent.js +0 -57
- package/dist/cjs/lib/components/Dialog/DialogContent.jsx +0 -84
- package/dist/cjs/lib/components/Dialog/DialogDescription.js +0 -47
- package/dist/cjs/lib/components/Dialog/DialogDescription.jsx +0 -63
- package/dist/cjs/lib/components/Dialog/DialogRoot.d.ts +0 -15
- package/dist/cjs/lib/components/Dialog/DialogRoot.jsx +0 -56
- package/dist/cjs/lib/components/Dialog/DialogSlot.d.ts +0 -9
- package/dist/cjs/lib/components/Dialog/DialogSlot.js +0 -46
- package/dist/cjs/lib/components/Dialog/DialogSlot.jsx +0 -62
- package/dist/cjs/lib/components/Dialog/DialogTitle.d.ts +0 -11
- package/dist/cjs/lib/components/Dialog/DialogTitle.js +0 -47
- package/dist/cjs/lib/components/Dialog/DialogTitle.jsx +0 -63
- package/dist/cjs/lib/components/Dialog/DialogTrigger.jsx +0 -46
- package/dist/cjs/lib/components/Dialog/index.d.ts +0 -15
- package/dist/cjs/lib/components/Dialog/index.jsx +0 -21
- package/dist/cjs/lib/components/DoughnutChart/index.d.ts +0 -23
- package/dist/cjs/lib/components/DoughnutChart/index.js +0 -65
- package/dist/cjs/lib/components/DoughnutChart/index.jsx +0 -70
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuRadioGroup.jsx +0 -46
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.js +0 -60
- package/dist/cjs/lib/components/DropdownMenu/DropdonMenuSubContent.jsx +0 -89
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +0 -41
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +0 -60
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.js +0 -56
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuContent.jsx +0 -85
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.d.ts +0 -15
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.js +0 -58
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItem.jsx +0 -86
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +0 -48
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuItemIndicator.jsx +0 -75
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.js +0 -45
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuLable.jsx +0 -61
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.js +0 -41
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRadioItem.jsx +0 -60
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -15
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuRoot.jsx +0 -55
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.js +0 -31
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSeparator.jsx +0 -45
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSub.jsx +0 -44
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +0 -40
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuSubTrigger.jsx +0 -59
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.js +0 -53
- package/dist/cjs/lib/components/DropdownMenu/DropdownMenuTrigger.jsx +0 -69
- package/dist/cjs/lib/components/DropdownMenu/index.d.ts +0 -20
- package/dist/cjs/lib/components/DropdownMenu/index.jsx +0 -31
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.d.ts +0 -14
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.js +0 -61
- package/dist/cjs/lib/components/HoverCard/HoverCardContent.jsx +0 -88
- package/dist/cjs/lib/components/HoverCard/HoverCardRoot.d.ts +0 -11
- package/dist/cjs/lib/components/HoverCard/HoverCardRoot.jsx +0 -57
- package/dist/cjs/lib/components/HoverCard/HoverCardTrigger.jsx +0 -46
- package/dist/cjs/lib/components/HoverCard/index.d.ts +0 -10
- package/dist/cjs/lib/components/HoverCard/index.jsx +0 -11
- package/dist/cjs/lib/components/IconButton/index.d.ts +0 -15
- package/dist/cjs/lib/components/IconButton/index.js +0 -63
- package/dist/cjs/lib/components/IconButton/index.jsx +0 -90
- package/dist/cjs/lib/components/Inset/index.js +0 -50
- package/dist/cjs/lib/components/Inset/index.jsx +0 -79
- package/dist/cjs/lib/components/Label/index.d.ts +0 -17
- package/dist/cjs/lib/components/Label/index.js +0 -53
- package/dist/cjs/lib/components/Label/index.jsx +0 -83
- package/dist/cjs/lib/components/LineChart/index.d.ts +0 -44
- package/dist/cjs/lib/components/LineChart/index.js +0 -61
- package/dist/cjs/lib/components/LineChart/index.jsx +0 -62
- package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.js +0 -38
- package/dist/cjs/lib/components/Menubar/MenubarCheckboxItem.jsx +0 -57
- package/dist/cjs/lib/components/Menubar/MenubarContent.js +0 -60
- package/dist/cjs/lib/components/Menubar/MenubarContent.jsx +0 -89
- package/dist/cjs/lib/components/Menubar/MenubarItem.js +0 -54
- package/dist/cjs/lib/components/Menubar/MenubarItem.jsx +0 -82
- package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.js +0 -49
- package/dist/cjs/lib/components/Menubar/MenubarItemIndicator.jsx +0 -76
- package/dist/cjs/lib/components/Menubar/MenubarMenu.jsx +0 -44
- package/dist/cjs/lib/components/Menubar/MenubarRadioGroup.jsx +0 -49
- package/dist/cjs/lib/components/Menubar/MenubarRadioItem.js +0 -40
- package/dist/cjs/lib/components/Menubar/MenubarRadioItem.jsx +0 -59
- package/dist/cjs/lib/components/Menubar/MenubarRoot.d.ts +0 -19
- package/dist/cjs/lib/components/Menubar/MenubarRoot.js +0 -61
- package/dist/cjs/lib/components/Menubar/MenubarRoot.jsx +0 -91
- package/dist/cjs/lib/components/Menubar/MenubarSeparator.js +0 -31
- package/dist/cjs/lib/components/Menubar/MenubarSeparator.jsx +0 -47
- package/dist/cjs/lib/components/Menubar/MenubarSub.jsx +0 -44
- package/dist/cjs/lib/components/Menubar/MenubarSubContent.js +0 -51
- package/dist/cjs/lib/components/Menubar/MenubarSubContent.jsx +0 -78
- package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.js +0 -41
- package/dist/cjs/lib/components/Menubar/MenubarSubTrigger.jsx +0 -60
- package/dist/cjs/lib/components/Menubar/MenubarTrigger.js +0 -57
- package/dist/cjs/lib/components/Menubar/MenubarTrigger.jsx +0 -84
- package/dist/cjs/lib/components/Menubar/index.jsx +0 -31
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.js +0 -48
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuContent.jsx +0 -75
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuIndicator.jsx +0 -48
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuItem.jsx +0 -46
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.js +0 -51
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuLink.jsx +0 -78
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.js +0 -47
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuList.jsx +0 -75
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +0 -14
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.js +0 -43
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuRoot.jsx +0 -62
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.js +0 -58
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuTrigger.jsx +0 -86
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.js +0 -53
- package/dist/cjs/lib/components/NavigationMenu/NavigationMenuViewport.jsx +0 -80
- package/dist/cjs/lib/components/NavigationMenu/index.jsx +0 -12
- package/dist/cjs/lib/components/PieChart/index.d.ts +0 -23
- package/dist/cjs/lib/components/PieChart/index.js +0 -65
- package/dist/cjs/lib/components/PieChart/index.jsx +0 -70
- package/dist/cjs/lib/components/Popover/PopoverClose.js +0 -48
- package/dist/cjs/lib/components/Popover/PopoverClose.jsx +0 -64
- package/dist/cjs/lib/components/Popover/PopoverContent.d.ts +0 -11
- package/dist/cjs/lib/components/Popover/PopoverContent.js +0 -65
- package/dist/cjs/lib/components/Popover/PopoverContent.jsx +0 -92
- package/dist/cjs/lib/components/Popover/PopoverRoot.d.ts +0 -12
- package/dist/cjs/lib/components/Popover/PopoverRoot.jsx +0 -55
- package/dist/cjs/lib/components/Popover/PopoverTrigger.jsx +0 -46
- package/dist/cjs/lib/components/Popover/index.d.ts +0 -11
- package/dist/cjs/lib/components/Popover/index.jsx +0 -13
- package/dist/cjs/lib/components/Progress/index.d.ts +0 -13
- package/dist/cjs/lib/components/Progress/index.js +0 -56
- package/dist/cjs/lib/components/Progress/index.jsx +0 -83
- package/dist/cjs/lib/components/RadarChart/index.d.ts +0 -33
- package/dist/cjs/lib/components/RadarChart/index.js +0 -76
- package/dist/cjs/lib/components/RadarChart/index.jsx +0 -83
- package/dist/cjs/lib/components/Radio/index.d.ts +0 -13
- package/dist/cjs/lib/components/Radio/index.js +0 -53
- package/dist/cjs/lib/components/Radio/index.jsx +0 -54
- package/dist/cjs/lib/components/RadioCards/RadioCardsItem.js +0 -54
- package/dist/cjs/lib/components/RadioCards/RadioCardsItem.jsx +0 -70
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -13
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.js +0 -46
- package/dist/cjs/lib/components/RadioCards/RadioCardsRoot.jsx +0 -77
- package/dist/cjs/lib/components/RadioCards/index.d.ts +0 -6
- package/dist/cjs/lib/components/RadioCards/index.jsx +0 -9
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -13
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.js +0 -46
- package/dist/cjs/lib/components/RadioGroup/RadioGroupItem.jsx +0 -62
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -15
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.js +0 -53
- package/dist/cjs/lib/components/RadioGroup/RadioGroupRoot.jsx +0 -73
- package/dist/cjs/lib/components/RadioGroup/index.d.ts +0 -6
- package/dist/cjs/lib/components/RadioGroup/index.jsx +0 -9
- package/dist/cjs/lib/components/ScrollArea/index.d.ts +0 -9
- package/dist/cjs/lib/components/ScrollArea/index.jsx +0 -54
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.js +0 -35
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlItem.jsx +0 -51
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +0 -14
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.js +0 -47
- package/dist/cjs/lib/components/SegmentedControl/SegmentedControlRoot.jsx +0 -79
- package/dist/cjs/lib/components/SegmentedControl/index.d.ts +0 -6
- package/dist/cjs/lib/components/SegmentedControl/index.jsx +0 -9
- package/dist/cjs/lib/components/Select/index.d.ts +0 -34
- package/dist/cjs/lib/components/Select/index.js +0 -92
- package/dist/cjs/lib/components/Select/index.jsx +0 -115
- package/dist/cjs/lib/components/Separator/index.js +0 -47
- package/dist/cjs/lib/components/Separator/index.jsx +0 -56
- package/dist/cjs/lib/components/Skeleton/index.d.ts +0 -14
- package/dist/cjs/lib/components/Skeleton/index.js +0 -42
- package/dist/cjs/lib/components/Skeleton/index.jsx +0 -51
- package/dist/cjs/lib/components/Slider/index.d.ts +0 -14
- package/dist/cjs/lib/components/Slider/index.js +0 -49
- package/dist/cjs/lib/components/Slider/index.jsx +0 -56
- package/dist/cjs/lib/components/Spinner/index.d.ts +0 -15
- package/dist/cjs/lib/components/Spinner/index.js +0 -47
- package/dist/cjs/lib/components/Spinner/index.jsx +0 -56
- package/dist/cjs/lib/components/TabNav/index.js +0 -50
- package/dist/cjs/lib/components/TabNav/index.jsx +0 -50
- package/dist/cjs/lib/components/Table/index.d.ts +0 -30
- package/dist/cjs/lib/components/Table/index.js +0 -98
- package/dist/cjs/lib/components/Table/index.jsx +0 -119
- package/dist/cjs/lib/components/Tabs/index.js +0 -65
- package/dist/cjs/lib/components/Tabs/index.jsx +0 -80
- package/dist/cjs/lib/components/TextArea/index.d.ts +0 -16
- package/dist/cjs/lib/components/TextArea/index.js +0 -58
- package/dist/cjs/lib/components/TextArea/index.jsx +0 -65
- package/dist/cjs/lib/components/TextField/index.d.ts +0 -21
- package/dist/cjs/lib/components/TextField/index.js +0 -56
- package/dist/cjs/lib/components/TextField/index.jsx +0 -67
- package/dist/cjs/lib/components/Toast/ToastActionButton.d.ts +0 -14
- package/dist/cjs/lib/components/Toast/ToastActionButton.js +0 -67
- package/dist/cjs/lib/components/Toast/ToastActionButton.jsx +0 -97
- package/dist/cjs/lib/components/Toast/ToastDescription.d.ts +0 -13
- package/dist/cjs/lib/components/Toast/ToastDescription.js +0 -53
- package/dist/cjs/lib/components/Toast/ToastDescription.jsx +0 -71
- package/dist/cjs/lib/components/Toast/ToastRoot.js +0 -90
- package/dist/cjs/lib/components/Toast/ToastRoot.jsx +0 -123
- package/dist/cjs/lib/components/Toast/ToastTitle.d.ts +0 -13
- package/dist/cjs/lib/components/Toast/ToastTitle.js +0 -53
- package/dist/cjs/lib/components/Toast/ToastTitle.jsx +0 -69
- package/dist/cjs/lib/components/Toast/index.jsx +0 -13
- package/dist/cjs/lib/components/Toggle/ToggleWithText.d.ts +0 -21
- package/dist/cjs/lib/components/Toggle/ToggleWithText.js +0 -58
- package/dist/cjs/lib/components/Toggle/ToggleWithText.jsx +0 -86
- package/dist/cjs/lib/components/Toggle/index.d.ts +0 -21
- package/dist/cjs/lib/components/Toggle/index.js +0 -58
- package/dist/cjs/lib/components/Toggle/index.jsx +0 -88
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.d.ts +0 -17
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.js +0 -54
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupItem.jsx +0 -70
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +0 -15
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.js +0 -48
- package/dist/cjs/lib/components/ToggleGroup/ToggleGroupRoot.jsx +0 -79
- package/dist/cjs/lib/components/ToggleGroup/index.jsx +0 -9
- package/dist/cjs/lib/components/ToggleSwitch/index.js +0 -71
- package/dist/cjs/lib/components/ToggleSwitch/index.jsx +0 -81
- package/dist/cjs/lib/components/Tooltip/index.d.ts +0 -19
- package/dist/cjs/lib/components/Tooltip/index.js +0 -49
- package/dist/cjs/lib/components/Tooltip/index.jsx +0 -86
- 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.jsx +0 -58
- package/dist/esm/lib/Typography/Text/index.d.ts +0 -15
- package/dist/esm/lib/Typography/Text/index.jsx +0 -47
- 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.jsx +0 -76
- package/dist/esm/lib/components/AlertDialog/AlertDialogAction.d.ts +0 -14
- package/dist/esm/lib/components/AlertDialog/AlertDialogAction.jsx +0 -62
- package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.d.ts +0 -13
- package/dist/esm/lib/components/AlertDialog/AlertDialogCancel.jsx +0 -61
- package/dist/esm/lib/components/AlertDialog/AlertDialogContent.d.ts +0 -11
- package/dist/esm/lib/components/AlertDialog/AlertDialogContent.jsx +0 -55
- package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.d.ts +0 -10
- package/dist/esm/lib/components/AlertDialog/AlertDialogDescription.jsx +0 -37
- package/dist/esm/lib/components/AlertDialog/AlertDialogRoot.d.ts +0 -16
- package/dist/esm/lib/components/AlertDialog/AlertDialogRoot.jsx +0 -38
- package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.d.ts +0 -10
- package/dist/esm/lib/components/AlertDialog/AlertDialogTitle.jsx +0 -37
- package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.d.ts +0 -17
- package/dist/esm/lib/components/AlertDialog/AlertDialogTrigger.jsx +0 -56
- package/dist/esm/lib/components/AlertDialog/index.d.ts +0 -11
- package/dist/esm/lib/components/AlertDialog/index.jsx +0 -17
- package/dist/esm/lib/components/AspectRatio/index.d.ts +0 -10
- package/dist/esm/lib/components/AspectRatio/index.jsx +0 -43
- package/dist/esm/lib/components/Avatar/index.d.ts +0 -21
- package/dist/esm/lib/components/Avatar/index.jsx +0 -62
- package/dist/esm/lib/components/Badge/index.d.ts +0 -18
- package/dist/esm/lib/components/Badge/index.jsx +0 -55
- package/dist/esm/lib/components/BarChart/index.d.ts +0 -38
- package/dist/esm/lib/components/BarChart/index.jsx +0 -62
- package/dist/esm/lib/components/BubbleChart/index.d.ts +0 -29
- package/dist/esm/lib/components/BubbleChart/index.jsx +0 -73
- package/dist/esm/lib/components/Button/index.d.ts +0 -16
- package/dist/esm/lib/components/Button/index.jsx +0 -57
- package/dist/esm/lib/components/Callout/CalloutIcon.d.ts +0 -13
- package/dist/esm/lib/components/Callout/CalloutIcon.jsx +0 -62
- package/dist/esm/lib/components/Callout/CalloutRoot.d.ts +0 -18
- package/dist/esm/lib/components/Callout/CalloutRoot.jsx +0 -75
- package/dist/esm/lib/components/Callout/CalloutText.d.ts +0 -10
- package/dist/esm/lib/components/Callout/CalloutText.jsx +0 -42
- package/dist/esm/lib/components/Callout/index.d.ts +0 -7
- package/dist/esm/lib/components/Callout/index.jsx +0 -9
- package/dist/esm/lib/components/Card/index.d.ts +0 -14
- package/dist/esm/lib/components/Card/index.jsx +0 -65
- package/dist/esm/lib/components/Checkbox/index.d.ts +0 -17
- package/dist/esm/lib/components/Checkbox/index.jsx +0 -97
- package/dist/esm/lib/components/CheckboxCard/index.d.ts +0 -20
- package/dist/esm/lib/components/CheckboxCard/index.jsx +0 -60
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +0 -5
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupItem.jsx +0 -25
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +0 -17
- package/dist/esm/lib/components/CheckboxGroup/CheckboxGroupRoot.jsx +0 -37
- package/dist/esm/lib/components/CheckboxGroup/index.d.ts +0 -6
- package/dist/esm/lib/components/CheckboxGroup/index.jsx +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuCheckboxItem.jsx +0 -35
- package/dist/esm/lib/components/ContextMenu/ContextMenuContent.d.ts +0 -11
- package/dist/esm/lib/components/ContextMenu/ContextMenuContent.jsx +0 -59
- package/dist/esm/lib/components/ContextMenu/ContextMenuGroup.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuGroup.jsx +0 -20
- package/dist/esm/lib/components/ContextMenu/ContextMenuItem.d.ts +0 -13
- package/dist/esm/lib/components/ContextMenu/ContextMenuItem.jsx +0 -61
- package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +0 -10
- package/dist/esm/lib/components/ContextMenu/ContextMenuItemIndicator.jsx +0 -51
- package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.d.ts +0 -11
- package/dist/esm/lib/components/ContextMenu/ContextMenuLabel.jsx +0 -49
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -8
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioGroup.jsx +0 -23
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuRadioItem.jsx +0 -37
- package/dist/esm/lib/components/ContextMenu/ContextMenuRoot.d.ts +0 -13
- package/dist/esm/lib/components/ContextMenu/ContextMenuRoot.jsx +0 -34
- package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.d.ts +0 -3
- package/dist/esm/lib/components/ContextMenu/ContextMenuSeparator.jsx +0 -21
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.d.ts +0 -11
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubContent.jsx +0 -57
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuSubTrigger.jsx +0 -35
- package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.d.ts +0 -4
- package/dist/esm/lib/components/ContextMenu/ContextMenuTrigger.jsx +0 -21
- package/dist/esm/lib/components/ContextMenu/index.d.ts +0 -17
- package/dist/esm/lib/components/ContextMenu/index.jsx +0 -29
- package/dist/esm/lib/components/DataList/DataListItem.d.ts +0 -9
- package/dist/esm/lib/components/DataList/DataListItem.jsx +0 -44
- package/dist/esm/lib/components/DataList/DataListLabel.d.ts +0 -10
- package/dist/esm/lib/components/DataList/DataListLabel.jsx +0 -50
- package/dist/esm/lib/components/DataList/DataListRoot.d.ts +0 -14
- package/dist/esm/lib/components/DataList/DataListRoot.jsx +0 -46
- package/dist/esm/lib/components/DataList/DataListValue.d.ts +0 -11
- package/dist/esm/lib/components/DataList/DataListValue.jsx +0 -52
- package/dist/esm/lib/components/DataList/index.d.ts +0 -8
- package/dist/esm/lib/components/DataList/index.jsx +0 -6
- package/dist/esm/lib/components/Dialog/DialogAction.d.ts +0 -13
- package/dist/esm/lib/components/Dialog/DialogAction.jsx +0 -49
- package/dist/esm/lib/components/Dialog/DialogCancel.d.ts +0 -11
- package/dist/esm/lib/components/Dialog/DialogCancel.jsx +0 -45
- package/dist/esm/lib/components/Dialog/DialogContent.d.ts +0 -11
- package/dist/esm/lib/components/Dialog/DialogContent.jsx +0 -58
- package/dist/esm/lib/components/Dialog/DialogDescription.d.ts +0 -9
- package/dist/esm/lib/components/Dialog/DialogDescription.jsx +0 -37
- package/dist/esm/lib/components/Dialog/DialogRoot.d.ts +0 -15
- package/dist/esm/lib/components/Dialog/DialogRoot.jsx +0 -29
- package/dist/esm/lib/components/Dialog/DialogSlot.d.ts +0 -9
- package/dist/esm/lib/components/Dialog/DialogSlot.jsx +0 -36
- package/dist/esm/lib/components/Dialog/DialogTitle.d.ts +0 -11
- package/dist/esm/lib/components/Dialog/DialogTitle.jsx +0 -37
- package/dist/esm/lib/components/Dialog/DialogTrigger.d.ts +0 -3
- package/dist/esm/lib/components/Dialog/DialogTrigger.jsx +0 -20
- package/dist/esm/lib/components/Dialog/index.d.ts +0 -15
- package/dist/esm/lib/components/Dialog/index.jsx +0 -19
- package/dist/esm/lib/components/DoughnutChart/index.d.ts +0 -23
- package/dist/esm/lib/components/DoughnutChart/index.jsx +0 -65
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -3
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuRadioGroup.jsx +0 -20
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +0 -11
- package/dist/esm/lib/components/DropdownMenu/DropdonMenuSubContent.jsx +0 -63
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -7
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +0 -34
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.d.ts +0 -11
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuContent.jsx +0 -59
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.d.ts +0 -15
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItem.jsx +0 -60
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -10
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuItemIndicator.jsx +0 -49
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.d.ts +0 -10
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuLable.jsx +0 -35
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -6
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRadioItem.jsx +0 -34
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -15
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuRoot.jsx +0 -28
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -3
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSeparator.jsx +0 -19
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSub.d.ts +0 -3
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSub.jsx +0 -18
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -4
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuSubTrigger.jsx +0 -33
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
- package/dist/esm/lib/components/DropdownMenu/DropdownMenuTrigger.jsx +0 -43
- package/dist/esm/lib/components/DropdownMenu/index.d.ts +0 -20
- package/dist/esm/lib/components/DropdownMenu/index.jsx +0 -29
- package/dist/esm/lib/components/HoverCard/HoverCardContent.d.ts +0 -14
- package/dist/esm/lib/components/HoverCard/HoverCardContent.jsx +0 -62
- package/dist/esm/lib/components/HoverCard/HoverCardRoot.d.ts +0 -11
- package/dist/esm/lib/components/HoverCard/HoverCardRoot.jsx +0 -30
- package/dist/esm/lib/components/HoverCard/HoverCardTrigger.d.ts +0 -3
- package/dist/esm/lib/components/HoverCard/HoverCardTrigger.jsx +0 -20
- package/dist/esm/lib/components/HoverCard/index.d.ts +0 -10
- package/dist/esm/lib/components/HoverCard/index.jsx +0 -9
- package/dist/esm/lib/components/IconButton/index.d.ts +0 -15
- package/dist/esm/lib/components/IconButton/index.jsx +0 -64
- package/dist/esm/lib/components/Inset/index.d.ts +0 -10
- package/dist/esm/lib/components/Inset/index.jsx +0 -53
- package/dist/esm/lib/components/Label/index.d.ts +0 -17
- package/dist/esm/lib/components/Label/index.jsx +0 -54
- package/dist/esm/lib/components/LineChart/index.d.ts +0 -44
- package/dist/esm/lib/components/LineChart/index.jsx +0 -60
- package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.d.ts +0 -4
- package/dist/esm/lib/components/Menubar/MenubarCheckboxItem.jsx +0 -31
- package/dist/esm/lib/components/Menubar/MenubarContent.d.ts +0 -11
- package/dist/esm/lib/components/Menubar/MenubarContent.jsx +0 -63
- package/dist/esm/lib/components/Menubar/MenubarItem.d.ts +0 -13
- package/dist/esm/lib/components/Menubar/MenubarItem.jsx +0 -56
- package/dist/esm/lib/components/Menubar/MenubarItemIndicator.d.ts +0 -10
- package/dist/esm/lib/components/Menubar/MenubarItemIndicator.jsx +0 -50
- package/dist/esm/lib/components/Menubar/MenubarMenu.d.ts +0 -5
- package/dist/esm/lib/components/Menubar/MenubarMenu.jsx +0 -18
- package/dist/esm/lib/components/Menubar/MenubarRadioGroup.d.ts +0 -8
- package/dist/esm/lib/components/Menubar/MenubarRadioGroup.jsx +0 -23
- package/dist/esm/lib/components/Menubar/MenubarRadioItem.d.ts +0 -4
- package/dist/esm/lib/components/Menubar/MenubarRadioItem.jsx +0 -33
- package/dist/esm/lib/components/Menubar/MenubarRoot.d.ts +0 -19
- package/dist/esm/lib/components/Menubar/MenubarRoot.jsx +0 -64
- package/dist/esm/lib/components/Menubar/MenubarSeparator.d.ts +0 -3
- package/dist/esm/lib/components/Menubar/MenubarSeparator.jsx +0 -21
- package/dist/esm/lib/components/Menubar/MenubarSub.d.ts +0 -3
- package/dist/esm/lib/components/Menubar/MenubarSub.jsx +0 -18
- package/dist/esm/lib/components/Menubar/MenubarSubContent.d.ts +0 -10
- package/dist/esm/lib/components/Menubar/MenubarSubContent.jsx +0 -52
- package/dist/esm/lib/components/Menubar/MenubarSubTrigger.d.ts +0 -4
- package/dist/esm/lib/components/Menubar/MenubarSubTrigger.jsx +0 -34
- package/dist/esm/lib/components/Menubar/MenubarTrigger.d.ts +0 -12
- package/dist/esm/lib/components/Menubar/MenubarTrigger.jsx +0 -58
- package/dist/esm/lib/components/Menubar/index.d.ts +0 -19
- package/dist/esm/lib/components/Menubar/index.jsx +0 -29
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.d.ts +0 -11
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuContent.jsx +0 -49
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -3
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuIndicator.jsx +0 -22
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuItem.d.ts +0 -3
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuItem.jsx +0 -20
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.d.ts +0 -13
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuLink.jsx +0 -52
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.d.ts +0 -12
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuList.jsx +0 -49
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +0 -14
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuRoot.jsx +0 -35
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +0 -13
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuTrigger.jsx +0 -60
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +0 -12
- package/dist/esm/lib/components/NavigationMenu/NavigationMenuViewport.jsx +0 -54
- package/dist/esm/lib/components/NavigationMenu/index.d.ts +0 -12
- package/dist/esm/lib/components/NavigationMenu/index.jsx +0 -10
- package/dist/esm/lib/components/PieChart/index.d.ts +0 -23
- package/dist/esm/lib/components/PieChart/index.jsx +0 -65
- package/dist/esm/lib/components/Popover/PopoverClose.d.ts +0 -9
- package/dist/esm/lib/components/Popover/PopoverClose.jsx +0 -38
- package/dist/esm/lib/components/Popover/PopoverContent.d.ts +0 -11
- package/dist/esm/lib/components/Popover/PopoverContent.jsx +0 -66
- package/dist/esm/lib/components/Popover/PopoverRoot.d.ts +0 -12
- package/dist/esm/lib/components/Popover/PopoverRoot.jsx +0 -28
- package/dist/esm/lib/components/Popover/PopoverTrigger.d.ts +0 -3
- package/dist/esm/lib/components/Popover/PopoverTrigger.jsx +0 -20
- package/dist/esm/lib/components/Popover/index.d.ts +0 -11
- package/dist/esm/lib/components/Popover/index.jsx +0 -11
- package/dist/esm/lib/components/Progress/index.d.ts +0 -13
- package/dist/esm/lib/components/Progress/index.jsx +0 -57
- package/dist/esm/lib/components/RadarChart/index.d.ts +0 -33
- package/dist/esm/lib/components/RadarChart/index.jsx +0 -76
- package/dist/esm/lib/components/Radio/index.d.ts +0 -13
- package/dist/esm/lib/components/Radio/index.jsx +0 -48
- package/dist/esm/lib/components/RadioCards/RadioCardsItem.d.ts +0 -10
- package/dist/esm/lib/components/RadioCards/RadioCardsItem.jsx +0 -44
- package/dist/esm/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -13
- package/dist/esm/lib/components/RadioCards/RadioCardsRoot.jsx +0 -51
- package/dist/esm/lib/components/RadioCards/index.d.ts +0 -6
- package/dist/esm/lib/components/RadioCards/index.jsx +0 -7
- package/dist/esm/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -13
- package/dist/esm/lib/components/RadioGroup/RadioGroupItem.jsx +0 -36
- package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -15
- package/dist/esm/lib/components/RadioGroup/RadioGroupRoot.jsx +0 -47
- package/dist/esm/lib/components/RadioGroup/index.d.ts +0 -6
- package/dist/esm/lib/components/RadioGroup/index.jsx +0 -7
- package/dist/esm/lib/components/ScrollArea/index.d.ts +0 -9
- package/dist/esm/lib/components/ScrollArea/index.jsx +0 -28
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.d.ts +0 -6
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlItem.jsx +0 -25
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +0 -14
- package/dist/esm/lib/components/SegmentedControl/SegmentedControlRoot.jsx +0 -50
- package/dist/esm/lib/components/SegmentedControl/index.d.ts +0 -6
- package/dist/esm/lib/components/SegmentedControl/index.jsx +0 -7
- package/dist/esm/lib/components/Select/index.d.ts +0 -34
- package/dist/esm/lib/components/Select/index.jsx +0 -109
- package/dist/esm/lib/components/Separator/index.d.ts +0 -11
- package/dist/esm/lib/components/Separator/index.jsx +0 -50
- package/dist/esm/lib/components/Skeleton/index.d.ts +0 -14
- package/dist/esm/lib/components/Skeleton/index.jsx +0 -45
- package/dist/esm/lib/components/Slider/index.d.ts +0 -14
- package/dist/esm/lib/components/Slider/index.jsx +0 -50
- package/dist/esm/lib/components/Spinner/index.d.ts +0 -15
- package/dist/esm/lib/components/Spinner/index.jsx +0 -50
- package/dist/esm/lib/components/TabNav/index.d.ts +0 -15
- package/dist/esm/lib/components/TabNav/index.jsx +0 -44
- package/dist/esm/lib/components/Table/index.d.ts +0 -30
- package/dist/esm/lib/components/Table/index.jsx +0 -113
- package/dist/esm/lib/components/Tabs/index.d.ts +0 -22
- package/dist/esm/lib/components/Tabs/index.jsx +0 -74
- package/dist/esm/lib/components/TextArea/index.d.ts +0 -16
- package/dist/esm/lib/components/TextArea/index.jsx +0 -59
- package/dist/esm/lib/components/TextField/index.d.ts +0 -21
- package/dist/esm/lib/components/TextField/index.jsx +0 -61
- package/dist/esm/lib/components/Toast/ToastActionButton.d.ts +0 -14
- package/dist/esm/lib/components/Toast/ToastActionButton.jsx +0 -68
- package/dist/esm/lib/components/Toast/ToastDescription.d.ts +0 -13
- package/dist/esm/lib/components/Toast/ToastDescription.jsx +0 -45
- package/dist/esm/lib/components/Toast/ToastRoot.d.ts +0 -27
- package/dist/esm/lib/components/Toast/ToastRoot.jsx +0 -96
- package/dist/esm/lib/components/Toast/ToastTitle.d.ts +0 -13
- package/dist/esm/lib/components/Toast/ToastTitle.jsx +0 -43
- package/dist/esm/lib/components/Toast/index.d.ts +0 -8
- package/dist/esm/lib/components/Toast/index.jsx +0 -11
- package/dist/esm/lib/components/Toggle/ToggleWithText.d.ts +0 -21
- package/dist/esm/lib/components/Toggle/ToggleWithText.jsx +0 -60
- package/dist/esm/lib/components/Toggle/index.d.ts +0 -21
- package/dist/esm/lib/components/Toggle/index.jsx +0 -59
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.d.ts +0 -17
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupItem.jsx +0 -44
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +0 -15
- package/dist/esm/lib/components/ToggleGroup/ToggleGroupRoot.jsx +0 -53
- package/dist/esm/lib/components/ToggleGroup/index.d.ts +0 -6
- package/dist/esm/lib/components/ToggleGroup/index.jsx +0 -7
- package/dist/esm/lib/components/ToggleSwitch/index.d.ts +0 -13
- package/dist/esm/lib/components/ToggleSwitch/index.jsx +0 -75
- package/dist/esm/lib/components/Tooltip/index.d.ts +0 -19
- package/dist/esm/lib/components/Tooltip/index.jsx +0 -58
- 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/{cjs/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/{cjs/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/{cjs/lib → lib}/components/Callout/index.js +0 -0
- /package/dist/{cjs/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/{cjs/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/{cjs/lib → lib}/components/ContextMenu/ContextMenuRadioGroup.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -0
- /package/dist/{cjs/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/{cjs/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/{cjs/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.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Dialog/DialogTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Dialog/DialogTrigger.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Dialog/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -0
- /package/dist/{cjs/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/{cjs/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/{cjs/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.js +0 -0
- /package/dist/{cjs/lib → lib}/components/HoverCard/HoverCardRoot.js +0 -0
- /package/dist/{cjs/lib → lib}/components/HoverCard/HoverCardTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/HoverCard/HoverCardTrigger.js +0 -0
- /package/dist/{cjs/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/{cjs/lib → lib}/components/Menubar/MenubarMenu.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Menubar/MenubarRadioGroup.d.ts +0 -0
- /package/dist/{cjs/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/{cjs/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/{cjs/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/{cjs/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/{cjs/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.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Popover/PopoverTrigger.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/Popover/PopoverTrigger.js +0 -0
- /package/dist/{cjs/lib → lib}/components/Popover/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/RadioCards/RadioCardsItem.d.ts +0 -0
- /package/dist/{cjs/lib → lib}/components/RadioCards/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/RadioGroup/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ScrollArea/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/SegmentedControl/SegmentedControlItem.d.ts +0 -0
- /package/dist/{cjs/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/{cjs/lib → lib}/components/Toast/index.js +0 -0
- /package/dist/{cjs/lib → lib}/components/ToggleGroup/index.d.ts +0 -0
- /package/dist/{cjs/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,65 @@
|
|
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 { Theme, Tabs as TabsTheme } from '@radix-ui/themes';
|
25
|
+
import React from 'react';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { weightVariants } from '../../../lib/constants';
|
29
|
+
var tabsVariants = cva('', {
|
30
|
+
variants: {
|
31
|
+
weight: __assign({}, weightVariants),
|
32
|
+
},
|
33
|
+
});
|
34
|
+
export var Root = React.forwardRef(function (_a, forwardedRef) {
|
35
|
+
var className = _a.className, children = _a.children, color = _a.color, rootProps = __rest(_a, ["className", "children", "color"]);
|
36
|
+
if (!color)
|
37
|
+
color = 'red';
|
38
|
+
return (_jsx(Theme, { accentColor: color, hasBackground: false, children: _jsx(TabsTheme.Root, __assign({}, rootProps, { ref: forwardedRef, className: cn('', className), children: children })) }));
|
39
|
+
});
|
40
|
+
Root.displayName = 'Tabs.Root';
|
41
|
+
export var List = React.forwardRef(function (_a, forwardedRef) {
|
42
|
+
var className = _a.className, weight = _a.weight, children = _a.children, size = _a.size, listProps = __rest(_a, ["className", "weight", "children", "size"]);
|
43
|
+
var sizeTheme = '2';
|
44
|
+
if (size === 'small')
|
45
|
+
sizeTheme = '1';
|
46
|
+
return (_jsx(TabsTheme.List, __assign({ ref: forwardedRef, size: sizeTheme }, listProps, { className: cn('', className), children: children })));
|
47
|
+
});
|
48
|
+
List.displayName = 'Tabs.List';
|
49
|
+
export var Trigger = React.forwardRef(function (_a, forwardedRef) {
|
50
|
+
var className = _a.className, weight = _a.weight, children = _a.children, triggerProps = __rest(_a, ["className", "weight", "children"]);
|
51
|
+
return (_jsx(TabsTheme.Trigger, __assign({ ref: forwardedRef, className: cn('text-slateA-11 data-[state=active]:text-slateA-12 dark:text-slateDarkA-11 dark:data-[state=active]:text-slateDarkA-12', className) }, triggerProps, { children: children })));
|
52
|
+
});
|
53
|
+
Trigger.displayName = 'Tabs.Trigger';
|
54
|
+
export var Content = React.forwardRef(function (_a, forwardedRef) {
|
55
|
+
var className = _a.className, weight = _a.weight, children = _a.children, contentProps = __rest(_a, ["className", "weight", "children"]);
|
56
|
+
return (_jsx(TabsTheme.Content, __assign({ ref: forwardedRef }, contentProps, { className: cn('mt-3', className), children: children })));
|
57
|
+
});
|
58
|
+
Content.displayName = 'Tabs.Content';
|
59
|
+
var Tabs = {
|
60
|
+
Root: Root,
|
61
|
+
List: List,
|
62
|
+
Trigger: Trigger,
|
63
|
+
Content: Content,
|
64
|
+
};
|
65
|
+
export default Tabs;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import r from"react";import{cn as t}from"../../utils/utils.mjs";import{cva as a}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{weightVariants as s}from"../../constants.mjs";import{Theme as o}from"../../../node_modules/@radix-ui/themes/dist/esm/components/theme.mjs";import{Root as i,List as n,Trigger as l,Content as c}from"../../../node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs";var m=function(){return m=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var s in r=arguments[t])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},m.apply(this,arguments)},d=function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&r.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(e);s<a.length;s++)r.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(e,a[s])&&(t[a[s]]=e[a[s]])}return t};a("",{variants:{weight:m({},s)}});var f=r.forwardRef((function(r,a){var s=r.className,n=r.children,l=r.color,c=d(r,["className","children","color"]);return l||(l="red"),e.jsx(o,{accentColor:l,hasBackground:!1,children:e.jsx(i,m({},c,{ref:a,className:t("",s),children:n}))})}));f.displayName="Tabs.Root";var h=r.forwardRef((function(r,a){var s=r.className;r.weight;var o=r.children,i=r.size,l=d(r,["className","weight","children","size"]),c="2";return"small"===i&&(c="1"),e.jsx(n,m({ref:a,size:c},l,{className:t("",s),children:o}))}));h.displayName="Tabs.List";var p=r.forwardRef((function(r,a){var s=r.className;r.weight;var o=r.children,i=d(r,["className","weight","children"]);return e.jsx(l,m({ref:a,className:t("text-slateA-11 data-[state=active]:text-slateA-12 dark:text-slateDarkA-11 dark:data-[state=active]:text-slateDarkA-12",s)},i,{children:o}))}));p.displayName="Tabs.Trigger";var u=r.forwardRef((function(r,a){var s=r.className;r.weight;var o=r.children,i=d(r,["className","weight","children"]);return e.jsx(c,m({ref:a},i,{className:t("mt-3",s),children:o}))}));u.displayName="Tabs.Content";var v={Root:f,List:h,Trigger:p,Content:u};export{u as Content,h as List,f as Root,p as Trigger,v as default};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../lib/components/Tabs/index.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 { Theme, Tabs as TabsTheme } from '@radix-ui/themes';\nimport React from 'react';\nimport { cn } from '../../../lib/utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { weightVariants } from '../../../lib/constants';\nvar tabsVariants = cva('', {\n variants: {\n weight: __assign({}, weightVariants),\n },\n});\nexport var Root = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, children = _a.children, color = _a.color, rootProps = __rest(_a, [\"className\", \"children\", \"color\"]);\n if (!color)\n color = 'red';\n return (_jsx(Theme, { accentColor: color, hasBackground: false, children: _jsx(TabsTheme.Root, __assign({}, rootProps, { ref: forwardedRef, className: cn('', className), children: children })) }));\n});\nRoot.displayName = 'Tabs.Root';\nexport var List = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, weight = _a.weight, children = _a.children, size = _a.size, listProps = __rest(_a, [\"className\", \"weight\", \"children\", \"size\"]);\n var sizeTheme = '2';\n if (size === 'small')\n sizeTheme = '1';\n return (_jsx(TabsTheme.List, __assign({ ref: forwardedRef, size: sizeTheme }, listProps, { className: cn('', className), children: children })));\n});\nList.displayName = 'Tabs.List';\nexport var Trigger = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, weight = _a.weight, children = _a.children, triggerProps = __rest(_a, [\"className\", \"weight\", \"children\"]);\n return (_jsx(TabsTheme.Trigger, __assign({ ref: forwardedRef, className: cn('text-slateA-11 data-[state=active]:text-slateA-12 dark:text-slateDarkA-11 dark:data-[state=active]:text-slateDarkA-12', className) }, triggerProps, { children: children })));\n});\nTrigger.displayName = 'Tabs.Trigger';\nexport var Content = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, weight = _a.weight, children = _a.children, contentProps = __rest(_a, [\"className\", \"weight\", \"children\"]);\n return (_jsx(TabsTheme.Content, __assign({ ref: forwardedRef }, contentProps, { className: cn('mt-3', className), children: children })));\n});\nContent.displayName = 'Tabs.Content';\nvar Tabs = {\n Root: Root,\n List: List,\n Trigger: Trigger,\n Content: Content,\n};\nexport default Tabs;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","cva","variants","weight","weightVariants","Root","React","forwardRef","_a","forwardedRef","className","children","color","rootProps","_jsx","Theme","accentColor","hasBackground","TabsTheme.Root","ref","cn","displayName","List","size","listProps","sizeTheme","TabsTheme.List","Trigger","triggerProps","TabsTheme.Trigger","Content","contentProps","TabsTheme.Content","Tabs"],"mappings":"ueAAA,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,EAOmBiB,EAAI,GAAI,CACvBC,SAAU,CACNC,OAAQtB,EAAS,CAAE,EAAEuB,MAGnB,IAACC,EAAOC,EAAMC,YAAW,SAAUC,EAAIC,GAC7C,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQJ,EAAGI,MAAOC,EAAYjB,EAAOY,EAAI,CAAC,YAAa,WAAY,UAGzH,OAFKI,IACDA,EAAQ,OACJE,MAAKC,EAAO,CAAEC,YAAaJ,EAAOK,eAAe,EAAON,SAAUG,EAAAA,IAAKI,EAAgBrC,EAAS,CAAE,EAAEgC,EAAW,CAAEM,IAAKV,EAAcC,UAAWU,EAAG,GAAIV,GAAYC,SAAUA,MACxL,IACAN,EAAKgB,YAAc,YACT,IAACC,EAAOhB,EAAMC,YAAW,SAAUC,EAAIC,GAC1C,IAACC,EAAYF,EAAGE,UAAoBF,EAAGL,WAAQQ,EAAWH,EAAGG,SAAUY,EAAOf,EAAGe,KAAMC,EAAY5B,EAAOY,EAAI,CAAC,YAAa,SAAU,WAAY,SACjJiB,EAAY,IAGhB,MAFa,UAATF,IACAE,EAAY,KACRX,EAAAA,IAAKY,EAAgB7C,EAAS,CAAEsC,IAAKV,EAAcc,KAAME,GAAaD,EAAW,CAAEd,UAAWU,EAAG,GAAIV,GAAYC,SAAUA,IACvI,IACAW,EAAKD,YAAc,YACT,IAACM,EAAUrB,EAAMC,YAAW,SAAUC,EAAIC,GAC7C,IAACC,EAAYF,EAAGE,UAAoBF,EAAGL,OAAO,IAACQ,EAAWH,EAAGG,SAAUiB,EAAehC,EAAOY,EAAI,CAAC,YAAa,SAAU,aAC5H,OAAQM,EAAAA,IAAKe,EAAmBhD,EAAS,CAAEsC,IAAKV,EAAcC,UAAWU,EAAG,wHAAyHV,IAAckB,EAAc,CAAEjB,SAAUA,IACjP,IACAgB,EAAQN,YAAc,eACZ,IAACS,EAAUxB,EAAMC,YAAW,SAAUC,EAAIC,GAC7C,IAACC,EAAYF,EAAGE,UAAoBF,EAAGL,OAAO,IAACQ,EAAWH,EAAGG,SAAUoB,EAAenC,EAAOY,EAAI,CAAC,YAAa,SAAU,aAC5H,OAAQM,EAAAA,IAAKkB,EAAmBnD,EAAS,CAAEsC,IAAKV,GAAgBsB,EAAc,CAAErB,UAAWU,EAAG,OAAQV,GAAYC,SAAUA,IAChI,IACAmB,EAAQT,YAAc,eACnB,IAACY,EAAO,CACP5B,KAAMA,EACNiB,KAAMA,EACNK,QAASA,EACTG,QAASA"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import { IColor } from '../../../lib/types';
|
4
|
+
export interface TextAreaProps extends VariantProps<typeof textAreaNavVariants> {
|
5
|
+
color?: IColor;
|
6
|
+
href?: string;
|
7
|
+
appearance?: 'classic' | 'soft' | 'surface';
|
8
|
+
size?: 'small' | 'medium' | 'large' | 'x-large';
|
9
|
+
}
|
10
|
+
declare const textAreaNavVariants: (props?: ({
|
11
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
12
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
13
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
14
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
|
+
export declare const TextArea: React.ForwardRefExoticComponent<Omit<import("@radix-ui/themes").TextAreaProps & React.RefAttributes<HTMLTextAreaElement>, "ref"> & TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
16
|
+
export default TextArea;
|
@@ -0,0 +1,58 @@
|
|
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 React from 'react';
|
25
|
+
import { cva } from 'class-variance-authority';
|
26
|
+
import { TextArea as TextAreaTheme, Theme } from '@radix-ui/themes';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
|
+
var textAreaNavVariants = cva('w-[250px]', {
|
30
|
+
variants: {
|
31
|
+
size: {
|
32
|
+
small: 'text-xs h-[48px]',
|
33
|
+
medium: 'text-sm h-[64px]',
|
34
|
+
large: 'text-base h-[80px]',
|
35
|
+
'x-large': 'text-lg h-[96px]',
|
36
|
+
},
|
37
|
+
scaling: __assign({}, scalingVariants),
|
38
|
+
radius: __assign({}, radiusVariants['extra-large']),
|
39
|
+
},
|
40
|
+
defaultVariants: {
|
41
|
+
size: 'medium',
|
42
|
+
scaling: '100%',
|
43
|
+
radius: 'medium',
|
44
|
+
},
|
45
|
+
});
|
46
|
+
export var TextArea = React.forwardRef(function (_a, forwardedRef) {
|
47
|
+
var className = _a.className, children = _a.children, size = _a.size, appearance = _a.appearance, scaling = _a.scaling, radius = _a.radius, color = _a.color, textAreaProps = __rest(_a, ["className", "children", "size", "appearance", "scaling", "radius", "color"]);
|
48
|
+
var sizeTheme = '2';
|
49
|
+
if (size === 'small')
|
50
|
+
sizeTheme = '1';
|
51
|
+
if (size === 'large')
|
52
|
+
sizeTheme = '3';
|
53
|
+
if (!color)
|
54
|
+
color = 'red';
|
55
|
+
return (_jsx(Theme, { hasBackground: false, accentColor: color, children: _jsx(TextAreaTheme, __assign({ ref: forwardedRef, variant: appearance, size: sizeTheme, className: cn(textAreaNavVariants({ size: size, scaling: scaling, radius: radius }), size === 'x-large' && 'rt-r-size-4', className) }, textAreaProps)) }));
|
56
|
+
});
|
57
|
+
TextArea.displayName = 'TextArea';
|
58
|
+
export default TextArea;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as e}from"../../../_virtual/jsx-runtime.mjs";import r from"react";import{cva as a}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{cn as t}from"../../utils/utils.mjs";import{scalingVariants as s,radiusVariants as i}from"../../constants.mjs";import{TextArea as o}from"../../../node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs";import{Theme as n}from"../../../node_modules/@radix-ui/themes/dist/esm/components/theme.mjs";var l=function(){return l=Object.assign||function(e){for(var r,a=1,t=arguments.length;a<t;a++)for(var s in r=arguments[a])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},l.apply(this,arguments)},m=function(e,r){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(a[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(t=Object.getOwnPropertySymbols(e);s<t.length;s++)r.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(e,t[s])&&(a[t[s]]=e[t[s]])}return a},c=a("w-[250px]",{variants:{size:{small:"text-xs h-[48px]",medium:"text-sm h-[64px]",large:"text-base h-[80px]","x-large":"text-lg h-[96px]"},scaling:l({},s),radius:l({},i["extra-large"])},defaultVariants:{size:"medium",scaling:"100%",radius:"medium"}}),p=r.forwardRef((function(r,a){var s=r.className;r.children;var i=r.size,p=r.appearance,u=r.scaling,d=r.radius,f=r.color,x=m(r,["className","children","size","appearance","scaling","radius","color"]),h="2";return"small"===i&&(h="1"),"large"===i&&(h="3"),f||(f="red"),e.jsx(n,{hasBackground:!1,accentColor:f,children:e.jsx(o,l({ref:a,variant:p,size:h,className:t(c({size:i,scaling:u,radius:d}),"x-large"===i&&"rt-r-size-4",s)},x))})}));p.displayName="TextArea";export{p as TextArea,p as default};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../lib/components/TextArea/index.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 React from 'react';\nimport { cva } from 'class-variance-authority';\nimport { TextArea as TextAreaTheme, Theme } from '@radix-ui/themes';\nimport { cn } from '../../../lib/utils/utils';\nimport { radiusVariants, scalingVariants } from '../../../lib/constants';\nvar textAreaNavVariants = cva('w-[250px]', {\n variants: {\n size: {\n small: 'text-xs h-[48px]',\n medium: 'text-sm h-[64px]',\n large: 'text-base h-[80px]',\n 'x-large': 'text-lg h-[96px]',\n },\n scaling: __assign({}, scalingVariants),\n radius: __assign({}, radiusVariants['extra-large']),\n },\n defaultVariants: {\n size: 'medium',\n scaling: '100%',\n radius: 'medium',\n },\n});\nexport var TextArea = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, children = _a.children, size = _a.size, appearance = _a.appearance, scaling = _a.scaling, radius = _a.radius, color = _a.color, textAreaProps = __rest(_a, [\"className\", \"children\", \"size\", \"appearance\", \"scaling\", \"radius\", \"color\"]);\n var sizeTheme = '2';\n if (size === 'small')\n sizeTheme = '1';\n if (size === 'large')\n sizeTheme = '3';\n if (!color)\n color = 'red';\n return (_jsx(Theme, { hasBackground: false, accentColor: color, children: _jsx(TextAreaTheme, __assign({ ref: forwardedRef, variant: appearance, size: sizeTheme, className: cn(textAreaNavVariants({ size: size, scaling: scaling, radius: radius }), size === 'x-large' && 'rt-r-size-4', className) }, textAreaProps)) }));\n});\nTextArea.displayName = 'TextArea';\nexport default TextArea;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","textAreaNavVariants","cva","variants","size","small","medium","large","scaling","scalingVariants","radius","radiusVariants","defaultVariants","TextArea","React","forwardRef","_a","forwardedRef","className","children","appearance","color","textAreaProps","sizeTheme","_jsx","Theme","hasBackground","accentColor","jsx","TextAreaTheme","ref","variant","cn","displayName"],"mappings":"ieAAA,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,EAOIiB,EAAsBC,EAAI,YAAa,CACvCC,SAAU,CACNC,KAAM,CACFC,MAAO,mBACPC,OAAQ,mBACRC,MAAO,qBACP,UAAW,oBAEfC,QAAS3B,EAAS,CAAE,EAAE4B,GACtBC,OAAQ7B,EAAS,CAAA,EAAI8B,EAAe,iBAExCC,gBAAiB,CACbR,KAAM,SACNI,QAAS,OACTE,OAAQ,YAGLG,EAAWC,EAAMC,YAAW,SAAUC,EAAIC,GAC9C,IAACC,EAAYF,EAAGE,UAAsBF,EAAGG,SAAS,IAACf,EAAOY,EAAGZ,KAAMgB,EAAaJ,EAAGI,WAAYZ,EAAUQ,EAAGR,QAASE,EAASM,EAAGN,OAAQW,EAAQL,EAAGK,MAAOC,EAAgB1B,EAAOoB,EAAI,CAAC,YAAa,WAAY,OAAQ,aAAc,UAAW,SAAU,UAC1PO,EAAY,IAOhB,MANa,UAATnB,IACAmB,EAAY,KACH,UAATnB,IACAmB,EAAY,KACXF,IACDA,EAAQ,OACJG,EAAAA,IAAKC,EAAO,CAAEC,eAAe,EAAOC,YAAaN,EAAOF,SAAUK,EAAII,IAACC,EAAehD,EAAS,CAAEiD,IAAKb,EAAcc,QAASX,EAAYhB,KAAMmB,EAAWL,UAAWc,EAAG/B,EAAoB,CAAEG,KAAMA,EAAMI,QAASA,EAASE,OAAQA,IAAoB,YAATN,GAAsB,cAAec,IAAcI,KAC9S,IACAT,EAASoB,YAAc"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import { TextField as TextFieldTheme } from '@radix-ui/themes';
|
4
|
+
import { IScaling } from '../../../lib/types';
|
5
|
+
export interface TextFieldProps extends VariantProps<typeof textFieldVariants> {
|
6
|
+
appearance?: 'classic' | 'soft' | 'surface';
|
7
|
+
label?: string;
|
8
|
+
size?: 'small' | 'medium' | 'large';
|
9
|
+
scaling?: IScaling;
|
10
|
+
}
|
11
|
+
declare const textFieldVariants: (props?: ({
|
12
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
13
|
+
color?: string | null | undefined;
|
14
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
|
+
export declare const Root: React.ForwardRefExoticComponent<Omit<TextFieldTheme.RootProps & React.RefAttributes<HTMLInputElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
16
|
+
export declare const Slot: React.ForwardRefExoticComponent<Omit<TextFieldTheme.SlotProps & React.RefAttributes<HTMLDivElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
17
|
+
declare const TextField: {
|
18
|
+
Root: React.ForwardRefExoticComponent<Omit<TextFieldTheme.RootProps & React.RefAttributes<HTMLInputElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
19
|
+
Slot: React.ForwardRefExoticComponent<Omit<TextFieldTheme.SlotProps & React.RefAttributes<HTMLDivElement>, "ref"> & TextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
20
|
+
};
|
21
|
+
export default TextField;
|
@@ -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 React from 'react';
|
25
|
+
import { cva } from 'class-variance-authority';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { bgColorStyle, radiusVariants } from '../../../lib/constants';
|
28
|
+
import { Theme, TextField as TextFieldTheme } from '@radix-ui/themes';
|
29
|
+
var textFieldVariants = cva('', {
|
30
|
+
variants: {
|
31
|
+
radius: __assign({}, radiusVariants['base']),
|
32
|
+
color: bgColorStyle(),
|
33
|
+
},
|
34
|
+
});
|
35
|
+
export var Root = React.forwardRef(function (_a, forwardedRef) {
|
36
|
+
var className = _a.className, color = _a.color, size = _a.size, appearance = _a.appearance, _b = _a.scaling, scaling = _b === void 0 ? '100%' : _b, radius = _a.radius, children = _a.children, sliderProps = __rest(_a, ["className", "color", "size", "appearance", "scaling", "radius", "children"]);
|
37
|
+
if (!color)
|
38
|
+
color = 'red';
|
39
|
+
var sizeTheme = '2';
|
40
|
+
if (size === 'small')
|
41
|
+
sizeTheme = '1';
|
42
|
+
if (size === 'large')
|
43
|
+
sizeTheme = '3';
|
44
|
+
return (_jsx(Theme, { scaling: scaling, accentColor: color, hasBackground: false, children: _jsx(TextFieldTheme.Root, __assign({ ref: forwardedRef, variant: appearance, size: sizeTheme, radius: radius, color: color, className: cn(textFieldVariants({ radius: radius }), className) }, sliderProps, { children: children })) }));
|
45
|
+
});
|
46
|
+
Root.displayName = 'TextField.Root';
|
47
|
+
export var Slot = React.forwardRef(function (_a, forwardedRef) {
|
48
|
+
var className = _a.className, color = _a.color, side = _a.side, radius = _a.radius, children = _a.children, sliderProps = __rest(_a, ["className", "color", "side", "radius", "children"]);
|
49
|
+
return (_jsx(TextFieldTheme.Slot, __assign({ ref: forwardedRef, color: color, side: side, className: cn(textFieldVariants({ radius: radius }), className) }, sliderProps, { children: children })));
|
50
|
+
});
|
51
|
+
Slot.displayName = 'TextField.Slot';
|
52
|
+
var TextField = {
|
53
|
+
Root: Root,
|
54
|
+
Slot: Slot,
|
55
|
+
};
|
56
|
+
export default TextField;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as r}from"../../../_virtual/jsx-runtime.mjs";import e from"react";import{cva as o}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{cn as a}from"../../utils/utils.mjs";import{radiusVariants as s,bgColorStyle as t}from"../../constants.mjs";import{Theme as i}from"../../../node_modules/@radix-ui/themes/dist/esm/components/theme.mjs";import{Root as n,Slot as l}from"../../../node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs";var c=function(){return c=Object.assign||function(r){for(var e,o=1,a=arguments.length;o<a;o++)for(var s in e=arguments[o])Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s]);return r},c.apply(this,arguments)},m=function(r,e){var o={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(o[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(r);s<a.length;s++)e.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(r,a[s])&&(o[a[s]]=r[a[s]])}return o},d=o("",{variants:{radius:c({},s.base),color:t()}}),u=e.forwardRef((function(e,o){var s=e.className,t=e.color,l=e.size,u=e.appearance,p=e.scaling,f=void 0===p?"100%":p,h=e.radius,j=e.children,v=m(e,["className","color","size","appearance","scaling","radius","children"]);t||(t="red");var y="2";return"small"===l&&(y="1"),"large"===l&&(y="3"),r.jsx(i,{scaling:f,accentColor:t,hasBackground:!1,children:r.jsx(n,c({ref:o,variant:u,size:y,radius:h,color:t,className:a(d({radius:h}),s)},v,{children:j}))})}));u.displayName="TextField.Root";var p=e.forwardRef((function(e,o){var s=e.className,t=e.color,i=e.side,n=e.radius,u=e.children,p=m(e,["className","color","side","radius","children"]);return r.jsx(l,c({ref:o,color:t,side:i,className:a(d({radius:n}),s)},p,{children:u}))}));p.displayName="TextField.Slot";var f={Root:u,Slot:p};export{u as Root,p as Slot,f as default};
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../lib/components/TextField/index.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 React from 'react';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { bgColorStyle, radiusVariants } from '../../../lib/constants';\nimport { Theme, TextField as TextFieldTheme } from '@radix-ui/themes';\nvar textFieldVariants = cva('', {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n color: bgColorStyle(),\n },\n});\nexport var Root = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, color = _a.color, size = _a.size, appearance = _a.appearance, _b = _a.scaling, scaling = _b === void 0 ? '100%' : _b, radius = _a.radius, children = _a.children, sliderProps = __rest(_a, [\"className\", \"color\", \"size\", \"appearance\", \"scaling\", \"radius\", \"children\"]);\n if (!color)\n color = 'red';\n var sizeTheme = '2';\n if (size === 'small')\n sizeTheme = '1';\n if (size === 'large')\n sizeTheme = '3';\n return (_jsx(Theme, { scaling: scaling, accentColor: color, hasBackground: false, children: _jsx(TextFieldTheme.Root, __assign({ ref: forwardedRef, variant: appearance, size: sizeTheme, radius: radius, color: color, className: cn(textFieldVariants({ radius: radius }), className) }, sliderProps, { children: children })) }));\n});\nRoot.displayName = 'TextField.Root';\nexport var Slot = React.forwardRef(function (_a, forwardedRef) {\n var className = _a.className, color = _a.color, side = _a.side, radius = _a.radius, children = _a.children, sliderProps = __rest(_a, [\"className\", \"color\", \"side\", \"radius\", \"children\"]);\n return (_jsx(TextFieldTheme.Slot, __assign({ ref: forwardedRef, color: color, side: side, className: cn(textFieldVariants({ radius: radius }), className) }, sliderProps, { children: children })));\n});\nSlot.displayName = 'TextField.Slot';\nvar TextField = {\n Root: Root,\n Slot: Slot,\n};\nexport default TextField;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","textFieldVariants","cva","variants","radius","radiusVariants","color","bgColorStyle","Root","React","forwardRef","_a","forwardedRef","className","size","appearance","_b","scaling","children","sliderProps","sizeTheme","_jsx","Theme","accentColor","hasBackground","jsx","TextFieldTheme.Root","ref","variant","cn","displayName","Slot","side","TextFieldTheme.Slot","TextField"],"mappings":"qeAAA,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,EAOIiB,EAAoBC,EAAI,GAAI,CAC5BC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAqB,MAC1CC,MAAOC,OAGJC,EAAOC,EAAMC,YAAW,SAAUC,EAAIC,GAC7C,IAAIC,EAAYF,EAAGE,UAAWP,EAAQK,EAAGL,MAAOQ,EAAOH,EAAGG,KAAMC,EAAaJ,EAAGI,WAAYC,EAAKL,EAAGM,QAASA,OAAiB,IAAPD,EAAgB,OAASA,EAAIZ,EAASO,EAAGP,OAAQc,EAAWP,EAAGO,SAAUC,EAAcvB,EAAOe,EAAI,CAAC,YAAa,QAAS,OAAQ,aAAc,UAAW,SAAU,aACtRL,IACDA,EAAQ,OACZ,IAAIc,EAAY,IAKhB,MAJa,UAATN,IACAM,EAAY,KACH,UAATN,IACAM,EAAY,KACRC,EAAAA,IAAKC,EAAO,CAAEL,QAASA,EAASM,YAAajB,EAAOkB,eAAe,EAAON,SAAUG,EAAII,IAACC,EAAqB7C,EAAS,CAAE8C,IAAKf,EAAcgB,QAASb,EAAYD,KAAMM,EAAWhB,OAAQA,EAAQE,MAAOA,EAAOO,UAAWgB,EAAG5B,EAAkB,CAAEG,OAAQA,IAAWS,IAAcM,EAAa,CAAED,SAAUA,MACxT,IACAV,EAAKsB,YAAc,iBACT,IAACC,EAAOtB,EAAMC,YAAW,SAAUC,EAAIC,GAC7C,IAAIC,EAAYF,EAAGE,UAAWP,EAAQK,EAAGL,MAAO0B,EAAOrB,EAAGqB,KAAM5B,EAASO,EAAGP,OAAQc,EAAWP,EAAGO,SAAUC,EAAcvB,EAAOe,EAAI,CAAC,YAAa,QAAS,OAAQ,SAAU,aAC9K,OAAQU,MAAKY,EAAqBpD,EAAS,CAAE8C,IAAKf,EAAcN,MAAOA,EAAO0B,KAAMA,EAAMnB,UAAWgB,EAAG5B,EAAkB,CAAEG,OAAQA,IAAWS,IAAcM,EAAa,CAAED,SAAUA,IAC1L,IACAa,EAAKD,YAAc,iBAChB,IAACI,EAAY,CACZ1B,KAAMA,EACNuB,KAAMA"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export interface ToastActionButtonProps extends VariantProps<typeof toastActionButtonVariants> {
|
6
|
+
altText?: string;
|
7
|
+
appearance?: IAppearance;
|
8
|
+
}
|
9
|
+
export declare const toastActionButtonVariants: (props?: ({
|
10
|
+
radius?: "small" | "none" | "medium" | "large" | "full" | null | undefined;
|
11
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
12
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
13
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
14
|
+
export declare const ToastActionButton: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToastActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -0,0 +1,67 @@
|
|
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 ToastPrimitive from '@radix-ui/react-toast';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import Button from '../../../lib/components/Button';
|
29
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
|
+
import { useToastContext } from './ToastRoot';
|
31
|
+
export var toastActionButtonVariants = cva("absolute items-center justify-center", {
|
32
|
+
variants: {
|
33
|
+
radius: __assign({}, radiusVariants['base']),
|
34
|
+
size: {
|
35
|
+
small: 'text-xs min-w-[56px] h-[25px] font-normal right-3',
|
36
|
+
medium: 'text-xs min-w-[56px] h-[25px] font-normal right-3',
|
37
|
+
large: 'text-[15px] min-w-[76px] h-[35px] font-medium right-4',
|
38
|
+
'x-large': 'text-[15px] min-w-[76px] h-[35px] font-medium right-4',
|
39
|
+
},
|
40
|
+
scaling: __assign({}, scalingVariants),
|
41
|
+
},
|
42
|
+
defaultVariants: {
|
43
|
+
radius: 'medium',
|
44
|
+
scaling: '100%',
|
45
|
+
size: 'medium',
|
46
|
+
},
|
47
|
+
});
|
48
|
+
export var ToastActionButton = forwardRef(function (_a, ref) {
|
49
|
+
var className = _a.className, children = _a.children, radius = _a.radius, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.altText, altText = _c === void 0 ? 'altText' : _c, props = __rest(_a, ["className", "children", "radius", "appearance", "altText"]);
|
50
|
+
var _d = useToastContext(), scaling = _d.scaling, size = _d.size, _e = _d.color, color = _e === void 0 ? 'danger' : _e;
|
51
|
+
var semantics = ['danger', 'warning', 'success', 'information'];
|
52
|
+
var colorMap = {
|
53
|
+
danger: 'red',
|
54
|
+
information: 'sky',
|
55
|
+
success: 'green',
|
56
|
+
warning: 'amber',
|
57
|
+
};
|
58
|
+
var getSemanticsStyle = function (color) {
|
59
|
+
var mappedColor = colorMap[color];
|
60
|
+
return mappedColor ? appearanceStyle('outline', mappedColor) : undefined;
|
61
|
+
};
|
62
|
+
var buttonClassName = cn(toastActionButtonVariants({ size: size, radius: radius, scaling: scaling }), color && semantics.includes(color)
|
63
|
+
? getSemanticsStyle(color)
|
64
|
+
: appearanceStyle(appearance, color !== null && color !== void 0 ? color : 'red'), className);
|
65
|
+
return (_jsx(ToastPrimitive.Action, __assign({ ref: ref, altText: altText }, props, { className: buttonClassName, asChild: true, children: _jsx(Button, { children: children }) })));
|
66
|
+
});
|
67
|
+
ToastActionButton.displayName = 'Toast.ActionButton';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as t}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as r}from"react";import{Action as e}from"../../../node_modules/@radix-ui/react-toast/dist/index.mjs";import{cva as i}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{cn as n}from"../../utils/utils.mjs";import{Button as a}from"../Button/index.mjs";import{radiusVariants as o,scalingVariants as s,appearanceStyle as m}from"../../constants.mjs";import{useToastContext as l}from"./ToastRoot.mjs";var c=function(){return c=Object.assign||function(t){for(var r,e=1,i=arguments.length;e<i;e++)for(var n in r=arguments[e])Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t},c.apply(this,arguments)},u=function(t,r){var e={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&r.indexOf(i)<0&&(e[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)r.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(e[i[n]]=t[i[n]])}return e},d=i("absolute items-center justify-center",{variants:{radius:c({},o.base),size:{small:"text-xs min-w-[56px] h-[25px] font-normal right-3",medium:"text-xs min-w-[56px] h-[25px] font-normal right-3",large:"text-[15px] min-w-[76px] h-[35px] font-medium right-4","x-large":"text-[15px] min-w-[76px] h-[35px] font-medium right-4"},scaling:c({},s)},defaultVariants:{radius:"medium",scaling:"100%",size:"medium"}}),p=r((function(r,i){var o=r.className,s=r.children,p=r.radius,f=r.appearance,x=void 0===f?"surface":f,g=r.altText,h=void 0===g?"altText":g,j=u(r,["className","children","radius","appearance","altText"]),y=l(),v=y.scaling,b=y.size,O=y.color,w=void 0===O?"danger":O,T={danger:"red",information:"sky",success:"green",warning:"amber"},z=n(d({size:b,radius:p,scaling:v}),w&&["danger","warning","success","information"].includes(w)?function(t){var r=T[t];return r?m("outline",r):void 0}(w):m(x,null!=w?w:"red"),o);return t.jsx(e,c({ref:i,altText:h},j,{className:z,asChild:!0,children:t.jsx(a,{children:s})}))}));p.displayName="Toast.ActionButton";export{p as ToastActionButton,d as toastActionButtonVariants};
|
2
|
+
//# sourceMappingURL=ToastActionButton.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ToastActionButton.mjs","sources":["../../../../lib/components/Toast/ToastActionButton.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 ToastPrimitive from '@radix-ui/react-toast';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport Button from '../../../lib/components/Button';\nimport { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';\nimport { useToastContext } from './ToastRoot';\nexport var toastActionButtonVariants = cva(\"absolute items-center justify-center\", {\n variants: {\n radius: __assign({}, radiusVariants['base']),\n size: {\n small: 'text-xs min-w-[56px] h-[25px] font-normal right-3',\n medium: 'text-xs min-w-[56px] h-[25px] font-normal right-3',\n large: 'text-[15px] min-w-[76px] h-[35px] font-medium right-4',\n 'x-large': 'text-[15px] min-w-[76px] h-[35px] font-medium right-4',\n },\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n radius: 'medium',\n scaling: '100%',\n size: 'medium',\n },\n});\nexport var ToastActionButton = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, radius = _a.radius, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.altText, altText = _c === void 0 ? 'altText' : _c, props = __rest(_a, [\"className\", \"children\", \"radius\", \"appearance\", \"altText\"]);\n var _d = useToastContext(), scaling = _d.scaling, size = _d.size, _e = _d.color, color = _e === void 0 ? 'danger' : _e;\n var semantics = ['danger', 'warning', 'success', 'information'];\n var colorMap = {\n danger: 'red',\n information: 'sky',\n success: 'green',\n warning: 'amber',\n };\n var getSemanticsStyle = function (color) {\n var mappedColor = colorMap[color];\n return mappedColor ? appearanceStyle('outline', mappedColor) : undefined;\n };\n var buttonClassName = cn(toastActionButtonVariants({ size: size, radius: radius, scaling: scaling }), color && semantics.includes(color)\n ? getSemanticsStyle(color)\n : appearanceStyle(appearance, color !== null && color !== void 0 ? color : 'red'), className);\n return (_jsx(ToastPrimitive.Action, __assign({ ref: ref, altText: altText }, props, { className: buttonClassName, asChild: true, children: _jsx(Button, { children: children }) })));\n});\nToastActionButton.displayName = 'Toast.ActionButton';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","toastActionButtonVariants","cva","variants","radius","radiusVariants","size","small","medium","large","scaling","scalingVariants","defaultVariants","ToastActionButton","forwardRef","_a","ref","className","children","_b","appearance","_c","altText","props","_d","useToastContext","_e","color","colorMap","danger","information","success","warning","buttonClassName","cn","includes","mappedColor","appearanceStyle","undefined","getSemanticsStyle","_jsx","jsx","ToastPrimitive.Action","asChild","Button","displayName"],"mappings":"mfAAA,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,EAA4BC,EAAI,uCAAwC,CAC/EC,SAAU,CACNC,OAAQvB,EAAS,CAAA,EAAIwB,EAAqB,MAC1CC,KAAM,CACFC,MAAO,oDACPC,OAAQ,oDACRC,MAAO,wDACP,UAAW,yDAEfC,QAAS7B,EAAS,CAAE,EAAE8B,IAE1BC,gBAAiB,CACbR,OAAQ,SACRM,QAAS,OACTJ,KAAM,YAGHO,EAAoBC,GAAW,SAAUC,EAAIC,GACpD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUd,EAASW,EAAGX,OAAQe,EAAKJ,EAAGK,WAAYA,OAAoB,IAAPD,EAAgB,UAAYA,EAAIE,EAAKN,EAAGO,QAASA,OAAiB,IAAPD,EAAgB,UAAYA,EAAIE,EAAQ3B,EAAOmB,EAAI,CAAC,YAAa,WAAY,SAAU,aAAc,YACvQS,EAAKC,IAAmBf,EAAUc,EAAGd,QAASJ,EAAOkB,EAAGlB,KAAMoB,EAAKF,EAAGG,MAAOA,OAAe,IAAPD,EAAgB,SAAWA,EAEhHE,EAAW,CACXC,OAAQ,MACRC,YAAa,MACbC,QAAS,QACTC,QAAS,SAMTC,EAAkBC,EAAGjC,EAA0B,CAAEK,KAAMA,EAAMF,OAAQA,EAAQM,QAASA,IAAYiB,GAXtF,CAAC,SAAU,UAAW,UAAW,eAWwEQ,SAASR,GAJ1G,SAAUA,GAC9B,IAAIS,EAAcR,EAASD,GAC3B,OAAOS,EAAcC,EAAgB,UAAWD,QAAeE,CACvE,CAEUC,CAAkBZ,GAClBU,EAAgBjB,EAAYO,QAAqCA,EAAQ,OAAQV,GACvF,OAAQuB,EAAIC,IAACC,EAAuB7D,EAAS,CAAEmC,IAAKA,EAAKM,QAASA,GAAWC,EAAO,CAAEN,UAAWgB,EAAiBU,SAAS,EAAMzB,SAAUsB,MAAKI,EAAQ,CAAE1B,SAAUA,MACxK,IACAL,EAAkBgC,YAAc"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export interface ToastDescriptionProps extends VariantProps<typeof toastDescriptionVariants> {
|
6
|
+
contentText?: string;
|
7
|
+
appearance?: IAppearance;
|
8
|
+
}
|
9
|
+
export declare const toastDescriptionVariants: (props?: ({
|
10
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
12
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
|
+
export declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & ToastDescriptionProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,53 @@
|
|
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 ToastPrimitive from '@radix-ui/react-toast';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { useToastContext } from './ToastRoot';
|
29
|
+
export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark:text-slateDark-11', {
|
30
|
+
variants: {
|
31
|
+
size: {
|
32
|
+
small: 'text-xs font-normal w-[220px]',
|
33
|
+
medium: 'text-xs font-normal w-[312px]',
|
34
|
+
large: 'text-base font-medium w-[284px]',
|
35
|
+
'x-large': 'text-base font-medium w-[284px]',
|
36
|
+
},
|
37
|
+
color: {
|
38
|
+
danger: 'text-red-11',
|
39
|
+
warning: 'text-amber-11',
|
40
|
+
success: 'text-green-11',
|
41
|
+
information: 'text-sky-11',
|
42
|
+
},
|
43
|
+
},
|
44
|
+
defaultVariants: {
|
45
|
+
size: 'medium',
|
46
|
+
},
|
47
|
+
});
|
48
|
+
export var ToastDescription = forwardRef(function (_a, ref) {
|
49
|
+
var className = _a.className, children = _a.children, contentText = _a.contentText, props = __rest(_a, ["className", "children", "contentText"]);
|
50
|
+
var _b = useToastContext(), size = _b.size, color = _b.color;
|
51
|
+
return (_jsx(ToastPrimitive.Description, __assign({ ref: ref }, props, { children: _jsx("p", { className: cn(toastDescriptionVariants({ size: size, color: color }), className), children: contentText !== null && contentText !== void 0 ? contentText : children }) })));
|
52
|
+
});
|
53
|
+
ToastDescription.displayName = 'Toast.Description';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as t}from"../../../_virtual/jsx-runtime.mjs";import{forwardRef as e}from"react";import{Description as r}from"../../../node_modules/@radix-ui/react-toast/dist/index.mjs";import{cva as o}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{cn as n}from"../../utils/utils.mjs";import{useToastContext as a}from"./ToastRoot.mjs";var s=function(){return s=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)},i=function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(r[o[n]]=t[o[n]])}return r},l=o("flex m-0 text-wrap text-slate-11 dark:text-slateDark-11",{variants:{size:{small:"text-xs font-normal w-[220px]",medium:"text-xs font-normal w-[312px]",large:"text-base font-medium w-[284px]","x-large":"text-base font-medium w-[284px]"},color:{danger:"text-red-11",warning:"text-amber-11",success:"text-green-11",information:"text-sky-11"}},defaultVariants:{size:"medium"}}),m=e((function(e,o){var m=e.className,c=e.children,p=e.contentText,x=i(e,["className","children","contentText"]),f=a(),u=f.size,d=f.color;return t.jsx(r,s({ref:o},x,{children:t.jsx("p",{className:n(l({size:u,color:d}),m),children:null!=p?p:c})}))}));m.displayName="Toast.Description";export{m as ToastDescription,l as toastDescriptionVariants};
|
2
|
+
//# sourceMappingURL=ToastDescription.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ToastDescription.mjs","sources":["../../../../lib/components/Toast/ToastDescription.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 ToastPrimitive from '@radix-ui/react-toast';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { useToastContext } from './ToastRoot';\nexport var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark:text-slateDark-11', {\n variants: {\n size: {\n small: 'text-xs font-normal w-[220px]',\n medium: 'text-xs font-normal w-[312px]',\n large: 'text-base font-medium w-[284px]',\n 'x-large': 'text-base font-medium w-[284px]',\n },\n color: {\n danger: 'text-red-11',\n warning: 'text-amber-11',\n success: 'text-green-11',\n information: 'text-sky-11',\n },\n },\n defaultVariants: {\n size: 'medium',\n },\n});\nexport var ToastDescription = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, contentText = _a.contentText, props = __rest(_a, [\"className\", \"children\", \"contentText\"]);\n var _b = useToastContext(), size = _b.size, color = _b.color;\n return (_jsx(ToastPrimitive.Description, __assign({ ref: ref }, props, { children: _jsx(\"p\", { className: cn(toastDescriptionVariants({ size: size, color: color }), className), children: contentText !== null && contentText !== void 0 ? contentText : children }) })));\n});\nToastDescription.displayName = 'Toast.Description';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","toastDescriptionVariants","cva","variants","size","small","medium","large","color","danger","warning","success","information","defaultVariants","ToastDescription","forwardRef","_a","ref","className","children","contentText","props","_b","useToastContext","_jsx","ToastPrimitive.Description","jsx","cn","displayName"],"mappings":"4WAAA,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,EAOWiB,EAA2BC,EAAI,0DAA2D,CACjGC,SAAU,CACNC,KAAM,CACFC,MAAO,gCACPC,OAAQ,gCACRC,MAAO,kCACP,UAAW,mCAEfC,MAAO,CACHC,OAAQ,cACRC,QAAS,gBACTC,QAAS,gBACTC,YAAa,gBAGrBC,gBAAiB,CACbT,KAAM,YAGHU,EAAmBC,GAAW,SAAUC,EAAIC,GACnD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAcJ,EAAGI,YAAaC,EAAQzB,EAAOoB,EAAI,CAAC,YAAa,WAAY,gBAC7HM,EAAKC,IAAmBnB,EAAOkB,EAAGlB,KAAMI,EAAQc,EAAGd,MACvD,OAAQgB,EAAAA,IAAKC,EAA4B5C,EAAS,CAAEoC,IAAKA,GAAOI,EAAO,CAAEF,SAAUK,EAAIE,IAAC,IAAK,CAAER,UAAWS,EAAG1B,EAAyB,CAAEG,KAAMA,EAAMI,MAAOA,IAAUU,GAAYC,SAAUC,QAAiDA,EAAcD,MAC9P,IACAL,EAAiBc,YAAc"}
|
@@ -0,0 +1,90 @@
|
|
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, createContext, useContext, useMemo, } from 'react';
|
25
|
+
import { cva } from 'class-variance-authority';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
import { scalingVariants } from '../../../lib/constants';
|
28
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
29
|
+
export var toastVariants = cva('flex bg-white dark:bg-slateDark-1', {
|
30
|
+
variants: {
|
31
|
+
radius: {
|
32
|
+
none: 'rounded-none',
|
33
|
+
small: 'rounded-[3px]',
|
34
|
+
medium: 'rounded',
|
35
|
+
large: 'rounded-md',
|
36
|
+
full: 'rounded-md',
|
37
|
+
},
|
38
|
+
size: {
|
39
|
+
small: 'w-[300px] min-h-[55px] p-3',
|
40
|
+
medium: 'w-[400px] min-h-[63px] p-3',
|
41
|
+
large: 'w-[400px] min-h-[84px] p-4',
|
42
|
+
'x-large': 'w-[400px] min-h-[88px] p-4',
|
43
|
+
},
|
44
|
+
scaling: __assign({}, scalingVariants),
|
45
|
+
color: {
|
46
|
+
danger: 'bg-red-3 dark:bg-redDark-3',
|
47
|
+
warning: 'bg-amber-3 dark:bg-amberDark-3',
|
48
|
+
success: 'bg-green-3 dark:bg-greenDark-3',
|
49
|
+
information: 'bg-sky-3 dark:bg-skyDark-3',
|
50
|
+
},
|
51
|
+
},
|
52
|
+
defaultVariants: {
|
53
|
+
radius: 'medium',
|
54
|
+
scaling: '100%',
|
55
|
+
size: 'medium',
|
56
|
+
},
|
57
|
+
});
|
58
|
+
export var toastViewportVariants = cva("[--viewport-padding:_25px] fixed flex flex-col outline-none gap-[10px]\n p-[var(--viewport-padding)] m-0 list-none z-[987654321]", {
|
59
|
+
variants: {
|
60
|
+
toastPosition: {
|
61
|
+
top_center: 'top-0 left-1/2 transform -translate-x-1/2',
|
62
|
+
top_left: 'top-0 left-0',
|
63
|
+
top_right: 'top-0 right-0',
|
64
|
+
bottom_center: 'bottom-0 left-1/2 transform -translate-x-1/2',
|
65
|
+
bottom_left: 'bottom-0 left-0',
|
66
|
+
bottom_right: 'bottom-0 right-0',
|
67
|
+
},
|
68
|
+
},
|
69
|
+
defaultVariants: {
|
70
|
+
toastPosition: 'top_right',
|
71
|
+
},
|
72
|
+
});
|
73
|
+
var ToastContext = createContext({
|
74
|
+
radius: 'medium',
|
75
|
+
scaling: '100%',
|
76
|
+
size: 'medium',
|
77
|
+
color: null,
|
78
|
+
});
|
79
|
+
export var useToastContext = function () {
|
80
|
+
return useContext(ToastContext);
|
81
|
+
};
|
82
|
+
export var ToastRoot = forwardRef(function (_a, ref) {
|
83
|
+
var className = _a.className, children = _a.children, openToast = _a.openToast, radius = _a.radius, scaling = _a.scaling, size = _a.size, color = _a.color, _b = _a.duration, duration = _b === void 0 ? 3000 : _b, _c = _a.toastPosition, toastPosition = _c === void 0 ? 'top_right' : _c, setOpenToast = _a.setOpenToast, props = __rest(_a, ["className", "children", "openToast", "radius", "scaling", "size", "color", "duration", "toastPosition", "setOpenToast"]);
|
84
|
+
var contextValue = useMemo(function () { return ({ radius: radius, size: size, scaling: scaling, color: color }); }, [radius, size, scaling, color]);
|
85
|
+
var toastRootStyle = "\n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] \n flex flex-col px-[15px] relative justify-center\n data-[state=open]:animate-slideIn \n data-[state=closed]:animate-hide \n data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] \n data-[swipe=cancel]:translate-x-0 \n data-[swipe=cancel]:transition-[transform_200ms_ease-out] \n data-[swipe=end]:animate-swipeOut\n ";
|
86
|
+
var toastClassName = cn(toastVariants({ radius: radius, scaling: scaling, size: size, color: color }), toastRootStyle, className);
|
87
|
+
return (_jsx(ToastContext.Provider, { value: contextValue, children: _jsxs(ToastPrimitive.Provider, { swipeDirection: "right", duration: duration, children: [_jsx(ToastPrimitive.Root, __assign({ ref: ref, className: toastClassName, open: openToast, onOpenChange: setOpenToast }, props, { children: children })), _jsx(ToastPrimitive.Viewport, { className: cn(toastViewportVariants({ toastPosition: toastPosition })) })] }) }));
|
88
|
+
});
|
89
|
+
ToastRoot.displayName = 'Toast.Root';
|
90
|
+
export default ToastRoot;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{j as t}from"../../../_virtual/jsx-runtime.mjs";import{createContext as e,forwardRef as a,useMemo as r,useContext as o}from"react";import{cva as n}from"../../../node_modules/class-variance-authority/dist/index.mjs";import{cn as i}from"../../utils/utils.mjs";import{scalingVariants as s}from"../../constants.mjs";import{Provider as l,Root as d,Viewport as p}from"../../../node_modules/@radix-ui/react-toast/dist/index.mjs";var m=function(){return m=Object.assign||function(t){for(var e,a=1,r=arguments.length;a<r;a++)for(var o in e=arguments[a])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},m.apply(this,arguments)},c=function(t,e){var a={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(a[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(a[r[o]]=t[r[o]])}return a},u=n("flex bg-white dark:bg-slateDark-1",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded-md",full:"rounded-md"},size:{small:"w-[300px] min-h-[55px] p-3",medium:"w-[400px] min-h-[63px] p-3",large:"w-[400px] min-h-[84px] p-4","x-large":"w-[400px] min-h-[88px] p-4"},scaling:m({},s),color:{danger:"bg-red-3 dark:bg-redDark-3",warning:"bg-amber-3 dark:bg-amberDark-3",success:"bg-green-3 dark:bg-greenDark-3",information:"bg-sky-3 dark:bg-skyDark-3"}},defaultVariants:{radius:"medium",scaling:"100%",size:"medium"}}),x=n("[--viewport-padding:_25px] fixed flex flex-col outline-none gap-[10px]\n p-[var(--viewport-padding)] m-0 list-none z-[987654321]",{variants:{toastPosition:{top_center:"top-0 left-1/2 transform -translate-x-1/2",top_left:"top-0 left-0",top_right:"top-0 right-0",bottom_center:"bottom-0 left-1/2 transform -translate-x-1/2",bottom_left:"bottom-0 left-0",bottom_right:"bottom-0 right-0"}},defaultVariants:{toastPosition:"top_right"}}),f=e({radius:"medium",scaling:"100%",size:"medium",color:null}),g=function(){return o(f)},_=a((function(e,a){var o=e.className,n=e.children,s=e.openToast,g=e.radius,_=e.scaling,h=e.size,b=e.color,v=e.duration,w=void 0===v?3e3:v,j=e.toastPosition,y=void 0===j?"top_right":j,O=e.setOpenToast,k=c(e,["className","children","openToast","radius","scaling","size","color","duration","toastPosition","setOpenToast"]),P=r((function(){return{radius:g,size:h,scaling:_,color:b}}),[g,h,_,b]),z=i(u({radius:g,scaling:_,size:h,color:b}),"\n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] \n flex flex-col px-[15px] relative justify-center\n data-[state=open]:animate-slideIn \n data-[state=closed]:animate-hide \n data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] \n data-[swipe=cancel]:translate-x-0 \n data-[swipe=cancel]:transition-[transform_200ms_ease-out] \n data-[swipe=end]:animate-swipeOut\n ",o);return t.jsx(f.Provider,{value:P,children:t.jsxs(l,{swipeDirection:"right",duration:w,children:[t.jsx(d,m({ref:a,className:z,open:s,onOpenChange:O},k,{children:n})),t.jsx(p,{className:i(x({toastPosition:y}))})]})})}));_.displayName="Toast.Root";export{_ as ToastRoot,_ as default,u as toastVariants,x as toastViewportVariants,g as useToastContext};
|
2
|
+
//# sourceMappingURL=ToastRoot.mjs.map
|