@lotte-innovate/ui-component-test 0.2.25 → 0.2.27
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +172 -15
- package/dist/globals.css +4 -0
- package/dist/lib/Typography/Header/index.d.ts +15 -0
- package/dist/lib/Typography/Header/index.js +56 -0
- package/dist/lib/Typography/Text/index.d.ts +15 -0
- package/dist/lib/Typography/Text/index.js +45 -0
- package/dist/lib/Typography/index.d.ts +2 -0
- package/dist/lib/Typography/index.js +2 -0
- package/dist/lib/_virtual/_commonjsHelpers.mjs +2 -0
- package/dist/lib/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/dist/lib/_virtual/index.mjs +2 -0
- package/dist/lib/_virtual/index2.mjs +2 -0
- package/dist/lib/_virtual/index2.mjs.map +1 -0
- package/dist/lib/_virtual/index3.mjs +2 -0
- package/dist/lib/_virtual/index3.mjs.map +1 -0
- package/dist/lib/_virtual/react-is.development.mjs +2 -0
- package/dist/lib/_virtual/react-is.development.mjs.map +1 -0
- package/dist/lib/_virtual/react-is.production.min.mjs +2 -0
- package/dist/lib/_virtual/react-is.production.min.mjs.map +1 -0
- package/dist/lib/color/alpha.d.ts +784 -0
- package/dist/lib/color/alpha.js +784 -0
- package/dist/lib/color/constants.d.ts +15 -0
- package/dist/lib/color/constants.js +265 -0
- package/dist/lib/color/dark.d.ts +392 -0
- package/dist/lib/color/dark.js +392 -0
- package/dist/lib/color/krdsColors.d.ts +309 -0
- package/dist/lib/color/krdsColors.js +309 -0
- package/dist/lib/color/light.d.ts +392 -0
- package/dist/lib/color/light.js +393 -0
- package/dist/lib/components/Accordion/index.d.ts +22 -0
- package/dist/lib/components/Accordion/index.js +81 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +63 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +61 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +52 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +48 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +50 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +48 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +67 -0
- package/dist/lib/components/AlertDialog/index.d.ts +11 -0
- package/dist/lib/components/AlertDialog/index.js +17 -0
- package/dist/lib/components/AspectRatio/index.d.ts +10 -0
- package/dist/lib/components/AspectRatio/index.js +45 -0
- package/dist/lib/components/Avatar/index.d.ts +21 -0
- package/dist/lib/components/Avatar/index.js +67 -0
- package/dist/lib/components/Badge/index.d.ts +18 -0
- package/dist/lib/components/Badge/index.js +65 -0
- package/dist/lib/components/BarChart/index.d.ts +33 -0
- package/dist/lib/components/BarChart/index.js +63 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
- package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
- package/dist/lib/components/Breadcrumb/index.js +17 -0
- package/dist/lib/components/BubbleChart/index.d.ts +28 -0
- package/dist/lib/components/BubbleChart/index.js +82 -0
- package/dist/lib/components/Button/index.d.ts +16 -0
- package/dist/lib/components/Button/index.js +67 -0
- package/dist/lib/components/Calendar/index.d.ts +8 -0
- package/dist/lib/components/Calendar/index.js +45 -0
- package/dist/lib/components/Callout/CalloutIcon.d.ts +13 -0
- package/dist/lib/components/Callout/CalloutIcon.js +58 -0
- package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/lib/components/Callout/CalloutRoot.js +80 -0
- package/dist/lib/components/Callout/CalloutText.d.ts +10 -0
- package/dist/lib/components/Callout/CalloutText.js +53 -0
- package/dist/lib/components/Callout/index.d.ts +7 -0
- package/dist/lib/components/Callout/index.js +9 -0
- package/dist/lib/components/Card/index.d.ts +14 -0
- package/dist/lib/components/Card/index.js +72 -0
- package/dist/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/lib/components/Checkbox/index.js +98 -0
- package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/lib/components/CheckboxCard/index.js +66 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +34 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +21 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +59 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/lib/components/CheckboxGroup/index.js +4 -0
- package/dist/lib/components/Collapsible/index.d.ts +21 -0
- package/dist/lib/components/Collapsible/index.js +75 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +43 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +57 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +61 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +51 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +49 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +32 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +45 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +52 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +55 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +42 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
- package/dist/lib/components/ContextMenu/index.d.ts +17 -0
- package/dist/lib/components/ContextMenu/index.js +29 -0
- package/dist/lib/components/DataList/DataListItem.d.ts +9 -0
- package/dist/lib/components/DataList/DataListItem.js +44 -0
- package/dist/lib/components/DataList/DataListLabel.d.ts +10 -0
- package/dist/lib/components/DataList/DataListLabel.js +50 -0
- package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/lib/components/DataList/DataListRoot.js +61 -0
- package/dist/lib/components/DataList/DataListValue.d.ts +11 -0
- package/dist/lib/components/DataList/DataListValue.js +52 -0
- package/dist/lib/components/DataList/index.d.ts +8 -0
- package/dist/lib/components/DataList/index.js +6 -0
- package/dist/lib/components/Datepicker/index.d.ts +14 -0
- package/dist/lib/components/Datepicker/index.js +35 -0
- package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogAction.js +61 -0
- package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
- package/dist/lib/components/Dialog/DialogCancel.js +56 -0
- package/dist/lib/components/Dialog/DialogContent.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogContent.js +58 -0
- package/dist/lib/components/Dialog/DialogDescription.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogDescription.js +48 -0
- package/dist/lib/components/Dialog/DialogRoot.d.ts +12 -0
- package/dist/lib/components/Dialog/DialogRoot.js +46 -0
- package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
- package/dist/lib/components/Dialog/DialogSlot.js +47 -0
- package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogTitle.js +48 -0
- package/dist/lib/components/Dialog/DialogTrigger.d.ts +3 -0
- package/dist/lib/components/Dialog/DialogTrigger.js +30 -0
- package/dist/lib/components/Dialog/index.d.ts +15 -0
- package/dist/lib/components/Dialog/index.js +19 -0
- package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
- package/dist/lib/components/DoughnutChart/index.js +65 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +61 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +57 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +60 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +49 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +46 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +48 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +54 -0
- package/dist/lib/components/DropdownMenu/index.d.ts +20 -0
- package/dist/lib/components/DropdownMenu/index.js +29 -0
- package/dist/lib/components/Editor/index.d.ts +1 -1
- package/dist/lib/components/Editor/index.js +1 -2
- package/dist/lib/components/Footer/index.d.ts +11 -0
- package/dist/lib/components/Footer/index.js +57 -0
- package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
- package/dist/lib/components/Gnb/GnbInfo.js +46 -0
- package/dist/lib/components/Gnb/GnbLogo.d.ts +10 -0
- package/dist/lib/components/Gnb/GnbLogo.js +46 -0
- package/dist/lib/components/Gnb/GnbMenu.d.ts +9 -0
- package/dist/lib/components/Gnb/GnbMenu.js +46 -0
- package/dist/lib/components/Gnb/GnbMenuItem.d.ts +11 -0
- package/dist/lib/components/Gnb/GnbMenuItem.js +46 -0
- package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
- package/dist/lib/components/Gnb/GnbRoot.js +53 -0
- package/dist/lib/components/Gnb/index.d.ts +9 -0
- package/dist/lib/components/Gnb/index.js +13 -0
- package/dist/lib/components/Grid/Pagination.d.ts +2 -0
- package/dist/lib/components/Grid/Pagination.js +18 -0
- package/dist/lib/components/Grid/index.d.ts +7 -0
- package/dist/lib/components/Grid/index.js +59 -0
- package/dist/lib/components/Grid/useGrid.d.ts +3 -0
- package/dist/lib/components/Grid/useGrid.js +81 -0
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
- package/dist/lib/components/HoverCard/HoverCardContent.js +62 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.js +48 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.js +30 -0
- package/dist/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/lib/components/HoverCard/index.js +9 -0
- package/dist/lib/components/IconButton/index.d.ts +15 -0
- package/dist/lib/components/IconButton/index.js +73 -0
- package/dist/lib/components/Inset/index.d.ts +10 -0
- package/dist/lib/components/Inset/index.js +57 -0
- package/dist/lib/components/Label/index.d.ts +20 -0
- package/dist/lib/components/Label/index.js +64 -0
- package/dist/lib/components/LineChart/index.d.ts +43 -0
- package/dist/lib/components/LineChart/index.js +61 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +40 -0
- package/dist/lib/components/Menubar/MenubarContent.d.ts +11 -0
- package/dist/lib/components/Menubar/MenubarContent.js +61 -0
- package/dist/lib/components/Menubar/MenubarItem.d.ts +13 -0
- package/dist/lib/components/Menubar/MenubarItem.js +56 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +50 -0
- package/dist/lib/components/Menubar/MenubarMenu.d.ts +5 -0
- package/dist/lib/components/Menubar/MenubarMenu.js +30 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.js +32 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.js +42 -0
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/lib/components/Menubar/MenubarRoot.js +73 -0
- package/dist/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
- package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
- package/dist/lib/components/Menubar/MenubarSub.d.ts +3 -0
- package/dist/lib/components/Menubar/MenubarSub.js +30 -0
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
- package/dist/lib/components/Menubar/MenubarSubContent.js +52 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +43 -0
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
- package/dist/lib/components/Menubar/MenubarTrigger.js +58 -0
- package/dist/lib/components/Menubar/index.d.ts +19 -0
- package/dist/lib/components/Menubar/index.js +29 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +49 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +49 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +60 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +54 -0
- package/dist/lib/components/NavigationMenu/index.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/index.js +10 -0
- package/dist/lib/components/PieChart/index.d.ts +22 -0
- package/dist/lib/components/PieChart/index.js +65 -0
- package/dist/lib/components/Popover/PopoverClose.d.ts +9 -0
- package/dist/lib/components/Popover/PopoverClose.js +49 -0
- package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
- package/dist/lib/components/Popover/PopoverContent.js +66 -0
- package/dist/lib/components/Popover/PopoverRoot.d.ts +11 -0
- package/dist/lib/components/Popover/PopoverRoot.js +43 -0
- package/dist/lib/components/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/lib/components/Popover/PopoverTrigger.js +30 -0
- package/dist/lib/components/Popover/index.d.ts +11 -0
- package/dist/lib/components/Popover/index.js +11 -0
- package/dist/lib/components/Progress/index.d.ts +13 -0
- package/dist/lib/components/Progress/index.js +67 -0
- package/dist/lib/components/RadarChart/index.d.ts +32 -0
- package/dist/lib/components/RadarChart/index.js +85 -0
- package/dist/lib/components/Radio/index.d.ts +13 -0
- package/dist/lib/components/Radio/index.js +60 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.js +55 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +56 -0
- package/dist/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/lib/components/RadioCards/index.js +7 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +47 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +62 -0
- package/dist/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/lib/components/RadioGroup/index.js +7 -0
- package/dist/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/lib/components/ScrollArea/index.js +39 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +55 -0
- package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/index.js +7 -0
- package/dist/lib/components/Select/index.d.ts +36 -0
- package/dist/lib/components/Select/index.js +112 -0
- package/dist/lib/components/Separator/index.d.ts +11 -0
- package/dist/lib/components/Separator/index.js +55 -0
- package/dist/lib/components/SideBar/index.d.ts +21 -0
- package/dist/lib/components/SideBar/index.js +71 -0
- package/dist/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/lib/components/Skeleton/index.js +46 -0
- package/dist/lib/components/Slider/index.d.ts +15 -0
- package/dist/lib/components/Slider/index.js +56 -0
- package/dist/lib/components/Spinner/index.d.ts +15 -0
- package/dist/lib/components/Spinner/index.js +50 -0
- package/dist/lib/components/TabNav/index.d.ts +15 -0
- package/dist/lib/components/TabNav/index.js +53 -0
- package/dist/lib/components/Table/index.d.ts +30 -0
- package/dist/lib/components/Table/index.js +104 -0
- package/dist/lib/components/Tabs/DynamicTabs.d.ts +30 -0
- package/dist/lib/components/Tabs/DynamicTabs.js +72 -0
- package/dist/lib/components/Tabs/index.d.ts +23 -0
- package/dist/lib/components/Tabs/index.js +68 -0
- package/dist/lib/components/TextArea/index.d.ts +16 -0
- package/dist/lib/components/TextArea/index.js +66 -0
- package/dist/lib/components/TextField/index.d.ts +21 -0
- package/dist/lib/components/TextField/index.js +64 -0
- package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineConnector.js +34 -0
- package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineContent.js +34 -0
- package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
- package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
- package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineIcon.js +43 -0
- package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineItem.js +34 -0
- package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
- package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
- package/dist/lib/components/Timeline/TimelineTime.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineTime.js +46 -0
- package/dist/lib/components/Timeline/TimelineTitle.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineTitle.js +46 -0
- package/dist/lib/components/Timeline/index.d.ts +13 -0
- package/dist/lib/components/Timeline/index.js +21 -0
- package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/lib/components/Toast/ToastActionButton.js +72 -0
- package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/lib/components/Toast/ToastDescription.js +54 -0
- package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/lib/components/Toast/ToastRoot.js +98 -0
- package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/lib/components/Toast/ToastTitle.js +54 -0
- package/dist/lib/components/Toast/index.d.ts +8 -0
- package/dist/lib/components/Toast/index.js +11 -0
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/lib/components/Toggle/ToggleWithText.js +69 -0
- package/dist/lib/components/Toggle/index.d.ts +21 -0
- package/dist/lib/components/Toggle/index.js +69 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +55 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +58 -0
- package/dist/lib/components/ToggleGroup/index.d.ts +6 -0
- package/dist/lib/components/ToggleGroup/index.js +7 -0
- package/dist/lib/components/ToggleSwitch/index.d.ts +13 -0
- package/dist/lib/components/ToggleSwitch/index.js +82 -0
- package/dist/lib/components/Tooltip/index.d.ts +19 -0
- package/dist/lib/components/Tooltip/index.js +54 -0
- package/dist/lib/components/index.d.ts +61 -1
- package/dist/lib/components/index.js +64 -1
- package/dist/lib/constants.d.ts +647 -0
- package/dist/lib/constants.js +895 -0
- package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
- package/dist/lib/dist/lib/color/alpha.mjs +2 -0
- package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
- package/dist/lib/dist/lib/color/constants.mjs +2 -0
- package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/color/light.mjs +2 -0
- package/dist/lib/dist/lib/color/light.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs +2 -0
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AspectRatio/index.mjs +3 -0
- package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BarChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Calendar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Calendar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutText.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Card/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Checkbox/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxCard/index.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Collapsible/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Collapsible/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListValue.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Datepicker/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Datepicker/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
- package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/Pagination.mjs +2 -0
- package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Grid/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/useGrid.mjs +3 -0
- package/dist/lib/dist/lib/components/Grid/useGrid.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs +3 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/index.mjs +2 -0
- package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Inset/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/LineChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/PieChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadarChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ScrollArea/index.mjs +3 -0
- package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs +2 -0
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SideBar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/SideBar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Skeleton/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Spinner/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs +2 -0
- package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tooltip/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
- package/dist/lib/dist/lib/constants.mjs +2 -0
- package/dist/lib/dist/lib/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/index.mjs +2 -0
- package/dist/lib/dist/lib/index.mjs.map +1 -0
- package/dist/lib/dist/lib/theme/ThemeProvider.mjs +3 -0
- package/dist/lib/dist/lib/theme/ThemeProvider.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/useDarkMode.mjs +3 -0
- package/dist/lib/dist/lib/utils/useDarkMode.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/useWindowSize.mjs +2 -0
- package/dist/lib/dist/lib/utils/useWindowSize.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +2 -0
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs +2 -0
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +1 -0
- package/dist/lib/node_modules/object-assign/index.mjs +7 -0
- package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
- package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
- package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
- package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/index.mjs +2 -0
- package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
- package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
- package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
- package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs +21 -0
- package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs.map +1 -0
- package/dist/lib/theme/ThemeProvider.d.ts +16 -0
- package/dist/lib/theme/ThemeProvider.js +29 -0
- package/dist/lib/theme/index.d.ts +2 -0
- package/dist/lib/theme/index.js +2 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/types.d.ts +85 -0
- package/dist/lib/utils/classPrefixes.d.ts +3 -0
- package/dist/lib/utils/classPrefixes.js +29 -0
- package/dist/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/lib/utils/useDarkMode.js +50 -0
- package/dist/lib/utils/useWindowSize.d.ts +1 -0
- package/dist/lib/utils/useWindowSize.js +17 -0
- package/dist/tailwind.config.js +98 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +57 -10
- package/dist/lib/components/Editor/index.mjs +0 -3
- package/dist/lib/constants.mjs +0 -2
- package/dist/lib/constants.mjs.map +0 -1
- package/dist/lib/index.mjs +0 -2
- package/dist/lib/utils/utils.mjs.map +0 -1
- package/dist/post-tinymce.js +0 -29
- package/public/tinymce/CHANGELOG.md +0 -3453
- package/public/tinymce/README.md +0 -73
- package/public/tinymce/bower.json +0 -27
- package/public/tinymce/composer.json +0 -52
- package/public/tinymce/icons/default/icons.js +0 -194
- package/public/tinymce/icons/default/icons.min.js +0 -1
- package/public/tinymce/icons/default/icons.mjs +0 -2
- package/public/tinymce/icons/default/icons.mjs.map +0 -1
- package/public/tinymce/icons/default/index.d.ts +0 -1
- package/public/tinymce/icons/default/index.js +0 -7
- package/public/tinymce/icons/default/index.mjs +0 -2
- package/public/tinymce/icons/default/index.mjs.map +0 -1
- package/public/tinymce/license.txt +0 -21
- package/public/tinymce/models/dom/index.d.ts +0 -1
- package/public/tinymce/models/dom/index.js +0 -7
- package/public/tinymce/models/dom/index.mjs +0 -2
- package/public/tinymce/models/dom/index.mjs.map +0 -1
- package/public/tinymce/models/dom/model.js +0 -8040
- package/public/tinymce/models/dom/model.min.js +0 -4
- package/public/tinymce/models/dom/model.mjs +0 -2
- package/public/tinymce/models/dom/model.mjs.map +0 -1
- package/public/tinymce/package.json +0 -32
- package/public/tinymce/plugins/advlist/index.d.ts +0 -1
- package/public/tinymce/plugins/advlist/index.js +0 -7
- package/public/tinymce/plugins/advlist/index.mjs +0 -2
- package/public/tinymce/plugins/advlist/index.mjs.map +0 -1
- package/public/tinymce/plugins/advlist/plugin.js +0 -259
- package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/public/tinymce/plugins/advlist/plugin.mjs +0 -2
- package/public/tinymce/plugins/advlist/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/autolink/index.js +0 -7
- package/public/tinymce/plugins/autolink/plugin.js +0 -228
- package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/public/tinymce/plugins/code/index.d.ts +0 -1
- package/public/tinymce/plugins/code/index.js +0 -7
- package/public/tinymce/plugins/code/index.mjs +0 -2
- package/public/tinymce/plugins/code/index.mjs.map +0 -1
- package/public/tinymce/plugins/code/plugin.js +0 -85
- package/public/tinymce/plugins/code/plugin.min.js +0 -4
- package/public/tinymce/plugins/code/plugin.mjs +0 -2
- package/public/tinymce/plugins/code/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/codesample/index.d.ts +0 -1
- package/public/tinymce/plugins/codesample/index.js +0 -7
- package/public/tinymce/plugins/codesample/index.mjs +0 -2
- package/public/tinymce/plugins/codesample/index.mjs.map +0 -1
- package/public/tinymce/plugins/codesample/plugin.d.ts +0 -45
- package/public/tinymce/plugins/codesample/plugin.js +0 -2463
- package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/public/tinymce/plugins/codesample/plugin.mjs +0 -2
- package/public/tinymce/plugins/codesample/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/image/index.d.ts +0 -1
- package/public/tinymce/plugins/image/index.js +0 -7
- package/public/tinymce/plugins/image/index.mjs +0 -2
- package/public/tinymce/plugins/image/index.mjs.map +0 -1
- package/public/tinymce/plugins/image/plugin.js +0 -1505
- package/public/tinymce/plugins/image/plugin.min.js +0 -4
- package/public/tinymce/plugins/image/plugin.mjs +0 -2
- package/public/tinymce/plugins/image/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/link/index.d.ts +0 -1
- package/public/tinymce/plugins/link/index.js +0 -7
- package/public/tinymce/plugins/link/index.mjs +0 -2
- package/public/tinymce/plugins/link/index.mjs.map +0 -1
- package/public/tinymce/plugins/link/plugin.js +0 -1242
- package/public/tinymce/plugins/link/plugin.min.js +0 -4
- package/public/tinymce/plugins/link/plugin.mjs +0 -2
- package/public/tinymce/plugins/link/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/lists/index.d.ts +0 -1
- package/public/tinymce/plugins/lists/index.js +0 -7
- package/public/tinymce/plugins/lists/index.mjs +0 -2
- package/public/tinymce/plugins/lists/index.mjs.map +0 -1
- package/public/tinymce/plugins/lists/plugin.js +0 -2172
- package/public/tinymce/plugins/lists/plugin.min.js +0 -4
- package/public/tinymce/plugins/lists/plugin.mjs +0 -2
- package/public/tinymce/plugins/lists/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/table/index.d.ts +0 -1
- package/public/tinymce/plugins/table/index.js +0 -7
- package/public/tinymce/plugins/table/index.mjs +0 -2
- package/public/tinymce/plugins/table/index.mjs.map +0 -1
- package/public/tinymce/plugins/table/plugin.js +0 -3462
- package/public/tinymce/plugins/table/plugin.min.js +0 -4
- package/public/tinymce/plugins/table/plugin.mjs +0 -2
- package/public/tinymce/plugins/table/plugin.mjs.map +0 -1
- package/public/tinymce/skins/content/default/content.css +0 -61
- package/public/tinymce/skins/content/default/content.js +0 -2
- package/public/tinymce/skins/content/default/content.min.css +0 -1
- package/public/tinymce/skins/content/default/content.mjs +0 -2
- package/public/tinymce/skins/content/default/content.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/content.css +0 -785
- package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
- package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/content.js +0 -2
- package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/content.mjs +0 -2
- package/public/tinymce/skins/ui/oxide/content.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
- package/public/tinymce/skins/ui/oxide/skin.js +0 -2
- package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/skin.mjs +0 -2
- package/public/tinymce/skins/ui/oxide/skin.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
- package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
- package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
- package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/public/tinymce/themes/silver/index.d.ts +0 -1
- package/public/tinymce/themes/silver/index.js +0 -7
- package/public/tinymce/themes/silver/index.mjs +0 -2
- package/public/tinymce/themes/silver/index.mjs.map +0 -1
- package/public/tinymce/themes/silver/theme.js +0 -30775
- package/public/tinymce/themes/silver/theme.min.js +0 -384
- package/public/tinymce/themes/silver/theme.mjs +0 -2
- package/public/tinymce/themes/silver/theme.mjs.map +0 -1
- package/public/tinymce/tinymce.d.ts +0 -3238
- package/public/tinymce/tinymce.js +0 -31779
- package/public/tinymce/tinymce.min.js +0 -384
- package/public/tinymce/tinymce.mjs +0 -2
- package/public/tinymce/tinymce.mjs.map +0 -1
- /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
- /package/dist/lib/{components/Editor → dist/lib/Typography/Header}/index.mjs.map +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
- /package/dist/{post-tinymce.d.ts → lib/types.js} +0 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
'use client';
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
3
|
+
__assign = Object.assign || function(t) {
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
+
s = arguments[i];
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
+
t[p] = s[p];
|
8
|
+
}
|
9
|
+
return t;
|
10
|
+
};
|
11
|
+
return __assign.apply(this, arguments);
|
12
|
+
};
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
+
var t = {};
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
+
t[p] = s[p];
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
+
t[p[i]] = s[p[i]];
|
21
|
+
}
|
22
|
+
return t;
|
23
|
+
};
|
24
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
+
import { forwardRef } from 'react';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { radiusVariants, weightVariants, primaryColorStyle, appearanceStyle, scalingVariants, } from '../../../lib/constants';
|
29
|
+
import { useTheme } from '../../../lib/theme';
|
30
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
|
+
var buttonVariants = cva("inline-flex items-center w-fit transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8 justify-center", {
|
32
|
+
variants: {
|
33
|
+
radius: __assign({}, radiusVariants['base']),
|
34
|
+
size: {
|
35
|
+
'x-small': 'text-xs min-w-[36px] h-[20px] px-1.5',
|
36
|
+
small: 'text-xs min-w-[40px] h-[24px] px-2',
|
37
|
+
medium: 'text-sm min-w-[50px] h-[32px] px-3',
|
38
|
+
large: 'text-base min-w-[62px] h-[40px] px-4',
|
39
|
+
'x-large': 'text-lg min-w-[82px] h-[48px] px-6',
|
40
|
+
},
|
41
|
+
scaling: __assign({}, scalingVariants),
|
42
|
+
weight: __assign({}, weightVariants),
|
43
|
+
color: primaryColorStyle(),
|
44
|
+
},
|
45
|
+
defaultVariants: {
|
46
|
+
radius: 'medium',
|
47
|
+
scaling: '100%',
|
48
|
+
weight: 'medium',
|
49
|
+
color: MAIN_COLOR,
|
50
|
+
size: 'medium',
|
51
|
+
},
|
52
|
+
});
|
53
|
+
export var Button = forwardRef(function (_a, ref) {
|
54
|
+
var className = _a.className, children = _a.children, radius = _a.radius, scaling = _a.scaling, size = _a.size, weight = _a.weight, color = _a.color, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, props = __rest(_a, ["className", "children", "radius", "scaling", "size", "weight", "color", "appearance"]);
|
55
|
+
var theme = useTheme().theme;
|
56
|
+
var buttonStyle = {
|
57
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
58
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
59
|
+
weight: weight !== null && weight !== void 0 ? weight : theme.themeWeight,
|
60
|
+
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
61
|
+
size: size,
|
62
|
+
};
|
63
|
+
var buttonClassName = cn(buttonVariants(buttonStyle), appearanceStyle(appearance, buttonStyle.color, true), className);
|
64
|
+
return (_jsx("button", __assign({ ref: ref, className: buttonClassName }, props, { children: children })));
|
65
|
+
});
|
66
|
+
Button.displayName = 'Button';
|
67
|
+
export default Button;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { DayPicker } from 'react-day-picker';
|
3
|
+
import { IColor } from '../../../lib/types';
|
4
|
+
export interface CalendarProps {
|
5
|
+
color?: IColor;
|
6
|
+
}
|
7
|
+
export declare const Calendar: React.ForwardRefExoticComponent<(React.ComponentPropsWithoutRef<typeof DayPicker> & CalendarProps) & React.RefAttributes<never>>;
|
8
|
+
export default Calendar;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
'use client';
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
3
|
+
__assign = Object.assign || function(t) {
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
+
s = arguments[i];
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
+
t[p] = s[p];
|
8
|
+
}
|
9
|
+
return t;
|
10
|
+
};
|
11
|
+
return __assign.apply(this, arguments);
|
12
|
+
};
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
+
var t = {};
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
+
t[p] = s[p];
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
+
t[p[i]] = s[p[i]];
|
21
|
+
}
|
22
|
+
return t;
|
23
|
+
};
|
24
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
+
import { forwardRef } from 'react';
|
26
|
+
import { ChevronLeftIcon, ChevronRightIcon } from '@radix-ui/react-icons';
|
27
|
+
import { DayPicker } from 'react-day-picker';
|
28
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
|
+
import { ko } from 'date-fns/locale';
|
31
|
+
export var Calendar = forwardRef(function (_a, ref) {
|
32
|
+
var className = _a.className, classNames = _a.classNames, _b = _a.showOutsideDays, showOutsideDays = _b === void 0 ? true : _b, _c = _a.color, color = _c === void 0 ? MAIN_COLOR : _c, props = __rest(_a, ["className", "classNames", "showOutsideDays", "color"]);
|
33
|
+
return (_jsx(DayPicker, __assign({ locale: ko, showOutsideDays: showOutsideDays, className: cn('w-[280px] rounded-md border p-3 text-slate-12', className), classNames: __assign({ months: 'flex flex-row space-y-4 sm:space-x-4 sm:space-y-0 place-content-center', month: 'space-y-4', caption: 'flex justify-center pt-1 relative items-center', caption_label: 'text-sm font-semibold', nav: 'space-x-1 flex items-center', nav_button: 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-input bg-background h-10 px-4 py-2 h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100', nav_button_previous: 'absolute left-1 hover:bg-slateA-3', nav_button_next: 'absolute right-1 hover:bg-slateA-3', table: 'w-full border-collapse space-y-1', head_row: 'flex', head_cell: 'text-slateA-10 rounded-md w-9 font-normal text-[0.8rem]', row: 'flex w-full mt-2', cell: 'h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20', day: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-".concat(color, "A-3 h-10 px-4 py-2 h-9 w-9 p-0 font-medium aria-selected:opacity-100 aria-selected:bg-").concat(color, "-9 aria-selected:hover:bg-").concat(color, "-9"), day_range_end: 'day-range-end', day_selected: "bg-".concat(color, "-9 text-white"), day_today: "bg-".concat(color, "A-3"), day_outside: "cursor-default text-slateA-10 hover:bg-transparent", day_disabled: 'text-slateA-10 opacity-50', day_hidden: 'invisible' }, classNames), components: {
|
34
|
+
IconLeft: function (_a) {
|
35
|
+
var props = __rest(_a, []);
|
36
|
+
return _jsx(ChevronLeftIcon, { className: "h-4 w-4" });
|
37
|
+
},
|
38
|
+
IconRight: function (_a) {
|
39
|
+
var props = __rest(_a, []);
|
40
|
+
return _jsx(ChevronRightIcon, { className: "h-4 w-4" });
|
41
|
+
},
|
42
|
+
} }, props)));
|
43
|
+
});
|
44
|
+
Calendar.displayName = 'Calendar';
|
45
|
+
export default Calendar;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Callout as CalloutTheme } from '@radix-ui/themes';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
export interface CalloutIconProps extends VariantProps<typeof calloutIconVariants> {
|
5
|
+
iconType?: 'danger' | 'success' | 'warning' | 'information';
|
6
|
+
}
|
7
|
+
declare const calloutIconVariants: (props?: ({
|
8
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
9
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
10
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
11
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
|
+
export declare const CalloutIcon: React.ForwardRefExoticComponent<Omit<CalloutTheme.IconProps & React.RefAttributes<HTMLDivElement>, "ref"> & CalloutIconProps & React.RefAttributes<HTMLDivElement>>;
|
13
|
+
export {};
|
@@ -0,0 +1,58 @@
|
|
1
|
+
'use client';
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
3
|
+
__assign = Object.assign || function(t) {
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
+
s = arguments[i];
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
+
t[p] = s[p];
|
8
|
+
}
|
9
|
+
return t;
|
10
|
+
};
|
11
|
+
return __assign.apply(this, arguments);
|
12
|
+
};
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
+
var t = {};
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
+
t[p] = s[p];
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
+
t[p[i]] = s[p[i]];
|
21
|
+
}
|
22
|
+
return t;
|
23
|
+
};
|
24
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
25
|
+
import { forwardRef } from 'react';
|
26
|
+
import { Callout as CalloutTheme } from '@radix-ui/themes';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { ExclamationTriangleIcon, InfoCircledIcon, LockClosedIcon, CheckCircledIcon, } from '@radix-ui/react-icons';
|
29
|
+
import { scalingVariants } from '../../../lib/constants';
|
30
|
+
import { cn } from '../../../lib/utils/utils';
|
31
|
+
import { useCalloutContext } from './CalloutRoot';
|
32
|
+
var calloutIconVariants = cva('flex items-center text-slate-12 dark:text-slateDark-12', {
|
33
|
+
variants: {
|
34
|
+
scaling: __assign({}, scalingVariants),
|
35
|
+
size: {
|
36
|
+
small: 'h-5 mr-2',
|
37
|
+
medium: 'h-5 mr-3',
|
38
|
+
large: 'h-6 mr-4',
|
39
|
+
},
|
40
|
+
color: {
|
41
|
+
danger: 'text-red-11 dark:text-redDark-11',
|
42
|
+
warning: 'text-amber-11 dark:text-amberDark-11',
|
43
|
+
success: 'text-green-11 dark:text-greenDark-11',
|
44
|
+
information: 'text-sky-11 dark:text-skyDark-11',
|
45
|
+
},
|
46
|
+
},
|
47
|
+
defaultVariants: {
|
48
|
+
scaling: '100%',
|
49
|
+
size: 'medium',
|
50
|
+
color: 'information',
|
51
|
+
},
|
52
|
+
});
|
53
|
+
export var CalloutIcon = forwardRef(function (_a, ref) {
|
54
|
+
var children = _a.children, className = _a.className, iconType = _a.iconType, props = __rest(_a, ["children", "className", "iconType"]);
|
55
|
+
var _b = useCalloutContext(), scaling = _b.scaling, size = _b.size, color = _b.color;
|
56
|
+
return (_jsxs(CalloutTheme.Icon, __assign({ ref: ref, className: cn(calloutIconVariants({ color: color, size: size, scaling: scaling }), className) }, props, { children: [iconType === 'danger' && _jsx(ExclamationTriangleIcon, {}), iconType === 'warning' && _jsx(LockClosedIcon, {}), iconType === 'success' && _jsx(CheckCircledIcon, {}), iconType === 'information' && _jsx(InfoCircledIcon, {}), children] })));
|
57
|
+
});
|
58
|
+
CalloutIcon.displayName = 'Callout.Icon';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import { calloutTextVariants } from './CalloutText';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export interface CalloutProps extends VariantProps<typeof calloutVariants>, VariantProps<typeof calloutTextVariants> {
|
6
|
+
contentText?: string;
|
7
|
+
appearance?: Exclude<IAppearance, 'classic' | 'ghost' | 'solid'>;
|
8
|
+
color?: 'danger' | 'warning' | 'success' | 'information' | null;
|
9
|
+
}
|
10
|
+
declare const calloutVariants: (props?: ({
|
11
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
12
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
13
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
15
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
|
+
export declare const useCalloutContext: () => CalloutProps;
|
17
|
+
export declare const CalloutRoot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CalloutProps & React.RefAttributes<HTMLDivElement>>;
|
18
|
+
export {};
|
@@ -0,0 +1,80 @@
|
|
1
|
+
'use client';
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
3
|
+
__assign = Object.assign || function(t) {
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
+
s = arguments[i];
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
+
t[p] = s[p];
|
8
|
+
}
|
9
|
+
return t;
|
10
|
+
};
|
11
|
+
return __assign.apply(this, arguments);
|
12
|
+
};
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
+
var t = {};
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
+
t[p] = s[p];
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
+
t[p[i]] = s[p[i]];
|
21
|
+
}
|
22
|
+
return t;
|
23
|
+
};
|
24
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
+
import { forwardRef, createContext, useContext, } from 'react';
|
26
|
+
import { Callout as CalloutTheme } from '@radix-ui/themes';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
|
+
import { useTheme } from '../../../lib/theme';
|
31
|
+
var calloutVariants = cva('flex w-fit max-w-[600px]', {
|
32
|
+
variants: {
|
33
|
+
radius: __assign({}, radiusVariants['large']),
|
34
|
+
size: {
|
35
|
+
small: 'min-h-[44px] p-3',
|
36
|
+
medium: 'min-h-[52px] p-4',
|
37
|
+
large: 'min-h-[72px] p-6',
|
38
|
+
},
|
39
|
+
scaling: __assign({}, scalingVariants),
|
40
|
+
color: {
|
41
|
+
danger: 'bg-redA-3 dark:bg-redDarkA-3',
|
42
|
+
warning: 'bg-amberA-3 dark:bg-amberDarkA-3',
|
43
|
+
success: 'bg-greenA-3 dark:bg-greenDarkA-3',
|
44
|
+
information: 'bg-skyA-3 dark:bg-skyDarkA-3',
|
45
|
+
},
|
46
|
+
},
|
47
|
+
defaultVariants: {
|
48
|
+
radius: 'medium',
|
49
|
+
scaling: '100%',
|
50
|
+
color: 'information',
|
51
|
+
size: 'medium',
|
52
|
+
},
|
53
|
+
});
|
54
|
+
var CalloutContext = createContext({
|
55
|
+
size: 'medium',
|
56
|
+
scaling: '100%',
|
57
|
+
color: null,
|
58
|
+
});
|
59
|
+
export var useCalloutContext = function () {
|
60
|
+
return useContext(CalloutContext);
|
61
|
+
};
|
62
|
+
export var CalloutRoot = forwardRef(function (_a, ref) {
|
63
|
+
var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, _b = _a.color, color = _b === void 0 ? 'information' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'soft' : _c, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance"]);
|
64
|
+
var theme = useTheme().theme;
|
65
|
+
var colorMap = {
|
66
|
+
danger: 'red',
|
67
|
+
information: 'sky',
|
68
|
+
success: 'green',
|
69
|
+
warning: 'amber',
|
70
|
+
};
|
71
|
+
var contextValue = {
|
72
|
+
size: size,
|
73
|
+
color: color,
|
74
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
75
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
76
|
+
};
|
77
|
+
var calloutClassName = cn(calloutVariants(contextValue), appearanceStyle(appearance, colorMap[color], false), className);
|
78
|
+
return (_jsx(CalloutContext.Provider, { value: contextValue, children: _jsx(CalloutTheme.Root, __assign({ ref: ref }, props, { className: calloutClassName, children: children })) }));
|
79
|
+
});
|
80
|
+
CalloutRoot.displayName = 'Callout.Root';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
export interface CalloutTextProps extends VariantProps<typeof calloutTextVariants> {
|
4
|
+
contentText?: string;
|
5
|
+
}
|
6
|
+
export declare const calloutTextVariants: (props?: ({
|
7
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
8
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
|
+
export declare const CalloutText: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & CalloutTextProps & React.RefAttributes<HTMLParagraphElement>>;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
'use client';
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
3
|
+
__assign = Object.assign || function(t) {
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
+
s = arguments[i];
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
+
t[p] = s[p];
|
8
|
+
}
|
9
|
+
return t;
|
10
|
+
};
|
11
|
+
return __assign.apply(this, arguments);
|
12
|
+
};
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
+
var t = {};
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
+
t[p] = s[p];
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
+
t[p[i]] = s[p[i]];
|
21
|
+
}
|
22
|
+
return t;
|
23
|
+
};
|
24
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
+
import { forwardRef } from 'react';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { useCalloutContext } from './CalloutRoot';
|
29
|
+
export var calloutTextVariants = cva('break-words font-normal text-slate-12 dark:text-slateDark-12', {
|
30
|
+
variants: {
|
31
|
+
size: {
|
32
|
+
small: 'text-sm',
|
33
|
+
medium: 'text-sm',
|
34
|
+
large: 'text-base',
|
35
|
+
},
|
36
|
+
color: {
|
37
|
+
danger: 'text-red-11 dark:text-redDark-11',
|
38
|
+
warning: 'text-amber-11 dark:text-amberDark-11',
|
39
|
+
success: 'text-green-11 dark:text-greenDark-11',
|
40
|
+
information: 'text-sky-11 dark:text-skyDark-11',
|
41
|
+
},
|
42
|
+
},
|
43
|
+
defaultVariants: {
|
44
|
+
size: 'medium',
|
45
|
+
color: 'information',
|
46
|
+
},
|
47
|
+
});
|
48
|
+
export var CalloutText = forwardRef(function (_a, ref) {
|
49
|
+
var children = _a.children, className = _a.className, contentText = _a.contentText, props = __rest(_a, ["children", "className", "contentText"]);
|
50
|
+
var _b = useCalloutContext(), size = _b.size, color = _b.color;
|
51
|
+
return (_jsx("p", __assign({ ref: ref, className: cn(calloutTextVariants({ size: size, color: color }), className) }, props, { children: contentText !== null && contentText !== void 0 ? contentText : children })));
|
52
|
+
});
|
53
|
+
CalloutText.displayName = 'Callout.Text';
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const Callout: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("./CalloutRoot").CalloutProps & import("react").RefAttributes<HTMLDivElement>>;
|
4
|
+
Text: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("./CalloutText").CalloutTextProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
5
|
+
Icon: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/callout").IconProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./CalloutIcon").CalloutIconProps & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
+
};
|
7
|
+
export default Callout;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import { IAppearance } from '../../../lib/types';
|
4
|
+
export interface CardProps extends VariantProps<typeof cardVariants> {
|
5
|
+
appearance?: Exclude<IAppearance, 'solid' | 'outline'>;
|
6
|
+
}
|
7
|
+
declare const cardVariants: (props?: ({
|
8
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
9
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
10
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
|
+
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
12
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
|
+
declare const Card: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & CardProps & React.RefAttributes<HTMLDivElement>>;
|
14
|
+
export default Card;
|
@@ -0,0 +1,72 @@
|
|
1
|
+
'use client';
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
3
|
+
__assign = Object.assign || function(t) {
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
+
s = arguments[i];
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
+
t[p] = s[p];
|
8
|
+
}
|
9
|
+
return t;
|
10
|
+
};
|
11
|
+
return __assign.apply(this, arguments);
|
12
|
+
};
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
+
var t = {};
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
+
t[p] = s[p];
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
+
t[p[i]] = s[p[i]];
|
21
|
+
}
|
22
|
+
return t;
|
23
|
+
};
|
24
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
+
import { forwardRef } from 'react';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { scalingVariants, weightVariants } from '../../../lib/constants';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { useTheme } from '../../../lib/theme';
|
30
|
+
var cardVariants = cva("border border-slate-6 flex items-center text-slate-12\n dark:border-slateDarkA-6 dark:text-slateDarkA-12\n ", {
|
31
|
+
variants: {
|
32
|
+
radius: {
|
33
|
+
none: 'rounded-none',
|
34
|
+
small: 'rounded-[3px]',
|
35
|
+
medium: 'rounded',
|
36
|
+
large: 'rounded-md',
|
37
|
+
full: 'rounded-md',
|
38
|
+
},
|
39
|
+
size: {
|
40
|
+
small: 'text-sm min-h-[64px] w-[300px] p-3 space-x-3',
|
41
|
+
medium: 'text-base min-h-[80px] w-[350px] p-4 space-x-4',
|
42
|
+
large: 'text-lg min-h-[112px] w-[400px] p-8 space-x-8',
|
43
|
+
},
|
44
|
+
scaling: __assign({}, scalingVariants),
|
45
|
+
weight: __assign({}, weightVariants),
|
46
|
+
},
|
47
|
+
defaultVariants: {
|
48
|
+
radius: 'medium',
|
49
|
+
scaling: '100%',
|
50
|
+
size: 'medium',
|
51
|
+
weight: 'medium',
|
52
|
+
},
|
53
|
+
});
|
54
|
+
var Card = forwardRef(function (_a, ref) {
|
55
|
+
var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, color = _a.color, weight = _a.weight, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "weight", "appearance"]);
|
56
|
+
var theme = useTheme().theme;
|
57
|
+
var appearanceClassName = '';
|
58
|
+
if (appearance === 'classic') {
|
59
|
+
appearanceClassName = 'shadow-card-classic dark:shadow-card-dark-classic';
|
60
|
+
}
|
61
|
+
if (appearance === 'ghost') {
|
62
|
+
appearanceClassName = 'border-transparent';
|
63
|
+
}
|
64
|
+
var cardStyle = {
|
65
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
66
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
67
|
+
size: size,
|
68
|
+
};
|
69
|
+
return (_jsx("div", __assign({ className: cn(cardVariants(cardStyle), appearanceClassName, className), ref: ref }, props, { children: children })));
|
70
|
+
});
|
71
|
+
Card.displayName = 'Card';
|
72
|
+
export default Card;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
4
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
5
|
+
export interface CheckboxProps extends VariantProps<typeof CheckboxVariants> {
|
6
|
+
id: string;
|
7
|
+
color?: IColor;
|
8
|
+
appearance?: Exclude<IAppearance, 'ghost' | 'outline' | 'solid'>;
|
9
|
+
indeterminate?: boolean;
|
10
|
+
}
|
11
|
+
export declare const CheckboxVariants: (props?: ({
|
12
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
13
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
14
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
15
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
17
|
+
export default Checkbox;
|
@@ -0,0 +1,98 @@
|
|
1
|
+
'use client';
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
3
|
+
__assign = Object.assign || function(t) {
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
+
s = arguments[i];
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
+
t[p] = s[p];
|
8
|
+
}
|
9
|
+
return t;
|
10
|
+
};
|
11
|
+
return __assign.apply(this, arguments);
|
12
|
+
};
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
+
var t = {};
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
+
t[p] = s[p];
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
+
t[p[i]] = s[p[i]];
|
21
|
+
}
|
22
|
+
return t;
|
23
|
+
};
|
24
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
25
|
+
import { forwardRef } from 'react';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
28
|
+
import { CheckIcon, MinusIcon } from '@radix-ui/react-icons';
|
29
|
+
import { Label } from '../../../lib/components/Label';
|
30
|
+
import { cn } from '../../../lib/utils/utils';
|
31
|
+
import { checkboxAppearanceStyle, radiusVariants, scalingVariants, textColorStyle, } from '../../../lib/constants';
|
32
|
+
import { useTheme } from '../../../lib/theme';
|
33
|
+
export var CheckboxVariants = cva("peer ring-offset-background", {
|
34
|
+
variants: {
|
35
|
+
size: {
|
36
|
+
small: 'h-3.5 w-3.5 mr-2',
|
37
|
+
medium: 'h-4 w-4 mr-2',
|
38
|
+
large: 'h-5 w-5 mr-3',
|
39
|
+
},
|
40
|
+
scaling: {
|
41
|
+
'90%': 'scale-90 mr-1.5',
|
42
|
+
'95%': 'scale-95 mr-2',
|
43
|
+
'100%': 'scale-100 mr-2',
|
44
|
+
'105%': 'scale-105 mr-2.5',
|
45
|
+
'110%': 'scale-110 mr-3',
|
46
|
+
},
|
47
|
+
radius: __assign({}, radiusVariants['small']),
|
48
|
+
},
|
49
|
+
defaultVariants: {
|
50
|
+
radius: 'medium',
|
51
|
+
size: 'medium',
|
52
|
+
scaling: '100%',
|
53
|
+
},
|
54
|
+
});
|
55
|
+
var CheckboxIndicatorVariants = cva('stroke-current', {
|
56
|
+
variants: {
|
57
|
+
size: {
|
58
|
+
small: 'w-3.5',
|
59
|
+
medium: 'w-4',
|
60
|
+
large: 'w-5',
|
61
|
+
},
|
62
|
+
scaling: __assign({}, scalingVariants),
|
63
|
+
},
|
64
|
+
defaultVariants: {
|
65
|
+
size: 'medium',
|
66
|
+
scaling: '100%',
|
67
|
+
},
|
68
|
+
});
|
69
|
+
var CheckboxLabelVariants = cva('', {
|
70
|
+
variants: {
|
71
|
+
size: {
|
72
|
+
small: 'text-xs',
|
73
|
+
medium: 'text-sm',
|
74
|
+
large: 'text-base',
|
75
|
+
},
|
76
|
+
scaling: __assign({}, scalingVariants),
|
77
|
+
color: textColorStyle(),
|
78
|
+
},
|
79
|
+
defaultVariants: {
|
80
|
+
size: 'medium',
|
81
|
+
scaling: '100%',
|
82
|
+
color: 'black',
|
83
|
+
},
|
84
|
+
});
|
85
|
+
export var Checkbox = forwardRef(function (_a, ref) {
|
86
|
+
var id = _a.id, className = _a.className, children = _a.children, scaling = _a.scaling, radius = _a.radius, size = _a.size, color = _a.color, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, _c = _a.indeterminate, indeterminate = _c === void 0 ? false : _c, props = __rest(_a, ["id", "className", "children", "scaling", "radius", "size", "color", "appearance", "indeterminate"]);
|
87
|
+
var theme = useTheme().theme;
|
88
|
+
var checkboxStyle = {
|
89
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
90
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
91
|
+
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
92
|
+
size: size,
|
93
|
+
};
|
94
|
+
var checkboxClassName = cn(CheckboxVariants(checkboxStyle), checkboxAppearanceStyle(appearance, checkboxStyle.color, indeterminate), className);
|
95
|
+
return (_jsxs("div", { className: "flex items-center", children: [_jsx(CheckboxPrimitive.Root, __assign({ id: id, ref: ref, className: checkboxClassName }, props, { children: _jsx(CheckboxPrimitive.Indicator, { className: cn('flex items-center justify-center stroke-[0.5px] text-current'), children: indeterminate ? (_jsx(MinusIcon, { className: cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }), 'w-3') })) : (_jsx(CheckIcon, { className: cn(CheckboxIndicatorVariants({ scaling: scaling, size: size })) })) }) })), children && (_jsx(Label, { className: cn(CheckboxLabelVariants({ scaling: scaling, size: size }), className), htmlFor: id, children: children }))] }));
|
96
|
+
});
|
97
|
+
Checkbox.displayName = 'Checkbox';
|
98
|
+
export default Checkbox;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IColor, IRadius, IScaling } from '../../../lib/types';
|
5
|
+
import { CheckboxVariants } from '../../../lib/components/Checkbox';
|
6
|
+
export interface CheckboxCardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof CheckboxVariants> {
|
7
|
+
id: string;
|
8
|
+
scaling?: IScaling;
|
9
|
+
radius?: IRadius;
|
10
|
+
color?: IColor;
|
11
|
+
appearance?: 'classic' | 'surface' | 'ghost';
|
12
|
+
ariaDisabled?: boolean;
|
13
|
+
}
|
14
|
+
export declare const CheckboxCardVariants: (props?: ({
|
15
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
16
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
17
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
18
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
19
|
+
declare const CheckboxCard: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & CheckboxCardProps & React.RefAttributes<HTMLButtonElement>>;
|
20
|
+
export default CheckboxCard;
|