@lotte-innovate/ui-component-test 0.1.104 → 0.1.106
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/globals.css +1 -1
- package/dist/lib/Typography/Header/index.d.ts +1 -1
- package/dist/lib/Typography/Header/index.js +3 -5
- package/dist/lib/Typography/Header/index.mjs +3 -0
- package/dist/lib/Typography/Text/index.d.ts +1 -1
- package/dist/lib/Typography/Text/index.js +3 -5
- package/dist/lib/Typography/Text/index.mjs +3 -0
- package/dist/lib/color/alpha.mjs.map +1 -0
- package/dist/lib/color/constants.mjs.map +1 -0
- package/dist/lib/color/light.mjs.map +1 -0
- package/dist/lib/components/Accordion/index.d.ts +1 -1
- package/dist/lib/components/Accordion/index.js +4 -4
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +4 -4
- package/dist/lib/components/AlertDialog/index.mjs.map +1 -0
- package/dist/lib/components/AspectRatio/index.js +3 -3
- package/dist/lib/components/Avatar/index.d.ts +2 -2
- package/dist/lib/components/Avatar/index.js +7 -7
- package/dist/lib/{dist/lib/components → components}/Avatar/index.mjs +1 -1
- package/dist/lib/components/Badge/index.d.ts +1 -1
- package/dist/lib/components/Badge/index.js +4 -4
- package/dist/lib/components/BarChart/index.d.ts +1 -1
- package/dist/lib/components/BarChart/index.js +4 -4
- package/dist/lib/components/BarChart/index.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +3 -3
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +1 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/lib/components/BubbleChart/index.d.ts +1 -1
- package/dist/lib/components/BubbleChart/index.js +4 -4
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -0
- package/dist/lib/components/Button/index.d.ts +1 -1
- package/dist/lib/components/Button/index.js +4 -4
- package/dist/lib/components/Callout/CalloutIcon.js +2 -2
- package/dist/lib/components/Callout/CalloutRoot.d.ts +1 -1
- package/dist/lib/components/Callout/CalloutRoot.js +3 -3
- package/dist/lib/components/Callout/CalloutText.js +1 -1
- package/dist/lib/components/Callout/index.mjs.map +1 -0
- package/dist/lib/components/Card/index.d.ts +1 -1
- package/dist/lib/components/Card/index.js +3 -3
- package/dist/lib/components/Checkbox/index.d.ts +1 -1
- package/dist/lib/components/Checkbox/index.js +4 -4
- package/dist/lib/components/CheckboxCard/index.d.ts +2 -2
- package/dist/lib/components/CheckboxCard/index.js +5 -5
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +2 -2
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +3 -3
- package/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
- package/dist/lib/components/Collapsible/index.d.ts +21 -0
- package/dist/lib/components/Collapsible/index.js +75 -0
- package/dist/lib/components/Collapsible/index.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -3
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +3 -3
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/index.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListItem.js +2 -2
- package/dist/lib/components/DataList/DataListLabel.js +2 -2
- package/dist/lib/components/DataList/DataListRoot.js +2 -2
- package/dist/lib/components/DataList/DataListValue.js +2 -2
- package/dist/lib/components/DataList/index.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogAction.js +3 -3
- package/dist/lib/components/Dialog/DialogCancel.js +1 -1
- package/dist/lib/components/Dialog/DialogContent.js +2 -2
- package/dist/lib/components/Dialog/DialogDescription.js +1 -1
- package/dist/lib/components/Dialog/DialogRoot.js +2 -2
- package/dist/lib/components/Dialog/DialogSlot.js +1 -1
- package/dist/lib/components/Dialog/DialogTitle.js +1 -1
- package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
- package/dist/lib/components/Dialog/index.mjs.map +1 -0
- package/dist/lib/components/DoughnutChart/index.d.ts +1 -1
- package/dist/lib/components/DoughnutChart/index.js +3 -3
- package/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
- package/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
- package/dist/lib/components/Editor/index copy.d.ts +15 -1
- package/dist/lib/components/Editor/index copy.js +36 -33
- package/dist/lib/components/Editor/index.d.ts +1 -15
- package/dist/lib/components/Editor/index.js +9 -36
- package/dist/lib/components/Editor/index.mjs +3 -0
- package/dist/lib/components/Footer/index.js +3 -3
- package/dist/lib/components/Gnb/GnbInfo.js +1 -1
- package/dist/lib/components/Gnb/GnbLogo.js +2 -2
- package/dist/lib/components/Gnb/GnbMenu.d.ts +1 -1
- package/dist/lib/components/Gnb/GnbMenu.js +1 -1
- package/dist/lib/components/Gnb/GnbRoot.js +3 -3
- package/dist/lib/components/Gnb/index.mjs.map +1 -0
- package/dist/lib/components/Grid/Pagination.mjs.map +1 -0
- package/dist/lib/components/Grid/index.d.ts +3 -0
- package/dist/lib/components/Grid/index.js +16 -2
- package/dist/lib/components/Grid/index.mjs +3 -0
- package/dist/lib/components/HoverCard/HoverCardContent.js +2 -2
- package/dist/lib/components/HoverCard/HoverCardRoot.js +2 -2
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
- package/dist/lib/components/HoverCard/index.mjs.map +1 -0
- package/dist/lib/components/IconButton/index.d.ts +1 -1
- package/dist/lib/components/IconButton/index.js +4 -4
- package/dist/lib/components/Inset/index.js +3 -3
- package/dist/lib/components/Label/index.d.ts +1 -1
- package/dist/lib/components/Label/index.js +3 -3
- package/dist/lib/components/LineChart/index.d.ts +1 -1
- package/dist/lib/components/LineChart/index.js +4 -4
- package/dist/lib/components/LineChart/index.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -3
- package/dist/lib/components/Menubar/MenubarContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarItem.js +3 -3
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +2 -2
- package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -3
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.js +4 -4
- package/dist/lib/components/Menubar/MenubarSeparator.js +1 -1
- package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSubContent.js +2 -2
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -3
- package/dist/lib/components/Menubar/MenubarTrigger.js +2 -2
- package/dist/lib/components/Menubar/index.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +3 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +2 -2
- package/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
- package/dist/lib/components/PieChart/index.d.ts +1 -1
- package/dist/lib/components/PieChart/index.js +3 -3
- package/dist/lib/components/PieChart/index.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverClose.js +1 -1
- package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverContent.js +2 -2
- package/dist/lib/components/Popover/PopoverRoot.js +1 -1
- package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
- package/dist/lib/components/Popover/index.mjs.map +1 -0
- package/dist/lib/components/Progress/index.js +4 -4
- package/dist/lib/components/RadarChart/index.d.ts +1 -1
- package/dist/lib/components/RadarChart/index.js +4 -4
- package/dist/lib/components/RadarChart/index.mjs.map +1 -0
- package/dist/lib/components/Radio/index.d.ts +1 -1
- package/dist/lib/components/Radio/index.js +4 -4
- package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +4 -4
- package/dist/lib/components/RadioCards/index.mjs.map +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +3 -3
- package/dist/lib/components/RadioGroup/index.mjs.map +1 -0
- package/dist/lib/components/ScrollArea/index.js +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +3 -3
- package/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/lib/components/Select/index.d.ts +1 -1
- package/dist/lib/components/Select/index.js +4 -4
- package/dist/lib/components/Separator/index.js +3 -3
- package/dist/lib/components/Skeleton/index.d.ts +1 -1
- package/dist/lib/components/Skeleton/index.js +3 -3
- package/dist/lib/components/Slider/index.d.ts +1 -1
- package/dist/lib/components/Slider/index.js +4 -4
- package/dist/lib/components/Spinner/index.d.ts +1 -1
- package/dist/lib/components/Spinner/index.js +3 -3
- package/dist/lib/components/TabNav/index.js +3 -3
- package/dist/lib/components/Table/index.d.ts +1 -1
- package/dist/lib/components/Table/index.js +3 -3
- package/dist/lib/components/Tabs/index.d.ts +1 -1
- package/dist/lib/components/Tabs/index.js +4 -4
- package/dist/lib/components/TextArea/index.d.ts +1 -1
- package/dist/lib/components/TextArea/index.js +4 -4
- package/dist/lib/components/TextField/index.d.ts +1 -1
- package/dist/lib/components/TextField/index.js +4 -4
- package/dist/lib/components/Timeline/TimelineConnector.js +1 -1
- package/dist/lib/components/Timeline/TimelineContent.js +1 -1
- package/dist/lib/components/Timeline/TimelineDescription.js +1 -1
- package/dist/lib/components/Timeline/TimelineHeader.js +1 -1
- package/dist/lib/components/Timeline/TimelineIcon.js +2 -2
- package/dist/lib/components/Timeline/TimelineItem.js +1 -1
- package/dist/lib/components/Timeline/TimelineRoot.js +2 -2
- package/dist/lib/components/Timeline/TimelineTime.js +1 -1
- package/dist/lib/components/Timeline/TimelineTitle.js +1 -1
- package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
- package/dist/lib/components/Toast/ToastActionButton.js +10 -6
- package/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
- package/dist/lib/components/Toast/ToastDescription.d.ts +1 -1
- package/dist/lib/components/Toast/ToastDescription.js +1 -1
- package/dist/lib/components/Toast/ToastRoot.js +3 -3
- package/dist/lib/components/Toast/ToastTitle.d.ts +1 -1
- package/dist/lib/components/Toast/ToastTitle.js +1 -1
- package/dist/lib/components/Toast/index.mjs.map +1 -0
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.js +5 -5
- package/dist/lib/components/Toggle/index.d.ts +1 -1
- package/dist/lib/components/Toggle/index.js +4 -4
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -2
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +4 -4
- package/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
- package/dist/lib/components/ToggleSwitch/index.js +5 -5
- package/dist/lib/components/Tooltip/index.d.ts +1 -1
- package/dist/lib/components/Tooltip/index.js +3 -3
- package/dist/lib/components/Tooltip/index.mjs.map +1 -0
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/components/index.js +1 -0
- package/dist/lib/constants.js +1 -1
- package/dist/lib/constants.mjs.map +1 -0
- package/dist/lib/index.mjs +2 -0
- package/dist/lib/theme/ThemeProvider.d.ts +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/utils/useDarkMode.js +1 -1
- package/dist/lib/utils/utils.mjs.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/lib/_virtual/_commonjsHelpers.mjs +0 -2
- package/dist/lib/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/dist/lib/_virtual/icons.mjs +0 -2
- package/dist/lib/_virtual/icons.mjs.map +0 -1
- package/dist/lib/_virtual/index.mjs +0 -2
- package/dist/lib/_virtual/index10.mjs +0 -2
- package/dist/lib/_virtual/index10.mjs.map +0 -1
- package/dist/lib/_virtual/index11.mjs +0 -2
- package/dist/lib/_virtual/index11.mjs.map +0 -1
- package/dist/lib/_virtual/index12.mjs +0 -2
- package/dist/lib/_virtual/index12.mjs.map +0 -1
- package/dist/lib/_virtual/index13.mjs +0 -2
- package/dist/lib/_virtual/index13.mjs.map +0 -1
- package/dist/lib/_virtual/index14.mjs +0 -2
- package/dist/lib/_virtual/index14.mjs.map +0 -1
- package/dist/lib/_virtual/index15.mjs +0 -2
- package/dist/lib/_virtual/index15.mjs.map +0 -1
- package/dist/lib/_virtual/index16.mjs +0 -2
- package/dist/lib/_virtual/index16.mjs.map +0 -1
- package/dist/lib/_virtual/index17.mjs +0 -2
- package/dist/lib/_virtual/index17.mjs.map +0 -1
- package/dist/lib/_virtual/index18.mjs +0 -2
- package/dist/lib/_virtual/index18.mjs.map +0 -1
- package/dist/lib/_virtual/index2.mjs +0 -2
- package/dist/lib/_virtual/index2.mjs.map +0 -1
- package/dist/lib/_virtual/index3.mjs +0 -2
- package/dist/lib/_virtual/index3.mjs.map +0 -1
- package/dist/lib/_virtual/index4.mjs +0 -2
- package/dist/lib/_virtual/index4.mjs.map +0 -1
- package/dist/lib/_virtual/index5.mjs +0 -2
- package/dist/lib/_virtual/index5.mjs.map +0 -1
- package/dist/lib/_virtual/index6.mjs +0 -2
- package/dist/lib/_virtual/index6.mjs.map +0 -1
- package/dist/lib/_virtual/index7.mjs +0 -2
- package/dist/lib/_virtual/index7.mjs.map +0 -1
- package/dist/lib/_virtual/index8.mjs +0 -2
- package/dist/lib/_virtual/index8.mjs.map +0 -1
- package/dist/lib/_virtual/index9.mjs +0 -2
- package/dist/lib/_virtual/index9.mjs.map +0 -1
- package/dist/lib/_virtual/model.mjs +0 -2
- package/dist/lib/_virtual/model.mjs.map +0 -1
- package/dist/lib/_virtual/plugin.mjs +0 -2
- package/dist/lib/_virtual/plugin.mjs.map +0 -1
- package/dist/lib/_virtual/plugin2.mjs +0 -2
- package/dist/lib/_virtual/plugin2.mjs.map +0 -1
- package/dist/lib/_virtual/plugin3.mjs +0 -2
- package/dist/lib/_virtual/plugin3.mjs.map +0 -1
- package/dist/lib/_virtual/plugin4.mjs +0 -2
- package/dist/lib/_virtual/plugin4.mjs.map +0 -1
- package/dist/lib/_virtual/plugin5.mjs +0 -2
- package/dist/lib/_virtual/plugin5.mjs.map +0 -1
- package/dist/lib/_virtual/plugin6.mjs +0 -2
- package/dist/lib/_virtual/plugin6.mjs.map +0 -1
- package/dist/lib/_virtual/theme.mjs +0 -2
- package/dist/lib/_virtual/theme.mjs.map +0 -1
- package/dist/lib/_virtual/tinymce.mjs +0 -2
- package/dist/lib/_virtual/tinymce.mjs.map +0 -1
- package/dist/lib/_virtual/tinymce2.mjs +0 -2
- package/dist/lib/_virtual/tinymce2.mjs.map +0 -1
- package/dist/lib/dist/lib/Typography/Header/index.mjs +0 -3
- package/dist/lib/dist/lib/Typography/Text/index.mjs +0 -3
- package/dist/lib/dist/lib/color/alpha.mjs.map +0 -1
- package/dist/lib/dist/lib/color/constants.mjs.map +0 -1
- package/dist/lib/dist/lib/color/light.mjs.map +0 -1
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/BarChart/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Callout/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +0 -1
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +0 -1
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +0 -1
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/DataList/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Dialog/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +0 -1
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +0 -1
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +0 -1
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Editor/index.mjs +0 -3
- package/dist/lib/dist/lib/components/Gnb/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Grid/index.mjs +0 -3
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +0 -1
- package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/LineChart/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Menubar/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +0 -1
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +0 -1
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/PieChart/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Popover/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +0 -1
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +0 -3
- package/dist/lib/dist/lib/components/Toast/index.mjs.map +0 -1
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +0 -1
- package/dist/lib/dist/lib/constants.mjs.map +0 -1
- package/dist/lib/dist/lib/index.mjs +0 -2
- package/dist/lib/dist/lib/index.mjs.map +0 -1
- package/dist/lib/dist/lib/utils/utils.mjs.map +0 -1
- package/dist/lib/index.css +0 -3749
- package/dist/lib/node_modules/tinymce/icons/default/icons.mjs +0 -2
- package/dist/lib/node_modules/tinymce/icons/default/icons.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/icons/default/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/icons/default/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/models/dom/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/models/dom/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/models/dom/model.mjs +0 -2
- package/dist/lib/node_modules/tinymce/models/dom/model.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/advlist/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/advlist/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/advlist/plugin.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/advlist/plugin.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/code/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/code/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/code/plugin.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/code/plugin.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/emoticons/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/emoticons/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/emoticons/js/emojis.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/emoticons/js/emojis.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/emoticons/plugin.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/emoticons/plugin.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/link/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/link/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/link/plugin.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/link/plugin.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/lists/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/lists/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/lists/plugin.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/lists/plugin.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/table/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/table/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/plugins/table/plugin.mjs +0 -2
- package/dist/lib/node_modules/tinymce/plugins/table/plugin.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/themes/silver/index.mjs +0 -2
- package/dist/lib/node_modules/tinymce/themes/silver/index.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/themes/silver/theme.mjs +0 -2
- package/dist/lib/node_modules/tinymce/themes/silver/theme.mjs.map +0 -1
- package/dist/lib/node_modules/tinymce/tinymce.mjs +0 -2
- package/dist/lib/node_modules/tinymce/tinymce.mjs.map +0 -1
- /package/dist/lib/{dist/lib/Typography → Typography}/Header/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/Typography → Typography}/Text/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/color → color}/alpha.mjs +0 -0
- /package/dist/lib/{dist/lib/color → color}/constants.mjs +0 -0
- /package/dist/lib/{dist/lib/color → color}/light.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Accordion/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Accordion/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogAction.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogAction.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogCancel.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogCancel.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogDescription.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogDescription.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogTitle.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogTitle.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/AlertDialogTrigger.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/AlertDialog/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AspectRatio/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/AspectRatio/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Avatar/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Badge/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Badge/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/BarChart/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/BreadcrumbEllipsis.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/BreadcrumbItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/BreadcrumbLink.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/BreadcrumbList.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/BreadcrumbPage.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/BreadcrumbRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/BreadcrumbRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/BreadcrumbSeparator.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Breadcrumb/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/BubbleChart/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Button/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Button/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Callout/CalloutIcon.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Callout/CalloutIcon.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Callout/CalloutRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Callout/CalloutRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Callout/CalloutText.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Callout/CalloutText.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Callout/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Card/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Card/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Checkbox/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Checkbox/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/CheckboxCard/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/CheckboxCard/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/CheckboxGroup/CheckboxGroupItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/CheckboxGroup/CheckboxGroupItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/CheckboxGroup/CheckboxGroupRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/CheckboxGroup/CheckboxGroupRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/CheckboxGroup/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Editor → components/Collapsible}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuCheckboxItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuCheckboxItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuGroup.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuItemIndicator.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuItemIndicator.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuLabel.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuLabel.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuRadioGroup.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuRadioGroup.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuRadioItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuRadioItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuSeparator.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuSubContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuSubContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuSubTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuSubTrigger.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/ContextMenuTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ContextMenu/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/DataListItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/DataListItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/DataListLabel.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/DataListLabel.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/DataListRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/DataListRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/DataListValue.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/DataListValue.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DataList/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogAction.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogAction.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogCancel.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogCancel.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogDescription.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogDescription.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogSlot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogSlot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogTitle.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogTitle.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/DialogTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Dialog/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DoughnutChart/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdonMenuRadioGroup.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdonMenuSubContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdonMenuSubContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuCheckboxItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuItemIndicator.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuItemIndicator.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuLable.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuLable.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuRadioItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuRadioItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuSeparator.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuSub.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuSubTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuSubTrigger.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/DropdownMenuTrigger.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/DropdownMenu/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Footer → components/Editor}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Footer/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Grid → components/Footer}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/GnbInfo.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/GnbInfo.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/GnbLogo.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/GnbLogo.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/GnbMenu.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/GnbMenu.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/GnbRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/GnbRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Gnb/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Grid/Pagination.mjs +0 -0
- /package/dist/lib/{dist/lib/components/IconButton → components/Grid}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Grid/useGrid.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Grid/useGrid.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/HoverCard/HoverCardContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/HoverCard/HoverCardContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/HoverCard/HoverCardRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/HoverCard/HoverCardRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/HoverCard/HoverCardTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/HoverCard/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/IconButton/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Inset → components/IconButton}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Inset/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Label → components/Inset}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Label/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Progress → components/Label}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/LineChart/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarCheckboxItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarCheckboxItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarItemIndicator.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarItemIndicator.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarMenu.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarRadioGroup.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarRadioGroup.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarRadioItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarRadioItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarSeparator.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarSub.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarSubContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarSubContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarSubTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarSubTrigger.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/MenubarTrigger.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Menubar/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuIndicator.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuLink.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuLink.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuList.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuList.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuTrigger.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuViewport.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/NavigationMenuViewport.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/NavigationMenu/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/PieChart/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Popover/PopoverClose.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Popover/PopoverClose.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Popover/PopoverContent.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Popover/PopoverContent.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Popover/PopoverRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Popover/PopoverRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Popover/PopoverTrigger.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Popover/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Progress/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Radio → components/Progress}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadarChart/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Radio/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/ScrollArea → components/Radio}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioCards/RadioCardsItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioCards/RadioCardsItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioCards/RadioCardsRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioCards/RadioCardsRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioCards/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioGroup/RadioGroupItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioGroup/RadioGroupItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioGroup/RadioGroupRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioGroup/RadioGroupRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/RadioGroup/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ScrollArea/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Select → components/ScrollArea}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/SegmentedControl/SegmentedControlItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/SegmentedControl/SegmentedControlRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/SegmentedControl/SegmentedControlRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/SegmentedControl/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Select/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Separator → components/Select}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Separator/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Skeleton → components/Separator}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Skeleton/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Slider → components/Skeleton}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Slider/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Spinner → components/Slider}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Spinner/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/TabNav → components/Spinner}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/TabNav/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Table → components/TabNav}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Table/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Tabs → components/Table}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Tabs/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/TextArea → components/Tabs}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/TextArea/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/TextField → components/TextArea}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/TextField/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Toggle → components/TextField}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toast/ToastActionButton.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toast/ToastDescription.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toast/ToastDescription.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toast/ToastRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toast/ToastRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toast/ToastTitle.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toast/ToastTitle.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toast/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toggle/ToggleWithText.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toggle/ToggleWithText.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Toggle/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/ToggleSwitch → components/Toggle}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ToggleGroup/ToggleGroupItem.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ToggleGroup/ToggleGroupItem.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ToggleGroup/ToggleGroupRoot.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ToggleGroup/ToggleGroupRoot.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/ToggleGroup/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components → components}/ToggleSwitch/index.mjs +0 -0
- /package/dist/lib/{dist/lib/components/Tooltip → components/ToggleSwitch}/index.mjs.map +0 -0
- /package/dist/lib/{dist/lib/components → components}/Tooltip/index.mjs +0 -0
- /package/dist/lib/{dist/lib/constants.mjs → constants.mjs} +0 -0
- /package/dist/lib/{_virtual/index.mjs.map → index.mjs.map} +0 -0
- /package/dist/lib/{dist/lib/theme → theme}/ThemeProvider.mjs +0 -0
- /package/dist/lib/{dist/lib/theme → theme}/ThemeProvider.mjs.map +0 -0
- /package/dist/lib/{dist/lib/utils → utils}/useDarkMode.mjs +0 -0
- /package/dist/lib/{dist/lib/utils → utils}/useDarkMode.mjs.map +0 -0
- /package/dist/lib/{dist/lib/utils → utils}/utils.mjs +0 -0
@@ -24,9 +24,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../utils/utils';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { radiusVariants, scalingVariants } from '
|
29
|
+
import { radiusVariants, scalingVariants } from '../../constants';
|
30
30
|
import { useContextMenuContext } from './ContextMenuRoot';
|
31
31
|
export var contextMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
32
32
|
variants: {
|
@@ -25,11 +25,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
27
|
import { ChevronRightIcon } from '@radix-ui/react-icons';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
29
|
import { contextMenuItemVariants } from './ContextMenuItem';
|
30
|
-
import { blackText, menuItemAppearanceStyle } from '
|
30
|
+
import { blackText, menuItemAppearanceStyle } from '../../constants';
|
31
31
|
import { useContextMenuContext } from './ContextMenuRoot';
|
32
|
-
import { MAIN_COLOR } from '
|
32
|
+
import { MAIN_COLOR } from '../../color/constants';
|
33
33
|
export var ContextMenuSubTrigger = forwardRef(function (_a, ref) {
|
34
34
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
35
35
|
var _b = useContextMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../utils/utils';
|
27
27
|
export var ContextMenuTrigger = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
29
29
|
return (_jsx(ContextMenuPrimitive.Trigger, __assign({ ref: ref, className: cn("flex text-slate-12 dark:text-slateDark-12 text-base text-center justify-center", className) }, props, { children: children })));
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ContextMenuTrigger.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuTrigger.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../utils/utils';\nexport var ContextMenuTrigger = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(ContextMenuPrimitive.Trigger, __assign({ ref: ref, className: cn(\"flex text-slate-12 dark:text-slateDark-12 text-base text-center justify-center\", className) }, props, { children: children })));\n});\nContextMenuTrigger.displayName = 'ContextMenu.Trigger';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuTrigger","forwardRef","_a","ref","className","children","props","_jsx","ContextMenuPrimitive","Trigger","cn","displayName"],"mappings":"qKAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAKWiB,EAAqBC,GAAW,SAAUC,EAAIC,GACrD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQX,EAAOO,EAAI,CAAC,YAAa,aACvF,OAAQK,EAAKC,EAAqBC,QAAS7B,EAAS,CAAEuB,IAAKA,EAAKC,UAAWM,EAAG,iFAAkFN,IAAcE,EAAO,CAAED,SAAUA,IACrM,IACAL,EAAmBW,YAAc"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../lib/components/ContextMenu/index.js"],"sourcesContent":["import { ContextMenuRoot as Root } from './ContextMenuRoot';\nimport { ContextMenuContent as Content } from './ContextMenuContent';\nimport { ContextMenuCheckboxItem as CheckboxItem } from './ContextMenuCheckboxItem';\nimport { ContextMenuGroup as Group } from './ContextMenuGroup';\nimport { ContextMenuItem as Item } from './ContextMenuItem';\nimport { ContextMenuItemIndicator as ItemIndicator } from './ContextMenuItemIndicator';\nimport { ContextMenuLabel as Label } from './ContextMenuLabel';\nimport { ContextMenuTrigger as Trigger } from './ContextMenuTrigger';\nimport { ContextMenuRadioGroup as RadioGroup } from './ContextMenuRadioGroup';\nimport { ContextMenuRadioItem as RadioItem } from './ContextMenuRadioItem';\nimport { ContextMenuSeparator as Separator } from './ContextMenuSeparator';\nimport { ContextMenuSubTrigger as SubTrigger } from './ContextMenuSubTrigger';\nimport { ContextMenuSubContent as SubContent } from './ContextMenuSubContent';\nvar ContextMenu = {\n Root: Root,\n Content: Content,\n CheckboxItem: CheckboxItem,\n Group: Group,\n Item: Item,\n ItemIndicator: ItemIndicator,\n Label: Label,\n Trigger: Trigger,\n RadioGroup: RadioGroup,\n RadioItem: RadioItem,\n Separator: Separator,\n SubTrigger: SubTrigger,\n SubContent: SubContent,\n};\nexport default ContextMenu;\n"],"names":["ContextMenu","Root","Content","CheckboxItem","Group","Item","ItemIndicator","Label","Trigger","RadioGroup","RadioItem","Separator","SubTrigger","SubContent"],"mappings":"k0BAaG,IAACA,EAAc,CACdC,KAAMA,EACNC,QAASA,EACTC,aAAcA,EACdC,MAAOA,EACPC,KAAMA,EACNC,cAAeA,EACfC,MAAOA,EACPC,QAASA,EACTC,WAAYA,EACZC,UAAWA,EACXC,UAAWA,EACXC,WAAYA,EACZC,WAAYA"}
|
@@ -25,8 +25,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { scalingVariants } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { scalingVariants } from '../../constants';
|
30
30
|
import { useDataListContext } from './DataListRoot';
|
31
31
|
export var dataListItemVariants = cva('flex', {
|
32
32
|
variants: {
|
@@ -25,8 +25,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { weightVariants } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { weightVariants } from '../../constants';
|
30
30
|
import { useDataListContext } from './DataListRoot';
|
31
31
|
export var dataListLabelVariants = cva('text-slateA-11 dark:text-slateDarkA-11 w-[120px] mb-1', {
|
32
32
|
variants: {
|
@@ -25,8 +25,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { createContext, forwardRef, useContext, } from 'react';
|
26
26
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '
|
29
|
-
import { useTheme } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
|
+
import { useTheme } from '../../theme';
|
30
30
|
export var dataListVariants = cva('flex flex-col', {
|
31
31
|
variants: {
|
32
32
|
size: {
|
@@ -24,9 +24,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import { forwardRef } from 'react';
|
26
26
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
27
|
-
import { textColorStyle, weightVariants } from '
|
27
|
+
import { textColorStyle, weightVariants } from '../../constants';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../utils/utils';
|
30
30
|
import { useDataListContext } from './DataListRoot';
|
31
31
|
export var dataListValueVariants = cva('text-slate-12 dark:text-slateDark-12 w-[200px]', {
|
32
32
|
variants: {
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../lib/components/DataList/index.js"],"sourcesContent":["import { DataListRoot as Root } from './DataListRoot';\nimport { DataListItem as Item } from './DataListItem';\nimport { DataListLabel as Label } from './DataListLabel';\nimport { DataListValue as Value } from './DataListValue';\nvar DataList = { Root: Root, Item: Item, Label: Label, Value: Value };\nexport default DataList;\n"],"names":["DataList","Root","Item","Label","Value"],"mappings":"4MAIG,IAACA,EAAW,CAAEC,KAAMA,EAAMC,KAAMA,EAAMC,MAAOA,EAAOC,MAAOA"}
|
@@ -25,10 +25,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef, useContext } from 'react';
|
26
26
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { primaryColorStyle } from '
|
28
|
+
import { primaryColorStyle } from '../../constants';
|
29
29
|
import { DialogContext } from './DialogRoot';
|
30
|
-
import { cn } from '
|
31
|
-
import { MAIN_COLOR } from '
|
30
|
+
import { cn } from '../../utils/utils';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
export var dialogActionVariants = cva('rounded-md inline-flex font-medium items-center justify-center px-[15px] hover:cursor-pointer', {
|
33
33
|
variants: {
|
34
34
|
radius: {
|
@@ -26,7 +26,7 @@ import { forwardRef, useContext } from 'react';
|
|
26
26
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
28
|
import { DialogContext } from './DialogRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../utils/utils';
|
30
30
|
export var dialogCancelVariants = cva("rounded-md font-medium inline-flex justify-center items-center text-slate-11 bg-slate-3 outline-none border-none\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4\n active:border-none hover:cursor-pointer hover:bg-slateA-4", {
|
31
31
|
variants: {
|
32
32
|
radius: {
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef, useContext } from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
28
|
-
import { scalingVariants } from '
|
28
|
+
import { scalingVariants } from '../../constants';
|
29
29
|
import { DialogContext } from './DialogRoot';
|
30
|
-
import { cn } from '
|
30
|
+
import { cn } from '../../utils/utils';
|
31
31
|
export var dialogContentVariants = cva("rounded-md focus:outline-none bg-white dark:bg-slateDark-1 \n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]", {
|
32
32
|
variants: {
|
33
33
|
radius: {
|
@@ -26,7 +26,7 @@ import { forwardRef, useContext } from 'react';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
28
28
|
import { DialogContext } from './DialogRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../utils/utils';
|
30
30
|
export var dialogDescriptionVariants = cva('font-normal text-slate-12 dark:text-slateDark-12', {
|
31
31
|
variants: {
|
32
32
|
size: {
|
@@ -24,8 +24,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import { createContext } from 'react';
|
26
26
|
import { Theme, Dialog as DialogTheme } from '@radix-ui/themes';
|
27
|
-
import { useTheme } from '
|
28
|
-
import { MAIN_COLOR } from '
|
27
|
+
import { useTheme } from '../../theme';
|
28
|
+
import { MAIN_COLOR } from '../../color/constants';
|
29
29
|
export var DialogContext = createContext({
|
30
30
|
size: 'medium',
|
31
31
|
scaling: '100%',
|
@@ -25,7 +25,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef, useContext } from 'react';
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { DialogContext } from './DialogRoot';
|
28
|
-
import { cn } from '
|
28
|
+
import { cn } from '../../utils/utils';
|
29
29
|
export var dialogSlotVariants = cva('flex flex-col gap-2 font-normal text-slate-12 dark:text-slateDark-12', {
|
30
30
|
variants: {
|
31
31
|
size: {
|
@@ -26,7 +26,7 @@ import { forwardRef, useContext } from 'react';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import { Dialog as DialogTheme } from '@radix-ui/themes';
|
28
28
|
import { DialogContext } from './DialogRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../utils/utils';
|
30
30
|
export var dialogTitleVariants = cva('font-bold text-slate-12 dark:text-slateDark-12', {
|
31
31
|
variants: {
|
32
32
|
size: {
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DialogTrigger.mjs","sources":["../../../lib/components/Dialog/DialogTrigger.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport { Dialog as DialogTheme } from '@radix-ui/themes';\nexport var DialogTrigger = forwardRef(function (_a, ref) {\n var children = _a.children, className = _a.className, props = __rest(_a, [\"children\", \"className\"]);\n return (_jsx(DialogTheme.Trigger, __assign({ ref: ref, className: className }, props, { children: children })));\n});\nDialogTrigger.displayName = 'Dialog.Trigger';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","DialogTrigger","forwardRef","_a","ref","children","className","props","_jsx","DialogTheme","Trigger","displayName"],"mappings":"qHAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAIWiB,EAAgBC,GAAW,SAAUC,EAAIC,GAChD,IAAIC,EAAWF,EAAGE,SAAUC,EAAYH,EAAGG,UAAWC,EAAQX,EAAOO,EAAI,CAAC,WAAY,cACtF,OAAQK,EAAKC,EAAYC,QAAS7B,EAAS,CAAEuB,IAAKA,EAAKE,UAAWA,GAAaC,EAAO,CAAEF,SAAUA,IACtG,IACAJ,EAAcU,YAAc"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../lib/components/Dialog/index.js"],"sourcesContent":["import { DialogRoot } from './DialogRoot';\nimport { DialogTrigger } from './DialogTrigger';\nimport { DialogContent } from './DialogContent';\nimport { DialogTitle } from './DialogTitle';\nimport { DialogDescription } from './DialogDescription';\nimport { DialogSlot } from './DialogSlot';\nimport { DialogCancel } from './DialogCancel';\nimport { DialogAction } from './DialogAction';\nvar Dialog = {\n Root: DialogRoot,\n Trigger: DialogTrigger,\n Content: DialogContent,\n Title: DialogTitle,\n Description: DialogDescription,\n Slot: DialogSlot,\n Cancel: DialogCancel,\n Action: DialogAction,\n};\nexport default Dialog;\n"],"names":["Dialog","Root","DialogRoot","Trigger","DialogTrigger","Content","DialogContent","Title","DialogTitle","Description","DialogDescription","Slot","DialogSlot","Cancel","DialogCancel","Action","DialogAction"],"mappings":"oZAQG,IAACA,EAAS,CACTC,KAAMC,EACNC,QAASC,EACTC,QAASC,EACTC,MAAOC,EACPC,YAAaC,EACbC,KAAMC,EACNC,OAAQC,EACRC,OAAQC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
2
|
-
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '
|
2
|
+
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../types';
|
3
3
|
export interface DoughnutChartProps extends VariantProps<typeof doughnutVariants> {
|
4
4
|
labels?: string[];
|
5
5
|
appearance?: 'solid' | 'soft';
|
@@ -24,10 +24,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { Doughnut } from 'react-chartjs-2';
|
25
25
|
import { Chart as ChartJS, ArcElement, Tooltip, Legend, plugins } from 'chart.js/auto';
|
26
26
|
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
27
|
-
import { cn } from '
|
27
|
+
import { cn } from '../../utils/utils';
|
28
28
|
import { cva } from 'class-variance-authority';
|
29
|
-
import { scalingVariants } from '
|
30
|
-
import { chartColorList, chartAlphaColorList } from '
|
29
|
+
import { scalingVariants } from '../../constants';
|
30
|
+
import { chartColorList, chartAlphaColorList } from '../../color/constants';
|
31
31
|
ChartJS.register(ArcElement, Tooltip, Legend, plugins, ChartDataLabels);
|
32
32
|
ChartJS.defaults.set('plugins.datalabels', {
|
33
33
|
display: false,
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../lib/components/DoughnutChart/index.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { Doughnut } from 'react-chartjs-2';\nimport { Chart as ChartJS, ArcElement, Tooltip, Legend, plugins } from 'chart.js/auto';\nimport ChartDataLabels from 'chartjs-plugin-datalabels';\nimport { cn } from '../../utils/utils';\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../constants';\nimport { chartColorList, chartAlphaColorList } from '../../color/constants';\nChartJS.register(ArcElement, Tooltip, Legend, plugins, ChartDataLabels);\nChartJS.defaults.set('plugins.datalabels', {\n display: false,\n});\nvar doughnutVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nvar DoughnutChart = function (_a) {\n var labels = _a.labels, title = _a.title, legend = _a.legend, datasets = _a.datasets, datalabels = _a.datalabels, scaling = _a.scaling, className = _a.className, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, rest = __rest(_a, [\"labels\", \"title\", \"legend\", \"datasets\", \"datalabels\", \"scaling\", \"className\", \"appearance\", \"isColorMixed\"]);\n var getChartColor = function (isColorMixed, appearance) {\n if (appearance === 'solid') {\n return isColorMixed ? chartColorList.mixed : chartColorList.sorting;\n }\n if (appearance === 'soft') {\n return isColorMixed ? chartAlphaColorList.mixed : chartAlphaColorList.sorting;\n }\n };\n datasets.forEach(function (dataset, index) {\n datasets[index] = __assign(__assign({}, dataset), { backgroundColor: getChartColor(isColorMixed, appearance), borderColor: getChartColor(isColorMixed, 'solid') });\n });\n return (_jsx(Doughnut, __assign({ data: { labels: labels, datasets: datasets }, options: {\n plugins: {\n title: title,\n legend: legend,\n datalabels: datalabels,\n },\n }, className: cn(doughnutVariants({ scaling: scaling }), className) }, rest)));\n};\nDoughnutChart.displayName = 'DoughnutChart';\nexport default DoughnutChart;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ChartJS","register","ArcElement","Tooltip","Legend","plugins","ChartDataLabels","defaults","set","display","doughnutVariants","cva","variants","scaling","scalingVariants","defaultVariants","DoughnutChart","_a","labels","title","legend","datasets","datalabels","className","_b","appearance","_c","isColorMixed","rest","getChartColor","chartColorList","mixed","sorting","chartAlphaColorList","forEach","dataset","index","backgroundColor","borderColor","_jsx","Doughnut","data","options","cn","displayName"],"mappings":"4bAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EASAiB,EAAQC,SAASC,EAAYC,EAASC,EAAQC,EAASC,GACvDN,EAAQO,SAASC,IAAI,qBAAsB,CACvCC,SAAS,IAEb,IAAIC,EAAmBC,EAAI,GAAI,CAC3BC,SAAU,CACNC,QAASjC,EAAS,CAAE,EAAEkC,IAE1BC,gBAAiB,CACbF,QAAS,UAGbG,EAAgB,SAAUC,GAC1B,IAAIC,EAASD,EAAGC,OAAQC,EAAQF,EAAGE,MAAOC,EAASH,EAAGG,OAAQC,EAAWJ,EAAGI,SAAUC,EAAaL,EAAGK,WAAYT,EAAUI,EAAGJ,QAASU,EAAYN,EAAGM,UAAWC,EAAKP,EAAGQ,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EAAIE,EAAKT,EAAGU,aAAcA,OAAsB,IAAPD,GAAuBA,EAAIE,EAAOjC,EAAOsB,EAAI,CAAC,SAAU,QAAS,SAAU,WAAY,aAAc,UAAW,YAAa,aAAc,iBAC7YY,EAAgB,SAAUF,EAAcF,GACxC,MAAmB,UAAfA,EACOE,EAAeG,EAAeC,MAAQD,EAAeE,QAE7C,SAAfP,EACOE,EAAeM,EAAoBF,MAAQE,EAAoBD,aAD1E,CAGR,EAII,OAHAX,EAASa,SAAQ,SAAUC,EAASC,GAChCf,EAASe,GAASxD,EAASA,EAAS,GAAIuD,GAAU,CAAEE,gBAAiBR,EAAcF,EAAcF,GAAaa,YAAaT,EAAcF,EAAc,UAC/J,IACYY,EAAKC,EAAU5D,EAAS,CAAE6D,KAAM,CAAEvB,OAAQA,EAAQG,SAAUA,GAAYqB,QAAS,CACjFrC,QAAS,CACLc,MAAOA,EACPC,OAAQA,EACRE,WAAYA,IAEjBC,UAAWoB,EAAGjC,EAAiB,CAAEG,QAASA,IAAYU,IAAcK,GAC/E,EACAZ,EAAc4B,YAAc"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DropdonMenuRadioGroup.mjs","sources":["../../../lib/components/DropdownMenu/DropdonMenuRadioGroup.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport React, { forwardRef, Children } from 'react';\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nexport var DropdownMenuRadioGroup = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, value = _a.value, props = __rest(_a, [\"className\", \"children\", \"value\"]);\n return (_jsx(DropdownMenuPrimitive.RadioGroup, __assign({ ref: ref, className: className }, props, { children: Children.map(children, function (child) { return React.cloneElement(child, { selectedValue: value }); }) })));\n});\nDropdownMenuRadioGroup.displayName = 'DropdownMenu.RadioGroup';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","DropdownMenuRadioGroup","forwardRef","_a","ref","className","children","value","props","_jsx","DropdownMenuPrimitive","RadioGroup","Children","map","child","React","cloneElement","selectedValue","displayName"],"mappings":"4IAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAIWiB,EAAyBC,GAAW,SAAUC,EAAIC,GACzD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQJ,EAAGI,MAAOC,EAAQZ,EAAOO,EAAI,CAAC,YAAa,WAAY,UACrH,OAAQM,EAAKC,EAAsBC,WAAY9B,EAAS,CAAEuB,IAAKA,EAAKC,UAAWA,GAAaG,EAAO,CAAEF,SAAUM,EAASC,IAAIP,GAAU,SAAUQ,GAAS,OAAOC,EAAMC,aAAaF,EAAO,CAAEG,cAAeV,GAAS,MACxN,IACAN,EAAuBiB,YAAc"}
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef, useContext } from 'react';
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { scalingVariants } from '
|
28
|
+
import { scalingVariants } from '../../constants';
|
29
29
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
30
|
-
import { cn } from '
|
30
|
+
import { cn } from '../../utils/utils';
|
31
31
|
export var dropdownMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
32
32
|
variants: {
|
33
33
|
radius: {
|
@@ -24,12 +24,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
25
25
|
import { forwardRef, useContext } from 'react';
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
|
-
import { menuItemAppearanceStyle } from '
|
27
|
+
import { menuItemAppearanceStyle } from '../../constants';
|
28
28
|
import { dropdownMenuItemVariants } from './DropdownMenuItem';
|
29
29
|
import { DropdownMenuItemIndicator } from './DropdownMenuItemIndicator';
|
30
30
|
import { CheckIcon } from '@radix-ui/react-icons';
|
31
31
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
32
|
-
import { cn } from '
|
32
|
+
import { cn } from '../../utils/utils';
|
33
33
|
export var DropdownMenuCheckboxItem = forwardRef(function (_a, ref) {
|
34
34
|
var className = _a.className, children = _a.children, shortcut = _a.shortcut, checked = _a.checked, props = __rest(_a, ["className", "children", "shortcut", "checked"]);
|
35
35
|
var _b = useContext(DropdownMenuContext), radius = _b.radius, size = _b.size, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'solid' : _c;
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef, useContext } from 'react';
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { scalingVariants } from '
|
28
|
+
import { scalingVariants } from '../../constants';
|
29
29
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
30
|
-
import { cn } from '
|
30
|
+
import { cn } from '../../utils/utils';
|
31
31
|
export var dropdownMenuContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
32
32
|
variants: {
|
33
33
|
radius: {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from '
|
4
|
+
import { IColor } from '../../types';
|
5
5
|
export interface DropdownMenuItemProps extends VariantProps<typeof dropdownMenuItemVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
shortcut?: string;
|
@@ -25,10 +25,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef, useContext } from 'react';
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { menuItemAppearanceStyle, scalingVariants, radiusVariants, blackText } from '
|
28
|
+
import { menuItemAppearanceStyle, scalingVariants, radiusVariants, blackText } from '../../constants';
|
29
29
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
30
|
-
import { cn } from '
|
31
|
-
import { MAIN_COLOR } from '
|
30
|
+
import { cn } from '../../utils/utils';
|
31
|
+
import { MAIN_COLOR } from '../../color/constants';
|
32
32
|
export var dropdownMenuItemVariants = cva("flex gap-2 group relative leading-none select-none outline-none items-center\n data-[disabled]:text-slate-8 dark:data-[disabled]:text-slateDark-8 hover:data-[disabled]:bg-transparent dark:hover:data-[disabled]:bg-transparent text-slate-12 dark:text-slateDark-12", {
|
33
33
|
variants: {
|
34
34
|
radius: __assign({}, radiusVariants['menu-item']),
|
@@ -25,9 +25,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef, useContext } from 'react';
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { radiusVariants } from '
|
28
|
+
import { radiusVariants } from '../../constants';
|
29
29
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
30
|
-
import { cn } from '
|
30
|
+
import { cn } from '../../utils/utils';
|
31
31
|
export var dropdownMenuItemIndicatorVariants = cva("inline-flex items-center justify-center border", {
|
32
32
|
variants: {
|
33
33
|
radius: __assign({}, radiusVariants['base']),
|
@@ -26,7 +26,7 @@ import { forwardRef, useContext } from 'react';
|
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
27
|
import { cva } from 'class-variance-authority';
|
28
28
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../utils/utils';
|
30
30
|
export var dropdownMenuLabelVariants = cva("flex relative leading-none select-none outline-none items-center font-normal text-slateA-11 dark:text-slateDarkA-11", {
|
31
31
|
variants: {
|
32
32
|
size: {
|
@@ -26,10 +26,10 @@ import { forwardRef, useContext } from 'react';
|
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
27
|
import { DropdownMenuItemIndicator } from './DropdownMenuItemIndicator';
|
28
28
|
import { dropdownMenuItemVariants } from './DropdownMenuItem';
|
29
|
-
import { menuItemAppearanceStyle } from '
|
29
|
+
import { menuItemAppearanceStyle } from '../../constants';
|
30
30
|
import { DotFilledIcon } from '@radix-ui/react-icons';
|
31
31
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
32
|
-
import { cn } from '
|
32
|
+
import { cn } from '../../utils/utils';
|
33
33
|
export var DropdownMenuRadioItem = forwardRef(function (_a, ref) {
|
34
34
|
var className = _a.className, children = _a.children, selectedValue = _a.selectedValue, props = __rest(_a, ["className", "children", "selectedValue"]);
|
35
35
|
var _b = useContext(DropdownMenuContext), radius = _b.radius, size = _b.size, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'solid' : _c;
|
@@ -2,7 +2,7 @@ import React, { ComponentPropsWithoutRef } from 'react';
|
|
2
2
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
4
|
import { dropdownMenuContentVariants } from './DropdownMenuContent';
|
5
|
-
import { IColor } from '
|
5
|
+
import { IColor } from '../../types';
|
6
6
|
export interface DropdownMenuProps extends VariantProps<typeof dropdownMenuContentVariants> {
|
7
7
|
color?: IColor;
|
8
8
|
appearance?: 'solid' | 'soft';
|
@@ -24,8 +24,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
25
|
import { createContext } from 'react';
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
|
-
import { useTheme } from '
|
28
|
-
import { MAIN_COLOR } from '
|
27
|
+
import { useTheme } from '../../theme';
|
28
|
+
import { MAIN_COLOR } from '../../color/constants';
|
29
29
|
export var DropdownMenuContext = createContext({
|
30
30
|
radius: 'medium',
|
31
31
|
size: 'medium',
|
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
24
|
import { forwardRef } from 'react';
|
25
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
26
|
-
import { cn } from '
|
26
|
+
import { cn } from '../../utils/utils';
|
27
27
|
export var DropdownMenuSeparator = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, color = _a.color, props = __rest(_a, ["className", "children", "color"]);
|
29
29
|
return (_jsx(DropdownMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props)));
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DropdownMenuSeparator.mjs","sources":["../../../lib/components/DropdownMenu/DropdownMenuSeparator.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nimport { cn } from '../../utils/utils';\nexport var DropdownMenuSeparator = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, color = _a.color, props = __rest(_a, [\"className\", \"children\", \"color\"]);\n return (_jsx(DropdownMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props)));\n});\nDropdownMenuSeparator.displayName = 'DropdownMenu.Separator';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","DropdownMenuSeparator","forwardRef","_a","ref","className","children","color","props","_jsx","DropdownMenuPrimitive","Separator","cn","displayName"],"mappings":"sKAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAKWiB,EAAwBC,GAAW,SAAUC,EAAIC,GACrD,IAACC,EAAYF,EAAGE,UAAsBF,EAAGG,SAAkBH,EAAGI,MAAO,IAAAC,EAAQZ,EAAOO,EAAI,CAAC,YAAa,WAAY,UACrH,OAAQM,EAAKC,EAAsBC,UAAW9B,EAAS,CAAEuB,IAAKA,EAAKC,UAAWO,EAAG,iDAAkDP,IAAcG,GACrJ,IACAP,EAAsBY,YAAc"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DropdownMenuSub.mjs","sources":["../../../lib/components/DropdownMenu/DropdownMenuSub.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nexport var DropdownMenuSub = forwardRef(function (_a, ref) {\n var children = _a.children, props = __rest(_a, [\"children\"]);\n return _jsx(DropdownMenuPrimitive.Sub, __assign({}, props, { children: children }));\n});\nDropdownMenuSub.displayName = 'DropdownMenu.Sub';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","DropdownMenuSub","forwardRef","_a","ref","children","props","_jsx","DropdownMenuPrimitive","Sub","displayName"],"mappings":"2HAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAIWiB,EAAkBC,GAAW,SAAUC,EAAIC,GAClD,IAAIC,EAAWF,EAAGE,SAAUC,EAAQV,EAAOO,EAAI,CAAC,aAChD,OAAOI,EAAKC,EAAsBC,IAAK5B,EAAS,CAAA,EAAIyB,EAAO,CAAED,SAAUA,IAC3E,IACAJ,EAAgBS,YAAc"}
|
@@ -26,10 +26,10 @@ import { forwardRef, useContext } from 'react';
|
|
26
26
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
27
27
|
import { dropdownMenuItemVariants } from './DropdownMenuItem';
|
28
28
|
import { ChevronRightIcon } from '@radix-ui/react-icons';
|
29
|
-
import { blackText, menuItemAppearanceStyle } from '
|
29
|
+
import { blackText, menuItemAppearanceStyle } from '../../constants';
|
30
30
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
31
|
-
import { cn } from '
|
32
|
-
import { MAIN_COLOR } from '
|
31
|
+
import { cn } from '../../utils/utils';
|
32
|
+
import { MAIN_COLOR } from '../../color/constants';
|
33
33
|
export var DropdownMenuSubTrigger = forwardRef(function (_a, ref) {
|
34
34
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
35
35
|
var _b = useContext(DropdownMenuContext), size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
3
3
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
4
|
-
import { IColor } from '
|
4
|
+
import { IColor } from '../../types';
|
5
5
|
export interface DropdownMenuTriggerProps extends VariantProps<typeof dropdownMenuTriggerVariants> {
|
6
6
|
color?: IColor;
|
7
7
|
appearance?: 'classic' | 'surface';
|
@@ -26,7 +26,7 @@ import { forwardRef, useContext } from 'react';
|
|
26
26
|
import { cva } from 'class-variance-authority';
|
27
27
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
28
28
|
import { DropdownMenuContext } from './DropdownMenuRoot';
|
29
|
-
import { cn } from '
|
29
|
+
import { cn } from '../../utils/utils';
|
30
30
|
var dropdownMenuTriggerVariants = cva('', {
|
31
31
|
variants: {
|
32
32
|
radius: {
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../lib/components/DropdownMenu/index.js"],"sourcesContent":["import { DropdownMenuRoot } from './DropdownMenuRoot';\nimport { DropdownMenuTrigger } from './DropdownMenuTrigger';\nimport { DropdownMenuContent } from './DropdownMenuContent';\nimport { DropdownMenuLabel } from './DropdownMenuLable';\nimport { DropdownMenuItem } from './DropdownMenuItem';\nimport { DropdownMenuSeparator } from './DropdownMenuSeparator';\nimport { DropdownMenuCheckboxItem } from './DropdownMenuCheckboxItem';\nimport { DropdownMenuRadioGroup } from './DropdonMenuRadioGroup';\nimport { DropdownMenuRadioItem } from './DropdownMenuRadioItem';\nimport { DropdownMenuSub } from './DropdownMenuSub';\nimport { DropdownMenuSubTrigger } from './DropdownMenuSubTrigger';\nimport { DropdownMenuSubContent } from './DropdonMenuSubContent';\nimport { DropdownMenuItemIndicator } from './DropdownMenuItemIndicator';\nvar DropdownMenu = {\n Root: DropdownMenuRoot,\n Trigger: DropdownMenuTrigger,\n Content: DropdownMenuContent,\n Label: DropdownMenuLabel,\n Item: DropdownMenuItem,\n Separator: DropdownMenuSeparator,\n CheckboxItem: DropdownMenuCheckboxItem,\n RadioGroup: DropdownMenuRadioGroup,\n RadioItem: DropdownMenuRadioItem,\n Sub: DropdownMenuSub,\n SubTrigger: DropdownMenuSubTrigger,\n SubContent: DropdownMenuSubContent,\n ItemIndicator: DropdownMenuItemIndicator,\n};\nexport default DropdownMenu;\n"],"names":["DropdownMenu","Root","DropdownMenuRoot","Trigger","DropdownMenuTrigger","Content","DropdownMenuContent","Label","DropdownMenuLabel","Item","DropdownMenuItem","Separator","DropdownMenuSeparator","CheckboxItem","DropdownMenuCheckboxItem","RadioGroup","DropdownMenuRadioGroup","RadioItem","DropdownMenuRadioItem","Sub","DropdownMenuSub","SubTrigger","DropdownMenuSubTrigger","SubContent","DropdownMenuSubContent","ItemIndicator","DropdownMenuItemIndicator"],"mappings":"s1BAaG,IAACA,EAAe,CACfC,KAAMC,EACNC,QAASC,EACTC,QAASC,EACTC,MAAOC,EACPC,KAAMC,EACNC,UAAWC,EACXC,aAAcC,EACdC,WAAYC,EACZC,UAAWC,EACXC,IAAKC,EACLC,WAAYC,EACZC,WAAYC,EACZC,cAAeC"}
|
@@ -1,6 +1,19 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { IAllProps } from '@tinymce/tinymce-react';
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
4
|
+
import 'tinymce/icons/default';
|
5
|
+
import 'tinymce/themes/silver';
|
6
|
+
import 'tinymce/models/dom';
|
7
|
+
import 'tinymce/skins/ui/oxide/skin.css';
|
8
|
+
import 'tinymce/plugins/advlist';
|
9
|
+
import 'tinymce/plugins/code';
|
10
|
+
import 'tinymce/plugins/emoticons';
|
11
|
+
import 'tinymce/plugins/emoticons/js/emojis';
|
12
|
+
import 'tinymce/plugins/link';
|
13
|
+
import 'tinymce/plugins/lists';
|
14
|
+
import 'tinymce/plugins/table';
|
15
|
+
import 'tinymce/skins/ui/oxide/content.css';
|
16
|
+
import 'tinymce/skins/content/default/content.css';
|
4
17
|
export interface EditorProps extends VariantProps<typeof editorVariants> {
|
5
18
|
tinymceScriptSrc?: string;
|
6
19
|
}
|
@@ -8,5 +21,6 @@ declare const editorVariants: (props?: ({
|
|
8
21
|
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
9
22
|
size?: "small" | "medium" | "large" | null | undefined;
|
10
23
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
|
-
export declare const
|
24
|
+
export declare const initTinyMCE: () => void;
|
25
|
+
export declare const Editor: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & EditorProps & IAllProps & React.RefAttributes<HTMLTextAreaElement>>;
|
12
26
|
export default Editor;
|
@@ -22,12 +22,27 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
22
22
|
return t;
|
23
23
|
};
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
-
import { forwardRef } from 'react';
|
26
|
-
import { Editor as EditorUI } from '@tinymce/tinymce-react';
|
25
|
+
import { forwardRef, useEffect } from 'react';
|
27
26
|
import { cva } from 'class-variance-authority';
|
28
|
-
import { scalingVariants } from '
|
29
|
-
import
|
30
|
-
import
|
27
|
+
import { scalingVariants } from '../../constants';
|
28
|
+
import tinymce from 'tinymce';
|
29
|
+
/* Default icons are required. After that, import custom icons if applicable */
|
30
|
+
import 'tinymce/icons/default';
|
31
|
+
/* Required TinyMCE components */
|
32
|
+
import 'tinymce/themes/silver';
|
33
|
+
import 'tinymce/models/dom';
|
34
|
+
/* Import a skin (can be a custom skin instead of the default) */
|
35
|
+
import 'tinymce/skins/ui/oxide/skin.css';
|
36
|
+
/* Import plugins */
|
37
|
+
import 'tinymce/plugins/advlist';
|
38
|
+
import 'tinymce/plugins/code';
|
39
|
+
import 'tinymce/plugins/emoticons';
|
40
|
+
import 'tinymce/plugins/emoticons/js/emojis';
|
41
|
+
import 'tinymce/plugins/link';
|
42
|
+
import 'tinymce/plugins/lists';
|
43
|
+
import 'tinymce/plugins/table';
|
44
|
+
import 'tinymce/skins/ui/oxide/content.css';
|
45
|
+
import 'tinymce/skins/content/default/content.css';
|
31
46
|
var editorVariants = cva('', {
|
32
47
|
variants: {
|
33
48
|
scaling: __assign({}, scalingVariants),
|
@@ -42,36 +57,24 @@ var editorVariants = cva('', {
|
|
42
57
|
size: 'medium',
|
43
58
|
},
|
44
59
|
});
|
60
|
+
export var initTinyMCE = function () {
|
61
|
+
if (typeof window !== 'undefined') {
|
62
|
+
tinymce.init({
|
63
|
+
selector: '#tinymce',
|
64
|
+
plugins: 'link table image code',
|
65
|
+
toolbar: 'undo redo | formatselect | bold italic | alignleft aligncenter alignright | code',
|
66
|
+
skin: false,
|
67
|
+
tinymceScriptSrc: '',
|
68
|
+
src: '',
|
69
|
+
});
|
70
|
+
}
|
71
|
+
};
|
45
72
|
export var Editor = forwardRef(function (_a, ref) {
|
46
73
|
var className = _a.className, size = _a.size, scaling = _a.scaling, tinymceScriptSrc = _a.tinymceScriptSrc, props = __rest(_a, ["className", "size", "scaling", "tinymceScriptSrc"]);
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
plugins: ['advlist', 'autolink', 'lists', 'link', 'image', 'code', 'table', 'codesample'],
|
52
|
-
toolbar: 'undo redo | blocks | ' +
|
53
|
-
'bold italic forecolor strikethrough | hr blockquote | ' +
|
54
|
-
'bullist numlist outdent indent | ' +
|
55
|
-
'table image link | codeformat codesample | markdown',
|
56
|
-
content_style: 'body { font-family:Noto Sans KR,sans-serif,Nunito Sans,Helvetica Neue,Helvetica; font-size:14px }',
|
57
|
-
setup: function (editor) {
|
58
|
-
editor.ui.registry.addButton('markdown', {
|
59
|
-
text: 'Markdown',
|
60
|
-
onAction: function () {
|
61
|
-
var content = editor.getContent({ format: 'text' });
|
62
|
-
var html = marked(content);
|
63
|
-
editor.setContent(html);
|
64
|
-
},
|
65
|
-
});
|
66
|
-
editor.ui.registry.addButton('codeformat', {
|
67
|
-
icon: 'sourcecode',
|
68
|
-
tooltip: 'Inline code',
|
69
|
-
onAction: function () {
|
70
|
-
editor.formatter.toggle('code');
|
71
|
-
},
|
72
|
-
});
|
73
|
-
},
|
74
|
-
} }, props)) }));
|
74
|
+
useEffect(function () {
|
75
|
+
initTinyMCE();
|
76
|
+
}, []);
|
77
|
+
return _jsx("textarea", { id: "tinymce", ref: ref });
|
75
78
|
});
|
76
79
|
Editor.displayName = 'Editor';
|
77
80
|
export default Editor;
|