@lotte-innovate/ui-component-test 0.1.51 → 0.1.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (453) hide show
  1. package/dist/cjs/.storybook/main.js +24 -0
  2. package/dist/cjs/.storybook/manager.js +17 -0
  3. package/dist/cjs/.storybook/preview.jsx +106 -0
  4. package/dist/cjs/lib/Typography/index.js +2 -10
  5. package/dist/cjs/lib/color/alpha.js +56 -60
  6. package/dist/cjs/lib/color/constants.js +75 -78
  7. package/dist/cjs/lib/color/dark.js +28 -31
  8. package/dist/cjs/lib/color/krdsColors.js +1 -4
  9. package/dist/cjs/lib/color/light.js +28 -31
  10. package/dist/cjs/lib/components/index.js +50 -106
  11. package/dist/cjs/lib/constants.js +54 -90
  12. package/dist/cjs/lib/index.js +2 -18
  13. package/dist/cjs/lib/types.js +1 -2
  14. package/dist/cjs/lib/utils/useDarkMode.js +12 -16
  15. package/dist/cjs/lib/utils/utils.js +4 -8
  16. package/dist/cjs/src/app/layout.jsx +17 -0
  17. package/dist/cjs/src/app/page.jsx +65 -0
  18. package/dist/cjs/src/app/template/colorPicker.jsx +21 -0
  19. package/dist/cjs/src/app/template/theme.jsx +22 -0
  20. package/dist/cjs/src/lib/Typography/index.js +10 -0
  21. package/dist/cjs/src/lib/color/alpha.js +788 -0
  22. package/dist/cjs/src/lib/color/constants.js +299 -0
  23. package/dist/cjs/src/lib/color/dark.js +395 -0
  24. package/dist/cjs/src/lib/color/krdsColors.js +312 -0
  25. package/dist/cjs/src/lib/color/light.js +396 -0
  26. package/dist/cjs/src/lib/components/index.js +108 -0
  27. package/dist/cjs/src/lib/constants.js +950 -0
  28. package/dist/cjs/src/lib/index.js +18 -0
  29. package/dist/cjs/src/lib/types.js +2 -0
  30. package/dist/cjs/src/lib/utils/useDarkMode.js +53 -0
  31. package/dist/cjs/src/lib/utils/utils.js +14 -0
  32. package/dist/cjs/src/stories/ToggleSwitch/ToggleSwitch.stories.jsx +125 -0
  33. package/dist/cjs/src/stories/Welcome.jsx +96 -0
  34. package/dist/cjs/src/stories/accordion/Accordion.stories.jsx +88 -0
  35. package/dist/cjs/src/stories/alert-dialog/AlertDialog.stories.jsx +79 -0
  36. package/dist/cjs/src/stories/aspect-ratio/AspectRatio.stories.jsx +115 -0
  37. package/dist/cjs/src/stories/avatar/Avatar.stories.jsx +120 -0
  38. package/dist/cjs/src/stories/badge/Badge.stories.jsx +148 -0
  39. package/dist/cjs/src/stories/bar-chart/BarChart.stories.jsx +114 -0
  40. package/dist/cjs/src/stories/bubble-chart/BubbleChart.stories.jsx +182 -0
  41. package/dist/cjs/src/stories/button/Button.stories.jsx +119 -0
  42. package/dist/cjs/src/stories/button/IconButton.stories.jsx +118 -0
  43. package/dist/cjs/src/stories/callout/Callout.stories.jsx +212 -0
  44. package/dist/cjs/src/stories/card/Card.stories.jsx +168 -0
  45. package/dist/cjs/src/stories/checkbox/Checkbox.stories.jsx +187 -0
  46. package/dist/cjs/src/stories/checkbox/CheckboxCard.stories.jsx +150 -0
  47. package/dist/cjs/src/stories/checkbox/CheckboxGroup.stories.jsx +150 -0
  48. package/dist/cjs/src/stories/context-menu/ContextMenu.stories.jsx +163 -0
  49. package/dist/cjs/src/stories/data-list/DataList.stories.jsx +193 -0
  50. package/dist/cjs/src/stories/dialog/Dialog.stories.jsx +183 -0
  51. package/dist/cjs/src/stories/doughnut-chart/DoughnutChart.stories.jsx +130 -0
  52. package/dist/cjs/src/stories/dropdown-menu/DropdownMenu.stories.jsx +156 -0
  53. package/dist/cjs/src/stories/header/Header.stories.jsx +127 -0
  54. package/dist/cjs/src/stories/hover-card/HoverCard.stories.jsx +150 -0
  55. package/dist/cjs/src/stories/inset/Inset.stories.jsx +105 -0
  56. package/dist/cjs/src/stories/label/Label.stories.jsx +119 -0
  57. package/dist/cjs/src/stories/line-chart/LineChart.stories.jsx +245 -0
  58. package/dist/cjs/src/stories/menubar/Menubar.stories.jsx +282 -0
  59. package/dist/cjs/src/stories/navigation-menu/NavigationMenu.stories.jsx +249 -0
  60. package/dist/cjs/src/stories/pie-chart/PieChart.stories.jsx +156 -0
  61. package/dist/cjs/src/stories/popover/Popover.stories.jsx +137 -0
  62. package/dist/cjs/src/stories/progress/Progress.stories.jsx +88 -0
  63. package/dist/cjs/src/stories/radar-chart/RadarChart.stories.jsx +134 -0
  64. package/dist/cjs/src/stories/radio/Radio.stories.jsx +117 -0
  65. package/dist/cjs/src/stories/radio/RadioCards.stories.jsx +147 -0
  66. package/dist/cjs/src/stories/radio/RadioGroup.stories.jsx +132 -0
  67. package/dist/cjs/src/stories/scroll-area/ScrollArea.stories.jsx +204 -0
  68. package/dist/cjs/src/stories/segmented-control/SegmentedControl.stories.jsx +107 -0
  69. package/dist/cjs/src/stories/select/Select.stories.jsx +187 -0
  70. package/dist/cjs/src/stories/separator/Separator.stories.jsx +112 -0
  71. package/dist/cjs/src/stories/skeleton/Skeleton.stories.jsx +126 -0
  72. package/dist/cjs/src/stories/slider/Slider.stories.jsx +100 -0
  73. package/dist/cjs/src/stories/spinner/Spinner.stories.jsx +122 -0
  74. package/dist/cjs/src/stories/tab-nav/TabNav.stories.jsx +102 -0
  75. package/dist/cjs/src/stories/table/Table.stories.jsx +139 -0
  76. package/dist/cjs/src/stories/tabs/Tabs.stories.jsx +126 -0
  77. package/dist/cjs/src/stories/text/Text.stories.jsx +123 -0
  78. package/dist/cjs/src/stories/textArea/TextArea.stories.jsx +119 -0
  79. package/dist/cjs/src/stories/textfield/TextField.stories.jsx +133 -0
  80. package/dist/cjs/src/stories/toast/Toast.stories.jsx +230 -0
  81. package/dist/cjs/src/stories/toggle/Toggle.stories.jsx +114 -0
  82. package/dist/cjs/src/stories/toggle/ToggleGroup.stories.jsx +158 -0
  83. package/dist/cjs/src/stories/tooltip/Tooltip.stories.jsx +98 -0
  84. package/dist/cjs/src/utils/chart.js +582 -0
  85. package/dist/cjs/src/utils/move-cjs.mjs +26 -0
  86. package/dist/cjs/src/utils/move-esm.mjs +40 -0
  87. package/dist/cjs/src/utils/move.mjs +60 -0
  88. package/dist/cjs/src/utils/post-publish.mjs +28 -0
  89. package/dist/cjs/tailwind.config.js +169 -0
  90. package/dist/cjs/tsconfig.tsbuildinfo +1 -0
  91. package/dist/esm/.storybook/main.js +22 -0
  92. package/dist/esm/.storybook/manager.js +12 -0
  93. package/dist/esm/.storybook/preview.jsx +80 -0
  94. package/dist/esm/src/app/layout.jsx +13 -0
  95. package/dist/esm/src/app/page.jsx +36 -0
  96. package/dist/esm/src/app/template/colorPicker.jsx +19 -0
  97. package/dist/esm/src/app/template/theme.jsx +17 -0
  98. package/dist/esm/src/stories/ToggleSwitch/ToggleSwitch.stories.jsx +118 -0
  99. package/dist/esm/src/stories/Welcome.jsx +68 -0
  100. package/dist/esm/src/stories/accordion/Accordion.stories.jsx +81 -0
  101. package/dist/esm/src/stories/alert-dialog/AlertDialog.stories.jsx +72 -0
  102. package/dist/esm/src/stories/aspect-ratio/AspectRatio.stories.jsx +106 -0
  103. package/dist/esm/src/stories/avatar/Avatar.stories.jsx +109 -0
  104. package/dist/esm/src/stories/badge/Badge.stories.jsx +135 -0
  105. package/dist/esm/src/stories/bar-chart/BarChart.stories.jsx +105 -0
  106. package/dist/esm/src/stories/bubble-chart/BubbleChart.stories.jsx +175 -0
  107. package/dist/esm/src/stories/button/Button.stories.jsx +105 -0
  108. package/dist/esm/src/stories/button/IconButton.stories.jsx +110 -0
  109. package/dist/esm/src/stories/callout/Callout.stories.jsx +202 -0
  110. package/dist/esm/src/stories/card/Card.stories.jsx +156 -0
  111. package/dist/esm/src/stories/checkbox/Checkbox.stories.jsx +174 -0
  112. package/dist/esm/src/stories/checkbox/CheckboxCard.stories.jsx +138 -0
  113. package/dist/esm/src/stories/checkbox/CheckboxGroup.stories.jsx +144 -0
  114. package/dist/esm/src/stories/context-menu/ContextMenu.stories.jsx +156 -0
  115. package/dist/esm/src/stories/data-list/DataList.stories.jsx +186 -0
  116. package/dist/esm/src/stories/dialog/Dialog.stories.jsx +173 -0
  117. package/dist/esm/src/stories/doughnut-chart/DoughnutChart.stories.jsx +118 -0
  118. package/dist/esm/src/stories/dropdown-menu/DropdownMenu.stories.jsx +146 -0
  119. package/dist/esm/src/stories/header/Header.stories.jsx +118 -0
  120. package/dist/esm/src/stories/hover-card/HoverCard.stories.jsx +143 -0
  121. package/dist/esm/src/stories/inset/Inset.stories.jsx +99 -0
  122. package/dist/esm/src/stories/label/Label.stories.jsx +112 -0
  123. package/dist/esm/src/stories/line-chart/LineChart.stories.jsx +234 -0
  124. package/dist/esm/src/stories/menubar/Menubar.stories.jsx +274 -0
  125. package/dist/esm/src/stories/navigation-menu/NavigationMenu.stories.jsx +237 -0
  126. package/dist/esm/src/stories/pie-chart/PieChart.stories.jsx +144 -0
  127. package/dist/esm/src/stories/popover/Popover.stories.jsx +128 -0
  128. package/dist/esm/src/stories/progress/Progress.stories.jsx +81 -0
  129. package/dist/esm/src/stories/radar-chart/RadarChart.stories.jsx +126 -0
  130. package/dist/esm/src/stories/radio/Radio.stories.jsx +110 -0
  131. package/dist/esm/src/stories/radio/RadioCards.stories.jsx +136 -0
  132. package/dist/esm/src/stories/radio/RadioGroup.stories.jsx +125 -0
  133. package/dist/esm/src/stories/scroll-area/ScrollArea.stories.jsx +197 -0
  134. package/dist/esm/src/stories/segmented-control/SegmentedControl.stories.jsx +100 -0
  135. package/dist/esm/src/stories/select/Select.stories.jsx +175 -0
  136. package/dist/esm/src/stories/separator/Separator.stories.jsx +105 -0
  137. package/dist/esm/src/stories/skeleton/Skeleton.stories.jsx +118 -0
  138. package/dist/esm/src/stories/slider/Slider.stories.jsx +93 -0
  139. package/dist/esm/src/stories/spinner/Spinner.stories.jsx +111 -0
  140. package/dist/esm/src/stories/tab-nav/TabNav.stories.jsx +94 -0
  141. package/dist/esm/src/stories/table/Table.stories.jsx +129 -0
  142. package/dist/esm/src/stories/tabs/Tabs.stories.jsx +118 -0
  143. package/dist/esm/src/stories/text/Text.stories.jsx +115 -0
  144. package/dist/esm/src/stories/textArea/TextArea.stories.jsx +111 -0
  145. package/dist/esm/src/stories/textfield/TextField.stories.jsx +122 -0
  146. package/dist/esm/src/stories/toast/Toast.stories.jsx +197 -0
  147. package/dist/esm/src/stories/toggle/Toggle.stories.jsx +106 -0
  148. package/dist/esm/src/stories/toggle/ToggleGroup.stories.jsx +151 -0
  149. package/dist/esm/src/stories/tooltip/Tooltip.stories.jsx +89 -0
  150. package/dist/esm/src/utils/chart.js +572 -0
  151. package/dist/esm/src/utils/move-cjs.mjs +21 -0
  152. package/dist/esm/src/utils/move-esm.mjs +35 -0
  153. package/dist/esm/src/utils/move.mjs +55 -0
  154. package/dist/esm/src/utils/post-publish.mjs +23 -0
  155. package/dist/esm/tailwind.config.js +144 -0
  156. package/dist/esm/tsconfig.tsbuildinfo +1 -0
  157. package/package.json +3 -3
  158. /package/dist/cjs/{lib → src/lib}/Typography/Header/index.jsx +0 -0
  159. /package/dist/cjs/{lib → src/lib}/Typography/Text/index.jsx +0 -0
  160. /package/dist/cjs/{lib → src/lib}/components/Accordion/index.jsx +0 -0
  161. /package/dist/cjs/{lib → src/lib}/components/AlertDialog/AlertDialogAction.jsx +0 -0
  162. /package/dist/cjs/{lib → src/lib}/components/AlertDialog/AlertDialogCancel.jsx +0 -0
  163. /package/dist/cjs/{lib → src/lib}/components/AlertDialog/AlertDialogContent.jsx +0 -0
  164. /package/dist/cjs/{lib → src/lib}/components/AlertDialog/AlertDialogDescription.jsx +0 -0
  165. /package/dist/cjs/{lib → src/lib}/components/AlertDialog/AlertDialogRoot.jsx +0 -0
  166. /package/dist/cjs/{lib → src/lib}/components/AlertDialog/AlertDialogTitle.jsx +0 -0
  167. /package/dist/cjs/{lib → src/lib}/components/AlertDialog/AlertDialogTrigger.jsx +0 -0
  168. /package/dist/cjs/{lib → src/lib}/components/AlertDialog/index.jsx +0 -0
  169. /package/dist/cjs/{lib → src/lib}/components/AspectRatio/index.jsx +0 -0
  170. /package/dist/cjs/{lib → src/lib}/components/Avatar/index.jsx +0 -0
  171. /package/dist/cjs/{lib → src/lib}/components/Badge/index.jsx +0 -0
  172. /package/dist/cjs/{lib → src/lib}/components/BarChart/index.jsx +0 -0
  173. /package/dist/cjs/{lib → src/lib}/components/BubbleChart/index.jsx +0 -0
  174. /package/dist/cjs/{lib → src/lib}/components/Button/index.jsx +0 -0
  175. /package/dist/cjs/{lib → src/lib}/components/Callout/CalloutIcon.jsx +0 -0
  176. /package/dist/cjs/{lib → src/lib}/components/Callout/CalloutRoot.jsx +0 -0
  177. /package/dist/cjs/{lib → src/lib}/components/Callout/CalloutText.jsx +0 -0
  178. /package/dist/cjs/{lib → src/lib}/components/Callout/index.jsx +0 -0
  179. /package/dist/cjs/{lib → src/lib}/components/Card/index.jsx +0 -0
  180. /package/dist/cjs/{lib → src/lib}/components/Checkbox/index.jsx +0 -0
  181. /package/dist/cjs/{lib → src/lib}/components/CheckboxCard/index.jsx +0 -0
  182. /package/dist/cjs/{lib → src/lib}/components/CheckboxGroup/CheckboxGroupItem.jsx +0 -0
  183. /package/dist/cjs/{lib → src/lib}/components/CheckboxGroup/CheckboxGroupRoot.jsx +0 -0
  184. /package/dist/cjs/{lib → src/lib}/components/CheckboxGroup/index.jsx +0 -0
  185. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuCheckboxItem.jsx +0 -0
  186. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuContent.jsx +0 -0
  187. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuGroup.jsx +0 -0
  188. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuItem.jsx +0 -0
  189. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuItemIndicator.jsx +0 -0
  190. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuLabel.jsx +0 -0
  191. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuRadioGroup.jsx +0 -0
  192. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuRadioItem.jsx +0 -0
  193. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuRoot.jsx +0 -0
  194. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuSeparator.jsx +0 -0
  195. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuSubContent.jsx +0 -0
  196. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuSubTrigger.jsx +0 -0
  197. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/ContextMenuTrigger.jsx +0 -0
  198. /package/dist/cjs/{lib → src/lib}/components/ContextMenu/index.jsx +0 -0
  199. /package/dist/cjs/{lib → src/lib}/components/DataList/DataListItem.jsx +0 -0
  200. /package/dist/cjs/{lib → src/lib}/components/DataList/DataListLabel.jsx +0 -0
  201. /package/dist/cjs/{lib → src/lib}/components/DataList/DataListRoot.jsx +0 -0
  202. /package/dist/cjs/{lib → src/lib}/components/DataList/DataListValue.jsx +0 -0
  203. /package/dist/cjs/{lib → src/lib}/components/DataList/index.jsx +0 -0
  204. /package/dist/cjs/{lib → src/lib}/components/Dialog/DialogAction.jsx +0 -0
  205. /package/dist/cjs/{lib → src/lib}/components/Dialog/DialogCancel.jsx +0 -0
  206. /package/dist/cjs/{lib → src/lib}/components/Dialog/DialogContent.jsx +0 -0
  207. /package/dist/cjs/{lib → src/lib}/components/Dialog/DialogDescription.jsx +0 -0
  208. /package/dist/cjs/{lib → src/lib}/components/Dialog/DialogRoot.jsx +0 -0
  209. /package/dist/cjs/{lib → src/lib}/components/Dialog/DialogSlot.jsx +0 -0
  210. /package/dist/cjs/{lib → src/lib}/components/Dialog/DialogTitle.jsx +0 -0
  211. /package/dist/cjs/{lib → src/lib}/components/Dialog/DialogTrigger.jsx +0 -0
  212. /package/dist/cjs/{lib → src/lib}/components/Dialog/index.jsx +0 -0
  213. /package/dist/cjs/{lib → src/lib}/components/DoughnutChart/index.jsx +0 -0
  214. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdonMenuRadioGroup.jsx +0 -0
  215. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdonMenuSubContent.jsx +0 -0
  216. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +0 -0
  217. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuContent.jsx +0 -0
  218. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuItem.jsx +0 -0
  219. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuItemIndicator.jsx +0 -0
  220. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuLable.jsx +0 -0
  221. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuRadioItem.jsx +0 -0
  222. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuRoot.jsx +0 -0
  223. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuSeparator.jsx +0 -0
  224. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuSub.jsx +0 -0
  225. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuSubTrigger.jsx +0 -0
  226. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/DropdownMenuTrigger.jsx +0 -0
  227. /package/dist/cjs/{lib → src/lib}/components/DropdownMenu/index.jsx +0 -0
  228. /package/dist/cjs/{lib → src/lib}/components/HoverCard/HoverCardContent.jsx +0 -0
  229. /package/dist/cjs/{lib → src/lib}/components/HoverCard/HoverCardRoot.jsx +0 -0
  230. /package/dist/cjs/{lib → src/lib}/components/HoverCard/HoverCardTrigger.jsx +0 -0
  231. /package/dist/cjs/{lib → src/lib}/components/HoverCard/index.jsx +0 -0
  232. /package/dist/cjs/{lib → src/lib}/components/IconButton/index.jsx +0 -0
  233. /package/dist/cjs/{lib → src/lib}/components/Inset/index.jsx +0 -0
  234. /package/dist/cjs/{lib → src/lib}/components/Label/index.jsx +0 -0
  235. /package/dist/cjs/{lib → src/lib}/components/LineChart/index.jsx +0 -0
  236. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarCheckboxItem.jsx +0 -0
  237. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarContent.jsx +0 -0
  238. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarItem.jsx +0 -0
  239. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarItemIndicator.jsx +0 -0
  240. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarMenu.jsx +0 -0
  241. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarRadioGroup.jsx +0 -0
  242. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarRadioItem.jsx +0 -0
  243. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarRoot.jsx +0 -0
  244. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarSeparator.jsx +0 -0
  245. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarSub.jsx +0 -0
  246. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarSubContent.jsx +0 -0
  247. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarSubTrigger.jsx +0 -0
  248. /package/dist/cjs/{lib → src/lib}/components/Menubar/MenubarTrigger.jsx +0 -0
  249. /package/dist/cjs/{lib → src/lib}/components/Menubar/index.jsx +0 -0
  250. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/NavigationMenuContent.jsx +0 -0
  251. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/NavigationMenuIndicator.jsx +0 -0
  252. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/NavigationMenuItem.jsx +0 -0
  253. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/NavigationMenuLink.jsx +0 -0
  254. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/NavigationMenuList.jsx +0 -0
  255. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/NavigationMenuRoot.jsx +0 -0
  256. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/NavigationMenuTrigger.jsx +0 -0
  257. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/NavigationMenuViewport.jsx +0 -0
  258. /package/dist/cjs/{lib → src/lib}/components/NavigationMenu/index.jsx +0 -0
  259. /package/dist/cjs/{lib → src/lib}/components/PieChart/index.jsx +0 -0
  260. /package/dist/cjs/{lib → src/lib}/components/Popover/PopoverClose.jsx +0 -0
  261. /package/dist/cjs/{lib → src/lib}/components/Popover/PopoverContent.jsx +0 -0
  262. /package/dist/cjs/{lib → src/lib}/components/Popover/PopoverRoot.jsx +0 -0
  263. /package/dist/cjs/{lib → src/lib}/components/Popover/PopoverTrigger.jsx +0 -0
  264. /package/dist/cjs/{lib → src/lib}/components/Popover/index.jsx +0 -0
  265. /package/dist/cjs/{lib → src/lib}/components/Progress/index.jsx +0 -0
  266. /package/dist/cjs/{lib → src/lib}/components/RadarChart/index.jsx +0 -0
  267. /package/dist/cjs/{lib → src/lib}/components/Radio/index.jsx +0 -0
  268. /package/dist/cjs/{lib → src/lib}/components/RadioCards/RadioCardsItem.jsx +0 -0
  269. /package/dist/cjs/{lib → src/lib}/components/RadioCards/RadioCardsRoot.jsx +0 -0
  270. /package/dist/cjs/{lib → src/lib}/components/RadioCards/index.jsx +0 -0
  271. /package/dist/cjs/{lib → src/lib}/components/RadioGroup/RadioGroupItem.jsx +0 -0
  272. /package/dist/cjs/{lib → src/lib}/components/RadioGroup/RadioGroupRoot.jsx +0 -0
  273. /package/dist/cjs/{lib → src/lib}/components/RadioGroup/index.jsx +0 -0
  274. /package/dist/cjs/{lib → src/lib}/components/ScrollArea/index.jsx +0 -0
  275. /package/dist/cjs/{lib → src/lib}/components/SegmentedControl/SegmentedControlItem.jsx +0 -0
  276. /package/dist/cjs/{lib → src/lib}/components/SegmentedControl/SegmentedControlRoot.jsx +0 -0
  277. /package/dist/cjs/{lib → src/lib}/components/SegmentedControl/index.jsx +0 -0
  278. /package/dist/cjs/{lib → src/lib}/components/Select/index.jsx +0 -0
  279. /package/dist/cjs/{lib → src/lib}/components/Separator/index.jsx +0 -0
  280. /package/dist/cjs/{lib → src/lib}/components/Skeleton/index.jsx +0 -0
  281. /package/dist/cjs/{lib → src/lib}/components/Slider/index.jsx +0 -0
  282. /package/dist/cjs/{lib → src/lib}/components/Spinner/index.jsx +0 -0
  283. /package/dist/cjs/{lib → src/lib}/components/TabNav/index.jsx +0 -0
  284. /package/dist/cjs/{lib → src/lib}/components/Table/index.jsx +0 -0
  285. /package/dist/cjs/{lib → src/lib}/components/Tabs/index.jsx +0 -0
  286. /package/dist/cjs/{lib → src/lib}/components/TextArea/index.jsx +0 -0
  287. /package/dist/cjs/{lib → src/lib}/components/TextField/index.jsx +0 -0
  288. /package/dist/cjs/{lib → src/lib}/components/Toast/ToastActionButton.jsx +0 -0
  289. /package/dist/cjs/{lib → src/lib}/components/Toast/ToastDescription.jsx +0 -0
  290. /package/dist/cjs/{lib → src/lib}/components/Toast/ToastRoot.jsx +0 -0
  291. /package/dist/cjs/{lib → src/lib}/components/Toast/ToastTitle.jsx +0 -0
  292. /package/dist/cjs/{lib → src/lib}/components/Toast/index.jsx +0 -0
  293. /package/dist/cjs/{lib → src/lib}/components/Toggle/ToggleWithText.jsx +0 -0
  294. /package/dist/cjs/{lib → src/lib}/components/Toggle/index.jsx +0 -0
  295. /package/dist/cjs/{lib → src/lib}/components/ToggleGroup/ToggleGroupItem.jsx +0 -0
  296. /package/dist/cjs/{lib → src/lib}/components/ToggleGroup/ToggleGroupRoot.jsx +0 -0
  297. /package/dist/cjs/{lib → src/lib}/components/ToggleGroup/index.jsx +0 -0
  298. /package/dist/cjs/{lib → src/lib}/components/ToggleSwitch/index.jsx +0 -0
  299. /package/dist/cjs/{lib → src/lib}/components/Tooltip/index.jsx +0 -0
  300. /package/dist/esm/{lib → src/lib}/Typography/Header/index.jsx +0 -0
  301. /package/dist/esm/{lib → src/lib}/Typography/Text/index.jsx +0 -0
  302. /package/dist/esm/{lib → src/lib}/Typography/index.js +0 -0
  303. /package/dist/esm/{lib → src/lib}/color/alpha.js +0 -0
  304. /package/dist/esm/{lib → src/lib}/color/constants.js +0 -0
  305. /package/dist/esm/{lib → src/lib}/color/dark.js +0 -0
  306. /package/dist/esm/{lib → src/lib}/color/krdsColors.js +0 -0
  307. /package/dist/esm/{lib → src/lib}/color/light.js +0 -0
  308. /package/dist/esm/{lib → src/lib}/components/Accordion/index.jsx +0 -0
  309. /package/dist/esm/{lib → src/lib}/components/AlertDialog/AlertDialogAction.jsx +0 -0
  310. /package/dist/esm/{lib → src/lib}/components/AlertDialog/AlertDialogCancel.jsx +0 -0
  311. /package/dist/esm/{lib → src/lib}/components/AlertDialog/AlertDialogContent.jsx +0 -0
  312. /package/dist/esm/{lib → src/lib}/components/AlertDialog/AlertDialogDescription.jsx +0 -0
  313. /package/dist/esm/{lib → src/lib}/components/AlertDialog/AlertDialogRoot.jsx +0 -0
  314. /package/dist/esm/{lib → src/lib}/components/AlertDialog/AlertDialogTitle.jsx +0 -0
  315. /package/dist/esm/{lib → src/lib}/components/AlertDialog/AlertDialogTrigger.jsx +0 -0
  316. /package/dist/esm/{lib → src/lib}/components/AlertDialog/index.jsx +0 -0
  317. /package/dist/esm/{lib → src/lib}/components/AspectRatio/index.jsx +0 -0
  318. /package/dist/esm/{lib → src/lib}/components/Avatar/index.jsx +0 -0
  319. /package/dist/esm/{lib → src/lib}/components/Badge/index.jsx +0 -0
  320. /package/dist/esm/{lib → src/lib}/components/BarChart/index.jsx +0 -0
  321. /package/dist/esm/{lib → src/lib}/components/BubbleChart/index.jsx +0 -0
  322. /package/dist/esm/{lib → src/lib}/components/Button/index.jsx +0 -0
  323. /package/dist/esm/{lib → src/lib}/components/Callout/CalloutIcon.jsx +0 -0
  324. /package/dist/esm/{lib → src/lib}/components/Callout/CalloutRoot.jsx +0 -0
  325. /package/dist/esm/{lib → src/lib}/components/Callout/CalloutText.jsx +0 -0
  326. /package/dist/esm/{lib → src/lib}/components/Callout/index.jsx +0 -0
  327. /package/dist/esm/{lib → src/lib}/components/Card/index.jsx +0 -0
  328. /package/dist/esm/{lib → src/lib}/components/Checkbox/index.jsx +0 -0
  329. /package/dist/esm/{lib → src/lib}/components/CheckboxCard/index.jsx +0 -0
  330. /package/dist/esm/{lib → src/lib}/components/CheckboxGroup/CheckboxGroupItem.jsx +0 -0
  331. /package/dist/esm/{lib → src/lib}/components/CheckboxGroup/CheckboxGroupRoot.jsx +0 -0
  332. /package/dist/esm/{lib → src/lib}/components/CheckboxGroup/index.jsx +0 -0
  333. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuCheckboxItem.jsx +0 -0
  334. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuContent.jsx +0 -0
  335. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuGroup.jsx +0 -0
  336. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuItem.jsx +0 -0
  337. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuItemIndicator.jsx +0 -0
  338. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuLabel.jsx +0 -0
  339. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuRadioGroup.jsx +0 -0
  340. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuRadioItem.jsx +0 -0
  341. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuRoot.jsx +0 -0
  342. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuSeparator.jsx +0 -0
  343. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuSubContent.jsx +0 -0
  344. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuSubTrigger.jsx +0 -0
  345. /package/dist/esm/{lib → src/lib}/components/ContextMenu/ContextMenuTrigger.jsx +0 -0
  346. /package/dist/esm/{lib → src/lib}/components/ContextMenu/index.jsx +0 -0
  347. /package/dist/esm/{lib → src/lib}/components/DataList/DataListItem.jsx +0 -0
  348. /package/dist/esm/{lib → src/lib}/components/DataList/DataListLabel.jsx +0 -0
  349. /package/dist/esm/{lib → src/lib}/components/DataList/DataListRoot.jsx +0 -0
  350. /package/dist/esm/{lib → src/lib}/components/DataList/DataListValue.jsx +0 -0
  351. /package/dist/esm/{lib → src/lib}/components/DataList/index.jsx +0 -0
  352. /package/dist/esm/{lib → src/lib}/components/Dialog/DialogAction.jsx +0 -0
  353. /package/dist/esm/{lib → src/lib}/components/Dialog/DialogCancel.jsx +0 -0
  354. /package/dist/esm/{lib → src/lib}/components/Dialog/DialogContent.jsx +0 -0
  355. /package/dist/esm/{lib → src/lib}/components/Dialog/DialogDescription.jsx +0 -0
  356. /package/dist/esm/{lib → src/lib}/components/Dialog/DialogRoot.jsx +0 -0
  357. /package/dist/esm/{lib → src/lib}/components/Dialog/DialogSlot.jsx +0 -0
  358. /package/dist/esm/{lib → src/lib}/components/Dialog/DialogTitle.jsx +0 -0
  359. /package/dist/esm/{lib → src/lib}/components/Dialog/DialogTrigger.jsx +0 -0
  360. /package/dist/esm/{lib → src/lib}/components/Dialog/index.jsx +0 -0
  361. /package/dist/esm/{lib → src/lib}/components/DoughnutChart/index.jsx +0 -0
  362. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdonMenuRadioGroup.jsx +0 -0
  363. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdonMenuSubContent.jsx +0 -0
  364. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuCheckboxItem.jsx +0 -0
  365. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuContent.jsx +0 -0
  366. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuItem.jsx +0 -0
  367. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuItemIndicator.jsx +0 -0
  368. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuLable.jsx +0 -0
  369. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuRadioItem.jsx +0 -0
  370. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuRoot.jsx +0 -0
  371. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuSeparator.jsx +0 -0
  372. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuSub.jsx +0 -0
  373. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuSubTrigger.jsx +0 -0
  374. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/DropdownMenuTrigger.jsx +0 -0
  375. /package/dist/esm/{lib → src/lib}/components/DropdownMenu/index.jsx +0 -0
  376. /package/dist/esm/{lib → src/lib}/components/HoverCard/HoverCardContent.jsx +0 -0
  377. /package/dist/esm/{lib → src/lib}/components/HoverCard/HoverCardRoot.jsx +0 -0
  378. /package/dist/esm/{lib → src/lib}/components/HoverCard/HoverCardTrigger.jsx +0 -0
  379. /package/dist/esm/{lib → src/lib}/components/HoverCard/index.jsx +0 -0
  380. /package/dist/esm/{lib → src/lib}/components/IconButton/index.jsx +0 -0
  381. /package/dist/esm/{lib → src/lib}/components/Inset/index.jsx +0 -0
  382. /package/dist/esm/{lib → src/lib}/components/Label/index.jsx +0 -0
  383. /package/dist/esm/{lib → src/lib}/components/LineChart/index.jsx +0 -0
  384. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarCheckboxItem.jsx +0 -0
  385. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarContent.jsx +0 -0
  386. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarItem.jsx +0 -0
  387. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarItemIndicator.jsx +0 -0
  388. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarMenu.jsx +0 -0
  389. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarRadioGroup.jsx +0 -0
  390. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarRadioItem.jsx +0 -0
  391. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarRoot.jsx +0 -0
  392. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarSeparator.jsx +0 -0
  393. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarSub.jsx +0 -0
  394. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarSubContent.jsx +0 -0
  395. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarSubTrigger.jsx +0 -0
  396. /package/dist/esm/{lib → src/lib}/components/Menubar/MenubarTrigger.jsx +0 -0
  397. /package/dist/esm/{lib → src/lib}/components/Menubar/index.jsx +0 -0
  398. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/NavigationMenuContent.jsx +0 -0
  399. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/NavigationMenuIndicator.jsx +0 -0
  400. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/NavigationMenuItem.jsx +0 -0
  401. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/NavigationMenuLink.jsx +0 -0
  402. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/NavigationMenuList.jsx +0 -0
  403. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/NavigationMenuRoot.jsx +0 -0
  404. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/NavigationMenuTrigger.jsx +0 -0
  405. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/NavigationMenuViewport.jsx +0 -0
  406. /package/dist/esm/{lib → src/lib}/components/NavigationMenu/index.jsx +0 -0
  407. /package/dist/esm/{lib → src/lib}/components/PieChart/index.jsx +0 -0
  408. /package/dist/esm/{lib → src/lib}/components/Popover/PopoverClose.jsx +0 -0
  409. /package/dist/esm/{lib → src/lib}/components/Popover/PopoverContent.jsx +0 -0
  410. /package/dist/esm/{lib → src/lib}/components/Popover/PopoverRoot.jsx +0 -0
  411. /package/dist/esm/{lib → src/lib}/components/Popover/PopoverTrigger.jsx +0 -0
  412. /package/dist/esm/{lib → src/lib}/components/Popover/index.jsx +0 -0
  413. /package/dist/esm/{lib → src/lib}/components/Progress/index.jsx +0 -0
  414. /package/dist/esm/{lib → src/lib}/components/RadarChart/index.jsx +0 -0
  415. /package/dist/esm/{lib → src/lib}/components/Radio/index.jsx +0 -0
  416. /package/dist/esm/{lib → src/lib}/components/RadioCards/RadioCardsItem.jsx +0 -0
  417. /package/dist/esm/{lib → src/lib}/components/RadioCards/RadioCardsRoot.jsx +0 -0
  418. /package/dist/esm/{lib → src/lib}/components/RadioCards/index.jsx +0 -0
  419. /package/dist/esm/{lib → src/lib}/components/RadioGroup/RadioGroupItem.jsx +0 -0
  420. /package/dist/esm/{lib → src/lib}/components/RadioGroup/RadioGroupRoot.jsx +0 -0
  421. /package/dist/esm/{lib → src/lib}/components/RadioGroup/index.jsx +0 -0
  422. /package/dist/esm/{lib → src/lib}/components/ScrollArea/index.jsx +0 -0
  423. /package/dist/esm/{lib → src/lib}/components/SegmentedControl/SegmentedControlItem.jsx +0 -0
  424. /package/dist/esm/{lib → src/lib}/components/SegmentedControl/SegmentedControlRoot.jsx +0 -0
  425. /package/dist/esm/{lib → src/lib}/components/SegmentedControl/index.jsx +0 -0
  426. /package/dist/esm/{lib → src/lib}/components/Select/index.jsx +0 -0
  427. /package/dist/esm/{lib → src/lib}/components/Separator/index.jsx +0 -0
  428. /package/dist/esm/{lib → src/lib}/components/Skeleton/index.jsx +0 -0
  429. /package/dist/esm/{lib → src/lib}/components/Slider/index.jsx +0 -0
  430. /package/dist/esm/{lib → src/lib}/components/Spinner/index.jsx +0 -0
  431. /package/dist/esm/{lib → src/lib}/components/TabNav/index.jsx +0 -0
  432. /package/dist/esm/{lib → src/lib}/components/Table/index.jsx +0 -0
  433. /package/dist/esm/{lib → src/lib}/components/Tabs/index.jsx +0 -0
  434. /package/dist/esm/{lib → src/lib}/components/TextArea/index.jsx +0 -0
  435. /package/dist/esm/{lib → src/lib}/components/TextField/index.jsx +0 -0
  436. /package/dist/esm/{lib → src/lib}/components/Toast/ToastActionButton.jsx +0 -0
  437. /package/dist/esm/{lib → src/lib}/components/Toast/ToastDescription.jsx +0 -0
  438. /package/dist/esm/{lib → src/lib}/components/Toast/ToastRoot.jsx +0 -0
  439. /package/dist/esm/{lib → src/lib}/components/Toast/ToastTitle.jsx +0 -0
  440. /package/dist/esm/{lib → src/lib}/components/Toast/index.jsx +0 -0
  441. /package/dist/esm/{lib → src/lib}/components/Toggle/ToggleWithText.jsx +0 -0
  442. /package/dist/esm/{lib → src/lib}/components/Toggle/index.jsx +0 -0
  443. /package/dist/esm/{lib → src/lib}/components/ToggleGroup/ToggleGroupItem.jsx +0 -0
  444. /package/dist/esm/{lib → src/lib}/components/ToggleGroup/ToggleGroupRoot.jsx +0 -0
  445. /package/dist/esm/{lib → src/lib}/components/ToggleGroup/index.jsx +0 -0
  446. /package/dist/esm/{lib → src/lib}/components/ToggleSwitch/index.jsx +0 -0
  447. /package/dist/esm/{lib → src/lib}/components/Tooltip/index.jsx +0 -0
  448. /package/dist/esm/{lib → src/lib}/components/index.js +0 -0
  449. /package/dist/esm/{lib → src/lib}/constants.js +0 -0
  450. /package/dist/esm/{lib → src/lib}/index.js +0 -0
  451. /package/dist/esm/{lib → src/lib}/types.js +0 -0
  452. /package/dist/esm/{lib → src/lib}/utils/useDarkMode.js +0 -0
  453. /package/dist/esm/{lib → src/lib}/utils/utils.js +0 -0
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var config = {
4
+ stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
5
+ addons: [
6
+ '@storybook/addon-links',
7
+ '@storybook/addon-essentials',
8
+ '@chromatic-com/storybook',
9
+ '@storybook/addon-interactions',
10
+ '@storybook/addon-styling-webpack',
11
+ '@storybook/addon-a11y',
12
+ 'storybook-dark-mode',
13
+ 'storybook-addon-deep-controls',
14
+ ],
15
+ framework: {
16
+ name: '@storybook/nextjs',
17
+ options: {},
18
+ },
19
+ docs: {
20
+ autodocs: 'tag',
21
+ },
22
+ staticDirs: ['../public'],
23
+ };
24
+ exports.default = config;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var addons_1 = require("@storybook/addons");
7
+ var theming_1 = require("@storybook/theming");
8
+ var logo_png_1 = __importDefault(require("../src/stories/assets/logo.png"));
9
+ var lightTheme = (0, theming_1.create)({
10
+ base: 'light', // 밝은 테마 설정
11
+ brandImage: logo_png_1.default,
12
+ brandTitle: '롯데이노베이트',
13
+ brandUrl: '../src/stories/assets/logo.png', //로고 적용
14
+ });
15
+ addons_1.addons.setConfig({
16
+ theme: lightTheme,
17
+ });
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.decorators = void 0;
38
+ var react_1 = __importStar(require("react"));
39
+ var theming_1 = require("@storybook/theming");
40
+ var storybook_dark_mode_1 = require("storybook-dark-mode");
41
+ require("../src/app/globals.css");
42
+ require("../src/app/styles.css");
43
+ require("../src/app/stories.css");
44
+ require("tailwindcss/tailwind.css");
45
+ var preview = {
46
+ parameters: {
47
+ controls: {
48
+ matchers: {
49
+ color: /(background|color)$/i,
50
+ date: /Date$/i,
51
+ },
52
+ },
53
+ options: {
54
+ storySort: {
55
+ method: 'alphabetical',
56
+ order: [
57
+ 'Welcome',
58
+ 'Typography',
59
+ 'Component',
60
+ 'Chart',
61
+ 'Light Color',
62
+ 'Dark Color',
63
+ 'Light Alpha Color',
64
+ 'Dark Alpha Color',
65
+ ],
66
+ },
67
+ },
68
+ docs: {
69
+ theme: theming_1.themes.light,
70
+ },
71
+ darkMode: {
72
+ dark: __assign(__assign({}, theming_1.themes.dark), { appBg: '#272a2d', textColor: '#edeef0' }),
73
+ light: __assign(__assign({}, theming_1.themes.light), { appBg: 'white', textColor: '#2E3438' }),
74
+ },
75
+ backgrounds: { disable: true },
76
+ deepControls: { enabled: true },
77
+ },
78
+ };
79
+ exports.default = preview;
80
+ var changeClassOnBody = function (oldClassName, newClassName) {
81
+ var classList = document.body.classList;
82
+ if (classList.contains(oldClassName)) {
83
+ classList.replace(oldClassName, newClassName);
84
+ }
85
+ };
86
+ var withBackground = function (Story, context) {
87
+ var isDarkMode = (0, storybook_dark_mode_1.useDarkMode)();
88
+ (0, react_1.useEffect)(function () {
89
+ if (isDarkMode) {
90
+ changeClassOnBody('light', 'dark');
91
+ }
92
+ else {
93
+ changeClassOnBody('dark', 'light');
94
+ }
95
+ var docsStoryElements = document.querySelectorAll('.docs-story');
96
+ docsStoryElements.forEach(function (element) {
97
+ element.style.backgroundColor = isDarkMode ? '#111113' : 'white';
98
+ });
99
+ docsStoryElements = document.querySelectorAll('.sb-show-main');
100
+ docsStoryElements.forEach(function (element) {
101
+ element.style.backgroundColor = isDarkMode ? '#111113' : 'white';
102
+ });
103
+ }, [isDarkMode]);
104
+ return <Story {...context}/>;
105
+ };
106
+ exports.decorators = [withBackground];
@@ -1,10 +1,2 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Text = exports.Header = void 0;
7
- var Header_1 = require("./Header");
8
- Object.defineProperty(exports, "Header", { enumerable: true, get: function () { return __importDefault(Header_1).default; } });
9
- var Text_1 = require("./Text");
10
- Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return __importDefault(Text_1).default; } });
1
+ export { default as Header } from './Header';
2
+ export { default as Text } from './Text';
@@ -1,8 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.goldDarkA = exports.bronzeDarkA = exports.brownDarkA = exports.grassDarkA = exports.greenDarkA = exports.jadeDarkA = exports.tealDarkA = exports.cyanDarkA = exports.blueDarkA = exports.indigoDarkA = exports.irisDarkA = exports.violetDarkA = exports.purpleDarkA = exports.plumDarkA = exports.pinkDarkA = exports.crimsonDarkA = exports.rubyDarkA = exports.redDarkA = exports.tomatoDarkA = exports.sandDarkA = exports.oliveDarkA = exports.slateDarkA = exports.orangeA = exports.amberA = exports.yellowA = exports.limeA = exports.mintA = exports.skyA = exports.goldA = exports.bronzeA = exports.brownA = exports.grassA = exports.greenA = exports.jadeA = exports.tealA = exports.cyanA = exports.blueA = exports.indigoA = exports.irisA = exports.violetA = exports.purpleA = exports.plumA = exports.pinkA = exports.crimsonA = exports.rubyA = exports.redA = exports.tomatoA = exports.sandA = exports.oliveA = exports.slateA = void 0;
4
- exports.orangeDarkA = exports.amberDarkA = exports.yellowDarkA = exports.limeDarkA = exports.mintDarkA = exports.skyDarkA = void 0;
5
- exports.slateA = {
1
+ export var slateA = {
6
2
  1: '#00005503',
7
3
  2: '#00005506',
8
4
  3: '#0000330f',
@@ -16,7 +12,7 @@ exports.slateA = {
16
12
  11: '#0007149f',
17
13
  12: '#000509e3',
18
14
  };
19
- exports.oliveA = {
15
+ export var oliveA = {
20
16
  1: '#00550003',
21
17
  2: '#00490007',
22
18
  3: '#00200010',
@@ -30,7 +26,7 @@ exports.oliveA = {
30
26
  11: '#020a00a0',
31
27
  12: '#010600e3',
32
28
  };
33
- exports.sandA = {
29
+ export var sandA = {
34
30
  1: '#55550003',
35
31
  2: '#25250007',
36
32
  3: '#20100010',
@@ -44,7 +40,7 @@ exports.sandA = {
44
40
  11: '#080800a1',
45
41
  12: '#060500e3',
46
42
  };
47
- exports.tomatoA = {
43
+ export var tomatoA = {
48
44
  1: '#ff000003',
49
45
  2: '#ff200008',
50
46
  3: '#f52b0018',
@@ -58,7 +54,7 @@ exports.tomatoA = {
58
54
  11: '#cd2200ea',
59
55
  12: '#460900e0',
60
56
  };
61
- exports.redA = {
57
+ export var redA = {
62
58
  1: '#ff000003',
63
59
  2: '#ff000008',
64
60
  3: '#f3000d14',
@@ -72,7 +68,7 @@ exports.redA = {
72
68
  11: '#c40006d3',
73
69
  12: '#55000de8',
74
70
  };
75
- exports.rubyA = {
71
+ export var rubyA = {
76
72
  1: '#ff005503',
77
73
  2: '#ff002008',
78
74
  3: '#f3002515',
@@ -86,7 +82,7 @@ exports.rubyA = {
86
82
  11: '#c10030db',
87
83
  12: '#550016e8',
88
84
  };
89
- exports.crimsonA = {
85
+ export var crimsonA = {
90
86
  1: '#ff005503',
91
87
  2: '#e0004008',
92
88
  3: '#ff005216',
@@ -100,7 +96,7 @@ exports.crimsonA = {
100
96
  11: '#c4004fe2',
101
97
  12: '#530026e9',
102
98
  };
103
- exports.pinkA = {
99
+ export var pinkA = {
104
100
  1: '#ff00aa03',
105
101
  2: '#e0008008',
106
102
  3: '#f4008c16',
@@ -114,7 +110,7 @@ exports.pinkA = {
114
110
  11: '#b60074d6',
115
111
  12: '#59003bed',
116
112
  };
117
- exports.plumA = {
113
+ export var plumA = {
118
114
  1: '#aa00ff03',
119
115
  2: '#c000c008',
120
116
  3: '#cc00cc14',
@@ -128,7 +124,7 @@ exports.plumA = {
128
124
  11: '#730086c1',
129
125
  12: '#40004be6',
130
126
  };
131
- exports.purpleA = {
127
+ export var purpleA = {
132
128
  1: '#aa00aa03',
133
129
  2: '#8000e008',
134
130
  3: '#8e00f112',
@@ -142,7 +138,7 @@ exports.purpleA = {
142
138
  11: '#52009aba',
143
139
  12: '#250049df',
144
140
  };
145
- exports.violetA = {
141
+ export var violetA = {
146
142
  1: '#5500aa03',
147
143
  2: '#4900ff07',
148
144
  3: '#4400ee0f',
@@ -156,7 +152,7 @@ exports.violetA = {
156
152
  11: '#1f0099af',
157
153
  12: '#0b0043d9',
158
154
  };
159
- exports.irisA = {
155
+ export var irisA = {
160
156
  1: '#0000ff02',
161
157
  2: '#0000ff07',
162
158
  3: '#0011ee0f',
@@ -170,7 +166,7 @@ exports.irisA = {
170
166
  11: '#0600abac',
171
167
  12: '#000246d8',
172
168
  };
173
- exports.indigoA = {
169
+ export var indigoA = {
174
170
  1: '#00008002',
175
171
  2: '#0040ff08',
176
172
  3: '#0047f112',
@@ -184,7 +180,7 @@ exports.indigoA = {
184
180
  11: '#002bb7c5',
185
181
  12: '#001046e0',
186
182
  };
187
- exports.blueA = {
183
+ export var blueA = {
188
184
  1: '#0080ff04',
189
185
  2: '#008cff0b',
190
186
  3: '#008ff519',
@@ -198,7 +194,7 @@ exports.blueA = {
198
194
  11: '#006dcbf2',
199
195
  12: '#002359ee',
200
196
  };
201
- exports.cyanA = {
197
+ export var cyanA = {
202
198
  1: '#0099cc05',
203
199
  2: '#009db10d',
204
200
  3: '#00c2d121',
@@ -212,7 +208,7 @@ exports.cyanA = {
212
208
  11: '#007491ef',
213
209
  12: '#00323ef2',
214
210
  };
215
- exports.tealA = {
211
+ export var tealA = {
216
212
  1: '#00cc9905',
217
213
  2: '#00aa800c',
218
214
  3: '#00c69d1f',
@@ -226,7 +222,7 @@ exports.tealA = {
226
222
  11: '#008573',
227
223
  12: '#00332df2',
228
224
  };
229
- exports.jadeA = {
225
+ export var jadeA = {
230
226
  1: '#00c08004',
231
227
  2: '#00a3460b',
232
228
  3: '#00ae4819',
@@ -240,7 +236,7 @@ exports.jadeA = {
240
236
  11: '#007152df',
241
237
  12: '#002217e2',
242
238
  };
243
- exports.greenA = {
239
+ export var greenA = {
244
240
  1: '#00c04004',
245
241
  2: '#00a32f0b',
246
242
  3: '#00a43319',
@@ -254,7 +250,7 @@ exports.greenA = {
254
250
  11: '#00713fde',
255
251
  12: '#002616e6',
256
252
  };
257
- exports.grassA = {
253
+ export var grassA = {
258
254
  1: '#00c00004',
259
255
  2: '#0099000a',
260
256
  3: '#00970016',
@@ -268,7 +264,7 @@ exports.grassA = {
268
264
  11: '#006514d5',
269
265
  12: '#002006df',
270
266
  };
271
- exports.brownA = {
267
+ export var brownA = {
272
268
  1: '#aa550003',
273
269
  2: '#aa550009',
274
270
  3: '#a04b0018',
@@ -282,7 +278,7 @@ exports.brownA = {
282
278
  11: '#522100b9',
283
279
  12: '#140600d1',
284
280
  };
285
- exports.bronzeA = {
281
+ export var bronzeA = {
286
282
  1: '#55000003',
287
283
  2: '#cc33000a',
288
284
  3: '#92250015',
@@ -296,7 +292,7 @@ exports.bronzeA = {
296
292
  11: '#3d0f00ab',
297
293
  12: '#1d0600d4',
298
294
  };
299
- exports.goldA = {
295
+ export var goldA = {
300
296
  1: '#55550003',
301
297
  2: '#9d8a000d',
302
298
  3: '#75600018',
@@ -310,7 +306,7 @@ exports.goldA = {
310
306
  11: '#362100b4',
311
307
  12: '#130c00d4',
312
308
  };
313
- exports.skyA = {
309
+ export var skyA = {
314
310
  1: '#00d5ff06',
315
311
  2: '#00a4db0e',
316
312
  3: '#00b3ee1e',
@@ -324,7 +320,7 @@ exports.skyA = {
324
320
  11: '#00749e',
325
321
  12: '#002540e2',
326
322
  };
327
- exports.mintA = {
323
+ export var mintA = {
328
324
  1: '#00d5aa06',
329
325
  2: '#00b18a0d',
330
326
  3: '#00d29e22',
@@ -338,7 +334,7 @@ exports.mintA = {
338
334
  11: '#007763fd',
339
335
  12: '#00312ae9',
340
336
  };
341
- exports.limeA = {
337
+ export var limeA = {
342
338
  1: '#66990005',
343
339
  2: '#6b95000c',
344
340
  3: '#96c80029',
@@ -352,7 +348,7 @@ exports.limeA = {
352
348
  11: '#375f00d0',
353
349
  12: '#1e2900e3',
354
350
  };
355
- exports.yellowA = {
351
+ export var yellowA = {
356
352
  1: '#aaaa0006',
357
353
  2: '#f4dd0016',
358
354
  3: '#ffee0047',
@@ -366,7 +362,7 @@ exports.yellowA = {
366
362
  11: '#9e6c00',
367
363
  12: '#2e2000e0',
368
364
  };
369
- exports.amberA = {
365
+ export var amberA = {
370
366
  1: '#c0800004',
371
367
  2: '#f4d10016',
372
368
  3: '#ffde003d',
@@ -380,7 +376,7 @@ exports.amberA = {
380
376
  11: '#ab6400',
381
377
  12: '#341500dd',
382
378
  };
383
- exports.orangeA = {
379
+ export var orangeA = {
384
380
  1: '#c0400004',
385
381
  2: '#ff8e0012',
386
382
  3: '#ff9c0029',
@@ -394,7 +390,7 @@ exports.orangeA = {
394
390
  11: '#cc4e00',
395
391
  12: '#431200e2',
396
392
  };
397
- exports.slateDarkA = {
393
+ export var slateDarkA = {
398
394
  1: '#FFFFFF0D',
399
395
  2: '#FFFFFF1A',
400
396
  3: '#FFFFFF26',
@@ -408,7 +404,7 @@ exports.slateDarkA = {
408
404
  11: '#FFFFFFE5',
409
405
  12: '#FFFFFFF2',
410
406
  };
411
- exports.oliveDarkA = {
407
+ export var oliveDarkA = {
412
408
  1: '#00000000',
413
409
  2: '#F1F2F008',
414
410
  3: '#F4F5F312',
@@ -422,7 +418,7 @@ exports.oliveDarkA = {
422
418
  11: '#F6FEF4B0',
423
419
  12: '#FDFFFDED',
424
420
  };
425
- exports.sandDarkA = {
421
+ export var sandDarkA = {
426
422
  1: '#00000000',
427
423
  2: '#F4F4F309',
428
424
  3: '#F6F6F513',
@@ -436,7 +432,7 @@ exports.sandDarkA = {
436
432
  11: '#FFFCF4B0',
437
433
  12: '#FFFFFDED',
438
434
  };
439
- exports.tomatoDarkA = {
435
+ export var tomatoDarkA = {
440
436
  1: '#F1121208',
441
437
  2: '#FF55330F',
442
438
  3: '#FF35232B',
@@ -450,7 +446,7 @@ exports.tomatoDarkA = {
450
446
  11: '#FF977D',
451
447
  12: '#FFD6CEFB',
452
448
  };
453
- exports.redDarkA = {
449
+ export var redDarkA = {
454
450
  1: '#F4121209',
455
451
  2: '#F22F3E11',
456
452
  3: '#FF173F2D',
@@ -464,7 +460,7 @@ exports.redDarkA = {
464
460
  11: '#FF9592',
465
461
  12: '#FFD1D9',
466
462
  };
467
- exports.rubyDarkA = {
463
+ export var rubyDarkA = {
468
464
  1: '#F4124A09',
469
465
  2: '#FE5A7F0E',
470
466
  3: '#FF235D2C',
@@ -478,7 +474,7 @@ exports.rubyDarkA = {
478
474
  11: '#FF949D',
479
475
  12: '#FFD3E2FE',
480
476
  };
481
- exports.crimsonDarkA = {
477
+ export var crimsonDarkA = {
482
478
  1: '#F4126709',
483
479
  2: '#F22F7A11',
484
480
  3: '#FE2A8B2A',
@@ -492,7 +488,7 @@ exports.crimsonDarkA = {
492
488
  11: '#FF92AD',
493
489
  12: '#FFD5EAFD',
494
490
  };
495
- exports.pinkDarkA = {
491
+ export var pinkDarkA = {
496
492
  1: '#F412BC09',
497
493
  2: '#F420BB12',
498
494
  3: '#FE37CC29',
@@ -506,7 +502,7 @@ exports.pinkDarkA = {
506
502
  11: '#FF8DCC',
507
503
  12: '#FFD3ECFD',
508
504
  };
509
- exports.plumDarkA = {
505
+ export var plumDarkA = {
510
506
  1: '#F112F108',
511
507
  2: '#F22FF211',
512
508
  3: '#FD4CFD27',
@@ -520,7 +516,7 @@ exports.plumDarkA = {
520
516
  11: '#F19CFEF3',
521
517
  12: '#FEDDFEF4',
522
518
  };
523
- exports.purpleDarkA = {
519
+ export var purpleDarkA = {
524
520
  1: '#B412F90B',
525
521
  2: '#B744F714',
526
522
  3: '#C150FF2D',
@@ -534,7 +530,7 @@ exports.purpleDarkA = {
534
530
  11: '#D19DFF',
535
531
  12: '#F1DDFFFA',
536
532
  };
537
- exports.violetDarkA = {
533
+ export var violetDarkA = {
538
534
  1: '#4422FF0F',
539
535
  2: '#853FF916',
540
536
  3: '#8354FE36',
@@ -548,7 +544,7 @@ exports.violetDarkA = {
548
544
  11: '#BAA7FF',
549
545
  12: '#E3DEFFFE',
550
546
  };
551
- exports.irisDarkA = {
547
+ export var irisDarkA = {
552
548
  1: '#3636FE0E',
553
549
  2: '#564BF916',
554
550
  3: '#525BFF3B',
@@ -562,7 +558,7 @@ exports.irisDarkA = {
562
558
  11: '#B1A9FF',
563
559
  12: '#E1E0FFFE',
564
560
  };
565
- exports.indigoDarkA = {
561
+ export var indigoDarkA = {
566
562
  1: '#1133FF0F',
567
563
  2: '#3354FA17',
568
564
  3: '#2F62FF3C',
@@ -576,7 +572,7 @@ exports.indigoDarkA = {
576
572
  11: '#9EB1FF',
577
573
  12: '#D6E1FF',
578
574
  };
579
- exports.blueDarkA = {
575
+ export var blueDarkA = {
580
576
  1: '#004DF211',
581
577
  2: '#1166FB18',
582
578
  3: '#0077FF3A',
@@ -590,7 +586,7 @@ exports.blueDarkA = {
590
586
  11: '#70B8FF',
591
587
  12: '#C2E6FF',
592
588
  };
593
- exports.cyanDarkA = {
589
+ export var cyanDarkA = {
594
590
  1: '#0091F70A',
595
591
  2: '#02A7F211',
596
592
  3: '#00BEFD28',
@@ -604,7 +600,7 @@ exports.cyanDarkA = {
604
600
  11: '#52E1FEE5',
605
601
  12: '#BBF3FEF7',
606
602
  };
607
- exports.tealDarkA = {
603
+ export var tealDarkA = {
608
604
  1: '#00DEAB05',
609
605
  2: '#12FBE60C',
610
606
  3: '#00FFE61E',
@@ -618,7 +614,7 @@ exports.tealDarkA = {
618
614
  11: '#0AFED5D6',
619
615
  12: '#B8FFEBEF',
620
616
  };
621
- exports.jadeDarkA = {
617
+ export var jadeDarkA = {
622
618
  1: '#00DE4505',
623
619
  2: '#27FBA60C',
624
620
  3: '#02F99920',
@@ -632,7 +628,7 @@ exports.jadeDarkA = {
632
628
  11: '#21FEC0D6',
633
629
  12: '#B8FFE1EF',
634
630
  };
635
- exports.greenDarkA = {
631
+ export var greenDarkA = {
636
632
  1: '#00DE4505',
637
633
  2: '#29F99D0B',
638
634
  3: '#22FF991E',
@@ -646,7 +642,7 @@ exports.greenDarkA = {
646
642
  11: '#46FEA5D4',
647
643
  12: '#BBFFD7F0',
648
644
  };
649
- exports.grassDarkA = {
645
+ export var grassDarkA = {
650
646
  1: '#00DE1205',
651
647
  2: '#5EF7780A',
652
648
  3: '#70FE8C1B',
@@ -660,7 +656,7 @@ exports.grassDarkA = {
660
656
  11: '#89FF9FCD',
661
657
  12: '#CEFFCEEF',
662
658
  };
663
- exports.brownDarkA = {
659
+ export var brownDarkA = {
664
660
  1: '#91110002',
665
661
  2: '#FBA67C0C',
666
662
  3: '#FCB58C19',
@@ -674,7 +670,7 @@ exports.brownDarkA = {
674
670
  11: '#FED1AAD9',
675
671
  12: '#FEECD4F2',
676
672
  };
677
- exports.bronzeDarkA = {
673
+ export var bronzeDarkA = {
678
674
  1: '#D1110004',
679
675
  2: '#FBBC910C',
680
676
  3: '#FACEB817',
@@ -688,7 +684,7 @@ exports.bronzeDarkA = {
688
684
  11: '#FFD7C6D1',
689
685
  12: '#FFF1E9EC',
690
686
  };
691
- exports.goldDarkA = {
687
+ export var goldDarkA = {
692
688
  1: '#91911102',
693
689
  2: '#F9E29D0B',
694
690
  3: '#F8ECBB15',
@@ -702,7 +698,7 @@ exports.goldDarkA = {
702
698
  11: '#FEE7C6C8',
703
699
  12: '#FEF7EDE7',
704
700
  };
705
- exports.skyDarkA = {
701
+ export var skyDarkA = {
706
702
  1: '#0044FF0F',
707
703
  2: '#1171FB18',
708
704
  3: '#1184FC33',
@@ -716,7 +712,7 @@ exports.skyDarkA = {
716
712
  11: '#7CD3FFEF',
717
713
  12: '#C2F3FF',
718
714
  };
719
- exports.mintDarkA = {
715
+ export var mintDarkA = {
720
716
  1: '#00DEDE05',
721
717
  2: '#00F9F90B',
722
718
  3: '#00FFF61D',
@@ -730,7 +726,7 @@ exports.mintDarkA = {
730
726
  11: '#67FFDED2',
731
727
  12: '#CBFEE9F5',
732
728
  };
733
- exports.limeDarkA = {
729
+ export var limeDarkA = {
734
730
  1: '#11BB0003',
735
731
  2: '#78F7000A',
736
732
  3: '#9BFD4C1A',
@@ -744,7 +740,7 @@ exports.limeDarkA = {
744
740
  11: '#D1FE77E4',
745
741
  12: '#E9FEBFF7',
746
742
  };
747
- exports.yellowDarkA = {
743
+ export var yellowDarkA = {
748
744
  1: '#D1510004',
749
745
  2: '#F9B4000B',
750
746
  3: '#FFAA001E',
@@ -758,7 +754,7 @@ exports.yellowDarkA = {
758
754
  11: '#FEE949F5',
759
755
  12: '#FEF6BAF6',
760
756
  };
761
- exports.amberDarkA = {
757
+ export var amberDarkA = {
762
758
  1: '#E63C0006',
763
759
  2: '#FD9B000D',
764
760
  3: '#FA820022',
@@ -772,7 +768,7 @@ exports.amberDarkA = {
772
768
  11: '#FFCA16',
773
769
  12: '#FFE7B3',
774
770
  };
775
- exports.orangeDarkA = {
771
+ export var orangeDarkA = {
776
772
  1: '#EC360007',
777
773
  2: '#FE6D000E',
778
774
  3: '#FB6A0025',