@lotte-innovate/ui-component-test 0.2.51 → 0.2.53
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +174 -13
- package/dist/globals.css +4 -0
- package/dist/lib/Typography/Header/index.d.ts +15 -0
- package/dist/lib/Typography/Header/index.js +56 -0
- package/dist/lib/Typography/Header/index.mjs +3 -0
- package/dist/lib/Typography/Header/index.mjs.map +1 -0
- package/dist/lib/Typography/Text/index.d.ts +15 -0
- package/dist/lib/Typography/Text/index.js +45 -0
- package/dist/lib/Typography/Text/index.mjs +3 -0
- package/dist/lib/Typography/Text/index.mjs.map +1 -0
- package/dist/lib/Typography/index.d.ts +2 -0
- package/dist/lib/Typography/index.js +2 -0
- package/dist/lib/color/alpha.d.ts +784 -0
- package/dist/lib/color/alpha.js +784 -0
- package/dist/lib/color/alpha.mjs +2 -0
- package/dist/lib/color/alpha.mjs.map +1 -0
- package/dist/lib/color/constants.d.ts +15 -0
- package/dist/lib/color/constants.js +265 -0
- package/dist/lib/color/constants.mjs +2 -0
- package/dist/lib/color/constants.mjs.map +1 -0
- package/dist/lib/color/dark.d.ts +392 -0
- package/dist/lib/color/dark.js +392 -0
- package/dist/lib/color/krdsColors.d.ts +309 -0
- package/dist/lib/color/krdsColors.js +309 -0
- package/dist/lib/color/light.d.ts +392 -0
- package/dist/lib/color/light.js +393 -0
- package/dist/lib/color/light.mjs +2 -0
- package/dist/lib/color/light.mjs.map +1 -0
- package/dist/lib/components/Accordion/index.d.ts +22 -0
- package/dist/lib/components/Accordion/index.js +81 -0
- package/dist/lib/components/Accordion/index.mjs +3 -0
- package/dist/lib/components/Accordion/index.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +63 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +61 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +3 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +52 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +3 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +48 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +3 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +50 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +48 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +3 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +67 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
- package/dist/lib/components/AlertDialog/index.d.ts +11 -0
- package/dist/lib/components/AlertDialog/index.js +17 -0
- package/dist/lib/components/AlertDialog/index.mjs +2 -0
- package/dist/lib/components/AlertDialog/index.mjs.map +1 -0
- package/dist/lib/components/AspectRatio/index.d.ts +10 -0
- package/dist/lib/components/AspectRatio/index.js +45 -0
- package/dist/lib/components/AspectRatio/index.mjs +3 -0
- package/dist/lib/components/AspectRatio/index.mjs.map +1 -0
- package/dist/lib/components/Avatar/index.d.ts +21 -0
- package/dist/lib/components/Avatar/index.js +67 -0
- package/dist/lib/components/Avatar/index.mjs +3 -0
- package/dist/lib/components/Avatar/index.mjs.map +1 -0
- package/dist/lib/components/Badge/index.d.ts +18 -0
- package/dist/lib/components/Badge/index.js +65 -0
- package/dist/lib/components/Badge/index.mjs +3 -0
- package/dist/lib/components/Badge/index.mjs.map +1 -0
- package/dist/lib/components/BarChart/index.d.ts +33 -0
- package/dist/lib/components/BarChart/index.js +63 -0
- package/dist/lib/components/BarChart/index.mjs +2 -0
- package/dist/lib/components/BarChart/index.mjs.map +1 -0
- package/dist/lib/components/Box/index.d.ts +10 -0
- package/dist/lib/components/Box/index.js +56 -0
- package/dist/lib/components/Box/index.mjs +2 -0
- package/dist/lib/components/Box/index.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
- package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
- package/dist/lib/components/Breadcrumb/index.js +17 -0
- package/dist/lib/components/Breadcrumb/index.mjs +2 -0
- package/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/lib/components/BubbleChart/index.d.ts +28 -0
- package/dist/lib/components/BubbleChart/index.js +82 -0
- package/dist/lib/components/BubbleChart/index.mjs +2 -0
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -0
- package/dist/lib/components/Button/index.d.ts +16 -0
- package/dist/lib/components/Button/index.js +67 -0
- package/dist/lib/components/Button/index.mjs +3 -0
- package/dist/lib/components/Button/index.mjs.map +1 -0
- package/dist/lib/components/Calendar/index.d.ts +8 -0
- package/dist/lib/components/Calendar/index.js +47 -0
- package/dist/lib/components/Calendar/index.mjs +3 -0
- package/dist/lib/components/Calendar/index.mjs.map +1 -0
- package/dist/lib/components/Callout/CalloutIcon.d.ts +13 -0
- package/dist/lib/components/Callout/CalloutIcon.js +58 -0
- package/dist/lib/components/Callout/CalloutIcon.mjs +3 -0
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
- package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/lib/components/Callout/CalloutRoot.js +80 -0
- package/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
- package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
- package/dist/lib/components/Callout/CalloutText.d.ts +10 -0
- package/dist/lib/components/Callout/CalloutText.js +53 -0
- package/dist/lib/components/Callout/CalloutText.mjs +3 -0
- package/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
- package/dist/lib/components/Callout/index.d.ts +7 -0
- package/dist/lib/components/Callout/index.js +9 -0
- package/dist/lib/components/Callout/index.mjs +2 -0
- package/dist/lib/components/Callout/index.mjs.map +1 -0
- package/dist/lib/components/Card/index.d.ts +14 -0
- package/dist/lib/components/Card/index.js +72 -0
- package/dist/lib/components/Card/index.mjs +3 -0
- package/dist/lib/components/Card/index.mjs.map +1 -0
- package/dist/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/lib/components/Checkbox/index.js +98 -0
- package/dist/lib/components/Checkbox/index.mjs +3 -0
- package/dist/lib/components/Checkbox/index.mjs.map +1 -0
- package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/lib/components/CheckboxCard/index.js +66 -0
- package/dist/lib/components/CheckboxCard/index.mjs +3 -0
- package/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +34 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +3 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +21 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +59 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/lib/components/CheckboxGroup/index.js +4 -0
- package/dist/lib/components/CheckboxGroup/index.mjs +2 -0
- 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/Collapsible/index.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +43 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +57 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +61 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +51 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +49 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +32 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +45 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +52 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +55 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +42 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/lib/components/ContextMenu/index.d.ts +17 -0
- package/dist/lib/components/ContextMenu/index.js +29 -0
- package/dist/lib/components/ContextMenu/index.mjs +2 -0
- package/dist/lib/components/ContextMenu/index.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListItem.d.ts +9 -0
- package/dist/lib/components/DataList/DataListItem.js +44 -0
- package/dist/lib/components/DataList/DataListItem.mjs +3 -0
- package/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListLabel.d.ts +10 -0
- package/dist/lib/components/DataList/DataListLabel.js +50 -0
- package/dist/lib/components/DataList/DataListLabel.mjs +3 -0
- package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/lib/components/DataList/DataListRoot.js +61 -0
- package/dist/lib/components/DataList/DataListRoot.mjs +3 -0
- package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
- package/dist/lib/components/DataList/DataListValue.d.ts +11 -0
- package/dist/lib/components/DataList/DataListValue.js +52 -0
- package/dist/lib/components/DataList/DataListValue.mjs +3 -0
- package/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
- package/dist/lib/components/DataList/index.d.ts +8 -0
- package/dist/lib/components/DataList/index.js +6 -0
- package/dist/lib/components/DataList/index.mjs +2 -0
- package/dist/lib/components/DataList/index.mjs.map +1 -0
- package/dist/lib/components/Datepicker/index.d.ts +14 -0
- package/dist/lib/components/Datepicker/index.js +35 -0
- package/dist/lib/components/Datepicker/index.mjs +3 -0
- package/dist/lib/components/Datepicker/index.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogAction.js +62 -0
- package/dist/lib/components/Dialog/DialogAction.mjs +3 -0
- package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
- package/dist/lib/components/Dialog/DialogCancel.js +57 -0
- package/dist/lib/components/Dialog/DialogCancel.mjs +3 -0
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogContent.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogContent.js +58 -0
- package/dist/lib/components/Dialog/DialogContent.mjs +3 -0
- package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogDescription.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogDescription.js +48 -0
- package/dist/lib/components/Dialog/DialogDescription.mjs +3 -0
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogRoot.d.ts +12 -0
- package/dist/lib/components/Dialog/DialogRoot.js +46 -0
- package/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
- package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
- package/dist/lib/components/Dialog/DialogSlot.js +47 -0
- package/dist/lib/components/Dialog/DialogSlot.mjs +3 -0
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogTitle.js +48 -0
- package/dist/lib/components/Dialog/DialogTitle.mjs +3 -0
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
- package/dist/lib/components/Dialog/DialogTrigger.d.ts +3 -0
- package/dist/lib/components/Dialog/DialogTrigger.js +30 -0
- package/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
- package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
- package/dist/lib/components/Dialog/index.d.ts +15 -0
- package/dist/lib/components/Dialog/index.js +19 -0
- package/dist/lib/components/Dialog/index.mjs +2 -0
- package/dist/lib/components/Dialog/index.mjs.map +1 -0
- package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
- package/dist/lib/components/DoughnutChart/index.js +65 -0
- package/dist/lib/components/DoughnutChart/index.mjs +2 -0
- package/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +61 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +57 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +60 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +49 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +46 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +48 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +54 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
- package/dist/lib/components/DropdownMenu/index.d.ts +20 -0
- package/dist/lib/components/DropdownMenu/index.js +29 -0
- package/dist/lib/components/DropdownMenu/index.mjs +2 -0
- package/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
- package/dist/lib/components/Editor/index.d.ts +1 -1
- package/dist/lib/components/Editor/index.js +5 -7
- package/dist/lib/components/Editor/index.mjs +1 -1
- package/dist/lib/components/Flex/index.d.ts +5 -0
- package/dist/lib/components/Flex/index.js +33 -0
- package/dist/lib/components/Footer/index.d.ts +11 -0
- package/dist/lib/components/Footer/index.js +57 -0
- package/dist/lib/components/Footer/index.mjs +3 -0
- package/dist/lib/components/Footer/index.mjs.map +1 -0
- package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
- package/dist/lib/components/Gnb/GnbInfo.js +46 -0
- package/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
- package/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
- package/dist/lib/components/Gnb/GnbLogo.d.ts +10 -0
- package/dist/lib/components/Gnb/GnbLogo.js +46 -0
- package/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
- package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
- package/dist/lib/components/Gnb/GnbMenu.d.ts +9 -0
- package/dist/lib/components/Gnb/GnbMenu.js +46 -0
- package/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
- package/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
- package/dist/lib/components/Gnb/GnbMenuItem.d.ts +11 -0
- package/dist/lib/components/Gnb/GnbMenuItem.js +46 -0
- package/dist/lib/components/Gnb/GnbMenuItem.mjs +3 -0
- package/dist/lib/components/Gnb/GnbMenuItem.mjs.map +1 -0
- package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
- package/dist/lib/components/Gnb/GnbRoot.js +53 -0
- package/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
- package/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
- package/dist/lib/components/Gnb/index.d.ts +9 -0
- package/dist/lib/components/Gnb/index.js +13 -0
- package/dist/lib/components/Gnb/index.mjs +2 -0
- package/dist/lib/components/Gnb/index.mjs.map +1 -0
- package/dist/lib/components/Grid/NumberingPagination.d.ts +2 -0
- package/dist/lib/components/Grid/NumberingPagination.js +48 -0
- package/dist/lib/components/Grid/NumberingPagination.mjs +2 -0
- package/dist/lib/components/Grid/NumberingPagination.mjs.map +1 -0
- package/dist/lib/components/Grid/Pagination.d.ts +2 -0
- package/dist/lib/components/Grid/Pagination.js +18 -0
- package/dist/lib/components/Grid/index.d.ts +7 -0
- package/dist/lib/components/Grid/index.js +59 -0
- package/dist/lib/components/Grid/index.mjs +3 -0
- package/dist/lib/components/Grid/index.mjs.map +1 -0
- package/dist/lib/components/Grid/useGrid.d.ts +3 -0
- package/dist/lib/components/Grid/useGrid.js +81 -0
- package/dist/lib/components/Grid/useGrid.mjs +3 -0
- package/dist/lib/components/Grid/useGrid.mjs.map +1 -0
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
- package/dist/lib/components/HoverCard/HoverCardContent.js +62 -0
- package/dist/lib/components/HoverCard/HoverCardContent.mjs +3 -0
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.js +48 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.js +30 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
- package/dist/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/lib/components/HoverCard/index.js +9 -0
- package/dist/lib/components/HoverCard/index.mjs +2 -0
- package/dist/lib/components/HoverCard/index.mjs.map +1 -0
- package/dist/lib/components/IconButton/index.d.ts +15 -0
- package/dist/lib/components/IconButton/index.js +73 -0
- package/dist/lib/components/IconButton/index.mjs +3 -0
- package/dist/lib/components/IconButton/index.mjs.map +1 -0
- package/dist/lib/components/Inset/index.d.ts +10 -0
- package/dist/lib/components/Inset/index.js +57 -0
- package/dist/lib/components/Inset/index.mjs +3 -0
- package/dist/lib/components/Inset/index.mjs.map +1 -0
- package/dist/lib/components/Label/index.d.ts +20 -0
- package/dist/lib/components/Label/index.js +64 -0
- package/dist/lib/components/Label/index.mjs +3 -0
- package/dist/lib/components/Label/index.mjs.map +1 -0
- package/dist/lib/components/LineChart/index.d.ts +43 -0
- package/dist/lib/components/LineChart/index.js +61 -0
- package/dist/lib/components/LineChart/index.mjs +2 -0
- package/dist/lib/components/LineChart/index.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +40 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarContent.d.ts +11 -0
- package/dist/lib/components/Menubar/MenubarContent.js +61 -0
- package/dist/lib/components/Menubar/MenubarContent.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarItem.d.ts +13 -0
- package/dist/lib/components/Menubar/MenubarItem.js +56 -0
- package/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +50 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarMenu.d.ts +5 -0
- package/dist/lib/components/Menubar/MenubarMenu.js +30 -0
- package/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.js +32 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.js +42 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/lib/components/Menubar/MenubarRoot.js +73 -0
- package/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
- package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
- package/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSub.d.ts +3 -0
- package/dist/lib/components/Menubar/MenubarSub.js +30 -0
- package/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
- package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
- package/dist/lib/components/Menubar/MenubarSubContent.js +52 -0
- package/dist/lib/components/Menubar/MenubarSubContent.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +43 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
- package/dist/lib/components/Menubar/MenubarTrigger.js +58 -0
- package/dist/lib/components/Menubar/MenubarTrigger.mjs +3 -0
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
- package/dist/lib/components/Menubar/index.d.ts +19 -0
- package/dist/lib/components/Menubar/index.js +29 -0
- package/dist/lib/components/Menubar/index.mjs +2 -0
- package/dist/lib/components/Menubar/index.mjs.map +1 -0
- package/dist/lib/components/Modal/ModalAction.d.ts +11 -0
- package/dist/lib/components/Modal/ModalAction.js +62 -0
- package/dist/lib/components/Modal/ModalAction.mjs +3 -0
- package/dist/lib/components/Modal/ModalAction.mjs.map +1 -0
- package/dist/lib/components/Modal/ModalCancel.d.ts +10 -0
- package/dist/lib/components/Modal/ModalCancel.js +58 -0
- package/dist/lib/components/Modal/ModalCancel.mjs +3 -0
- package/dist/lib/components/Modal/ModalCancel.mjs.map +1 -0
- package/dist/lib/components/Modal/ModalContent.d.ts +11 -0
- package/dist/lib/components/Modal/ModalContent.js +61 -0
- package/dist/lib/components/Modal/ModalContent.mjs +3 -0
- package/dist/lib/components/Modal/ModalContent.mjs.map +1 -0
- package/dist/lib/components/Modal/ModalDescription.d.ts +5 -0
- package/dist/lib/components/Modal/ModalDescription.js +47 -0
- package/dist/lib/components/Modal/ModalDescription.mjs +3 -0
- package/dist/lib/components/Modal/ModalDescription.mjs.map +1 -0
- package/dist/lib/components/Modal/ModalFooter.d.ts +2 -0
- package/dist/lib/components/Modal/ModalFooter.js +30 -0
- package/dist/lib/components/Modal/ModalFooter.mjs +2 -0
- package/dist/lib/components/Modal/ModalFooter.mjs.map +1 -0
- package/dist/lib/components/Modal/ModalRoot.d.ts +16 -0
- package/dist/lib/components/Modal/ModalRoot.js +42 -0
- package/dist/lib/components/Modal/ModalRoot.mjs +3 -0
- package/dist/lib/components/Modal/ModalRoot.mjs.map +1 -0
- package/dist/lib/components/Modal/ModalTitle.d.ts +11 -0
- package/dist/lib/components/Modal/ModalTitle.js +63 -0
- package/dist/lib/components/Modal/ModalTitle.mjs +3 -0
- package/dist/lib/components/Modal/ModalTitle.mjs.map +1 -0
- package/dist/lib/components/Modal/ModalTrigger.d.ts +3 -0
- package/dist/lib/components/Modal/ModalTrigger.js +30 -0
- package/dist/lib/components/Modal/ModalTrigger.mjs +2 -0
- package/dist/lib/components/Modal/ModalTrigger.mjs.map +1 -0
- package/dist/lib/components/Modal/index.d.ts +15 -0
- package/dist/lib/components/Modal/index.js +19 -0
- package/dist/lib/components/Modal/index.mjs +2 -0
- package/dist/lib/components/Modal/index.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +49 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +49 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +60 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +54 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
- package/dist/lib/components/NavigationMenu/index.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/index.js +10 -0
- package/dist/lib/components/NavigationMenu/index.mjs +2 -0
- package/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
- package/dist/lib/components/PieChart/index.d.ts +22 -0
- package/dist/lib/components/PieChart/index.js +65 -0
- package/dist/lib/components/PieChart/index.mjs +2 -0
- package/dist/lib/components/PieChart/index.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverClose.d.ts +9 -0
- package/dist/lib/components/Popover/PopoverClose.js +49 -0
- package/dist/lib/components/Popover/PopoverClose.mjs +3 -0
- package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
- package/dist/lib/components/Popover/PopoverContent.js +66 -0
- package/dist/lib/components/Popover/PopoverContent.mjs +3 -0
- package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverRoot.d.ts +11 -0
- package/dist/lib/components/Popover/PopoverRoot.js +43 -0
- package/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
- package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
- package/dist/lib/components/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/lib/components/Popover/PopoverTrigger.js +30 -0
- package/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
- package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
- package/dist/lib/components/Popover/index.d.ts +11 -0
- package/dist/lib/components/Popover/index.js +11 -0
- package/dist/lib/components/Popover/index.mjs +2 -0
- package/dist/lib/components/Popover/index.mjs.map +1 -0
- package/dist/lib/components/Progress/index.d.ts +13 -0
- package/dist/lib/components/Progress/index.js +67 -0
- package/dist/lib/components/Progress/index.mjs +3 -0
- package/dist/lib/components/Progress/index.mjs.map +1 -0
- package/dist/lib/components/RadarChart/index.d.ts +32 -0
- package/dist/lib/components/RadarChart/index.js +85 -0
- package/dist/lib/components/RadarChart/index.mjs +2 -0
- package/dist/lib/components/RadarChart/index.mjs.map +1 -0
- package/dist/lib/components/Radio/index.d.ts +13 -0
- package/dist/lib/components/Radio/index.js +60 -0
- package/dist/lib/components/Radio/index.mjs +3 -0
- package/dist/lib/components/Radio/index.mjs.map +1 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.js +55 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs +3 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +56 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
- package/dist/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/lib/components/RadioCards/index.js +7 -0
- package/dist/lib/components/RadioCards/index.mjs +2 -0
- package/dist/lib/components/RadioCards/index.mjs.map +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +47 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +3 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +62 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
- package/dist/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/lib/components/RadioGroup/index.js +7 -0
- package/dist/lib/components/RadioGroup/index.mjs +2 -0
- package/dist/lib/components/RadioGroup/index.mjs.map +1 -0
- package/dist/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/lib/components/ScrollArea/index.js +39 -0
- package/dist/lib/components/ScrollArea/index.mjs +3 -0
- package/dist/lib/components/ScrollArea/index.mjs.map +1 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +55 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
- package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/index.js +7 -0
- package/dist/lib/components/SegmentedControl/index.mjs +2 -0
- package/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/lib/components/Select/index.d.ts +36 -0
- package/dist/lib/components/Select/index.js +112 -0
- package/dist/lib/components/Select/index.mjs +3 -0
- package/dist/lib/components/Select/index.mjs.map +1 -0
- package/dist/lib/components/Separator/index.d.ts +11 -0
- package/dist/lib/components/Separator/index.js +55 -0
- package/dist/lib/components/Separator/index.mjs +3 -0
- package/dist/lib/components/Separator/index.mjs.map +1 -0
- package/dist/lib/components/SideBar/index.d.ts +21 -0
- package/dist/lib/components/SideBar/index.js +100 -0
- package/dist/lib/components/SideBar/index.mjs +3 -0
- package/dist/lib/components/SideBar/index.mjs.map +1 -0
- package/dist/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/lib/components/Skeleton/index.js +46 -0
- package/dist/lib/components/Skeleton/index.mjs +3 -0
- package/dist/lib/components/Skeleton/index.mjs.map +1 -0
- package/dist/lib/components/Slider/index.d.ts +15 -0
- package/dist/lib/components/Slider/index.js +56 -0
- package/dist/lib/components/Slider/index.mjs +3 -0
- package/dist/lib/components/Slider/index.mjs.map +1 -0
- package/dist/lib/components/Spinner/index.d.ts +15 -0
- package/dist/lib/components/Spinner/index.js +50 -0
- package/dist/lib/components/Spinner/index.mjs +3 -0
- package/dist/lib/components/Spinner/index.mjs.map +1 -0
- package/dist/lib/components/TabNav/index.d.ts +15 -0
- package/dist/lib/components/TabNav/index.js +53 -0
- package/dist/lib/components/TabNav/index.mjs +3 -0
- package/dist/lib/components/TabNav/index.mjs.map +1 -0
- package/dist/lib/components/Table/index.d.ts +30 -0
- package/dist/lib/components/Table/index.js +104 -0
- package/dist/lib/components/Table/index.mjs +3 -0
- package/dist/lib/components/Table/index.mjs.map +1 -0
- package/dist/lib/components/Tabs/DynamicTabs.d.ts +30 -0
- package/dist/lib/components/Tabs/DynamicTabs.js +73 -0
- package/dist/lib/components/Tabs/DynamicTabs.mjs +3 -0
- package/dist/lib/components/Tabs/DynamicTabs.mjs.map +1 -0
- package/dist/lib/components/Tabs/index.d.ts +23 -0
- package/dist/lib/components/Tabs/index.js +68 -0
- package/dist/lib/components/Tabs/index.mjs +3 -0
- package/dist/lib/components/Tabs/index.mjs.map +1 -0
- package/dist/lib/components/TextArea/index.d.ts +16 -0
- package/dist/lib/components/TextArea/index.js +66 -0
- package/dist/lib/components/TextArea/index.mjs +3 -0
- package/dist/lib/components/TextArea/index.mjs.map +1 -0
- package/dist/lib/components/TextField/index.d.ts +21 -0
- package/dist/lib/components/TextField/index.js +64 -0
- package/dist/lib/components/TextField/index.mjs +3 -0
- package/dist/lib/components/TextField/index.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineConnector.js +34 -0
- package/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineContent.js +34 -0
- package/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
- package/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
- package/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineIcon.js +43 -0
- package/dist/lib/components/Timeline/TimelineIcon.mjs +3 -0
- package/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineItem.js +34 -0
- package/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
- package/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
- package/dist/lib/components/Timeline/TimelineRoot.js +59 -0
- package/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
- package/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineTime.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineTime.js +46 -0
- package/dist/lib/components/Timeline/TimelineTime.mjs +3 -0
- package/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
- package/dist/lib/components/Timeline/TimelineTitle.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineTitle.js +46 -0
- package/dist/lib/components/Timeline/TimelineTitle.mjs +3 -0
- package/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
- package/dist/lib/components/Timeline/index.d.ts +13 -0
- package/dist/lib/components/Timeline/index.js +21 -0
- package/dist/lib/components/Timeline/index.mjs +2 -0
- package/dist/lib/components/Timeline/index.mjs.map +1 -0
- package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/lib/components/Toast/ToastActionButton.js +72 -0
- package/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
- package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/lib/components/Toast/ToastDescription.js +54 -0
- package/dist/lib/components/Toast/ToastDescription.mjs +3 -0
- package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
- package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/lib/components/Toast/ToastRoot.js +98 -0
- package/dist/lib/components/Toast/ToastRoot.mjs +3 -0
- package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
- package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/lib/components/Toast/ToastTitle.js +54 -0
- package/dist/lib/components/Toast/ToastTitle.mjs +3 -0
- package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
- package/dist/lib/components/Toast/index.d.ts +8 -0
- package/dist/lib/components/Toast/index.js +11 -0
- package/dist/lib/components/Toast/index.mjs +2 -0
- package/dist/lib/components/Toast/index.mjs.map +1 -0
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/lib/components/Toggle/ToggleWithText.js +69 -0
- package/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
- package/dist/lib/components/Toggle/index.d.ts +21 -0
- package/dist/lib/components/Toggle/index.js +69 -0
- package/dist/lib/components/Toggle/index.mjs +3 -0
- package/dist/lib/components/Toggle/index.mjs.map +1 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +55 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +58 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
- package/dist/lib/components/ToggleGroup/index.d.ts +6 -0
- package/dist/lib/components/ToggleGroup/index.js +7 -0
- package/dist/lib/components/ToggleGroup/index.mjs +2 -0
- package/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
- package/dist/lib/components/ToggleSwitch/index.d.ts +13 -0
- package/dist/lib/components/ToggleSwitch/index.js +82 -0
- package/dist/lib/components/ToggleSwitch/index.mjs +3 -0
- package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
- package/dist/lib/components/Tooltip/index.d.ts +20 -0
- package/dist/lib/components/Tooltip/index.js +54 -0
- package/dist/lib/components/Tooltip/index.mjs +3 -0
- package/dist/lib/components/Tooltip/index.mjs.map +1 -0
- package/dist/lib/components/index.d.ts +63 -0
- package/dist/lib/components/index.js +66 -0
- package/dist/lib/constants.d.ts +647 -0
- package/dist/lib/constants.js +895 -0
- package/dist/lib/constants.mjs +1 -1
- package/dist/lib/constants.mjs.map +1 -1
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +2 -0
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs +2 -0
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +1 -0
- package/dist/lib/theme/ThemeProvider.d.ts +16 -0
- package/dist/lib/theme/ThemeProvider.js +29 -0
- package/dist/lib/theme/ThemeProvider.mjs +3 -0
- package/dist/lib/theme/ThemeProvider.mjs.map +1 -0
- package/dist/lib/theme/index.d.ts +2 -0
- package/dist/lib/theme/index.js +2 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/types.d.ts +85 -0
- package/dist/lib/types.js +1 -0
- package/dist/lib/utils/classPrefixes.d.ts +3 -0
- package/dist/lib/utils/classPrefixes.js +29 -0
- package/dist/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/lib/utils/useDarkMode.js +50 -0
- package/dist/lib/utils/useDarkMode.mjs +3 -0
- package/dist/lib/utils/useDarkMode.mjs.map +1 -0
- package/dist/lib/utils/useLoadTinyMCE.js +2 -2
- package/dist/lib/utils/useLoadTinyMCE.mjs +1 -1
- package/dist/lib/utils/useLoadTinyMCE.mjs.map +1 -1
- package/dist/lib/utils/useWindowSize.d.ts +1 -0
- package/dist/lib/utils/useWindowSize.js +17 -0
- package/dist/lib/utils/useWindowSize.mjs +2 -0
- package/dist/lib/utils/useWindowSize.mjs.map +1 -0
- package/dist/tailwind.config.js +98 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +56 -7
- package/public/tinymce/skins/content/default/content.css +61 -61
- package/public/tinymce/skins/ui/oxide/content.min.css +1 -1
- package/public/tinymce/skins/ui/oxide/skin.min.css +1 -1
@@ -0,0 +1,85 @@
|
|
1
|
+
import { ComponentProps } from 'react';
|
2
|
+
import { Theme, Slider as SliderTheme } from '@radix-ui/themes';
|
3
|
+
export type IRadius = 'none' | 'small' | 'medium' | 'large' | 'full';
|
4
|
+
export type IScaling = '90%' | '95%' | '100%' | '105%' | '110%';
|
5
|
+
export type IWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
6
|
+
export type ITheme = 'light' | 'dark';
|
7
|
+
export type ITypoSize = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
8
|
+
export type ISize = 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
|
9
|
+
export type IAppearance = 'classic' | 'solid' | 'soft' | 'surface' | 'outline' | 'ghost';
|
10
|
+
export type PointStyle = 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle' | false;
|
11
|
+
export type IColor = 'slate' | 'olive' | 'sand' | 'tomato' | 'red' | 'ruby' | 'crimson' | 'pink' | 'plum' | 'purple' | 'violet' | 'iris' | 'indigo' | 'blue' | 'cyan' | 'teal' | 'jade' | 'green' | 'grass' | 'brown' | 'bronze' | 'gold' | 'sky' | 'mint' | 'lime' | 'yellow' | 'amber' | 'orange' | 'black' | 'white';
|
12
|
+
export type IDarkColor = 'blackDark' | 'whiteDark' | 'slateDark' | 'oliveDark' | 'sandDark' | 'tomatoDark' | 'redDark' | 'rubyDark' | 'crimsonDark' | 'pinkDark' | 'plumDark' | 'purpleDark' | 'violetDark' | 'irisDark' | 'indigoDark' | 'blueDark' | 'cyanDark' | 'tealDark' | 'jadeDark' | 'greenDark' | 'grassDark' | 'brownDark' | 'bronzeDark' | 'goldDark' | 'skyDark' | 'mintDark' | 'limeDark' | 'yellowDark' | 'amberDark' | 'orangeDark' | 'slateDarkA' | 'oliveDarkA' | 'sandDarkA' | 'tomatoDarkA' | 'redDarkA' | 'rubyDarkA' | 'crimsonDarkA' | 'pinkDarkA' | 'plumDarkA' | 'purpleDarkA' | 'violetDarkA' | 'irisDarkA' | 'indigoDarkA' | 'blueDarkA' | 'cyanDarkA' | 'tealDarkA' | 'jadeDarkA' | 'greenDarkA' | 'grassDarkA' | 'brownDarkA' | 'bronzeDarkA' | 'goldDarkA' | 'skyDarkA' | 'mintDarkA' | 'limeDarkA' | 'yellowDarkA' | 'amberDarkA' | 'orangeDarkA';
|
13
|
+
export type IAlphaColor = 'slateA' | 'oliveA' | 'sandA' | 'tomatoA' | 'redA' | 'rubyA' | 'crimsonA' | 'pinkA' | 'plumA' | 'purpleA' | 'violetA' | 'irisA' | 'indigoA' | 'blueA' | 'cyanA' | 'tealA' | 'jadeA' | 'greenA' | 'grassA' | 'brownA' | 'bronzeA' | 'goldA' | 'skyA' | 'mintA' | 'limeA' | 'yellowA' | 'amberA' | 'orangeA';
|
14
|
+
export type IChartTitle = {
|
15
|
+
text?: string | string[];
|
16
|
+
display?: boolean;
|
17
|
+
position?: 'top' | 'right' | 'bottom' | 'left';
|
18
|
+
align?: 'start' | 'center' | 'end';
|
19
|
+
font?: {
|
20
|
+
size?: number;
|
21
|
+
weight?: 'normal' | 'bold' | 'lighter' | 'bolder' | number;
|
22
|
+
lineHeight?: number;
|
23
|
+
};
|
24
|
+
};
|
25
|
+
export type IChartLegend = {
|
26
|
+
display?: boolean;
|
27
|
+
align?: 'start' | 'center' | 'end';
|
28
|
+
position?: 'top' | 'right' | 'bottom' | 'left';
|
29
|
+
maxHeight?: number;
|
30
|
+
maxWidth?: number;
|
31
|
+
fullSize?: boolean;
|
32
|
+
reverse?: boolean;
|
33
|
+
labels?: {
|
34
|
+
boxWidth?: number;
|
35
|
+
boxHeight?: number;
|
36
|
+
padding?: number;
|
37
|
+
textAlign?: 'left' | 'right' | 'center';
|
38
|
+
color?: string;
|
39
|
+
usePointStyle?: boolean;
|
40
|
+
pointStyle?: PointStyle;
|
41
|
+
pointStyleWidth?: number;
|
42
|
+
useBorderRadius?: boolean;
|
43
|
+
borderRadius?: number;
|
44
|
+
};
|
45
|
+
rtl?: boolean;
|
46
|
+
textDirection?: 'rtl' | 'ltr';
|
47
|
+
title?: {
|
48
|
+
color?: string;
|
49
|
+
display?: boolean;
|
50
|
+
padding?: number;
|
51
|
+
text?: string;
|
52
|
+
};
|
53
|
+
};
|
54
|
+
export type IChartDatasets = {
|
55
|
+
label?: string;
|
56
|
+
backgroundColor?: string[] | string;
|
57
|
+
borderColor?: string[] | string;
|
58
|
+
borderWidth?: number;
|
59
|
+
borderRadius?: number;
|
60
|
+
borderDash?: number[];
|
61
|
+
borderDashOffset?: number;
|
62
|
+
hoverBackgroundColor?: string;
|
63
|
+
hoverBorderColor?: string;
|
64
|
+
hoverBorderWidth?: number;
|
65
|
+
pointStyle?: PointStyle;
|
66
|
+
offset?: number;
|
67
|
+
spacing?: number;
|
68
|
+
weight?: number;
|
69
|
+
order?: number;
|
70
|
+
hidden?: boolean;
|
71
|
+
};
|
72
|
+
export type IChartDataLabels = {
|
73
|
+
display?: boolean;
|
74
|
+
color?: string;
|
75
|
+
align?: 'start' | 'center' | 'end' | number;
|
76
|
+
backgroundColor?: string | ((context: any) => string);
|
77
|
+
borderColor?: string;
|
78
|
+
borderRadius?: number;
|
79
|
+
borderWidth?: number;
|
80
|
+
font?: object;
|
81
|
+
formatter?: (x: number) => number;
|
82
|
+
padding?: number;
|
83
|
+
};
|
84
|
+
export type IExtendedAccentColor = ComponentProps<typeof Theme>['accentColor'] & IColor;
|
85
|
+
export type IExtendedThemeColor = ComponentProps<typeof SliderTheme>['color'] & IColor;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export var classPrefixesByScale = {
|
2
|
+
fill: [9, 12],
|
3
|
+
border: [4, 6, 7, 8, 9],
|
4
|
+
bg: [1, 2, 3, 4, 5, 6, 7, 9, 10, 12],
|
5
|
+
text: [1, 8, 9, 10, 11, 12],
|
6
|
+
'focus:bg': [9],
|
7
|
+
'hover:bg': [2, 3, 4, 6, 9, 10],
|
8
|
+
'hover:border': [4, 6, 7, 8, 9],
|
9
|
+
'hover:text': [1, 10, 11, 12],
|
10
|
+
'hover:fill': [1, 12],
|
11
|
+
'active:bg': [3, 4, 5, 6, 8, 9, 10],
|
12
|
+
'active:border': [6, 8, 9],
|
13
|
+
'active:text': [10, 11, 12],
|
14
|
+
'data-[state=on]:bg': [3, 4, 5, 9, 10],
|
15
|
+
'data-[state=on]:border': [8, 9],
|
16
|
+
'data-[state=on]:text': [1, 11],
|
17
|
+
'data-[state=on]:hover:bg': [2, 3, 4, 10],
|
18
|
+
'data-[state=on]:hover:border': [8, 9],
|
19
|
+
'data-[state=on]:hover:text': [1, 11],
|
20
|
+
'data-[state=open]:bg': [5],
|
21
|
+
'data-[state=checked]:bg': [2, 3, 5, 6, 7, 9, 10],
|
22
|
+
'data-[state=checked]:border': [6],
|
23
|
+
'data-[state=checked]:text': [1, 8, 11],
|
24
|
+
'data-[state=unchecked]:bg': [2, 3, 5, 6, 7],
|
25
|
+
'data-[state=unchecked]:border': [4, 6, 7, 8, 9],
|
26
|
+
'data-[state=unchecked]:text': [8],
|
27
|
+
'aria-selected:bg': [9],
|
28
|
+
'aria-selected:hover:bg': [9],
|
29
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const useDarkMode: (isRAxes?: boolean) => any[];
|
@@ -0,0 +1,50 @@
|
|
1
|
+
'use client';
|
2
|
+
import { slateA, slateDarkA } from '../../lib/color/alpha';
|
3
|
+
import { useEffect, useState } from 'react';
|
4
|
+
export var useDarkMode = function (isRAxes) {
|
5
|
+
if (isRAxes === void 0) { isRAxes = false; }
|
6
|
+
var lightmode = {};
|
7
|
+
var darkmode = {};
|
8
|
+
if (isRAxes === true) {
|
9
|
+
lightmode = {
|
10
|
+
r: { grid: { color: slateA[8] } },
|
11
|
+
};
|
12
|
+
darkmode = {
|
13
|
+
r: { grid: { color: slateDarkA[8] }, ticks: { backdropColor: 'rgba(0, 0, 0, 0)' } },
|
14
|
+
};
|
15
|
+
}
|
16
|
+
else {
|
17
|
+
lightmode = {
|
18
|
+
x: { grid: { color: slateA[8] } },
|
19
|
+
y: { grid: { color: slateA[8] } },
|
20
|
+
};
|
21
|
+
darkmode = {
|
22
|
+
x: { grid: { color: slateDarkA[8] } },
|
23
|
+
y: { grid: { color: slateDarkA[8] } },
|
24
|
+
};
|
25
|
+
}
|
26
|
+
var _a = useState(checkDarkMode()), isDarkMode = _a[0], setIsDarkMode = _a[1];
|
27
|
+
var _b = useState({
|
28
|
+
linescale: {},
|
29
|
+
}), defaultOptions = _b[0], setDefaultOptions = _b[1];
|
30
|
+
function checkDarkMode() {
|
31
|
+
return document.body.classList.contains('dark');
|
32
|
+
}
|
33
|
+
useEffect(function () {
|
34
|
+
setIsDarkMode(checkDarkMode());
|
35
|
+
setDefaultOptions({ linescale: !checkDarkMode() ? lightmode : darkmode });
|
36
|
+
var mutationObserver = new MutationObserver(function (mutations) {
|
37
|
+
mutations.forEach(function (mutation) {
|
38
|
+
if (mutation.attributeName === 'class') {
|
39
|
+
setIsDarkMode(checkDarkMode());
|
40
|
+
setDefaultOptions({ linescale: !checkDarkMode() ? lightmode : darkmode });
|
41
|
+
}
|
42
|
+
});
|
43
|
+
});
|
44
|
+
mutationObserver.observe(document.body, { attributes: true });
|
45
|
+
return function () {
|
46
|
+
mutationObserver.disconnect();
|
47
|
+
};
|
48
|
+
}, []);
|
49
|
+
return [isDarkMode, defaultOptions];
|
50
|
+
};
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use client";
|
2
|
+
import{slateA as r,slateDarkA as o}from"../color/alpha.mjs";import{useState as c,useEffect as t}from"react";var n=function(n){void 0===n&&(n=!1);var i={},e={};!0===n?(i={r:{grid:{color:r[8]}}},e={r:{grid:{color:o[8]},ticks:{backdropColor:"rgba(0, 0, 0, 0)"}}}):(i={x:{grid:{color:r[8]}},y:{grid:{color:r[8]}}},e={x:{grid:{color:o[8]}},y:{grid:{color:o[8]}}});var a=c(b()),l=a[0],s=a[1],d=c({linescale:{}}),u=d[0],f=d[1];function b(){return document.body.classList.contains("dark")}return t((function(){s(b()),f({linescale:b()?e:i});var r=new MutationObserver((function(r){r.forEach((function(r){"class"===r.attributeName&&(s(b()),f({linescale:b()?e:i}))}))}));return r.observe(document.body,{attributes:!0}),function(){r.disconnect()}}),[]),[l,u]};export{n as useDarkMode};
|
3
|
+
//# sourceMappingURL=useDarkMode.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useDarkMode.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
8
8
|
});
|
9
9
|
};
|
10
10
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
11
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
12
|
-
return g
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
12
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
14
14
|
function step(op) {
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var n=function(n,e,t,i){return new(t||(t=Promise))((function(r,s){function u(n){try{p(i.next(n))}catch(n){s(n)}}function c(n){try{p(i.throw(n))}catch(n){s(n)}}function p(n){var e;n.done?r(n.value):(e=n.value,e instanceof t?e:new t((function(n){n(e)}))).then(u,c)}p((i=i.apply(n,e||[])).next())}))},e=function(n,e){var t,i,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]}
|
1
|
+
var n=function(n,e,t,i){return new(t||(t=Promise))((function(r,s){function u(n){try{p(i.next(n))}catch(n){s(n)}}function c(n){try{p(i.throw(n))}catch(n){s(n)}}function p(n){var e;n.done?r(n.value):(e=n.value,e instanceof t?e:new t((function(n){n(e)}))).then(u,c)}p((i=i.apply(n,e||[])).next())}))},e=function(n,e){var t,i,r,s,u={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function c(c){return function(p){return function(c){if(t)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(u=0)),u;)try{if(t=1,i&&(r=2&c[0]?i.return:c[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,c[1])).done)return r;switch(i=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,i=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(r=u.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){u=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){u.label=c[1];break}if(6===c[0]&&u.label<r[1]){u.label=r[1],r=c;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(c);break}r[2]&&u.ops.pop(),u.trys.pop();continue}c=e.call(n,u)}catch(n){c=[6,n],i=0}finally{t=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,p])}}},t=function(){return n(void 0,void 0,void 0,(function(){return e(this,(function(n){switch(n.label){case 0:return[4,import("tinymce/tinymce.js")];case 1:return n.sent(),[4,import("tinymce/themes/silver/theme.js")];case 2:return n.sent(),[4,import("tinymce/models/dom/model.js")];case 3:return n.sent(),[4,import("tinymce/icons/default/icons.js")];case 4:return n.sent(),[4,import("tinymce/plugins/advlist/plugin.js")];case 5:return n.sent(),[4,import("tinymce/plugins/code/plugin.js")];case 6:return n.sent(),[4,import("tinymce/plugins/codesample/plugin.js")];case 7:return n.sent(),[4,import("tinymce/plugins/link/plugin.js")];case 8:return n.sent(),[4,import("tinymce/plugins/lists/plugin.js")];case 9:return n.sent(),[4,import("tinymce/plugins/table/plugin.js")];case 10:return n.sent(),[4,import("tinymce/plugins/image/plugin.js")];case 11:return n.sent(),[4,import("tinymce/plugins/preview/plugin.js")];case 12:return n.sent(),[4,import("tinymce/plugins/importcss/plugin.js")];case 13:return n.sent(),[4,import("tinymce/plugins/searchreplace/plugin.js")];case 14:return n.sent(),[4,import("tinymce/plugins/autolink/plugin.js")];case 15:return n.sent(),[4,import("tinymce/plugins/autosave/plugin.js")];case 16:return n.sent(),[4,import("tinymce/plugins/save/plugin.js")];case 17:return n.sent(),[4,import("tinymce/plugins/directionality/plugin.js")];case 18:return n.sent(),[4,import("tinymce/plugins/visualblocks/plugin.js")];case 19:return n.sent(),[4,import("tinymce/plugins/visualchars/plugin.js")];case 20:return n.sent(),[4,import("tinymce/plugins/fullscreen/plugin.js")];case 21:return n.sent(),[4,import("tinymce/plugins/media/plugin.js")];case 22:return n.sent(),[4,import("tinymce/plugins/template/plugin.js")];case 23:return n.sent(),[4,import("tinymce/plugins/charmap/plugin.js")];case 24:return n.sent(),[4,import("tinymce/plugins/pagebreak/plugin.js")];case 25:return n.sent(),[4,import("tinymce/plugins/nonbreaking/plugin.js")];case 26:return n.sent(),[4,import("tinymce/plugins/anchor/plugin.js")];case 27:return n.sent(),[4,import("tinymce/plugins/insertdatetime/plugin.js")];case 28:return n.sent(),[4,import("tinymce/plugins/wordcount/plugin.js")];case 29:return n.sent(),[4,import("tinymce/plugins/quickbars/plugin.js")];case 30:return n.sent(),[4,import("tinymce/plugins/emoticons/plugin.js")];case 31:return n.sent(),[4,import("tinymce/plugins/accordion/plugin.js")];case 32:return n.sent(),[2]}}))}))};export{t as loadTinyMCE};
|
2
2
|
//# sourceMappingURL=useLoadTinyMCE.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useLoadTinyMCE.mjs","sources":["../../lib/utils/useLoadTinyMCE.js"],"sourcesContent":["var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nexport var loadTinyMCE = function () { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import('tinymce/tinymce.js')];\n case 1:\n _a.sent();\n return [4 /*yield*/, import('tinymce/themes/silver/theme.js')];\n case 2:\n _a.sent();\n return [4 /*yield*/, import('tinymce/models/dom/model.js')];\n case 3:\n _a.sent();\n return [4 /*yield*/, import('tinymce/icons/default/icons.js')];\n case 4:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/advlist/plugin.js')];\n case 5:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/code/plugin.js')];\n case 6:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/codesample/plugin.js')];\n case 7:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/link/plugin.js')];\n case 8:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/lists/plugin.js')];\n case 9:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/table/plugin.js')];\n case 10:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/image/plugin.js')];\n case 11:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/preview/plugin.js')];\n case 12:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/importcss/plugin.js')];\n case 13:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/searchreplace/plugin.js')];\n case 14:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/autolink/plugin.js')];\n case 15:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/autosave/plugin.js')];\n case 16:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/save/plugin.js')];\n case 17:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/directionality/plugin.js')];\n case 18:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/visualblocks/plugin.js')];\n case 19:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/visualchars/plugin.js')];\n case 20:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/fullscreen/plugin.js')];\n case 21:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/media/plugin.js')];\n case 22:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/template/plugin.js')];\n case 23:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/charmap/plugin.js')];\n case 24:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/pagebreak/plugin.js')];\n case 25:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/nonbreaking/plugin.js')];\n case 26:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/anchor/plugin.js')];\n case 27:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/insertdatetime/plugin.js')];\n case 28:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/wordcount/plugin.js')];\n case 29:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/quickbars/plugin.js')];\n case 30:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/emoticons/plugin.js')];\n case 31:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/accordion/plugin.js')];\n case 32:\n _a.sent();\n return [2 /*return*/];\n }\n });\n}); };\n"],"names":["__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","__generator","body","f","y","t","_","label","sent","trys","ops","g","Object","create","Iterator","prototype","verb","Symbol","iterator","this","n","v","op","TypeError","call","pop","length","push","loadTinyMCE","_a","import"],"mappings":"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sB,OAAO,mCAChC,KAAK,EAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,gCAChC,KAAK,EAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,mCAChC,KAAK,EAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,sCAChC,KAAK,EAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,mCAChC,KAAK,EAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,yCAChC,KAAK,EAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,mCAChC,KAAK,EAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,oCAChC,KAAK,EAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,oCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,oCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,sCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,4CAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,uCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,uCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,mCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,6CAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,2CAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,0CAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,yCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,oCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,uCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,sCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,0CAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,qCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,6CAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,EAAasB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGrB,OACI,CAAC,GAExB,GACA,GAAG"}
|
1
|
+
{"version":3,"file":"useLoadTinyMCE.mjs","sources":["../../lib/utils/useLoadTinyMCE.js"],"sourcesContent":["var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nexport var loadTinyMCE = function () { return __awaiter(void 0, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import('tinymce/tinymce.js')];\n case 1:\n _a.sent();\n return [4 /*yield*/, import('tinymce/themes/silver/theme.js')];\n case 2:\n _a.sent();\n return [4 /*yield*/, import('tinymce/models/dom/model.js')];\n case 3:\n _a.sent();\n return [4 /*yield*/, import('tinymce/icons/default/icons.js')];\n case 4:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/advlist/plugin.js')];\n case 5:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/code/plugin.js')];\n case 6:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/codesample/plugin.js')];\n case 7:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/link/plugin.js')];\n case 8:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/lists/plugin.js')];\n case 9:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/table/plugin.js')];\n case 10:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/image/plugin.js')];\n case 11:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/preview/plugin.js')];\n case 12:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/importcss/plugin.js')];\n case 13:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/searchreplace/plugin.js')];\n case 14:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/autolink/plugin.js')];\n case 15:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/autosave/plugin.js')];\n case 16:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/save/plugin.js')];\n case 17:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/directionality/plugin.js')];\n case 18:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/visualblocks/plugin.js')];\n case 19:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/visualchars/plugin.js')];\n case 20:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/fullscreen/plugin.js')];\n case 21:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/media/plugin.js')];\n case 22:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/template/plugin.js')];\n case 23:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/charmap/plugin.js')];\n case 24:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/pagebreak/plugin.js')];\n case 25:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/nonbreaking/plugin.js')];\n case 26:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/anchor/plugin.js')];\n case 27:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/insertdatetime/plugin.js')];\n case 28:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/wordcount/plugin.js')];\n case 29:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/quickbars/plugin.js')];\n case 30:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/emoticons/plugin.js')];\n case 31:\n _a.sent();\n return [4 /*yield*/, import('tinymce/plugins/accordion/plugin.js')];\n case 32:\n _a.sent();\n return [2 /*return*/];\n }\n });\n}); };\n"],"names":["__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","result","done","then","apply","__generator","body","f","y","t","g","_","label","sent","trys","ops","verb","throw","return","Symbol","iterator","this","n","v","op","TypeError","call","pop","length","push","loadTinyMCE","_a","import"],"mappings":"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EAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,mCAChC,KAAK,EAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,sCAChC,KAAK,EAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,mCAChC,KAAK,EAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,yCAChC,KAAK,EAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,mCAChC,KAAK,EAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,oCAChC,KAAK,EAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,oCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,oCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,sCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,4CAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,uCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,uCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,mCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,6CAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,2CAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,0CAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,yCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,oCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,uCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,sCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,0CAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,qCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,6CAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,EAAamB,OAAO,wCAChC,KAAK,GAED,OADAD,EAAGlB,OACI,CAAC,GAExB,GACA,GAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function useWindowSize(): number;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { useState, useEffect } from 'react';
|
2
|
+
var MIN_SIZE = 250;
|
3
|
+
export function useWindowSize() {
|
4
|
+
var _a = useState(MIN_SIZE), size = _a[0], setSize = _a[1];
|
5
|
+
useEffect(function () {
|
6
|
+
function handleResize() {
|
7
|
+
var width = 130 + window.innerWidth * 0.15;
|
8
|
+
width = Math.max(width, MIN_SIZE);
|
9
|
+
width = Math.min(width, 300);
|
10
|
+
setSize(width);
|
11
|
+
}
|
12
|
+
window.addEventListener('resize', handleResize);
|
13
|
+
handleResize();
|
14
|
+
return function () { return window.removeEventListener('resize', handleResize); };
|
15
|
+
}, []);
|
16
|
+
return size;
|
17
|
+
}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{useState as n,useEffect as e}from"react";function r(){var r=n(250),t=r[0],i=r[1];return e((function(){function n(){var n=130+.15*window.innerWidth;n=Math.max(n,250),n=Math.min(n,300),i(n)}return window.addEventListener("resize",n),n(),function(){return window.removeEventListener("resize",n)}}),[]),t}export{r as useWindowSize};
|
2
|
+
//# sourceMappingURL=useWindowSize.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useWindowSize.mjs","sources":["../../lib/utils/useWindowSize.js"],"sourcesContent":["import { useState, useEffect } from 'react';\nvar MIN_SIZE = 250;\nexport function useWindowSize() {\n var _a = useState(MIN_SIZE), size = _a[0], setSize = _a[1];\n useEffect(function () {\n function handleResize() {\n var width = 130 + window.innerWidth * 0.15;\n width = Math.max(width, MIN_SIZE);\n width = Math.min(width, 300);\n setSize(width);\n }\n window.addEventListener('resize', handleResize);\n handleResize();\n return function () { return window.removeEventListener('resize', handleResize); };\n }, []);\n return size;\n}\n"],"names":["useWindowSize","_a","useState","size","setSize","useEffect","handleResize","width","window","innerWidth","Math","max","min","addEventListener","removeEventListener"],"mappings":"gDAEO,SAASA,IACZ,IAAIC,EAAKC,EAFE,KAEkBC,EAAOF,EAAG,GAAIG,EAAUH,EAAG,GAYxD,OAXAI,GAAU,WACN,SAASC,IACL,IAAIC,EAAQ,IAA0B,IAApBC,OAAOC,WACzBF,EAAQG,KAAKC,IAAIJ,EANd,KAOHA,EAAQG,KAAKE,IAAIL,EAAO,KACxBH,EAAQG,EACX,CAGD,OAFAC,OAAOK,iBAAiB,SAAUP,GAClCA,IACO,WAAc,OAAOE,OAAOM,oBAAoB,SAAUR,GACpE,GAAE,IACIH,CACX"}
|
package/dist/tailwind.config.js
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
1
12
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
2
13
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
3
14
|
if (ar || !(i in from)) {
|
@@ -7,7 +18,29 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
7
18
|
}
|
8
19
|
return to.concat(ar || Array.prototype.slice.call(from));
|
9
20
|
};
|
21
|
+
import * as lightColors from './lib/color/light';
|
22
|
+
import * as darkColors from './lib/color/dark';
|
23
|
+
import * as alphaColors from './lib/color/alpha';
|
24
|
+
import { colorOptions, alphaColorOptions, darkColorOptions } from './lib/color/constants';
|
25
|
+
import { classPrefixesByScale } from './lib/utils/classPrefixes';
|
10
26
|
var classes = [];
|
27
|
+
var allColorOptions = [colorOptions, alphaColorOptions];
|
28
|
+
var generateClasses = function (colorList, mode) {
|
29
|
+
return colorList.flatMap(function (color) {
|
30
|
+
return Object.entries(classPrefixesByScale).flatMap(function (_a) {
|
31
|
+
var key = _a[0], values = _a[1];
|
32
|
+
return values.map(function (value) {
|
33
|
+
return mode ? "".concat(mode).concat(key, "-").concat(color, "-").concat(value) : "".concat(key, "-").concat(color, "-").concat(value);
|
34
|
+
});
|
35
|
+
});
|
36
|
+
});
|
37
|
+
};
|
38
|
+
allColorOptions.forEach(function (options) {
|
39
|
+
classes = classes.concat(generateClasses(options));
|
40
|
+
});
|
41
|
+
[darkColorOptions].forEach(function (options) {
|
42
|
+
classes = classes.concat(generateClasses(options, 'dark:'));
|
43
|
+
});
|
11
44
|
var config = {
|
12
45
|
content: ['./src/**/*.{js,ts,jsx,tsx,mdx,zip}'],
|
13
46
|
safelist: __spreadArray([], classes, true),
|
@@ -16,8 +49,73 @@ var config = {
|
|
16
49
|
fontFamily: {
|
17
50
|
sans: ['Noto Sans KR', 'sans-serif', 'Nunito Sans', 'Helvetica Neue', 'Helvetica', 'Arial'],
|
18
51
|
},
|
52
|
+
backgroundImage: {
|
53
|
+
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
|
54
|
+
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
|
55
|
+
},
|
56
|
+
colors: __assign(__assign(__assign({ danger: '#C40006', warning: '#AB6400', success: '#00713F', information: '#00749E' }, formatColors(lightColors)), formatColors(darkColors)), formatColors(alphaColors)),
|
57
|
+
// radix tailwind
|
58
|
+
keyframes: {
|
59
|
+
overlayShow: {
|
60
|
+
from: { opacity: '0' },
|
61
|
+
to: { opacity: '1' },
|
62
|
+
},
|
63
|
+
contentShow: {
|
64
|
+
from: { opacity: '0', transform: 'translate(-50%, -48%) scale(0.96)' },
|
65
|
+
to: { opacity: '1', transform: 'translate(-50%, -50%) scale(1)' },
|
66
|
+
},
|
67
|
+
slideDown: {
|
68
|
+
from: { height: '0px' },
|
69
|
+
to: { height: 'var(--radix-accordion-content-height)' },
|
70
|
+
},
|
71
|
+
slideUp: {
|
72
|
+
from: { height: 'var(--radix-accordion-content-height)' },
|
73
|
+
to: { height: '0px' },
|
74
|
+
},
|
75
|
+
},
|
76
|
+
animation: {
|
77
|
+
overlayShow: 'overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
78
|
+
contentShow: 'contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
79
|
+
slideDown: 'slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)',
|
80
|
+
slideUp: 'slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)',
|
81
|
+
},
|
82
|
+
boxShadow: {
|
83
|
+
'button-classic': '0px 0px 0px 1px #00002D17 inset, 0px -2px 1px 0px #0000330F inset, 0px 4px 2px -2px #FFFFFFB2 inset, 0px 2px 1px -1px #FFFFFFB2 inset',
|
84
|
+
'checkbox-classic': '0px 0px 0px 1px #00002D17 inset, 0px -2px 1px 0px #0000330F inset, 0px 4px 2px -2px #FFFFFF66 inset, 0px 2px 1px -1px #FFFFFF66 inset',
|
85
|
+
'button-dark-classic': '0px 0px 0px 1px #414142 inset, 0px -2px 1px 0px #414142 inset, 0px 4px 2px -2px #414142 inset, 0px 2px 1px -1px #414142 inset',
|
86
|
+
'card-classic': '0px 0px 0px 0.5px #0000000D, 0px 1px 4px 0px #00002D17, 0px 2px 1px -1px #0000000D, 0px 1px 3px 0px #0000000D',
|
87
|
+
'card-dark-classic': '0px 0px 0px 0.5px #414142, 0px 1px 4px 0px #414142, 0px 2px 1px -1px #414142, 0px 1px 3px 0px #414142',
|
88
|
+
'segmented-control-dark-classic': '0px 0px 0px 0.5px #0000000D, 0px 1px 4px 0px #363636, 0px 2px 1px -1px #0000000D, 0px 1px 3px 0px #0000000D',
|
89
|
+
},
|
90
|
+
flex: {
|
91
|
+
'6': '6 6 0%',
|
92
|
+
},
|
19
93
|
},
|
20
94
|
},
|
95
|
+
plugins: [
|
96
|
+
function (_a) {
|
97
|
+
var addVariant = _a.addVariant;
|
98
|
+
addVariant('data-placeholder', '&:where([data-placeholder])');
|
99
|
+
},
|
100
|
+
],
|
21
101
|
darkMode: 'class',
|
22
102
|
};
|
103
|
+
/**
|
104
|
+
* tailwind 방식으로 변경
|
105
|
+
* ex) bg-yellow-3
|
106
|
+
*/
|
107
|
+
function formatColors(colors) {
|
108
|
+
var formatcolors = {};
|
109
|
+
for (var _i = 0, _a = Object.entries(colors); _i < _a.length; _i++) {
|
110
|
+
var _b = _a[_i], cn = _b[0], c = _b[1];
|
111
|
+
for (var _c = 0, _d = Object.entries(c); _c < _d.length; _c++) {
|
112
|
+
var _e = _d[_c], scale = _e[0], value = _e[1];
|
113
|
+
if (!scale) {
|
114
|
+
continue;
|
115
|
+
}
|
116
|
+
formatcolors["".concat(cn, "-").concat(scale)] = value;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
return formatcolors;
|
120
|
+
}
|
23
121
|
export default config;
|