@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,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 * as ToastPrimitive from '@radix-ui/react-toast';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import Button from '../../../lib/components/Button';
|
30
|
+
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
31
|
+
import { useToastContext } from './ToastRoot';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
33
|
+
import { useTheme } from '../../../lib/theme';
|
34
|
+
export var toastActionButtonVariants = cva("absolute items-center justify-center", {
|
35
|
+
variants: {
|
36
|
+
radius: __assign({}, radiusVariants['base']),
|
37
|
+
size: {
|
38
|
+
small: 'text-xs min-w-[56px] h-[25px] font-normal right-3',
|
39
|
+
medium: 'text-xs min-w-[56px] h-[25px] font-normal right-3',
|
40
|
+
large: 'text-[15px] min-w-[76px] h-[35px] font-medium right-4',
|
41
|
+
'x-large': 'text-[15px] min-w-[76px] h-[35px] font-medium right-4',
|
42
|
+
},
|
43
|
+
scaling: __assign({}, scalingVariants),
|
44
|
+
},
|
45
|
+
defaultVariants: {
|
46
|
+
radius: 'medium',
|
47
|
+
scaling: '100%',
|
48
|
+
size: 'medium',
|
49
|
+
},
|
50
|
+
});
|
51
|
+
export var ToastActionButton = forwardRef(function (_a, ref) {
|
52
|
+
var _b;
|
53
|
+
var className = _a.className, children = _a.children, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, _d = _a.altText, altText = _d === void 0 ? 'altText' : _d, props = __rest(_a, ["className", "children", "appearance", "altText"]);
|
54
|
+
var theme = useTheme().theme;
|
55
|
+
var _e = useToastContext(), radius = _e.radius, scaling = _e.scaling, size = _e.size, color = _e.color;
|
56
|
+
var semantics = ['danger', 'warning', 'success', 'information'];
|
57
|
+
var colorMap = {
|
58
|
+
danger: 'red',
|
59
|
+
information: 'sky',
|
60
|
+
success: 'green',
|
61
|
+
warning: 'amber',
|
62
|
+
};
|
63
|
+
var getSemanticsStyle = function (color) {
|
64
|
+
var mappedColor = colorMap[color];
|
65
|
+
return mappedColor ? appearanceStyle('outline', mappedColor) : undefined;
|
66
|
+
};
|
67
|
+
var buttonClassName = cn(toastActionButtonVariants({ size: size, radius: radius, scaling: scaling }), color && semantics.includes(color)
|
68
|
+
? getSemanticsStyle(color)
|
69
|
+
: appearanceStyle(appearance, (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR), className);
|
70
|
+
return (_jsx(ToastPrimitive.Action, __assign({ ref: ref, altText: altText }, props, { className: buttonClassName, asChild: true, children: _jsx(Button, { children: children }) })));
|
71
|
+
});
|
72
|
+
ToastActionButton.displayName = 'Toast.ActionButton';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export interface ToastDescriptionProps extends VariantProps<typeof toastDescriptionVariants> {
|
6
|
+
contentText?: string;
|
7
|
+
appearance?: IAppearance;
|
8
|
+
}
|
9
|
+
export declare const toastDescriptionVariants: (props?: ({
|
10
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
12
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
|
+
export declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & ToastDescriptionProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,54 @@
|
|
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 * as ToastPrimitive from '@radix-ui/react-toast';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { useToastContext } from './ToastRoot';
|
30
|
+
export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark:text-slateDark-11', {
|
31
|
+
variants: {
|
32
|
+
size: {
|
33
|
+
small: 'text-xs font-normal w-[220px]',
|
34
|
+
medium: 'text-xs font-normal w-[312px]',
|
35
|
+
large: 'text-base font-medium w-[284px]',
|
36
|
+
'x-large': 'text-base font-medium w-[284px]',
|
37
|
+
},
|
38
|
+
color: {
|
39
|
+
danger: 'text-red-11',
|
40
|
+
warning: 'text-amber-11',
|
41
|
+
success: 'text-green-11',
|
42
|
+
information: 'text-sky-11',
|
43
|
+
},
|
44
|
+
},
|
45
|
+
defaultVariants: {
|
46
|
+
size: 'medium',
|
47
|
+
},
|
48
|
+
});
|
49
|
+
export var ToastDescription = forwardRef(function (_a, ref) {
|
50
|
+
var className = _a.className, children = _a.children, contentText = _a.contentText, props = __rest(_a, ["className", "children", "contentText"]);
|
51
|
+
var _b = useToastContext(), size = _b.size, color = _b.color;
|
52
|
+
return (_jsx(ToastPrimitive.Description, __assign({ ref: ref }, props, { children: _jsx("p", { className: cn(toastDescriptionVariants({ size: size, color: color }), className), children: contentText !== null && contentText !== void 0 ? contentText : children }) })));
|
53
|
+
});
|
54
|
+
ToastDescription.displayName = 'Toast.Description';
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import React, { Dispatch, SetStateAction } from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
4
|
+
import { toastTitleVariants } from './ToastTitle';
|
5
|
+
import { toastDescriptionVariants } from './ToastDescription';
|
6
|
+
import { toastActionButtonVariants } from './ToastActionButton';
|
7
|
+
export interface ToastProps extends VariantProps<typeof toastVariants>, VariantProps<typeof toastTitleVariants>, VariantProps<typeof toastDescriptionVariants>, VariantProps<typeof toastActionButtonVariants>, VariantProps<typeof toastViewportVariants> {
|
8
|
+
className?: string;
|
9
|
+
openToast?: boolean;
|
10
|
+
duration?: number;
|
11
|
+
titleText?: string;
|
12
|
+
contentText?: string;
|
13
|
+
color?: 'danger' | 'warning' | 'success' | 'information' | null;
|
14
|
+
setOpenToast?: Dispatch<SetStateAction<boolean>>;
|
15
|
+
}
|
16
|
+
export declare const toastVariants: (props?: ({
|
17
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
18
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
19
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
20
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
21
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
22
|
+
export declare const toastViewportVariants: (props?: ({
|
23
|
+
toastPosition?: "top_center" | "top_left" | "top_right" | "bottom_center" | "bottom_left" | "bottom_right" | null | undefined;
|
24
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
25
|
+
export declare const useToastContext: () => ToastProps;
|
26
|
+
export declare const ToastRoot: React.ForwardRefExoticComponent<ToastPrimitive.ToastProviderProps & ToastProps & React.RefAttributes<never>>;
|
27
|
+
export default ToastRoot;
|
@@ -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, createContext, useContext, } from 'react';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
import { scalingVariants } from '../../../lib/constants';
|
29
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
30
|
+
import { useTheme } from '../../../lib/theme';
|
31
|
+
export var toastVariants = cva('flex bg-white dark:bg-slateDark-1', {
|
32
|
+
variants: {
|
33
|
+
radius: {
|
34
|
+
none: 'rounded-none',
|
35
|
+
small: 'rounded-[3px]',
|
36
|
+
medium: 'rounded',
|
37
|
+
large: 'rounded-md',
|
38
|
+
full: 'rounded-md',
|
39
|
+
},
|
40
|
+
size: {
|
41
|
+
small: 'w-[300px] min-h-[55px] p-3',
|
42
|
+
medium: 'w-[400px] min-h-[63px] p-3',
|
43
|
+
large: 'w-[400px] min-h-[84px] p-4',
|
44
|
+
'x-large': 'w-[400px] min-h-[88px] p-4',
|
45
|
+
},
|
46
|
+
scaling: __assign({}, scalingVariants),
|
47
|
+
color: {
|
48
|
+
danger: 'bg-red-3 dark:bg-redDark-3',
|
49
|
+
warning: 'bg-amber-3 dark:bg-amberDark-3',
|
50
|
+
success: 'bg-green-3 dark:bg-greenDark-3',
|
51
|
+
information: 'bg-sky-3 dark:bg-skyDark-3',
|
52
|
+
},
|
53
|
+
},
|
54
|
+
defaultVariants: {
|
55
|
+
radius: 'medium',
|
56
|
+
scaling: '100%',
|
57
|
+
size: 'medium',
|
58
|
+
},
|
59
|
+
});
|
60
|
+
export var toastViewportVariants = cva("[--viewport-padding:_25px] fixed flex flex-col outline-none gap-[10px]\n p-[var(--viewport-padding)] m-0 list-none z-[987654321]", {
|
61
|
+
variants: {
|
62
|
+
toastPosition: {
|
63
|
+
top_center: 'top-0 left-1/2 transform -translate-x-1/2',
|
64
|
+
top_left: 'top-0 left-0',
|
65
|
+
top_right: 'top-0 right-0',
|
66
|
+
bottom_center: 'bottom-0 left-1/2 transform -translate-x-1/2',
|
67
|
+
bottom_left: 'bottom-0 left-0',
|
68
|
+
bottom_right: 'bottom-0 right-0',
|
69
|
+
},
|
70
|
+
},
|
71
|
+
defaultVariants: {
|
72
|
+
toastPosition: 'top_right',
|
73
|
+
},
|
74
|
+
});
|
75
|
+
var ToastContext = createContext({
|
76
|
+
radius: 'medium',
|
77
|
+
scaling: '100%',
|
78
|
+
size: 'medium',
|
79
|
+
color: null,
|
80
|
+
});
|
81
|
+
export var useToastContext = function () {
|
82
|
+
return useContext(ToastContext);
|
83
|
+
};
|
84
|
+
export var ToastRoot = forwardRef(function (_a, ref) {
|
85
|
+
var className = _a.className, children = _a.children, openToast = _a.openToast, radius = _a.radius, scaling = _a.scaling, size = _a.size, color = _a.color, _b = _a.duration, duration = _b === void 0 ? 3000 : _b, _c = _a.toastPosition, toastPosition = _c === void 0 ? 'top_right' : _c, setOpenToast = _a.setOpenToast, props = __rest(_a, ["className", "children", "openToast", "radius", "scaling", "size", "color", "duration", "toastPosition", "setOpenToast"]);
|
86
|
+
var theme = useTheme().theme;
|
87
|
+
var contextValue = {
|
88
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
89
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
90
|
+
color: color,
|
91
|
+
size: size,
|
92
|
+
};
|
93
|
+
var toastRootStyle = "\n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] \n flex flex-col px-[15px] relative justify-center\n data-[state=open]:animate-slideIn \n data-[state=closed]:animate-hide \n data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] \n data-[swipe=cancel]:translate-x-0 \n data-[swipe=cancel]:transition-[transform_200ms_ease-out] \n data-[swipe=end]:animate-swipeOut\n ";
|
94
|
+
var toastClassName = cn(toastVariants(contextValue), toastRootStyle, className);
|
95
|
+
return (_jsx(ToastContext.Provider, { value: contextValue, children: _jsxs(ToastPrimitive.Provider, { swipeDirection: "right", duration: duration, children: [_jsx(ToastPrimitive.Root, __assign({ ref: ref, className: toastClassName, open: openToast, onOpenChange: setOpenToast }, props, { children: children })), _jsx(ToastPrimitive.Viewport, { className: cn(toastViewportVariants({ toastPosition: toastPosition })) })] }) }));
|
96
|
+
});
|
97
|
+
ToastRoot.displayName = 'Toast.Root';
|
98
|
+
export default ToastRoot;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ToastPrimitive from '@radix-ui/react-toast';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export interface ToastTitleProps extends VariantProps<typeof toastTitleVariants> {
|
6
|
+
titleText?: string;
|
7
|
+
appearance?: IAppearance;
|
8
|
+
}
|
9
|
+
export declare const toastTitleVariants: (props?: ({
|
10
|
+
size?: "small" | "medium" | "large" | "x-large" | null | undefined;
|
11
|
+
color?: "danger" | "warning" | "success" | "information" | null | undefined;
|
12
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
|
+
export declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & ToastTitleProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,54 @@
|
|
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 * as ToastPrimitive from '@radix-ui/react-toast';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { useToastContext } from './ToastRoot';
|
30
|
+
export var toastTitleVariants = cva('flex mb-[5px] text-slate-12 dark:text-slateDark-12 text-wrap break-words font-medium', {
|
31
|
+
variants: {
|
32
|
+
size: {
|
33
|
+
small: 'text-sm w-[220px]',
|
34
|
+
medium: 'text-sm w-[312px]',
|
35
|
+
large: 'text-xl w-[284px]',
|
36
|
+
'x-large': 'text-2xl w-[284px]',
|
37
|
+
},
|
38
|
+
color: {
|
39
|
+
danger: 'text-red-11',
|
40
|
+
warning: 'text-amber-11',
|
41
|
+
success: 'text-green-11',
|
42
|
+
information: 'text-sky-11',
|
43
|
+
},
|
44
|
+
},
|
45
|
+
defaultVariants: {
|
46
|
+
size: 'medium',
|
47
|
+
},
|
48
|
+
});
|
49
|
+
export var ToastTitle = forwardRef(function (_a, ref) {
|
50
|
+
var className = _a.className, children = _a.children, titleText = _a.titleText, props = __rest(_a, ["className", "children", "titleText"]);
|
51
|
+
var _b = useToastContext(), size = _b.size, color = _b.color;
|
52
|
+
return (_jsx(ToastPrimitive.Title, __assign({ ref: ref }, props, { children: _jsx("p", { className: cn(toastTitleVariants({ size: size, color: color }), className), children: titleText !== null && titleText !== void 0 ? titleText : children }) })));
|
53
|
+
});
|
54
|
+
ToastTitle.displayName = 'Toast.Title';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const Toast: {
|
3
|
+
Root: import("react").ForwardRefExoticComponent<import("@radix-ui/react-toast").ToastProviderProps & import("./ToastRoot").ToastProps & import("react").RefAttributes<never>>;
|
4
|
+
Title: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastTitleProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ToastTitle").ToastTitleProps & import("react").RefAttributes<HTMLDivElement>>;
|
5
|
+
Description: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastDescriptionProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ToastDescription").ToastDescriptionProps & import("react").RefAttributes<HTMLDivElement>>;
|
6
|
+
ActionButton: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toast").ToastActionProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./ToastActionButton").ToastActionButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
7
|
+
};
|
8
|
+
export default Toast;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { ToastRoot as Root } from './ToastRoot';
|
2
|
+
import { ToastTitle as Title } from './ToastTitle';
|
3
|
+
import { ToastDescription as Description } from './ToastDescription';
|
4
|
+
import { ToastActionButton as ActionButton } from './ToastActionButton';
|
5
|
+
var Toast = {
|
6
|
+
Root: Root,
|
7
|
+
Title: Title,
|
8
|
+
Description: Description,
|
9
|
+
ActionButton: ActionButton,
|
10
|
+
};
|
11
|
+
export default Toast;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export interface ToggleWithTextProps extends VariantProps<typeof toggleWithTextVariants> {
|
6
|
+
text?: string;
|
7
|
+
appearance?: IAppearance;
|
8
|
+
size?: 'small' | 'medium' | 'large';
|
9
|
+
}
|
10
|
+
declare const toggleWithTextVariants: (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
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
|
+
export declare const IconScaling: {
|
16
|
+
small: string;
|
17
|
+
medium: string;
|
18
|
+
large: string;
|
19
|
+
};
|
20
|
+
export declare const ToggleWithText: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleWithTextProps & React.RefAttributes<HTMLButtonElement>>;
|
21
|
+
export default ToggleWithText;
|
@@ -0,0 +1,69 @@
|
|
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 { jsxs as _jsxs } from "react/jsx-runtime";
|
25
|
+
import React, { Children, forwardRef } from 'react';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
28
|
+
import { radiusVariants, toggleAppearanceStyle } from '../../../lib/constants';
|
29
|
+
import { scalingVariants } from '../../../lib/constants';
|
30
|
+
import { cn } from '../../../lib/utils/utils';
|
31
|
+
import { useTheme } from '../../../lib/theme';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
33
|
+
var toggleWithTextVariants = cva('flex items-center justify-center box-border font-medium w-fit', {
|
34
|
+
variants: {
|
35
|
+
radius: __assign({}, radiusVariants['base']),
|
36
|
+
size: {
|
37
|
+
small: 'h-6 px-2 text-xs gap-1',
|
38
|
+
medium: 'h-8 px-3 text-sm gap-2',
|
39
|
+
large: 'h-10 px-4 text-base gap-3',
|
40
|
+
},
|
41
|
+
scaling: __assign({}, scalingVariants),
|
42
|
+
},
|
43
|
+
defaultVariants: {
|
44
|
+
radius: 'medium',
|
45
|
+
size: 'medium',
|
46
|
+
scaling: '100%',
|
47
|
+
},
|
48
|
+
});
|
49
|
+
export var IconScaling = {
|
50
|
+
small: 'w-[14px]',
|
51
|
+
medium: 'w-4',
|
52
|
+
large: 'w-[18px]',
|
53
|
+
};
|
54
|
+
export var ToggleWithText = forwardRef(function (_a, ref) {
|
55
|
+
var _b;
|
56
|
+
var className = _a.className, children = _a.children, radius = _a.radius, _c = _a.size, size = _c === void 0 ? 'medium' : _c, scaling = _a.scaling, color = _a.color, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, text = _a.text, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance", "text"]);
|
57
|
+
var theme = useTheme().theme;
|
58
|
+
var contextValue = {
|
59
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
60
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
61
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
62
|
+
size: size,
|
63
|
+
};
|
64
|
+
return (_jsxs(TogglePrimitive.Root, __assign({ ref: ref, className: cn(toggleWithTextVariants(contextValue), toggleAppearanceStyle(appearance, contextValue.color, true, 'data-[state=on]:'), className) }, props, { children: [Children.map(children, function (child) {
|
65
|
+
return React.cloneElement(child, { className: IconScaling[size] });
|
66
|
+
}), text] })));
|
67
|
+
});
|
68
|
+
ToggleWithText.displayName = 'ToggleWithText';
|
69
|
+
export default ToggleWithText;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export { ToggleWithText } from './ToggleWithText';
|
6
|
+
export interface ToggleProps extends VariantProps<typeof toggleVariants> {
|
7
|
+
size?: 'small' | 'medium' | 'large';
|
8
|
+
appearance?: IAppearance;
|
9
|
+
}
|
10
|
+
declare const toggleVariants: (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
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
15
|
+
export declare const IconScaling: {
|
16
|
+
small: string;
|
17
|
+
medium: string;
|
18
|
+
large: string;
|
19
|
+
};
|
20
|
+
export declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
21
|
+
export default Toggle;
|
@@ -0,0 +1,69 @@
|
|
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 React, { Children, forwardRef } from 'react';
|
26
|
+
import { cva } from 'class-variance-authority';
|
27
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
28
|
+
import { radiusVariants, scalingVariants, toggleAppearanceStyle } from '../../../lib/constants';
|
29
|
+
import { cn } from '../../../lib/utils/utils';
|
30
|
+
import { useTheme } from '../../../lib/theme';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
32
|
+
export { ToggleWithText } from './ToggleWithText';
|
33
|
+
var toggleVariants = cva('grid place-content-center items-center justify-center box-border"', {
|
34
|
+
variants: {
|
35
|
+
radius: __assign({}, radiusVariants['base']),
|
36
|
+
size: {
|
37
|
+
small: 'w-6 h-6 p-[6px]',
|
38
|
+
medium: 'w-8 h-8 p-2',
|
39
|
+
large: 'w-10 h-10 p-[11px]',
|
40
|
+
},
|
41
|
+
scaling: __assign({}, scalingVariants),
|
42
|
+
},
|
43
|
+
defaultVariants: {
|
44
|
+
radius: 'medium',
|
45
|
+
size: 'medium',
|
46
|
+
scaling: '100%',
|
47
|
+
},
|
48
|
+
});
|
49
|
+
export var IconScaling = {
|
50
|
+
small: 'w-[14px]',
|
51
|
+
medium: 'w-4',
|
52
|
+
large: 'w-[18px]',
|
53
|
+
};
|
54
|
+
export var Toggle = forwardRef(function (_a, ref) {
|
55
|
+
var _b;
|
56
|
+
var className = _a.className, children = _a.children, radius = _a.radius, _c = _a.size, size = _c === void 0 ? 'medium' : _c, scaling = _a.scaling, color = _a.color, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance"]);
|
57
|
+
var theme = useTheme().theme;
|
58
|
+
var contextValue = {
|
59
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
60
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
61
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
62
|
+
size: size,
|
63
|
+
};
|
64
|
+
return (_jsx(TogglePrimitive.Root, __assign({ ref: ref, className: cn(toggleVariants(contextValue), toggleAppearanceStyle(appearance, contextValue.color, true, 'data-[state=on]:'), className) }, props, { children: Children.map(children, function (child) {
|
65
|
+
return React.cloneElement(child, { className: IconScaling[size] });
|
66
|
+
}) })));
|
67
|
+
});
|
68
|
+
Toggle.displayName = 'Toggle';
|
69
|
+
export default Toggle;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { IAppearance } from '../../../lib/types';
|
5
|
+
export interface ToggleGroupItemProps extends VariantProps<typeof toggleGroupItemVariants> {
|
6
|
+
appearance?: IAppearance;
|
7
|
+
size?: 'small' | 'medium' | 'large';
|
8
|
+
}
|
9
|
+
export declare const toggleGroupItemVariants: (props?: ({
|
10
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
11
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
|
+
export declare const IconScaling: {
|
13
|
+
small: string;
|
14
|
+
medium: string;
|
15
|
+
large: string;
|
16
|
+
};
|
17
|
+
export declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -0,0 +1,55 @@
|
|
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 React, { Children, forwardRef, useContext, } from 'react';
|
26
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
27
|
+
import { cva } from 'class-variance-authority';
|
28
|
+
import { toggleAppearanceStyle } from '../../../lib/constants';
|
29
|
+
import { ToggleGroupContext } from './ToggleGroupRoot';
|
30
|
+
import { cn } from '../../../lib/utils/utils';
|
31
|
+
export var toggleGroupItemVariants = cva('grid place-content-center mr-[-1px] first:rounded-l last:rounded-r', {
|
32
|
+
variants: {
|
33
|
+
size: {
|
34
|
+
small: 'w-6 h-6 p-[6px]',
|
35
|
+
medium: 'w-8 h-8 p-2',
|
36
|
+
large: 'w-10 h-10 p-[11px]',
|
37
|
+
},
|
38
|
+
},
|
39
|
+
defaultVariants: {
|
40
|
+
size: 'medium',
|
41
|
+
},
|
42
|
+
});
|
43
|
+
export var IconScaling = {
|
44
|
+
small: 'w-[14px]',
|
45
|
+
medium: 'w-4',
|
46
|
+
large: 'w-[18px]',
|
47
|
+
};
|
48
|
+
export var ToggleGroupItem = forwardRef(function (_a, ref) {
|
49
|
+
var className = _a.className, children = _a.children, value = _a.value, props = __rest(_a, ["className", "children", "value"]);
|
50
|
+
var _b = useContext(ToggleGroupContext), size = _b.size, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'surface' : _c;
|
51
|
+
return (_jsx(ToggleGroupPrimitive.Item, __assign({ ref: ref, value: value, className: cn(toggleGroupItemVariants({ size: size }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className) }, props, { children: Children.map(children, function (child) {
|
52
|
+
return React.cloneElement(child, { className: IconScaling[size !== null && size !== void 0 ? size : 'medium'] });
|
53
|
+
}) })));
|
54
|
+
});
|
55
|
+
ToggleGroupItem.displayName = 'ToggleGroup.Item';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import { toggleGroupItemVariants } from './ToggleGroupItem';
|
5
|
+
import { IAppearance, IColor } from '../../../lib/types';
|
6
|
+
export interface ToggleGroupProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
|
7
|
+
appearance?: IAppearance;
|
8
|
+
color?: IColor;
|
9
|
+
}
|
10
|
+
declare const toggleVariants: (props?: ({
|
11
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
|
+
export declare const ToggleGroupContext: React.Context<ToggleGroupProps>;
|
14
|
+
export declare const ToggleGroupRoot: React.ForwardRefExoticComponent<(React.ComponentPropsWithoutRef<React.ForwardRefExoticComponent<(ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>> & ToggleGroupProps) & React.RefAttributes<HTMLDivElement>>;
|
15
|
+
export {};
|