@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 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
2
|
-
import { IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
|
-
export interface BorderRadius {
|
4
|
-
topLeft: number;
|
5
|
-
topRight: number;
|
6
|
-
bottomLeft: number;
|
7
|
-
bottomRight: number;
|
8
|
-
}
|
9
|
-
type ILinechartDataset = IChartDatasets & {
|
10
|
-
data: any;
|
11
|
-
barThickness?: number;
|
12
|
-
barPercentage?: number;
|
13
|
-
};
|
14
|
-
export interface LineChartProps extends VariantProps<typeof lineChartVariants> {
|
15
|
-
labels?: string[];
|
16
|
-
isColorMixed?: boolean;
|
17
|
-
appearance?: 'solid' | 'soft';
|
18
|
-
title?: IChartTitle;
|
19
|
-
legend?: IChartLegend;
|
20
|
-
datasets: ILinechartDataset[];
|
21
|
-
scales?: {
|
22
|
-
x?: {
|
23
|
-
min?: number;
|
24
|
-
max?: number;
|
25
|
-
};
|
26
|
-
y?: {
|
27
|
-
min?: number;
|
28
|
-
max?: number;
|
29
|
-
};
|
30
|
-
};
|
31
|
-
indexAxis?: 'x' | 'y';
|
32
|
-
className?: string;
|
33
|
-
width?: string | number;
|
34
|
-
height?: string | number;
|
35
|
-
}
|
36
|
-
declare const lineChartVariants: (props?: ({
|
37
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
38
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
39
|
-
declare const LineChart: {
|
40
|
-
({ className, title, datasets, labels, scaling, legend, width, height, indexAxis, appearance, scales, isColorMixed, ...props }: LineChartProps): import("react/jsx-runtime").JSX.Element;
|
41
|
-
displayName: string;
|
42
|
-
};
|
43
|
-
export default LineChart;
|
@@ -1,61 +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 { Line } from 'react-chartjs-2';
|
25
|
-
import { Chart as ChartJS, CategoryScale, LinearScale, Tooltip, Legend, LineElement, PointElement, } from 'chart.js/auto';
|
26
|
-
import { scalingVariants } from '../../../lib/constants';
|
27
|
-
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '../../../lib/utils/utils';
|
29
|
-
import { chartAlphaColorList, chartColorList } from '../../../lib/color/constants';
|
30
|
-
import { useDarkMode } from '../../../lib/utils/useDarkMode';
|
31
|
-
ChartJS.register(CategoryScale, LinearScale, LineElement, PointElement, Tooltip, Legend);
|
32
|
-
var lineChartVariants = cva('', {
|
33
|
-
variants: {
|
34
|
-
scaling: __assign({}, scalingVariants),
|
35
|
-
},
|
36
|
-
defaultVariants: {
|
37
|
-
scaling: '100%',
|
38
|
-
},
|
39
|
-
});
|
40
|
-
var LineChart = function (_a) {
|
41
|
-
var className = _a.className, title = _a.title, datasets = _a.datasets, labels = _a.labels, scaling = _a.scaling, legend = _a.legend, width = _a.width, height = _a.height, indexAxis = _a.indexAxis, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, scales = _a.scales, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, ["className", "title", "datasets", "labels", "scaling", "legend", "width", "height", "indexAxis", "appearance", "scales", "isColorMixed"]);
|
42
|
-
var _d = useDarkMode(), isDark = _d[0], defaultScales = _d[1];
|
43
|
-
var colorset = isColorMixed ? chartColorList.mixed : chartColorList.sorting;
|
44
|
-
var colorAlphaset = isColorMixed ? chartAlphaColorList.mixed : chartAlphaColorList.sorting;
|
45
|
-
datasets.forEach(function (dataset, index) {
|
46
|
-
var _a, _b;
|
47
|
-
datasets[index] = __assign(__assign({}, dataset), { borderColor: (_a = dataset.borderColor) !== null && _a !== void 0 ? _a : colorset[index % colorset.length], backgroundColor: ((_b = dataset.backgroundColor) !== null && _b !== void 0 ? _b : appearance == 'solid')
|
48
|
-
? colorset[index % colorset.length]
|
49
|
-
: colorAlphaset[index % colorset.length] });
|
50
|
-
});
|
51
|
-
return (_jsx(Line, __assign({ data: { labels: labels, datasets: datasets }, options: {
|
52
|
-
plugins: {
|
53
|
-
title: title,
|
54
|
-
legend: legend,
|
55
|
-
},
|
56
|
-
indexAxis: indexAxis,
|
57
|
-
scales: __assign(__assign({}, defaultScales.linescale), scales),
|
58
|
-
}, className: cn(lineChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));
|
59
|
-
};
|
60
|
-
LineChart.displayName = 'LineChart';
|
61
|
-
export default LineChart;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{Line as r}from"react-chartjs-2";import{Chart as e,CategoryScale as o,LinearScale as a,LineElement as i,PointElement as s,Tooltip as l,Legend as n}from"chart.js/auto";import{scalingVariants as c}from"../../constants.mjs";import{cva as d}from"class-variance-authority";import{cn as p}from"../../utils/utils.mjs";import{chartColorList as m,chartAlphaColorList as u}from"../../color/constants.mjs";import{useDarkMode as f}from"../../utils/useDarkMode.mjs";var g=function(){return g=Object.assign||function(t){for(var r,e=1,o=arguments.length;e<o;e++)for(var a in r=arguments[e])Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);return t},g.apply(this,arguments)},h=function(t,r){var e={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&r.indexOf(o)<0&&(e[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(t);a<o.length;a++)r.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(t,o[a])&&(e[o[a]]=t[o[a]])}return e};e.register(o,a,i,s,l,n);var b=d("",{variants:{scaling:g({},c)},defaultVariants:{scaling:"100%"}}),v=function(e){var o=e.className,a=e.title,i=e.datasets,s=e.labels,l=e.scaling,n=e.legend,c=e.width,d=e.height,v=e.indexAxis,x=e.appearance,y=void 0===x?"solid":x,j=e.scales,O=e.isColorMixed,w=void 0===O||O,C=h(e,["className","title","datasets","labels","scaling","legend","width","height","indexAxis","appearance","scales","isColorMixed"]),N=f()[1],P=w?m.mixed:m.sorting,k=w?u.mixed:u.sorting;return i.forEach((function(t,r){var e,o;i[r]=g(g({},t),{borderColor:null!==(e=t.borderColor)&&void 0!==e?e:P[r%P.length],backgroundColor:(null!==(o=t.backgroundColor)&&void 0!==o?o:"solid"==y)?P[r%P.length]:k[r%P.length]})})),t(r,g({data:{labels:s,datasets:i},options:{plugins:{title:a,legend:n},indexAxis:v,scales:g(g({},N.linescale),j)},className:p(b({scaling:l}),o),width:c,height:d},C))};v.displayName="LineChart";export{v as default};
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../lib/components/LineChart/index.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 { Line } from 'react-chartjs-2';\nimport { Chart as ChartJS, CategoryScale, LinearScale, Tooltip, Legend, LineElement, PointElement, } from 'chart.js/auto';\nimport { scalingVariants } from '../../../lib/constants';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../lib/utils/utils';\nimport { chartAlphaColorList, chartColorList } from '../../../lib/color/constants';\nimport { useDarkMode } from '../../../lib/utils/useDarkMode';\nChartJS.register(CategoryScale, LinearScale, LineElement, PointElement, Tooltip, Legend);\nvar lineChartVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nvar LineChart = function (_a) {\n var className = _a.className, title = _a.title, datasets = _a.datasets, labels = _a.labels, scaling = _a.scaling, legend = _a.legend, width = _a.width, height = _a.height, indexAxis = _a.indexAxis, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, scales = _a.scales, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, [\"className\", \"title\", \"datasets\", \"labels\", \"scaling\", \"legend\", \"width\", \"height\", \"indexAxis\", \"appearance\", \"scales\", \"isColorMixed\"]);\n var _d = useDarkMode(), isDark = _d[0], defaultScales = _d[1];\n var colorset = isColorMixed ? chartColorList.mixed : chartColorList.sorting;\n var colorAlphaset = isColorMixed ? chartAlphaColorList.mixed : chartAlphaColorList.sorting;\n datasets.forEach(function (dataset, index) {\n var _a, _b;\n datasets[index] = __assign(__assign({}, dataset), { borderColor: (_a = dataset.borderColor) !== null && _a !== void 0 ? _a : colorset[index % colorset.length], backgroundColor: ((_b = dataset.backgroundColor) !== null && _b !== void 0 ? _b : appearance == 'solid')\n ? colorset[index % colorset.length]\n : colorAlphaset[index % colorset.length] });\n });\n return (_jsx(Line, __assign({ data: { labels: labels, datasets: datasets }, options: {\n plugins: {\n title: title,\n legend: legend,\n },\n indexAxis: indexAxis,\n scales: __assign(__assign({}, defaultScales.linescale), scales),\n }, className: cn(lineChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));\n};\nLineChart.displayName = 'LineChart';\nexport default LineChart;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","ChartJS","register","CategoryScale","LinearScale","LineElement","PointElement","Tooltip","Legend","lineChartVariants","cva","variants","scaling","scalingVariants","defaultVariants","LineChart","_a","className","title","datasets","labels","legend","width","height","indexAxis","_b","appearance","scales","_c","isColorMixed","props","defaultScales","useDarkMode","colorset","chartColorList","mixed","sorting","colorAlphaset","chartAlphaColorList","forEach","dataset","index","borderColor","backgroundColor","_jsx","Line","data","options","plugins","linescale","cn","displayName"],"mappings":"mfAAA,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,EASAiB,EAAQC,SAASC,EAAeC,EAAaC,EAAaC,EAAcC,EAASC,GACjF,IAAIC,EAAoBC,EAAI,GAAI,CAC5BC,SAAU,CACNC,QAAS/B,EAAS,CAAE,EAAEgC,IAE1BC,gBAAiB,CACbF,QAAS,UAGbG,EAAY,SAAUC,GACtB,IAAIC,EAAYD,EAAGC,UAAWC,EAAQF,EAAGE,MAAOC,EAAWH,EAAGG,SAAUC,EAASJ,EAAGI,OAAQR,EAAUI,EAAGJ,QAASS,EAASL,EAAGK,OAAQC,EAAQN,EAAGM,MAAOC,EAASP,EAAGO,OAAQC,EAAYR,EAAGQ,UAAWC,EAAKT,EAAGU,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EAAIE,EAASX,EAAGW,OAAQC,EAAKZ,EAAGa,aAAcA,OAAsB,IAAPD,GAAuBA,EAAIE,EAAQlC,EAAOoB,EAAI,CAAC,YAAa,QAAS,WAAY,SAAU,UAAW,SAAU,QAAS,SAAU,YAAa,aAAc,SAAU,iBAC9be,EAA/BC,IAAkD,GACvDC,EAAWJ,EAAeK,EAAeC,MAAQD,EAAeE,QAChEC,EAAgBR,EAAeS,EAAoBH,MAAQG,EAAoBF,QAOnF,OANAjB,EAASoB,SAAQ,SAAUC,EAASC,GAChC,IAAIzB,EAAIS,EACRN,EAASsB,GAAS5D,EAASA,EAAS,CAAA,EAAI2D,GAAU,CAAEE,YAA4C,QAA9B1B,EAAKwB,EAAQE,mBAAgC,IAAP1B,EAAgBA,EAAKiB,EAASQ,EAAQR,EAAS5C,QAASsD,iBAAqD,QAAlClB,EAAKe,EAAQG,uBAAoC,IAAPlB,EAAgBA,EAAmB,SAAdC,GACxOO,EAASQ,EAAQR,EAAS5C,QAC1BgD,EAAcI,EAAQR,EAAS5C,SACjD,IACYuD,EAAKC,EAAMhE,EAAS,CAAEiE,KAAM,CAAE1B,OAAQA,EAAQD,SAAUA,GAAY4B,QAAS,CAC7EC,QAAS,CACL9B,MAAOA,EACPG,OAAQA,GAEZG,UAAWA,EACXG,OAAQ9C,EAASA,EAAS,CAAA,EAAIkD,EAAckB,WAAYtB,IACzDV,UAAWiC,EAAGzC,EAAkB,CAAEG,QAASA,IAAYK,GAAYK,MAAOA,EAAOC,OAAQA,GAAUO,GAC9G,EACAf,EAAUoC,YAAc"}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
3
|
-
import { MenubarItemProps } from './MenubarItem';
|
4
|
-
export declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarItemProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,40 +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 MenubarPrimitive from '@radix-ui/react-menubar';
|
27
|
-
import { CheckIcon } from '@radix-ui/react-icons';
|
28
|
-
import { cn } from '../../../lib/utils/utils';
|
29
|
-
import { menubarItemVariants } from './MenubarItem';
|
30
|
-
import { MenubarItemIndicator } from './MenubarItemIndicator';
|
31
|
-
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
32
|
-
import { useMenubarContext } from './MenubarRoot';
|
33
|
-
import { MAIN_COLOR } from '../../../lib/color/constants';
|
34
|
-
export var MenubarCheckboxItem = forwardRef(function (_a, ref) {
|
35
|
-
var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, ["children", "className", "checked"]);
|
36
|
-
var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
|
37
|
-
var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
|
38
|
-
return (_jsxs(MenubarPrimitive.CheckboxItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(MenubarItemIndicator, { forceMount: true, radius: 'medium', size: size, children: checked && _jsx(CheckIcon, {}) }), children] })));
|
39
|
-
});
|
40
|
-
MenubarCheckboxItem.displayName = 'Menubar.CheckboxItem';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsxs as r,jsx as e}from"react/jsx-runtime";import{forwardRef as t}from"react";import*as o from"@radix-ui/react-menubar";import{CheckIcon as i}from"@radix-ui/react-icons";import{cn as n}from"../../utils/utils.mjs";import{menubarItemVariants as a}from"./MenubarItem.mjs";import{MenubarItemIndicator as m}from"./MenubarItemIndicator.mjs";import{menuItemAppearanceStyle as c}from"../../constants.mjs";import{useMenubarContext as s}from"./MenubarRoot.mjs";import{MAIN_COLOR as l}from"../../color/constants.mjs";var p=function(){return p=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},p.apply(this,arguments)},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 i=0;for(o=Object.getOwnPropertySymbols(r);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(r,o[i])&&(t[o[i]]=r[o[i]])}return t},f=t((function(t,f){var d=t.children,b=t.className,h=t.checked,j=u(t,["children","className","checked"]),y=s(),O=y.radius,v=y.scaling,x=y.size,g=y.color,I=void 0===g?l:g,M=y.itemAppearance,k=void 0===M?"solid":M,w=n(a({radius:O,scaling:v,size:x}),"pl-7",c(k,I),b);return r(o.CheckboxItem,p({ref:f,className:w},j,{children:[e(m,{forceMount:!0,radius:"medium",size:x,children:h&&e(i,{})}),d]}))}));f.displayName="Menubar.CheckboxItem";export{f as MenubarCheckboxItem};
|
3
|
-
//# sourceMappingURL=MenubarCheckboxItem.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenubarCheckboxItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
export interface MenubarContentProps extends VariantProps<typeof menubarContentVariants> {
|
5
|
-
}
|
6
|
-
export declare const menubarContentVariants: (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 MenubarContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -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 } from "react/jsx-runtime";
|
25
|
-
import { forwardRef } from 'react';
|
26
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
27
|
-
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '../../../lib/utils/utils';
|
29
|
-
import { scalingVariants } from '../../../lib/constants';
|
30
|
-
import { useMenubarContext } from './MenubarRoot';
|
31
|
-
export var menubarContentVariants = cva("p-[5px] w-fit bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
|
32
|
-
variants: {
|
33
|
-
radius: {
|
34
|
-
none: 'rounded-none',
|
35
|
-
small: 'rounded-[3px]',
|
36
|
-
medium: 'rounded',
|
37
|
-
large: 'rounded-md',
|
38
|
-
full: 'rounded-md',
|
39
|
-
},
|
40
|
-
size: {
|
41
|
-
small: 'p-1 min-w-[120px] max-w-[300px]',
|
42
|
-
medium: 'p-2 min-w-[136px] max-w-[300px]',
|
43
|
-
},
|
44
|
-
scaling: __assign({}, scalingVariants),
|
45
|
-
},
|
46
|
-
defaultVariants: {
|
47
|
-
radius: 'medium',
|
48
|
-
size: 'medium',
|
49
|
-
scaling: '100%',
|
50
|
-
},
|
51
|
-
});
|
52
|
-
export var MenubarContent = forwardRef(function (_a, ref) {
|
53
|
-
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
54
|
-
var _b = useMenubarContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;
|
55
|
-
return (_jsx(MenubarPrimitive.Portal, { children: _jsx(MenubarPrimitive.Content, __assign({ ref: ref, className: cn(menubarContentVariants({
|
56
|
-
radius: radius,
|
57
|
-
size: size,
|
58
|
-
scaling: scaling,
|
59
|
-
}), className), align: "start", sideOffset: 5, alignOffset: -3 }, props, { children: children })) }));
|
60
|
-
});
|
61
|
-
MenubarContent.displayName = 'Menubar.Content';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as n}from"react";import*as t from"@radix-ui/react-menubar";import{cva as a}from"class-variance-authority";import{cn as e}from"../../utils/utils.mjs";import{scalingVariants as i}from"../../constants.mjs";import{useMenubarContext as o}from"./MenubarRoot.mjs";var s=function(){return s=Object.assign||function(r){for(var n,t=1,a=arguments.length;t<a;t++)for(var e in n=arguments[t])Object.prototype.hasOwnProperty.call(n,e)&&(r[e]=n[e]);return r},s.apply(this,arguments)},m=function(r,n){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&n.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var e=0;for(a=Object.getOwnPropertySymbols(r);e<a.length;e++)n.indexOf(a[e])<0&&Object.prototype.propertyIsEnumerable.call(r,a[e])&&(t[a[e]]=r[a[e]])}return t},l=a("p-[5px] w-fit bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded-md",full:"rounded-md"},size:{small:"p-1 min-w-[120px] max-w-[300px]",medium:"p-2 min-w-[136px] max-w-[300px]"},scaling:s({},i)},defaultVariants:{radius:"medium",size:"medium",scaling:"100%"}}),p=n((function(n,a){var i=n.children,p=n.className,u=m(n,["children","className"]),c=o(),d=c.radius,f=c.size,x=c.scaling;return r(t.Portal,{children:r(t.Content,s({ref:a,className:e(l({radius:d,size:f,scaling:x}),p),align:"start",sideOffset:5,alignOffset:-3},u,{children:i}))})}));p.displayName="Menubar.Content";export{p as MenubarContent,l as menubarContentVariants};
|
3
|
-
//# sourceMappingURL=MenubarContent.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenubarContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
export interface MenubarItemProps extends VariantProps<typeof menubarItemVariants> {
|
5
|
-
appearance?: 'solid' | 'ghost';
|
6
|
-
shortcut?: string;
|
7
|
-
}
|
8
|
-
export declare const menubarItemVariants: (props?: ({
|
9
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
|
-
size?: "small" | "medium" | null | undefined;
|
11
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
12
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
13
|
-
export declare const MenubarItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarItemProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,56 +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 MenubarPrimitive from '@radix-ui/react-menubar';
|
27
|
-
import { cva } from 'class-variance-authority';
|
28
|
-
import { cn } from '../../../lib/utils/utils';
|
29
|
-
import { blackText, menuItemAppearanceStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
|
-
import { useMenubarContext } from './MenubarRoot';
|
31
|
-
import { MAIN_COLOR } from '../../../lib/color/constants';
|
32
|
-
export var menubarItemVariants = 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 MenubarItem = forwardRef(function (_a, ref) {
|
48
|
-
var children = _a.children, className = _a.className, shortcut = _a.shortcut, props = __rest(_a, ["children", "className", "shortcut"]);
|
49
|
-
var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
|
50
|
-
var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), menuItemAppearanceStyle(itemAppearance, color), className);
|
51
|
-
var shortcutClassName = "text-slateA-11 dark:text-slateDarkA-11 ".concat(itemAppearance === 'solid' && !blackText.includes(color)
|
52
|
-
? 'group-hover:text-white dark:group-hover:text-slateDark-1'
|
53
|
-
: '');
|
54
|
-
return (_jsxs(MenubarPrimitive.Item, __assign({ ref: ref, className: itemClassName }, props, { children: [children, shortcut && _jsx("span", { className: shortcutClassName, children: shortcut })] })));
|
55
|
-
});
|
56
|
-
MenubarItem.displayName = 'Menubar.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-menubar";import{cva as o}from"class-variance-authority";import{cn as s}from"../../utils/utils.mjs";import{radiusVariants as n,scalingVariants as i,menuItemAppearanceStyle as l,blackText as m}from"../../constants.mjs";import{useMenubarContext as c}from"./MenubarRoot.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=o("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({},n["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,o){var n=r.children,i=r.className,x=r.shortcut,b=u(r,["children","className","shortcut"]),h=c(),v=h.radius,g=h.scaling,y=h.size,j=h.color,O=void 0===j?d:j,k=h.itemAppearance,w=void 0===k?"solid":k,N=s(f({radius:v,scaling:g,size:y}),l(w,O),i),z="text-slateA-11 dark:text-slateDarkA-11 ".concat("solid"!==w||m.includes(O)?"":"group-hover:text-white dark:group-hover:text-slateDark-1");return t(a.Item,p({ref:o,className:N},b,{children:[n,x&&e("span",{className:z,children:x})]}))}));x.displayName="Menubar.Item";export{x as MenubarItem,f as menubarItemVariants};
|
3
|
-
//# sourceMappingURL=MenubarItem.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenubarItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
export interface MenubarItemIndicatorProps extends VariantProps<typeof menubarItemIndicatorVariants> {
|
5
|
-
}
|
6
|
-
export declare const menubarItemIndicatorVariants: (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 MenubarItemIndicator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & MenubarItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
@@ -1,50 +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 MenubarPrimitive from '@radix-ui/react-menubar';
|
27
|
-
import { cn } from '../../../lib/utils/utils';
|
28
|
-
import { cva } from 'class-variance-authority';
|
29
|
-
import { radiusVariants } from '../../../lib/constants';
|
30
|
-
import { useMenubarContext } from './MenubarRoot';
|
31
|
-
export var menubarItemIndicatorVariants = cva("absolute left-0 inline-flex items-center justify-center ml-1 border", {
|
32
|
-
variants: {
|
33
|
-
radius: __assign({}, radiusVariants['base']),
|
34
|
-
size: {
|
35
|
-
small: 'w-3.5 h-3.5',
|
36
|
-
medium: 'w-4 h-4',
|
37
|
-
},
|
38
|
-
},
|
39
|
-
defaultVariants: {
|
40
|
-
size: 'medium',
|
41
|
-
radius: 'medium',
|
42
|
-
},
|
43
|
-
});
|
44
|
-
export var MenubarItemIndicator = forwardRef(function (_a, ref) {
|
45
|
-
var children = _a.children, className = _a.className, radius = _a.radius, props = __rest(_a, ["children", "className", "radius"]);
|
46
|
-
var size = useMenubarContext().size;
|
47
|
-
var indicatorClassName = cn(menubarItemIndicatorVariants({ size: size, radius: radius }), className);
|
48
|
-
return (_jsx(MenubarPrimitive.ItemIndicator, __assign({ ref: ref, className: indicatorClassName }, props, { children: children })));
|
49
|
-
});
|
50
|
-
MenubarItemIndicator.displayName = 'Menubar.ItemIndicator';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import*as t from"@radix-ui/react-menubar";import{cn as a}from"../../utils/utils.mjs";import{cva as i}from"class-variance-authority";import{radiusVariants as o}from"../../constants.mjs";import{useMenubarContext as n}from"./MenubarRoot.mjs";var s=function(){return s=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},s.apply(this,arguments)},m=function(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(r);i<a.length;i++)e.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(r,a[i])&&(t[a[i]]=r[a[i]])}return t},l=i("absolute left-0 inline-flex items-center justify-center ml-1 border",{variants:{radius:s({},o.base),size:{small:"w-3.5 h-3.5",medium:"w-4 h-4"}},defaultVariants:{size:"medium",radius:"medium"}}),c=e((function(e,i){var o=e.children,c=e.className,u=e.radius,f=m(e,["children","className","radius"]),p=n().size,d=a(l({size:p,radius:u}),c);return r(t.ItemIndicator,s({ref:i,className:d},f,{children:o}))}));c.displayName="Menubar.ItemIndicator";export{c as MenubarItemIndicator,l as menubarItemIndicatorVariants};
|
3
|
-
//# sourceMappingURL=MenubarItemIndicator.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenubarItemIndicator.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
3
|
-
export declare const MenubarMenu: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarMenuProps & {
|
4
|
-
__scopeMenubar?: import("@radix-ui/react-context").Scope;
|
5
|
-
} & React.RefAttributes<never>>;
|
@@ -1,30 +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 MenubarPrimitive from '@radix-ui/react-menubar';
|
26
|
-
export var MenubarMenu = forwardRef(function (_a, ref) {
|
27
|
-
var children = _a.children, props = __rest(_a, ["children"]);
|
28
|
-
return _jsx(MenubarPrimitive.Menu, __assign({}, props, { children: children }));
|
29
|
-
});
|
30
|
-
MenubarMenu.displayName = 'Menubar.Menu';
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import*as t from"@radix-ui/react-menubar";var n=function(){return n=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},n.apply(this,arguments)},o=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]])}return t},a=e((function(e,a){var i=e.children,c=o(e,["children"]);return r(t.Menu,n({},c,{children:i}))}));a.displayName="Menubar.Menu";export{a as MenubarMenu};
|
2
|
-
//# sourceMappingURL=MenubarMenu.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenubarMenu.mjs","sources":["../../../lib/components/Menubar/MenubarMenu.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 MenubarPrimitive from '@radix-ui/react-menubar';\nexport var MenubarMenu = forwardRef(function (_a, ref) {\n var children = _a.children, props = __rest(_a, [\"children\"]);\n return _jsx(MenubarPrimitive.Menu, __assign({}, props, { children: children }));\n});\nMenubarMenu.displayName = 'Menubar.Menu';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","MenubarMenu","forwardRef","_a","ref","children","props","_jsx","MenubarPrimitive","Menu","displayName"],"mappings":"qHAAA,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,EAIWiB,EAAcC,GAAW,SAAUC,EAAIC,GAC9C,IAAIC,EAAWF,EAAGE,SAAUC,EAAQV,EAAOO,EAAI,CAAC,aAChD,OAAOI,EAAKC,EAAiBC,KAAM5B,EAAS,CAAA,EAAIyB,EAAO,CAAED,SAAUA,IACvE,IACAJ,EAAYS,YAAc"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
3
|
-
type RadioContextType = {
|
4
|
-
selectedValue: string;
|
5
|
-
};
|
6
|
-
export declare const RadioContext: React.Context<RadioContextType>;
|
7
|
-
export declare const MenubarRadioGroup: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioGroupProps & 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 MenubarPrimitive from '@radix-ui/react-menubar';
|
27
|
-
export var RadioContext = createContext({ selectedValue: '' });
|
28
|
-
export var MenubarRadioGroup = forwardRef(function (_a, ref) {
|
29
|
-
var children = _a.children, className = _a.className, value = _a.value, props = __rest(_a, ["children", "className", "value"]);
|
30
|
-
return (_jsx(MenubarPrimitive.RadioGroup, __assign({ ref: ref, className: className }, props, { children: _jsx(RadioContext.Provider, { value: { selectedValue: value !== null && value !== void 0 ? value : '' }, children: children }) })));
|
31
|
-
});
|
32
|
-
MenubarRadioGroup.displayName = 'Menubar.RadioGroup';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{createContext as e,forwardRef as t}from"react";import*as a from"@radix-ui/react-menubar";var n=function(){return n=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},n.apply(this,arguments)},o=function(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(r);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(r,a[n])&&(t[a[n]]=r[a[n]])}return t},l=e({selectedValue:""}),c=t((function(e,t){var c=e.children,i=e.className,u=e.value,p=o(e,["children","className","value"]);return r(a.RadioGroup,n({ref:t,className:i},p,{children:r(l.Provider,{value:{selectedValue:null!=u?u:""},children:c})}))}));c.displayName="Menubar.RadioGroup";export{c as MenubarRadioGroup,l as RadioContext};
|
3
|
-
//# sourceMappingURL=MenubarRadioGroup.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenubarRadioGroup.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
3
|
-
import { MenubarItemProps } from './MenubarItem';
|
4
|
-
export declare const MenubarRadioItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & MenubarItemProps & 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, useContext } from 'react';
|
26
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
27
|
-
import { DotFilledIcon } from '@radix-ui/react-icons';
|
28
|
-
import { cn } from '../../../lib/utils/utils';
|
29
|
-
import { menuItemAppearanceStyle } from '../../../lib/constants';
|
30
|
-
import { menubarItemVariants } from './MenubarItem';
|
31
|
-
import { MenubarItemIndicator } from './MenubarItemIndicator';
|
32
|
-
import { RadioContext } from './MenubarRadioGroup';
|
33
|
-
import { useMenubarContext } from './MenubarRoot';
|
34
|
-
import { MAIN_COLOR } from '../../../lib/color/constants';
|
35
|
-
export var MenubarRadioItem = forwardRef(function (_a, ref) {
|
36
|
-
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
37
|
-
var _b = useMenubarContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.itemAppearance, itemAppearance = _d === void 0 ? 'solid' : _d;
|
38
|
-
var itemClassName = cn(menubarItemVariants({ radius: radius, scaling: scaling, size: size }), 'pl-7', menuItemAppearanceStyle(itemAppearance, color), className);
|
39
|
-
var radioGroup = useContext(RadioContext);
|
40
|
-
return (_jsxs(MenubarPrimitive.RadioItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(MenubarItemIndicator, { forceMount: true, radius: 'full', size: size, children: radioGroup.selectedValue === props.value && _jsx(DotFilledIcon, {}) }), children] })));
|
41
|
-
});
|
42
|
-
MenubarRadioItem.displayName = 'Menubar.RadioItem';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsxs as r,jsx as o}from"react/jsx-runtime";import{forwardRef as e,useContext as t}from"react";import*as i from"@radix-ui/react-menubar";import{DotFilledIcon as a}from"@radix-ui/react-icons";import{cn as n}from"../../utils/utils.mjs";import{menuItemAppearanceStyle as m}from"../../constants.mjs";import{menubarItemVariants as s}from"./MenubarItem.mjs";import{MenubarItemIndicator as c}from"./MenubarItemIndicator.mjs";import{RadioContext as l}from"./MenubarRadioGroup.mjs";import{useMenubarContext as p}from"./MenubarRoot.mjs";import{MAIN_COLOR as u}from"../../color/constants.mjs";var f=function(){return f=Object.assign||function(r){for(var o,e=1,t=arguments.length;e<t;e++)for(var i in o=arguments[e])Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i]);return r},f.apply(this,arguments)},d=function(r,o){var e={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&o.indexOf(t)<0&&(e[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(r);i<t.length;i++)o.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i])&&(e[t[i]]=r[t[i]])}return e},b=e((function(e,b){var j=e.children,y=e.className,O=d(e,["children","className"]),v=p(),h=v.radius,g=v.scaling,x=v.size,I=v.color,M=void 0===I?u:I,w=v.itemAppearance,N=void 0===w?"solid":w,P=n(s({radius:h,scaling:g,size:x}),"pl-7",m(N,M),y),R=t(l);return r(i.RadioItem,f({ref:b,className:P},O,{children:[o(c,{forceMount:!0,radius:"full",size:x,children:R.selectedValue===O.value&&o(a,{})}),j]}))}));b.displayName="Menubar.RadioItem";export{b as MenubarRadioItem};
|
3
|
-
//# sourceMappingURL=MenubarRadioItem.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"MenubarRadioItem.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|