@lotte-innovate/ui-component-test 0.0.89 → 0.0.96
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +108 -19
- package/dist/globals.css +3 -3
- package/dist/lib/Typography/Header/index.d.ts +6 -4
- package/dist/lib/Typography/Header/index.js +2 -1
- package/dist/lib/Typography/Header/index.mjs +2 -1
- package/dist/lib/Typography/Header/index.mjs.map +1 -1
- package/dist/lib/Typography/Text/index.js +1 -0
- package/dist/lib/Typography/Text/index.mjs +1 -0
- package/dist/lib/Typography/Text/index.mjs.map +1 -1
- package/dist/lib/color/constants.d.ts +1 -15
- package/dist/lib/color/constants.js +1 -32
- package/dist/lib/color/constants.mjs +1 -1
- package/dist/lib/color/constants.mjs.map +1 -1
- package/dist/lib/components/Accordion/index.d.ts +2 -1
- package/dist/lib/components/Accordion/index.js +21 -4
- package/dist/lib/components/Accordion/index.mjs +2 -1
- package/dist/lib/components/Accordion/index.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +4 -2
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +2 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +2 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +11 -7
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +2 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +3 -3
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +15 -3
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +2 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/index.d.ts +1 -0
- package/dist/lib/components/AlertDialog/index.js +1 -1
- package/dist/lib/components/AlertDialog/index.mjs.map +1 -1
- package/dist/lib/components/AspectRatio/index.d.ts +1 -1
- package/dist/lib/components/AspectRatio/index.js +4 -1
- package/dist/lib/components/AspectRatio/index.mjs +2 -1
- package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
- package/dist/lib/components/Avatar/index.d.ts +4 -4
- package/dist/lib/components/Avatar/index.js +13 -4
- package/dist/lib/components/Avatar/index.mjs +2 -1
- package/dist/lib/components/Avatar/index.mjs.map +1 -1
- package/dist/lib/components/Badge/index.d.ts +3 -3
- package/dist/lib/components/Badge/index.js +14 -3
- package/dist/lib/components/Badge/index.mjs +2 -1
- package/dist/lib/components/Badge/index.mjs.map +1 -1
- package/dist/lib/components/BarChart/index.d.ts +1 -1
- 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 +1 -1
- package/dist/lib/components/BubbleChart/index.js +1 -1
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
- package/dist/lib/components/Button/index.d.ts +3 -3
- package/dist/lib/components/Button/index.js +14 -3
- package/dist/lib/components/Button/index.mjs +2 -1
- package/dist/lib/components/Button/index.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutIcon.d.ts +3 -3
- package/dist/lib/components/Callout/CalloutIcon.js +1 -0
- package/dist/lib/components/Callout/CalloutIcon.mjs +1 -0
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutRoot.d.ts +4 -4
- package/dist/lib/components/Callout/CalloutRoot.js +11 -3
- package/dist/lib/components/Callout/CalloutRoot.mjs +2 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutText.d.ts +2 -2
- package/dist/lib/components/Callout/CalloutText.js +1 -0
- package/dist/lib/components/Callout/CalloutText.mjs +1 -0
- package/dist/lib/components/Callout/CalloutText.mjs.map +1 -1
- package/dist/lib/components/Callout/index.d.ts +1 -0
- package/dist/lib/components/Card/index.d.ts +3 -3
- package/dist/lib/components/Card/index.js +9 -1
- package/dist/lib/components/Card/index.mjs +2 -1
- package/dist/lib/components/Card/index.mjs.map +1 -1
- package/dist/lib/components/Checkbox/index.d.ts +3 -3
- package/dist/lib/components/Checkbox/index.js +12 -3
- package/dist/lib/components/Checkbox/index.mjs +2 -1
- package/dist/lib/components/Checkbox/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxCard/index.d.ts +3 -3
- package/dist/lib/components/CheckboxCard/index.js +9 -1
- package/dist/lib/components/CheckboxCard/index.mjs +2 -1
- package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +1 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +13 -3
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +2 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/index.d.ts +2 -1
- 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.js +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +13 -3
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +2 -2
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/index.d.ts +1 -0
- package/dist/lib/components/DataList/DataListItem.d.ts +1 -1
- package/dist/lib/components/DataList/DataListItem.js +1 -0
- package/dist/lib/components/DataList/DataListItem.mjs +1 -0
- package/dist/lib/components/DataList/DataListItem.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
- package/dist/lib/components/DataList/DataListLabel.js +1 -0
- package/dist/lib/components/DataList/DataListLabel.mjs +1 -0
- package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListRoot.d.ts +1 -1
- package/dist/lib/components/DataList/DataListRoot.js +9 -2
- package/dist/lib/components/DataList/DataListRoot.mjs +2 -1
- package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
- package/dist/lib/components/DataList/DataListValue.js +1 -0
- package/dist/lib/components/DataList/DataListValue.mjs +1 -0
- package/dist/lib/components/DataList/DataListValue.mjs.map +1 -1
- package/dist/lib/components/DataList/index.d.ts +1 -0
- package/dist/lib/components/Dialog/DialogAction.d.ts +2 -2
- package/dist/lib/components/Dialog/DialogAction.js +3 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +2 -1
- package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogCancel.d.ts +2 -2
- package/dist/lib/components/Dialog/DialogCancel.js +1 -0
- package/dist/lib/components/Dialog/DialogCancel.mjs +1 -0
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogContent.d.ts +3 -3
- package/dist/lib/components/Dialog/DialogContent.js +1 -0
- package/dist/lib/components/Dialog/DialogContent.mjs +1 -0
- package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogDescription.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogDescription.js +2 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs +2 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogRoot.js +11 -2
- package/dist/lib/components/Dialog/DialogRoot.mjs +2 -1
- package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogSlot.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogSlot.js +1 -0
- package/dist/lib/components/Dialog/DialogSlot.mjs +1 -0
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogTitle.d.ts +1 -1
- package/dist/lib/components/Dialog/DialogTitle.js +1 -0
- package/dist/lib/components/Dialog/DialogTitle.mjs +1 -0
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -1
- package/dist/lib/components/Dialog/index.d.ts +2 -1
- package/dist/lib/components/DoughnutChart/index.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +2 -2
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +2 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +12 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/index.d.ts +2 -1
- package/dist/lib/components/Editor/index.d.ts +12 -0
- package/dist/lib/components/Editor/index.js +53 -0
- package/dist/lib/components/Editor/index.mjs +3 -0
- package/dist/lib/components/Editor/index.mjs.map +1 -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 +9 -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 +11 -0
- package/dist/lib/components/Gnb/GnbMenu.js +49 -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/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 +8 -0
- package/dist/lib/components/Gnb/index.js +11 -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/Pagination.d.ts +2 -0
- package/dist/lib/components/Grid/Pagination.js +17 -0
- package/dist/lib/components/Grid/Pagination.mjs +2 -0
- package/dist/lib/components/Grid/Pagination.mjs.map +1 -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 +75 -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 +3 -3
- package/dist/lib/components/HoverCard/HoverCardContent.js +1 -0
- package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -0
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.js +12 -2
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -1
- package/dist/lib/components/HoverCard/index.d.ts +2 -1
- package/dist/lib/components/IconButton/index.d.ts +3 -3
- package/dist/lib/components/IconButton/index.js +13 -3
- package/dist/lib/components/IconButton/index.mjs +2 -1
- package/dist/lib/components/IconButton/index.mjs.map +1 -1
- package/dist/lib/components/Inset/index.d.ts +2 -2
- package/dist/lib/components/Inset/index.js +8 -1
- package/dist/lib/components/Inset/index.mjs +2 -1
- package/dist/lib/components/Inset/index.mjs.map +1 -1
- package/dist/lib/components/Label/index.d.ts +6 -5
- package/dist/lib/components/Label/index.js +15 -4
- package/dist/lib/components/Label/index.mjs +2 -1
- package/dist/lib/components/Label/index.mjs.map +1 -1
- package/dist/lib/components/LineChart/index.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +2 -1
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarContent.d.ts +2 -2
- package/dist/lib/components/Menubar/MenubarContent.js +1 -0
- package/dist/lib/components/Menubar/MenubarContent.mjs +1 -0
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarItem.d.ts +2 -2
- package/dist/lib/components/Menubar/MenubarItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs +2 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +1 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs +2 -1
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +2 -2
- package/dist/lib/components/Menubar/MenubarRoot.js +17 -5
- package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
- package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -0
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +2 -1
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +2 -2
- package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs +2 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -1
- package/dist/lib/components/Menubar/index.d.ts +1 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +13 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/index.d.ts +1 -0
- package/dist/lib/components/PieChart/index.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
- package/dist/lib/components/Popover/PopoverClose.js +1 -0
- package/dist/lib/components/Popover/PopoverClose.mjs +1 -0
- package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverContent.d.ts +3 -3
- package/dist/lib/components/Popover/PopoverContent.js +1 -0
- package/dist/lib/components/Popover/PopoverContent.mjs +1 -0
- package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverRoot.js +8 -1
- package/dist/lib/components/Popover/PopoverRoot.mjs +2 -1
- package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -1
- package/dist/lib/components/Popover/index.d.ts +2 -1
- package/dist/lib/components/Progress/index.d.ts +3 -3
- package/dist/lib/components/Progress/index.js +14 -3
- package/dist/lib/components/Progress/index.mjs +2 -1
- package/dist/lib/components/Progress/index.mjs.map +1 -1
- package/dist/lib/components/RadarChart/index.d.ts +1 -1
- package/dist/lib/components/RadarChart/index.js +1 -1
- package/dist/lib/components/RadarChart/index.mjs.map +1 -1
- package/dist/lib/components/Radio/index.d.ts +1 -1
- package/dist/lib/components/Radio/index.js +11 -4
- package/dist/lib/components/Radio/index.mjs +2 -1
- package/dist/lib/components/Radio/index.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +2 -2
- package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +13 -3
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
- package/dist/lib/components/RadioCards/index.d.ts +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +12 -3
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/index.d.ts +1 -0
- package/dist/lib/components/ScrollArea/index.js +4 -1
- package/dist/lib/components/ScrollArea/index.mjs +2 -1
- package/dist/lib/components/ScrollArea/index.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +2 -2
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +11 -3
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +2 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/index.d.ts +1 -0
- package/dist/lib/components/SegmentedControl/index.js +1 -1
- package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
- package/dist/lib/components/Select/index.d.ts +4 -2
- package/dist/lib/components/Select/index.js +33 -13
- package/dist/lib/components/Select/index.mjs +2 -1
- package/dist/lib/components/Select/index.mjs.map +1 -1
- package/dist/lib/components/Separator/index.d.ts +1 -1
- package/dist/lib/components/Separator/index.js +10 -2
- package/dist/lib/components/Separator/index.mjs +2 -1
- package/dist/lib/components/Separator/index.mjs.map +1 -1
- package/dist/lib/components/Skeleton/index.d.ts +1 -1
- package/dist/lib/components/Skeleton/index.js +5 -1
- package/dist/lib/components/Skeleton/index.mjs +2 -1
- package/dist/lib/components/Skeleton/index.mjs.map +1 -1
- package/dist/lib/components/Slider/index.d.ts +3 -2
- package/dist/lib/components/Slider/index.js +12 -5
- package/dist/lib/components/Slider/index.mjs +2 -1
- package/dist/lib/components/Slider/index.mjs.map +1 -1
- package/dist/lib/components/Spinner/index.d.ts +1 -1
- package/dist/lib/components/Spinner/index.js +4 -1
- package/dist/lib/components/Spinner/index.mjs +2 -1
- package/dist/lib/components/Spinner/index.mjs.map +1 -1
- package/dist/lib/components/TabNav/index.js +6 -3
- package/dist/lib/components/TabNav/index.mjs +2 -1
- package/dist/lib/components/TabNav/index.mjs.map +1 -1
- package/dist/lib/components/Table/index.d.ts +2 -2
- package/dist/lib/components/Table/index.js +9 -3
- package/dist/lib/components/Table/index.mjs +2 -1
- package/dist/lib/components/Table/index.mjs.map +1 -1
- package/dist/lib/components/Tabs/index.d.ts +2 -1
- package/dist/lib/components/Tabs/index.js +6 -3
- package/dist/lib/components/Tabs/index.mjs +2 -1
- package/dist/lib/components/Tabs/index.mjs.map +1 -1
- package/dist/lib/components/TextArea/index.d.ts +3 -3
- package/dist/lib/components/TextArea/index.js +11 -3
- package/dist/lib/components/TextArea/index.mjs +2 -1
- package/dist/lib/components/TextArea/index.mjs.map +1 -1
- package/dist/lib/components/TextField/index.d.ts +1 -1
- package/dist/lib/components/TextField/index.js +12 -4
- package/dist/lib/components/TextField/index.mjs +2 -1
- package/dist/lib/components/TextField/index.mjs.map +1 -1
- package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineConnector.js +36 -0
- package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineContent.js +34 -0
- package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
- package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
- package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineIcon.js +42 -0
- package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineItem.js +34 -0
- package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
- package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
- package/dist/lib/components/Timeline/TimelineTime.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineTime.js +34 -0
- package/dist/lib/components/Timeline/TimelineTitle.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineTitle.js +34 -0
- package/dist/lib/components/Timeline/index.d.ts +13 -0
- package/dist/lib/components/Timeline/index.js +21 -0
- package/dist/lib/components/Toast/ToastActionButton.d.ts +3 -3
- package/dist/lib/components/Toast/ToastActionButton.js +8 -3
- package/dist/lib/components/Toast/ToastActionButton.mjs +2 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastDescription.d.ts +2 -2
- package/dist/lib/components/Toast/ToastDescription.js +1 -0
- package/dist/lib/components/Toast/ToastDescription.mjs +1 -0
- package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastRoot.d.ts +4 -4
- package/dist/lib/components/Toast/ToastRoot.js +11 -3
- package/dist/lib/components/Toast/ToastRoot.mjs +2 -1
- package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastTitle.d.ts +2 -2
- package/dist/lib/components/Toast/ToastTitle.js +1 -0
- package/dist/lib/components/Toast/ToastTitle.mjs +1 -0
- package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -1
- package/dist/lib/components/Toast/index.d.ts +1 -0
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +3 -3
- package/dist/lib/components/Toggle/ToggleWithText.js +13 -2
- package/dist/lib/components/Toggle/ToggleWithText.mjs +2 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
- package/dist/lib/components/Toggle/index.d.ts +4 -4
- package/dist/lib/components/Toggle/index.js +14 -3
- package/dist/lib/components/Toggle/index.mjs +2 -1
- package/dist/lib/components/Toggle/index.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +2 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +13 -3
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/index.d.ts +1 -0
- package/dist/lib/components/ToggleSwitch/index.d.ts +3 -3
- package/dist/lib/components/ToggleSwitch/index.js +13 -2
- package/dist/lib/components/ToggleSwitch/index.mjs +2 -1
- package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
- package/dist/lib/components/Tooltip/index.d.ts +1 -1
- package/dist/lib/components/Tooltip/index.js +14 -9
- package/dist/lib/components/Tooltip/index.mjs +2 -1
- package/dist/lib/components/Tooltip/index.mjs.map +1 -1
- package/dist/lib/components/index.d.ts +7 -0
- package/dist/lib/components/index.js +8 -0
- package/dist/lib/constants.d.ts +6 -7
- package/dist/lib/constants.js +19 -31
- package/dist/lib/constants.mjs +1 -1
- package/dist/lib/constants.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/index.mjs +1 -1
- 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 +9 -0
- package/dist/lib/utils/classPrefixes.d.ts +3 -0
- package/dist/lib/utils/classPrefixes.js +26 -0
- package/dist/lib/utils/useDarkMode.js +1 -0
- package/dist/lib/utils/useDarkMode.mjs +1 -0
- package/dist/lib/utils/useDarkMode.mjs.map +1 -1
- package/dist/public/tinymce/icons/default/icons.d.ts +0 -0
- package/dist/public/tinymce/icons/default/icons.js +195 -0
- package/dist/public/tinymce/icons/default/index.d.ts +1 -0
- package/dist/public/tinymce/icons/default/index.js +8 -0
- package/dist/public/tinymce/models/dom/index.d.ts +1 -0
- package/dist/public/tinymce/models/dom/index.js +8 -0
- package/dist/public/tinymce/models/dom/model.d.ts +0 -0
- package/dist/public/tinymce/models/dom/model.js +7988 -0
- package/dist/public/tinymce/plugins/advlist/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/advlist/index.js +8 -0
- package/dist/public/tinymce/plugins/advlist/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/advlist/plugin.js +255 -0
- package/dist/public/tinymce/plugins/autolink/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/autolink/index.js +8 -0
- package/dist/public/tinymce/plugins/autolink/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/autolink/plugin.js +221 -0
- package/dist/public/tinymce/plugins/code/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/code/index.js +8 -0
- package/dist/public/tinymce/plugins/code/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/code/plugin.js +77 -0
- package/dist/public/tinymce/plugins/codesample/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/codesample/index.js +8 -0
- package/dist/public/tinymce/plugins/codesample/plugin.d.ts +45 -0
- package/dist/public/tinymce/plugins/codesample/plugin.js +2462 -0
- package/dist/public/tinymce/plugins/image/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/image/index.js +8 -0
- package/dist/public/tinymce/plugins/image/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/image/plugin.js +1523 -0
- package/dist/public/tinymce/plugins/link/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/link/index.js +8 -0
- package/dist/public/tinymce/plugins/link/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/link/plugin.js +1246 -0
- package/dist/public/tinymce/plugins/lists/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/lists/index.js +8 -0
- package/dist/public/tinymce/plugins/lists/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/lists/plugin.js +2191 -0
- package/dist/public/tinymce/plugins/table/index.d.ts +1 -0
- package/dist/public/tinymce/plugins/table/index.js +8 -0
- package/dist/public/tinymce/plugins/table/plugin.d.ts +0 -0
- package/dist/public/tinymce/plugins/table/plugin.js +3399 -0
- package/dist/public/tinymce/skins/content/default/content.d.ts +0 -0
- package/dist/public/tinymce/skins/content/default/content.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide/content.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide/content.inline.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide/content.inline.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide/content.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide/skin.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide/skin.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide/skin.shadowdom.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide/skin.shadowdom.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide-dark/content.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide-dark/content.inline.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide-dark/content.inline.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide-dark/content.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide-dark/skin.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide-dark/skin.js +3 -0
- package/dist/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.d.ts +0 -0
- package/dist/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +3 -0
- package/dist/public/tinymce/themes/silver/index.d.ts +1 -0
- package/dist/public/tinymce/themes/silver/index.js +8 -0
- package/dist/public/tinymce/themes/silver/theme.d.ts +0 -0
- package/dist/public/tinymce/themes/silver/theme.js +29731 -0
- package/dist/public/tinymce/tinymce.d.ts +1 -0
- package/dist/public/tinymce/tinymce.js +31974 -0
- package/dist/tailwind.config.js +13 -50
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -6
- package/public/tinymce/CHANGELOG.md +3453 -0
- package/public/tinymce/README.md +73 -0
- package/public/tinymce/bower.json +27 -0
- package/public/tinymce/composer.json +52 -0
- package/public/tinymce/icons/default/icons.js +194 -0
- package/public/tinymce/icons/default/icons.min.js +1 -0
- package/public/tinymce/icons/default/index.js +7 -0
- package/public/tinymce/license.txt +21 -0
- package/public/tinymce/models/dom/index.js +7 -0
- package/public/tinymce/models/dom/model.js +8040 -0
- package/public/tinymce/models/dom/model.min.js +4 -0
- package/public/tinymce/package.json +32 -0
- package/public/tinymce/plugins/advlist/index.js +7 -0
- package/public/tinymce/plugins/advlist/plugin.js +259 -0
- package/public/tinymce/plugins/advlist/plugin.min.js +4 -0
- package/public/tinymce/plugins/autolink/index.js +7 -0
- package/public/tinymce/plugins/autolink/plugin.js +228 -0
- package/public/tinymce/plugins/autolink/plugin.min.js +4 -0
- package/public/tinymce/plugins/code/index.js +7 -0
- package/public/tinymce/plugins/code/plugin.js +85 -0
- package/public/tinymce/plugins/code/plugin.min.js +4 -0
- package/public/tinymce/plugins/codesample/index.js +7 -0
- package/public/tinymce/plugins/codesample/plugin.js +2463 -0
- package/public/tinymce/plugins/codesample/plugin.min.js +4 -0
- package/public/tinymce/plugins/image/index.js +7 -0
- package/public/tinymce/plugins/image/plugin.js +1505 -0
- package/public/tinymce/plugins/image/plugin.min.js +4 -0
- package/public/tinymce/plugins/link/index.js +7 -0
- package/public/tinymce/plugins/link/plugin.js +1242 -0
- package/public/tinymce/plugins/link/plugin.min.js +4 -0
- package/public/tinymce/plugins/lists/index.js +7 -0
- package/public/tinymce/plugins/lists/plugin.js +2172 -0
- package/public/tinymce/plugins/lists/plugin.min.js +4 -0
- package/public/tinymce/plugins/table/index.js +7 -0
- package/public/tinymce/plugins/table/plugin.js +3462 -0
- package/public/tinymce/plugins/table/plugin.min.js +4 -0
- package/public/tinymce/skins/content/default/content.css +61 -0
- package/public/tinymce/skins/content/default/content.js +2 -0
- package/public/tinymce/skins/content/default/content.min.css +1 -0
- package/public/tinymce/skins/ui/oxide/content.css +785 -0
- package/public/tinymce/skins/ui/oxide/content.inline.css +779 -0
- package/public/tinymce/skins/ui/oxide/content.inline.js +2 -0
- package/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
- package/public/tinymce/skins/ui/oxide/content.js +2 -0
- package/public/tinymce/skins/ui/oxide/content.min.css +1 -0
- package/public/tinymce/skins/ui/oxide/skin.css +3763 -0
- package/public/tinymce/skins/ui/oxide/skin.js +2 -0
- package/public/tinymce/skins/ui/oxide/skin.min.css +1 -0
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
- package/public/tinymce/skins/ui/oxide-dark/content.css +766 -0
- package/public/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
- package/public/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
- package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
- package/public/tinymce/skins/ui/oxide-dark/content.js +2 -0
- package/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
- package/public/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
- package/public/tinymce/skins/ui/oxide-dark/skin.js +2 -0
- package/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
- package/public/tinymce/themes/silver/index.js +7 -0
- package/public/tinymce/themes/silver/theme.js +30775 -0
- package/public/tinymce/themes/silver/theme.min.js +384 -0
- package/public/tinymce/tinymce.d.ts +3238 -0
- package/public/tinymce/tinymce.js +31779 -0
- package/public/tinymce/tinymce.min.js +384 -0
@@ -1,13 +1,15 @@
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
2
1
|
import React from 'react';
|
3
|
-
import {
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import { IColor, ITypoSize } from '../../../lib/types';
|
4
4
|
export interface HeaderProps extends VariantProps<typeof headerVariants> {
|
5
5
|
color?: IColor;
|
6
|
+
size?: ITypoSize;
|
7
|
+
align?: 'left' | 'center' | 'right';
|
6
8
|
}
|
7
9
|
declare let headerVariants: (props?: ({
|
8
10
|
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
9
|
-
headers?: "
|
11
|
+
headers?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
|
10
12
|
color?: string | null | undefined;
|
11
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
|
-
export declare const Header: React.ForwardRefExoticComponent<Omit<
|
14
|
+
export declare const Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & HeaderProps & React.RefAttributes<HTMLHeadingElement>>;
|
13
15
|
export default Header;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -21,11 +22,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
21
22
|
return t;
|
22
23
|
};
|
23
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
+
import React from 'react';
|
24
26
|
import { cn } from '../../../lib/utils/utils';
|
25
27
|
import { cva } from 'class-variance-authority';
|
26
28
|
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
27
29
|
import { Heading as HeadingTheme, Theme } from '@radix-ui/themes';
|
28
|
-
import React from 'react';
|
29
30
|
var weights = __assign({}, weightVariants);
|
30
31
|
var headers = {
|
31
32
|
h1: 'h1',
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as r}from"react/jsx-runtime";import e from"react";import{cn as t}from"../../utils/utils.mjs";import{cva as a}from"class-variance-authority";import{weightVariants as o,textColorStyle as i}from"../../constants.mjs";import{Theme as n,Heading as l}from"@radix-ui/themes";var s=function(){return s=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},s.apply(this,arguments)},c=function(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(r);o<a.length;o++)e.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(r,a[o])&&(t[a[o]]=r[a[o]])}return t},h=a("",{variants:{weight:s({},o),headers:{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},color:i()},defaultVariants:{color:"black"}}),f=e.forwardRef((function(e,a){var o=e.className,i=e.children,f=e.size,m=e.weight,p=e.color,u=e.headers,d=e.align,y=c(e,["className","children","size","weight","color","headers","align"]);return u||(u="h1"),r(n,{children:r(l,s({ref:a,as:u,size:f,align:d,className:t("leading-normal",h({weight:m,color:p}),o)},y,{children:i}))})}));f.displayName="Header";export{f as Header,f as default};
|
2
3
|
//# sourceMappingURL=index.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import{cva as e}from"class-variance-authority";import{Theme as o,Text as a}from"@radix-ui/themes";import{weightVariants as i,textColorStyle as n}from"../../constants.mjs";import{cn as l}from"../../utils/utils.mjs";var s=function(){return s=Object.assign||function(r){for(var t,e=1,o=arguments.length;e<o;e++)for(var a in t=arguments[e])Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a]);return r},s.apply(this,arguments)},c=function(r,t){var e={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&t.indexOf(o)<0&&(e[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(r);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(r,o[a])&&(e[o[a]]=r[o[a]])}return e},m=e("",{variants:{weight:s({light:"font-light"},i),color:n()},defaultVariants:{weight:"medium",color:"black"}}),f=t((function(t,e){var i=t.className,n=t.children,f=t.as,p=t.align,u=t.weight,h=t.color,g=t.size,y=c(t,["className","children","as","align","weight","color","size"]);return r(o,{children:r(a,s({as:f,ref:e,size:g,align:p,className:l(m({weight:u,color:h}),i)},y,{children:n}))})}));f.displayName="Text";export{f as Text,f as default};
|
2
3
|
//# sourceMappingURL=index.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,21 +1,8 @@
|
|
1
1
|
import { IColor, IAlphaColor, IDarkColor } from '../types';
|
2
|
+
export declare const MAIN_COLOR: IColor;
|
2
3
|
export declare const colorOptions: IColor[];
|
3
4
|
export declare const alphaColorOptions: IAlphaColor[];
|
4
5
|
export declare const darkColorOptions: IDarkColor[];
|
5
|
-
export declare const alphaOptions: {
|
6
|
-
1: string;
|
7
|
-
2: string;
|
8
|
-
3: string;
|
9
|
-
4: string;
|
10
|
-
5: string;
|
11
|
-
6: string;
|
12
|
-
7: string;
|
13
|
-
8: string;
|
14
|
-
9: string;
|
15
|
-
10: string;
|
16
|
-
11: string;
|
17
|
-
12: string;
|
18
|
-
};
|
19
6
|
export declare const ColorStyle: Record<string, string>;
|
20
7
|
export declare const DarkColorStyle: Record<string, string>;
|
21
8
|
export declare const chartColorList: {
|
@@ -26,4 +13,3 @@ export declare const chartAlphaColorList: {
|
|
26
13
|
sorting: string[];
|
27
14
|
mixed: string[];
|
28
15
|
};
|
29
|
-
export declare const chartColorOptions: IColor[];
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';
|
2
2
|
import { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';
|
3
|
+
export var MAIN_COLOR = 'red';
|
3
4
|
export var colorOptions = [
|
4
5
|
// 'black',
|
5
6
|
'slate',
|
@@ -122,20 +123,6 @@ export var darkColorOptions = [
|
|
122
123
|
'orangeDarkA',
|
123
124
|
'whiteDark',
|
124
125
|
];
|
125
|
-
export var alphaOptions = {
|
126
|
-
1: '1',
|
127
|
-
2: '2',
|
128
|
-
3: '6',
|
129
|
-
4: '9',
|
130
|
-
5: '12',
|
131
|
-
6: '15',
|
132
|
-
7: '20',
|
133
|
-
8: '27',
|
134
|
-
9: '45',
|
135
|
-
10: '50',
|
136
|
-
11: '62',
|
137
|
-
12: '89',
|
138
|
-
};
|
139
126
|
export var ColorStyle = {
|
140
127
|
black: 'slate-12',
|
141
128
|
white: '#ffffff',
|
@@ -276,21 +263,3 @@ export var chartAlphaColorList = {
|
|
276
263
|
limeA[2],
|
277
264
|
],
|
278
265
|
};
|
279
|
-
export var chartColorOptions = [
|
280
|
-
'blue',
|
281
|
-
'crimson',
|
282
|
-
'teal',
|
283
|
-
'orange',
|
284
|
-
'purple',
|
285
|
-
'amber',
|
286
|
-
'slate',
|
287
|
-
'cyan',
|
288
|
-
'red',
|
289
|
-
'grass',
|
290
|
-
'brown',
|
291
|
-
'indigo',
|
292
|
-
'plum',
|
293
|
-
'yellow',
|
294
|
-
'sky',
|
295
|
-
'lime',
|
296
|
-
];
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{crimson as r,orange as a,amber as k,teal as e,blue as D,purple as l,slate as o,red as i,brown as n,yellow as s,lime as t,grass as m,sky as
|
1
|
+
import{crimson as r,orange as a,amber as k,teal as e,blue as D,purple as l,slate as o,red as i,brown as n,yellow as s,lime as t,grass as m,sky as d,cyan as g,indigo as b,plum as p}from"./light.mjs";import{crimsonA as u,orangeA as y,amberA as c,tealA as w,blueA as v,purpleA as f,slateA as j,redA as h,brownA as z,yellowA as x,limeA as q,grassA as A,skyA as B,cyanA as C,indigoA as E,plumA as F}from"./alpha.mjs";var G="red",H={black:"slate-12",white:"#ffffff",slate:"slate-9",olive:"olive-9",sand:"sand-9",tomato:"tomato-9",red:"red-9",ruby:"ruby-9",crimson:"crimson-9",pink:"pink-9",plum:"plum-9",purple:"purple-9",violet:"violet-9",iris:"iris-9",indigo:"indigo-9",blue:"blue-9",cyan:"cyan-9",teal:"teal-9",jade:"jade-9",green:"green-9",grass:"grass-9",brown:"brown-9",bronze:"bronze-9",gold:"gold-9",sky:"sky-9",mint:"mint-9",lime:"lime-9",yellow:"yellow-9",amber:"amber-9",orange:"orange-9"},I={blackDark:"slateDark-12",whiteDark:"slateDark-1",slateDark:"slateDark-9",oliveDark:"oliveDark-9",sandDark:"sandDark-9",tomatoDark:"tomatoDark-9",redDark:"redDark-9",rubyDark:"rubyDark-9",crimsonDark:"crimsonDark-9",pinkDark:"pinkDark-9",plumDark:"plumDark-9",purpleDark:"purpleDark-9",violetDark:"violetDark-9",irisDark:"irisDark-9",indigoDark:"indigoDark-9",blueDark:"blueDark-9",cyanDark:"cyanDark-9",tealDark:"tealDark-9",jadeDark:"jadeDark-9",greenDark:"greenDark-9",grassDark:"grassDark-9",brownDark:"brownDark-9",bronzeDark:"bronzeDark-9",goldDark:"goldDark-9",skyDark:"skyDark-9",mintDark:"mintDark-9",limeDark:"limeDark-9",yellowDark:"yellowDark-9",amberDark:"amberDark-9",orangeDark:"orangeDark-9"},J={sorting:[r[9],a[9],k[9],e[9],D[9],l[9],o[9],i[9],n[9],s[9],t[9],m[9],d[9],g[9],b[9],p[9]],mixed:[D[9],r[9],e[9],a[9],l[9],k[9],o[9],g[9],i[9],m[9],n[9],b[9],p[9],s[9],d[9],t[9]]},K={sorting:[u[2],y[2],c[2],w[2],v[2],f[2],j[2],h[2],z[2],x[2],q[2],A[2],B[2],C[2],E[2],F[2]],mixed:[v[2],u[2],w[2],y[2],f[2],c[2],j[2],C[2],h[2],A[2],z[2],E[2],F[2],x[2],B[2],q[2]]};export{H as ColorStyle,I as DarkColorStyle,G as MAIN_COLOR,K as chartAlphaColorList,J as chartColorList};
|
2
2
|
//# sourceMappingURL=constants.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.mjs","sources":["../../lib/color/constants.js"],"sourcesContent":["import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';\nimport { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';\nexport var colorOptions = [\n // 'black',\n 'slate',\n 'olive',\n 'sand',\n 'tomato',\n 'red',\n 'ruby',\n 'crimson',\n 'pink',\n 'plum',\n 'purple',\n 'violet',\n 'iris',\n 'indigo',\n 'blue',\n 'cyan',\n 'teal',\n 'jade',\n 'green',\n 'grass',\n 'brown',\n 'bronze',\n 'gold',\n 'sky',\n 'mint',\n 'lime',\n 'yellow',\n 'amber',\n 'orange',\n // 'white',\n];\nexport var alphaColorOptions = [\n 'slateA',\n 'oliveA',\n 'sandA',\n 'tomatoA',\n 'redA',\n 'rubyA',\n 'crimsonA',\n 'pinkA',\n 'plumA',\n 'purpleA',\n 'violetA',\n 'irisA',\n 'indigoA',\n 'blueA',\n 'cyanA',\n 'tealA',\n 'jadeA',\n 'greenA',\n 'grassA',\n 'brownA',\n 'bronzeA',\n 'goldA',\n 'skyA',\n 'mintA',\n 'limeA',\n 'yellowA',\n 'amberA',\n 'orangeA',\n];\nexport var darkColorOptions = [\n 'blackDark',\n 'slateDark',\n 'oliveDark',\n 'sandDark',\n 'tomatoDark',\n 'redDark',\n 'rubyDark',\n 'crimsonDark',\n 'pinkDark',\n 'plumDark',\n 'purpleDark',\n 'violetDark',\n 'irisDark',\n 'indigoDark',\n 'blueDark',\n 'cyanDark',\n 'tealDark',\n 'jadeDark',\n 'greenDark',\n 'grassDark',\n 'brownDark',\n 'bronzeDark',\n 'goldDark',\n 'skyDark',\n 'mintDark',\n 'limeDark',\n 'yellowDark',\n 'amberDark',\n 'orangeDark',\n 'slateDarkA',\n 'oliveDarkA',\n 'sandDarkA',\n 'tomatoDarkA',\n 'redDarkA',\n 'rubyDarkA',\n 'crimsonDarkA',\n 'pinkDarkA',\n 'plumDarkA',\n 'purpleDarkA',\n 'violetDarkA',\n 'irisDarkA',\n 'indigoDarkA',\n 'blueDarkA',\n 'cyanDarkA',\n 'tealDarkA',\n 'jadeDarkA',\n 'greenDarkA',\n 'grassDarkA',\n 'brownDarkA',\n 'bronzeDarkA',\n 'goldDarkA',\n 'skyDarkA',\n 'mintDarkA',\n 'limeDarkA',\n 'yellowDarkA',\n 'amberDarkA',\n 'orangeDarkA',\n 'whiteDark',\n];\nexport var
|
1
|
+
{"version":3,"file":"constants.mjs","sources":["../../lib/color/constants.js"],"sourcesContent":["import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';\nimport { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';\nexport var MAIN_COLOR = 'red';\nexport var colorOptions = [\n // 'black',\n 'slate',\n 'olive',\n 'sand',\n 'tomato',\n 'red',\n 'ruby',\n 'crimson',\n 'pink',\n 'plum',\n 'purple',\n 'violet',\n 'iris',\n 'indigo',\n 'blue',\n 'cyan',\n 'teal',\n 'jade',\n 'green',\n 'grass',\n 'brown',\n 'bronze',\n 'gold',\n 'sky',\n 'mint',\n 'lime',\n 'yellow',\n 'amber',\n 'orange',\n // 'white',\n];\nexport var alphaColorOptions = [\n 'slateA',\n 'oliveA',\n 'sandA',\n 'tomatoA',\n 'redA',\n 'rubyA',\n 'crimsonA',\n 'pinkA',\n 'plumA',\n 'purpleA',\n 'violetA',\n 'irisA',\n 'indigoA',\n 'blueA',\n 'cyanA',\n 'tealA',\n 'jadeA',\n 'greenA',\n 'grassA',\n 'brownA',\n 'bronzeA',\n 'goldA',\n 'skyA',\n 'mintA',\n 'limeA',\n 'yellowA',\n 'amberA',\n 'orangeA',\n];\nexport var darkColorOptions = [\n 'blackDark',\n 'slateDark',\n 'oliveDark',\n 'sandDark',\n 'tomatoDark',\n 'redDark',\n 'rubyDark',\n 'crimsonDark',\n 'pinkDark',\n 'plumDark',\n 'purpleDark',\n 'violetDark',\n 'irisDark',\n 'indigoDark',\n 'blueDark',\n 'cyanDark',\n 'tealDark',\n 'jadeDark',\n 'greenDark',\n 'grassDark',\n 'brownDark',\n 'bronzeDark',\n 'goldDark',\n 'skyDark',\n 'mintDark',\n 'limeDark',\n 'yellowDark',\n 'amberDark',\n 'orangeDark',\n 'slateDarkA',\n 'oliveDarkA',\n 'sandDarkA',\n 'tomatoDarkA',\n 'redDarkA',\n 'rubyDarkA',\n 'crimsonDarkA',\n 'pinkDarkA',\n 'plumDarkA',\n 'purpleDarkA',\n 'violetDarkA',\n 'irisDarkA',\n 'indigoDarkA',\n 'blueDarkA',\n 'cyanDarkA',\n 'tealDarkA',\n 'jadeDarkA',\n 'greenDarkA',\n 'grassDarkA',\n 'brownDarkA',\n 'bronzeDarkA',\n 'goldDarkA',\n 'skyDarkA',\n 'mintDarkA',\n 'limeDarkA',\n 'yellowDarkA',\n 'amberDarkA',\n 'orangeDarkA',\n 'whiteDark',\n];\nexport var ColorStyle = {\n black: 'slate-12',\n white: '#ffffff',\n slate: 'slate-9',\n olive: 'olive-9',\n sand: 'sand-9',\n tomato: 'tomato-9',\n red: 'red-9',\n ruby: 'ruby-9',\n crimson: 'crimson-9',\n pink: 'pink-9',\n plum: 'plum-9',\n purple: 'purple-9',\n violet: 'violet-9',\n iris: 'iris-9',\n indigo: 'indigo-9',\n blue: 'blue-9',\n cyan: 'cyan-9',\n teal: 'teal-9',\n jade: 'jade-9',\n green: 'green-9',\n grass: 'grass-9',\n brown: 'brown-9',\n bronze: 'bronze-9',\n gold: 'gold-9',\n sky: 'sky-9',\n mint: 'mint-9',\n lime: 'lime-9',\n yellow: 'yellow-9',\n amber: 'amber-9',\n orange: 'orange-9',\n};\nexport var DarkColorStyle = {\n blackDark: 'slateDark-12',\n whiteDark: 'slateDark-1',\n slateDark: 'slateDark-9',\n oliveDark: 'oliveDark-9',\n sandDark: 'sandDark-9',\n tomatoDark: 'tomatoDark-9',\n redDark: 'redDark-9',\n rubyDark: 'rubyDark-9',\n crimsonDark: 'crimsonDark-9',\n pinkDark: 'pinkDark-9',\n plumDark: 'plumDark-9',\n purpleDark: 'purpleDark-9',\n violetDark: 'violetDark-9',\n irisDark: 'irisDark-9',\n indigoDark: 'indigoDark-9',\n blueDark: 'blueDark-9',\n cyanDark: 'cyanDark-9',\n tealDark: 'tealDark-9',\n jadeDark: 'jadeDark-9',\n greenDark: 'greenDark-9',\n grassDark: 'grassDark-9',\n brownDark: 'brownDark-9',\n bronzeDark: 'bronzeDark-9',\n goldDark: 'goldDark-9',\n skyDark: 'skyDark-9',\n mintDark: 'mintDark-9',\n limeDark: 'limeDark-9',\n yellowDark: 'yellowDark-9',\n amberDark: 'amberDark-9',\n orangeDark: 'orangeDark-9',\n};\nexport var chartColorList = {\n sorting: [\n crimson[9],\n orange[9],\n amber[9],\n teal[9],\n blue[9],\n purple[9],\n slate[9],\n red[9],\n brown[9],\n yellow[9],\n lime[9],\n grass[9],\n sky[9],\n cyan[9],\n indigo[9],\n plum[9],\n ],\n mixed: [\n blue[9],\n crimson[9],\n teal[9],\n orange[9],\n purple[9],\n amber[9],\n slate[9],\n cyan[9],\n red[9],\n grass[9],\n brown[9],\n indigo[9],\n plum[9],\n yellow[9],\n sky[9],\n lime[9],\n ],\n};\nexport var chartAlphaColorList = {\n sorting: [\n crimsonA[2],\n orangeA[2],\n amberA[2],\n tealA[2],\n blueA[2],\n purpleA[2],\n slateA[2],\n redA[2],\n brownA[2],\n yellowA[2],\n limeA[2],\n grassA[2],\n skyA[2],\n cyanA[2],\n indigoA[2],\n plumA[2],\n ],\n mixed: [\n blueA[2],\n crimsonA[2],\n tealA[2],\n orangeA[2],\n purpleA[2],\n amberA[2],\n slateA[2],\n cyanA[2],\n redA[2],\n grassA[2],\n brownA[2],\n indigoA[2],\n plumA[2],\n yellowA[2],\n skyA[2],\n limeA[2],\n ],\n};\n"],"names":["MAIN_COLOR","ColorStyle","black","white","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","DarkColorStyle","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","chartColorList","sorting","mixed","chartAlphaColorList","crimsonA","orangeA","amberA","tealA","blueA","purpleA","slateA","redA","brownA","yellowA","limeA","grassA","skyA","cyanA","indigoA","plumA"],"mappings":"4ZAEU,IAACA,EAAa,MA2HbC,EAAa,CACpBC,MAAO,WACPC,MAAO,UACPC,MAAO,UACPC,MAAO,UACPC,KAAM,SACNC,OAAQ,WACRC,IAAK,QACLC,KAAM,SACNC,QAAS,YACTC,KAAM,SACNC,KAAM,SACNC,OAAQ,WACRC,OAAQ,WACRC,KAAM,SACNC,OAAQ,WACRC,KAAM,SACNC,KAAM,SACNC,KAAM,SACNC,KAAM,SACNC,MAAO,UACPC,MAAO,UACPC,MAAO,UACPC,OAAQ,WACRC,KAAM,SACNC,IAAK,QACLC,KAAM,SACNC,KAAM,SACNC,OAAQ,WACRC,MAAO,UACPC,OAAQ,YAEDC,EAAiB,CACxBC,UAAW,eACXC,UAAW,cACXC,UAAW,cACXC,UAAW,cACXC,SAAU,aACVC,WAAY,eACZC,QAAS,YACTC,SAAU,aACVC,YAAa,gBACbC,SAAU,aACVC,SAAU,aACVC,WAAY,eACZC,WAAY,eACZC,SAAU,aACVC,WAAY,eACZC,SAAU,aACVC,SAAU,aACVC,SAAU,aACVC,SAAU,aACVC,UAAW,cACXC,UAAW,cACXC,UAAW,cACXC,WAAY,eACZC,SAAU,aACVC,QAAS,YACTC,SAAU,aACVC,SAAU,aACVC,WAAY,eACZC,UAAW,cACXC,WAAY,gBAELC,EAAiB,CACxBC,QAAS,CACLtD,EAAQ,GACRqB,EAAO,GACPD,EAAM,GACNX,EAAK,GACLF,EAAK,GACLJ,EAAO,GACPT,EAAM,GACNI,EAAI,GACJe,EAAM,GACNM,EAAO,GACPD,EAAK,GACLN,EAAM,GACNI,EAAI,GACJR,EAAK,GACLF,EAAO,GACPJ,EAAK,IAETqD,MAAO,CACHhD,EAAK,GACLP,EAAQ,GACRS,EAAK,GACLY,EAAO,GACPlB,EAAO,GACPiB,EAAM,GACN1B,EAAM,GACNc,EAAK,GACLV,EAAI,GACJc,EAAM,GACNC,EAAM,GACNP,EAAO,GACPJ,EAAK,GACLiB,EAAO,GACPH,EAAI,GACJE,EAAK,KAGFsC,EAAsB,CAC7BF,QAAS,CACLG,EAAS,GACTC,EAAQ,GACRC,EAAO,GACPC,EAAM,GACNC,EAAM,GACNC,EAAQ,GACRC,EAAO,GACPC,EAAK,GACLC,EAAO,GACPC,EAAQ,GACRC,EAAM,GACNC,EAAO,GACPC,EAAK,GACLC,EAAM,GACNC,EAAQ,GACRC,EAAM,IAEVjB,MAAO,CACHM,EAAM,GACNJ,EAAS,GACTG,EAAM,GACNF,EAAQ,GACRI,EAAQ,GACRH,EAAO,GACPI,EAAO,GACPO,EAAM,GACNN,EAAK,GACLI,EAAO,GACPH,EAAO,GACPM,EAAQ,GACRC,EAAM,GACNN,EAAQ,GACRG,EAAK,GACLF,EAAM"}
|
@@ -6,8 +6,9 @@ export interface AccordionProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
6
6
|
color?: IColor;
|
7
7
|
}
|
8
8
|
declare const accoridanVariants: (props?: ({
|
9
|
-
scaling?: "
|
9
|
+
scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
|
+
export declare const useAccordionContext: () => AccordionProps;
|
11
12
|
export declare const Root: React.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<AccordionPrimitive.AccordionMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & AccordionProps) & React.RefAttributes<HTMLDivElement>>;
|
12
13
|
export declare const Item: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
13
14
|
export declare const Trigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AccordionProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -21,12 +22,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
21
22
|
return t;
|
22
23
|
};
|
23
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
-
import React from 'react';
|
25
|
+
import React, { createContext, useContext } from 'react';
|
25
26
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
26
27
|
import { ChevronDownIcon } from '@radix-ui/react-icons';
|
27
28
|
import { cn } from '../../../lib/utils/utils';
|
28
29
|
import { cva } from 'class-variance-authority';
|
29
30
|
import { scalingVariants } from '../../../lib/constants';
|
31
|
+
import { useTheme } from '../../../lib/theme';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
33
|
var accoridanVariants = cva('', {
|
31
34
|
variants: {
|
32
35
|
scaling: __assign({}, scalingVariants),
|
@@ -35,9 +38,22 @@ var accoridanVariants = cva('', {
|
|
35
38
|
scaling: '100%',
|
36
39
|
},
|
37
40
|
});
|
41
|
+
var AccordionContext = createContext({
|
42
|
+
scaling: '100%',
|
43
|
+
color: MAIN_COLOR,
|
44
|
+
});
|
45
|
+
export var useAccordionContext = function () {
|
46
|
+
return useContext(AccordionContext);
|
47
|
+
};
|
38
48
|
export var Root = React.forwardRef(function (_a, forwardedRef) {
|
39
|
-
var
|
40
|
-
|
49
|
+
var _b;
|
50
|
+
var className = _a.className, children = _a.children, scaling = _a.scaling, color = _a.color, rootProps = __rest(_a, ["className", "children", "scaling", "color"]);
|
51
|
+
var theme = useTheme().theme;
|
52
|
+
var contextValue = {
|
53
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
54
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
55
|
+
};
|
56
|
+
return (_jsx(AccordionContext.Provider, { value: contextValue, children: _jsx(AccordionPrimitive.Root, __assign({ className: cn('w-[280px] rounded-md border border-slateA-4 dark:border-slateDarkA-4', accoridanVariants({ scaling: contextValue.scaling }), className) }, rootProps, { ref: forwardedRef, children: children })) }));
|
41
57
|
});
|
42
58
|
Root.displayName = 'Accordion.Root';
|
43
59
|
export var Item = React.forwardRef(function (_a, forwardedRef) {
|
@@ -46,7 +62,8 @@ export var Item = React.forwardRef(function (_a, forwardedRef) {
|
|
46
62
|
});
|
47
63
|
Item.displayName = 'Accordion.Item';
|
48
64
|
export var Trigger = React.forwardRef(function (_a, forwardedRef) {
|
49
|
-
var className = _a.className, children = _a.children,
|
65
|
+
var className = _a.className, children = _a.children, rootProps = __rest(_a, ["className", "children"]);
|
66
|
+
var color = useAccordionContext().color;
|
50
67
|
return (_jsx(AccordionPrimitive.Header, __assign({}, rootProps, { className: cn('flex', className), children: _jsxs(AccordionPrimitive.Trigger, __assign({}, rootProps, { ref: forwardedRef, className: cn("group flex h-[44px] w-[278px] cursor-default items-center justify-between px-[20px] py-[10px] text-base font-normal", "dark:bg-[#111113] text-".concat(color, "A-11 dark:text-").concat(color, "Dark-11 "), "hover:bg-".concat(color, "A-4 dark:hover:bg-").concat(color, "Dark-4 hover:text-").concat(color, "A-11 dark:hover:text-").concat(color, "DarkA-11"), "data-[state=open]:bg-".concat(color, "A-5 dark:data-[state=open]:bg-").concat(color, "DarkA-5"), "disabled:bg-slateA-3 disabled:text-slateA-8 disabled:dark:bg-slateDarkA-3 disabled:dark:text-slateDarkA-8", className), children: [children, _jsx(ChevronDownIcon, { className: "transition-transform duration-300 ease-[cubic-bezier(0.87,_0,_0.13,_1)] group-data-[state=open]:rotate-180", "aria-hidden": true })] })) })));
|
51
68
|
});
|
52
69
|
Trigger.displayName = 'Accordion.Trigger';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as r,jsxs as e}from"react/jsx-runtime";import a,{createContext as t,useContext as o}from"react";import*as n from"@radix-ui/react-accordion";import{ChevronDownIcon as l}from"@radix-ui/react-icons";import{cn as c}from"../../utils/utils.mjs";import{cva as s}from"class-variance-authority";import{scalingVariants as i}from"../../constants.mjs";import{useTheme as d}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as m}from"../../color/constants.mjs";var p=function(){return p=Object.assign||function(r){for(var e,a=1,t=arguments.length;a<t;a++)for(var o in e=arguments[a])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},p.apply(this,arguments)},f=function(r,e){var a={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(a[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(t=Object.getOwnPropertySymbols(r);o<t.length;o++)e.indexOf(t[o])<0&&Object.prototype.propertyIsEnumerable.call(r,t[o])&&(a[t[o]]=r[t[o]])}return a},u=s("",{variants:{scaling:p({},i)},defaultVariants:{scaling:"100%"}}),h=t({scaling:"100%",color:m}),x=function(){return o(h)},b=a.forwardRef((function(e,a){var t,o=e.className,l=e.children,s=e.scaling,i=e.color,x=f(e,["className","children","scaling","color"]),b=d().theme,g={scaling:null!=s?s:b.themeScaling,color:null!==(t=null!=i?i:b.themeColor)&&void 0!==t?t:m};return r(h.Provider,{value:g,children:r(n.Root,p({className:c("w-[280px] rounded-md border border-slateA-4 dark:border-slateDarkA-4",u({scaling:g.scaling}),o)},x,{ref:a,children:l}))})}));b.displayName="Accordion.Root";var g=a.forwardRef((function(e,a){var t=e.className,o=e.children,l=f(e,["className","children"]);return r(n.Item,p({},l,{ref:a,className:c("mt-px w-[278px] overflow-hidden first:mt-0 first:rounded-t last:rounded-b",t),children:o}))}));g.displayName="Accordion.Item";var v=a.forwardRef((function(a,t){var o=a.className,s=a.children,i=f(a,["className","children"]),d=x().color;return r(n.Header,p({},i,{className:c("flex",o),children:e(n.Trigger,p({},i,{ref:t,className:c("group flex h-[44px] w-[278px] cursor-default items-center justify-between px-[20px] py-[10px] text-base font-normal","dark:bg-[#111113] text-".concat(d,"A-11 dark:text-").concat(d,"Dark-11 "),"hover:bg-".concat(d,"A-4 dark:hover:bg-").concat(d,"Dark-4 hover:text-").concat(d,"A-11 dark:hover:text-").concat(d,"DarkA-11"),"data-[state=open]:bg-".concat(d,"A-5 dark:data-[state=open]:bg-").concat(d,"DarkA-5"),"disabled:bg-slateA-3 disabled:text-slateA-8 disabled:dark:bg-slateDarkA-3 disabled:dark:text-slateDarkA-8",o),children:[s,r(l,{className:"transition-transform duration-300 ease-[cubic-bezier(0.87,_0,_0.13,_1)] group-data-[state=open]:rotate-180","aria-hidden":!0})]}))}))}));v.displayName="Accordion.Trigger";var A=a.forwardRef((function(e,a){var t=e.className,o=e.children,l=f(e,["className","children"]);return r(n.Content,p({},l,{ref:a,className:c("max-h-[800px] w-[278px] overflow-hidden border-t border-t-slateA-4 bg-slateA-2 text-[16px] text-slateA-11 data-[state=closed]:animate-slideUp data-[state=open]:animate-slideDown dark:border-t-slateDarkA-4 dark:bg-slateDarkA-2 dark:text-slateDarkA-11",t),children:r("div",{className:"h-auto max-h-[1000px] overflow-y-auto px-[20px] py-[15px] text-base font-normal",children:o})}))}));A.displayName="Accordion.Content";var k={Root:b,Item:g,Trigger:v,Content:A};export{A as Content,g as Item,b as Root,v as Trigger,k as default,x as useAccordionContext};
|
2
3
|
//# sourceMappingURL=index.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -6,8 +6,8 @@ export interface AlertDialogActionProps extends VariantProps<typeof alertDialogA
|
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
8
8
|
export declare const alertDialogActionVariants: (props?: ({
|
9
|
-
radius?: "small" | "none" | "
|
10
|
-
size?: "small" | "
|
9
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
10
|
+
size?: "small" | "large" | "medium" | "x-large" | null | undefined;
|
11
11
|
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
12
12
|
color?: string | null | undefined;
|
13
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -27,6 +28,7 @@ import { cva } from 'class-variance-authority';
|
|
27
28
|
import { cn } from '../../../lib/utils/utils';
|
28
29
|
import { appearanceStyle, primaryColorStyle, weightVariants } from '../../../lib/constants';
|
29
30
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
32
|
export var alertDialogActionVariants = cva("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal w-fit", {
|
31
33
|
variants: {
|
32
34
|
radius: {
|
@@ -49,12 +51,12 @@ export var alertDialogActionVariants = cva("inline-flex items-center justify-cen
|
|
49
51
|
radius: 'large',
|
50
52
|
weight: 'medium',
|
51
53
|
size: 'medium',
|
52
|
-
color:
|
54
|
+
color: MAIN_COLOR,
|
53
55
|
},
|
54
56
|
});
|
55
57
|
export var AlertDialogAction = forwardRef(function (_a, ref) {
|
56
58
|
var className = _a.className, children = _a.children, weight = _a.weight, props = __rest(_a, ["className", "children", "weight"]);
|
57
|
-
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, _c = _b.color, color = _c === void 0 ?
|
59
|
+
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
58
60
|
var buttonClassName = cn(alertDialogActionVariants({ radius: radius, size: size, weight: weight, color: color }), appearanceStyle(appearance, color), className);
|
59
61
|
return (_jsx(AlertDialogPrimitive.Action, __assign({ ref: ref, className: buttonClassName }, props, { children: children })));
|
60
62
|
});
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import*as t from"@radix-ui/react-alert-dialog";import{cva as o}from"class-variance-authority";import{cn as i}from"../../utils/utils.mjs";import{weightVariants as n,primaryColorStyle as a,appearanceStyle as l}from"../../constants.mjs";import{useAlertDialogContext as s}from"./AlertDialogRoot.mjs";import{MAIN_COLOR as m}from"../../color/constants.mjs";var p=function(){return p=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},p.apply(this,arguments)},c=function(r,e){var t={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&e.indexOf(o)<0&&(t[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(r);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(r,o[i])&&(t[o[i]]=r[o[i]])}return t},u=o("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal w-fit",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded",full:"rounded-full"},size:{small:"text-xs min-w-[40px] h-[24px] px-2",medium:"text-sm min-w-[50px] h-[32px] px-3",large:"text-sm min-w-[50px] h-[32px] px-3","x-large":"text-base min-w-[62px] h-[40px] px-4"},weight:p({},n),color:a()},defaultVariants:{radius:"large",weight:"medium",size:"medium",color:m}}),d=e((function(e,o){var n=e.className,a=e.children,d=e.weight,f=c(e,["className","children","weight"]),x=s(),h=x.radius,g=x.size,w=x.color,y=void 0===w?m:w,j=x.appearance,O=void 0===j?"solid":j,v=i(u({radius:h,size:g,weight:d,color:y}),l(O,y),n);return r(t.Action,p({ref:o,className:v},f,{children:a}))}));d.displayName="AlertDialog.Action";export{d as AlertDialogAction,u as alertDialogActionVariants};
|
2
3
|
//# sourceMappingURL=AlertDialogAction.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlertDialogAction.mjs","sources":[
|
1
|
+
{"version":3,"file":"AlertDialogAction.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -6,8 +6,8 @@ export interface AlertDialogCancelProps extends VariantProps<typeof alertDialogC
|
|
6
6
|
appearance?: IAppearance;
|
7
7
|
}
|
8
8
|
export declare const alertDialogCancelVariants: (props?: ({
|
9
|
-
radius?: "small" | "none" | "
|
10
|
-
size?: "small" | "
|
9
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
10
|
+
size?: "small" | "large" | "medium" | "x-large" | null | undefined;
|
11
11
|
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
13
|
export declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as t from"@radix-ui/react-alert-dialog";import{cva as a}from"class-variance-authority";import{cn as i}from"../../utils/utils.mjs";import{weightVariants as n,appearanceStyle as o}from"../../constants.mjs";import{useAlertDialogContext as l}from"./AlertDialogRoot.mjs";var s=function(){return s=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},s.apply(this,arguments)},m=function(e,r){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&r.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)r.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(t[a[i]]=e[a[i]])}return t},p=a("inline-flex justify-center items-center outline-none w-fit",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded",full:"rounded-full"},size:{small:"text-xs min-w-[40px] h-[24px] px-2 mr-2",medium:"text-sm min-w-[50px] h-[32px] px-3 mr-2",large:"text-sm min-w-[50px] h-[32px] px-3 mr-3","x-large":"text-base min-w-[62px] h-[40px] px-4 mr-3"},weight:s({},n)},defaultVariants:{radius:"large",weight:"medium",size:"large"}}),c=r((function(r,a){var n=r.className,c=r.children,u=r.weight,d=m(r,["className","children","weight"]),f=l(),x=f.radius,g=f.size,h=f.appearance,b=void 0===h?"solid":h,v=i(p({radius:x,size:g,weight:u}),o(b,"slate"),"border-none text-slate-11 bg-slate-3 \n active:bg-slate-4 active:border-none hover:cursor-pointer hover:bg-slateA-4\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4",n);return e(t.Cancel,s({ref:a},d,{className:v,children:c}))}));c.displayName="AlertDialog.Cancel";export{c as AlertDialogCancel,p as alertDialogCancelVariants};
|
2
3
|
//# sourceMappingURL=AlertDialogCancel.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlertDialogCancel.mjs","sources":[
|
1
|
+
{"version":3,"file":"AlertDialogCancel.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -4,8 +4,8 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface AlertDialogContentProps extends VariantProps<typeof alertDialogContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const alertDialogContentVariants: (props?: ({
|
7
|
-
size?: "small" | "
|
8
|
-
scaling?: "
|
9
|
-
radius?: "small" | "none" | "
|
7
|
+
size?: "small" | "large" | "medium" | "x-large" | null | undefined;
|
8
|
+
scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
|
9
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -46,6 +47,6 @@ export var alertDialogContentVariants = cva("fixed max-h-[85vh] top-[50%] left-[
|
|
46
47
|
export var AlertDialogContent = forwardRef(function (_a, ref) {
|
47
48
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
48
49
|
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;
|
49
|
-
return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Overlay, { className: "fixed data-[state=open]:animate-overlayShow
|
50
|
+
return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Overlay, { className: "fixed inset-0 data-[state=open]:animate-overlayShow" }), _jsx(AlertDialogPrimitive.Content, __assign({ className: cn(alertDialogContentVariants({ radius: radius, size: size, scaling: scaling }), className), ref: ref }, props, { children: children }))] }));
|
50
51
|
});
|
51
52
|
AlertDialogContent.displayName = 'AlertDialog.Content';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsxs as t,jsx as r}from"react/jsx-runtime";import{forwardRef as a}from"react";import*as e from"@radix-ui/react-alert-dialog";import{cva as o}from"class-variance-authority";import{cn as n}from"../../utils/utils.mjs";import{scalingVariants as i,radiusVariants as l}from"../../constants.mjs";import{useAlertDialogContext as s}from"./AlertDialogRoot.mjs";var p=function(){return p=Object.assign||function(t){for(var r,a=1,e=arguments.length;a<e;a++)for(var o in r=arguments[a])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},p.apply(this,arguments)},c=function(t,r){var a={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(a[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)r.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(a[e[o]]=t[e[o]])}return a},m=o("fixed max-h-[85vh] top-[50%] left-[50%] focus:outline-none\n translate-x-[-50%] translate-y-[-50%] data-[state=open]:animate-contentShow bg-white dark:bg-slateDark-1 \n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]",{variants:{size:{small:"p-3 w-[300px]",medium:"p-4 w-[400px]",large:"p-5 w-[500px]","x-large":"p-6 w-[600px]"},scaling:p({},i),radius:p({},l["extra-large"])},defaultVariants:{radius:"large",size:"large"}}),f=a((function(a,o){var i=a.className,l=a.children,f=c(a,["className","children"]),u=s(),x=u.radius,d=u.size,g=u.scaling;return t(e.Portal,{children:[r(e.Overlay,{className:"fixed inset-0 data-[state=open]:animate-overlayShow"}),r(e.Content,p({className:n(m({radius:x,size:d,scaling:g}),i),ref:o},f,{children:l}))]})}));f.displayName="AlertDialog.Content";export{f as AlertDialogContent,m as alertDialogContentVariants};
|
2
3
|
//# sourceMappingURL=AlertDialogContent.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlertDialogContent.mjs","sources":[
|
1
|
+
{"version":3,"file":"AlertDialogContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -5,6 +5,6 @@ export interface AlertDialogDescriptionProps extends VariantProps<typeof alertDi
|
|
5
5
|
contentText?: string;
|
6
6
|
}
|
7
7
|
export declare const alertDialogDescriptionVariants: (props?: ({
|
8
|
-
size?: "small" | "
|
8
|
+
size?: "small" | "large" | "medium" | "x-large" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as t}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as e from"@radix-ui/react-alert-dialog";import{cva as a}from"class-variance-authority";import{cn as o}from"../../utils/utils.mjs";import{useAlertDialogContext as i}from"./AlertDialogRoot.mjs";var n=function(){return n=Object.assign||function(t){for(var r,e=1,a=arguments.length;e<a;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},n.apply(this,arguments)},l=function(t,r){var e={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&r.indexOf(a)<0&&(e[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(t);o<a.length;o++)r.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(e[a[o]]=t[a[o]])}return e},s=a("text-slate-12 dark:text-slateDark-12 font-normal",{variants:{size:{small:"text-xs mb-3",medium:"text-sm mb-4",large:"text-base mb-5","x-large":"text-lg mb-6"}},defaultVariants:{size:"medium"}}),m=r((function(r,a){var m=r.className,c=r.children,p=r.contentText,f=l(r,["className","children","contentText"]),u=i().size;return t(e.Description,n({className:o(s({size:u}),m),ref:a},f,{children:null!=p?p:c}))}));m.displayName="AlertDialog.Description";export{m as AlertDialogDescription,s as alertDialogDescriptionVariants};
|
2
3
|
//# sourceMappingURL=AlertDialogDescription.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlertDialogDescription.mjs","sources":[
|
1
|
+
{"version":3,"file":"AlertDialogDescription.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|