@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,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import*as t from"@radix-ui/react-menubar";import{cn as a}from"../../utils/utils.mjs";import{cva as i}from"class-variance-authority";import{radiusVariants as o}from"../../constants.mjs";import{useMenubarContext as n}from"./MenubarRoot.mjs";var s=function(){return s=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},s.apply(this,arguments)},m=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 i=0;for(a=Object.getOwnPropertySymbols(r);i<a.length;i++)e.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(r,a[i])&&(t[a[i]]=r[a[i]])}return t},l=i("absolute left-0 inline-flex items-center justify-center ml-1 border",{variants:{radius:s({},o.base),size:{small:"w-3.5 h-3.5",medium:"w-4 h-4"}},defaultVariants:{size:"medium",radius:"medium"}}),c=e((function(e,i){var o=e.children,c=e.className,u=e.radius,f=m(e,["children","className","radius"]),p=n().size,d=a(l({size:p,radius:u}),c);return r(t.ItemIndicator,s({ref:i,className:d},f,{children:o}))}));c.displayName="Menubar.ItemIndicator";export{c as MenubarItemIndicator,l as menubarItemIndicatorVariants};
|
2
3
|
//# sourceMappingURL=MenubarItemIndicator.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MenubarItemIndicator.mjs","sources":[
|
1
|
+
{"version":3,"file":"MenubarItemIndicator.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as r}from"react/jsx-runtime";import{createContext as e,forwardRef as t}from"react";import*as a from"@radix-ui/react-menubar";var n=function(){return n=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},n.apply(this,arguments)},o=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 n=0;for(a=Object.getOwnPropertySymbols(r);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(r,a[n])&&(t[a[n]]=r[a[n]])}return t},l=e({selectedValue:""}),c=t((function(e,t){var c=e.children,i=e.className,u=e.value,p=o(e,["children","className","value"]);return r(a.RadioGroup,n({ref:t,className:i},p,{children:r(l.Provider,{value:{selectedValue:null!=u?u:""},children:c})}))}));c.displayName="Menubar.RadioGroup";export{c as MenubarRadioGroup,l as RadioContext};
|
2
3
|
//# sourceMappingURL=MenubarRadioGroup.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MenubarRadioGroup.mjs","sources":[
|
1
|
+
{"version":3,"file":"MenubarRadioGroup.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -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++) {
|
@@ -30,9 +31,10 @@ import { menubarItemVariants } from './MenubarItem';
|
|
30
31
|
import { MenubarItemIndicator } from './MenubarItemIndicator';
|
31
32
|
import { RadioContext } from './MenubarRadioGroup';
|
32
33
|
import { useMenubarContext } from './MenubarRoot';
|
34
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
33
35
|
export var MenubarRadioItem = forwardRef(function (_a, ref) {
|
34
36
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
35
|
-
var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ?
|
37
|
+
var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
|
36
38
|
var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
|
37
39
|
var radioGroup = useContext(RadioContext);
|
38
40
|
return (_jsxs(MenubarPrimitive.RadioItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(MenubarItemIndicator, { forceMount: true, radius: 'full', size: size, children: radioGroup.selectedValue === props.value && _jsx(DotFilledIcon, {}) }), children] })));
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsxs as r,jsx as o}from"react/jsx-runtime";import{forwardRef as e,useContext as t}from"react";import*as i from"@radix-ui/react-menubar";import{DotFilledIcon as a}from"@radix-ui/react-icons";import{cn as n}from"../../utils/utils.mjs";import{menuItemAppearanceStyle as m}from"../../constants.mjs";import{menubarItemVariants as s}from"./MenubarItem.mjs";import{MenubarItemIndicator as c}from"./MenubarItemIndicator.mjs";import{RadioContext as l}from"./MenubarRadioGroup.mjs";import{useMenubarContext as p}from"./MenubarRoot.mjs";import{MAIN_COLOR as u}from"../../color/constants.mjs";var f=function(){return f=Object.assign||function(r){for(var o,e=1,t=arguments.length;e<t;e++)for(var i in o=arguments[e])Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i]);return r},f.apply(this,arguments)},d=function(r,o){var e={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&o.indexOf(t)<0&&(e[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(r);i<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i])&&(e[t[i]]=r[t[i]])}return e},b=e((function(e,b){var j=e.children,y=e.className,O=d(e,["children","className"]),v=p(),h=v.radius,g=v.scaling,x=v.size,I=v.color,M=void 0===I?u:I,w=v.itemAppearance,N=void 0===w?"solid":w,P=n(s({radius:h,scaling:g,size:x}),"pl-7",m(N,M),y),R=t(l);return r(i.RadioItem,f({ref:b,className:P},O,{children:[o(c,{forceMount:!0,radius:"full",size:x,children:R.selectedValue===O.value&&o(a,{})}),j]}))}));b.displayName="Menubar.RadioItem";export{b as MenubarRadioItem};
|
2
3
|
//# sourceMappingURL=MenubarRadioItem.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MenubarRadioItem.mjs","sources":[
|
1
|
+
{"version":3,"file":"MenubarRadioItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -10,9 +10,9 @@ export interface MenubarProps extends VariantProps<typeof menubarVariants>, Vari
|
|
10
10
|
color?: IColor;
|
11
11
|
}
|
12
12
|
export declare const menubarVariants: (props?: ({
|
13
|
-
radius?: "small" | "none" | "
|
13
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
14
14
|
size?: "small" | "medium" | null | undefined;
|
15
|
-
scaling?: "
|
15
|
+
scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
|
16
16
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
17
17
|
export declare const useMenubarContext: () => MenubarProps;
|
18
18
|
export declare const MenubarRoot: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarProps & 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++) {
|
@@ -21,11 +22,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
21
22
|
return t;
|
22
23
|
};
|
23
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
-
import { createContext, forwardRef, useContext,
|
25
|
+
import { createContext, forwardRef, useContext, } from 'react';
|
25
26
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
26
27
|
import { cva } from 'class-variance-authority';
|
27
28
|
import { cn } from '../../../lib/utils/utils';
|
28
29
|
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
|
+
import { useTheme } from '../../../lib/theme';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
29
32
|
export var menubarVariants = cva('flex p-1 shadow bg-white dark:bg-slateDark-1', {
|
30
33
|
variants: {
|
31
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -44,7 +47,7 @@ var MenubarContext = createContext({
|
|
44
47
|
radius: 'medium',
|
45
48
|
scaling: '100%',
|
46
49
|
size: 'medium',
|
47
|
-
color:
|
50
|
+
color: MAIN_COLOR,
|
48
51
|
appearance: 'ghost',
|
49
52
|
itemAppearance: 'solid',
|
50
53
|
});
|
@@ -52,9 +55,18 @@ export var useMenubarContext = function () {
|
|
52
55
|
return useContext(MenubarContext);
|
53
56
|
};
|
54
57
|
export var MenubarRoot = forwardRef(function (_a, ref) {
|
55
|
-
var
|
56
|
-
var
|
57
|
-
var
|
58
|
+
var _b;
|
59
|
+
var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, color = _a.color, _c = _a.appearance, appearance = _c === void 0 ? 'ghost' : _c, _d = _a.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "color", "appearance", "itemAppearance"]);
|
60
|
+
var theme = useTheme().theme;
|
61
|
+
var contextValue = {
|
62
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
63
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
64
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
65
|
+
size: size,
|
66
|
+
appearance: appearance,
|
67
|
+
itemAppearance: itemAppearance,
|
68
|
+
};
|
69
|
+
var menuClassName = cn(menubarVariants(contextValue), appearance === 'solid' && "bg-".concat(contextValue.color, "-9 dark:bg-$").concat(contextValue.color, "Dark-9"), className);
|
58
70
|
return (_jsx(MenubarContext.Provider, { value: contextValue, children: _jsx(MenubarPrimitive.Root, __assign({ ref: ref, className: menuClassName }, props, { children: children })) }));
|
59
71
|
});
|
60
72
|
MenubarRoot.displayName = 'Menubar.Root';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as e}from"react/jsx-runtime";import{createContext as r,forwardRef as a,useContext as t}from"react";import*as o from"@radix-ui/react-menubar";import{cva as i}from"class-variance-authority";import{cn as n}from"../../utils/utils.mjs";import{radiusVariants as s,scalingVariants as l}from"../../constants.mjs";import{useTheme as c}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as m}from"../../color/constants.mjs";var p=function(){return p=Object.assign||function(e){for(var r,a=1,t=arguments.length;a<t;a++)for(var o in r=arguments[a])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},p.apply(this,arguments)},u=function(e,r){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(a[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(t=Object.getOwnPropertySymbols(e);o<t.length;o++)r.indexOf(t[o])<0&&Object.prototype.propertyIsEnumerable.call(e,t[o])&&(a[t[o]]=e[t[o]])}return a},d=i("flex p-1 shadow bg-white dark:bg-slateDark-1",{variants:{radius:p({},s.base),size:{small:"text-xs",medium:"text-sm"},scaling:p({},l)},defaultVariants:{radius:"small",size:"medium"}}),f=r({radius:"medium",scaling:"100%",size:"medium",color:m,appearance:"ghost",itemAppearance:"solid"}),h=function(){return t(f)},g=a((function(r,a){var t,i=r.children,s=r.className,l=r.radius,h=r.scaling,g=r.size,b=r.color,v=r.appearance,y=void 0===v?"ghost":v,O=r.itemAppearance,j=void 0===O?"solid":O,x=u(r,["children","className","radius","scaling","size","color","appearance","itemAppearance"]),w=c().theme,z={radius:null!=l?l:w.themeRadius,scaling:null!=h?h:w.themeScaling,color:null!==(t=null!=b?b:w.themeColor)&&void 0!==t?t:m,size:g,appearance:y,itemAppearance:j},P=n(d(z),"solid"===y&&"bg-".concat(z.color,"-9 dark:bg-$").concat(z.color,"Dark-9"),s);return e(f.Provider,{value:z,children:e(o.Root,p({ref:a,className:P},x,{children:i}))})}));g.displayName="Menubar.Root";export{g as MenubarRoot,g as default,d as menubarVariants,h as useMenubarContext};
|
2
3
|
//# sourceMappingURL=MenubarRoot.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MenubarRoot.mjs","sources":[
|
1
|
+
{"version":3,"file":"MenubarRoot.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface MenubarSubContentProps extends VariantProps<typeof menubarSubContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const menubarSubContentVariants: (props?: ({
|
7
|
-
radius?: "small" | "none" | "
|
7
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarSubContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as a from"@radix-ui/react-menubar";import{cva as e}from"class-variance-authority";import{cn as i}from"../../utils/utils.mjs";import{radiusVariants as n}from"../../constants.mjs";import{useMenubarContext as o}from"./MenubarRoot.mjs";var s=function(){return s=Object.assign||function(r){for(var t,a=1,e=arguments.length;a<e;a++)for(var i in t=arguments[a])Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r},s.apply(this,arguments)},m=function(r,t){var a={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&t.indexOf(e)<0&&(a[e]=r[e]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(e=Object.getOwnPropertySymbols(r);i<e.length;i++)t.indexOf(e[i])<0&&Object.prototype.propertyIsEnumerable.call(r,e[i])&&(a[e[i]]=r[e[i]])}return a},p=e("p-[5px] w-fit bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]",{variants:{radius:s({},n["extra-large"]),size:{small:"p-1 min-w-[120px]",medium:"p-2 min-w-[136px]"}},defaultVariants:{radius:"small",size:"medium"}}),l=t((function(t,e){var n=t.children,l=t.className,c=m(t,["children","className"]),u=o(),f=u.radius,b=u.size;return r(a.SubContent,s({ref:e,className:i(p({radius:f,size:b}),l),alignOffset:-5},c,{children:n}))}));l.displayName="Menubar.SubContent";export{l as MenubarSubContent,p as menubarSubContentVariants};
|
2
3
|
//# sourceMappingURL=MenubarSubContent.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MenubarSubContent.mjs","sources":[
|
1
|
+
{"version":3,"file":"MenubarSubContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -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++) {
|
@@ -28,9 +29,10 @@ import { cn } from '../../../lib/utils/utils';
|
|
28
29
|
import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
|
29
30
|
import { menubarItemVariants } from './MenubarItem';
|
30
31
|
import { useMenubarContext } from './MenubarRoot';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
33
|
export var MenubarSubTrigger = forwardRef(function (_a, ref) {
|
32
34
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
33
|
-
var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ?
|
35
|
+
var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
|
34
36
|
var triggerClassName = cn(menubarItemVariants({ scaling: scaling, size: size, radius: radius }), menuItemAppearanceStyle(itemAppearance, color), className);
|
35
37
|
var iconClassName = 'ml-auto pl-5 group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11';
|
36
38
|
if (itemAppearance === 'solid' && !blackText.includes(color)) {
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsxs as r,jsx as t}from"react/jsx-runtime";import{forwardRef as e}from"react";import*as o from"@radix-ui/react-menubar";import{ChevronRightIcon as a}from"@radix-ui/react-icons";import{cn as i}from"../../utils/utils.mjs";import{menuItemAppearanceStyle as n,blackText as s}from"../../constants.mjs";import{menubarItemVariants as l}from"./MenubarItem.mjs";import{useMenubarContext as m}from"./MenubarRoot.mjs";import{MAIN_COLOR as c}from"../../color/constants.mjs";var p=function(){return p=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},p.apply(this,arguments)},u=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},f=e((function(e,f){var d=e.children,b=e.className,g=u(e,["children","className"]),h=m(),v=h.scaling,y=h.size,j=h.radius,O=h.color,x=void 0===O?c:O,w=h.itemAppearance,N=void 0===w?"solid":w,k=i(l({scaling:v,size:y,radius:j}),n(N,x),b),P="ml-auto pl-5 group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11";return"solid"!==N||s.includes(x)||(P="group-hover:text-white dark:group-hover:text-slateDark-1"),r(o.SubTrigger,p({ref:f,className:k},g,{children:[d,t("div",{className:P,children:t(a,{})})]}))}));f.displayName="Menubar.SubTrigger";export{f as MenubarSubTrigger};
|
2
3
|
//# sourceMappingURL=MenubarSubTrigger.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MenubarSubTrigger.mjs","sources":[
|
1
|
+
{"version":3,"file":"MenubarSubTrigger.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -6,7 +6,7 @@ export interface MenubarTriggerProps extends VariantProps<typeof menubarTriggerV
|
|
6
6
|
}
|
7
7
|
export declare const menubarTriggerVariants: (props?: ({
|
8
8
|
size?: "small" | "medium" | null | undefined;
|
9
|
-
radius?: "small" | "none" | "
|
10
|
-
scaling?: "
|
9
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
10
|
+
scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & MenubarTriggerProps & 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++) {
|
@@ -50,7 +51,7 @@ export var menubarTriggerVariants = cva("flex items-center justify-between gap-[
|
|
50
51
|
});
|
51
52
|
export var MenubarTrigger = forwardRef(function (_a, ref) {
|
52
53
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
53
|
-
var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius,
|
54
|
+
var _b = useMenubarContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'ghost' : _c;
|
54
55
|
var triggerClassName = cn(menubarTriggerVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
|
55
56
|
return (_jsx(MenubarPrimitive.Trigger, __assign({ ref: ref, className: triggerClassName }, props, { children: children })));
|
56
57
|
});
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as t from"@radix-ui/react-menubar";import{cva as n}from"class-variance-authority";import{cn as a}from"../../utils/utils.mjs";import{scalingVariants as o,appearanceStyle as i}from"../../constants.mjs";import{useMenubarContext as s}from"./MenubarRoot.mjs";var l=function(){return l=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},l.apply(this,arguments)},m=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)r.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(t[n[a]]=e[n[a]])}return t},u=n("flex items-center justify-between gap-[2px] outline-none select-none leading-none py-1 px-3 \n font-medium truncate w-fit",{variants:{size:{small:"text-xs",medium:"text-sm"},radius:{none:"rounded-none",small:"rounded-[1px]",medium:"rounded-sm",large:"rounded",full:"rounded-full"},scaling:l({},o)},defaultVariants:{scaling:"100%",size:"medium",radius:"small"}}),c=r((function(r,n){var o=r.children,c=r.className,p=m(r,["children","className"]),d=s(),f=d.scaling,g=d.size,y=d.radius,b=d.color,x=d.appearance,O=void 0===x?"ghost":x,j=a(u({scaling:f,size:g,radius:y}),i(O,b),c);return e(t.Trigger,l({ref:n,className:j},p,{children:o}))}));c.displayName="Menubar.Trigger";export{c as MenubarTrigger,u as menubarTriggerVariants};
|
2
3
|
//# sourceMappingURL=MenubarTrigger.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MenubarTrigger.mjs","sources":[
|
1
|
+
{"version":3,"file":"MenubarTrigger.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
declare const Menubar: {
|
2
3
|
Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-menubar").MenubarProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./MenubarRoot").MenubarProps & import("react").RefAttributes<HTMLDivElement>>;
|
3
4
|
Menu: import("react").ForwardRefExoticComponent<import("@radix-ui/react-menubar").MenubarMenuProps & {
|
@@ -5,7 +5,7 @@ export interface NavigationMenuContentProps extends VariantProps<typeof navigati
|
|
5
5
|
isShowIcon?: boolean;
|
6
6
|
}
|
7
7
|
export declare const navigationMenuContentVariants: (props?: ({
|
8
|
-
radius?: "small" | "none" | "
|
8
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & NavigationMenuContentProps & 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++) {
|
@@ -43,6 +44,6 @@ export var navigationMenuContentVariants = cva("text-slate-12 dark:text-slateDar
|
|
43
44
|
export var NavigationMenuContent = forwardRef(function (_a, ref) {
|
44
45
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
45
46
|
var _b = useNavigationMenuContext(), radius = _b.radius, size = _b.size;
|
46
|
-
return (_jsx(NavigationMenuPrimitive.Content, __assign({ ref: ref, className: cn("data-[motion=from-start]:animate-enterFromLeft data-[motion=from-end]:animate-enterFromRight data-[motion=to-start]:animate-exitToLeft data-[motion=to-end]:animate-exitToRight absolute left-0 top-0 w-full sm:w-auto", navigationMenuContentVariants({ radius: radius, size: size }), className) }, props, { children: children })));
|
47
|
+
return (_jsx(NavigationMenuPrimitive.Content, __assign({ ref: ref, className: cn("data-[motion=from-start]:animate-enterFromLeft data-[motion=from-end]:animate-enterFromRight data-[motion=to-start]:animate-exitToLeft data-[motion=to-end]:animate-exitToRight absolute left-0 top-0 z-10 w-full bg-white sm:w-auto", navigationMenuContentVariants({ radius: radius, size: size }), className) }, props, { children: children })));
|
47
48
|
});
|
48
49
|
NavigationMenuContent.displayName = 'NavigationMenu.Content';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as t}from"react/jsx-runtime";import{forwardRef as e}from"react";import*as r from"@radix-ui/react-navigation-menu";import{cn as a}from"../../utils/utils.mjs";import{cva as o}from"class-variance-authority";import{radiusVariants as i}from"../../constants.mjs";import{useNavigationMenuContext as n}from"./NavigationMenuRoot.mjs";var m=function(){return m=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},m.apply(this,arguments)},s=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(t);o<a.length;o++)e.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(r[a[o]]=t[a[o]])}return r},l=o("text-slate-12 dark:text-slateDark-12 bg-white dark:bg-slateDark-1 p-2 cursor-pointer",{variants:{radius:m({},i["extra-large"]),size:{small:"min-w-[250px] text-xs py-2 px-3",medium:"min-w-[300px] text-sm py-2 px-3"}},defaultVariants:{radius:"medium",size:"medium"}}),p=e((function(e,o){var i=e.className,p=e.children,u=s(e,["className","children"]),f=n(),c=f.radius,d=f.size;return t(r.Content,m({ref:o,className:a("data-[motion=from-start]:animate-enterFromLeft data-[motion=from-end]:animate-enterFromRight data-[motion=to-start]:animate-exitToLeft data-[motion=to-end]:animate-exitToRight absolute left-0 top-0 z-10 w-full bg-white sm:w-auto",l({radius:c,size:d}),i)},u,{children:p}))}));p.displayName="NavigationMenu.Content";export{p as NavigationMenuContent,l as navigationMenuContentVariants};
|
2
3
|
//# sourceMappingURL=NavigationMenuContent.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NavigationMenuContent.mjs","sources":[
|
1
|
+
{"version":3,"file":"NavigationMenuContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -26,6 +26,6 @@ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
26
26
|
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var NavigationMenuIndicator = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
29
|
-
return (_jsxs(NavigationMenuPrimitive.Indicator, __assign({ ref: ref, className: "data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-
|
29
|
+
return (_jsxs(NavigationMenuPrimitive.Indicator, __assign({ ref: ref, className: "data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-30 flex h-[10px] items-end justify-center overflow-hidden transition-[width,transform_250ms_ease]" }, props, { children: [_jsx("div", { className: cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] bg-white shadow shadow-slate-4 dark:bg-slateDark-2 dark:shadow-slateDark-4", className) }), children] })));
|
30
30
|
});
|
31
31
|
NavigationMenuIndicator.displayName = 'NavigationMenu.Indicator';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as a from"@radix-ui/react-navigation-menu";import{cn as n}from"../../utils/utils.mjs";var o=function(){return o=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},o.apply(this,arguments)},i=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(t);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(t,a[n])&&(r[a[n]]=t[a[n]])}return r},s=r((function(r,s){var l=r.className,d=r.children,c=i(r,["className","children"]);return t(a.Indicator,o({ref:s,className:"data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-
|
1
|
+
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as a from"@radix-ui/react-navigation-menu";import{cn as n}from"../../utils/utils.mjs";var o=function(){return o=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},o.apply(this,arguments)},i=function(t,e){var r={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(r[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(t);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(t,a[n])&&(r[a[n]]=t[a[n]])}return r},s=r((function(r,s){var l=r.className,d=r.children,c=i(r,["className","children"]);return t(a.Indicator,o({ref:s,className:"data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-30 flex h-[10px] items-end justify-center overflow-hidden transition-[width,transform_250ms_ease]"},c,{children:[e("div",{className:n("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] bg-white shadow shadow-slate-4 dark:bg-slateDark-2 dark:shadow-slateDark-4",l)}),d]}))}));s.displayName="NavigationMenu.Indicator";export{s as NavigationMenuIndicator};
|
2
2
|
//# sourceMappingURL=NavigationMenuIndicator.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NavigationMenuIndicator.mjs","sources":["../../../lib/components/NavigationMenu/NavigationMenuIndicator.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cn } from '../../../lib/utils/utils';\nexport var NavigationMenuIndicator = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsxs(NavigationMenuPrimitive.Indicator, __assign({ ref: ref, className: \"data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-
|
1
|
+
{"version":3,"file":"NavigationMenuIndicator.mjs","sources":["../../../lib/components/NavigationMenu/NavigationMenuIndicator.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cn } from '../../../lib/utils/utils';\nexport var NavigationMenuIndicator = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsxs(NavigationMenuPrimitive.Indicator, __assign({ ref: ref, className: \"data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut top-full z-30 flex h-[10px] items-end justify-center overflow-hidden transition-[width,transform_250ms_ease]\" }, props, { children: [_jsx(\"div\", { className: cn(\"relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] bg-white shadow shadow-slate-4 dark:bg-slateDark-2 dark:shadow-slateDark-4\", className) }), children] })));\n});\nNavigationMenuIndicator.displayName = 'NavigationMenu.Indicator';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","NavigationMenuIndicator","forwardRef","_a","ref","className","children","props","_jsxs","NavigationMenuPrimitive","Indicator","_jsx","cn","displayName"],"mappings":"kLAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAKWiB,EAA0BC,GAAW,SAAUC,EAAIC,GAC1D,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQX,EAAOO,EAAI,CAAC,YAAa,aACvF,OAAQK,EAAMC,EAAwBC,UAAW7B,EAAS,CAAEuB,IAAKA,EAAKC,UAAW,wLAA0LE,EAAO,CAAED,SAAU,CAACK,EAAK,MAAO,CAAEN,UAAWO,EAAG,kJAAmJP,KAAeC,KACje,IACAL,EAAwBY,YAAc"}
|
@@ -7,7 +7,7 @@ export interface NavigationMenuLinkProps extends VariantProps<typeof navigationM
|
|
7
7
|
}
|
8
8
|
export declare const navigationMenuLinkVariants: (props?: ({
|
9
9
|
size?: "small" | "medium" | null | undefined;
|
10
|
-
radius?: "small" | "none" | "
|
11
|
-
scaling?: "
|
10
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
11
|
+
scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
|
12
12
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
13
|
export declare const NavigationMenuLink: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
@@ -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 { cn } from '../../../lib/utils/utils';
|
|
27
28
|
import { cva } from 'class-variance-authority';
|
28
29
|
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
30
|
import { useNavigationMenuContext } from './NavigationMenuRoot';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
32
|
export var navigationMenuLinkVariants = cva("block select-none leading-none outline-none py-1 px-3 cursor-alias hover:underline font-medium", {
|
31
33
|
variants: {
|
32
34
|
size: {
|
@@ -44,7 +46,7 @@ export var navigationMenuLinkVariants = cva("block select-none leading-none outl
|
|
44
46
|
});
|
45
47
|
export var NavigationMenuLink = forwardRef(function (_a, ref) {
|
46
48
|
var children = _a.children, className = _a.className, href = _a.href, props = __rest(_a, ["children", "className", "href"]);
|
47
|
-
var _b = useNavigationMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ?
|
49
|
+
var _b = useNavigationMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'ghost' : _d;
|
48
50
|
var linkClassName = cn(navigationMenuLinkVariants({ scaling: scaling, size: size, radius: radius }), appearanceStyle(appearance, color), className);
|
49
51
|
return (_jsx(NavigationMenuPrimitive.Link, __assign({ ref: ref, href: href, title: href, className: linkClassName }, props, { children: children })));
|
50
52
|
});
|
@@ -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-navigation-menu";import{cn as a}from"../../utils/utils.mjs";import{cva as i}from"class-variance-authority";import{radiusVariants as n,scalingVariants as o,appearanceStyle as s}from"../../constants.mjs";import{useNavigationMenuContext as l}from"./NavigationMenuRoot.mjs";import{MAIN_COLOR as m}from"../../color/constants.mjs";var c=function(){return c=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},c.apply(this,arguments)},p=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 i=0;for(a=Object.getOwnPropertySymbols(r);i<a.length;i++)e.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(r,a[i])&&(t[a[i]]=r[a[i]])}return t},u=i("block select-none leading-none outline-none py-1 px-3 cursor-alias hover:underline font-medium",{variants:{size:{small:"text-xs gap-[2px]",medium:"text-sm gap-[3px]"},radius:c({},n.base),scaling:c({},o)},defaultVariants:{scaling:"100%",size:"medium",radius:"small"}}),f=e((function(e,i){var n=e.children,o=e.className,f=e.href,d=p(e,["children","className","href"]),g=l(),v=g.scaling,y=g.size,h=g.radius,O=g.color,b=void 0===O?m:O,j=g.appearance,x=void 0===j?"ghost":j,N=a(u({scaling:v,size:y,radius:h}),s(x,b),o);return r(t.Link,c({ref:i,href:f,title:f,className:N},d,{children:n}))}));f.displayName="NavigationMenu.Link";export{f as NavigationMenuLink,u as navigationMenuLinkVariants};
|
2
3
|
//# sourceMappingURL=NavigationMenuLink.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NavigationMenuLink.mjs","sources":[
|
1
|
+
{"version":3,"file":"NavigationMenuLink.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -6,7 +6,7 @@ export interface NavigationMenuListProps extends VariantProps<typeof navigationM
|
|
6
6
|
appearance?: 'ghost' | 'solid';
|
7
7
|
}
|
8
8
|
export declare const navigationMenuListVariants: (props?: ({
|
9
|
-
radius?: "small" | "none" | "
|
10
|
-
scaling?: "
|
9
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
10
|
+
scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & NavigationMenuListProps & React.RefAttributes<HTMLUListElement>>;
|
@@ -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++) {
|
@@ -28,6 +29,7 @@ import { cva } from 'class-variance-authority';
|
|
28
29
|
import { appearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
29
30
|
import { NavigationMenuIndicator } from './NavigationMenuIndicator';
|
30
31
|
import { useNavigationMenuContext } from './NavigationMenuRoot';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
33
|
export var navigationMenuListVariants = cva('flex p-1 space-x-1 shadow-slate-4 shadow dark:shadow-slateDark-4 bg-white dark:bg-slateDark-1', {
|
32
34
|
variants: {
|
33
35
|
radius: __assign({}, radiusVariants['base']),
|
@@ -40,7 +42,7 @@ export var navigationMenuListVariants = cva('flex p-1 space-x-1 shadow-slate-4 s
|
|
40
42
|
});
|
41
43
|
export var NavigationMenuList = forwardRef(function (_a, ref) {
|
42
44
|
var children = _a.children, className = _a.className, _b = _a.isShowIndicator, isShowIndicator = _b === void 0 ? true : _b, props = __rest(_a, ["children", "className", "isShowIndicator"]);
|
43
|
-
var _c = useNavigationMenuContext(), scaling = _c.scaling, radius = _c.radius, _d = _c.appearance, appearance = _d === void 0 ? 'ghost' : _d, _e = _c.color, color = _e === void 0 ?
|
45
|
+
var _c = useNavigationMenuContext(), scaling = _c.scaling, radius = _c.radius, _d = _c.appearance, appearance = _d === void 0 ? 'ghost' : _d, _e = _c.color, color = _e === void 0 ? MAIN_COLOR : _e;
|
44
46
|
var navigationMenuListClassName = cn(navigationMenuListVariants({ scaling: scaling, radius: radius }), appearanceStyle(appearance, color, false), 'border-none', appearance === 'ghost' && 'bg-white', className);
|
45
47
|
return (_jsxs(NavigationMenuPrimitive.List, __assign({ ref: ref, className: navigationMenuListClassName }, props, { children: [children, isShowIndicator && _jsx(NavigationMenuIndicator, {})] })));
|
46
48
|
});
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsxs as r,jsx as a}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as o from"@radix-ui/react-navigation-menu";import{cn as i}from"../../utils/utils.mjs";import{cva as e}from"class-variance-authority";import{radiusVariants as n,scalingVariants as s,appearanceStyle as c}from"../../constants.mjs";import{NavigationMenuIndicator as l}from"./NavigationMenuIndicator.mjs";import{useNavigationMenuContext as m}from"./NavigationMenuRoot.mjs";import{MAIN_COLOR as p}from"../../color/constants.mjs";var f=function(){return f=Object.assign||function(r){for(var a,t=1,o=arguments.length;t<o;t++)for(var i in a=arguments[t])Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i]);return r},f.apply(this,arguments)},u=function(r,a){var t={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&a.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++)a.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(r,o[i])&&(t[o[i]]=r[o[i]])}return t},d=e("flex p-1 space-x-1 shadow-slate-4 shadow dark:shadow-slateDark-4 bg-white dark:bg-slateDark-1",{variants:{radius:f({},n.base),scaling:f({},s)},defaultVariants:{scaling:"100%",radius:"small"}}),g=t((function(t,e){var n=t.children,s=t.className,g=t.isShowIndicator,h=void 0===g||g,v=u(t,["children","className","isShowIndicator"]),b=m(),y=b.scaling,j=b.radius,O=b.appearance,w=void 0===O?"ghost":O,x=b.color,N=void 0===x?p:x,k=i(d({scaling:y,radius:j}),c(w,N,!1),"border-none","ghost"===w&&"bg-white",s);return r(o.List,f({ref:e,className:k},v,{children:[n,h&&a(l,{})]}))}));g.displayName="NavigationMenu.List";export{g as NavigationMenuList,d as navigationMenuListVariants};
|
2
3
|
//# sourceMappingURL=NavigationMenuList.mjs.map
|