@lotte-innovate/ui-component-test 0.0.18 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +2 -2
  3. package/dist/{Typography → lib/Typography}/Header/index.d.ts +1 -1
  4. package/dist/{Typography/Header/index.js → lib/Typography/Header/index.jsx} +7 -4
  5. package/dist/{Typography → lib/Typography}/Text/index.d.ts +1 -2
  6. package/dist/{Typography/Text/index.js → lib/Typography/Text/index.jsx} +8 -5
  7. package/dist/{color → lib/color}/constants.d.ts +1 -1
  8. package/dist/{components → lib/components}/Accordion/index.d.ts +1 -1
  9. package/dist/{components/Accordion/index.js → lib/components/Accordion/index.jsx} +19 -7
  10. package/dist/{components → lib/components}/AlertDialog/AlertDialogAction.d.ts +1 -1
  11. package/dist/{components/AlertDialog/AlertDialogAction.js → lib/components/AlertDialog/AlertDialogAction.jsx} +6 -5
  12. package/dist/{components → lib/components}/AlertDialog/AlertDialogCancel.d.ts +1 -1
  13. package/dist/{components/AlertDialog/AlertDialogCancel.js → lib/components/AlertDialog/AlertDialogCancel.jsx} +6 -5
  14. package/dist/{components/AlertDialog/AlertDialogContent.js → lib/components/AlertDialog/AlertDialogContent.jsx} +9 -5
  15. package/dist/{components/AlertDialog/AlertDialogDescription.js → lib/components/AlertDialog/AlertDialogDescription.jsx} +5 -15
  16. package/dist/{components/AlertDialog/AlertDialogTitle.js → lib/components/AlertDialog/AlertDialogTitle.jsx} +5 -15
  17. package/dist/{components → lib/components}/AlertDialog/AlertDialogTrigger.d.ts +1 -1
  18. package/dist/{components/AlertDialog/AlertDialogTrigger.js → lib/components/AlertDialog/AlertDialogTrigger.jsx} +6 -5
  19. package/dist/{components → lib/components}/AlertDialog/index.d.ts +1 -1
  20. package/dist/{components/AlertDialog/index.js → lib/components/AlertDialog/index.jsx} +4 -14
  21. package/dist/{components/AspectRatio/index.js → lib/components/AspectRatio/index.jsx} +6 -5
  22. package/dist/{components/Avatar/index.js → lib/components/Avatar/index.jsx} +9 -5
  23. package/dist/{components → lib/components}/Badge/index.d.ts +1 -1
  24. package/dist/{components/Badge/index.js → lib/components/Badge/index.jsx} +6 -5
  25. package/dist/{components → lib/components}/BubbleChart/index.d.ts +3 -2
  26. package/dist/{components/BubbleChart/index.js → lib/components/BubbleChart/index.jsx} +4 -4
  27. package/dist/{components → lib/components}/Button/index.d.ts +1 -1
  28. package/dist/{components/Button/index.js → lib/components/Button/index.jsx} +6 -5
  29. package/dist/{components/Callout/CalloutIcon.js → lib/components/Callout/CalloutIcon.jsx} +10 -5
  30. package/dist/{components/Callout/CalloutText.js → lib/components/Callout/CalloutText.jsx} +5 -15
  31. package/dist/{components → lib/components}/Callout/index.d.ts +1 -1
  32. package/dist/{components/Callout/index.js → lib/components/Callout/index.jsx} +8 -5
  33. package/dist/{components → lib/components}/Card/index.d.ts +1 -1
  34. package/dist/{components/Card/index.js → lib/components/Card/index.jsx} +6 -5
  35. package/dist/{components → lib/components}/Checkbox/index.d.ts +1 -1
  36. package/dist/{components/Checkbox/index.js → lib/components/Checkbox/index.jsx} +14 -6
  37. package/dist/{components → lib/components}/CheckboxCard/index.d.ts +2 -2
  38. package/dist/{components/CheckboxCard/index.js → lib/components/CheckboxCard/index.jsx} +9 -7
  39. package/dist/{components → lib/components}/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
  40. package/dist/{components/CheckboxGroup/CheckboxGroupItem.js → lib/components/CheckboxGroup/CheckboxGroupItem.jsx} +7 -15
  41. package/dist/{components → lib/components}/CheckboxGroup/index.d.ts +2 -2
  42. package/dist/{components/CheckboxGroup/index.js → lib/components/CheckboxGroup/index.jsx} +6 -3
  43. package/dist/{components/ContextMenu/ContextMenuCheckboxItem.js → lib/components/ContextMenu/ContextMenuCheckboxItem.jsx} +9 -16
  44. package/dist/{components/ContextMenu/ContextMenuContent.js → lib/components/ContextMenu/ContextMenuContent.jsx} +8 -5
  45. package/dist/{components/ContextMenu/ContextMenuGroup.js → lib/components/ContextMenu/ContextMenuGroup.jsx} +4 -14
  46. package/dist/{components/ContextMenu/ContextMenuItem.js → lib/components/ContextMenu/ContextMenuItem.jsx} +7 -5
  47. package/dist/{components/ContextMenu/ContextMenuItemIndicator.js → lib/components/ContextMenu/ContextMenuItemIndicator.jsx} +6 -5
  48. package/dist/{components/ContextMenu/ContextMenuLabel.js → lib/components/ContextMenu/ContextMenuLabel.jsx} +6 -5
  49. package/dist/{components/ContextMenu/ContextMenuRadioGroup.js → lib/components/ContextMenu/ContextMenuRadioGroup.jsx} +6 -14
  50. package/dist/{components/ContextMenu/ContextMenuRadioItem.js → lib/components/ContextMenu/ContextMenuRadioItem.jsx} +9 -16
  51. package/dist/{components/ContextMenu/ContextMenuSeparator.js → lib/components/ContextMenu/ContextMenuSeparator.jsx} +5 -15
  52. package/dist/{components/ContextMenu/ContextMenuSubContent.js → lib/components/ContextMenu/ContextMenuSubContent.jsx} +11 -8
  53. package/dist/{components/ContextMenu/ContextMenuSubTrigger.js → lib/components/ContextMenu/ContextMenuSubTrigger.jsx} +11 -16
  54. package/dist/{components/ContextMenu/ContextMenuTrigger.js → lib/components/ContextMenu/ContextMenuTrigger.jsx} +5 -15
  55. package/dist/{components → lib/components}/ContextMenu/index.d.ts +1 -1
  56. package/dist/{components/ContextMenu/index.js → lib/components/ContextMenu/index.jsx} +6 -14
  57. package/dist/{components/DataList/DataListItem.js → lib/components/DataList/DataListItem.jsx} +6 -5
  58. package/dist/{components/DataList/DataListLabel.js → lib/components/DataList/DataListLabel.jsx} +6 -5
  59. package/dist/{components/DataList/DataListValue.js → lib/components/DataList/DataListValue.jsx} +6 -5
  60. package/dist/{components/DataList/index.js → lib/components/DataList/index.jsx} +7 -15
  61. package/dist/{components → lib/components}/Dialog/DialogAction.d.ts +1 -1
  62. package/dist/{components/Dialog/DialogAction.js → lib/components/Dialog/DialogAction.jsx} +6 -16
  63. package/dist/{components/Dialog/DialogCancel.js → lib/components/Dialog/DialogCancel.jsx} +5 -15
  64. package/dist/{components/Dialog/DialogContent.js → lib/components/Dialog/DialogContent.jsx} +6 -5
  65. package/dist/{components/Dialog/DialogDescription.js → lib/components/Dialog/DialogDescription.jsx} +5 -15
  66. package/dist/{components/Dialog/DialogSlot.js → lib/components/Dialog/DialogSlot.jsx} +5 -15
  67. package/dist/{components/Dialog/DialogTitle.js → lib/components/Dialog/DialogTitle.jsx} +5 -15
  68. package/dist/{components/Dialog/DialogTrigger.js → lib/components/Dialog/DialogTrigger.jsx} +4 -14
  69. package/dist/{components/Dialog/index.js → lib/components/Dialog/index.jsx} +4 -14
  70. package/dist/{components → lib/components}/DoughnutChart/index.d.ts +2 -1
  71. package/dist/{components/DoughnutChart/index.js → lib/components/DoughnutChart/index.jsx} +4 -4
  72. package/dist/{components/DropdownMenu/DropdonMenuRadioGroup.js → lib/components/DropdownMenu/DropdonMenuRadioGroup.jsx} +6 -14
  73. package/dist/{components/DropdownMenu/DropdonMenuSubContent.js → lib/components/DropdownMenu/DropdonMenuSubContent.jsx} +12 -9
  74. package/dist/{components/DropdownMenu/DropdownMenuCheckboxItem.js → lib/components/DropdownMenu/DropdownMenuCheckboxItem.jsx} +9 -16
  75. package/dist/{components/DropdownMenu/DropdownMenuContent.js → lib/components/DropdownMenu/DropdownMenuContent.jsx} +8 -5
  76. package/dist/{components/DropdownMenu/DropdownMenuItem.js → lib/components/DropdownMenu/DropdownMenuItem.jsx} +7 -5
  77. package/dist/{components/DropdownMenu/DropdownMenuItemIndicator.js → lib/components/DropdownMenu/DropdownMenuItemIndicator.jsx} +6 -5
  78. package/dist/{components/DropdownMenu/DropdownMenuLable.js → lib/components/DropdownMenu/DropdownMenuLable.jsx} +6 -5
  79. package/dist/{components/DropdownMenu/DropdownMenuRadioItem.js → lib/components/DropdownMenu/DropdownMenuRadioItem.jsx} +9 -16
  80. package/dist/{components/DropdownMenu/DropdownMenuSeparator.js → lib/components/DropdownMenu/DropdownMenuSeparator.jsx} +3 -15
  81. package/dist/{components/DropdownMenu/DropdownMenuSub.js → lib/components/DropdownMenu/DropdownMenuSub.jsx} +2 -14
  82. package/dist/{components/DropdownMenu/DropdownMenuSubTrigger.js → lib/components/DropdownMenu/DropdownMenuSubTrigger.jsx} +9 -16
  83. package/dist/{components/DropdownMenu/DropdownMenuTrigger.js → lib/components/DropdownMenu/DropdownMenuTrigger.jsx} +5 -15
  84. package/dist/{components/DropdownMenu/index.js → lib/components/DropdownMenu/index.jsx} +2 -14
  85. package/dist/{components/HoverCard/HoverCardContent.js → lib/components/HoverCard/HoverCardContent.jsx} +6 -6
  86. package/dist/{components/HoverCard/HoverCardTrigger.js → lib/components/HoverCard/HoverCardTrigger.jsx} +4 -14
  87. package/dist/{components/HoverCard/index.js → lib/components/HoverCard/index.jsx} +4 -14
  88. package/dist/{components → lib/components}/IconButton/index.d.ts +1 -1
  89. package/dist/{components/IconButton/index.js → lib/components/IconButton/index.jsx} +5 -4
  90. package/dist/{components/Inset/index.js → lib/components/Inset/index.jsx} +8 -5
  91. package/dist/{components → lib/components}/Label/index.d.ts +1 -1
  92. package/dist/{components/Label/index.js → lib/components/Label/index.jsx} +5 -4
  93. package/dist/{components/Menubar/MenubarCheckboxItem.js → lib/components/Menubar/MenubarCheckboxItem.jsx} +9 -16
  94. package/dist/{components/Menubar/MenubarContent.js → lib/components/Menubar/MenubarContent.jsx} +12 -9
  95. package/dist/{components/Menubar/MenubarItem.js → lib/components/Menubar/MenubarItem.jsx} +7 -5
  96. package/dist/{components/Menubar/MenubarItemIndicator.js → lib/components/Menubar/MenubarItemIndicator.jsx} +6 -5
  97. package/dist/{components/Menubar/MenubarMenu.js → lib/components/Menubar/MenubarMenu.jsx} +2 -14
  98. package/dist/{components/Menubar/MenubarRadioGroup.js → lib/components/Menubar/MenubarRadioGroup.jsx} +6 -14
  99. package/dist/{components/Menubar/MenubarRadioItem.js → lib/components/Menubar/MenubarRadioItem.jsx} +9 -16
  100. package/dist/{components/Menubar/MenubarSeparator.js → lib/components/Menubar/MenubarSeparator.jsx} +5 -15
  101. package/dist/{components/Menubar/MenubarSub.js → lib/components/Menubar/MenubarSub.jsx} +2 -14
  102. package/dist/{components/Menubar/MenubarSubContent.js → lib/components/Menubar/MenubarSubContent.jsx} +7 -6
  103. package/dist/{components/Menubar/MenubarSubTrigger.js → lib/components/Menubar/MenubarSubTrigger.jsx} +9 -16
  104. package/dist/{components/Menubar/MenubarTrigger.js → lib/components/Menubar/MenubarTrigger.jsx} +6 -5
  105. package/dist/{components → lib/components}/Menubar/index.d.ts +1 -1
  106. package/dist/{components/Menubar/index.js → lib/components/Menubar/index.jsx} +8 -5
  107. package/dist/{components/NavigationMenu/NavigationMenuContent.js → lib/components/NavigationMenu/NavigationMenuContent.jsx} +6 -5
  108. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.jsx +22 -0
  109. package/dist/{components/NavigationMenu/NavigationMenuItem.js → lib/components/NavigationMenu/NavigationMenuItem.jsx} +4 -14
  110. package/dist/{components/NavigationMenu/NavigationMenuLink.js → lib/components/NavigationMenu/NavigationMenuLink.jsx} +6 -5
  111. package/dist/{components/NavigationMenu/NavigationMenuList.js → lib/components/NavigationMenu/NavigationMenuList.jsx} +7 -5
  112. package/dist/{components/NavigationMenu/NavigationMenuTrigger.js → lib/components/NavigationMenu/NavigationMenuTrigger.jsx} +7 -5
  113. package/dist/{components/NavigationMenu/NavigationMenuViewport.js → lib/components/NavigationMenu/NavigationMenuViewport.jsx} +6 -5
  114. package/dist/{components → lib/components}/NavigationMenu/index.d.ts +1 -1
  115. package/dist/{components/NavigationMenu/index.js → lib/components/NavigationMenu/index.jsx} +7 -15
  116. package/dist/{components → lib/components}/PieChart/index.d.ts +2 -1
  117. package/dist/{components/PieChart/index.js → lib/components/PieChart/index.jsx} +4 -4
  118. package/dist/{components/Popover/PopoverClose.js → lib/components/Popover/PopoverClose.jsx} +5 -15
  119. package/dist/{components/Popover/PopoverContent.js → lib/components/Popover/PopoverContent.jsx} +6 -5
  120. package/dist/{components/Popover/PopoverTrigger.js → lib/components/Popover/PopoverTrigger.jsx} +4 -14
  121. package/dist/{components/Popover/index.js → lib/components/Popover/index.jsx} +4 -14
  122. package/dist/{components/Progress/index.js → lib/components/Progress/index.jsx} +6 -5
  123. package/dist/{components → lib/components}/RadarChart/index.d.ts +3 -2
  124. package/dist/{components/RadarChart/index.js → lib/components/RadarChart/index.jsx} +4 -4
  125. package/dist/{components → lib/components}/Radio/index.d.ts +1 -1
  126. package/dist/{components/Radio/index.js → lib/components/Radio/index.jsx} +10 -15
  127. package/dist/{components/RadioCards/RadioCardsItem.js → lib/components/RadioCards/RadioCardsItem.jsx} +5 -15
  128. package/dist/{components/RadioCards/index.js → lib/components/RadioCards/index.jsx} +8 -5
  129. package/dist/{components/RadioGroup/RadioGroupItem.js → lib/components/RadioGroup/RadioGroupItem.jsx} +5 -15
  130. package/dist/{components → lib/components}/RadioGroup/index.d.ts +1 -1
  131. package/dist/{components/RadioGroup/index.js → lib/components/RadioGroup/index.jsx} +7 -15
  132. package/dist/{components/ScrollArea/index.js → lib/components/ScrollArea/index.jsx} +6 -14
  133. package/dist/{components/SegmentedControl/SegmentedControlItem.js → lib/components/SegmentedControl/SegmentedControlItem.jsx} +5 -15
  134. package/dist/{components → lib/components}/SegmentedControl/index.d.ts +1 -1
  135. package/dist/{components/SegmentedControl/index.js → lib/components/SegmentedControl/index.jsx} +7 -4
  136. package/dist/{components → lib/components}/Select/index.d.ts +1 -1
  137. package/dist/{components/Select/index.js → lib/components/Select/index.jsx} +27 -10
  138. package/dist/{components/Separator/index.js → lib/components/Separator/index.jsx} +7 -4
  139. package/dist/{components → lib/components}/Skeleton/index.d.ts +1 -1
  140. package/dist/{components/Skeleton/index.js → lib/components/Skeleton/index.jsx} +7 -4
  141. package/dist/{components → lib/components}/Slider/index.d.ts +1 -1
  142. package/dist/{components/Slider/index.js → lib/components/Slider/index.jsx} +5 -4
  143. package/dist/{components → lib/components}/Spinner/index.d.ts +1 -1
  144. package/dist/{components/Spinner/index.js → lib/components/Spinner/index.jsx} +7 -4
  145. package/dist/{components/TabNav/index.js → lib/components/TabNav/index.jsx} +9 -15
  146. package/dist/{components → lib/components}/Table/index.d.ts +1 -1
  147. package/dist/{components/Table/index.js → lib/components/Table/index.jsx} +25 -10
  148. package/dist/{components/Tabs/index.js → lib/components/Tabs/index.jsx} +16 -7
  149. package/dist/{components → lib/components}/TextArea/index.d.ts +1 -1
  150. package/dist/{components/TextArea/index.js → lib/components/TextArea/index.jsx} +5 -4
  151. package/dist/{components → lib/components}/TextField/index.d.ts +1 -1
  152. package/dist/{components/TextField/index.js → lib/components/TextField/index.jsx} +10 -5
  153. package/dist/{components → lib/components}/Toast/ToastActionButton.d.ts +1 -1
  154. package/dist/{components/Toast/ToastActionButton.js → lib/components/Toast/ToastActionButton.jsx} +7 -6
  155. package/dist/{components → lib/components}/Toast/ToastDescription.d.ts +1 -1
  156. package/dist/{components/Toast/ToastDescription.js → lib/components/Toast/ToastDescription.jsx} +7 -15
  157. package/dist/{components → lib/components}/Toast/ToastTitle.d.ts +1 -1
  158. package/dist/{components/Toast/ToastTitle.js → lib/components/Toast/ToastTitle.jsx} +5 -15
  159. package/dist/{components/Toast/index.js → lib/components/Toast/index.jsx} +11 -5
  160. package/dist/{components → lib/components}/Toggle/ToggleWithText.d.ts +1 -1
  161. package/dist/{components/Toggle/ToggleWithText.js → lib/components/Toggle/ToggleWithText.jsx} +9 -7
  162. package/dist/{components → lib/components}/Toggle/index.d.ts +1 -1
  163. package/dist/{components/Toggle/index.js → lib/components/Toggle/index.jsx} +6 -5
  164. package/dist/{components → lib/components}/ToggleGroup/index.d.ts +1 -1
  165. package/dist/{components/ToggleGroup/index.js → lib/components/ToggleGroup/index.jsx} +8 -5
  166. package/dist/{components → lib/components}/ToggleGroup/toggleGroupItem.d.ts +1 -1
  167. package/dist/{components/ToggleGroup/toggleGroupItem.js → lib/components/ToggleGroup/toggleGroupItem.jsx} +6 -16
  168. package/dist/{components/ToggleSwitch/index.js → lib/components/ToggleSwitch/index.jsx} +9 -5
  169. package/dist/{components → lib/components}/Tooltip/index.d.ts +1 -1
  170. package/dist/{components/Tooltip/index.js → lib/components/Tooltip/index.jsx} +13 -4
  171. package/dist/{constants.js → lib/constants.js} +1 -1
  172. package/package.json +3 -20
  173. package/dist/components/NavigationMenu/NavigationMenuIndicator.js +0 -31
  174. /package/dist/{Typography → lib/Typography}/index.d.ts +0 -0
  175. /package/dist/{Typography → lib/Typography}/index.js +0 -0
  176. /package/dist/{color → lib/color}/alpha.d.ts +0 -0
  177. /package/dist/{color → lib/color}/alpha.js +0 -0
  178. /package/dist/{color → lib/color}/constants.js +0 -0
  179. /package/dist/{color → lib/color}/dark.d.ts +0 -0
  180. /package/dist/{color → lib/color}/dark.js +0 -0
  181. /package/dist/{color → lib/color}/krdsColors.d.ts +0 -0
  182. /package/dist/{color → lib/color}/krdsColors.js +0 -0
  183. /package/dist/{color → lib/color}/light.d.ts +0 -0
  184. /package/dist/{color → lib/color}/light.js +0 -0
  185. /package/dist/{components → lib/components}/AlertDialog/AlertDialogContent.d.ts +0 -0
  186. /package/dist/{components → lib/components}/AlertDialog/AlertDialogDescription.d.ts +0 -0
  187. /package/dist/{components → lib/components}/AlertDialog/AlertDialogTitle.d.ts +0 -0
  188. /package/dist/{components → lib/components}/AspectRatio/index.d.ts +0 -0
  189. /package/dist/{components → lib/components}/Avatar/index.d.ts +0 -0
  190. /package/dist/{components → lib/components}/Callout/CalloutIcon.d.ts +0 -0
  191. /package/dist/{components → lib/components}/Callout/CalloutText.d.ts +0 -0
  192. /package/dist/{components → lib/components}/ContextMenu/ContextMenuCheckboxItem.d.ts +0 -0
  193. /package/dist/{components → lib/components}/ContextMenu/ContextMenuContent.d.ts +0 -0
  194. /package/dist/{components → lib/components}/ContextMenu/ContextMenuGroup.d.ts +0 -0
  195. /package/dist/{components → lib/components}/ContextMenu/ContextMenuItem.d.ts +0 -0
  196. /package/dist/{components → lib/components}/ContextMenu/ContextMenuItemIndicator.d.ts +0 -0
  197. /package/dist/{components → lib/components}/ContextMenu/ContextMenuLabel.d.ts +0 -0
  198. /package/dist/{components → lib/components}/ContextMenu/ContextMenuRadioGroup.d.ts +0 -0
  199. /package/dist/{components → lib/components}/ContextMenu/ContextMenuRadioItem.d.ts +0 -0
  200. /package/dist/{components → lib/components}/ContextMenu/ContextMenuSeparator.d.ts +0 -0
  201. /package/dist/{components → lib/components}/ContextMenu/ContextMenuSubContent.d.ts +0 -0
  202. /package/dist/{components → lib/components}/ContextMenu/ContextMenuSubTrigger.d.ts +0 -0
  203. /package/dist/{components → lib/components}/ContextMenu/ContextMenuTrigger.d.ts +0 -0
  204. /package/dist/{components → lib/components}/DataList/DataListItem.d.ts +0 -0
  205. /package/dist/{components → lib/components}/DataList/DataListLabel.d.ts +0 -0
  206. /package/dist/{components → lib/components}/DataList/DataListValue.d.ts +0 -0
  207. /package/dist/{components → lib/components}/DataList/index.d.ts +0 -0
  208. /package/dist/{components → lib/components}/Dialog/DialogCancel.d.ts +0 -0
  209. /package/dist/{components → lib/components}/Dialog/DialogContent.d.ts +0 -0
  210. /package/dist/{components → lib/components}/Dialog/DialogDescription.d.ts +0 -0
  211. /package/dist/{components → lib/components}/Dialog/DialogSlot.d.ts +0 -0
  212. /package/dist/{components → lib/components}/Dialog/DialogTitle.d.ts +0 -0
  213. /package/dist/{components → lib/components}/Dialog/DialogTrigger.d.ts +0 -0
  214. /package/dist/{components → lib/components}/Dialog/index.d.ts +0 -0
  215. /package/dist/{components → lib/components}/DropdownMenu/DropdonMenuRadioGroup.d.ts +0 -0
  216. /package/dist/{components → lib/components}/DropdownMenu/DropdonMenuSubContent.d.ts +0 -0
  217. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuCheckboxItem.d.ts +0 -0
  218. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuContent.d.ts +0 -0
  219. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuItem.d.ts +0 -0
  220. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuItemIndicator.d.ts +0 -0
  221. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuLable.d.ts +0 -0
  222. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuRadioItem.d.ts +0 -0
  223. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSeparator.d.ts +0 -0
  224. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSub.d.ts +0 -0
  225. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuSubTrigger.d.ts +0 -0
  226. /package/dist/{components → lib/components}/DropdownMenu/DropdownMenuTrigger.d.ts +0 -0
  227. /package/dist/{components → lib/components}/DropdownMenu/index.d.ts +0 -0
  228. /package/dist/{components → lib/components}/HoverCard/HoverCardContent.d.ts +0 -0
  229. /package/dist/{components → lib/components}/HoverCard/HoverCardTrigger.d.ts +0 -0
  230. /package/dist/{components → lib/components}/HoverCard/index.d.ts +0 -0
  231. /package/dist/{components → lib/components}/Inset/index.d.ts +0 -0
  232. /package/dist/{components → lib/components}/Menubar/MenubarCheckboxItem.d.ts +0 -0
  233. /package/dist/{components → lib/components}/Menubar/MenubarContent.d.ts +0 -0
  234. /package/dist/{components → lib/components}/Menubar/MenubarItem.d.ts +0 -0
  235. /package/dist/{components → lib/components}/Menubar/MenubarItemIndicator.d.ts +0 -0
  236. /package/dist/{components → lib/components}/Menubar/MenubarMenu.d.ts +0 -0
  237. /package/dist/{components → lib/components}/Menubar/MenubarRadioGroup.d.ts +0 -0
  238. /package/dist/{components → lib/components}/Menubar/MenubarRadioItem.d.ts +0 -0
  239. /package/dist/{components → lib/components}/Menubar/MenubarSeparator.d.ts +0 -0
  240. /package/dist/{components → lib/components}/Menubar/MenubarSub.d.ts +0 -0
  241. /package/dist/{components → lib/components}/Menubar/MenubarSubContent.d.ts +0 -0
  242. /package/dist/{components → lib/components}/Menubar/MenubarSubTrigger.d.ts +0 -0
  243. /package/dist/{components → lib/components}/Menubar/MenubarTrigger.d.ts +0 -0
  244. /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuContent.d.ts +0 -0
  245. /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuIndicator.d.ts +0 -0
  246. /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuItem.d.ts +0 -0
  247. /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuLink.d.ts +0 -0
  248. /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuList.d.ts +0 -0
  249. /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuTrigger.d.ts +0 -0
  250. /package/dist/{components → lib/components}/NavigationMenu/NavigationMenuViewport.d.ts +0 -0
  251. /package/dist/{components → lib/components}/Popover/PopoverClose.d.ts +0 -0
  252. /package/dist/{components → lib/components}/Popover/PopoverContent.d.ts +0 -0
  253. /package/dist/{components → lib/components}/Popover/PopoverTrigger.d.ts +0 -0
  254. /package/dist/{components → lib/components}/Popover/index.d.ts +0 -0
  255. /package/dist/{components → lib/components}/Progress/index.d.ts +0 -0
  256. /package/dist/{components → lib/components}/RadioCards/RadioCardsItem.d.ts +0 -0
  257. /package/dist/{components → lib/components}/RadioCards/index.d.ts +0 -0
  258. /package/dist/{components → lib/components}/RadioGroup/RadioGroupItem.d.ts +0 -0
  259. /package/dist/{components → lib/components}/ScrollArea/index.d.ts +0 -0
  260. /package/dist/{components → lib/components}/SegmentedControl/SegmentedControlItem.d.ts +0 -0
  261. /package/dist/{components → lib/components}/Separator/index.d.ts +0 -0
  262. /package/dist/{components → lib/components}/TabNav/index.d.ts +0 -0
  263. /package/dist/{components → lib/components}/Tabs/index.d.ts +0 -0
  264. /package/dist/{components → lib/components}/Toast/index.d.ts +0 -0
  265. /package/dist/{components → lib/components}/ToggleSwitch/index.d.ts +0 -0
  266. /package/dist/{components → lib/components}/index.d.ts +0 -0
  267. /package/dist/{components → lib/components}/index.js +0 -0
  268. /package/dist/{constants.d.ts → lib/constants.d.ts} +0 -0
  269. /package/dist/{types.d.ts → lib/types.d.ts} +0 -0
  270. /package/dist/{types.js → lib/types.js} +0 -0
  271. /package/dist/{utils → lib/utils}/utils.d.ts +0 -0
  272. /package/dist/{utils → lib/utils}/utils.js +0 -0
