@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 } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
23
+ import React, { forwardRef } from 'react';
25
24
  import * as ToastPrimitive from '@radix-ui/react-toast';
26
25
  import { cva } from 'class-variance-authority';
27
- import { cn } from 'utils/utils';
28
- import Button from 'components/Button';
29
- import { appearanceStyle, radiusVariants, scalingVariants } from '../../constants';
26
+ import { cn } from 'lib/utils/utils';
27
+ import Button from 'lib/components/Button';
28
+ import { appearanceStyle, radiusVariants, scalingVariants } from 'lib/constants';
30
29
  import { useToastContext } from '.';
31
30
  export var toastActionButtonVariants = cva("absolute items-center justify-center", {
32
31
  variants: {
@@ -62,6 +61,8 @@ export var ToastActionButton = forwardRef(function (_a, ref) {
62
61
  var buttonClassName = cn(toastActionButtonVariants({ size: size, radius: radius, scaling: scaling }), color && semantics.includes(color)
63
62
  ? getSemanticsStyle(color)
64
63
  : appearanceStyle(appearance, color !== null && color !== void 0 ? color : 'red'), className);
65
- return (_jsx(ToastPrimitive.Action, __assign({ ref: ref, altText: altText }, props, { className: buttonClassName, asChild: true, children: _jsx(Button, { children: children }) })));
64
+ return (<ToastPrimitive.Action ref={ref} altText={altText} {...props} className={buttonClassName} asChild>
65
+ <Button>{children}</Button>
66
+ </ToastPrimitive.Action>);
66
67
  });
67
68
  ToastActionButton.displayName = 'ToastActionButton';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import * as ToastPrimitive from '@radix-ui/react-toast';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance } from 'types';
4
+ import { IAppearance } from 'lib/types';
5
5
  export interface ToastDescriptionProps extends VariantProps<typeof toastDescriptionVariants> {
6
6
  contentText?: string;
7
7
  appearance?: IAppearance;
@@ -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,10 @@ 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 ToastPrimitive from '@radix-ui/react-toast';
26
14
  import { cva } from 'class-variance-authority';
27
- import { cn } from 'utils/utils';
15
+ import { cn } from 'lib/utils/utils';
28
16
  import { useToastContext } from '.';
29
17
  export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark:text-slateDark-11', {
30
18
  variants: {
@@ -48,6 +36,10 @@ export var toastDescriptionVariants = cva('flex m-0 text-wrap text-slate-11 dark
48
36
  export var ToastDescription = forwardRef(function (_a, ref) {
49
37
  var className = _a.className, children = _a.children, contentText = _a.contentText, props = __rest(_a, ["className", "children", "contentText"]);
50
38
  var _b = useToastContext(), size = _b.size, color = _b.color;
51
- return (_jsx(ToastPrimitive.Description, __assign({ ref: ref }, props, { children: _jsx("p", { className: cn(toastDescriptionVariants({ size: size, color: color }), className), children: contentText !== null && contentText !== void 0 ? contentText : children }) })));
39
+ return (<ToastPrimitive.Description ref={ref} {...props}>
40
+ <p className={cn(toastDescriptionVariants({ size: size, color: color }), className)}>
41
+ {contentText !== null && contentText !== void 0 ? contentText : children}
42
+ </p>
43
+ </ToastPrimitive.Description>);
52
44
  });
53
45
  ToastDescription.displayName = 'ToastDescription';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import * as ToastPrimitive from '@radix-ui/react-toast';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance } from 'types';
4
+ import { IAppearance } from 'lib/types';
5
5
  export interface ToastTitleProps extends VariantProps<typeof toastTitleVariants> {
6
6
  titleText?: string;
7
7
  appearance?: IAppearance;
@@ -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,10 @@ 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 ToastPrimitive from '@radix-ui/react-toast';
26
14
  import { cva } from 'class-variance-authority';
27
- import { cn } from 'utils/utils';
15
+ import { cn } from 'lib/utils/utils';
28
16
  import { useToastContext } from '.';
29
17
  export var toastTitleVariants = cva('flex mb-[5px] text-slate-12 dark:text-slateDark-12 text-wrap break-words font-medium', {
30
18
  variants: {
@@ -48,6 +36,8 @@ export var toastTitleVariants = cva('flex mb-[5px] text-slate-12 dark:text-slate
48
36
  export var ToastTitle = forwardRef(function (_a, ref) {
49
37
  var className = _a.className, children = _a.children, titleText = _a.titleText, props = __rest(_a, ["className", "children", "titleText"]);
50
38
  var _b = useToastContext(), size = _b.size, color = _b.color;
51
- return (_jsx(ToastPrimitive.Title, __assign({ ref: ref }, props, { children: _jsx("p", { className: cn(toastTitleVariants({ size: size, color: color }), className), children: titleText !== null && titleText !== void 0 ? titleText : children }) })));
39
+ return (<ToastPrimitive.Title ref={ref} {...props}>
40
+ <p className={cn(toastTitleVariants({ size: size, color: color }), className)}>{titleText !== null && titleText !== void 0 ? titleText : children}</p>
41
+ </ToastPrimitive.Title>);
52
42
  });
53
43
  ToastTitle.displayName = 'ToastTitle';
@@ -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, createContext, useContext, } from 'react';
23
+ import React, { forwardRef, createContext, useContext, } from 'react';
25
24
  import ReactDOM from 'react-dom';
26
25
  import { cva } from 'class-variance-authority';
27
- import { cn } from 'utils/utils';
26
+ import { cn } from 'lib/utils/utils';
28
27
  import * as ToastPrimitive from '@radix-ui/react-toast';
29
- import { scalingVariants } from '../../constants';
28
+ import { scalingVariants } from 'lib/constants';
30
29
  export * from './ToastTitle';
31
30
  export * from './ToastDescription';
32
31
  export * from './ToastActionButton';
@@ -88,7 +87,14 @@ export var Toast = forwardRef(function (_a, ref) {
88
87
  var contextValue = { radius: radius, size: size, scaling: scaling, color: color };
89
88
  var toastRootStyle = "\n shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] \n flex flex-col px-[15px] relative justify-center\n data-[state=open]:animate-slideIn \n data-[state=closed]:animate-hide \n data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] \n data-[swipe=cancel]:translate-x-0 \n data-[swipe=cancel]:transition-[transform_200ms_ease-out] \n data-[swipe=end]:animate-swipeOut\n ";
90
89
  var toastClassName = cn(toastVariants({ radius: radius, scaling: scaling, size: size, color: color }), toastRootStyle, className);
91
- return ReactDOM.createPortal(_jsx(ToastContext.Provider, { value: contextValue, children: _jsxs(ToastPrimitive.Provider, { swipeDirection: "right", duration: duration, children: [_jsx(ToastPrimitive.Root, __assign({ ref: ref, className: toastClassName, open: openToast, onOpenChange: setOpenToast }, props, { children: children })), _jsx(ToastPrimitive.Viewport, { className: cn(toastViewportVariants({ toastPosition: toastPosition })) })] }) }), document.body);
90
+ return ReactDOM.createPortal(<ToastContext.Provider value={contextValue}>
91
+ <ToastPrimitive.Provider swipeDirection="right" duration={duration}>
92
+ <ToastPrimitive.Root ref={ref} className={toastClassName} open={openToast} onOpenChange={setOpenToast} {...props}>
93
+ {children}
94
+ </ToastPrimitive.Root>
95
+ <ToastPrimitive.Viewport className={cn(toastViewportVariants({ toastPosition: toastPosition }))}/>
96
+ </ToastPrimitive.Provider>
97
+ </ToastContext.Provider>, document.body);
92
98
  });
93
99
  Toast.displayName = 'Toast';
94
100
  export default Toast;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as TogglePrimitive from '@radix-ui/react-toggle';
4
- import { IAppearance } from 'types';
4
+ import { IAppearance } from 'lib/types';
5
5
  export interface ToggleWithTextProps extends VariantProps<typeof toggleWithTextVariants> {
6
6
  text?: string;
7
7
  appearance?: IAppearance;
@@ -20,13 +20,12 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsxs as _jsxs } from "react/jsx-runtime";
24
23
  import React, { Children, forwardRef } from 'react';
25
24
  import { cva } from 'class-variance-authority';
26
25
  import * as TogglePrimitive from '@radix-ui/react-toggle';
27
- import { radiusVariants, toggleAppearanceStyle } from '../../constants';
28
- import { scalingVariants } from '../../constants';
29
- import { cn } from '../../utils/utils';
26
+ import { radiusVariants, toggleAppearanceStyle } from 'lib/constants';
27
+ import { scalingVariants } from 'lib/constants';
28
+ import { cn } from 'lib/utils/utils';
30
29
  var toggleWithTextVariants = cva('flex items-center justify-center box-border font-medium', {
31
30
  variants: {
32
31
  radius: __assign({}, radiusVariants['base']),
@@ -50,8 +49,11 @@ export var IconScaling = {
50
49
  };
51
50
  export var ToggleWithText = forwardRef(function (_a, ref) {
52
51
  var className = _a.className, children = _a.children, radius = _a.radius, _b = _a.size, size = _b === void 0 ? 'medium' : _b, scaling = _a.scaling, _c = _a.color, color = _c === void 0 ? 'red' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, text = _a.text, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance", "text"]);
53
- return (_jsxs(TogglePrimitive.Root, __assign({ ref: ref, className: cn(toggleWithTextVariants({ radius: radius, size: size, scaling: scaling }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className) }, props, { children: [Children.map(children, function (child) {
54
- return React.cloneElement(child, { className: IconScaling[size] });
55
- }), text] })));
52
+ return (<TogglePrimitive.Root ref={ref} className={cn(toggleWithTextVariants({ radius: radius, size: size, scaling: scaling }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
53
+ {Children.map(children, function (child) {
54
+ return React.cloneElement(child, { className: IconScaling[size] });
55
+ })}
56
+ {text}
57
+ </TogglePrimitive.Root>);
56
58
  });
57
59
  ToggleWithText.displayName = 'ToggleWithText';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import * as TogglePrimitive from '@radix-ui/react-toggle';
4
- import { IAppearance } from 'types';
4
+ import { IAppearance } from 'lib/types';
5
5
  export * from './ToggleWithText';
6
6
  export interface ToggleProps extends VariantProps<typeof toggleVariants> {
7
7
  size?: 'small' | 'medium' | 'large';
@@ -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
23
  import React, { Children, forwardRef } from 'react';
25
24
  import { cva } from 'class-variance-authority';
26
25
  import * as TogglePrimitive from '@radix-ui/react-toggle';
27
- import { radiusVariants, scalingVariants, toggleAppearanceStyle } from '../../constants';
28
- import { cn } from '../../utils/utils';
26
+ import { radiusVariants, scalingVariants, toggleAppearanceStyle } from 'lib/constants';
27
+ import { cn } from 'lib/utils/utils';
29
28
  export * from './ToggleWithText';
30
29
  var toggleVariants = cva('grid place-content-center items-center justify-center box-border"', {
31
30
  variants: {
@@ -50,9 +49,11 @@ export var IconScaling = {
50
49
  };
51
50
  export var Toggle = forwardRef(function (_a, ref) {
52
51
  var className = _a.className, children = _a.children, radius = _a.radius, _b = _a.size, size = _b === void 0 ? 'medium' : _b, scaling = _a.scaling, _c = _a.color, color = _c === void 0 ? 'red' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, props = __rest(_a, ["className", "children", "radius", "size", "scaling", "color", "appearance"]);
53
- return (_jsx(TogglePrimitive.Root, __assign({ ref: ref, className: cn(toggleVariants({ radius: radius, size: size, scaling: scaling }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className) }, props, { children: Children.map(children, function (child) {
52
+ return (<TogglePrimitive.Root ref={ref} className={cn(toggleVariants({ radius: radius, size: size, scaling: scaling }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
53
+ {Children.map(children, function (child) {
54
54
  return React.cloneElement(child, { className: IconScaling[size] });
55
- }) })));
55
+ })}
56
+ </TogglePrimitive.Root>);
56
57
  });
57
58
  Toggle.displayName = 'Toggle';
58
59
  export default Toggle;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
  import { toggleGroupItemVariants } from './toggleGroupItem';
5
- import { IAppearance } from 'types';
5
+ import { IAppearance } from 'lib/types';
6
6
  export * from './toggleGroupItem';
7
7
  export interface ToggleGroupSingleProps extends VariantProps<typeof toggleVariants>, VariantProps<typeof toggleGroupItemVariants> {
8
8
  appearance?: IAppearance;
@@ -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 ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
26
25
  import { cva } from 'class-variance-authority';
27
- import { scalingVariants } from '../../constants';
28
- import { cn } from '../../utils/utils';
26
+ import { scalingVariants } from 'lib/constants';
27
+ import { cn } from 'lib/utils/utils';
29
28
  export * from './toggleGroupItem';
30
29
  var toggleVariants = cva('inline-flex', {
31
30
  variants: {
@@ -37,7 +36,11 @@ var toggleVariants = cva('inline-flex', {
37
36
  });
38
37
  export var ToggleGroup = forwardRef(function (_a, ref) {
39
38
  var className = _a.className, children = _a.children, defaultValue = _a.defaultValue, value = _a.value, type = _a.type, onValueChange = _a.onValueChange, scaling = _a.scaling, props = __rest(_a, ["className", "children", "defaultValue", "value", "type", "onValueChange", "scaling"]);
40
- return type === 'single' ? (_jsx(ToggleGroupPrimitive.Root, __assign({ ref: ref, type: type, value: value, defaultValue: defaultValue, className: cn(toggleVariants({ scaling: scaling }), className) }, props, { children: children }))) : (_jsx(ToggleGroupPrimitive.Root, __assign({ ref: ref, type: type, value: value, defaultValue: defaultValue, className: cn(toggleVariants({ scaling: scaling }), className) }, props, { children: children })));
39
+ return type === 'single' ? (<ToggleGroupPrimitive.Root ref={ref} type={type} value={value} defaultValue={defaultValue} className={cn(toggleVariants({ scaling: scaling }), className)} {...props}>
40
+ {children}
41
+ </ToggleGroupPrimitive.Root>) : (<ToggleGroupPrimitive.Root ref={ref} type={type} value={value} defaultValue={defaultValue} className={cn(toggleVariants({ scaling: scaling }), className)} {...props}>
42
+ {children}
43
+ </ToggleGroupPrimitive.Root>);
41
44
  });
42
45
  ToggleGroup.displayName = 'ToggleGroup';
43
46
  export default ToggleGroup;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { IAppearance } from 'types';
4
+ import { IAppearance } from 'lib/types';
5
5
  export interface ToggleGroupItemProps extends VariantProps<typeof toggleGroupItemVariants> {
6
6
  appearance?: IAppearance;
7
7
  size?: 'small' | 'medium' | 'large';
@@ -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 } from "react/jsx-runtime";
24
12
  import React, { Children, forwardRef } from 'react';
25
13
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
26
14
  import { cva } from 'class-variance-authority';
27
- import { toggleAppearanceStyle } from '../../constants';
28
- import { cn } from '../../utils/utils';
15
+ import { toggleAppearanceStyle } from 'lib/constants';
16
+ import { cn } from 'lib/utils/utils';
29
17
  export var toggleGroupItemVariants = cva('grid place-content-center mr-[-1px] first:rounded-l last:rounded-r', {
30
18
  variants: {
31
19
  size: {
@@ -45,8 +33,10 @@ export var IconScaling = {
45
33
  };
46
34
  export var ToggleGroupItem = forwardRef(function (_a, ref) {
47
35
  var className = _a.className, children = _a.children, value = _a.value, _b = _a.size, size = _b === void 0 ? 'medium' : _b, _c = _a.color, color = _c === void 0 ? 'red' : _c, _d = _a.appearance, appearance = _d === void 0 ? 'surface' : _d, props = __rest(_a, ["className", "children", "value", "size", "color", "appearance"]);
48
- return (_jsx(ToggleGroupPrimitive.Item, __assign({ ref: ref, value: value, className: cn(toggleGroupItemVariants({ size: size }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className) }, props, { children: Children.map(children, function (child) {
36
+ return (<ToggleGroupPrimitive.Item ref={ref} value={value} className={cn(toggleGroupItemVariants({ size: size }), toggleAppearanceStyle(appearance, color, true, 'data-[state=on]:'), className)} {...props}>
37
+ {Children.map(children, function (child) {
49
38
  return React.cloneElement(child, { className: IconScaling[size] });
50
- }) })));
39
+ })}
40
+ </ToggleGroupPrimitive.Item>);
51
41
  });
52
42
  ToggleGroupItem.displayName = 'ToggleGroupItem';
@@ -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
23
  import React from 'react';
25
24
  import { cva } from 'class-variance-authority';
26
- import { cn } from '../../utils/utils';
27
- import { radiusVariants, scalingVariants } from '../../constants';
25
+ import { cn } from 'lib/utils/utils';
26
+ import { radiusVariants, scalingVariants } from 'lib/constants';
28
27
  import { Switch as SwitchTheme, Theme } from '@radix-ui/themes';
29
- import { Text } from 'Typography/Text';
28
+ import { Text } from 'lib/Typography/Text';
30
29
  var toggleSwitchVariants = cva('', {
31
30
  variants: {
32
31
  scaling: __assign({}, scalingVariants),
@@ -65,7 +64,12 @@ export var ToggleSwitch = React.forwardRef(function (_a, forwardedRef) {
65
64
  sizeTheme = '1';
66
65
  if (size === 'large')
67
66
  sizeTheme = '3';
68
- return (_jsx(Theme, { className: "flex", accentColor: color, hasBackground: false, children: _jsxs(Text, { as: "label", className: cn('flex items-center', SwitchLabelVariants({ size: size, scaling: scaling })), children: [_jsx(SwitchTheme, __assign({ ref: forwardedRef }, switchProps, { variant: appearance, radius: radius, size: sizeTheme, color: color, className: cn(toggleSwitchVariants({ scaling: scaling, radius: radius, size: size }), className) })), children] }) }));
67
+ return (<Theme className="flex" accentColor={color} hasBackground={false}>
68
+ <Text as="label" className={cn('flex items-center', SwitchLabelVariants({ size: size, scaling: scaling }))}>
69
+ <SwitchTheme ref={forwardedRef} {...switchProps} variant={appearance} radius={radius} size={sizeTheme} color={color} className={cn(toggleSwitchVariants({ scaling: scaling, radius: radius, size: size }), className)}></SwitchTheme>
70
+ {children}
71
+ </Text>
72
+ </Theme>);
69
73
  });
70
74
  ToggleSwitch.displayName = 'ToggleSwitch';
71
75
  export default ToggleSwitch;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { IColor } from 'types';
4
+ import { IColor } from 'lib/types';
5
5
  export interface TooltipProps extends React.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof tooltipVariants> {
6
6
  label?: string;
7
7
  defaultValue?: string;
@@ -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
23
  // your-tooltip.jsx
25
24
  import React from 'react';
26
25
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
27
26
  import { cva } from 'class-variance-authority';
28
- import { cn } from 'utils/utils';
29
- import { primaryColorStyle, radiusVariants, scalingOptions, weightVariants } from '../../constants';
27
+ import { cn } from 'lib/utils/utils';
28
+ import { primaryColorStyle, radiusVariants, scalingOptions, weightVariants } from 'lib/constants';
30
29
  var tooltipVariants = cva('bg-slate-12 text-slate-1 dark:bg-slateDark-12 dark:text-slateDark-1 data-[state=delayed-open]:data-[side=top]:animate-slideDownAndFade data-[state=delayed-open]:data-[side=right]:animate-slideLeftAndFade data-[state=delayed-open]:data-[side=left]:animate-slideRightAndFade data-[state=delayed-open]:data-[side=bottom]:animate-slideUpAndFade select-none rounded-[4px] px-[9px] py-[6px] text-[12px] leading-none shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] will-change-[transform,opacity]', {
31
30
  variants: {
32
31
  scaling: __assign({}, scalingOptions),
@@ -44,6 +43,16 @@ export var Tooltip = React.forwardRef(function (_a) {
44
43
  var arrowColor = color
45
44
  ? "fill-".concat(color, "-9 dark:fill-").concat(color, "Dark-9")
46
45
  : 'fill-slate-12 dark:fill-slateDark-12';
47
- return (_jsx(TooltipPrimitive.Provider, { children: _jsxs(TooltipPrimitive.Root, { open: open, defaultOpen: defaultOpen, onOpenChange: onOpenChange, children: [_jsx(TooltipPrimitive.Trigger, { className: "cursor-pointer text-slate-12 dark:text-slateDark-12", asChild: true, children: children }), _jsxs(TooltipPrimitive.Content, __assign({ align: "center" }, props, { side: side, className: cn('mr-2', tooltipVariants({ scaling: scaling, weight: weight, radius: radius, color: color }), className), sideOffset: 5, children: [content, _jsx(TooltipPrimitive.Arrow, { width: 11, height: 5, className: arrowColor })] }))] }) }));
46
+ return (<TooltipPrimitive.Provider>
47
+ <TooltipPrimitive.Root open={open} defaultOpen={defaultOpen} onOpenChange={onOpenChange}>
48
+ <TooltipPrimitive.Trigger className="cursor-pointer text-slate-12 dark:text-slateDark-12" asChild>
49
+ {children}
50
+ </TooltipPrimitive.Trigger>
51
+ <TooltipPrimitive.Content align="center" {...props} side={side} className={cn('mr-2', tooltipVariants({ scaling: scaling, weight: weight, radius: radius, color: color }), className)} sideOffset={5}>
52
+ {content}
53
+ <TooltipPrimitive.Arrow width={11} height={5} className={arrowColor}/>
54
+ </TooltipPrimitive.Content>
55
+ </TooltipPrimitive.Root>
56
+ </TooltipPrimitive.Provider>);
48
57
  });
49
58
  Tooltip.displayName = TooltipPrimitive.Root.displayName;
@@ -1,4 +1,4 @@
1
- import { ColorStyle, DarkColorStyle, colorOptions } from 'color/constants';
1
+ import { ColorStyle, DarkColorStyle, colorOptions } from 'lib/color/constants';
2
2
  export var radiusOptions = ['none', 'small', 'medium', 'large', 'full'];
3
3
  export var typoSizeOptions = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
4
4
  export var scalingOptions = ['90%', '95%', '100%', '105%', '110%'];
package/package.json CHANGED
@@ -1,20 +1,13 @@
1
1
  {
2
2
  "name": "@lotte-innovate/ui-component-test",
3
3
  "description": "Lotte UI Library",
4
- "version": "0.0.18",
4
+ "version": "0.0.20",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "files": [
8
- "dist/color",
9
- "dist/components",
10
- "dist/Typography",
11
- "dist/utils",
12
- "dist/constants.d.ts",
13
- "dist/constants.js",
14
- "dist/index.d.ts",
8
+ "dist/lib",
15
9
  "dist/index.js",
16
- "dist/types.d.ts",
17
- "dist/types.js"
10
+ "dist/index.d.ts"
18
11
  ],
19
12
  "main": "dist/index.js",
20
13
  "module": "dist/index.js",
@@ -22,16 +15,6 @@
22
15
  "publishConfig": {
23
16
  "access": "public"
24
17
  },
25
- "exports": {
26
- ".": {
27
- "types": "./dist/index.d.ts",
28
- "import": "./dist/index.js"
29
- },
30
- "./util": {
31
- "types": "./dist/util/utils.d.ts",
32
- "import": "./dist/util/util.js"
33
- }
34
- },
35
18
  "browser": "./browser/specific/main.js",
36
19
  "babel": {
37
20
  "presets": [
@@ -1,31 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { forwardRef } from 'react';
25
- import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
26
- import { cn } from 'utils/utils';
27
- export var NavigationMenuIndicator = forwardRef(function (_a, ref) {
28
- var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
29
- return (_jsxs(NavigationMenuPrimitive.Indicator, __assign({ ref: ref, className: "flex z-[1] top-full h-[10px] items-end justify-center overflow-hidden\n data-[state=visible]:animate-fadeIn data-[state=hidden]:animate-fadeOut \n transition-[width,transform_250ms_ease]" }, props, { children: [_jsx("div", { className: cn("relative top-[70%] h-[10px] w-[10px] rotate-[45deg] rounded-tl-[2px] \n bg-white dark:bg-slateDark-2 shadow-slate-4 shadow dark:shadow-slateDark-4", className) }), children] })));
30
- });
31
- NavigationMenuIndicator.displayName = 'NavigationMenuIndicator';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes