@lotte-innovate/ui-component-test 0.2.41 → 0.2.42
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +13 -174
- package/dist/lib/components/Editor/index.d.ts +1 -1
- package/dist/lib/components/Editor/index.js +2 -1
- package/dist/lib/components/Editor/index.mjs +3 -0
- package/dist/lib/components/index.d.ts +1 -63
- package/dist/lib/components/index.js +1 -66
- package/dist/lib/constants.d.ts +0 -647
- package/dist/lib/constants.js +0 -895
- package/dist/lib/constants.mjs +1 -1
- package/dist/lib/constants.mjs.map +1 -1
- package/dist/lib/index.d.ts +0 -2
- package/dist/lib/index.js +0 -2
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/post-tinymce.js +29 -0
- package/dist/tailwind.config.js +0 -98
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -57
- package/dist/globals.css +0 -4
- package/dist/lib/Typography/Header/index.d.ts +0 -15
- package/dist/lib/Typography/Header/index.js +0 -56
- package/dist/lib/Typography/Header/index.mjs +0 -3
- package/dist/lib/Typography/Text/index.d.ts +0 -15
- package/dist/lib/Typography/Text/index.js +0 -45
- package/dist/lib/Typography/Text/index.mjs +0 -3
- package/dist/lib/Typography/Text/index.mjs.map +0 -1
- package/dist/lib/Typography/index.d.ts +0 -2
- package/dist/lib/Typography/index.js +0 -2
- package/dist/lib/color/alpha.d.ts +0 -784
- package/dist/lib/color/alpha.js +0 -784
- package/dist/lib/color/alpha.mjs +0 -2
- package/dist/lib/color/alpha.mjs.map +0 -1
- package/dist/lib/color/constants.d.ts +0 -15
- package/dist/lib/color/constants.js +0 -265
- package/dist/lib/color/constants.mjs +0 -2
- package/dist/lib/color/constants.mjs.map +0 -1
- package/dist/lib/color/dark.d.ts +0 -392
- package/dist/lib/color/dark.js +0 -392
- package/dist/lib/color/krdsColors.d.ts +0 -309
- package/dist/lib/color/krdsColors.js +0 -309
- package/dist/lib/color/light.d.ts +0 -392
- package/dist/lib/color/light.js +0 -393
- package/dist/lib/color/light.mjs +0 -2
- package/dist/lib/color/light.mjs.map +0 -1
- package/dist/lib/components/Accordion/index.d.ts +0 -22
- package/dist/lib/components/Accordion/index.js +0 -81
- package/dist/lib/components/Accordion/index.mjs +0 -3
- package/dist/lib/components/Accordion/index.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +0 -14
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +0 -63
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +0 -13
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +0 -61
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +0 -11
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +0 -52
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +0 -10
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +0 -48
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +0 -16
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +0 -50
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +0 -10
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +0 -48
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +0 -17
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +0 -67
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/index.d.ts +0 -11
- package/dist/lib/components/AlertDialog/index.js +0 -17
- package/dist/lib/components/AlertDialog/index.mjs +0 -2
- package/dist/lib/components/AlertDialog/index.mjs.map +0 -1
- package/dist/lib/components/AspectRatio/index.d.ts +0 -10
- package/dist/lib/components/AspectRatio/index.js +0 -45
- package/dist/lib/components/AspectRatio/index.mjs +0 -3
- package/dist/lib/components/AspectRatio/index.mjs.map +0 -1
- package/dist/lib/components/Avatar/index.d.ts +0 -21
- package/dist/lib/components/Avatar/index.js +0 -67
- package/dist/lib/components/Avatar/index.mjs +0 -3
- package/dist/lib/components/Avatar/index.mjs.map +0 -1
- package/dist/lib/components/Badge/index.d.ts +0 -18
- package/dist/lib/components/Badge/index.js +0 -65
- package/dist/lib/components/Badge/index.mjs +0 -3
- package/dist/lib/components/Badge/index.mjs.map +0 -1
- package/dist/lib/components/BarChart/index.d.ts +0 -33
- package/dist/lib/components/BarChart/index.js +0 -63
- package/dist/lib/components/BarChart/index.mjs +0 -2
- package/dist/lib/components/BarChart/index.mjs.map +0 -1
- package/dist/lib/components/Box/index.d.ts +0 -10
- package/dist/lib/components/Box/index.js +0 -57
- package/dist/lib/components/Box/index.mjs +0 -3
- package/dist/lib/components/Box/index.mjs.map +0 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +0 -9
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +0 -34
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +0 -2
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +0 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +0 -6
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +0 -32
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +0 -2
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +0 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +0 -10
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +0 -47
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +0 -2
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +0 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +0 -6
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +0 -34
- package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +0 -2
- package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +0 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +0 -8
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +0 -45
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +0 -2
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +0 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +0 -14
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +0 -59
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +0 -3
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +0 -1
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +0 -9
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +0 -34
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +0 -2
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +0 -1
- package/dist/lib/components/Breadcrumb/index.d.ts +0 -21
- package/dist/lib/components/Breadcrumb/index.js +0 -17
- package/dist/lib/components/Breadcrumb/index.mjs +0 -2
- package/dist/lib/components/Breadcrumb/index.mjs.map +0 -1
- package/dist/lib/components/BubbleChart/index.d.ts +0 -28
- package/dist/lib/components/BubbleChart/index.js +0 -82
- package/dist/lib/components/BubbleChart/index.mjs +0 -2
- package/dist/lib/components/BubbleChart/index.mjs.map +0 -1
- package/dist/lib/components/Button/index.d.ts +0 -16
- package/dist/lib/components/Button/index.js +0 -67
- package/dist/lib/components/Button/index.mjs +0 -3
- package/dist/lib/components/Button/index.mjs.map +0 -1
- package/dist/lib/components/Calendar/index.d.ts +0 -8
- package/dist/lib/components/Calendar/index.js +0 -47
- package/dist/lib/components/Calendar/index.mjs +0 -3
- package/dist/lib/components/Calendar/index.mjs.map +0 -1
- package/dist/lib/components/Callout/CalloutIcon.d.ts +0 -13
- package/dist/lib/components/Callout/CalloutIcon.js +0 -58
- package/dist/lib/components/Callout/CalloutIcon.mjs +0 -3
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +0 -1
- package/dist/lib/components/Callout/CalloutRoot.d.ts +0 -18
- package/dist/lib/components/Callout/CalloutRoot.js +0 -80
- package/dist/lib/components/Callout/CalloutRoot.mjs +0 -3
- package/dist/lib/components/Callout/CalloutRoot.mjs.map +0 -1
- package/dist/lib/components/Callout/CalloutText.d.ts +0 -10
- package/dist/lib/components/Callout/CalloutText.js +0 -53
- package/dist/lib/components/Callout/CalloutText.mjs +0 -3
- package/dist/lib/components/Callout/CalloutText.mjs.map +0 -1
- package/dist/lib/components/Callout/index.d.ts +0 -7
- package/dist/lib/components/Callout/index.js +0 -9
- package/dist/lib/components/Callout/index.mjs +0 -2
- package/dist/lib/components/Callout/index.mjs.map +0 -1
- package/dist/lib/components/Card/index.d.ts +0 -14
- package/dist/lib/components/Card/index.js +0 -72
- package/dist/lib/components/Card/index.mjs +0 -3
- package/dist/lib/components/Card/index.mjs.map +0 -1
- package/dist/lib/components/Checkbox/index.d.ts +0 -17
- package/dist/lib/components/Checkbox/index.js +0 -98
- package/dist/lib/components/Checkbox/index.mjs +0 -3
- package/dist/lib/components/Checkbox/index.mjs.map +0 -1
- package/dist/lib/components/CheckboxCard/index.d.ts +0 -20
- package/dist/lib/components/CheckboxCard/index.js +0 -66
- package/dist/lib/components/CheckboxCard/index.mjs +0 -3
- package/dist/lib/components/CheckboxCard/index.mjs.map +0 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +0 -5
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +0 -34
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +0 -3
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +0 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +0 -21
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +0 -59
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +0 -3
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +0 -1
- package/dist/lib/components/CheckboxGroup/index.d.ts +0 -6
- package/dist/lib/components/CheckboxGroup/index.js +0 -4
- package/dist/lib/components/CheckboxGroup/index.mjs +0 -2
- package/dist/lib/components/CheckboxGroup/index.mjs.map +0 -1
- package/dist/lib/components/Collapsible/index.d.ts +0 -21
- package/dist/lib/components/Collapsible/index.js +0 -75
- package/dist/lib/components/Collapsible/index.mjs +0 -3
- package/dist/lib/components/Collapsible/index.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -4
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +0 -43
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +0 -11
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +0 -57
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +0 -4
- package/dist/lib/components/ContextMenu/ContextMenuGroup.js +0 -30
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +0 -2
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +0 -13
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +0 -61
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +0 -10
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +0 -51
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +0 -11
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +0 -49
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +0 -8
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +0 -32
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +0 -4
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +0 -45
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +0 -13
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +0 -52
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +0 -31
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +0 -2
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +0 -11
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +0 -55
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +0 -4
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +0 -42
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +0 -4
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +0 -31
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +0 -2
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/index.d.ts +0 -17
- package/dist/lib/components/ContextMenu/index.js +0 -29
- package/dist/lib/components/ContextMenu/index.mjs +0 -2
- package/dist/lib/components/ContextMenu/index.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListItem.d.ts +0 -9
- package/dist/lib/components/DataList/DataListItem.js +0 -44
- package/dist/lib/components/DataList/DataListItem.mjs +0 -3
- package/dist/lib/components/DataList/DataListItem.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListLabel.d.ts +0 -10
- package/dist/lib/components/DataList/DataListLabel.js +0 -50
- package/dist/lib/components/DataList/DataListLabel.mjs +0 -3
- package/dist/lib/components/DataList/DataListLabel.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListRoot.d.ts +0 -14
- package/dist/lib/components/DataList/DataListRoot.js +0 -61
- package/dist/lib/components/DataList/DataListRoot.mjs +0 -3
- package/dist/lib/components/DataList/DataListRoot.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListValue.d.ts +0 -11
- package/dist/lib/components/DataList/DataListValue.js +0 -52
- package/dist/lib/components/DataList/DataListValue.mjs +0 -3
- package/dist/lib/components/DataList/DataListValue.mjs.map +0 -1
- package/dist/lib/components/DataList/index.d.ts +0 -8
- package/dist/lib/components/DataList/index.js +0 -6
- package/dist/lib/components/DataList/index.mjs +0 -2
- package/dist/lib/components/DataList/index.mjs.map +0 -1
- package/dist/lib/components/Datepicker/index.d.ts +0 -14
- package/dist/lib/components/Datepicker/index.js +0 -35
- package/dist/lib/components/Datepicker/index.mjs +0 -3
- package/dist/lib/components/Datepicker/index.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogAction.d.ts +0 -11
- package/dist/lib/components/Dialog/DialogAction.js +0 -62
- package/dist/lib/components/Dialog/DialogAction.mjs +0 -3
- package/dist/lib/components/Dialog/DialogAction.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogCancel.d.ts +0 -10
- package/dist/lib/components/Dialog/DialogCancel.js +0 -57
- package/dist/lib/components/Dialog/DialogCancel.mjs +0 -3
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogContent.d.ts +0 -11
- package/dist/lib/components/Dialog/DialogContent.js +0 -58
- package/dist/lib/components/Dialog/DialogContent.mjs +0 -3
- package/dist/lib/components/Dialog/DialogContent.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogDescription.d.ts +0 -9
- package/dist/lib/components/Dialog/DialogDescription.js +0 -48
- package/dist/lib/components/Dialog/DialogDescription.mjs +0 -3
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogRoot.d.ts +0 -12
- package/dist/lib/components/Dialog/DialogRoot.js +0 -46
- package/dist/lib/components/Dialog/DialogRoot.mjs +0 -3
- package/dist/lib/components/Dialog/DialogRoot.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogSlot.d.ts +0 -8
- package/dist/lib/components/Dialog/DialogSlot.js +0 -47
- package/dist/lib/components/Dialog/DialogSlot.mjs +0 -3
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogTitle.d.ts +0 -9
- package/dist/lib/components/Dialog/DialogTitle.js +0 -48
- package/dist/lib/components/Dialog/DialogTitle.mjs +0 -3
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogTrigger.d.ts +0 -3
- package/dist/lib/components/Dialog/DialogTrigger.js +0 -30
- package/dist/lib/components/Dialog/DialogTrigger.mjs +0 -2
- package/dist/lib/components/Dialog/DialogTrigger.mjs.map +0 -1
- package/dist/lib/components/Dialog/index.d.ts +0 -15
- package/dist/lib/components/Dialog/index.js +0 -19
- package/dist/lib/components/Dialog/index.mjs +0 -2
- package/dist/lib/components/Dialog/index.mjs.map +0 -1
- package/dist/lib/components/DoughnutChart/index.d.ts +0 -22
- package/dist/lib/components/DoughnutChart/index.js +0 -65
- package/dist/lib/components/DoughnutChart/index.mjs +0 -2
- package/dist/lib/components/DoughnutChart/index.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -3
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +0 -30
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +0 -2
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +0 -11
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +0 -61
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -7
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +0 -42
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +0 -11
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +0 -57
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +0 -15
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +0 -60
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -10
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +0 -49
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +0 -10
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +0 -46
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -6
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +0 -42
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +0 -14
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +0 -48
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +0 -31
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +0 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +0 -30
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +0 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -4
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +0 -42
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +0 -14
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +0 -54
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/index.d.ts +0 -20
- package/dist/lib/components/DropdownMenu/index.js +0 -29
- package/dist/lib/components/DropdownMenu/index.mjs +0 -2
- package/dist/lib/components/DropdownMenu/index.mjs.map +0 -1
- package/dist/lib/components/Footer/index.d.ts +0 -11
- package/dist/lib/components/Footer/index.js +0 -57
- package/dist/lib/components/Footer/index.mjs +0 -3
- package/dist/lib/components/Footer/index.mjs.map +0 -1
- package/dist/lib/components/Gnb/GnbInfo.d.ts +0 -9
- package/dist/lib/components/Gnb/GnbInfo.js +0 -46
- package/dist/lib/components/Gnb/GnbInfo.mjs +0 -3
- package/dist/lib/components/Gnb/GnbInfo.mjs.map +0 -1
- package/dist/lib/components/Gnb/GnbLogo.d.ts +0 -10
- package/dist/lib/components/Gnb/GnbLogo.js +0 -46
- package/dist/lib/components/Gnb/GnbLogo.mjs +0 -2
- package/dist/lib/components/Gnb/GnbLogo.mjs.map +0 -1
- package/dist/lib/components/Gnb/GnbMenu.d.ts +0 -9
- package/dist/lib/components/Gnb/GnbMenu.js +0 -46
- package/dist/lib/components/Gnb/GnbMenu.mjs +0 -3
- package/dist/lib/components/Gnb/GnbMenu.mjs.map +0 -1
- package/dist/lib/components/Gnb/GnbMenuItem.d.ts +0 -11
- package/dist/lib/components/Gnb/GnbMenuItem.js +0 -46
- package/dist/lib/components/Gnb/GnbMenuItem.mjs +0 -3
- package/dist/lib/components/Gnb/GnbMenuItem.mjs.map +0 -1
- package/dist/lib/components/Gnb/GnbRoot.d.ts +0 -11
- package/dist/lib/components/Gnb/GnbRoot.js +0 -53
- package/dist/lib/components/Gnb/GnbRoot.mjs +0 -3
- package/dist/lib/components/Gnb/GnbRoot.mjs.map +0 -1
- package/dist/lib/components/Gnb/index.d.ts +0 -9
- package/dist/lib/components/Gnb/index.js +0 -13
- package/dist/lib/components/Gnb/index.mjs +0 -2
- package/dist/lib/components/Gnb/index.mjs.map +0 -1
- package/dist/lib/components/Grid/NumberingPagination.d.ts +0 -2
- package/dist/lib/components/Grid/NumberingPagination.js +0 -41
- package/dist/lib/components/Grid/NumberingPagination.mjs +0 -2
- package/dist/lib/components/Grid/NumberingPagination.mjs.map +0 -1
- package/dist/lib/components/Grid/Pagination.d.ts +0 -2
- package/dist/lib/components/Grid/Pagination.js +0 -18
- package/dist/lib/components/Grid/index.d.ts +0 -7
- package/dist/lib/components/Grid/index.js +0 -59
- package/dist/lib/components/Grid/index.mjs +0 -3
- package/dist/lib/components/Grid/index.mjs.map +0 -1
- package/dist/lib/components/Grid/useGrid.d.ts +0 -3
- package/dist/lib/components/Grid/useGrid.js +0 -81
- package/dist/lib/components/Grid/useGrid.mjs +0 -3
- package/dist/lib/components/Grid/useGrid.mjs.map +0 -1
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +0 -13
- package/dist/lib/components/HoverCard/HoverCardContent.js +0 -62
- package/dist/lib/components/HoverCard/HoverCardContent.mjs +0 -3
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +0 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +0 -11
- package/dist/lib/components/HoverCard/HoverCardRoot.js +0 -48
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs +0 -3
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +0 -1
- package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +0 -3
- package/dist/lib/components/HoverCard/HoverCardTrigger.js +0 -30
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs +0 -2
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +0 -1
- package/dist/lib/components/HoverCard/index.d.ts +0 -10
- package/dist/lib/components/HoverCard/index.js +0 -9
- package/dist/lib/components/HoverCard/index.mjs +0 -2
- package/dist/lib/components/HoverCard/index.mjs.map +0 -1
- package/dist/lib/components/IconButton/index.d.ts +0 -15
- package/dist/lib/components/IconButton/index.js +0 -73
- package/dist/lib/components/IconButton/index.mjs +0 -3
- package/dist/lib/components/IconButton/index.mjs.map +0 -1
- package/dist/lib/components/Inset/index.d.ts +0 -10
- package/dist/lib/components/Inset/index.js +0 -57
- package/dist/lib/components/Inset/index.mjs +0 -3
- package/dist/lib/components/Inset/index.mjs.map +0 -1
- package/dist/lib/components/Label/index.d.ts +0 -20
- package/dist/lib/components/Label/index.js +0 -64
- package/dist/lib/components/Label/index.mjs +0 -3
- package/dist/lib/components/Label/index.mjs.map +0 -1
- package/dist/lib/components/LineChart/index.d.ts +0 -43
- package/dist/lib/components/LineChart/index.js +0 -61
- package/dist/lib/components/LineChart/index.mjs +0 -2
- package/dist/lib/components/LineChart/index.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +0 -4
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +0 -40
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarContent.d.ts +0 -11
- package/dist/lib/components/Menubar/MenubarContent.js +0 -61
- package/dist/lib/components/Menubar/MenubarContent.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarItem.d.ts +0 -13
- package/dist/lib/components/Menubar/MenubarItem.js +0 -56
- package/dist/lib/components/Menubar/MenubarItem.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +0 -10
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +0 -50
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarMenu.d.ts +0 -5
- package/dist/lib/components/Menubar/MenubarMenu.js +0 -30
- package/dist/lib/components/Menubar/MenubarMenu.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarMenu.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +0 -8
- package/dist/lib/components/Menubar/MenubarRadioGroup.js +0 -32
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +0 -4
- package/dist/lib/components/Menubar/MenubarRadioItem.js +0 -42
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +0 -19
- package/dist/lib/components/Menubar/MenubarRoot.js +0 -73
- package/dist/lib/components/Menubar/MenubarRoot.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarRoot.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSeparator.d.ts +0 -3
- package/dist/lib/components/Menubar/MenubarSeparator.js +0 -31
- package/dist/lib/components/Menubar/MenubarSeparator.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSub.d.ts +0 -3
- package/dist/lib/components/Menubar/MenubarSub.js +0 -30
- package/dist/lib/components/Menubar/MenubarSub.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarSub.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +0 -10
- package/dist/lib/components/Menubar/MenubarSubContent.js +0 -52
- package/dist/lib/components/Menubar/MenubarSubContent.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +0 -4
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +0 -43
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +0 -12
- package/dist/lib/components/Menubar/MenubarTrigger.js +0 -58
- package/dist/lib/components/Menubar/MenubarTrigger.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +0 -1
- package/dist/lib/components/Menubar/index.d.ts +0 -19
- package/dist/lib/components/Menubar/index.js +0 -29
- package/dist/lib/components/Menubar/index.mjs +0 -2
- package/dist/lib/components/Menubar/index.mjs.map +0 -1
- package/dist/lib/components/Modal/ModalAction.d.ts +0 -11
- package/dist/lib/components/Modal/ModalAction.js +0 -62
- package/dist/lib/components/Modal/ModalAction.mjs +0 -3
- package/dist/lib/components/Modal/ModalAction.mjs.map +0 -1
- package/dist/lib/components/Modal/ModalCancel.d.ts +0 -10
- package/dist/lib/components/Modal/ModalCancel.js +0 -58
- package/dist/lib/components/Modal/ModalCancel.mjs +0 -3
- package/dist/lib/components/Modal/ModalCancel.mjs.map +0 -1
- package/dist/lib/components/Modal/ModalContent.d.ts +0 -11
- package/dist/lib/components/Modal/ModalContent.js +0 -61
- package/dist/lib/components/Modal/ModalContent.mjs +0 -3
- package/dist/lib/components/Modal/ModalContent.mjs.map +0 -1
- package/dist/lib/components/Modal/ModalDescription.d.ts +0 -5
- package/dist/lib/components/Modal/ModalDescription.js +0 -47
- package/dist/lib/components/Modal/ModalDescription.mjs +0 -3
- package/dist/lib/components/Modal/ModalDescription.mjs.map +0 -1
- package/dist/lib/components/Modal/ModalFooter.d.ts +0 -2
- package/dist/lib/components/Modal/ModalFooter.js +0 -30
- package/dist/lib/components/Modal/ModalFooter.mjs +0 -2
- package/dist/lib/components/Modal/ModalFooter.mjs.map +0 -1
- package/dist/lib/components/Modal/ModalRoot.d.ts +0 -16
- package/dist/lib/components/Modal/ModalRoot.js +0 -42
- package/dist/lib/components/Modal/ModalRoot.mjs +0 -3
- package/dist/lib/components/Modal/ModalRoot.mjs.map +0 -1
- package/dist/lib/components/Modal/ModalTitle.d.ts +0 -11
- package/dist/lib/components/Modal/ModalTitle.js +0 -63
- package/dist/lib/components/Modal/ModalTitle.mjs +0 -3
- package/dist/lib/components/Modal/ModalTitle.mjs.map +0 -1
- package/dist/lib/components/Modal/ModalTrigger.d.ts +0 -3
- package/dist/lib/components/Modal/ModalTrigger.js +0 -30
- package/dist/lib/components/Modal/ModalTrigger.mjs +0 -2
- package/dist/lib/components/Modal/ModalTrigger.mjs.map +0 -1
- package/dist/lib/components/Modal/index.d.ts +0 -15
- package/dist/lib/components/Modal/index.js +0 -19
- package/dist/lib/components/Modal/index.mjs +0 -2
- package/dist/lib/components/Modal/index.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +0 -11
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +0 -49
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +0 -30
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +0 -13
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +0 -53
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +0 -12
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +0 -49
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +0 -14
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +0 -53
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +0 -13
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +0 -60
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +0 -12
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +0 -54
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/index.d.ts +0 -12
- package/dist/lib/components/NavigationMenu/index.js +0 -10
- package/dist/lib/components/NavigationMenu/index.mjs +0 -2
- package/dist/lib/components/NavigationMenu/index.mjs.map +0 -1
- package/dist/lib/components/PieChart/index.d.ts +0 -22
- package/dist/lib/components/PieChart/index.js +0 -65
- package/dist/lib/components/PieChart/index.mjs +0 -2
- package/dist/lib/components/PieChart/index.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverClose.d.ts +0 -9
- package/dist/lib/components/Popover/PopoverClose.js +0 -49
- package/dist/lib/components/Popover/PopoverClose.mjs +0 -3
- package/dist/lib/components/Popover/PopoverClose.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverContent.d.ts +0 -13
- package/dist/lib/components/Popover/PopoverContent.js +0 -66
- package/dist/lib/components/Popover/PopoverContent.mjs +0 -3
- package/dist/lib/components/Popover/PopoverContent.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverRoot.d.ts +0 -11
- package/dist/lib/components/Popover/PopoverRoot.js +0 -43
- package/dist/lib/components/Popover/PopoverRoot.mjs +0 -3
- package/dist/lib/components/Popover/PopoverRoot.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverTrigger.d.ts +0 -3
- package/dist/lib/components/Popover/PopoverTrigger.js +0 -30
- package/dist/lib/components/Popover/PopoverTrigger.mjs +0 -2
- package/dist/lib/components/Popover/PopoverTrigger.mjs.map +0 -1
- package/dist/lib/components/Popover/index.d.ts +0 -11
- package/dist/lib/components/Popover/index.js +0 -11
- package/dist/lib/components/Popover/index.mjs +0 -2
- package/dist/lib/components/Popover/index.mjs.map +0 -1
- package/dist/lib/components/Progress/index.d.ts +0 -13
- package/dist/lib/components/Progress/index.js +0 -67
- package/dist/lib/components/Progress/index.mjs +0 -3
- package/dist/lib/components/Progress/index.mjs.map +0 -1
- package/dist/lib/components/RadarChart/index.d.ts +0 -32
- package/dist/lib/components/RadarChart/index.js +0 -85
- package/dist/lib/components/RadarChart/index.mjs +0 -2
- package/dist/lib/components/RadarChart/index.mjs.map +0 -1
- package/dist/lib/components/Radio/index.d.ts +0 -13
- package/dist/lib/components/Radio/index.js +0 -60
- package/dist/lib/components/Radio/index.mjs +0 -3
- package/dist/lib/components/Radio/index.mjs.map +0 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +0 -10
- package/dist/lib/components/RadioCards/RadioCardsItem.js +0 -55
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs +0 -3
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +0 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +0 -13
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +0 -56
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +0 -3
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +0 -1
- package/dist/lib/components/RadioCards/index.d.ts +0 -6
- package/dist/lib/components/RadioCards/index.js +0 -7
- package/dist/lib/components/RadioCards/index.mjs +0 -2
- package/dist/lib/components/RadioCards/index.mjs.map +0 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +0 -12
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +0 -47
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +0 -3
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +0 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +0 -15
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +0 -62
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +0 -3
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +0 -1
- package/dist/lib/components/RadioGroup/index.d.ts +0 -6
- package/dist/lib/components/RadioGroup/index.js +0 -7
- package/dist/lib/components/RadioGroup/index.mjs +0 -2
- package/dist/lib/components/RadioGroup/index.mjs.map +0 -1
- package/dist/lib/components/ScrollArea/index.d.ts +0 -9
- package/dist/lib/components/ScrollArea/index.js +0 -39
- package/dist/lib/components/ScrollArea/index.mjs +0 -3
- package/dist/lib/components/ScrollArea/index.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +0 -6
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +0 -35
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +0 -2
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +0 -14
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +0 -55
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +0 -3
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/index.d.ts +0 -6
- package/dist/lib/components/SegmentedControl/index.js +0 -7
- package/dist/lib/components/SegmentedControl/index.mjs +0 -2
- package/dist/lib/components/SegmentedControl/index.mjs.map +0 -1
- package/dist/lib/components/Select/index.d.ts +0 -36
- package/dist/lib/components/Select/index.js +0 -112
- package/dist/lib/components/Select/index.mjs +0 -3
- package/dist/lib/components/Select/index.mjs.map +0 -1
- package/dist/lib/components/Separator/index.d.ts +0 -11
- package/dist/lib/components/Separator/index.js +0 -55
- package/dist/lib/components/Separator/index.mjs +0 -3
- package/dist/lib/components/Separator/index.mjs.map +0 -1
- package/dist/lib/components/SideBar/index.d.ts +0 -21
- package/dist/lib/components/SideBar/index.js +0 -100
- package/dist/lib/components/SideBar/index.mjs +0 -3
- package/dist/lib/components/SideBar/index.mjs.map +0 -1
- package/dist/lib/components/Skeleton/index.d.ts +0 -14
- package/dist/lib/components/Skeleton/index.js +0 -46
- package/dist/lib/components/Skeleton/index.mjs +0 -3
- package/dist/lib/components/Skeleton/index.mjs.map +0 -1
- package/dist/lib/components/Slider/index.d.ts +0 -15
- package/dist/lib/components/Slider/index.js +0 -56
- package/dist/lib/components/Slider/index.mjs +0 -3
- package/dist/lib/components/Slider/index.mjs.map +0 -1
- package/dist/lib/components/Spinner/index.d.ts +0 -15
- package/dist/lib/components/Spinner/index.js +0 -50
- package/dist/lib/components/Spinner/index.mjs +0 -3
- package/dist/lib/components/Spinner/index.mjs.map +0 -1
- package/dist/lib/components/TabNav/index.d.ts +0 -15
- package/dist/lib/components/TabNav/index.js +0 -53
- package/dist/lib/components/TabNav/index.mjs +0 -3
- package/dist/lib/components/TabNav/index.mjs.map +0 -1
- package/dist/lib/components/Table/index.d.ts +0 -30
- package/dist/lib/components/Table/index.js +0 -104
- package/dist/lib/components/Table/index.mjs +0 -3
- package/dist/lib/components/Table/index.mjs.map +0 -1
- package/dist/lib/components/Tabs/DynamicTabs.d.ts +0 -30
- package/dist/lib/components/Tabs/DynamicTabs.js +0 -73
- package/dist/lib/components/Tabs/DynamicTabs.mjs +0 -3
- package/dist/lib/components/Tabs/DynamicTabs.mjs.map +0 -1
- package/dist/lib/components/Tabs/index.d.ts +0 -23
- package/dist/lib/components/Tabs/index.js +0 -68
- package/dist/lib/components/Tabs/index.mjs +0 -3
- package/dist/lib/components/Tabs/index.mjs.map +0 -1
- package/dist/lib/components/TextArea/index.d.ts +0 -16
- package/dist/lib/components/TextArea/index.js +0 -66
- package/dist/lib/components/TextArea/index.mjs +0 -3
- package/dist/lib/components/TextArea/index.mjs.map +0 -1
- package/dist/lib/components/TextField/index.d.ts +0 -21
- package/dist/lib/components/TextField/index.js +0 -64
- package/dist/lib/components/TextField/index.mjs +0 -3
- package/dist/lib/components/TextField/index.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineConnector.d.ts +0 -6
- package/dist/lib/components/Timeline/TimelineConnector.js +0 -34
- package/dist/lib/components/Timeline/TimelineConnector.mjs +0 -2
- package/dist/lib/components/Timeline/TimelineConnector.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineContent.d.ts +0 -6
- package/dist/lib/components/Timeline/TimelineContent.js +0 -34
- package/dist/lib/components/Timeline/TimelineContent.mjs +0 -2
- package/dist/lib/components/Timeline/TimelineContent.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineDescription.d.ts +0 -6
- package/dist/lib/components/Timeline/TimelineDescription.js +0 -34
- package/dist/lib/components/Timeline/TimelineDescription.mjs +0 -2
- package/dist/lib/components/Timeline/TimelineDescription.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineHeader.d.ts +0 -6
- package/dist/lib/components/Timeline/TimelineHeader.js +0 -34
- package/dist/lib/components/Timeline/TimelineHeader.mjs +0 -2
- package/dist/lib/components/Timeline/TimelineHeader.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineIcon.d.ts +0 -8
- package/dist/lib/components/Timeline/TimelineIcon.js +0 -43
- package/dist/lib/components/Timeline/TimelineIcon.mjs +0 -3
- package/dist/lib/components/Timeline/TimelineIcon.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineItem.d.ts +0 -6
- package/dist/lib/components/Timeline/TimelineItem.js +0 -34
- package/dist/lib/components/Timeline/TimelineItem.mjs +0 -2
- package/dist/lib/components/Timeline/TimelineItem.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineRoot.d.ts +0 -11
- package/dist/lib/components/Timeline/TimelineRoot.js +0 -59
- package/dist/lib/components/Timeline/TimelineRoot.mjs +0 -3
- package/dist/lib/components/Timeline/TimelineRoot.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineTime.d.ts +0 -8
- package/dist/lib/components/Timeline/TimelineTime.js +0 -46
- package/dist/lib/components/Timeline/TimelineTime.mjs +0 -3
- package/dist/lib/components/Timeline/TimelineTime.mjs.map +0 -1
- package/dist/lib/components/Timeline/TimelineTitle.d.ts +0 -8
- package/dist/lib/components/Timeline/TimelineTitle.js +0 -46
- package/dist/lib/components/Timeline/TimelineTitle.mjs +0 -3
- package/dist/lib/components/Timeline/TimelineTitle.mjs.map +0 -1
- package/dist/lib/components/Timeline/index.d.ts +0 -13
- package/dist/lib/components/Timeline/index.js +0 -21
- package/dist/lib/components/Timeline/index.mjs +0 -2
- package/dist/lib/components/Timeline/index.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastActionButton.d.ts +0 -14
- package/dist/lib/components/Toast/ToastActionButton.js +0 -72
- package/dist/lib/components/Toast/ToastActionButton.mjs +0 -3
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastDescription.d.ts +0 -13
- package/dist/lib/components/Toast/ToastDescription.js +0 -54
- package/dist/lib/components/Toast/ToastDescription.mjs +0 -3
- package/dist/lib/components/Toast/ToastDescription.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastRoot.d.ts +0 -27
- package/dist/lib/components/Toast/ToastRoot.js +0 -98
- package/dist/lib/components/Toast/ToastRoot.mjs +0 -3
- package/dist/lib/components/Toast/ToastRoot.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastTitle.d.ts +0 -13
- package/dist/lib/components/Toast/ToastTitle.js +0 -54
- package/dist/lib/components/Toast/ToastTitle.mjs +0 -3
- package/dist/lib/components/Toast/ToastTitle.mjs.map +0 -1
- package/dist/lib/components/Toast/index.d.ts +0 -8
- package/dist/lib/components/Toast/index.js +0 -11
- package/dist/lib/components/Toast/index.mjs +0 -2
- package/dist/lib/components/Toast/index.mjs.map +0 -1
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +0 -21
- package/dist/lib/components/Toggle/ToggleWithText.js +0 -69
- package/dist/lib/components/Toggle/ToggleWithText.mjs +0 -3
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +0 -1
- package/dist/lib/components/Toggle/index.d.ts +0 -21
- package/dist/lib/components/Toggle/index.js +0 -69
- package/dist/lib/components/Toggle/index.mjs +0 -3
- package/dist/lib/components/Toggle/index.mjs.map +0 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +0 -17
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +0 -55
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +0 -3
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +0 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +0 -15
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +0 -58
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +0 -3
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +0 -1
- package/dist/lib/components/ToggleGroup/index.d.ts +0 -6
- package/dist/lib/components/ToggleGroup/index.js +0 -7
- package/dist/lib/components/ToggleGroup/index.mjs +0 -2
- package/dist/lib/components/ToggleGroup/index.mjs.map +0 -1
- package/dist/lib/components/ToggleSwitch/index.d.ts +0 -13
- package/dist/lib/components/ToggleSwitch/index.js +0 -82
- package/dist/lib/components/ToggleSwitch/index.mjs +0 -3
- package/dist/lib/components/ToggleSwitch/index.mjs.map +0 -1
- package/dist/lib/components/Tooltip/index.d.ts +0 -20
- package/dist/lib/components/Tooltip/index.js +0 -54
- package/dist/lib/components/Tooltip/index.mjs +0 -3
- package/dist/lib/components/Tooltip/index.mjs.map +0 -1
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs +0 -2
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +0 -1
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +0 -2
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +0 -1
- package/dist/lib/theme/ThemeProvider.d.ts +0 -16
- package/dist/lib/theme/ThemeProvider.js +0 -29
- package/dist/lib/theme/ThemeProvider.mjs +0 -3
- package/dist/lib/theme/ThemeProvider.mjs.map +0 -1
- package/dist/lib/theme/index.d.ts +0 -2
- package/dist/lib/theme/index.js +0 -2
- package/dist/lib/types.d.ts +0 -85
- package/dist/lib/utils/classPrefixes.d.ts +0 -3
- package/dist/lib/utils/classPrefixes.js +0 -29
- package/dist/lib/utils/useDarkMode.d.ts +0 -1
- package/dist/lib/utils/useDarkMode.js +0 -50
- package/dist/lib/utils/useDarkMode.mjs +0 -3
- package/dist/lib/utils/useDarkMode.mjs.map +0 -1
- package/dist/lib/utils/useWindowSize.d.ts +0 -1
- package/dist/lib/utils/useWindowSize.js +0 -17
- package/dist/lib/utils/useWindowSize.mjs +0 -2
- package/dist/lib/utils/useWindowSize.mjs.map +0 -1
- /package/dist/lib/{Typography/Header → components/Editor}/index.mjs.map +0 -0
- /package/dist/{lib/types.js → post-tinymce.d.ts} +0 -0
@@ -1,61 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
-
var t = {};
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
-
t[p] = s[p];
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
-
t[p[i]] = s[p[i]];
|
21
|
-
}
|
22
|
-
return t;
|
23
|
-
};
|
24
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
25
|
-
import { forwardRef } from 'react';
|
26
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
import { cn } from '../../../lib/utils/utils';
|
28
|
-
import { cva } from 'class-variance-authority';
|
29
|
-
import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from '../../../lib/constants';
|
30
|
-
import { useContextMenuContext } from './ContextMenuRoot';
|
31
|
-
import { MAIN_COLOR } from '../../../lib/color/constants';
|
32
|
-
export var contextMenuItemVariants = cva("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent", {
|
33
|
-
variants: {
|
34
|
-
radius: __assign({}, radiusVariants['menu-item']),
|
35
|
-
size: {
|
36
|
-
small: 'text-xs h-[24px] px-2',
|
37
|
-
medium: 'text-sm h-[32px] px-3',
|
38
|
-
},
|
39
|
-
scaling: __assign({}, scalingVariants),
|
40
|
-
},
|
41
|
-
defaultVariants: {
|
42
|
-
radius: 'medium',
|
43
|
-
scaling: '100%',
|
44
|
-
size: 'medium',
|
45
|
-
},
|
46
|
-
});
|
47
|
-
export var ContextMenuItem = forwardRef(function (_a, ref) {
|
48
|
-
var children = _a.children, className = _a.className, shortcut = _a.shortcut, props = __rest(_a, ["children", "className", "shortcut"]);
|
49
|
-
var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
50
|
-
var itemClassName = cn(contextMenuItemVariants({
|
51
|
-
radius: radius,
|
52
|
-
scaling: scaling,
|
53
|
-
size: size,
|
54
|
-
}), menuItemAppearanceStyle(appearance, color), className);
|
55
|
-
var shortcutClassName = 'group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11';
|
56
|
-
if (appearance === 'solid' && !blackText.includes(color)) {
|
57
|
-
shortcutClassName = 'group-hover:text-white dark:group-hover:text-slateDark-1';
|
58
|
-
}
|
59
|
-
return (_jsxs(ContextMenuPrimitive.Item, __assign({ ref: ref, className: itemClassName }, props, { children: [children, shortcut && _jsx("span", { className: shortcutClassName, children: shortcut })] })));
|
60
|
-
});
|
61
|
-
ContextMenuItem.displayName = 'ContextMenu.Item';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsxs as t,jsx as e}from"react/jsx-runtime";import{forwardRef as r}from"react";import*as a from"@radix-ui/react-context-menu";import{cn as o}from"../../utils/utils.mjs";import{cva as n}from"class-variance-authority";import{radiusVariants as s,scalingVariants as i,menuItemAppearanceStyle as l,blackText as m}from"../../constants.mjs";import{useContextMenuContext as c}from"./ContextMenuRoot.mjs";import{MAIN_COLOR as d}from"../../color/constants.mjs";var p=function(){return p=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},p.apply(this,arguments)},u=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},f=n("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent",{variants:{radius:p({},s["menu-item"]),size:{small:"text-xs h-[24px] px-2",medium:"text-sm h-[32px] px-3"},scaling:p({},i)},defaultVariants:{radius:"medium",scaling:"100%",size:"medium"}}),x=r((function(r,n){var s=r.children,i=r.className,x=r.shortcut,h=u(r,["children","className","shortcut"]),v=c(),b=v.radius,g=v.scaling,y=v.size,j=v.color,O=void 0===j?d:j,k=v.appearance,w=void 0===k?"solid":k,N=o(f({radius:b,scaling:g,size:y}),l(w,O),i),z="group-hover:text-slateA-11 dark:group-hover:text-slateDarkA-11";return"solid"!==w||m.includes(O)||(z="group-hover:text-white dark:group-hover:text-slateDark-1"),t(a.Item,p({ref:n,className:N},h,{children:[s,x&&e("span",{className:z,children:x})]}))}));x.displayName="ContextMenu.Item";export{x as ContextMenuItem,f as contextMenuItemVariants};
|
3
|
-
//# sourceMappingURL=ContextMenuItem.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
export interface ContextMenuItemIndicatorProps extends VariantProps<typeof contextMenuItemIndicatorVariants> {
|
5
|
-
}
|
6
|
-
export declare const contextMenuItemIndicatorVariants: (props?: ({
|
7
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
|
-
size?: "small" | "medium" | null | undefined;
|
9
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
|
-
export declare const ContextMenuItemIndicator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -1,51 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
-
var t = {};
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
-
t[p] = s[p];
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
-
t[p[i]] = s[p[i]];
|
21
|
-
}
|
22
|
-
return t;
|
23
|
-
};
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
-
import { forwardRef } from 'react';
|
26
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
import { cn } from '../../../lib/utils/utils';
|
28
|
-
import { CheckIcon } from '@radix-ui/react-icons';
|
29
|
-
import { cva } from 'class-variance-authority';
|
30
|
-
import { radiusVariants } from '../../../lib/constants';
|
31
|
-
import { useContextMenuContext } from './ContextMenuRoot';
|
32
|
-
export var contextMenuItemIndicatorVariants = cva("absolute left-0 inline-flex items-center justify-center ml-1 border", {
|
33
|
-
variants: {
|
34
|
-
radius: __assign({}, radiusVariants['base']),
|
35
|
-
size: {
|
36
|
-
small: 'w-3.5 h-3.5',
|
37
|
-
medium: 'w-4 h-4',
|
38
|
-
},
|
39
|
-
},
|
40
|
-
defaultVariants: {
|
41
|
-
size: 'medium',
|
42
|
-
radius: 'medium',
|
43
|
-
},
|
44
|
-
});
|
45
|
-
export var ContextMenuItemIndicator = forwardRef(function (_a, ref) {
|
46
|
-
var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, ["className", "children", "radius"]);
|
47
|
-
var size = useContextMenuContext().size;
|
48
|
-
var indicatorClassName = cn(contextMenuItemIndicatorVariants({ size: size, radius: radius }), className);
|
49
|
-
return (_jsx(ContextMenuPrimitive.ItemIndicator, __assign({ ref: ref, className: indicatorClassName }, props, { children: children !== null && children !== void 0 ? children : _jsx(CheckIcon, {}) })));
|
50
|
-
});
|
51
|
-
ContextMenuItemIndicator.displayName = 'ContextMenu.ItemIndicator';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as i}from"../../utils/utils.mjs";import{CheckIcon as o}from"@radix-ui/react-icons";import{cva as a}from"class-variance-authority";import{radiusVariants as n}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";var m=function(){return m=Object.assign||function(r){for(var t,e=1,i=arguments.length;e<i;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r},m.apply(this,arguments)},l=function(r,t){var e={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&t.indexOf(i)<0&&(e[i]=r[i]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(r);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(r,i[o])&&(e[i[o]]=r[i[o]])}return e},c=a("absolute left-0 inline-flex items-center justify-center ml-1 border",{variants:{radius:m({},n.base),size:{small:"w-3.5 h-3.5",medium:"w-4 h-4"}},defaultVariants:{size:"medium",radius:"medium"}}),u=t((function(t,a){var n=t.className,u=t.children,f=t.radius,p=l(t,["className","children","radius"]),d=s().size,y=i(c({size:d,radius:f}),n);return r(e.ItemIndicator,m({ref:a,className:y},p,{children:null!=u?u:r(o,{})}))}));u.displayName="ContextMenu.ItemIndicator";export{u as ContextMenuItemIndicator,c as contextMenuItemIndicatorVariants};
|
3
|
-
//# sourceMappingURL=ContextMenuItemIndicator.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuItemIndicator.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
export interface ContextMenuLabelProps extends VariantProps<typeof contextMenuLabelVariants> {
|
5
|
-
appearance?: 'solid' | 'soft';
|
6
|
-
}
|
7
|
-
export declare const contextMenuLabelVariants: (props?: ({
|
8
|
-
size?: "small" | "medium" | null | undefined;
|
9
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
10
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
|
-
export declare const ContextMenuLabel: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,49 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
-
var t = {};
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
-
t[p] = s[p];
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
-
t[p[i]] = s[p[i]];
|
21
|
-
}
|
22
|
-
return t;
|
23
|
-
};
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
-
import { forwardRef } from 'react';
|
26
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
import { cn } from '../../../lib/utils/utils';
|
28
|
-
import { cva } from 'class-variance-authority';
|
29
|
-
import { scalingVariants } from '../../../lib/constants';
|
30
|
-
import { useContextMenuContext } from './ContextMenuRoot';
|
31
|
-
export var contextMenuLabelVariants = cva("flex relative leading-none select-none outline-none items-center \n text-slate-11 dark:text-slateDarkA-11 font-normal", {
|
32
|
-
variants: {
|
33
|
-
size: {
|
34
|
-
small: 'text-xs h-[24px] px-2',
|
35
|
-
medium: 'text-sm h-[32px] px-3',
|
36
|
-
},
|
37
|
-
scaling: __assign({}, scalingVariants),
|
38
|
-
},
|
39
|
-
defaultVariants: {
|
40
|
-
scaling: '100%',
|
41
|
-
size: 'medium',
|
42
|
-
},
|
43
|
-
});
|
44
|
-
export var ContextMenuLabel = forwardRef(function (_a, ref) {
|
45
|
-
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
46
|
-
var _b = useContextMenuContext(), size = _b.size, scaling = _b.scaling;
|
47
|
-
return (_jsx(ContextMenuPrimitive.Label, __assign({ ref: ref, className: cn(contextMenuLabelVariants({ size: size, scaling: scaling }), className) }, props, { children: children })));
|
48
|
-
});
|
49
|
-
ContextMenuLabel.displayName = 'ContextMenu.Label';
|
@@ -1,3 +0,0 @@
|
|
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-context-menu";import{cn as n}from"../../utils/utils.mjs";import{cva as a}from"class-variance-authority";import{scalingVariants as o}from"../../constants.mjs";import{useContextMenuContext as i}from"./ContextMenuRoot.mjs";var s=function(){return s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},s.apply(this,arguments)},l=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(t);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(r[n[a]]=t[n[a]])}return r},m=a("flex relative leading-none select-none outline-none items-center \n text-slate-11 dark:text-slateDarkA-11 font-normal",{variants:{size:{small:"text-xs h-[24px] px-2",medium:"text-sm h-[32px] px-3"},scaling:s({},o)},defaultVariants:{scaling:"100%",size:"medium"}}),c=e((function(e,a){var o=e.className,c=e.children,p=l(e,["className","children"]),f=i(),u=f.size,x=f.scaling;return t(r.Label,s({ref:a,className:n(m({size:u,scaling:x}),o)},p,{children:c}))}));c.displayName="ContextMenu.Label";export{c as ContextMenuLabel,m as contextMenuLabelVariants};
|
3
|
-
//# sourceMappingURL=ContextMenuLabel.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuLabel.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
type RadioContextType = {
|
4
|
-
selectedValue: string;
|
5
|
-
};
|
6
|
-
export declare const RadioContext: React.Context<RadioContextType>;
|
7
|
-
export declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
8
|
-
export {};
|
@@ -1,32 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
-
var t = {};
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
-
t[p] = s[p];
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
-
t[p[i]] = s[p[i]];
|
21
|
-
}
|
22
|
-
return t;
|
23
|
-
};
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
-
import { createContext, forwardRef } from 'react';
|
26
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
export var RadioContext = createContext({ selectedValue: '' });
|
28
|
-
export var ContextMenuRadioGroup = forwardRef(function (_a, ref) {
|
29
|
-
var className = _a.className, children = _a.children, value = _a.value, props = __rest(_a, ["className", "children", "value"]);
|
30
|
-
return (_jsx(ContextMenuPrimitive.RadioGroup, __assign({ ref: ref, className: className }, props, { children: _jsx(RadioContext.Provider, { value: { selectedValue: value !== null && value !== void 0 ? value : '' }, children: children }) })));
|
31
|
-
});
|
32
|
-
ContextMenuRadioGroup.displayName = 'ContextMenu.RadioGroup';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as e}from"react/jsx-runtime";import{createContext as r,forwardRef as t}from"react";import*as n from"@radix-ui/react-context-menu";var o=function(){return o=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},o.apply(this,arguments)},a=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 o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t},l=r({selectedValue:""}),c=t((function(r,t){var c=r.className,i=r.children,u=r.value,p=a(r,["className","children","value"]);return e(n.RadioGroup,o({ref:t,className:c},p,{children:e(l.Provider,{value:{selectedValue:null!=u?u:""},children:i})}))}));c.displayName="ContextMenu.RadioGroup";export{c as ContextMenuRadioGroup,l as RadioContext};
|
3
|
-
//# sourceMappingURL=ContextMenuRadioGroup.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuRadioGroup.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { ContextMenuProps } from './ContextMenuRoot';
|
4
|
-
export declare const ContextMenuRadioItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,45 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
-
var t = {};
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
-
t[p] = s[p];
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
-
t[p[i]] = s[p[i]];
|
21
|
-
}
|
22
|
-
return t;
|
23
|
-
};
|
24
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
25
|
-
import { forwardRef, useContext } from 'react';
|
26
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
import { cn } from '../../../lib/utils/utils';
|
28
|
-
import { DotFilledIcon } from '@radix-ui/react-icons';
|
29
|
-
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
30
|
-
import { useContextMenuContext } from './ContextMenuRoot';
|
31
|
-
import { contextMenuItemVariants } from './ContextMenuItem';
|
32
|
-
import { RadioContext } from './ContextMenuRadioGroup';
|
33
|
-
import { ContextMenuItemIndicator } from './ContextMenuItemIndicator';
|
34
|
-
export var ContextMenuRadioItem = forwardRef(function (_a, ref) {
|
35
|
-
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
36
|
-
var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, color = _b.color, _c = _b.appearance, appearance = _c === void 0 ? 'solid' : _c;
|
37
|
-
var itemClassName = cn(contextMenuItemVariants({
|
38
|
-
radius: radius,
|
39
|
-
scaling: scaling,
|
40
|
-
size: size,
|
41
|
-
}), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
|
42
|
-
var radioGroup = useContext(RadioContext);
|
43
|
-
return (_jsxs(ContextMenuPrimitive.RadioItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'full', size: size, children: radioGroup.selectedValue === props.value && _jsx(DotFilledIcon, {}) }), children] })));
|
44
|
-
});
|
45
|
-
ContextMenuRadioItem.displayName = 'ContextMenu.RadioItem';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsxs as r,jsx as t}from"react/jsx-runtime";import{forwardRef as e,useContext as o}from"react";import*as n from"@radix-ui/react-context-menu";import{cn as i}from"../../utils/utils.mjs";import{DotFilledIcon as a}from"@radix-ui/react-icons";import{menuItemAppearanceStyle as m}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";import{contextMenuItemVariants as c}from"./ContextMenuItem.mjs";import{RadioContext as l}from"./ContextMenuRadioGroup.mjs";import{ContextMenuItemIndicator as p}from"./ContextMenuItemIndicator.mjs";var u=function(){return u=Object.assign||function(r){for(var t,e=1,o=arguments.length;e<o;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},u.apply(this,arguments)},f=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 n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(e[o[n]]=r[o[n]])}return e},d=e((function(e,d){var j=e.children,y=e.className,x=f(e,["children","className"]),O=s(),b=O.radius,h=O.scaling,v=O.size,g=O.color,I=O.appearance,M=void 0===I?"solid":I,C=i(c({radius:b,scaling:h,size:v}),"pl-7",m(M,g),y),w=o(l);return r(n.RadioItem,u({ref:d,className:C},x,{children:[t(p,{forceMount:!0,radius:"full",size:v,children:w.selectedValue===x.value&&t(a,{})}),j]}))}));d.displayName="ContextMenu.RadioItem";export{d as ContextMenuRadioItem};
|
3
|
-
//# sourceMappingURL=ContextMenuRadioItem.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuRadioItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { IColor } from '../../../lib/types';
|
5
|
-
import { contextMenuContentVariants } from './ContextMenuContent';
|
6
|
-
import { contextMenuItemVariants } from './ContextMenuItem';
|
7
|
-
export interface ContextMenuProps extends VariantProps<typeof contextMenuContentVariants>, VariantProps<typeof contextMenuItemVariants> {
|
8
|
-
color?: IColor;
|
9
|
-
appearance?: 'solid' | 'soft';
|
10
|
-
}
|
11
|
-
export declare const useContextMenuContext: () => ContextMenuProps;
|
12
|
-
export declare const ContextMenuRoot: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuProps & ContextMenuProps & React.RefAttributes<never>>;
|
13
|
-
export default ContextMenuRoot;
|
@@ -1,52 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
-
var t = {};
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
-
t[p] = s[p];
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
-
t[p[i]] = s[p[i]];
|
21
|
-
}
|
22
|
-
return t;
|
23
|
-
};
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
-
import { createContext, forwardRef, useContext, } from 'react';
|
26
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
import { useTheme } from '../../../lib/theme';
|
28
|
-
import { MAIN_COLOR } from '../../../lib/color/constants';
|
29
|
-
var ContextMenuContext = createContext({
|
30
|
-
radius: 'medium',
|
31
|
-
scaling: '100%',
|
32
|
-
size: 'medium',
|
33
|
-
color: MAIN_COLOR,
|
34
|
-
appearance: 'solid',
|
35
|
-
});
|
36
|
-
export var useContextMenuContext = function () {
|
37
|
-
return useContext(ContextMenuContext);
|
38
|
-
};
|
39
|
-
export var ContextMenuRoot = forwardRef(function (_a, ref) {
|
40
|
-
var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, appearance = _a.appearance, props = __rest(_a, ["children", "radius", "size", "scaling", "color", "appearance"]);
|
41
|
-
var theme = useTheme().theme;
|
42
|
-
var contextValue = {
|
43
|
-
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
44
|
-
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
45
|
-
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
46
|
-
size: size,
|
47
|
-
appearance: appearance,
|
48
|
-
};
|
49
|
-
return (_jsx(ContextMenuContext.Provider, { value: contextValue, children: _jsx("div", { ref: ref, children: _jsx(ContextMenuPrimitive.Root, __assign({}, props, { children: children })) }) }));
|
50
|
-
});
|
51
|
-
ContextMenuRoot.displayName = 'ContextMenu.Root';
|
52
|
-
export default ContextMenuRoot;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{createContext as e,forwardRef as t,useContext as o}from"react";import*as n from"@radix-ui/react-context-menu";import{useTheme as a}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as i}from"../../color/constants.mjs";var l=function(){return l=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},l.apply(this,arguments)},c=function(r,e){var t={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&e.indexOf(o)<0&&(t[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var 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=e({radius:"medium",scaling:"100%",size:"medium",color:i,appearance:"solid"}),s=function(){return o(p)},u=t((function(e,t){var o=e.children,i=e.radius,s=e.size,u=e.scaling,m=e.color,d=e.appearance,f=c(e,["children","radius","size","scaling","color","appearance"]),h=a().theme,y={radius:null!=i?i:h.themeRadius,scaling:null!=u?u:h.themeScaling,color:null!=m?m:h.themeColor,size:s,appearance:d};return r(p.Provider,{value:y,children:r("div",{ref:t,children:r(n.Root,l({},f,{children:o}))})})}));u.displayName="ContextMenu.Root";export{u as ContextMenuRoot,u as default,s as useContextMenuContext};
|
3
|
-
//# sourceMappingURL=ContextMenuRoot.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuRoot.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
export declare const ContextMenuSeparator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,31 +0,0 @@
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
2
|
-
__assign = Object.assign || function(t) {
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
-
s = arguments[i];
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
-
t[p] = s[p];
|
7
|
-
}
|
8
|
-
return t;
|
9
|
-
};
|
10
|
-
return __assign.apply(this, arguments);
|
11
|
-
};
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
-
var t = {};
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
-
t[p] = s[p];
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
-
t[p[i]] = s[p[i]];
|
20
|
-
}
|
21
|
-
return t;
|
22
|
-
};
|
23
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
-
import { forwardRef } from 'react';
|
25
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
26
|
-
import { cn } from '../../../lib/utils/utils';
|
27
|
-
export var ContextMenuSeparator = forwardRef(function (_a, ref) {
|
28
|
-
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
29
|
-
return (_jsx(ContextMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));
|
30
|
-
});
|
31
|
-
ContextMenuSeparator.displayName = 'ContextMenu.Separator';
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as a}from"../../utils/utils.mjs";var o=function(){return o=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},o.apply(this,arguments)},n=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},i=t((function(t,i){var l=t.className,p=t.children,c=n(t,["className","children"]);return r(e.Separator,o({ref:i,className:a("h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6",l)},c,{children:p}))}));i.displayName="ContextMenu.Separator";export{i as ContextMenuSeparator};
|
2
|
-
//# sourceMappingURL=ContextMenuSeparator.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuSeparator.mjs","sources":["../../../lib/components/ContextMenu/ContextMenuSeparator.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 ContextMenuSeparator = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(ContextMenuPrimitive.Separator, __assign({ ref: ref, className: cn('h-[1px] m-[5px] bg-slate-6 dark:bg-slateDark-6', className) }, props, { children: children })));\n});\nContextMenuSeparator.displayName = 'ContextMenu.Separator';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ContextMenuSeparator","forwardRef","_a","ref","className","children","props","_jsx","ContextMenuPrimitive","Separator","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,EAAuBC,GAAW,SAAUC,EAAIC,GACvD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQX,EAAOO,EAAI,CAAC,YAAa,aACvF,OAAQK,EAAKC,EAAqBC,UAAW7B,EAAS,CAAEuB,IAAKA,EAAKC,UAAWM,EAAG,iDAAkDN,IAAcE,EAAO,CAAED,SAAUA,IACvK,IACAL,EAAqBW,YAAc"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
export interface ContextMenuSubContentProps extends VariantProps<typeof contextMenuSubContentVariants> {
|
5
|
-
}
|
6
|
-
export declare const contextMenuSubContentVariants: (props?: ({
|
7
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
|
-
size?: "small" | "medium" | null | undefined;
|
9
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
10
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
11
|
-
export declare const ContextMenuSubContent: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,55 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
-
var t = {};
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
-
t[p] = s[p];
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
-
t[p[i]] = s[p[i]];
|
21
|
-
}
|
22
|
-
return t;
|
23
|
-
};
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
-
import { forwardRef } from 'react';
|
26
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
import { cn } from '../../../lib/utils/utils';
|
28
|
-
import { cva } from 'class-variance-authority';
|
29
|
-
import { radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
|
-
import { useContextMenuContext } from './ContextMenuRoot';
|
31
|
-
export var contextMenuSubContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
32
|
-
variants: {
|
33
|
-
radius: __assign({}, radiusVariants['extra-large']),
|
34
|
-
size: {
|
35
|
-
small: 'p-1 min-w-[120px]',
|
36
|
-
medium: 'p-2 min-w-[136px]',
|
37
|
-
},
|
38
|
-
scaling: __assign({}, scalingVariants),
|
39
|
-
},
|
40
|
-
defaultVariants: {
|
41
|
-
radius: 'small',
|
42
|
-
size: 'medium',
|
43
|
-
scaling: '100%',
|
44
|
-
},
|
45
|
-
});
|
46
|
-
export var ContextMenuSubContent = forwardRef(function (_a, ref) {
|
47
|
-
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
48
|
-
var _b = useContextMenuContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;
|
49
|
-
return (_jsx(ContextMenuPrimitive.Portal, { children: _jsx(ContextMenuPrimitive.SubContent, __assign({ ref: ref, className: cn(contextMenuSubContentVariants({
|
50
|
-
radius: radius,
|
51
|
-
size: size,
|
52
|
-
scaling: scaling,
|
53
|
-
}), className), sideOffset: 2, alignOffset: -5 }, props, { children: children })) }));
|
54
|
-
});
|
55
|
-
ContextMenuSubContent.displayName = 'ContextMenu.SubContent';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as e from"@radix-ui/react-context-menu";import{cn as a}from"../../utils/utils.mjs";import{cva as n}from"class-variance-authority";import{radiusVariants as i,scalingVariants as o}from"../../constants.mjs";import{useContextMenuContext as s}from"./ContextMenuRoot.mjs";var l=function(){return l=Object.assign||function(r){for(var t,e=1,a=arguments.length;e<a;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},l.apply(this,arguments)},m=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 n=0;for(a=Object.getOwnPropertySymbols(r);n<a.length;n++)t.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(r,a[n])&&(e[a[n]]=r[a[n]])}return e},p=n("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]",{variants:{radius:l({},i["extra-large"]),size:{small:"p-1 min-w-[120px]",medium:"p-2 min-w-[136px]"},scaling:l({},o)},defaultVariants:{radius:"small",size:"medium",scaling:"100%"}}),c=t((function(t,n){var i=t.className,o=t.children,c=m(t,["className","children"]),u=s(),f=u.radius,x=u.size,_=u.scaling;return r(e.Portal,{children:r(e.SubContent,l({ref:n,className:a(p({radius:f,size:x,scaling:_}),i),sideOffset:2,alignOffset:-5},c,{children:o}))})}));c.displayName="ContextMenu.SubContent";export{c as ContextMenuSubContent,p as contextMenuSubContentVariants};
|
3
|
-
//# sourceMappingURL=ContextMenuSubContent.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuSubContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
3
|
-
import { ContextMenuItemProps } from './ContextMenuItem';
|
4
|
-
export declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,42 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
3
|
-
__assign = Object.assign || function(t) {
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
5
|
-
s = arguments[i];
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
7
|
-
t[p] = s[p];
|
8
|
-
}
|
9
|
-
return t;
|
10
|
-
};
|
11
|
-
return __assign.apply(this, arguments);
|
12
|
-
};
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
14
|
-
var t = {};
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
-
t[p] = s[p];
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
-
t[p[i]] = s[p[i]];
|
21
|
-
}
|
22
|
-
return t;
|
23
|
-
};
|
24
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
25
|
-
import { forwardRef } from 'react';
|
26
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
27
|
-
import { ChevronRightIcon } from '@radix-ui/react-icons';
|
28
|
-
import { cn } from '../../../lib/utils/utils';
|
29
|
-
import { contextMenuItemVariants } from './ContextMenuItem';
|
30
|
-
import { blackText, menuItemAppearanceStyle } from '../../../lib/constants';
|
31
|
-
import { useContextMenuContext } from './ContextMenuRoot';
|
32
|
-
import { MAIN_COLOR } from '../../../lib/color/constants';
|
33
|
-
export var ContextMenuSubTrigger = forwardRef(function (_a, ref) {
|
34
|
-
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
35
|
-
var _b = useContextMenuContext(), scaling = _b.scaling, size = _b.size, radius = _b.radius, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
36
|
-
var triggerClassName = cn(contextMenuItemVariants({ scaling: scaling, size: size, radius: radius }), menuItemAppearanceStyle(appearance, color), className);
|
37
|
-
var iconClassName = cn('group-data-[disabled]:text-slate-8 ', appearance === 'solid' && blackText.includes(color)
|
38
|
-
? 'hover:fill-slate-12 dark:hover:fill-slateDark-1'
|
39
|
-
: "hover:fill-white dark:hover:fill-slateDark-12 ");
|
40
|
-
return (_jsx(ContextMenuPrimitive.Sub, { children: _jsxs(ContextMenuPrimitive.SubTrigger, __assign({ ref: ref, className: triggerClassName }, props, { children: [children, _jsx("div", { className: "ml-auto pl-5", children: _jsx(ChevronRightIcon, { className: iconClassName }) })] })) }));
|
41
|
-
});
|
42
|
-
ContextMenuSubTrigger.displayName = 'ContextMenu.SubTrigger';
|
@@ -1,3 +0,0 @@
|
|
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};
|
3
|
-
//# sourceMappingURL=ContextMenuSubTrigger.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ContextMenuSubTrigger.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|