@namuna-nur/ui-kit 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (465) hide show
  1. package/README.md +338 -0
  2. package/lib/.gitkeep +0 -0
  3. package/lib/atoms/index.js +39 -0
  4. package/lib/hooks/index.js +8 -0
  5. package/lib/index.d.ts +2 -0
  6. package/lib/index.js +152 -0
  7. package/lib/molecules/index.js +101 -0
  8. package/lib/setupTests.d.ts +0 -0
  9. package/lib/shared/Avatar.tokens.js +7510 -0
  10. package/lib/shared/MessageSettings.tokens.js +8693 -0
  11. package/lib/shared/TabDots.tokens.js +1075 -0
  12. package/lib/shared/twMerge.js +3535 -0
  13. package/lib/shared/useClickOutside.js +16 -0
  14. package/lib/shared/useDebounce.js +15 -0
  15. package/lib/shared/useOption.js +8 -0
  16. package/lib/src/_shared/Accordion.utils.d.ts +15 -0
  17. package/lib/src/_shared/Dropdown.utils.d.ts +27 -0
  18. package/lib/src/_shared/Modal.utils.d.ts +16 -0
  19. package/lib/src/_shared/Popover.utils.d.ts +5 -0
  20. package/lib/src/_shared/Tab.utils.d.ts +6 -0
  21. package/lib/src/_shared/index.d.ts +5 -0
  22. package/lib/src/_shared/types.d.ts +7 -0
  23. package/lib/src/assets/icons/index.d.ts +151 -0
  24. package/lib/src/assets/images/index.d.ts +11 -0
  25. package/lib/src/atoms/Avatar/Avatar.d.ts +2 -0
  26. package/lib/src/atoms/Avatar/Avatar.stories.d.ts +9 -0
  27. package/lib/src/atoms/Avatar/Avatar.test.d.ts +1 -0
  28. package/lib/src/atoms/Avatar/Avatar.tokens.d.ts +8 -0
  29. package/lib/src/atoms/Avatar/Avatar.types.d.ts +24 -0
  30. package/lib/src/atoms/Avatar/index.d.ts +3 -0
  31. package/lib/src/atoms/Button/Button.d.ts +16 -0
  32. package/lib/src/atoms/Button/Button.stories.d.ts +8 -0
  33. package/lib/src/atoms/Button/Button.test.d.ts +1 -0
  34. package/lib/src/atoms/Button/Button.tokens.d.ts +52 -0
  35. package/lib/src/atoms/Button/Button.types.d.ts +23 -0
  36. package/lib/src/atoms/Button/index.d.ts +3 -0
  37. package/lib/src/atoms/Checkbox/Checkbox.d.ts +5 -0
  38. package/lib/src/atoms/Checkbox/Checkbox.stories.d.ts +8 -0
  39. package/lib/src/atoms/Checkbox/Checkbox.test.d.ts +1 -0
  40. package/lib/src/atoms/Checkbox/Checkbox.tokens.d.ts +18 -0
  41. package/lib/src/atoms/Checkbox/Checkbox.types.d.ts +7 -0
  42. package/lib/src/atoms/Checkbox/index.d.ts +3 -0
  43. package/lib/src/atoms/Headline/Headline.d.ts +3 -0
  44. package/lib/src/atoms/Headline/Headline.stories.d.ts +8 -0
  45. package/lib/src/atoms/Headline/Headline.test.d.ts +1 -0
  46. package/lib/src/atoms/Headline/Headline.types.d.ts +13 -0
  47. package/lib/src/atoms/Headline/index.d.ts +2 -0
  48. package/lib/src/atoms/IconButton/IconButton.d.ts +13 -0
  49. package/lib/src/atoms/IconButton/IconButton.stories.d.ts +9 -0
  50. package/lib/src/atoms/IconButton/IconButton.test.d.ts +1 -0
  51. package/lib/src/atoms/IconButton/IconButton.tokens.d.ts +47 -0
  52. package/lib/src/atoms/IconButton/IconButton.types.d.ts +24 -0
  53. package/lib/src/atoms/IconButton/index.d.ts +3 -0
  54. package/lib/src/atoms/Input/Input.d.ts +11 -0
  55. package/lib/src/atoms/Input/Input.stories.d.ts +12 -0
  56. package/lib/src/atoms/Input/Input.test.d.ts +1 -0
  57. package/lib/src/atoms/Input/Input.tokens.d.ts +21 -0
  58. package/lib/src/atoms/Input/Input.types.d.ts +27 -0
  59. package/lib/src/atoms/Input/index.d.ts +3 -0
  60. package/lib/src/atoms/Label/Label.d.ts +4 -0
  61. package/lib/src/atoms/Label/Label.stories.d.ts +6 -0
  62. package/lib/src/atoms/Label/Label.test.d.ts +1 -0
  63. package/lib/src/atoms/Label/Label.tokens.d.ts +2 -0
  64. package/lib/src/atoms/Label/Label.types.d.ts +11 -0
  65. package/lib/src/atoms/Label/index.d.ts +3 -0
  66. package/lib/src/atoms/Message/Message.d.ts +8 -0
  67. package/lib/src/atoms/Message/Message.stories.d.ts +10 -0
  68. package/lib/src/atoms/Message/Message.test.d.ts +1 -0
  69. package/lib/src/atoms/Message/Message.tokens.d.ts +2 -0
  70. package/lib/src/atoms/Message/Message.types.d.ts +38 -0
  71. package/lib/src/atoms/Message/index.d.ts +3 -0
  72. package/lib/src/atoms/Notification/Notification.d.ts +2 -0
  73. package/lib/src/atoms/Notification/Notification.data.d.ts +7 -0
  74. package/lib/src/atoms/Notification/Notification.stories.d.ts +9 -0
  75. package/lib/src/atoms/Notification/Notification.test.d.ts +1 -0
  76. package/lib/src/atoms/Notification/Notification.types.d.ts +8 -0
  77. package/lib/src/atoms/Notification/Notification.utils.d.ts +20 -0
  78. package/lib/src/atoms/Notification/index.d.ts +2 -0
  79. package/lib/src/atoms/Radio/Radio.d.ts +5 -0
  80. package/lib/src/atoms/Radio/Radio.stories.d.ts +7 -0
  81. package/lib/src/atoms/Radio/Radio.test.d.ts +1 -0
  82. package/lib/src/atoms/Radio/Radio.tokens.d.ts +20 -0
  83. package/lib/src/atoms/Radio/Radio.types.d.ts +10 -0
  84. package/lib/src/atoms/Radio/index.d.ts +3 -0
  85. package/lib/src/atoms/Select/Select.d.ts +2 -0
  86. package/lib/src/atoms/Select/Select.stories.d.ts +13 -0
  87. package/lib/src/atoms/Select/Select.test.d.ts +1 -0
  88. package/lib/src/atoms/Select/Select.tokens.d.ts +43 -0
  89. package/lib/src/atoms/Select/Select.types.d.ts +30 -0
  90. package/lib/src/atoms/Select/index.d.ts +3 -0
  91. package/lib/src/atoms/Status/Status.d.ts +2 -0
  92. package/lib/src/atoms/Status/Status.stories.d.ts +9 -0
  93. package/lib/src/atoms/Status/Status.test.d.ts +1 -0
  94. package/lib/src/atoms/Status/Status.tokens.d.ts +10 -0
  95. package/lib/src/atoms/Status/Status.types.d.ts +8 -0
  96. package/lib/src/atoms/Status/index.d.ts +3 -0
  97. package/lib/src/atoms/Switch/Switch.d.ts +8 -0
  98. package/lib/src/atoms/Switch/Switch.stories.d.ts +6 -0
  99. package/lib/src/atoms/Switch/Switch.test.d.ts +1 -0
  100. package/lib/src/atoms/Switch/Switch.tokens.d.ts +2 -0
  101. package/lib/src/atoms/Switch/Switch.types.d.ts +19 -0
  102. package/lib/src/atoms/Switch/index.d.ts +3 -0
  103. package/lib/src/atoms/Tab/Tab.d.ts +10 -0
  104. package/lib/src/atoms/Tab/Tab.stories.d.ts +14 -0
  105. package/lib/src/atoms/Tab/Tab.test.d.ts +1 -0
  106. package/lib/src/atoms/Tab/Tab.tokens.d.ts +31 -0
  107. package/lib/src/atoms/Tab/Tab.types.d.ts +14 -0
  108. package/lib/src/atoms/Tab/index.d.ts +3 -0
  109. package/lib/src/atoms/TabDots/TabDots.d.ts +2 -0
  110. package/lib/src/atoms/TabDots/TabDots.stories.d.ts +5 -0
  111. package/lib/src/atoms/TabDots/TabDots.test.d.ts +1 -0
  112. package/lib/src/atoms/TabDots/TabDots.tokens.d.ts +5 -0
  113. package/lib/src/atoms/TabDots/TabDots.types.d.ts +12 -0
  114. package/lib/src/atoms/TabDots/index.d.ts +3 -0
  115. package/lib/src/atoms/Text/Text.d.ts +2 -0
  116. package/lib/src/atoms/Text/Text.stories.d.ts +10 -0
  117. package/lib/src/atoms/Text/Text.test.d.ts +1 -0
  118. package/lib/src/atoms/Text/Text.types.d.ts +14 -0
  119. package/lib/src/atoms/Text/index.d.ts +2 -0
  120. package/lib/src/atoms/Textarea/Teaxtarea.test.d.ts +1 -0
  121. package/lib/src/atoms/Textarea/Textarea.d.ts +5 -0
  122. package/lib/src/atoms/Textarea/Textarea.stories.d.ts +12 -0
  123. package/lib/src/atoms/Textarea/Textarea.tokens.d.ts +2 -0
  124. package/lib/src/atoms/Textarea/Textarea.types.d.ts +24 -0
  125. package/lib/src/atoms/Textarea/index.d.ts +3 -0
  126. package/lib/src/atoms/Toggle/Toggle.d.ts +11 -0
  127. package/lib/src/atoms/Toggle/Toggle.stories.d.ts +10 -0
  128. package/lib/src/atoms/Toggle/Toggle.test.d.ts +1 -0
  129. package/lib/src/atoms/Toggle/Toggle.tokens.d.ts +2 -0
  130. package/lib/src/atoms/Toggle/Toggle.types.d.ts +15 -0
  131. package/lib/src/atoms/Toggle/index.d.ts +3 -0
  132. package/lib/src/atoms/Tooltip/Tooltip.d.ts +2 -0
  133. package/lib/src/atoms/Tooltip/Tooltip.stories.d.ts +9 -0
  134. package/lib/src/atoms/Tooltip/Tooltip.test.d.ts +1 -0
  135. package/lib/src/atoms/Tooltip/Tooltip.tokens.d.ts +4 -0
  136. package/lib/src/atoms/Tooltip/Tooltip.types.d.ts +8 -0
  137. package/lib/src/atoms/Tooltip/index.d.ts +3 -0
  138. package/lib/src/atoms/index.d.ts +19 -0
  139. package/lib/src/context/use-toast.context.d.ts +10 -0
  140. package/lib/src/hooks/index.d.ts +3 -0
  141. package/lib/src/hooks/use-toast.d.ts +11 -0
  142. package/lib/src/hooks/use-toast.types.d.ts +32 -0
  143. package/lib/src/hooks/useClickOutside.d.ts +2 -0
  144. package/lib/src/hooks/useDebounce.d.ts +1 -0
  145. package/lib/src/hooks/useOption.d.ts +6 -0
  146. package/lib/src/index.d.ts +5 -0
  147. package/lib/src/molecules/Accordion/Accordion.d.ts +2 -0
  148. package/lib/src/molecules/Accordion/Accordion.stories.d.ts +7 -0
  149. package/lib/src/molecules/Accordion/Accordion.test.d.ts +1 -0
  150. package/lib/src/molecules/Accordion/Accordion.tokens.d.ts +19 -0
  151. package/lib/src/molecules/Accordion/Accordion.types.d.ts +27 -0
  152. package/lib/src/molecules/Accordion/index.d.ts +3 -0
  153. package/lib/src/molecules/ApartmentCard/ApartmentCard.d.ts +2 -0
  154. package/lib/src/molecules/ApartmentCard/ApartmentCard.data.d.ts +2 -0
  155. package/lib/src/molecules/ApartmentCard/ApartmentCard.stories.d.ts +5 -0
  156. package/lib/src/molecules/ApartmentCard/ApartmentCard.test.d.ts +1 -0
  157. package/lib/src/molecules/ApartmentCard/ApartmentCard.tokens.d.ts +12 -0
  158. package/lib/src/molecules/ApartmentCard/ApartmentCard.types.d.ts +26 -0
  159. package/lib/src/molecules/ApartmentCard/index.d.ts +3 -0
  160. package/lib/src/molecules/AvatarGroup/AvatarGroup.d.ts +2 -0
  161. package/lib/src/molecules/AvatarGroup/AvatarGroup.stories.d.ts +9 -0
  162. package/lib/src/molecules/AvatarGroup/AvatarGroup.test.d.ts +1 -0
  163. package/lib/src/molecules/AvatarGroup/AvatarGroup.tokens.d.ts +6 -0
  164. package/lib/src/molecules/AvatarGroup/AvatarGroup.types.d.ts +22 -0
  165. package/lib/src/molecules/AvatarGroup/index.d.ts +3 -0
  166. package/lib/src/molecules/Breadcrumb/Breadcrumb.d.ts +4 -0
  167. package/lib/src/molecules/Breadcrumb/Breadcrumb.stories.d.ts +8 -0
  168. package/lib/src/molecules/Breadcrumb/Breadcrumb.test.d.ts +1 -0
  169. package/lib/src/molecules/Breadcrumb/Breadcrumb.tokens.d.ts +7 -0
  170. package/lib/src/molecules/Breadcrumb/Breadcrumb.types.d.ts +16 -0
  171. package/lib/src/molecules/Breadcrumb/Breadcrumb.utils.d.ts +11 -0
  172. package/lib/src/molecules/Breadcrumb/index.d.ts +3 -0
  173. package/lib/src/molecules/CardFiles/CardFiles.d.ts +2 -0
  174. package/lib/src/molecules/CardFiles/CardFiles.stories.d.ts +7 -0
  175. package/lib/src/molecules/CardFiles/CardFiles.test.d.ts +1 -0
  176. package/lib/src/molecules/CardFiles/CardFiles.tokens.d.ts +28 -0
  177. package/lib/src/molecules/CardFiles/CardFiles.types.d.ts +40 -0
  178. package/lib/src/molecules/CardFiles/index.d.ts +3 -0
  179. package/lib/src/molecules/CardServices/CardServices.d.ts +5 -0
  180. package/lib/src/molecules/CardServices/CardServices.stories.d.ts +6 -0
  181. package/lib/src/molecules/CardServices/CardServices.test.d.ts +1 -0
  182. package/lib/src/molecules/CardServices/CardServices.tokens.d.ts +17 -0
  183. package/lib/src/molecules/CardServices/CardServices.types.d.ts +18 -0
  184. package/lib/src/molecules/CardServices/index.d.ts +3 -0
  185. package/lib/src/molecules/ChatButton/ChatButton.d.ts +2 -0
  186. package/lib/src/molecules/ChatButton/ChatButton.stories.d.ts +6 -0
  187. package/lib/src/molecules/ChatButton/ChatButton.test.d.ts +1 -0
  188. package/lib/src/molecules/ChatButton/ChatButton.tokens.d.ts +12 -0
  189. package/lib/src/molecules/ChatButton/ChatButton.types.d.ts +18 -0
  190. package/lib/src/molecules/ChatButton/index.d.ts +3 -0
  191. package/lib/src/molecules/ChatCard/ChatCard.d.ts +3 -0
  192. package/lib/src/molecules/ChatCard/ChatCard.stories.d.ts +8 -0
  193. package/lib/src/molecules/ChatCard/ChatCard.test.d.ts +1 -0
  194. package/lib/src/molecules/ChatCard/ChatCard.tokens.d.ts +9 -0
  195. package/lib/src/molecules/ChatCard/ChatCard.types.d.ts +18 -0
  196. package/lib/src/molecules/ChatCard/index.d.ts +3 -0
  197. package/lib/src/molecules/ChatList/ChatList.d.ts +3 -0
  198. package/lib/src/molecules/ChatList/ChatList.stories.d.ts +5 -0
  199. package/lib/src/molecules/ChatList/ChatList.test.d.ts +1 -0
  200. package/lib/src/molecules/ChatList/ChatList.tokens.d.ts +4 -0
  201. package/lib/src/molecules/ChatList/ChatList.types.d.ts +14 -0
  202. package/lib/src/molecules/ChatList/index.d.ts +3 -0
  203. package/lib/src/molecules/ChatMessage/ChatMessage.d.ts +2 -0
  204. package/lib/src/molecules/ChatMessage/ChatMessage.data.d.ts +3 -0
  205. package/lib/src/molecules/ChatMessage/ChatMessage.stories.d.ts +9 -0
  206. package/lib/src/molecules/ChatMessage/ChatMessage.test.d.ts +1 -0
  207. package/lib/src/molecules/ChatMessage/ChatMessage.tokens.d.ts +6 -0
  208. package/lib/src/molecules/ChatMessage/ChatMessage.types.d.ts +19 -0
  209. package/lib/src/molecules/ChatMessage/index.d.ts +3 -0
  210. package/lib/src/molecules/ChatSidebar/ChatSidebar.d.ts +2 -0
  211. package/lib/src/molecules/ChatSidebar/ChatSidebar.data.d.ts +4 -0
  212. package/lib/src/molecules/ChatSidebar/ChatSidebar.stories.d.ts +36 -0
  213. package/lib/src/molecules/ChatSidebar/ChatSidebar.test.d.ts +1 -0
  214. package/lib/src/molecules/ChatSidebar/ChatSidebar.tokens.d.ts +7 -0
  215. package/lib/src/molecules/ChatSidebar/ChatSidebar.types.d.ts +35 -0
  216. package/lib/src/molecules/ChatSidebar/index.d.ts +3 -0
  217. package/lib/src/molecules/CheckboxGroup/CheckboxGroup.d.ts +2 -0
  218. package/lib/src/molecules/CheckboxGroup/CheckboxGroup.stories.d.ts +8 -0
  219. package/lib/src/molecules/CheckboxGroup/CheckboxGroup.test.d.ts +1 -0
  220. package/lib/src/molecules/CheckboxGroup/CheckboxGroup.tokens.d.ts +16 -0
  221. package/lib/src/molecules/CheckboxGroup/CheckboxGroup.types.d.ts +8 -0
  222. package/lib/src/molecules/CheckboxGroup/index.d.ts +3 -0
  223. package/lib/src/molecules/CommentInput/CommentInput.d.ts +3 -0
  224. package/lib/src/molecules/CommentInput/CommentInput.stories.d.ts +8 -0
  225. package/lib/src/molecules/CommentInput/CommentInput.test.d.ts +1 -0
  226. package/lib/src/molecules/CommentInput/CommentInput.tokens.d.ts +9 -0
  227. package/lib/src/molecules/CommentInput/CommentInput.types.d.ts +29 -0
  228. package/lib/src/molecules/CommentInput/index.d.ts +3 -0
  229. package/lib/src/molecules/CommentList/CommentList.d.ts +3 -0
  230. package/lib/src/molecules/CommentList/CommentList.stories.d.ts +7 -0
  231. package/lib/src/molecules/CommentList/CommentList.test.d.ts +1 -0
  232. package/lib/src/molecules/CommentList/CommentList.tokens.d.ts +35 -0
  233. package/lib/src/molecules/CommentList/CommentList.types.d.ts +21 -0
  234. package/lib/src/molecules/CommentList/index.d.ts +3 -0
  235. package/lib/src/molecules/DateOfBirth/DateOfBirth.d.ts +2 -0
  236. package/lib/src/molecules/DateOfBirth/DateOfBirth.stories.d.ts +10 -0
  237. package/lib/src/molecules/DateOfBirth/DateOfBirth.test.d.ts +1 -0
  238. package/lib/src/molecules/DateOfBirth/DateOfBirth.tokens.d.ts +6 -0
  239. package/lib/src/molecules/DateOfBirth/DateOfBirth.types.d.ts +13 -0
  240. package/lib/src/molecules/DateOfBirth/index.d.ts +3 -0
  241. package/lib/src/molecules/DatePicker/DatePicker.d.ts +2 -0
  242. package/lib/src/molecules/DatePicker/DatePicker.stories.d.ts +8 -0
  243. package/lib/src/molecules/DatePicker/DatePicker.test.d.ts +1 -0
  244. package/lib/src/molecules/DatePicker/DatePicker.tokens.d.ts +57 -0
  245. package/lib/src/molecules/DatePicker/DatePicker.types.d.ts +18 -0
  246. package/lib/src/molecules/DatePicker/index.d.ts +3 -0
  247. package/lib/src/molecules/DeleteMessage/DeleteMessage.d.ts +2 -0
  248. package/lib/src/molecules/DeleteMessage/DeleteMessage.stories.d.ts +6 -0
  249. package/lib/src/molecules/DeleteMessage/DeleteMessage.test.d.ts +1 -0
  250. package/lib/src/molecules/DeleteMessage/DeleteMessage.tokens.d.ts +9 -0
  251. package/lib/src/molecules/DeleteMessage/DeleteMessage.types.d.ts +13 -0
  252. package/lib/src/molecules/DeleteMessage/index.d.ts +3 -0
  253. package/lib/src/molecules/DragAndDrop/DragAndDrop.d.ts +2 -0
  254. package/lib/src/molecules/DragAndDrop/DragAndDrop.stories.d.ts +14 -0
  255. package/lib/src/molecules/DragAndDrop/DragAndDrop.test.d.ts +1 -0
  256. package/lib/src/molecules/DragAndDrop/DragAndDrop.tokens.d.ts +2 -0
  257. package/lib/src/molecules/DragAndDrop/DragAndDrop.types.d.ts +19 -0
  258. package/lib/src/molecules/DragAndDrop/index.d.ts +3 -0
  259. package/lib/src/molecules/Dropdown/Dropdown.d.ts +3 -0
  260. package/lib/src/molecules/Dropdown/Dropdown.stories.d.ts +6 -0
  261. package/lib/src/molecules/Dropdown/Dropdown.test.d.ts +1 -0
  262. package/lib/src/molecules/Dropdown/Dropdown.tokens.d.ts +13 -0
  263. package/lib/src/molecules/Dropdown/Dropdown.types.d.ts +20 -0
  264. package/lib/src/molecules/Dropdown/index.d.ts +3 -0
  265. package/lib/src/molecules/FileUploader/FileUploader.d.ts +2 -0
  266. package/lib/src/molecules/FileUploader/FileUploader.stories.d.ts +7 -0
  267. package/lib/src/molecules/FileUploader/FileUploader.test.d.ts +1 -0
  268. package/lib/src/molecules/FileUploader/FileUploader.tokens.d.ts +19 -0
  269. package/lib/src/molecules/FileUploader/FileUploader.types.d.ts +18 -0
  270. package/lib/src/molecules/FileUploader/index.d.ts +3 -0
  271. package/lib/src/molecules/FilterTable/FilterTable.d.ts +2 -0
  272. package/lib/src/molecules/FilterTable/FilterTable.stories.d.ts +8 -0
  273. package/lib/src/molecules/FilterTable/FilterTable.test.d.ts +1 -0
  274. package/lib/src/molecules/FilterTable/FilterTable.tokens.d.ts +19 -0
  275. package/lib/src/molecules/FilterTable/FilterTable.types.d.ts +35 -0
  276. package/lib/src/molecules/FilterTable/index.d.ts +3 -0
  277. package/lib/src/molecules/IconTitle/IconTitle.d.ts +2 -0
  278. package/lib/src/molecules/IconTitle/IconTitle.stories.d.ts +6 -0
  279. package/lib/src/molecules/IconTitle/IconTitle.test.d.ts +1 -0
  280. package/lib/src/molecules/IconTitle/IconTitle.tokens.d.ts +5 -0
  281. package/lib/src/molecules/IconTitle/IconTitle.types.d.ts +20 -0
  282. package/lib/src/molecules/IconTitle/index.d.ts +3 -0
  283. package/lib/src/molecules/InputGroup/InputGroup.d.ts +2 -0
  284. package/lib/src/molecules/InputGroup/InputGroup.stories.d.ts +11 -0
  285. package/lib/src/molecules/InputGroup/InputGroup.test.d.ts +1 -0
  286. package/lib/src/molecules/InputGroup/InputGroup.tokens.d.ts +34 -0
  287. package/lib/src/molecules/InputGroup/InputGroup.types.d.ts +34 -0
  288. package/lib/src/molecules/InputGroup/index.d.ts +3 -0
  289. package/lib/src/molecules/LabelWithValue/LabelWithValue.d.ts +2 -0
  290. package/lib/src/molecules/LabelWithValue/LabelWithValue.stories.d.ts +5 -0
  291. package/lib/src/molecules/LabelWithValue/LabelWithValue.test.d.ts +1 -0
  292. package/lib/src/molecules/LabelWithValue/LabelWithValue.tokens.d.ts +4 -0
  293. package/lib/src/molecules/LabelWithValue/LabelWithValue.types.d.ts +12 -0
  294. package/lib/src/molecules/LabelWithValue/index.d.ts +3 -0
  295. package/lib/src/molecules/Languages/Languages.d.ts +2 -0
  296. package/lib/src/molecules/Languages/Languages.stories.d.ts +5 -0
  297. package/lib/src/molecules/Languages/Languages.test.d.ts +1 -0
  298. package/lib/src/molecules/Languages/Languages.tokens.d.ts +4 -0
  299. package/lib/src/molecules/Languages/Languages.types.d.ts +23 -0
  300. package/lib/src/molecules/Languages/index.d.ts +3 -0
  301. package/lib/src/molecules/Link/Link.d.ts +2 -0
  302. package/lib/src/molecules/Link/Link.stories.d.ts +7 -0
  303. package/lib/src/molecules/Link/Link.test.d.ts +1 -0
  304. package/lib/src/molecules/Link/Link.tokens.d.ts +9 -0
  305. package/lib/src/molecules/Link/Link.types.d.ts +15 -0
  306. package/lib/src/molecules/Link/index.d.ts +3 -0
  307. package/lib/src/molecules/MessageSettings/MessageSettings.d.ts +2 -0
  308. package/lib/src/molecules/MessageSettings/MessageSettings.stories.d.ts +5 -0
  309. package/lib/src/molecules/MessageSettings/MessageSettings.test.d.ts +1 -0
  310. package/lib/src/molecules/MessageSettings/MessageSettings.tokens.d.ts +13 -0
  311. package/lib/src/molecules/MessageSettings/MessageSettings.types.d.ts +21 -0
  312. package/lib/src/molecules/MessageSettings/MessageSettings.utils.d.ts +2 -0
  313. package/lib/src/molecules/MessageSettings/index.d.ts +3 -0
  314. package/lib/src/molecules/MultiSelect/MultiSelect.d.ts +2 -0
  315. package/lib/src/molecules/MultiSelect/MultiSelect.stories.d.ts +7 -0
  316. package/lib/src/molecules/MultiSelect/MultiSelect.test.d.ts +1 -0
  317. package/lib/src/molecules/MultiSelect/MultiSelect.tokens.d.ts +2 -0
  318. package/lib/src/molecules/MultiSelect/MultiSelect.types.d.ts +60 -0
  319. package/lib/src/molecules/MultiSelect/index.d.ts +3 -0
  320. package/lib/src/molecules/NavButton/NavButton.d.ts +2 -0
  321. package/lib/src/molecules/NavButton/NavButton.stories.d.ts +9 -0
  322. package/lib/src/molecules/NavButton/NavButton.test.d.ts +1 -0
  323. package/lib/src/molecules/NavButton/NavButton.tokens.d.ts +15 -0
  324. package/lib/src/molecules/NavButton/NavButton.types.d.ts +26 -0
  325. package/lib/src/molecules/NavButton/index.d.ts +3 -0
  326. package/lib/src/molecules/Pagination/Pagination.d.ts +2 -0
  327. package/lib/src/molecules/Pagination/Pagination.stories.d.ts +7 -0
  328. package/lib/src/molecules/Pagination/Pagination.test.d.ts +1 -0
  329. package/lib/src/molecules/Pagination/Pagination.tokens.d.ts +28 -0
  330. package/lib/src/molecules/Pagination/Pagination.types.d.ts +16 -0
  331. package/lib/src/molecules/Pagination/Pagination.utils.d.ts +1 -0
  332. package/lib/src/molecules/Pagination/index.d.ts +3 -0
  333. package/lib/src/molecules/PasswordInput/PasswordInput.d.ts +2 -0
  334. package/lib/src/molecules/PasswordInput/PasswordInput.stories.d.ts +12 -0
  335. package/lib/src/molecules/PasswordInput/PasswordInput.test.d.ts +1 -0
  336. package/lib/src/molecules/PasswordInput/PasswordInput.tokens.d.ts +2 -0
  337. package/lib/src/molecules/PasswordInput/PasswordInput.types.d.ts +19 -0
  338. package/lib/src/molecules/PasswordInput/index.d.ts +3 -0
  339. package/lib/src/molecules/PaymentCard/PaymentCard.d.ts +2 -0
  340. package/lib/src/molecules/PaymentCard/PaymentCard.stories.d.ts +5 -0
  341. package/lib/src/molecules/PaymentCard/PaymentCard.test.d.ts +1 -0
  342. package/lib/src/molecules/PaymentCard/PaymentCard.tokens.d.ts +20 -0
  343. package/lib/src/molecules/PaymentCard/PaymentCard.types.d.ts +19 -0
  344. package/lib/src/molecules/PaymentCard/index.d.ts +3 -0
  345. package/lib/src/molecules/PhoneInput/PhoneInput.d.ts +2 -0
  346. package/lib/src/molecules/PhoneInput/PhoneInput.stories.d.ts +10 -0
  347. package/lib/src/molecules/PhoneInput/PhoneInput.test.d.ts +1 -0
  348. package/lib/src/molecules/PhoneInput/PhoneInput.tokens.d.ts +2 -0
  349. package/lib/src/molecules/PhoneInput/PhoneInput.types.d.ts +27 -0
  350. package/lib/src/molecules/PhoneInput/index.d.ts +3 -0
  351. package/lib/src/molecules/Plate/Plate.d.ts +4 -0
  352. package/lib/src/molecules/Plate/Plate.stories.d.ts +7 -0
  353. package/lib/src/molecules/Plate/Plate.test.d.ts +1 -0
  354. package/lib/src/molecules/Plate/Plate.tokens.d.ts +2 -0
  355. package/lib/src/molecules/Plate/Plate.types.d.ts +36 -0
  356. package/lib/src/molecules/Plate/index.d.ts +3 -0
  357. package/lib/src/molecules/RadioGroup/RadioGroup.d.ts +11 -0
  358. package/lib/src/molecules/RadioGroup/RadioGroup.stories.d.ts +7 -0
  359. package/lib/src/molecules/RadioGroup/RadioGroup.test.d.ts +1 -0
  360. package/lib/src/molecules/RadioGroup/RadioGroup.tokens.d.ts +13 -0
  361. package/lib/src/molecules/RadioGroup/RadioGroup.types.d.ts +14 -0
  362. package/lib/src/molecules/RadioGroup/index.d.ts +3 -0
  363. package/lib/src/molecules/SearchInput/SearchInput.d.ts +22 -0
  364. package/lib/src/molecules/SearchInput/SearchInput.stories.d.ts +7 -0
  365. package/lib/src/molecules/SearchInput/SearchInput.test.d.ts +1 -0
  366. package/lib/src/molecules/SearchInput/SearchInput.tokens.d.ts +42 -0
  367. package/lib/src/molecules/SearchInput/SearchInput.types.d.ts +38 -0
  368. package/lib/src/molecules/SearchInput/index.d.ts +3 -0
  369. package/lib/src/molecules/SelectGroup/SelectGroup.d.ts +2 -0
  370. package/lib/src/molecules/SelectGroup/SelectGroup.stories.d.ts +6 -0
  371. package/lib/src/molecules/SelectGroup/SelectGroup.test.d.ts +1 -0
  372. package/lib/src/molecules/SelectGroup/SelectGroup.tokens.d.ts +3 -0
  373. package/lib/src/molecules/SelectGroup/SelectGroup.types.d.ts +12 -0
  374. package/lib/src/molecules/SelectGroup/index.d.ts +3 -0
  375. package/lib/src/molecules/SelectList/SelectList.d.ts +2 -0
  376. package/lib/src/molecules/SelectList/SelectList.stories.d.ts +7 -0
  377. package/lib/src/molecules/SelectList/SelectList.test.d.ts +1 -0
  378. package/lib/src/molecules/SelectList/SelectList.tokens.d.ts +29 -0
  379. package/lib/src/molecules/SelectList/SelectList.types.d.ts +20 -0
  380. package/lib/src/molecules/SelectList/index.d.ts +3 -0
  381. package/lib/src/molecules/ServiceOrders/ServiceOrders.d.ts +2 -0
  382. package/lib/src/molecules/ServiceOrders/ServiceOrders.data.d.ts +2 -0
  383. package/lib/src/molecules/ServiceOrders/ServiceOrders.stories.d.ts +5 -0
  384. package/lib/src/molecules/ServiceOrders/ServiceOrders.test.d.ts +1 -0
  385. package/lib/src/molecules/ServiceOrders/ServiceOrders.tokens.d.ts +11 -0
  386. package/lib/src/molecules/ServiceOrders/ServiceOrders.types.d.ts +19 -0
  387. package/lib/src/molecules/ServiceOrders/index.d.ts +3 -0
  388. package/lib/src/molecules/Sidebar/Sidebar.d.ts +2 -0
  389. package/lib/src/molecules/Sidebar/Sidebar.data.d.ts +2 -0
  390. package/lib/src/molecules/Sidebar/Sidebar.stories.d.ts +7 -0
  391. package/lib/src/molecules/Sidebar/Sidebar.test.d.ts +1 -0
  392. package/lib/src/molecules/Sidebar/Sidebar.tokens.d.ts +12 -0
  393. package/lib/src/molecules/Sidebar/Sidebar.types.d.ts +20 -0
  394. package/lib/src/molecules/Sidebar/Sidebar.utils.d.ts +2 -0
  395. package/lib/src/molecules/Sidebar/index.d.ts +3 -0
  396. package/lib/src/molecules/StatusSelect/StatusSelect.d.ts +2 -0
  397. package/lib/src/molecules/StatusSelect/StatusSelect.stories.d.ts +5 -0
  398. package/lib/src/molecules/StatusSelect/StatusSelect.test.d.ts +1 -0
  399. package/lib/src/molecules/StatusSelect/StatusSelect.tokens.d.ts +28 -0
  400. package/lib/src/molecules/StatusSelect/StatusSelect.types.d.ts +25 -0
  401. package/lib/src/molecules/StatusSelect/index.d.ts +3 -0
  402. package/lib/src/molecules/Stepper/Stepper.d.ts +2 -0
  403. package/lib/src/molecules/Stepper/Stepper.stories.d.ts +8 -0
  404. package/lib/src/molecules/Stepper/Stepper.test.d.ts +1 -0
  405. package/lib/src/molecules/Stepper/Stepper.tokens.d.ts +21 -0
  406. package/lib/src/molecules/Stepper/Stepper.types.d.ts +33 -0
  407. package/lib/src/molecules/Stepper/index.d.ts +3 -0
  408. package/lib/src/molecules/TabGroup/TabGroup.d.ts +3 -0
  409. package/lib/src/molecules/TabGroup/TabGroup.stories.d.ts +6 -0
  410. package/lib/src/molecules/TabGroup/TabGroup.test.d.ts +1 -0
  411. package/lib/src/molecules/TabGroup/TabGroup.tokens.d.ts +26 -0
  412. package/lib/src/molecules/TabGroup/TabGroup.types.d.ts +33 -0
  413. package/lib/src/molecules/TabGroup/TabGroup.utils.d.ts +2 -0
  414. package/lib/src/molecules/TabGroup/index.d.ts +3 -0
  415. package/lib/src/molecules/TabSwitch/TabSwitch.d.ts +3 -0
  416. package/lib/src/molecules/TabSwitch/TabSwitch.stories.d.ts +5 -0
  417. package/lib/src/molecules/TabSwitch/TabSwitch.test.d.ts +1 -0
  418. package/lib/src/molecules/TabSwitch/TabSwitch.tokens.d.ts +10 -0
  419. package/lib/src/molecules/TabSwitch/TabSwitch.types.d.ts +28 -0
  420. package/lib/src/molecules/TabSwitch/TabSwitch.utils.d.ts +2 -0
  421. package/lib/src/molecules/TabSwitch/index.d.ts +3 -0
  422. package/lib/src/molecules/Table/Table.d.ts +2 -0
  423. package/lib/src/molecules/Table/Table.stories.d.ts +5 -0
  424. package/lib/src/molecules/Table/Table.test.d.ts +1 -0
  425. package/lib/src/molecules/Table/Table.tokens.d.ts +14 -0
  426. package/lib/src/molecules/Table/Table.types.d.ts +18 -0
  427. package/lib/src/molecules/Table/index.d.ts +3 -0
  428. package/lib/src/molecules/Table/mocks/data.d.ts +15 -0
  429. package/lib/src/molecules/TextareaGroup/TextareaGroup.d.ts +2 -0
  430. package/lib/src/molecules/TextareaGroup/TextareaGroup.stories.d.ts +8 -0
  431. package/lib/src/molecules/TextareaGroup/TextareaGroup.test.d.ts +1 -0
  432. package/lib/src/molecules/TextareaGroup/TextareaGroup.tokens.d.ts +2 -0
  433. package/lib/src/molecules/TextareaGroup/TextareaGroup.types.d.ts +13 -0
  434. package/lib/src/molecules/TextareaGroup/index.d.ts +3 -0
  435. package/lib/src/molecules/ToggleGroup/ToggleGroup.d.ts +2 -0
  436. package/lib/src/molecules/ToggleGroup/ToggleGroup.stories.d.ts +9 -0
  437. package/lib/src/molecules/ToggleGroup/ToggleGroup.test.d.ts +1 -0
  438. package/lib/src/molecules/ToggleGroup/ToggleGroup.types.d.ts +12 -0
  439. package/lib/src/molecules/ToggleGroup/ToogleGroup.tokens.d.ts +3 -0
  440. package/lib/src/molecules/ToggleGroup/index.d.ts +3 -0
  441. package/lib/src/molecules/UploadInput/UploadInput.d.ts +18 -0
  442. package/lib/src/molecules/UploadInput/UploadInput.stories.d.ts +8 -0
  443. package/lib/src/molecules/UploadInput/UploadInput.test.d.ts +1 -0
  444. package/lib/src/molecules/UploadInput/UploadInput.tokens.d.ts +17 -0
  445. package/lib/src/molecules/UploadInput/UploadInput.types.d.ts +30 -0
  446. package/lib/src/molecules/UploadInput/UploadInput.utils.d.ts +3 -0
  447. package/lib/src/molecules/UploadInput/index.d.ts +3 -0
  448. package/lib/src/molecules/UserContact/UserContact.d.ts +2 -0
  449. package/lib/src/molecules/UserContact/UserContact.stories.d.ts +8 -0
  450. package/lib/src/molecules/UserContact/UserContact.test.d.ts +1 -0
  451. package/lib/src/molecules/UserContact/UserContact.tokens.d.ts +10 -0
  452. package/lib/src/molecules/UserContact/UserContact.types.d.ts +15 -0
  453. package/lib/src/molecules/UserContact/index.d.ts +3 -0
  454. package/lib/src/molecules/index.d.ts +49 -0
  455. package/lib/src/tokens/colors.d.ts +2 -0
  456. package/lib/src/tokens/index.d.ts +3 -0
  457. package/lib/src/tokens/types.d.ts +36 -0
  458. package/lib/src/tokens/typography.d.ts +2 -0
  459. package/lib/src/utils/date.d.ts +1 -0
  460. package/lib/src/utils/index.d.ts +2 -0
  461. package/lib/src/utils/twMerge.d.ts +7 -0
  462. package/lib/tokens/index.js +248 -0
  463. package/lib/utils/index.js +11 -0
  464. package/lib/vite.config.d.ts +2 -0
  465. package/package.json +163 -0
