@lotte-innovate/ui-component-test 0.0.89 → 0.0.97
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 +14 -5
- 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 +4 -2
- 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/ContextMenuSeparator.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.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/ContextMenuTrigger.js +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.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 +4 -2
- 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/DropdownMenuSeparator.js +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.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 +2 -1
- 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 +14 -4
- 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 +4 -2
- 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/MenubarSeparator.js +1 -1
- package/dist/lib/components/Menubar/MenubarSeparator.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarSeparator.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
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as r,jsxs as e}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as o from"@radix-ui/react-context-menu";import{ChevronRightIcon as a}from"@radix-ui/react-icons";import{cn as i}from"../../utils/utils.mjs";import{contextMenuItemVariants as n}from"./ContextMenuItem.mjs";import{menuItemAppearanceStyle as l,blackText as s}from"../../constants.mjs";import{useContextMenuContext as c}from"./ContextMenuRoot.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 a in e=arguments[t])Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r},p.apply(this,arguments)},u=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 a=0;for(o=Object.getOwnPropertySymbols(r);a<o.length;a++)e.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(r,o[a])&&(t[o[a]]=r[o[a]])}return t},f=t((function(t,f){var d=t.children,h=t.className,v=u(t,["children","className"]),b=c(),y=b.scaling,g=b.size,j=b.radius,O=b.color,x=void 0===O?m:O,N=b.appearance,w=void 0===N?"solid":N,S=i(n({scaling:y,size:g,radius:j}),l(w,x),h),k=i("group-data-[disabled]:text-slate-8 ","solid"===w&&s.includes(x)?"hover:fill-slate-12 dark:hover:fill-slateDark-1":"hover:fill-white dark:hover:fill-slateDark-12 ");return r(o.Sub,{children:e(o.SubTrigger,p({ref:f,className:S},v,{children:[d,r("div",{className:"ml-auto pl-5",children:r(a,{className:k})})]}))})}));f.displayName="ContextMenu.SubTrigger";export{f as ContextMenuSubTrigger};
|
2
3
|
//# sourceMappingURL=ContextMenuSubTrigger.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuSubTrigger.mjs","sources":[
|
1
|
+
{"version":3,"file":"ContextMenuSubTrigger.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -26,6 +26,6 @@ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
26
26
|
import { cn } from '../../../lib/utils/utils';
|
27
27
|
export var ContextMenuTrigger = forwardRef(function (_a, ref) {
|
28
28
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
29
|
-
return (_jsx(ContextMenuPrimitive.Trigger, __assign({ ref: ref, className: cn("flex text-slate-12 dark:text-slateDark-12
|
29
|
+
return (_jsx(ContextMenuPrimitive.Trigger, __assign({ ref: ref, className: cn("flex justify-center text-center text-base text-slate-12 dark:text-slateDark-12", className) }, props, { children: children })));
|
30
30
|
});
|
31
31
|
ContextMenuTrigger.displayName = 'ContextMenu.Trigger';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as n}from"../../utils/utils.mjs";var o=function(){return o=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},o.apply(this,arguments)},a=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e},i=r((function(r,i){var c=r.className,l=r.children,s=a(r,["className","children"]);return t(e.Trigger,o({ref:i,className:n("flex text-slate-12 dark:text-slateDark-12
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as n}from"../../utils/utils.mjs";var o=function(){return o=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},o.apply(this,arguments)},a=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(e[n[o]]=t[n[o]])}return e},i=r((function(r,i){var c=r.className,l=r.children,s=a(r,["className","children"]);return t(e.Trigger,o({ref:i,className:n("flex justify-center text-center text-base text-slate-12 dark:text-slateDark-12",c)},s,{children:l}))}));i.displayName="ContextMenu.Trigger";export{i as ContextMenuTrigger};
|
2
2
|
//# sourceMappingURL=ContextMenuTrigger.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuTrigger.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuTrigger.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nexport var ContextMenuTrigger = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(ContextMenuPrimitive.Trigger, __assign({ ref: ref, className: cn(\"flex text-slate-12 dark:text-slateDark-12
|
1
|
+
{"version":3,"file":"ContextMenuTrigger.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuTrigger.js"],"sourcesContent":["var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from 'react';\nimport * as ContextMenuPrimitive from '@radix-ui/react-context-menu';\nimport { cn } from '../../../lib/utils/utils';\nexport var ContextMenuTrigger = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(ContextMenuPrimitive.Trigger, __assign({ ref: ref, className: cn(\"flex justify-center text-center text-base text-slate-12 dark:text-slateDark-12\", className) }, props, { children: children })));\n});\nContextMenuTrigger.displayName = 'ContextMenu.Trigger';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuTrigger","forwardRef","_a","ref","className","children","props","_jsx","ContextMenuPrimitive","Trigger","cn","displayName"],"mappings":"qKAAA,IAAIA,EAAsC,WAStC,OARAA,EAAWC,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACf,EACWH,EAASa,MAAMC,KAAMP,UAChC,EACIQ,EAAkC,SAAUX,EAAGY,GAC/C,IAAIb,EAAI,CAAA,EACR,IAAK,IAAIM,KAAKL,EAAOH,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,IAAMO,EAAEC,QAAQR,GAAK,IAC9EN,EAAEM,GAAKL,EAAEK,IACb,GAAS,MAALL,GAAqD,mBAAjCH,OAAOiB,sBACtB,KAAIb,EAAI,EAAb,IAAgBI,EAAIR,OAAOiB,sBAAsBd,GAAIC,EAAII,EAAED,OAAQH,IAC3DW,EAAEC,QAAQR,EAAEJ,IAAM,GAAKJ,OAAOS,UAAUS,qBAAqBP,KAAKR,EAAGK,EAAEJ,MACvEF,EAAEM,EAAEJ,IAAMD,EAAEK,EAAEJ,IAF4B,CAItD,OAAOF,CACX,EAKWiB,EAAqBC,GAAW,SAAUC,EAAIC,GACrD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQX,EAAOO,EAAI,CAAC,YAAa,aACvF,OAAQK,EAAKC,EAAqBC,QAAS7B,EAAS,CAAEuB,IAAKA,EAAKC,UAAWM,EAAG,iFAAkFN,IAAcE,EAAO,CAAED,SAAUA,IACrM,IACAL,EAAmBW,YAAc"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
declare const ContextMenu: {
|
2
3
|
Root: import("react").ForwardRefExoticComponent<import("@radix-ui/react-context-menu").ContextMenuProps & import("./ContextMenuRoot").ContextMenuProps & import("react").RefAttributes<never>>;
|
3
4
|
Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-context-menu").ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./ContextMenuContent").ContextMenuContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -4,6 +4,6 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface DataListItemProps extends VariantProps<typeof dataListItemVariants> {
|
5
5
|
}
|
6
6
|
export declare const dataListItemVariants: (props?: ({
|
7
|
-
scaling?: "
|
7
|
+
scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
|
8
8
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
9
9
|
export declare const DataListItem: React.ForwardRefExoticComponent<Omit<DataListTheme.ItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & DataListItemProps & 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{DataList as e}from"@radix-ui/themes";import{cva as a}from"class-variance-authority";import{cn as o}from"../../utils/utils.mjs";import{scalingVariants as n}from"../../constants.mjs";import{useDataListContext as i}from"./DataListRoot.mjs";var s=function(){return s=Object.assign||function(r){for(var t,e=1,a=arguments.length;e<a;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r},s.apply(this,arguments)},l=function(r,t){var e={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&t.indexOf(a)<0&&(e[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(r);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(r,a[o])&&(e[a[o]]=r[a[o]])}return e},c=a("flex",{variants:{scaling:s({},n)},defaultVariants:{scaling:"100%"}}),m=t((function(t,a){var n=t.className,m=t.children,p=l(t,["className","children"]),f=i().scaling;return r(e.Item,s({ref:a},p,{className:o(c({scaling:f}),n),children:m}))}));m.displayName="DataList.Item";export{m as DataListItem,c as dataListItemVariants};
|
2
3
|
//# sourceMappingURL=DataListItem.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataListItem.mjs","sources":[
|
1
|
+
{"version":3,"file":"DataListItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface DataListLabelProps extends VariantProps<typeof dataListLabelVariants> {
|
5
5
|
}
|
6
6
|
export declare const dataListLabelVariants: (props?: ({
|
7
|
-
size?: "small" | "
|
7
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
8
8
|
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
9
9
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
10
|
export declare const DataListLabel: React.ForwardRefExoticComponent<Omit<DataListTheme.LabelProps & React.RefAttributes<HTMLElement>, "ref"> & DataListLabelProps & React.RefAttributes<HTMLElement>>;
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as t}from"react/jsx-runtime";import{forwardRef as r}from"react";import{DataList as e}from"@radix-ui/themes";import{cva as a}from"class-variance-authority";import{cn as i}from"../../utils/utils.mjs";import{weightVariants as o}from"../../constants.mjs";import{useDataListContext as s}from"./DataListRoot.mjs";var n=function(){return n=Object.assign||function(t){for(var r,e=1,a=arguments.length;e<a;e++)for(var i in r=arguments[e])Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);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 i=0;for(a=Object.getOwnPropertySymbols(t);i<a.length;i++)r.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(t,a[i])&&(e[a[i]]=t[a[i]])}return e},m=a("text-slateA-11 dark:text-slateDarkA-11 w-[120px] mb-1",{variants:{size:{small:"text-xs mt-[5px]",medium:"text-sm mt-[3px]",large:"text-base"},weight:n({},o)},defaultVariants:{weight:"regular",size:"medium"}}),c=r((function(r,a){var o=r.children,c=r.className,p=r.weight;r.color;var f=l(r,["children","className","weight","color"]),u=s().size;return t(e.Label,n({ref:a},f,{children:t("p",{className:i(m({weight:p,size:u}),c),children:o})}))}));c.displayName="DataList.Label";export{c as DataListLabel,m as dataListLabelVariants};
|
2
3
|
//# sourceMappingURL=DataListLabel.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataListLabel.mjs","sources":[
|
1
|
+
{"version":3,"file":"DataListLabel.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -7,7 +7,7 @@ export interface DataListProps extends VariantProps<typeof dataListVariants>, Va
|
|
7
7
|
orientation?: 'horizontal' | 'vertical';
|
8
8
|
}
|
9
9
|
export declare const dataListVariants: (props?: ({
|
10
|
-
size?: "small" | "
|
10
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
11
11
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
12
|
export declare const useDataListContext: () => DataListProps;
|
13
13
|
export declare const DataListRoot: React.ForwardRefExoticComponent<Omit<DataListTheme.RootProps & React.RefAttributes<HTMLDListElement>, "ref"> & DataListProps & React.RefAttributes<HTMLDListElement>>;
|
@@ -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,10 +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";
|
24
|
-
import { createContext, forwardRef, useContext,
|
25
|
+
import { createContext, forwardRef, useContext, } from 'react';
|
25
26
|
import { DataList as DataListTheme } from '@radix-ui/themes';
|
26
27
|
import { cva } from 'class-variance-authority';
|
27
28
|
import { cn } from '../../../lib/utils/utils';
|
29
|
+
import { useTheme } from '../../../lib/theme';
|
28
30
|
export var dataListVariants = cva('flex flex-col', {
|
29
31
|
variants: {
|
30
32
|
size: {
|
@@ -47,7 +49,12 @@ export var useDataListContext = function () {
|
|
47
49
|
};
|
48
50
|
export var DataListRoot = forwardRef(function (_a, ref) {
|
49
51
|
var children = _a.children, className = _a.className, size = _a.size, scaling = _a.scaling, color = _a.color, props = __rest(_a, ["children", "className", "size", "scaling", "color"]);
|
50
|
-
var
|
52
|
+
var theme = useTheme().theme;
|
53
|
+
var contextValue = {
|
54
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
55
|
+
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
56
|
+
size: size,
|
57
|
+
};
|
51
58
|
return (_jsx(DataListContext.Provider, { value: contextValue, children: _jsx(DataListTheme.Root, __assign({ ref: ref }, props, { className: cn(dataListVariants({ size: size }), className), children: children })) }));
|
52
59
|
});
|
53
60
|
DataListRoot.displayName = 'DataList.Root';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as e}from"react/jsx-runtime";import{createContext as r,forwardRef as t,useContext as o}from"react";import{DataList as a}from"@radix-ui/themes";import{cva as i}from"class-variance-authority";import{cn as l}from"../../utils/utils.mjs";import{useTheme as n}from"../../theme/ThemeProvider.mjs";var s=function(){return s=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},s.apply(this,arguments)},c=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)r.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]])}return t},m=i("flex flex-col",{variants:{size:{small:"space-y-3",medium:"space-y-4",large:"space-y-5"}},defaultVariants:{size:"medium"}}),p=r({size:"medium",scaling:"100%",color:"black"}),u=function(){return o(p)},f=t((function(r,t){var o=r.children,i=r.className,u=r.size,f=r.scaling,y=r.color,h=c(r,["children","className","size","scaling","color"]),d=n().theme,v={scaling:null!=f?f:d.themeScaling,color:null!=y?y:d.themeColor,size:u};return e(p.Provider,{value:v,children:e(a.Root,s({ref:t},h,{className:l(m({size:u}),i),children:o}))})}));f.displayName="DataList.Root";export{f as DataListRoot,m as dataListVariants,f as default,u as useDataListContext};
|
2
3
|
//# sourceMappingURL=DataListRoot.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataListRoot.mjs","sources":[
|
1
|
+
{"version":3,"file":"DataListRoot.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface DataListValueProps extends VariantProps<typeof dataListValueVariants> {
|
5
5
|
}
|
6
6
|
export declare const dataListValueVariants: (props?: ({
|
7
|
-
size?: "small" | "
|
7
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
8
8
|
weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
|
9
9
|
color?: string | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as t}from"react/jsx-runtime";import{forwardRef as r}from"react";import{DataList as e}from"@radix-ui/themes";import{weightVariants as a,textColorStyle as o}from"../../constants.mjs";import{cva as i}from"class-variance-authority";import{cn as s}from"../../utils/utils.mjs";import{useDataListContext as l}from"./DataListRoot.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)},m=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},c=i("text-slate-12 dark:text-slateDark-12 w-[200px]",{variants:{size:{small:"text-xs",medium:"text-sm",large:"text-base"},weight:n({},a),color:o()},defaultVariants:{color:"black",weight:"regular",size:"medium"}}),p=r((function(r,a){var o=r.children,i=r.className,p=r.weight,f=m(r,["children","className","weight"]),u=l(),h=u.size,y=u.color;return t(e.Value,n({ref:a,className:s(c({weight:p,size:h,color:y}),i)},f,{children:o}))}));p.displayName="DataList.Value";export{p as DataListValue,c as dataListValueVariants};
|
2
3
|
//# sourceMappingURL=DataListValue.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataListValue.mjs","sources":[
|
1
|
+
{"version":3,"file":"DataListValue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
declare const DataList: {
|
2
3
|
Root: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/data-list").RootProps & import("react").RefAttributes<HTMLDListElement>, "ref"> & import("./DataListRoot").DataListProps & import("react").RefAttributes<HTMLDListElement>>;
|
3
4
|
Item: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/data-list").ItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./DataListItem").DataListItemProps & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -4,8 +4,8 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface DialogActionProps extends VariantProps<typeof dialogActionVariants> {
|
5
5
|
}
|
6
6
|
export declare const dialogActionVariants: (props?: ({
|
7
|
-
radius?: "small" | "none" | "
|
8
|
-
size?: "small" | "
|
7
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
8
|
+
size?: "small" | "large" | "medium" | "x-large" | null | undefined;
|
9
9
|
color?: string | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const DialogAction: React.ForwardRefExoticComponent<Omit<DialogTheme.CloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & DialogActionProps & 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++) {
|
@@ -27,6 +28,7 @@ import { cva } from 'class-variance-authority';
|
|
27
28
|
import { primaryColorStyle } from '../../../lib/constants';
|
28
29
|
import { DialogContext } from './DialogRoot';
|
29
30
|
import { cn } from '../../../lib/utils/utils';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
32
|
export var dialogActionVariants = cva('rounded-md inline-flex font-medium items-center justify-center px-[15px] hover:cursor-pointer', {
|
31
33
|
variants: {
|
32
34
|
radius: {
|
@@ -47,7 +49,7 @@ export var dialogActionVariants = cva('rounded-md inline-flex font-medium items-
|
|
47
49
|
defaultVariants: {
|
48
50
|
radius: 'medium',
|
49
51
|
size: 'medium',
|
50
|
-
color:
|
52
|
+
color: MAIN_COLOR,
|
51
53
|
},
|
52
54
|
});
|
53
55
|
export var DialogAction = forwardRef(function (_a, ref) {
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e,useContext as t}from"react";import{Dialog as o}from"@radix-ui/themes";import{cva as n}from"class-variance-authority";import{primaryColorStyle as i}from"../../constants.mjs";import{DialogContext as a}from"./DialogRoot.mjs";import{cn as s}from"../../utils/utils.mjs";import{MAIN_COLOR as l}from"../../color/constants.mjs";var m=function(){return m=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},m.apply(this,arguments)},p=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 n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(t[o[n]]=r[o[n]])}return t},u=n("rounded-md inline-flex font-medium items-center justify-center px-[15px] hover:cursor-pointer",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded-md",full:"rounded-full"},size:{small:"text-xs w-[52px] h-[24px] px-2",medium:"text-sm w-[66px] h-[32px] px-3",large:"text-base w-[72px] h-[32px] px-3","x-large":"text-lg w-[86px] h-[40px] px-6"},color:i()},defaultVariants:{radius:"medium",size:"medium",color:l}}),c=e((function(e,n){var i=e.children,l=e.className,c=p(e,["children","className"]),d=t(a),f=d.radius,x=d.size,h=d.color,y=s(u({radius:f,size:x,color:h}),l);return r(o.Close,m({ref:n,className:y},c,{children:i}))}));c.displayName="Dialog.Action";export{c as DialogAction,u as dialogActionVariants};
|
2
3
|
//# sourceMappingURL=DialogAction.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DialogAction.mjs","sources":[
|
1
|
+
{"version":3,"file":"DialogAction.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -4,7 +4,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
export interface DialogCancelProps extends VariantProps<typeof dialogCancelVariants> {
|
5
5
|
}
|
6
6
|
export declare const dialogCancelVariants: (props?: ({
|
7
|
-
radius?: "small" | "none" | "
|
8
|
-
size?: "small" | "
|
7
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
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 DialogCancel: React.ForwardRefExoticComponent<Omit<DialogTheme.CloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & DialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as e}from"react/jsx-runtime";import{forwardRef as r,useContext as t}from"react";import{Dialog as o}from"@radix-ui/themes";import{cva as a}from"class-variance-authority";import{DialogContext as n}from"./DialogRoot.mjs";import{cn as i}from"../../utils/utils.mjs";var l=function(){return l=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var a in r=arguments[t])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},l.apply(this,arguments)},s=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)r.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]])}return t},m=a("rounded-md font-medium inline-flex justify-center items-center text-slate-11 bg-slate-3 outline-none border-none\n dark:text-slateDark-11 dark:bg-slateDark-3 dark:hover:bg-slateDarkA-4\n active:border-none hover:cursor-pointer hover:bg-slateA-4",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded-md",full:"rounded-full"},size:{small:"text-xs w-[52px] h-[24px] px-2 mr-2",medium:"text-sm w-[66px] h-[32px] px-3 mr-2",large:"text-base w-[72px] h-[32px] px-3 mr-3","x-large":"text-lg w-[86px] h-[40px] px-6 mr-4"}},defaultVariants:{radius:"medium",size:"medium"}}),p=r((function(r,a){var p=r.children,u=r.className,d=s(r,["children","className"]),c=t(n),x=c.radius,f=c.size;return e(o.Close,l({ref:a,className:i(m({radius:x,size:f}),u)},d,{children:p}))}));p.displayName="Dialog.Cancel";export{p as DialogCancel,m as dialogCancelVariants};
|
2
3
|
//# sourceMappingURL=DialogCancel.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DialogCancel.mjs","sources":[
|
1
|
+
{"version":3,"file":"DialogCancel.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -4,8 +4,8 @@ import { Dialog as DialogTheme } from '@radix-ui/themes';
|
|
4
4
|
export interface DialogContentProps extends VariantProps<typeof dialogContentVariants> {
|
5
5
|
}
|
6
6
|
export declare const dialogContentVariants: (props?: ({
|
7
|
-
radius?: "small" | "none" | "
|
8
|
-
size?: "small" | "
|
9
|
-
scaling?: "
|
7
|
+
radius?: "small" | "none" | "large" | "medium" | "full" | null | undefined;
|
8
|
+
size?: "small" | "large" | "medium" | "x-large" | null | undefined;
|
9
|
+
scaling?: "100%" | "90%" | "95%" | "105%" | "110%" | null | undefined;
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
11
|
export declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e,useContext as t}from"react";import{cva as o}from"class-variance-authority";import{Dialog as n}from"@radix-ui/themes";import{scalingVariants as a}from"../../constants.mjs";import{DialogContext as i}from"./DialogRoot.mjs";import{cn as l}from"../../utils/utils.mjs";var s=function(){return s=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s.apply(this,arguments)},m=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 n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(t[o[n]]=r[o[n]])}return t},p=o("rounded-md focus:outline-none bg-white dark:bg-slateDark-1 \n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]",{variants:{radius:{none:"rounded-none",small:"rounded",medium:"rounded-lg",large:"rounded-xl",full:"rounded-xl"},size:{small:"w-[300px]",medium:"w-[400px]",large:"w-[500px]","x-large":"w-[600px]"},scaling:s({},a)},defaultVariants:{radius:"medium",size:"medium"}}),u=e((function(e,o){var a=e.children,u=e.className,d=m(e,["children","className"]),c=t(i),f=c.radius,x=c.size,_=c.scaling;return r(n.Content,s({ref:o,className:l(p({radius:f,scaling:_,size:x}),u)},d,{children:a}))}));u.displayName="Dialog.Content";export{u as DialogContent,p as dialogContentVariants};
|
2
3
|
//# sourceMappingURL=DialogContent.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DialogContent.mjs","sources":[
|
1
|
+
{"version":3,"file":"DialogContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -4,6 +4,6 @@ import { Dialog as DialogTheme } from '@radix-ui/themes';
|
|
4
4
|
export interface DialogDescriptionProps extends VariantProps<typeof dialogDescriptionVariants> {
|
5
5
|
}
|
6
6
|
export declare const dialogDescriptionVariants: (props?: ({
|
7
|
-
size?: "small" | "
|
7
|
+
size?: "small" | "large" | "medium" | "x-large" | null | undefined;
|
8
8
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
9
9
|
export declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogTheme.DescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
@@ -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++) {
|
@@ -42,6 +43,6 @@ export var dialogDescriptionVariants = cva('font-normal text-slate-12 dark:text-
|
|
42
43
|
export var DialogDescription = forwardRef(function (_a, ref) {
|
43
44
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
44
45
|
var size = useContext(DialogContext).size;
|
45
|
-
return (_jsx(DialogTheme.Description, __assign({
|
46
|
+
return (_jsx(DialogTheme.Description, __assign({ ref: ref, className: cn('mb-4', dialogDescriptionVariants({ size: size }), className) }, props, { children: children })));
|
46
47
|
});
|
47
48
|
DialogDescription.displayName = 'Dialog.Description';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as t}from"react/jsx-runtime";import{forwardRef as r,useContext as e}from"react";import{cva as a}from"class-variance-authority";import{Dialog as o}from"@radix-ui/themes";import{DialogContext as i}from"./DialogRoot.mjs";import{cn as n}from"../../utils/utils.mjs";var s=function(){return s=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},s.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},m=a("font-normal text-slate-12 dark:text-slateDark-12",{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"}}),c=r((function(r,a){var c=r.children,p=r.className,f=l(r,["children","className"]),u=e(i).size;return t(o.Description,s({ref:a,className:n("mb-4",m({size:u}),p)},f,{children:c}))}));c.displayName="Dialog.Description";export{c as DialogDescription,m as dialogDescriptionVariants};
|
2
3
|
//# sourceMappingURL=DialogDescription.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DialogDescription.mjs","sources":[
|
1
|
+
{"version":3,"file":"DialogDescription.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++) {
|
@@ -23,15 +24,23 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
23
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
24
25
|
import { createContext } from 'react';
|
25
26
|
import { Theme, Dialog as DialogTheme } from '@radix-ui/themes';
|
27
|
+
import { useTheme } from '../../../lib/theme';
|
28
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
26
29
|
export var DialogContext = createContext({
|
27
30
|
size: 'medium',
|
28
31
|
scaling: '100%',
|
29
|
-
color:
|
32
|
+
color: MAIN_COLOR,
|
30
33
|
radius: 'medium',
|
31
34
|
});
|
32
35
|
export var DialogRoot = function (_a) {
|
33
36
|
var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, props = __rest(_a, ["children", "radius", "size", "scaling", "color"]);
|
34
|
-
var
|
37
|
+
var theme = useTheme().theme;
|
38
|
+
var contextValue = {
|
39
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
40
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
41
|
+
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
42
|
+
size: size,
|
43
|
+
};
|
35
44
|
return (_jsx(Theme, { accentColor: color, children: _jsx(DialogContext.Provider, { value: contextValue, children: _jsx(DialogTheme.Root, __assign({}, props, { children: children })) }) }));
|
36
45
|
};
|
37
46
|
DialogRoot.displayName = 'Dialog.Root';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
"use client";
|
2
|
+
import{jsx as r}from"react/jsx-runtime";import{createContext as e}from"react";import{Theme as o,Dialog as t}from"@radix-ui/themes";import{useTheme as i}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as n}from"../../color/constants.mjs";var l=function(){return l=Object.assign||function(r){for(var e,o=1,t=arguments.length;o<t;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},l.apply(this,arguments)},a=function(r,e){var o={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(o[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(r);i<t.length;i++)e.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i])&&(o[t[i]]=r[t[i]])}return o},c=e({size:"medium",scaling:"100%",color:n,radius:"medium"}),m=function(e){var n=e.children,m=e.radius,s=e.size,u=e.scaling,p=e.color,d=a(e,["children","radius","size","scaling","color"]),f=i().theme,h={radius:null!=m?m:f.themeRadius,scaling:null!=u?u:f.themeScaling,color:null!=p?p:f.themeColor,size:s};return r(o,{accentColor:p,children:r(c.Provider,{value:h,children:r(t.Root,l({},d,{children:n}))})})};m.displayName="Dialog.Root";export{c as DialogContext,m as DialogRoot};
|
2
3
|
//# sourceMappingURL=DialogRoot.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DialogRoot.mjs","sources":[
|
1
|
+
{"version":3,"file":"DialogRoot.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -3,6 +3,6 @@ import { VariantProps } from 'class-variance-authority';
|
|
3
3
|
export interface DialogSlotProps extends VariantProps<typeof dialogSlotVariants> {
|
4
4
|
}
|
5
5
|
export declare const dialogSlotVariants: (props?: ({
|
6
|
-
size?: "small" | "
|
6
|
+
size?: "small" | "large" | "medium" | "x-large" | null | undefined;
|
7
7
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
8
8
|
export declare const DialogSlot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & DialogSlotProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,2 +1,3 @@
|
|
1
|
+
"use client";
|
1
2
|
import{jsx as t}from"react/jsx-runtime";import{forwardRef as e,useContext as r}from"react";import{cva as a}from"class-variance-authority";import{DialogContext as o}from"./DialogRoot.mjs";import{cn as l}from"../../utils/utils.mjs";var i=function(){return i=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},i.apply(this,arguments)},n=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},s=a("flex flex-col gap-2 font-normal text-slate-12 dark:text-slateDark-12",{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=e((function(e,a){var m=e.children,c=e.className,f=n(e,["children","className"]),p=r(o).size;return t("div",i({ref:a,className:l(s({size:p}),c)},f,{children:m}))}));m.displayName="Dialog.Slot";export{m as DialogSlot,s as dialogSlotVariants};
|
2
3
|
//# sourceMappingURL=DialogSlot.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DialogSlot.mjs","sources":[
|
1
|
+
{"version":3,"file":"DialogSlot.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|