@lotte-innovate/ui-component-test 0.2.40 → 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 -62
- package/dist/lib/components/index.js +1 -65
- 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/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 -45
- 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/Pagination.d.ts +0 -2
- package/dist/lib/components/Grid/Pagination.js +0 -18
- package/dist/lib/components/Grid/Pagination.mjs +0 -2
- package/dist/lib/components/Grid/Pagination.mjs.map +0 -1
- 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 -53
- 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 -19
- 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,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { ISize } from '../../../lib/types';
|
5
|
-
export interface PopoverContentProps extends VariantProps<typeof popoverContentVariants> {
|
6
|
-
size?: Exclude<ISize, 'x-small'>;
|
7
|
-
}
|
8
|
-
export declare const popoverContentVariants: (props?: ({
|
9
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
10
|
-
size?: "small" | "medium" | "large" | "x-large" | 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 PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverTheme.ContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,66 +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, useContext } from 'react';
|
26
|
-
import { scalingVariants } from '../../../lib/constants';
|
27
|
-
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
28
|
-
import { cva } from 'class-variance-authority';
|
29
|
-
import { PopoverContext } from './PopoverRoot';
|
30
|
-
import { cn } from '../../../lib/utils/utils';
|
31
|
-
export var popoverContentVariants = cva('flex gap-2 bg-white dark:bg-slateDark-1 border-slateA-6 dark:border-slateDarkA-6', {
|
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: 'text-xs w-[250px]',
|
42
|
-
medium: 'text-sm w-[300px]',
|
43
|
-
large: 'text-base w-[350px]',
|
44
|
-
'x-large': 'text-lg w-[400px]',
|
45
|
-
},
|
46
|
-
scaling: __assign({}, scalingVariants),
|
47
|
-
},
|
48
|
-
defaultVariants: {
|
49
|
-
radius: 'medium',
|
50
|
-
size: 'medium',
|
51
|
-
scaling: '100%',
|
52
|
-
},
|
53
|
-
});
|
54
|
-
export var PopoverContent = forwardRef(function (_a, ref) {
|
55
|
-
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
56
|
-
var _b = useContext(PopoverContext), radius = _b.radius, size = _b.size, scaling = _b.scaling;
|
57
|
-
var sizeTheme = '2';
|
58
|
-
if (size === 'small')
|
59
|
-
sizeTheme = '1';
|
60
|
-
if (size === 'large')
|
61
|
-
sizeTheme = '3';
|
62
|
-
if (size === 'x-large')
|
63
|
-
sizeTheme = '4';
|
64
|
-
return (_jsx(PopoverTheme.Content, __assign({ ref: ref, size: sizeTheme, className: cn(popoverContentVariants({ size: size, radius: radius, scaling: scaling }), className) }, props, { children: children })));
|
65
|
-
});
|
66
|
-
PopoverContent.displayName = 'Popover.Content';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e,useContext as t}from"react";import{scalingVariants as a}from"../../constants.mjs";import{Popover as o}from"@radix-ui/themes";import{cva as n}from"class-variance-authority";import{PopoverContext as i}from"./PopoverRoot.mjs";import{cn as s}from"../../utils/utils.mjs";var l=function(){return l=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},l.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 o=0;for(a=Object.getOwnPropertySymbols(r);o<a.length;o++)e.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(r,a[o])&&(t[a[o]]=r[a[o]])}return t},d=n("flex gap-2 bg-white dark:bg-slateDark-1 border-slateA-6 dark:border-slateDarkA-6",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded",large:"rounded-md",full:"rounded-md"},size:{small:"text-xs w-[250px]",medium:"text-sm w-[300px]",large:"text-base w-[350px]","x-large":"text-lg w-[400px]"},scaling:l({},a)},defaultVariants:{radius:"medium",size:"medium",scaling:"100%"}}),p=e((function(e,a){var n=e.className,p=e.children,u=m(e,["className","children"]),c=t(i),f=c.radius,g=c.size,x=c.scaling,b="2";return"small"===g&&(b="1"),"large"===g&&(b="3"),"x-large"===g&&(b="4"),r(o.Content,l({ref:a,size:b,className:s(d({size:g,radius:f,scaling:x}),n)},u,{children:p}))}));p.displayName="Popover.Content";export{p as PopoverContent,d as popoverContentVariants};
|
3
|
-
//# sourceMappingURL=PopoverContent.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PopoverContent.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React, { ComponentPropsWithoutRef } from 'react';
|
2
|
-
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
4
|
-
import { popoverContentVariants } from './PopoverContent';
|
5
|
-
export interface PopoverProps extends VariantProps<typeof popoverContentVariants> {
|
6
|
-
}
|
7
|
-
export declare const PopoverContext: React.Context<PopoverProps>;
|
8
|
-
export declare const PopoverRoot: {
|
9
|
-
({ children, radius, size, scaling, ...props }: ComponentPropsWithoutRef<typeof PopoverTheme.Root> & PopoverProps): import("react/jsx-runtime").JSX.Element;
|
10
|
-
displayName: string;
|
11
|
-
};
|
@@ -1,43 +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 } from 'react';
|
26
|
-
import { Theme, Popover as PopoverTheme } from '@radix-ui/themes';
|
27
|
-
import { useTheme } from '../../../lib/theme';
|
28
|
-
export var PopoverContext = createContext({
|
29
|
-
radius: 'medium',
|
30
|
-
size: 'medium',
|
31
|
-
scaling: '100%',
|
32
|
-
});
|
33
|
-
export var PopoverRoot = function (_a) {
|
34
|
-
var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, props = __rest(_a, ["children", "radius", "size", "scaling"]);
|
35
|
-
var theme = useTheme().theme;
|
36
|
-
var contextValue = {
|
37
|
-
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
38
|
-
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
39
|
-
size: size,
|
40
|
-
};
|
41
|
-
return (_jsx(Theme, { children: _jsx(PopoverContext.Provider, { value: contextValue, children: _jsx(PopoverTheme.Root, __assign({}, props, { children: children })) }) }));
|
42
|
-
};
|
43
|
-
PopoverRoot.displayName = 'Popover.Root';
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{createContext as e}from"react";import{Theme as t,Popover as i}from"@radix-ui/themes";import{useTheme as n}from"../../theme/ThemeProvider.mjs";var o=function(){return o=Object.assign||function(r){for(var e,t=1,i=arguments.length;t<i;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},o.apply(this,arguments)},a=function(r,e){var t={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(r);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(r,i[n])&&(t[i[n]]=r[i[n]])}return t},l=e({radius:"medium",size:"medium",scaling:"100%"}),c=function(e){var c=e.children,s=e.radius,m=e.size,u=e.scaling,p=a(e,["children","radius","size","scaling"]),d=n().theme,f={radius:null!=s?s:d.themeRadius,scaling:null!=u?u:d.themeScaling,size:m};return r(t,{children:r(l.Provider,{value:f,children:r(i.Root,o({},p,{children:c}))})})};c.displayName="Popover.Root";export{l as PopoverContext,c as PopoverRoot};
|
3
|
-
//# sourceMappingURL=PopoverRoot.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PopoverRoot.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Popover as PopoverTheme } from '@radix-ui/themes';
|
3
|
-
export declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverTheme.TriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
@@ -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 { Popover as PopoverTheme } from '@radix-ui/themes';
|
26
|
-
export var PopoverTrigger = forwardRef(function (_a, ref) {
|
27
|
-
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
28
|
-
return (_jsx(PopoverTheme.Trigger, __assign({ ref: ref }, props, { className: className, children: children })));
|
29
|
-
});
|
30
|
-
PopoverTrigger.displayName = 'Popover.Trigger';
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import{Popover as t}from"@radix-ui/themes";var o=function(){return o=Object.assign||function(r){for(var e,t=1,o=arguments.length;t<o;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},o.apply(this,arguments)},n=function(r,e){var t={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&e.indexOf(o)<0&&(t[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(r);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(r,o[n])&&(t[o[n]]=r[o[n]])}return t},a=e((function(e,a){var i=e.className,c=e.children,l=n(e,["className","children"]);return r(t.Trigger,o({ref:a},l,{className:i,children:c}))}));a.displayName="Popover.Trigger";export{a as PopoverTrigger};
|
2
|
-
//# sourceMappingURL=PopoverTrigger.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"PopoverTrigger.mjs","sources":["../../../lib/components/Popover/PopoverTrigger.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 { Popover as PopoverTheme } from '@radix-ui/themes';\nexport var PopoverTrigger = forwardRef(function (_a, ref) {\n var className = _a.className, children = _a.children, props = __rest(_a, [\"className\", \"children\"]);\n return (_jsx(PopoverTheme.Trigger, __assign({ ref: ref }, props, { className: className, children: children })));\n});\nPopoverTrigger.displayName = 'Popover.Trigger';\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","PopoverTrigger","forwardRef","_a","ref","className","children","props","_jsx","PopoverTheme","Trigger","displayName"],"mappings":"sHAAA,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,EAAiBC,GAAW,SAAUC,EAAIC,GACjD,IAAIC,EAAYF,EAAGE,UAAWC,EAAWH,EAAGG,SAAUC,EAAQX,EAAOO,EAAI,CAAC,YAAa,aACvF,OAAQK,EAAKC,EAAaC,QAAS7B,EAAS,CAAEuB,IAAKA,GAAOG,EAAO,CAAEF,UAAWA,EAAWC,SAAUA,IACvG,IACAL,EAAeU,YAAc"}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
declare const Popover: {
|
3
|
-
Root: {
|
4
|
-
({ children, radius, size, scaling, ...props }: import("@radix-ui/themes/dist/cjs/components/popover").RootProps & import("./PopoverRoot").PopoverProps): import("react/jsx-runtime").JSX.Element;
|
5
|
-
displayName: string;
|
6
|
-
};
|
7
|
-
Trigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/popover").TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
8
|
-
Content: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/popover").ContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("./PopoverContent").PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
9
|
-
Close: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/themes/dist/cjs/components/popover").CloseProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("./PopoverClose").PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
10
|
-
};
|
11
|
-
export default Popover;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { PopoverRoot } from './PopoverRoot';
|
2
|
-
import { PopoverTrigger } from './PopoverTrigger';
|
3
|
-
import { PopoverContent } from './PopoverContent';
|
4
|
-
import { PopoverClose } from './PopoverClose';
|
5
|
-
var Popover = {
|
6
|
-
Root: PopoverRoot,
|
7
|
-
Trigger: PopoverTrigger,
|
8
|
-
Content: PopoverContent,
|
9
|
-
Close: PopoverClose,
|
10
|
-
};
|
11
|
-
export default Popover;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{PopoverRoot as o}from"./PopoverRoot.mjs";import{PopoverTrigger as r}from"./PopoverTrigger.mjs";import{PopoverContent as e}from"./PopoverContent.mjs";import{PopoverClose as m}from"./PopoverClose.mjs";var t={Root:o,Trigger:r,Content:e,Close:m};export{t as default};
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../lib/components/Popover/index.js"],"sourcesContent":["import { PopoverRoot } from './PopoverRoot';\nimport { PopoverTrigger } from './PopoverTrigger';\nimport { PopoverContent } from './PopoverContent';\nimport { PopoverClose } from './PopoverClose';\nvar Popover = {\n Root: PopoverRoot,\n Trigger: PopoverTrigger,\n Content: PopoverContent,\n Close: PopoverClose,\n};\nexport default Popover;\n"],"names":["Popover$1","Root","PopoverRoot","Trigger","PopoverTrigger","Content","PopoverContent","Close","PopoverClose"],"mappings":"8MAIA,IAMAA,EANc,CACVC,KAAMC,EACNC,QAASC,EACTC,QAASC,EACTC,MAAOC"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
3
|
-
export interface ProgressProps extends VariantProps<typeof progressVariants> {
|
4
|
-
size?: 'small' | 'medium' | 'large';
|
5
|
-
appearance?: 'classic' | 'surface' | 'soft';
|
6
|
-
}
|
7
|
-
declare const progressVariants: (props?: ({
|
8
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
9
|
-
size?: "small" | "medium" | "large" | null | undefined;
|
10
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
|
-
export declare const Progress: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes").ProgressProps & React.RefAttributes<HTMLDivElement>, "ref">, "size"> & ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
13
|
-
export default Progress;
|
@@ -1,67 +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 { cva } from 'class-variance-authority';
|
27
|
-
import { Theme, Progress as ProgressTheme } from '@radix-ui/themes';
|
28
|
-
import { cn } from '../../../lib/utils/utils';
|
29
|
-
import { useTheme } from '../../../lib/theme';
|
30
|
-
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
|
-
import { scalingVariants } from '../../../lib/constants';
|
32
|
-
var progressVariants = cva('w-[300px]', {
|
33
|
-
variants: {
|
34
|
-
radius: {
|
35
|
-
none: 'rounded-none',
|
36
|
-
small: 'rounded-[3px]',
|
37
|
-
medium: 'rounded-full',
|
38
|
-
large: 'rounded-full',
|
39
|
-
full: 'rounded-full',
|
40
|
-
},
|
41
|
-
size: {
|
42
|
-
small: 'h-1',
|
43
|
-
medium: 'h-[6px]',
|
44
|
-
large: 'h-2',
|
45
|
-
},
|
46
|
-
scaling: __assign({}, scalingVariants),
|
47
|
-
},
|
48
|
-
defaultVariants: {
|
49
|
-
radius: 'medium',
|
50
|
-
size: 'medium',
|
51
|
-
scaling: '100%',
|
52
|
-
},
|
53
|
-
});
|
54
|
-
export var Progress = forwardRef(function (_a, ref) {
|
55
|
-
var _b;
|
56
|
-
var className = _a.className, radius = _a.radius, size = _a.size, value = _a.value, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, color = _a.color, scaling = _a.scaling, props = __rest(_a, ["className", "radius", "size", "value", "appearance", "color", "scaling"]);
|
57
|
-
var theme = useTheme().theme;
|
58
|
-
var progressStyle = {
|
59
|
-
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
60
|
-
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
61
|
-
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
62
|
-
size: size,
|
63
|
-
};
|
64
|
-
return (_jsx(Theme, { accentColor: progressStyle.color, children: _jsx(ProgressTheme, __assign({ ref: ref, value: value, variant: appearance, className: cn(progressVariants(progressStyle), className) }, props)) }));
|
65
|
-
});
|
66
|
-
Progress.displayName = 'Progress';
|
67
|
-
export default Progress;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as r}from"react/jsx-runtime";import{forwardRef as e}from"react";import{cva as a}from"class-variance-authority";import{Theme as o,Progress as t}from"@radix-ui/themes";import{cn as l}from"../../utils/utils.mjs";import{useTheme as n}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as i}from"../../color/constants.mjs";import{scalingVariants as s}from"../../constants.mjs";var m=function(){return m=Object.assign||function(r){for(var e,a=1,o=arguments.length;a<o;a++)for(var t in e=arguments[a])Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r},m.apply(this,arguments)},u=function(r,e){var a={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&e.indexOf(o)<0&&(a[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(o=Object.getOwnPropertySymbols(r);t<o.length;t++)e.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(r,o[t])&&(a[o[t]]=r[o[t]])}return a},c=a("w-[300px]",{variants:{radius:{none:"rounded-none",small:"rounded-[3px]",medium:"rounded-full",large:"rounded-full",full:"rounded-full"},size:{small:"h-1",medium:"h-[6px]",large:"h-2"},scaling:m({},s)},defaultVariants:{radius:"medium",size:"medium",scaling:"100%"}}),p=e((function(e,a){var s,p=e.className,d=e.radius,f=e.size,h=e.value,v=e.appearance,g=void 0===v?"surface":v,y=e.color,O=e.scaling,j=u(e,["className","radius","size","value","appearance","color","scaling"]),b=n().theme,x={radius:null!=d?d:b.themeRadius,scaling:null!=O?O:b.themeScaling,color:null!==(s=null!=y?y:b.themeColor)&&void 0!==s?s:i,size:f};return r(o,{accentColor:x.color,children:r(t,m({ref:a,value:h,variant:g,className:l(c(x),p)},j))})}));p.displayName="Progress";export{p as Progress,p as default};
|
3
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
2
|
-
import { IChartDataLabels, IChartDatasets, IChartLegend, IChartTitle } from '../../../lib/types';
|
3
|
-
type IRadarChartDataset = IChartDatasets & {
|
4
|
-
data: number[];
|
5
|
-
pointBackgroundColor?: string;
|
6
|
-
pointBorderColor?: string;
|
7
|
-
pointBorderWidth?: number;
|
8
|
-
pointHoverBackgroundColor?: string;
|
9
|
-
pointHoverBorderColor?: string;
|
10
|
-
pointHoverBorderWidth?: number;
|
11
|
-
fill?: boolean;
|
12
|
-
};
|
13
|
-
export interface RadarChartProps extends VariantProps<typeof radarChartVariants> {
|
14
|
-
appearance?: 'solid' | 'soft';
|
15
|
-
isColorMixed?: boolean;
|
16
|
-
className?: string;
|
17
|
-
datasets: IRadarChartDataset[];
|
18
|
-
title?: IChartTitle;
|
19
|
-
legend?: IChartLegend;
|
20
|
-
labels?: string[];
|
21
|
-
datalabels?: IChartDataLabels;
|
22
|
-
width?: string | number;
|
23
|
-
height?: string | number;
|
24
|
-
}
|
25
|
-
declare const radarChartVariants: (props?: ({
|
26
|
-
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
27
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
28
|
-
export declare const RadarChart: {
|
29
|
-
({ className, title, legend, datalabels, datasets, labels, width, height, scaling, appearance, isColorMixed, ...props }: RadarChartProps): import("react/jsx-runtime").JSX.Element;
|
30
|
-
displayName: string;
|
31
|
-
};
|
32
|
-
export default RadarChart;
|
@@ -1,85 +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
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
24
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
25
|
-
if (ar || !(i in from)) {
|
26
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
27
|
-
ar[i] = from[i];
|
28
|
-
}
|
29
|
-
}
|
30
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
31
|
-
};
|
32
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
33
|
-
import { cva } from 'class-variance-authority';
|
34
|
-
import { scalingVariants } from '../../../lib/constants';
|
35
|
-
import { Radar } from 'react-chartjs-2';
|
36
|
-
import { cn } from '../../../lib/utils/utils';
|
37
|
-
import { Chart as ChartJS, registerables } from 'chart.js';
|
38
|
-
import { chartColorList, chartAlphaColorList } from '../../../lib/color/constants';
|
39
|
-
import { useDarkMode } from '../../../lib/utils/useDarkMode';
|
40
|
-
import ChartDataLabels from 'chartjs-plugin-datalabels';
|
41
|
-
ChartJS.register.apply(ChartJS, __spreadArray(__spreadArray([], registerables, false), [ChartDataLabels], false));
|
42
|
-
ChartJS.defaults.set('plugins.datalabels', {
|
43
|
-
display: false,
|
44
|
-
});
|
45
|
-
var radarChartVariants = cva('', {
|
46
|
-
variants: {
|
47
|
-
scaling: __assign({}, scalingVariants),
|
48
|
-
},
|
49
|
-
defaultVariants: {
|
50
|
-
scaling: '100%',
|
51
|
-
},
|
52
|
-
});
|
53
|
-
export var RadarChart = function (_a) {
|
54
|
-
var className = _a.className, title = _a.title, legend = _a.legend, datalabels = _a.datalabels, datasets = _a.datasets, labels = _a.labels, width = _a.width, height = _a.height, scaling = _a.scaling, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, ["className", "title", "legend", "datalabels", "datasets", "labels", "width", "height", "scaling", "appearance", "isColorMixed"]);
|
55
|
-
var _d = useDarkMode(true), defaultScales = _d[1];
|
56
|
-
var getChartColor = function (isColorMixed, appearance) {
|
57
|
-
if (appearance === 'solid') {
|
58
|
-
return isColorMixed ? chartColorList.mixed : chartColorList.sorting;
|
59
|
-
}
|
60
|
-
if (appearance === 'soft') {
|
61
|
-
return isColorMixed ? chartAlphaColorList.mixed : chartAlphaColorList.sorting;
|
62
|
-
}
|
63
|
-
};
|
64
|
-
datasets.forEach(function (dataset, index) {
|
65
|
-
var ChartColor = getChartColor(isColorMixed, appearance);
|
66
|
-
var BorderColor = getChartColor(isColorMixed, 'solid');
|
67
|
-
if (!ChartColor || !BorderColor)
|
68
|
-
return;
|
69
|
-
dataset.backgroundColor = ChartColor[index];
|
70
|
-
dataset.borderColor = BorderColor[index];
|
71
|
-
});
|
72
|
-
return (_jsx(Radar, __assign({ data: { labels: labels, datasets: datasets }, options: {
|
73
|
-
plugins: {
|
74
|
-
title: title,
|
75
|
-
legend: legend,
|
76
|
-
datalabels: datalabels,
|
77
|
-
},
|
78
|
-
scales: __assign({ r: {
|
79
|
-
suggestedMin: 50,
|
80
|
-
suggestedMax: 100,
|
81
|
-
} }, defaultScales.linescale),
|
82
|
-
}, className: cn(radarChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));
|
83
|
-
};
|
84
|
-
RadarChart.displayName = 'RadarChart';
|
85
|
-
export default RadarChart;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{cva as a}from"class-variance-authority";import{scalingVariants as r}from"../../constants.mjs";import{Radar as e}from"react-chartjs-2";import{cn as o}from"../../utils/utils.mjs";import{Chart as s,registerables as l}from"chart.js";import{chartColorList as i,chartAlphaColorList as n}from"../../color/constants.mjs";import{useDarkMode as c}from"../../utils/useDarkMode.mjs";import p from"chartjs-plugin-datalabels";var d=function(){return d=Object.assign||function(t){for(var a,r=1,e=arguments.length;r<e;r++)for(var o in a=arguments[r])Object.prototype.hasOwnProperty.call(a,o)&&(t[o]=a[o]);return t},d.apply(this,arguments)},f=function(t,a){var r={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&a.indexOf(e)<0&&(r[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(e=Object.getOwnPropertySymbols(t);o<e.length;o++)a.indexOf(e[o])<0&&Object.prototype.propertyIsEnumerable.call(t,e[o])&&(r[e[o]]=t[e[o]])}return r},m=function(t,a,r){if(r||2===arguments.length)for(var e,o=0,s=a.length;o<s;o++)!e&&o in a||(e||(e=Array.prototype.slice.call(a,0,o)),e[o]=a[o]);return t.concat(e||Array.prototype.slice.call(a))};s.register.apply(s,m(m([],l,!1),[p],!1)),s.defaults.set("plugins.datalabels",{display:!1});var u=a("",{variants:{scaling:d({},r)},defaultVariants:{scaling:"100%"}}),g=function(a){var r=a.className,s=a.title,l=a.legend,p=a.datalabels,m=a.datasets,g=a.labels,h=a.width,y=a.height,b=a.scaling,v=a.appearance,j=void 0===v?"solid":v,O=a.isColorMixed,x=void 0===O||O,w=f(a,["className","title","legend","datalabels","datasets","labels","width","height","scaling","appearance","isColorMixed"]),C=c(!0)[1],M=function(t,a){return"solid"===a?t?i.mixed:i.sorting:"soft"===a?t?n.mixed:n.sorting:void 0};return m.forEach((function(t,a){var r=M(x,j),e=M(x,"solid");r&&e&&(t.backgroundColor=r[a],t.borderColor=e[a])})),t(e,d({data:{labels:g,datasets:m},options:{plugins:{title:s,legend:l,datalabels:p},scales:d({r:{suggestedMin:50,suggestedMax:100}},C.linescale)},className:o(u({scaling:b}),r),width:h,height:y},w))};g.displayName="RadarChart";export{g as RadarChart,g as default};
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../lib/components/RadarChart/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};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { cva } from 'class-variance-authority';\nimport { scalingVariants } from '../../../lib/constants';\nimport { Radar } from 'react-chartjs-2';\nimport { cn } from '../../../lib/utils/utils';\nimport { Chart as ChartJS, registerables } from 'chart.js';\nimport { chartColorList, chartAlphaColorList } from '../../../lib/color/constants';\nimport { useDarkMode } from '../../../lib/utils/useDarkMode';\nimport ChartDataLabels from 'chartjs-plugin-datalabels';\nChartJS.register.apply(ChartJS, __spreadArray(__spreadArray([], registerables, false), [ChartDataLabels], false));\nChartJS.defaults.set('plugins.datalabels', {\n display: false,\n});\nvar radarChartVariants = cva('', {\n variants: {\n scaling: __assign({}, scalingVariants),\n },\n defaultVariants: {\n scaling: '100%',\n },\n});\nexport var RadarChart = function (_a) {\n var className = _a.className, title = _a.title, legend = _a.legend, datalabels = _a.datalabels, datasets = _a.datasets, labels = _a.labels, width = _a.width, height = _a.height, scaling = _a.scaling, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, _c = _a.isColorMixed, isColorMixed = _c === void 0 ? true : _c, props = __rest(_a, [\"className\", \"title\", \"legend\", \"datalabels\", \"datasets\", \"labels\", \"width\", \"height\", \"scaling\", \"appearance\", \"isColorMixed\"]);\n var _d = useDarkMode(true), defaultScales = _d[1];\n var getChartColor = function (isColorMixed, appearance) {\n if (appearance === 'solid') {\n return isColorMixed ? chartColorList.mixed : chartColorList.sorting;\n }\n if (appearance === 'soft') {\n return isColorMixed ? chartAlphaColorList.mixed : chartAlphaColorList.sorting;\n }\n };\n datasets.forEach(function (dataset, index) {\n var ChartColor = getChartColor(isColorMixed, appearance);\n var BorderColor = getChartColor(isColorMixed, 'solid');\n if (!ChartColor || !BorderColor)\n return;\n dataset.backgroundColor = ChartColor[index];\n dataset.borderColor = BorderColor[index];\n });\n return (_jsx(Radar, __assign({ data: { labels: labels, datasets: datasets }, options: {\n plugins: {\n title: title,\n legend: legend,\n datalabels: datalabels,\n },\n scales: __assign({ r: {\n suggestedMin: 50,\n suggestedMax: 100,\n } }, defaultScales.linescale),\n }, className: cn(radarChartVariants({ scaling: scaling }), className), width: width, height: height }, props)));\n};\nRadarChart.displayName = 'RadarChart';\nexport default RadarChart;\n"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__rest","e","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__spreadArray","to","from","pack","ar","l","Array","slice","concat","ChartJS","register","registerables","ChartDataLabels","defaults","set","display","radarChartVariants","cva","variants","scaling","scalingVariants","defaultVariants","RadarChart","_a","className","title","legend","datalabels","datasets","labels","width","height","_b","appearance","_c","isColorMixed","props","defaultScales","useDarkMode","getChartColor","chartColorList","mixed","sorting","chartAlphaColorList","forEach","dataset","index","ChartColor","BorderColor","backgroundColor","borderColor","_jsx","Radar","data","options","plugins","scales","r","suggestedMin","suggestedMax","linescale","cn","displayName"],"mappings":"2cAAA,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,EACIiB,EAAgD,SAAUC,EAAIC,EAAMC,GACpE,GAAIA,GAA6B,IAArBhB,UAAUC,OAAc,IAAK,IAA4BgB,EAAxBnB,EAAI,EAAGoB,EAAIH,EAAKd,OAAYH,EAAIoB,EAAGpB,KACxEmB,GAAQnB,KAAKiB,IACRE,IAAIA,EAAKE,MAAMhB,UAAUiB,MAAMf,KAAKU,EAAM,EAAGjB,IAClDmB,EAAGnB,GAAKiB,EAAKjB,IAGrB,OAAOgB,EAAGO,OAAOJ,GAAME,MAAMhB,UAAUiB,MAAMf,KAAKU,GACtD,EAUAO,EAAQC,SAASjB,MAAMgB,EAAST,EAAcA,EAAc,GAAIW,GAAe,GAAQ,CAACC,IAAkB,IAC1GH,EAAQI,SAASC,IAAI,qBAAsB,CACvCC,SAAS,IAEb,IAAIC,EAAqBC,EAAI,GAAI,CAC7BC,SAAU,CACNC,QAASvC,EAAS,CAAE,EAAEwC,IAE1BC,gBAAiB,CACbF,QAAS,UAGNG,EAAa,SAAUC,GAC9B,IAAIC,EAAYD,EAAGC,UAAWC,EAAQF,EAAGE,MAAOC,EAASH,EAAGG,OAAQC,EAAaJ,EAAGI,WAAYC,EAAWL,EAAGK,SAAUC,EAASN,EAAGM,OAAQC,EAAQP,EAAGO,MAAOC,EAASR,EAAGQ,OAAQZ,EAAUI,EAAGJ,QAASa,EAAKT,EAAGU,WAAYA,OAAoB,IAAPD,EAAgB,QAAUA,EAAIE,EAAKX,EAAGY,aAAcA,OAAsB,IAAPD,GAAuBA,EAAIE,EAAQzC,EAAO4B,EAAI,CAAC,YAAa,QAAS,SAAU,aAAc,WAAY,SAAU,QAAS,SAAU,UAAW,aAAc,iBAC/ac,EAAnBC,GAAY,GAA0B,GAC3CC,EAAgB,SAAUJ,EAAcF,GACxC,MAAmB,UAAfA,EACOE,EAAeK,EAAeC,MAAQD,EAAeE,QAE7C,SAAfT,EACOE,EAAeQ,EAAoBF,MAAQE,EAAoBD,aAD1E,CAGR,EASI,OARAd,EAASgB,SAAQ,SAAUC,EAASC,GAChC,IAAIC,EAAaR,EAAcJ,EAAcF,GACzCe,EAAcT,EAAcJ,EAAc,SACzCY,GAAeC,IAEpBH,EAAQI,gBAAkBF,EAAWD,GACrCD,EAAQK,YAAcF,EAAYF,GAC1C,IACYK,EAAKC,EAAOxE,EAAS,CAAEyE,KAAM,CAAExB,OAAQA,EAAQD,SAAUA,GAAY0B,QAAS,CAC9EC,QAAS,CACL9B,MAAOA,EACPC,OAAQA,EACRC,WAAYA,GAEhB6B,OAAQ5E,EAAS,CAAE6E,EAAG,CACdC,aAAc,GACdC,aAAc,MACbtB,EAAcuB,YACxBpC,UAAWqC,EAAG7C,EAAmB,CAAEG,QAASA,IAAYK,GAAYM,MAAOA,EAAOC,OAAQA,GAAUK,GAC/G,EACAd,EAAWwC,YAAc"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { IScaling } from '../../../lib/types';
|
4
|
-
export interface RadioProps extends VariantProps<typeof radioVariants> {
|
5
|
-
size?: 'small' | 'medium' | 'large';
|
6
|
-
scaling?: IScaling;
|
7
|
-
appearance?: 'classic' | 'surface' | 'soft';
|
8
|
-
}
|
9
|
-
declare const radioVariants: (props?: ({
|
10
|
-
size?: "small" | "medium" | "large" | null | undefined;
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
|
-
export declare const Radio: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/themes").RadioProps & React.RefAttributes<HTMLInputElement>, "ref">, "size"> & RadioProps & React.RefAttributes<HTMLInputElement>>;
|
13
|
-
export default Radio;
|
@@ -1,60 +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 { cva } from 'class-variance-authority';
|
27
|
-
import { Theme, Radio as RadioTheme, Flex } from '@radix-ui/themes';
|
28
|
-
import { Text } from '../../../lib/Typography/Text';
|
29
|
-
import { cn } from '../../../lib/utils/utils';
|
30
|
-
import { useTheme } from '../../../lib/theme';
|
31
|
-
import { MAIN_COLOR } from '../../../lib/color/constants';
|
32
|
-
var radioVariants = cva('font-normal', {
|
33
|
-
variants: {
|
34
|
-
size: {
|
35
|
-
small: 'text-[12px] gap-2',
|
36
|
-
medium: 'text-[14px] gap-2',
|
37
|
-
large: 'text-[16px] gap-3',
|
38
|
-
},
|
39
|
-
},
|
40
|
-
defaultVariants: {
|
41
|
-
size: 'medium',
|
42
|
-
},
|
43
|
-
});
|
44
|
-
export var Radio = forwardRef(function (_a, ref) {
|
45
|
-
var _b;
|
46
|
-
var value = _a.value, scaling = _a.scaling, color = _a.color, _c = _a.size, size = _c === void 0 ? 'medium' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, children = _a.children, className = _a.className, props = __rest(_a, ["value", "scaling", "color", "size", "appearance", "children", "className"]);
|
47
|
-
var theme = useTheme().theme;
|
48
|
-
var sizeTheme = '2';
|
49
|
-
if (size === 'small')
|
50
|
-
sizeTheme = '1';
|
51
|
-
if (size === 'large')
|
52
|
-
sizeTheme = '3';
|
53
|
-
var radioStyle = {
|
54
|
-
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
55
|
-
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
56
|
-
};
|
57
|
-
return (_jsx(Theme, { accentColor: radioStyle.color, scaling: radioStyle.scaling, children: _jsx(Flex, { asChild: true, className: cn(radioVariants({ size: size }), className), children: _jsxs(Text, { as: "label", size: sizeTheme, color: "black", children: [_jsx(RadioTheme, __assign({ ref: ref, value: value, variant: appearance, size: sizeTheme }, props)), children] }) }) }));
|
58
|
-
});
|
59
|
-
Radio.displayName = 'Radio';
|
60
|
-
export default Radio;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
"use client";
|
2
|
-
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{forwardRef as a}from"react";import{cva as t}from"class-variance-authority";import{Theme as o,Flex as l,Radio as i}from"@radix-ui/themes";import{Text as n}from"../../Typography/Text/index.mjs";import{cn as s}from"../../utils/utils.mjs";import{useTheme as c}from"../../theme/ThemeProvider.mjs";import{MAIN_COLOR as m}from"../../color/constants.mjs";var p=function(){return p=Object.assign||function(e){for(var r,a=1,t=arguments.length;a<t;a++)for(var o in r=arguments[a])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},p.apply(this,arguments)},u=function(e,r){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(a[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(t=Object.getOwnPropertySymbols(e);o<t.length;o++)r.indexOf(t[o])<0&&Object.prototype.propertyIsEnumerable.call(e,t[o])&&(a[t[o]]=e[t[o]])}return a},f=t("font-normal",{variants:{size:{small:"text-[12px] gap-2",medium:"text-[14px] gap-2",large:"text-[16px] gap-3"}},defaultVariants:{size:"medium"}}),d=a((function(a,t){var d,h=a.value,v=a.scaling,g=a.color,y=a.size,x=void 0===y?"medium":y,O=a.appearance,b=void 0===O?"surface":O,j=a.children,z=a.className,P=u(a,["value","scaling","color","size","appearance","children","className"]),w=c().theme,N="2";"small"===x&&(N="1"),"large"===x&&(N="3");var C={scaling:null!=v?v:w.themeScaling,color:null!==(d=null!=g?g:w.themeColor)&&void 0!==d?d:m};return e(o,{accentColor:C.color,scaling:C.scaling,children:e(l,{asChild:!0,className:s(f({size:x}),z),children:r(n,{as:"label",size:N,color:"black",children:[e(i,p({ref:t,value:h,variant:b,size:N},P)),j]})})})}));d.displayName="Radio";export{d as Radio,d as default};
|
3
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
3
|
-
import { RadioCards as RadioCardsTheme } from '@radix-ui/themes';
|
4
|
-
export interface RadioCardsItemProps extends VariantProps<typeof radioCardsItemVariants> {
|
5
|
-
}
|
6
|
-
export declare const radioCardsItemVariants: (props?: ({
|
7
|
-
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
8
|
-
size?: "small" | "medium" | "large" | null | undefined;
|
9
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
|
-
export declare const RadioCardsItem: React.ForwardRefExoticComponent<Omit<RadioCardsTheme.ItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & RadioCardsItemProps & React.RefAttributes<HTMLButtonElement>>;
|