@@ -20,13 +20,12 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import { Callout as CalloutTheme } from '@radix-ui/themes';
26
25
  import { cva } from 'class-variance-authority';
27
- import { cn } from 'utils/utils';
26
+ import { cn } from 'lib/utils/utils';
28
27
  import { ExclamationTriangleIcon, InfoCircledIcon, LockClosedIcon, CheckCircledIcon, } from '@radix-ui/react-icons';
29
- import { scalingVariants } from '../../constants';
28
+ import { scalingVariants } from 'lib/constants';
30
29
  import { useCalloutContext } from '.';
31
30
  var calloutIconVariants = cva('flex items-center text-slate-12 dark:text-slateDark-12', {
32
31
  variants: {
@@ -52,6 +51,12 @@ var calloutIconVariants = cva('flex items-center text-slate-12 dark:text-slateDa
52
51
  export var CalloutIcon = forwardRef(function (_a, ref) {
53
52
  var children = _a.children, className = _a.className, iconType = _a.iconType, props = __rest(_a, ["children", "className", "iconType"]);
54
53
  var _b = useCalloutContext(), scaling = _b.scaling, size = _b.size, color = _b.color;
55
- return (_jsxs(CalloutTheme.Icon, __assign({ ref: ref, className: cn(calloutIconVariants({ color: color, size: size, scaling: scaling }), className) }, props, { children: [iconType === 'danger' && _jsx(ExclamationTriangleIcon, {}), iconType === 'warning' && _jsx(LockClosedIcon, {}), iconType === 'success' && _jsx(CheckCircledIcon, {}), iconType === 'information' && _jsx(InfoCircledIcon, {}), children] })));
54
+ return (<CalloutTheme.Icon ref={ref} className={cn(calloutIconVariants({ color: color, size: size, scaling: scaling }), className)} {...props}>
55
+ {iconType === 'danger' && <ExclamationTriangleIcon />}
56
+ {iconType === 'warning' && <LockClosedIcon />}
57
+ {iconType === 'success' && <CheckCircledIcon />}
58
+ {iconType === 'information' && <InfoCircledIcon />}
59
+ {children}
60
+ </CalloutTheme.Icon>);
56
61
  });
57
62
  CalloutIcon.displayName = 'CalloutIcon';
@@ -1,14 +1,3 @@
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
1
  var __rest = (this && this.__rest) || function (s, e) {
13
2
  var t = {};
14
3
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -20,10 +9,9 @@ var __rest = (this && this.__rest) || function (s, e) {
20
9
  }
21
10
  return t;
22
11
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
12
+ import React, { forwardRef } from 'react';
25
13
  import { cva } from 'class-variance-authority';
26
- import { cn } from 'utils/utils';
14
+ import { cn } from 'lib/utils/utils';
27
15
  import { useCalloutContext } from '.';
28
16
  export var calloutTextVariants = cva('break-words font-normal text-slate-12 dark:text-slateDark-12 ', {
29
17
  variants: {
@@ -47,6 +35,8 @@ export var calloutTextVariants = cva('break-words font-normal text-slate-12 dark
47
35
  export var CalloutText = forwardRef(function (_a, ref) {
48
36
  var children = _a.children, className = _a.className, contentText = _a.contentText, props = __rest(_a, ["children", "className", "contentText"]);
49
37
  var _b = useCalloutContext(), size = _b.size, color = _b.color;
50
- return (_jsx("p", __assign({ ref: ref, className: cn(calloutTextVariants({ size: size, color: color }), className) }, props, { children: contentText !== null && contentText !== void 0 ? contentText : children })));
38
+ return (<p ref={ref} className={cn(calloutTextVariants({ size: size, color: color }), className)} {...props}>
39
+ {contentText !== null && contentText !== void 0 ? contentText : children}
40
+ </p>);
51
41
  });
52
42
  CalloutText.displayName = 'CalloutText';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import { calloutTextVariants } from './CalloutText';
4
- import { IAppearance } from 'types';
4
+ import { IAppearance } from 'lib/types';
5
5
  export * from './CalloutIcon';
6
6
  export * from './CalloutText';
7
7
  export interface CalloutProps extends VariantProps<typeof calloutVariants>, VariantProps<typeof calloutTextVariants> {
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { forwardRef, createContext, useContext, } from 'react';
23
+ import React, { forwardRef, createContext, useContext, } from 'react';
25
24
  import { Callout as CalloutTheme } from '@radix-ui/themes';
26
25
  import { cva } from 'class-variance-authority';
27
- import { cn } from 'utils/utils';
28
- import { appearanceStyle, radiusVariants, scalingVariants } from '../../constants';
26
+ import { cn } from 'lib/utils/utils';
27
+ import { appearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
29
28
  export * from './CalloutIcon';
30
29
  export * from './CalloutText';
31
30
  var calloutVariants = cva('flex w-fit max-w-[600px]', {
@@ -69,7 +68,11 @@ export var Callout = forwardRef(function (_a, ref) {
69
68
  };
70
69
  var calloutClassName = cn(calloutVariants({ radius: radius, scaling: scaling, size: size, color: color }), appearanceStyle(appearance, colorMap[color], false), className);
71
70
  var contextValue = { size: size, scaling: scaling, color: color };
72
- return (_jsx(CalloutContext.Provider, { value: contextValue, children: _jsx(CalloutTheme.Root, __assign({ ref: ref }, props, { className: calloutClassName, children: children })) }));
71
+ return (<CalloutContext.Provider value={contextValue}>
72
+ <CalloutTheme.Root ref={ref} {...props} className={calloutClassName}>
73
+ {children}
74
+ </CalloutTheme.Root>
75
+ </CalloutContext.Provider>);
73
76
  });
74
77
  Callout.displayName = 'Callout';
75
78
  export default Callout;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { IAppearance } from 'types';
3
+ import { IAppearance } from 'lib/types';
4
4
  export interface CardProps extends VariantProps<typeof cardVariants> {
5
5
  appearance?: Exclude<IAppearance, 'solid' | 'outline'>;
6
6
  }
@@ -20,11 +20,10 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import { cva } from 'class-variance-authority';
26
- import { scalingVariants, weightVariants } from '../../constants';
27
- import { cn } from 'utils/utils';
25
+ import { scalingVariants, weightVariants } from 'lib/constants';
26
+ import { cn } from 'lib/utils/utils';
28
27
  var cardVariants = cva("border border-slate-6 flex items-center text-slate-12\n dark:border-slateDarkA-6 dark:text-slateDarkA-12\n ", {
29
28
  variants: {
30
29
  radius: {
@@ -58,7 +57,9 @@ var Card = forwardRef(function (_a, ref) {
58
57
  if (appearance === 'ghost') {
59
58
  appearanceClassName = 'border-transparent';
60
59
  }
61
- return (_jsx("div", __assign({ className: cn(cardVariants({ radius: radius, scaling: scaling, size: size }), appearanceClassName, className), ref: ref }, props, { children: children })));
60
+ return (<div className={cn(cardVariants({ radius: radius, scaling: scaling, size: size }), appearanceClassName, className)} ref={ref} {...props}>
61
+ {children}
62
+ </div>);
62
63
  });
63
64
  Card.displayName = 'Card';
64
65
  export default Card;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
4
- import { IAppearance, IColor } from 'types';
4
+ import { IAppearance, IColor } from 'lib/types';
5
5
  export interface CheckboxProps extends VariantProps<typeof CheckboxVariants> {
6
6
  id: string;
7
7
  color?: IColor;
@@ -20,14 +20,13 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import { cva } from 'class-variance-authority';
26
25
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
27
26
  import { CheckIcon, MinusIcon } from '@radix-ui/react-icons';
28
- import { Label } from 'components/Label';
29
- import { cn } from 'utils/utils';
30
- import { checkboxAppearanceStyle, radiusVariants, scalingVariants, textColorStyle, } from '../../constants';
27
+ import { Label } from 'lib/components/Label';
28
+ import { cn } from 'lib/utils/utils';
29
+ import { checkboxAppearanceStyle, radiusVariants, scalingVariants, textColorStyle, } from 'lib/constants';
31
30
  export var CheckboxVariants = cva("peer ring-offset-background", {
32
31
  variants: {
33
32
  size: {
@@ -83,7 +82,16 @@ var CheckboxLabelVariants = cva('', {
83
82
  export var Checkbox = forwardRef(function (_a, ref) {
84
83
  var id = _a.id, className = _a.className, children = _a.children, scaling = _a.scaling, radius = _a.radius, size = _a.size, _b = _a.color, color = _b === void 0 ? 'red' : _b, _c = _a.appearance, appearance = _c === void 0 ? 'surface' : _c, _d = _a.indeterminate, indeterminate = _d === void 0 ? false : _d, props = __rest(_a, ["id", "className", "children", "scaling", "radius", "size", "color", "appearance", "indeterminate"]);
85
84
  var checkboxClassName = cn(CheckboxVariants({ scaling: scaling, size: size, radius: radius }), checkboxAppearanceStyle(appearance, color, indeterminate), className);
86
- return (_jsxs("div", { className: "flex items-center", children: [_jsx(CheckboxPrimitive.Root, __assign({ id: id, ref: ref, className: checkboxClassName }, props, { children: _jsx(CheckboxPrimitive.Indicator, { className: cn('flex items-center justify-center text-current stroke-[0.5px]'), children: indeterminate ? (_jsx(MinusIcon, { className: cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }), 'w-3') })) : (_jsx(CheckIcon, { className: cn(CheckboxIndicatorVariants({ scaling: scaling, size: size })) })) }) })), children && (_jsx(Label, { className: cn(CheckboxLabelVariants({ scaling: scaling, size: size }), className), htmlFor: id, children: children }))] }));
85
+ return (<div className="flex items-center">
86
+ <CheckboxPrimitive.Root id={id} ref={ref} className={checkboxClassName} {...props}>
87
+ <CheckboxPrimitive.Indicator className={cn('flex items-center justify-center text-current stroke-[0.5px]')}>
88
+ {indeterminate ? (<MinusIcon className={cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }), 'w-3')}/>) : (<CheckIcon className={cn(CheckboxIndicatorVariants({ scaling: scaling, size: size }))}/>)}
89
+ </CheckboxPrimitive.Indicator>
90
+ </CheckboxPrimitive.Root>
91
+ {children && (<Label className={cn(CheckboxLabelVariants({ scaling: scaling, size: size }), className)} htmlFor={id}>
92
+ {children}
93
+ </Label>)}
94
+ </div>);
87
95
  });
88
96
  Checkbox.displayName = 'Checkbox';
89
97
  export default Checkbox;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { IColor, IRadius, IScaling } from 'types';
5
- import { CheckboxVariants } from 'components/Checkbox';
4
+ import { IColor, IRadius, IScaling } from 'lib/types';
5
+ import { CheckboxVariants } from 'lib/components/Checkbox';
6
6
  export interface CheckboxCardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof CheckboxVariants> {
7
7
  id: string;
8
8
  scaling?: IScaling;
@@ -20,13 +20,12 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import { cva } from 'class-variance-authority';
26
- import Checkbox from 'components/Checkbox';
27
- import { Label } from 'components/Label';
28
- import { cn } from 'utils/utils';
29
- import { scalingVariants } from '../../constants';
25
+ import Checkbox from 'lib/components/Checkbox';
26
+ import { Label } from 'lib/components/Label';
27
+ import { cn } from 'lib/utils/utils';
28
+ import { scalingVariants } from 'lib/constants';
30
29
  export var CheckboxCardVariants = cva("flex justify-between space-x-2 min-w-[200px] border border-slate-7 text-slate-12\n hover:border-slate-8 hover:cursor-pointer aria-disabled:bg-slate-3 aria-disabled:cursor-not-allowed aria-disabled:text-slateA-9\n dark:border-slateDark-6 dark:text-slateDark-12 dark:hover:border-slateDark-7\n dark:aria-disabled:bg-slateDark-3 dark:aria-disabled:text-slateDarkA-8", {
31
30
  variants: {
32
31
  radius: {
@@ -52,7 +51,10 @@ export var CheckboxCardVariants = cva("flex justify-between space-x-2 min-w-[200
52
51
  var CheckboxCard = forwardRef(function (_a, ref) {
53
52
  var className = _a.className, children = _a.children, size = _a.size, scaling = _a.scaling, radius = _a.radius, color = _a.color, _b = _a.appearance, appearance = _b === void 0 ? 'surface' : _b, id = _a.id, disabled = _a.disabled, props = __rest(_a, ["className", "children", "size", "scaling", "radius", "color", "appearance", "id", "disabled"]);
54
53
  var labelClassName = cn(CheckboxCardVariants({ size: size, radius: radius, scaling: scaling }), appearance === 'classic' ? 'shadow-card-classic dark:shadow-card-dark-classic' : '', className);
55
- return (_jsxs(Label, { htmlFor: id, className: labelClassName, "aria-disabled": disabled, children: [children, _jsx(Checkbox, __assign({ className: "mr-0", ref: ref, id: id, size: size, scaling: scaling, radius: radius, color: color, disabled: disabled, appearance: appearance === 'classic' ? 'classic' : 'surface' }, props))] }));
54
+ return (<Label htmlFor={id} className={labelClassName} aria-disabled={disabled}>
55
+ {children}
56
+ <Checkbox className="mr-0" ref={ref} id={id} size={size} scaling={scaling} radius={radius} color={color} disabled={disabled} appearance={appearance === 'classic' ? 'classic' : 'surface'} {...props}/>
57
+ </Label>);
56
58
  });
57
59
  CheckboxCard.displayName = 'CheckboxCard';
58
60
  export default CheckboxCard;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
- import { CheckboxProps } from 'components/Checkbox';
3
+ import { CheckboxProps } from 'lib/components/Checkbox';
4
4
  export declare const CheckboxGroupItem: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  export default CheckboxGroupItem;
@@ -1,14 +1,3 @@
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
1
  var __rest = (this && this.__rest) || function (s, e) {
13
2
  var t = {};
14
3
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -20,14 +9,17 @@ var __rest = (this && this.__rest) || function (s, e) {
20
9
  }
21
10
  return t;
22
11
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
25
- import Checkbox from 'components/Checkbox';
12
+ import React, { forwardRef } from 'react';
13
+ import Checkbox from 'lib/components/Checkbox';
26
14
  import { useCheckboxGroupContext } from '.';
27
15
  export var CheckboxGroupItem = forwardRef(function (_a, ref) {
28
16
  var className = _a.className, children = _a.children, value = _a.value, id = _a.id, defaultValue = _a.defaultValue, props = __rest(_a, ["className", "children", "value", "id", "defaultValue"]);
29
17
  var _b = useCheckboxGroupContext(), scaling = _b.scaling, size = _b.size, color = _b.color, radius = _b.radius, appearance = _b.appearance;
30
- return (_jsx("div", { className: "flex", children: _jsx(Checkbox, __assign({ className: className, ref: ref, id: id, defaultChecked: defaultValue == id, scaling: scaling, radius: radius, color: color, size: size, appearance: appearance }, props, { children: children })) }));
18
+ return (<div className="flex">
19
+ <Checkbox className={className} ref={ref} id={id} defaultChecked={defaultValue == id} scaling={scaling} radius={radius} color={color} size={size} appearance={appearance} {...props}>
20
+ {children}
21
+ </Checkbox>
22
+ </div>);
31
23
  });
32
24
  CheckboxGroupItem.displayName = 'CheckboxGroupItem';
33
25
  export default CheckboxGroupItem;
@@ -1,7 +1,7 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { CheckboxVariants } from 'components/Checkbox';
2
+ import { CheckboxVariants } from 'lib/components/Checkbox';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance, IColor } from 'types';
4
+ import { IAppearance, IColor } from 'lib/types';
5
5
  export * from './CheckboxGroupItem';
6
6
  export interface CheckboxGroupRootProps extends VariantProps<typeof CheckboxGroupVariants>, VariantProps<typeof CheckboxVariants> {
7
7
  children?: ReactNode;
@@ -1,8 +1,7 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  import React, { Children, createContext, forwardRef, useContext, } from 'react';
3
2
  import { CheckboxGroup as CheckboxGroupTheme } from '@radix-ui/themes';
4
3
  import { cva } from 'class-variance-authority';
5
- import { cn } from 'utils/utils';
4
+ import { cn } from 'lib/utils/utils';
6
5
  export * from './CheckboxGroupItem';
7
6
  export var CheckboxGroupVariants = cva("", {
8
7
  variants: {
@@ -29,7 +28,11 @@ export var useCheckboxGroupContext = function () {
29
28
  export var CheckboxGroup = forwardRef(function (_a, ref) {
30
29
  var className = _a.className, children = _a.children, defaultValue = _a.defaultValue, size = _a.size;
31
30
  var contextValue = { size: size };
32
- return (_jsx(CheckboxGroupContext.Provider, { value: contextValue, children: _jsx(CheckboxGroupTheme.Root, { defaultValue: defaultValue, ref: ref, className: cn(CheckboxGroupVariants({ size: size }), className), children: Children.map(children, function (child) { return React.cloneElement(child, { defaultValue: defaultValue }); }) }) }));
31
+ return (<CheckboxGroupContext.Provider value={contextValue}>
32
+ <CheckboxGroupTheme.Root defaultValue={defaultValue} ref={ref} className={cn(CheckboxGroupVariants({ size: size }), className)}>
33
+ {Children.map(children, function (child) { return React.cloneElement(child, { defaultValue: defaultValue }); })}
34
+ </CheckboxGroupTheme.Root>
35
+ </CheckboxGroupContext.Provider>);
33
36
  });
34
37
  CheckboxGroup.displayName = 'CheckboxGroup';
35
38
  export default CheckboxGroup;
@@ -1,14 +1,3 @@
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
1
  var __rest = (this && this.__rest) || function (s, e) {
13
2
  var t = {};
14
3
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -20,13 +9,12 @@ var __rest = (this && this.__rest) || function (s, e) {
20
9
  }
21
10
  return t;
22
11
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
12
+ import React, { forwardRef } from 'react';
25
13
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
14
  import { CheckIcon } from '@radix-ui/react-icons';
27
- import { cn } from 'utils/utils';
15
+ import { cn } from 'lib/utils/utils';
28
16
  import { ContextMenuItemIndicator, contextMenuItemVariants, useContextMenuContext, } from '.';
29
- import { menuItemAppearanceStyle } from '../../constants';
17
+ import { menuItemAppearanceStyle } from 'lib/constants';
30
18
  export var ContextMenuCheckboxItem = forwardRef(function (_a, ref) {
31
19
  var children = _a.children, className = _a.className, checked = _a.checked, props = __rest(_a, ["children", "className", "checked"]);
32
20
  var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size, _c = _b.color, color = _c === void 0 ? 'red' : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
@@ -35,6 +23,11 @@ export var ContextMenuCheckboxItem = forwardRef(function (_a, ref) {
35
23
  scaling: scaling,
36
24
  size: size,
37
25
  }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
38
- return (_jsxs(ContextMenuPrimitive.CheckboxItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'medium', size: size, children: checked && _jsx(CheckIcon, {}) }), children] })));
26
+ return (<ContextMenuPrimitive.CheckboxItem ref={ref} className={itemClassName} {...props}>
27
+ <ContextMenuItemIndicator forceMount radius={'medium'} size={size}>
28
+ {checked && <CheckIcon />}
29
+ </ContextMenuItemIndicator>
30
+ {children}
31
+ </ContextMenuPrimitive.CheckboxItem>);
39
32
  });
40
33
  ContextMenuCheckboxItem.displayName = 'ContextMenuCheckboxItem';
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
- import { cn } from 'utils/utils';
25
+ import { cn } from 'lib/utils/utils';
27
26
  import { cva } from 'class-variance-authority';
28
- import { scalingVariants } from '../../constants';
27
+ import { scalingVariants } from 'lib/constants';
29
28
  import { useContextMenuContext } from '.';
30
29
  export var contextMenuContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-1 will-change-[transform,opacity]\n shadow-[0px_10px_38px_-10px_rgba(22,_23,_24,_0.35),_0px_10px_20px_-15px_rgba(22,_23,_24,_0.2)] \n [animation-duration:_400ms] [animation-timing-function:_cubic-bezier(0.16,_1,_0.3,_1)]", {
31
30
  variants: {
@@ -51,6 +50,10 @@ export var contextMenuContentVariants = cva("p-[5px] bg-white dark:bg-slateDark-
51
50
  export var ContextMenuContent = forwardRef(function (_a, ref) {
52
51
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
53
52
  var _b = useContextMenuContext(), radius = _b.radius, scaling = _b.scaling, size = _b.size;
54
- return (_jsx(ContextMenuPrimitive.Portal, { children: _jsx(ContextMenuPrimitive.Content, __assign({ ref: ref, className: cn(contextMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className) }, props, { children: children })) }));
53
+ return (<ContextMenuPrimitive.Portal>
54
+ <ContextMenuPrimitive.Content ref={ref} className={cn(contextMenuContentVariants({ radius: radius, scaling: scaling, size: size }), className)} {...props}>
55
+ {children}
56
+ </ContextMenuPrimitive.Content>
57
+ </ContextMenuPrimitive.Portal>);
55
58
  });
56
59
  ContextMenuContent.displayName = 'ContextMenuContent';
@@ -1,14 +1,3 @@
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
1
  var __rest = (this && this.__rest) || function (s, e) {
13
2
  var t = {};
14
3
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -20,11 +9,12 @@ var __rest = (this && this.__rest) || function (s, e) {
20
9
  }
21
10
  return t;
22
11
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
12
+ import React, { forwardRef } from 'react';
25
13
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
14
  export var ContextMenuGroup = forwardRef(function (_a, ref) {
27
15
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
28
- return (_jsx(ContextMenuPrimitive.Group, __assign({ ref: ref, className: className }, props, { children: children })));
16
+ return (<ContextMenuPrimitive.Group ref={ref} className={className} {...props}>
17
+ {children}
18
+ </ContextMenuPrimitive.Group>);
29
19
  });
30
20
  ContextMenuGroup.displayName = 'ContextMenuGroup';
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
- import { cn } from 'utils/utils';
25
+ import { cn } from 'lib/utils/utils';
27
26
  import { cva } from 'class-variance-authority';
28
- import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants, } from '../../constants';
27
+ import { blackText, menuItemAppearanceStyle, scalingVariants, radiusVariants } from 'lib/constants';
29
28
  import { useContextMenuContext } from '.';
30
29
  export var contextMenuItemVariants = cva("flex group relative leading-none select-none outline-none items-center justify-between font-normal\n data-[disabled]:text-slate-8 data-[disabled]:cursor-not-allowed text-slate-12 dark:text-slateDark-12\n data-[disabled]:hover:bg-transparent dark:data-[disabled]:text-slateDark-8 data-[disabled]:dark:hover:bg-transparent", {
31
30
  variants: {
@@ -54,6 +53,9 @@ export var ContextMenuItem = forwardRef(function (_a, ref) {
54
53
  if (appearance === 'solid' && !blackText.includes(color)) {
55
54
  shortcutClassName = 'group-hover:text-white dark:group-hover:text-slateDark-1';
56
55
  }
57
- return (_jsxs(ContextMenuPrimitive.Item, __assign({ ref: ref, className: itemClassName }, props, { children: [children, shortcut && _jsx("span", { className: shortcutClassName, children: shortcut })] })));
56
+ return (<ContextMenuPrimitive.Item ref={ref} className={itemClassName} {...props}>
57
+ {children}
58
+ {shortcut && <span className={shortcutClassName}>{shortcut}</span>}
59
+ </ContextMenuPrimitive.Item>);
58
60
  });
59
61
  ContextMenuItem.displayName = 'ContextMenuItem';
@@ -20,13 +20,12 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
- import { cn } from 'utils/utils';
25
+ import { cn } from 'lib/utils/utils';
27
26
  import { CheckIcon } from '@radix-ui/react-icons';
28
27
  import { cva } from 'class-variance-authority';
29
- import { radiusVariants } from '../../constants';
28
+ import { radiusVariants } from 'lib/constants';
30
29
  import { useContextMenuContext } from '.';
31
30
  export var contextMenuItemIndicatorVariants = cva("absolute left-0 inline-flex items-center justify-center ml-1 border", {
32
31
  variants: {
@@ -45,6 +44,8 @@ export var ContextMenuItemIndicator = forwardRef(function (_a, ref) {
45
44
  var className = _a.className, children = _a.children, radius = _a.radius, props = __rest(_a, ["className", "children", "radius"]);
46
45
  var size = useContextMenuContext().size;
47
46
  var indicatorClassName = cn(contextMenuItemIndicatorVariants({ size: size, radius: radius }), className);
48
- return (_jsx(ContextMenuPrimitive.ItemIndicator, __assign({ ref: ref, className: indicatorClassName }, props, { children: children !== null && children !== void 0 ? children : _jsx(CheckIcon, {}) })));
47
+ return (<ContextMenuPrimitive.ItemIndicator ref={ref} className={indicatorClassName} {...props}>
48
+ {children !== null && children !== void 0 ? children : <CheckIcon />}
49
+ </ContextMenuPrimitive.ItemIndicator>);
49
50
  });
50
51
  ContextMenuItemIndicator.displayName = 'ContextMenuItemIndicator';
@@ -20,12 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
- import { cn } from 'utils/utils';
25
+ import { cn } from 'lib/utils/utils';
27
26
  import { cva } from 'class-variance-authority';
28
- import { scalingVariants } from '../../constants';
27
+ import { scalingVariants } from 'lib/constants';
29
28
  import { useContextMenuContext } from '.';
30
29
  export var contextMenuLabelVariants = cva("flex relative leading-none select-none outline-none items-center \n text-slate-11 dark:text-slateDarkA-11 font-normal", {
31
30
  variants: {
@@ -43,6 +42,8 @@ export var contextMenuLabelVariants = cva("flex relative leading-none select-non
43
42
  export var ContextMenuLabel = forwardRef(function (_a, ref) {
44
43
  var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
45
44
  var _b = useContextMenuContext(), size = _b.size, scaling = _b.scaling;
46
- return (_jsx(ContextMenuPrimitive.Label, __assign({ ref: ref, className: cn(contextMenuLabelVariants({ size: size, scaling: scaling }), className) }, props, { children: children })));
45
+ return (<ContextMenuPrimitive.Label ref={ref} className={cn(contextMenuLabelVariants({ size: size, scaling: scaling }), className)} {...props}>
46
+ {children}
47
+ </ContextMenuPrimitive.Label>);
47
48
  });
48
49
  ContextMenuLabel.displayName = 'ContextMenuLabel';
@@ -1,14 +1,3 @@
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
1
  var __rest = (this && this.__rest) || function (s, e) {
13
2
  var t = {};
14
3
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -20,12 +9,15 @@ var __rest = (this && this.__rest) || function (s, e) {
20
9
  }
21
10
  return t;
22
11
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
24
- import { createContext, forwardRef } from 'react';
12
+ import React, { createContext, forwardRef } from 'react';
25
13
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
14
  export var RadioContext = createContext({ selectedValue: '' });
27
15
  export var ContextMenuRadioGroup = forwardRef(function (_a, ref) {
28
16
  var className = _a.className, children = _a.children, value = _a.value, props = __rest(_a, ["className", "children", "value"]);
29
- return (_jsx(ContextMenuPrimitive.RadioGroup, __assign({ ref: ref, className: className }, props, { children: _jsx(RadioContext.Provider, { value: { selectedValue: value !== null && value !== void 0 ? value : '' }, children: children }) })));
17
+ return (<ContextMenuPrimitive.RadioGroup ref={ref} className={className} {...props}>
18
+ <RadioContext.Provider value={{ selectedValue: value !== null && value !== void 0 ? value : '' }}>
19
+ {children}
20
+ </RadioContext.Provider>
21
+ </ContextMenuPrimitive.RadioGroup>);
30
22
  });
31
23
  ContextMenuRadioGroup.displayName = 'ContextMenuRadioGroup';
@@ -1,14 +1,3 @@
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
1
  var __rest = (this && this.__rest) || function (s, e) {
13
2
  var t = {};
14
3
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -20,12 +9,11 @@ var __rest = (this && this.__rest) || function (s, e) {
20
9
  }
21
10
  return t;
22
11
  };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { forwardRef, useContext } from 'react';
12
+ import React, { forwardRef, useContext } from 'react';
25
13
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
26
- import { cn } from 'utils/utils';
14
+ import { cn } from 'lib/utils/utils';
27
15
  import { DotFilledIcon } from '@radix-ui/react-icons';
28
- import { menuItemAppearanceStyle } from '../../constants';
16
+ import { menuItemAppearanceStyle } from 'lib/constants';
29
17
  import { ContextMenuItemIndicator, RadioContext, contextMenuItemVariants, useContextMenuContext, } from '.';
30
18
  export var ContextMenuRadioItem = forwardRef(function (_a, ref) {
31
19
  var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
@@ -36,6 +24,11 @@ export var ContextMenuRadioItem = forwardRef(function (_a, ref) {
36
24
  size: size,
37
25
  }), 'pl-7', menuItemAppearanceStyle(appearance, color), className);
38
26
  var radioGroup = useContext(RadioContext);
39
- return (_jsxs(ContextMenuPrimitive.RadioItem, __assign({ ref: ref, className: itemClassName }, props, { children: [_jsx(ContextMenuItemIndicator, { forceMount: true, radius: 'full', size: size, children: radioGroup.selectedValue === props.value && _jsx(DotFilledIcon, {}) }), children] })));
27
+ return (<ContextMenuPrimitive.RadioItem ref={ref} className={itemClassName} {...props}>
28
+ <ContextMenuItemIndicator forceMount radius={'full'} size={size}>
29
+ {radioGroup.selectedValue === props.value && <DotFilledIcon />}
30
+ </ContextMenuItemIndicator>
31
+ {children}
32
+ </ContextMenuPrimitive.RadioItem>);
40
33
  });
41
34
  ContextMenuRadioItem.displayName = 'ContextMenuRadioItem';