@@ -0,0 +1,31 @@
1
+ export declare const tabTokens: {
2
+ sizes: {
3
+ small: {
4
+ base: string;
5
+ default: string;
6
+ active: string;
7
+ hover: string;
8
+ disabled: string;
9
+ };
10
+ medium: {
11
+ base: string;
12
+ default: string;
13
+ active: string;
14
+ hover: string;
15
+ disabled: string;
16
+ };
17
+ large: {
18
+ base: string;
19
+ default: string;
20
+ active: string;
21
+ hover: string;
22
+ disabled: string;
23
+ };
24
+ };
25
+ focus: string;
26
+ icon: {
27
+ default: string;
28
+ active: string;
29
+ disabled: string;
30
+ };
31
+ };
@@ -0,0 +1,14 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { ButtonHTMLAttributes, FunctionComponent, SVGProps } from 'react';
3
+ import { Tab } from './Tab';
4
+ export type TabStory = StoryObj<typeof Tab>;
5
+ export type TabProps = ButtonHTMLAttributes<HTMLButtonElement> & {
6
+ variant?: 'small' | 'large' | 'medium';
7
+ icon?: FunctionComponent<SVGProps<SVGSVGElement>>;
8
+ active?: boolean;
9
+ iconDimensions?: {
10
+ height?: number;
11
+ width?: number;
12
+ viewBox?: string;
13
+ };
14
+ };
@@ -0,0 +1,3 @@
1
+ export { Tab } from './Tab';
2
+ export { tabTokens } from './Tab.tokens';
3
+ export type * from './Tab.types';
@@ -0,0 +1,2 @@
1
+ import { TabDotsProps } from '..';
2
+ export declare const TabDots: ({ value, onValueChange, classNames, count, ...props }: TabDotsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { TabDots, TabDotsStory } from '..';
3
+ declare const meta: Meta<typeof TabDots>;
4
+ export default meta;
5
+ export declare const Progressive: TabDotsStory;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const tabDotsTokens: {
2
+ container: string;
3
+ dot: string;
4
+ dotActive: string;
5
+ };
@@ -0,0 +1,12 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { TabDots } from '..';
3
+ export type TabDotsProps = {
4
+ value: string;
5
+ onValueChange?: (value: string) => void;
6
+ count?: number;
7
+ classNames?: {
8
+ container?: string;
9
+ trigger?: string;
10
+ };
11
+ };
12
+ export type TabDotsStory = StoryObj<typeof TabDots>;
@@ -0,0 +1,3 @@
1
+ export { TabDots } from './TabDots';
2
+ export * from './TabDots.tokens';
3
+ export type * from './TabDots.types';
@@ -0,0 +1,2 @@
1
+ import { TextProps } from './Text.types';
2
+ export declare const Text: React.FC<TextProps>;
@@ -0,0 +1,10 @@
1
+ import { Meta } from '@storybook/react-vite';
2
+ import { Text } from './Text';
3
+ import { TextStory } from './Text.types';
4
+ declare const meta: Meta<typeof Text>;
5
+ export declare const Regular: TextStory;
6
+ export declare const Medium: TextStory;
7
+ export declare const Semibold: TextStory;
8
+ export declare const Bold: TextStory;
9
+ export declare const Black: TextStory;
10
+ export default meta;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { ReactNode } from 'react';
3
+ import { Text } from './Text';
4
+ import { TypographyTokens } from '../../tokens';
5
+ export type TextStory = StoryObj<typeof Text>;
6
+ export type TextInlineVariant = keyof TypographyTokens['textStyles']['inline'];
7
+ export type TextSize = keyof TypographyTokens['textStyles']['inline'];
8
+ export type TextWeight = `font-${Extract<keyof TypographyTokens['fontWeight'], string>}`;
9
+ export type TextProps = {
10
+ variant?: TextInlineVariant;
11
+ className?: string;
12
+ children: ReactNode | string | null;
13
+ onClick?: () => void;
14
+ };
@@ -0,0 +1,2 @@
1
+ export { Text } from './Text';
2
+ export type * from './Text.types';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export declare const Textarea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
3
+ status?: import('..').TextareaMessageType;
4
+ message?: string;
5
+ } & React.RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,12 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { Textarea, TextareaStory } from '..';
3
+ declare const meta: Meta<typeof Textarea>;
4
+ export declare const Default: TextareaStory;
5
+ export declare const Focus: TextareaStory;
6
+ export declare const Filled: TextareaStory;
7
+ export declare const Disabled: TextareaStory;
8
+ export declare const Danger: TextareaStory;
9
+ export declare const Info: TextareaStory;
10
+ export declare const Success: TextareaStory;
11
+ export declare const AutoGrowed: TextareaStory;
12
+ export default meta;
@@ -0,0 +1,2 @@
1
+ import { TextareaTokens } from '..';
2
+ export declare const textareaTokens: TextareaTokens;
@@ -0,0 +1,24 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { TextareaHTMLAttributes } from 'react';
3
+ import { Textarea } from '..';
4
+ export type TextareaStory = StoryObj<typeof Textarea>;
5
+ export type TextareaMessageType = 'success' | 'danger' | 'info';
6
+ export type TextareaTokens = {
7
+ root: string;
8
+ base: string;
9
+ disabled: string;
10
+ messageContainer: string;
11
+ styles: Record<TextareaMessageType, string>;
12
+ icon: {
13
+ input: string;
14
+ base: string;
15
+ parent: string;
16
+ };
17
+ state: Record<'focus' | 'hover', string>;
18
+ message: Record<TextareaMessageType, string>;
19
+ maxLength: string;
20
+ };
21
+ export type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & {
22
+ status?: TextareaMessageType;
23
+ message?: string;
24
+ };
@@ -0,0 +1,3 @@
1
+ export { Textarea } from './Textarea';
2
+ export * from './Textarea.tokens';
3
+ export type * from './Textarea.types';
@@ -0,0 +1,11 @@
1
+ import * as SwitchPrimitives from '@radix-ui/react-switch';
2
+ import * as React from 'react';
3
+ export declare const Toggle: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.InputHTMLAttributes<HTMLInputElement> & {
4
+ label?: string;
5
+ labelPosition?: "left" | "right";
6
+ classNames?: {
7
+ base?: string;
8
+ label?: string;
9
+ thumb?: string;
10
+ };
11
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { Toggle } from './Toggle';
3
+ declare const meta: Meta<typeof Toggle>;
4
+ type Story = StoryObj<typeof Toggle>;
5
+ export declare const Default: Story;
6
+ export declare const Checked: Story;
7
+ export declare const Disabled: Story;
8
+ export declare const WithLabelLeft: Story;
9
+ export declare const WithLabelRight: Story;
10
+ export default meta;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ToggleTokens } from '..';
2
+ export declare const toggleTokens: ToggleTokens;
@@ -0,0 +1,15 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ export type ToggleTokens = {
3
+ label: string;
4
+ base: string;
5
+ thumb: string;
6
+ };
7
+ export type ToggleProps = InputHTMLAttributes<HTMLInputElement> & {
8
+ label?: string;
9
+ labelPosition?: 'left' | 'right';
10
+ classNames?: {
11
+ base?: string;
12
+ label?: string;
13
+ thumb?: string;
14
+ };
15
+ };
@@ -0,0 +1,3 @@
1
+ export { Toggle } from './Toggle';
2
+ export * from './Toggle.tokens';
3
+ export type * from './Toggle.types';
@@ -0,0 +1,2 @@
1
+ import { TooltipProps } from '..';
2
+ export declare const Tooltip: React.FC<TooltipProps>;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { Tooltip } from './Tooltip';
3
+ type Story = StoryObj<typeof Tooltip>;
4
+ declare const meta: Meta<typeof Tooltip>;
5
+ export declare const Top: Story;
6
+ export declare const Right: Story;
7
+ export declare const Bottom: Story;
8
+ export declare const Left: Story;
9
+ export default meta;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const tooltipTokens: {
2
+ content: string;
3
+ arrow: string;
4
+ };
@@ -0,0 +1,8 @@
1
+ export type TooltipProps = {
2
+ children: React.ReactNode | string;
3
+ className?: string;
4
+ defaultOpen?: boolean;
5
+ side?: 'top' | 'right' | 'bottom' | 'left';
6
+ content: string;
7
+ delayDuration?: number;
8
+ };
@@ -0,0 +1,3 @@
1
+ export { Tooltip } from './Tooltip';
2
+ export type * from './Tooltip.types';
3
+ export * from './Tooltip.tokens';
@@ -0,0 +1,19 @@
1
+ export * from './Button';
2
+ export * from './IconButton';
3
+ export * from './Checkbox';
4
+ export * from './Headline';
5
+ export * from './Input';
6
+ export * from './Label';
7
+ export * from './Notification';
8
+ export * from './Message';
9
+ export * from './Radio';
10
+ export * from './Status';
11
+ export * from './Switch';
12
+ export * from './Tab';
13
+ export * from './Text';
14
+ export * from './Textarea';
15
+ export * from './Toggle';
16
+ export * from './Tooltip';
17
+ export * from './Select';
18
+ export * from './Avatar';
19
+ export * from './TabDots';
@@ -0,0 +1,10 @@
1
+ import { Action, State, Toast, ToastNotification } from '../hooks/use-toast.types';
2
+ export declare const reducer: (state: State, action: Action) => State;
3
+ export declare const listeners: ((state: State) => void)[];
4
+ export declare let memoryState: State;
5
+ export declare const toastDispatch: (action: Action) => void;
6
+ export declare const toast: ({ ...props }: Toast) => {
7
+ id: string;
8
+ dismiss: () => void;
9
+ update: (props: ToastNotification) => void;
10
+ };
@@ -0,0 +1,3 @@
1
+ export * from './useClickOutside';
2
+ export * from './useOption';
3
+ export * from './useDebounce';
@@ -0,0 +1,11 @@
1
+ import { toast } from '../context/use-toast.context';
2
+ declare const useToast: () => {
3
+ toast: ({ ...props }: import('./use-toast.types').Toast) => {
4
+ id: string;
5
+ dismiss: () => void;
6
+ update: (props: import('./use-toast.types').ToastNotification) => void;
7
+ };
8
+ dismiss: (toastId?: string) => void;
9
+ toasts: import('./use-toast.types').ToastNotification[];
10
+ };
11
+ export { useToast, toast };
@@ -0,0 +1,32 @@
1
+ import { ToastActionElement, ToastProps } from '../atoms/Notification/Notification.utils';
2
+ export declare const TOAST_LIMIT = 1;
3
+ export declare const TOAST_REMOVE_DELAY = 1000000;
4
+ export type ToastNotification = ToastProps & {
5
+ id: string;
6
+ title?: React.ReactNode;
7
+ description?: React.ReactNode;
8
+ action?: ToastActionElement;
9
+ };
10
+ export declare enum ActionType {
11
+ ADD_TOAST = "ADD_TOAST",
12
+ UPDATE_TOAST = "UPDATE_TOAST",
13
+ DISMISS_TOAST = "DISMISS_TOAST",
14
+ REMOVE_TOAST = "REMOVE_TOAST"
15
+ }
16
+ export type Action = {
17
+ type: ActionType.ADD_TOAST;
18
+ toast: ToastNotification;
19
+ } | {
20
+ type: ActionType.UPDATE_TOAST;
21
+ toast: Partial<ToastNotification>;
22
+ } | {
23
+ type: ActionType.DISMISS_TOAST;
24
+ toastId?: ToastNotification['id'];
25
+ } | {
26
+ type: ActionType.REMOVE_TOAST;
27
+ toastId?: ToastNotification['id'];
28
+ };
29
+ export type State = {
30
+ toasts: ToastNotification[];
31
+ };
32
+ export type Toast = Omit<ToastNotification, 'id'>;
@@ -0,0 +1,2 @@
1
+ import { RefObject } from 'react';
2
+ export declare const useClickOutside: (ref: RefObject<HTMLElement | null>, onClose: () => void) => void;
@@ -0,0 +1 @@
1
+ export declare const useDebounce: <T>(value: T, delay: number) => T;
@@ -0,0 +1,6 @@
1
+ type DropdownOption = {
2
+ label: string;
3
+ value: string;
4
+ };
5
+ export declare const useOption: (options: DropdownOption[]) => ((value: string) => DropdownOption | undefined);
6
+ export {};
@@ -0,0 +1,5 @@
1
+ export * from './atoms';
2
+ export * from './hooks';
3
+ export * from './molecules';
4
+ export * from './tokens';
5
+ export * from './utils';
@@ -0,0 +1,2 @@
1
+ import { AccordionProps } from '..';
2
+ export declare const Accordion: ({ isOpen, children, icon: Icon, iconSizes, disabled, title, subtitle, classNames, onClick, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { Accordion, AccordionStory } from '..';
3
+ declare const meta: Meta<typeof Accordion>;
4
+ export declare const Default: AccordionStory;
5
+ export declare const WithIcon: AccordionStory;
6
+ export declare const Disabled: AccordionStory;
7
+ export default meta;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,19 @@
1
+ export declare const accordionTokens: {
2
+ root: string;
3
+ icon: string;
4
+ header: {
5
+ base: string;
6
+ title: string;
7
+ opened: string;
8
+ hover: string;
9
+ disabled: string;
10
+ };
11
+ content: {
12
+ base: string;
13
+ opened: string;
14
+ closed: string;
15
+ };
16
+ titlesWrapper: string;
17
+ title: string;
18
+ subtitle: string;
19
+ };
@@ -0,0 +1,27 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { ButtonHTMLAttributes, FunctionComponent, SVGProps } from 'react';
3
+ import { Accordion } from './Accordion';
4
+ export type AccordionStory = StoryObj<typeof Accordion>;
5
+ export type AccordionClassNames = {
6
+ root?: string;
7
+ header?: string;
8
+ icon?: string;
9
+ wrapperTitles?: string;
10
+ title?: string;
11
+ subtitle?: string;
12
+ content?: string;
13
+ };
14
+ export type AccordionIconSizes = {
15
+ width?: number | string;
16
+ height?: number | string;
17
+ viewBox?: string;
18
+ };
19
+ export type AccordionProps = ButtonHTMLAttributes<HTMLButtonElement> & {
20
+ isOpen: boolean;
21
+ icon?: FunctionComponent<SVGProps<SVGSVGElement>>;
22
+ iconSizes?: AccordionIconSizes;
23
+ disabled?: boolean;
24
+ title?: string;
25
+ subtitle?: string;
26
+ classNames?: AccordionClassNames;
27
+ };
@@ -0,0 +1,3 @@
1
+ export { Accordion } from './Accordion';
2
+ export * from './Accordion.tokens';
3
+ export type * from './Accordion.types';
@@ -0,0 +1,2 @@
1
+ import { ApartmentCardProps } from '..';
2
+ export declare const ApartmentCard: ({ title, options, icon, iconDimensions, classNames, }: ApartmentCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ApartmentCardDataTypes } from '..';
2
+ export declare const apartmentCardData: ApartmentCardDataTypes[];
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { ApartmentCard, ApartmentCardStory } from '..';
3
+ declare const meta: Meta<typeof ApartmentCard>;
4
+ export declare const Default: ApartmentCardStory;
5
+ export default meta;
@@ -0,0 +1,12 @@
1
+ export declare const apartmentCardTokens: {
2
+ container: string;
3
+ header: string;
4
+ body: string;
5
+ bodyItem: string;
6
+ title: string;
7
+ subTitle: string;
8
+ items: string;
9
+ item: string;
10
+ link: string;
11
+ heraderIcon: string;
12
+ };
@@ -0,0 +1,26 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { FunctionComponent, SVGProps } from 'react';
3
+ import { ApartmentCard } from '..';
4
+ export type ApartmentCardStory = StoryObj<typeof ApartmentCard>;
5
+ export type ApartmentCardDataTypes = {
6
+ sectionTitle?: string;
7
+ sectionSubtitle?: string;
8
+ items?: {
9
+ subtitle?: string;
10
+ link?: string;
11
+ url?: string;
12
+ }[];
13
+ };
14
+ export type ApartmentCardProps = {
15
+ title: string;
16
+ options: ApartmentCardDataTypes[];
17
+ icon?: FunctionComponent<SVGProps<SVGSVGElement>>;
18
+ iconDimensions?: {
19
+ height: number;
20
+ width: number;
21
+ viewBox?: string;
22
+ };
23
+ classNames?: {
24
+ root?: string;
25
+ };
26
+ };
@@ -0,0 +1,3 @@
1
+ export { ApartmentCard } from './ApartmentCard';
2
+ export * from './ApartmentCard.tokens';
3
+ export type * from './ApartmentCard.types';
@@ -0,0 +1,2 @@
1
+ import { AvatarGroupProps } from '..';
2
+ export declare const AvatarGroup: React.FC<AvatarGroupProps>;
@@ -0,0 +1,9 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { AvatarGroup, AvatarGroupPropsStory } from '..';
3
+ declare const meta: Meta<typeof AvatarGroup>;
4
+ export declare const Default: AvatarGroupPropsStory;
5
+ export declare const WithPhoto: AvatarGroupPropsStory;
6
+ export declare const WithLink: AvatarGroupPropsStory;
7
+ export declare const PositionLeft: AvatarGroupPropsStory;
8
+ export declare const PositionLeftWithPhoto: AvatarGroupPropsStory;
9
+ export default meta;
@@ -0,0 +1,6 @@
1
+ export declare const avatarTokens: {
2
+ root: string;
3
+ textWrapper: string;
4
+ fullName: string;
5
+ jobTitle: string;
6
+ };
@@ -0,0 +1,22 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { AvatarGroup } from './AvatarGroup';
3
+ import { AvatarProps } from '../../atoms';
4
+ import { LinkProps } from '..';
5
+ export type AvatarGroupPropsStory = StoryObj<typeof AvatarGroup>;
6
+ export type AvatarGroupClassNames = {
7
+ root?: string;
8
+ textWrapper?: string;
9
+ fullName?: string;
10
+ jobTitle?: string;
11
+ };
12
+ export type AvatarGroupProps = {
13
+ fullName: string;
14
+ jobTitle?: string;
15
+ position?: 'left' | 'right';
16
+ classNames?: AvatarGroupClassNames;
17
+ avatarProps?: AvatarProps;
18
+ linkProps?: LinkProps;
19
+ element?: React.ReactNode;
20
+ isActive?: boolean;
21
+ onClick?: () => void;
22
+ };
@@ -0,0 +1,3 @@
1
+ export { AvatarGroup } from './AvatarGroup';
2
+ export * from './AvatarGroup.tokens';
3
+ export type * from './AvatarGroup.types';
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { BreadcrumbItemProps, BreadcrumbProps } from '..';
3
+ export declare const Breadcrumb: React.FC<BreadcrumbProps>;
4
+ export declare const BreadcrumbItem: React.FC<BreadcrumbItemProps>;
@@ -0,0 +1,8 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { Breadcrumb } from './Breadcrumb';
3
+ import { BreadcrumbStory } from './Breadcrumb.types';
4
+ declare const meta: Meta<typeof Breadcrumb>;
5
+ export declare const SingleBreadcrumb: BreadcrumbStory;
6
+ export declare const LongBreadcrumb: BreadcrumbStory;
7
+ export declare const LongBreadcrumbDisabled: BreadcrumbStory;
8
+ export default meta;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const breadcrumnbTokens: {
2
+ list: string;
3
+ item: string;
4
+ link: string;
5
+ page: string;
6
+ separator: string;
7
+ };
@@ -0,0 +1,16 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { Breadcrumb } from './Breadcrumb';
3
+ export type BreadcrumbProps = {
4
+ paths: {
5
+ label: string;
6
+ href: string;
7
+ disabled?: boolean;
8
+ }[];
9
+ };
10
+ export type BreadcrumbItemProps = {
11
+ label: string;
12
+ href: string;
13
+ isLast: boolean;
14
+ disabled?: boolean;
15
+ };
16
+ export type BreadcrumbStory = StoryObj<typeof Breadcrumb>;