@customafk/lunas-ui 0.0.21 → 0.0.23

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 (814) hide show
  1. package/dist/add-new-CVQQRkB9.js +2 -0
  2. package/dist/add-new-CVQQRkB9.js.map +1 -0
  3. package/dist/{add-new-BTpI7Ph7.cjs → add-new-CmzfSaTJ.cjs} +2 -2
  4. package/dist/add-new-CmzfSaTJ.cjs.map +1 -0
  5. package/dist/alert-dialog-CNHyP_A9.js +2 -0
  6. package/dist/alert-dialog-CNHyP_A9.js.map +1 -0
  7. package/dist/alert-dialog-D-oR0YW3.cjs +2 -0
  8. package/dist/alert-dialog-D-oR0YW3.cjs.map +1 -0
  9. package/dist/{badge-DHRQ-uwY.cjs → badge-D4NxkKeN.cjs} +1 -1
  10. package/dist/badge-D4NxkKeN.cjs.map +1 -0
  11. package/dist/{badge-bLqn3EB9.js → badge-DzKUgC8v.js} +1 -1
  12. package/dist/badge-DzKUgC8v.js.map +1 -0
  13. package/dist/button-BSGNpclh.cjs +2 -0
  14. package/dist/button-BSGNpclh.cjs.map +1 -0
  15. package/dist/{button-CqGv362j.d.cts → button-BajtMcjb.d.cts} +7 -5
  16. package/dist/button-CnMfXTBU.js +2 -0
  17. package/dist/button-CnMfXTBU.js.map +1 -0
  18. package/dist/{button-CFhTSUSV.d.ts → button-DLZoEj48.d.ts} +7 -5
  19. package/dist/{calendar-Cck0PPMB.cjs → calendar-B8IKzrdN.cjs} +2 -2
  20. package/dist/calendar-B8IKzrdN.cjs.map +1 -0
  21. package/dist/{calendar-BG-jrCZc.js → calendar-CbuOOMpK.js} +2 -2
  22. package/dist/calendar-CbuOOMpK.js.map +1 -0
  23. package/dist/card-CgQjctUE.js +2 -0
  24. package/dist/card-CgQjctUE.js.map +1 -0
  25. package/dist/card-DYVCumPc.cjs +2 -0
  26. package/dist/card-DYVCumPc.cjs.map +1 -0
  27. package/dist/cards/simple-card.cjs +1 -1
  28. package/dist/cards/simple-card.cjs.map +1 -1
  29. package/dist/cards/simple-card.js +1 -1
  30. package/dist/cards/simple-card.js.map +1 -1
  31. package/dist/{command-ChE1SC-Q.d.cts → command-80QuD-XX.d.ts} +12 -13
  32. package/dist/command-CoB5R5FI.cjs +2 -0
  33. package/dist/command-CoB5R5FI.cjs.map +1 -0
  34. package/dist/{command-DK3Z1Vcb.d.ts → command-DvCEx-HX.d.cts} +12 -13
  35. package/dist/command-TFZwJmux.js +2 -0
  36. package/dist/command-TFZwJmux.js.map +1 -0
  37. package/dist/data-display/country.cjs +1 -1
  38. package/dist/data-display/country.cjs.map +1 -1
  39. package/dist/data-display/country.js +1 -1
  40. package/dist/data-display/country.js.map +1 -1
  41. package/dist/data-display/data-list.cjs +1 -1
  42. package/dist/data-display/data-list.cjs.map +1 -1
  43. package/dist/data-display/data-list.d.cts +0 -2
  44. package/dist/data-display/data-list.d.ts +0 -2
  45. package/dist/data-display/data-list.js +1 -1
  46. package/dist/data-display/data-list.js.map +1 -1
  47. package/dist/data-display/date-tooltip.cjs +1 -1
  48. package/dist/data-display/date-tooltip.cjs.map +1 -1
  49. package/dist/data-display/date-tooltip.js +1 -1
  50. package/dist/data-display/date-tooltip.js.map +1 -1
  51. package/dist/data-display/date.cjs +1 -1
  52. package/dist/data-display/date.d.cts +1 -1
  53. package/dist/data-display/date.d.ts +1 -1
  54. package/dist/data-display/date.js +1 -1
  55. package/dist/data-display/empty.cjs +1 -1
  56. package/dist/data-display/empty.cjs.map +1 -1
  57. package/dist/data-display/empty.d.cts +2 -2
  58. package/dist/data-display/empty.d.ts +2 -2
  59. package/dist/data-display/empty.js +1 -1
  60. package/dist/data-display/empty.js.map +1 -1
  61. package/dist/data-display/name.cjs +1 -1
  62. package/dist/data-display/name.cjs.map +1 -1
  63. package/dist/data-display/name.js +1 -1
  64. package/dist/data-display/name.js.map +1 -1
  65. package/dist/data-display/phone-number.cjs +1 -1
  66. package/dist/data-display/phone-number.cjs.map +1 -1
  67. package/dist/data-display/phone-number.js +1 -1
  68. package/dist/data-display/phone-number.js.map +1 -1
  69. package/dist/data-display/role-badge.cjs +1 -1
  70. package/dist/data-display/role-badge.cjs.map +1 -1
  71. package/dist/data-display/role-badge.js +1 -1
  72. package/dist/data-display/role-badge.js.map +1 -1
  73. package/dist/data-display/statistic.cjs +1 -1
  74. package/dist/data-display/statistic.cjs.map +1 -1
  75. package/dist/data-display/statistic.d.cts +4 -4
  76. package/dist/data-display/statistic.d.ts +4 -4
  77. package/dist/data-display/statistic.js +1 -1
  78. package/dist/data-display/statistic.js.map +1 -1
  79. package/dist/{date-B1g1OMYc.js → date-BMq_DNsv.js} +1 -1
  80. package/dist/date-BMq_DNsv.js.map +1 -0
  81. package/dist/{date-Cw6Jf7k6.cjs → date-nd8WkPlx.cjs} +1 -1
  82. package/dist/date-nd8WkPlx.cjs.map +1 -0
  83. package/dist/{dialog-DoFMLK7H.d.cts → dialog-BInoLe-Q.d.ts} +12 -13
  84. package/dist/dialog-CSDDiHKO.js +2 -0
  85. package/dist/dialog-CSDDiHKO.js.map +1 -0
  86. package/dist/dialog-_Cgij9NP.cjs +2 -0
  87. package/dist/dialog-_Cgij9NP.cjs.map +1 -0
  88. package/dist/{dialog-BfAIULbh.d.ts → dialog-xylwF4m7.d.cts} +12 -13
  89. package/dist/dialogs/confirm-dialog.cjs +1 -1
  90. package/dist/dialogs/confirm-dialog.cjs.map +1 -1
  91. package/dist/dialogs/confirm-dialog.js +1 -1
  92. package/dist/dialogs/confirm-dialog.js.map +1 -1
  93. package/dist/dialogs/detail-dialog/component/sidebar.cjs +1 -1
  94. package/dist/dialogs/detail-dialog/component/sidebar.d.cts +43 -43
  95. package/dist/dialogs/detail-dialog/component/sidebar.d.ts +43 -43
  96. package/dist/dialogs/detail-dialog/component/sidebar.js +1 -1
  97. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  98. package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
  99. package/dist/dialogs/detail-dialog/index.js +1 -1
  100. package/dist/dialogs/detail-dialog/index.js.map +1 -1
  101. package/dist/dialogs/error-dialog.cjs +1 -1
  102. package/dist/dialogs/error-dialog.js +1 -1
  103. package/dist/dialogs/form-dialog.cjs +1 -1
  104. package/dist/dialogs/form-dialog.cjs.map +1 -1
  105. package/dist/dialogs/form-dialog.d.cts +3 -3
  106. package/dist/dialogs/form-dialog.d.ts +3 -3
  107. package/dist/dialogs/form-dialog.js +1 -1
  108. package/dist/dialogs/form-dialog.js.map +1 -1
  109. package/dist/dialogs/loading-dialog.cjs +1 -1
  110. package/dist/dialogs/loading-dialog.cjs.map +1 -1
  111. package/dist/dialogs/loading-dialog.js +1 -1
  112. package/dist/dialogs/loading-dialog.js.map +1 -1
  113. package/dist/dropdown-menu-BnfaOPEM.cjs +2 -0
  114. package/dist/dropdown-menu-BnfaOPEM.cjs.map +1 -0
  115. package/dist/dropdown-menu-D5uG4HZA.js +2 -0
  116. package/dist/dropdown-menu-D5uG4HZA.js.map +1 -0
  117. package/dist/{error-dialog-OeWIgIvF.cjs → error-dialog-D5R5le-W.cjs} +2 -2
  118. package/dist/error-dialog-D5R5le-W.cjs.map +1 -0
  119. package/dist/{error-dialog-Dg_OHJlH.js → error-dialog-Q99thrSD.js} +2 -2
  120. package/dist/error-dialog-Q99thrSD.js.map +1 -0
  121. package/dist/{flex-B5MQmxX8.cjs → flex-CNA_SId-.cjs} +1 -1
  122. package/dist/flex-CNA_SId-.cjs.map +1 -0
  123. package/dist/{flex-CBAzUoXK.js → flex-ILvQrYMJ.js} +1 -1
  124. package/dist/flex-ILvQrYMJ.js.map +1 -0
  125. package/dist/{form-BbU1TIro.cjs → form-CHs85hm6.cjs} +2 -2
  126. package/dist/form-CHs85hm6.cjs.map +1 -0
  127. package/dist/{form-BMnG2xLt.js → form-tabDlutX.js} +2 -2
  128. package/dist/form-tabDlutX.js.map +1 -0
  129. package/dist/{form-wrapper-wHzrskjb.js → form-wrapper-C2xlvWx0.js} +2 -2
  130. package/dist/form-wrapper-C2xlvWx0.js.map +1 -0
  131. package/dist/{form-wrapper-DeSGl64P.cjs → form-wrapper-CY-stRaQ.cjs} +2 -2
  132. package/dist/form-wrapper-CY-stRaQ.cjs.map +1 -0
  133. package/dist/forms/combobox-field.cjs +1 -1
  134. package/dist/forms/combobox-field.cjs.map +1 -1
  135. package/dist/forms/combobox-field.d.cts +2 -2
  136. package/dist/forms/combobox-field.d.ts +2 -2
  137. package/dist/forms/combobox-field.js +1 -1
  138. package/dist/forms/combobox-field.js.map +1 -1
  139. package/dist/forms/date-field.cjs +1 -1
  140. package/dist/forms/date-field.cjs.map +1 -1
  141. package/dist/forms/date-field.d.ts +2 -2
  142. package/dist/forms/date-field.js +1 -1
  143. package/dist/forms/date-field.js.map +1 -1
  144. package/dist/forms/form-wrapper.cjs +1 -1
  145. package/dist/forms/form-wrapper.d.cts +3 -3
  146. package/dist/forms/form-wrapper.d.ts +3 -3
  147. package/dist/forms/form-wrapper.js +1 -1
  148. package/dist/forms/multi-select-field.cjs +1 -1
  149. package/dist/forms/multi-select-field.cjs.map +1 -1
  150. package/dist/forms/multi-select-field.d.cts +2 -2
  151. package/dist/forms/multi-select-field.d.ts +2 -2
  152. package/dist/forms/multi-select-field.js +1 -1
  153. package/dist/forms/multi-select-field.js.map +1 -1
  154. package/dist/forms/number-field.cjs +1 -1
  155. package/dist/forms/number-field.cjs.map +1 -1
  156. package/dist/forms/number-field.d.cts +2 -2
  157. package/dist/forms/number-field.d.ts +2 -2
  158. package/dist/forms/number-field.js +1 -1
  159. package/dist/forms/number-field.js.map +1 -1
  160. package/dist/forms/password-field.cjs +1 -1
  161. package/dist/forms/password-field.cjs.map +1 -1
  162. package/dist/forms/password-field.d.cts +2 -2
  163. package/dist/forms/password-field.d.ts +2 -2
  164. package/dist/forms/password-field.js +1 -1
  165. package/dist/forms/password-field.js.map +1 -1
  166. package/dist/forms/select-field.cjs +1 -1
  167. package/dist/forms/select-field.cjs.map +1 -1
  168. package/dist/forms/select-field.d.cts +2 -2
  169. package/dist/forms/select-field.d.ts +2 -2
  170. package/dist/forms/select-field.js +1 -1
  171. package/dist/forms/select-field.js.map +1 -1
  172. package/dist/forms/switch-field.cjs +1 -1
  173. package/dist/forms/switch-field.cjs.map +1 -1
  174. package/dist/forms/switch-field.d.cts +2 -2
  175. package/dist/forms/switch-field.d.ts +2 -2
  176. package/dist/forms/switch-field.js +1 -1
  177. package/dist/forms/switch-field.js.map +1 -1
  178. package/dist/forms/text-field.cjs +1 -1
  179. package/dist/forms/text-field.cjs.map +1 -1
  180. package/dist/forms/text-field.d.cts +2 -2
  181. package/dist/forms/text-field.d.ts +2 -2
  182. package/dist/forms/text-field.js +1 -1
  183. package/dist/forms/text-field.js.map +1 -1
  184. package/dist/forms/textarea-field.cjs +1 -1
  185. package/dist/forms/textarea-field.cjs.map +1 -1
  186. package/dist/forms/textarea-field.d.cts +2 -2
  187. package/dist/forms/textarea-field.d.ts +2 -2
  188. package/dist/forms/textarea-field.js +1 -1
  189. package/dist/forms/textarea-field.js.map +1 -1
  190. package/dist/input--6vqz8UI.js +2 -0
  191. package/dist/input--6vqz8UI.js.map +1 -0
  192. package/dist/{input-CsU6VSlk.d.ts → input-BEvwsdQj.d.ts} +4 -4
  193. package/dist/{input-B0fJo2WZ.d.cts → input-Lfbw3nE_.d.cts} +4 -4
  194. package/dist/input-VZiryzkl.cjs +2 -0
  195. package/dist/input-VZiryzkl.cjs.map +1 -0
  196. package/dist/label-B_2ZQn0X.cjs +2 -0
  197. package/dist/label-B_2ZQn0X.cjs.map +1 -0
  198. package/dist/label-D1XmKlc3.js +2 -0
  199. package/dist/label-D1XmKlc3.js.map +1 -0
  200. package/dist/layouts/flex.cjs +1 -1
  201. package/dist/layouts/flex.d.cts +2 -2
  202. package/dist/layouts/flex.d.ts +2 -2
  203. package/dist/layouts/flex.js +1 -1
  204. package/dist/layouts/main/index.cjs +1 -1
  205. package/dist/layouts/main/index.cjs.map +1 -1
  206. package/dist/layouts/main/index.d.cts +4 -4
  207. package/dist/layouts/main/index.d.ts +4 -4
  208. package/dist/layouts/main/index.js +1 -1
  209. package/dist/layouts/main/index.js.map +1 -1
  210. package/dist/multi-select-Cjvm4tK5.cjs +2 -0
  211. package/dist/multi-select-Cjvm4tK5.cjs.map +1 -0
  212. package/dist/multi-select-D0bZVOnm.js +2 -0
  213. package/dist/multi-select-D0bZVOnm.js.map +1 -0
  214. package/dist/paragraph-B4cQhLhW.js +2 -0
  215. package/dist/paragraph-B4cQhLhW.js.map +1 -0
  216. package/dist/paragraph-DcRBcRhQ.cjs +2 -0
  217. package/dist/paragraph-DcRBcRhQ.cjs.map +1 -0
  218. package/dist/popover-CTFp7ZXi.js +2 -0
  219. package/dist/popover-CTFp7ZXi.js.map +1 -0
  220. package/dist/popover-DCcPvdz2.cjs +2 -0
  221. package/dist/popover-DCcPvdz2.cjs.map +1 -0
  222. package/dist/progress-DLxh7x1P.cjs +2 -0
  223. package/dist/progress-DLxh7x1P.cjs.map +1 -0
  224. package/dist/progress-DWrtxJv0.js +2 -0
  225. package/dist/progress-DWrtxJv0.js.map +1 -0
  226. package/dist/refresh-CYCzbKVl.js +2 -0
  227. package/dist/refresh-CYCzbKVl.js.map +1 -0
  228. package/dist/{refresh-H87p0PFk.cjs → refresh-DMj_wur3.cjs} +2 -2
  229. package/dist/refresh-DMj_wur3.cjs.map +1 -0
  230. package/dist/scroll-area-C0KQbcG0.js.map +1 -1
  231. package/dist/scroll-area-CBq8XL4c.cjs.map +1 -1
  232. package/dist/{search-input-BUIwdK4e.js → search-input-DqcwkgsY.js} +2 -2
  233. package/dist/search-input-DqcwkgsY.js.map +1 -0
  234. package/dist/{search-input-DXh-cAVU.cjs → search-input-yweS9EMM.cjs} +2 -2
  235. package/dist/search-input-yweS9EMM.cjs.map +1 -0
  236. package/dist/select-BHjk6yT3.cjs +2 -0
  237. package/dist/select-BHjk6yT3.cjs.map +1 -0
  238. package/dist/select-C6N3CXuY.js +2 -0
  239. package/dist/select-C6N3CXuY.js.map +1 -0
  240. package/dist/{separator-DgyR24FB.d.ts → separator-CGHXMKzf.d.ts} +3 -4
  241. package/dist/separator-Cigaqna1.cjs +2 -0
  242. package/dist/separator-Cigaqna1.cjs.map +1 -0
  243. package/dist/{separator-5OitSlUj.d.cts → separator-SKNlThFJ.d.cts} +3 -4
  244. package/dist/separator-aLdI4FQe.js +2 -0
  245. package/dist/separator-aLdI4FQe.js.map +1 -0
  246. package/dist/sheet-CX3PajAc.cjs +2 -0
  247. package/dist/sheet-CX3PajAc.cjs.map +1 -0
  248. package/dist/sheet-DqPtcv9H.js +2 -0
  249. package/dist/sheet-DqPtcv9H.js.map +1 -0
  250. package/dist/sidebar-BKNai9nJ.cjs +2 -0
  251. package/dist/sidebar-BKNai9nJ.cjs.map +1 -0
  252. package/dist/sidebar-BR_UWLC5.js +2 -0
  253. package/dist/sidebar-BR_UWLC5.js.map +1 -0
  254. package/dist/sidebar-C2FH-tzm.cjs +2 -0
  255. package/dist/sidebar-C2FH-tzm.cjs.map +1 -0
  256. package/dist/sidebar-DphZ29-4.js +2 -0
  257. package/dist/sidebar-DphZ29-4.js.map +1 -0
  258. package/dist/skeleton-C-9PuX3p.cjs +2 -0
  259. package/dist/skeleton-C-9PuX3p.cjs.map +1 -0
  260. package/dist/skeleton-sZeupFu_.js +2 -0
  261. package/dist/skeleton-sZeupFu_.js.map +1 -0
  262. package/dist/styles/base.cjs +0 -0
  263. package/dist/styles/base.css +32 -0
  264. package/dist/styles/base.css.map +1 -0
  265. package/dist/styles/base.js +1 -0
  266. package/dist/styles/loader.cjs +0 -0
  267. package/dist/styles/loader.css +116 -0
  268. package/dist/styles/loader.css.map +1 -0
  269. package/dist/styles/loader.js +1 -0
  270. package/dist/styles/theme.cjs +0 -0
  271. package/dist/styles/theme.css +106 -0
  272. package/dist/styles/theme.css.map +1 -0
  273. package/dist/styles/theme.js +1 -0
  274. package/dist/styles/typography.cjs +0 -0
  275. package/dist/styles/typography.css +9 -0
  276. package/dist/styles/typography.css.map +1 -0
  277. package/dist/styles/typography.js +1 -0
  278. package/dist/switch-965kHdW_.js +2 -0
  279. package/dist/switch-965kHdW_.js.map +1 -0
  280. package/dist/switch-C3igCoxt.cjs +2 -0
  281. package/dist/switch-C3igCoxt.cjs.map +1 -0
  282. package/dist/table/index.cjs +1 -1
  283. package/dist/table/index.cjs.map +1 -1
  284. package/dist/table/index.d.cts +2 -2
  285. package/dist/table/index.d.ts +2 -2
  286. package/dist/table/index.js +1 -1
  287. package/dist/table/index.js.map +1 -1
  288. package/dist/table-CTMRaGxa.cjs +2 -0
  289. package/dist/table-CTMRaGxa.cjs.map +1 -0
  290. package/dist/table-CsnugKnh.js +2 -0
  291. package/dist/table-CsnugKnh.js.map +1 -0
  292. package/dist/textarea-3XRFTUZ8.cjs +2 -0
  293. package/dist/textarea-3XRFTUZ8.cjs.map +1 -0
  294. package/dist/textarea-CQ6gAnm5.js +2 -0
  295. package/dist/textarea-CQ6gAnm5.js.map +1 -0
  296. package/dist/{title-DrIfj31i.cjs → title-6Uosk2b4.cjs} +2 -2
  297. package/dist/title-6Uosk2b4.cjs.map +1 -0
  298. package/dist/{title-CA6PvqiD.js → title-CxIwADiB.js} +2 -2
  299. package/dist/title-CxIwADiB.js.map +1 -0
  300. package/dist/{toggle-CyClmWQm.d.ts → toggle-9SGewcSc.d.cts} +5 -5
  301. package/dist/{toggle-BA0PLIVa.js → toggle-CHJ2edke.js} +2 -2
  302. package/dist/toggle-CHJ2edke.js.map +1 -0
  303. package/dist/{toggle-Ddewmqst.cjs → toggle-DO8QbhLS.cjs} +2 -2
  304. package/dist/toggle-DO8QbhLS.cjs.map +1 -0
  305. package/dist/{toggle-B9onDBto.d.cts → toggle-DxWgPH7j.d.ts} +5 -5
  306. package/dist/tooltip-B8KdfOeT.js +2 -0
  307. package/dist/tooltip-B8KdfOeT.js.map +1 -0
  308. package/dist/{tooltip-Ccg2G_fB.d.cts → tooltip-CbLQ7JEO.d.cts} +6 -6
  309. package/dist/tooltip-DLnAwybV.cjs +2 -0
  310. package/dist/tooltip-DLnAwybV.cjs.map +1 -0
  311. package/dist/{tooltip-Ju-oCFdl.d.ts → tooltip-DtXKnGdV.d.ts} +6 -6
  312. package/dist/{types-CnMfjcgO.cjs → types-CrbWxjnp.cjs} +1 -1
  313. package/dist/types-CrbWxjnp.cjs.map +1 -0
  314. package/dist/{types-BVNbk1ZN.js → types-DaIHddx7.js} +1 -1
  315. package/dist/types-DaIHddx7.js.map +1 -0
  316. package/dist/typography/paragraph.cjs +1 -1
  317. package/dist/typography/paragraph.d.cts +3 -4
  318. package/dist/typography/paragraph.d.ts +3 -4
  319. package/dist/typography/paragraph.js +1 -1
  320. package/dist/typography/title.cjs +1 -1
  321. package/dist/typography/title.d.cts +2 -2
  322. package/dist/typography/title.js +1 -1
  323. package/dist/ui/alert-dialog.cjs +1 -1
  324. package/dist/ui/alert-dialog.d.cts +12 -12
  325. package/dist/ui/alert-dialog.d.ts +2 -2
  326. package/dist/ui/alert-dialog.js +1 -1
  327. package/dist/ui/alert.cjs +1 -1
  328. package/dist/ui/alert.cjs.map +1 -1
  329. package/dist/ui/alert.d.cts +6 -6
  330. package/dist/ui/alert.d.ts +6 -6
  331. package/dist/ui/alert.js +1 -1
  332. package/dist/ui/alert.js.map +1 -1
  333. package/dist/ui/aspect-ratio.cjs +1 -1
  334. package/dist/ui/aspect-ratio.cjs.map +1 -1
  335. package/dist/ui/aspect-ratio.d.cts +2 -2
  336. package/dist/ui/aspect-ratio.d.ts +2 -2
  337. package/dist/ui/aspect-ratio.js +1 -1
  338. package/dist/ui/aspect-ratio.js.map +1 -1
  339. package/dist/ui/avatar.cjs.map +1 -1
  340. package/dist/ui/avatar.d.cts +4 -4
  341. package/dist/ui/avatar.d.ts +4 -4
  342. package/dist/ui/avatar.js.map +1 -1
  343. package/dist/ui/badge.cjs +1 -1
  344. package/dist/ui/badge.d.cts +5 -5
  345. package/dist/ui/badge.d.ts +5 -5
  346. package/dist/ui/badge.js +1 -1
  347. package/dist/ui/breadcrumb.cjs +1 -1
  348. package/dist/ui/breadcrumb.cjs.map +1 -1
  349. package/dist/ui/breadcrumb.d.cts +9 -9
  350. package/dist/ui/breadcrumb.d.ts +9 -9
  351. package/dist/ui/breadcrumb.js +1 -1
  352. package/dist/ui/breadcrumb.js.map +1 -1
  353. package/dist/ui/button.cjs +1 -1
  354. package/dist/ui/button.d.cts +1 -1
  355. package/dist/ui/button.d.ts +1 -1
  356. package/dist/ui/button.js +1 -1
  357. package/dist/ui/buttons/add-new.cjs +1 -1
  358. package/dist/ui/buttons/add-new.js +1 -1
  359. package/dist/ui/buttons/edit.cjs +1 -1
  360. package/dist/ui/buttons/edit.cjs.map +1 -1
  361. package/dist/ui/buttons/edit.js +1 -1
  362. package/dist/ui/buttons/edit.js.map +1 -1
  363. package/dist/ui/buttons/refresh.cjs +1 -1
  364. package/dist/ui/buttons/refresh.js +1 -1
  365. package/dist/ui/buttons/trash.cjs +1 -1
  366. package/dist/ui/buttons/trash.cjs.map +1 -1
  367. package/dist/ui/buttons/trash.js +1 -1
  368. package/dist/ui/buttons/trash.js.map +1 -1
  369. package/dist/ui/buttons/upload-image.cjs +1 -1
  370. package/dist/ui/buttons/upload-image.cjs.map +1 -1
  371. package/dist/ui/buttons/upload-image.js +1 -1
  372. package/dist/ui/buttons/upload-image.js.map +1 -1
  373. package/dist/ui/calendar.cjs +1 -1
  374. package/dist/ui/calendar.d.cts +5 -5
  375. package/dist/ui/calendar.d.ts +5 -5
  376. package/dist/ui/calendar.js +1 -1
  377. package/dist/ui/card.cjs +1 -1
  378. package/dist/ui/card.d.cts +8 -9
  379. package/dist/ui/card.d.ts +8 -9
  380. package/dist/ui/card.js +1 -1
  381. package/dist/ui/carousel.cjs +1 -1
  382. package/dist/ui/carousel.cjs.map +1 -1
  383. package/dist/ui/carousel.d.cts +8 -8
  384. package/dist/ui/carousel.d.ts +8 -8
  385. package/dist/ui/carousel.js +1 -1
  386. package/dist/ui/carousel.js.map +1 -1
  387. package/dist/ui/collapsible.cjs.map +1 -1
  388. package/dist/ui/collapsible.d.cts +4 -4
  389. package/dist/ui/collapsible.d.ts +4 -4
  390. package/dist/ui/collapsible.js.map +1 -1
  391. package/dist/ui/command.cjs +1 -1
  392. package/dist/ui/command.d.cts +2 -2
  393. package/dist/ui/command.d.ts +2 -2
  394. package/dist/ui/command.js +1 -1
  395. package/dist/ui/context-menu.cjs +1 -1
  396. package/dist/ui/context-menu.cjs.map +1 -1
  397. package/dist/ui/context-menu.d.cts +17 -17
  398. package/dist/ui/context-menu.d.ts +17 -17
  399. package/dist/ui/context-menu.js +1 -1
  400. package/dist/ui/context-menu.js.map +1 -1
  401. package/dist/ui/dialog.cjs +1 -1
  402. package/dist/ui/dialog.d.cts +1 -1
  403. package/dist/ui/dialog.d.ts +1 -1
  404. package/dist/ui/dialog.js +1 -1
  405. package/dist/ui/dropdown-menu.cjs +1 -1
  406. package/dist/ui/dropdown-menu.d.cts +17 -18
  407. package/dist/ui/dropdown-menu.d.ts +17 -18
  408. package/dist/ui/dropdown-menu.js +1 -1
  409. package/dist/ui/file-uploader.cjs +2 -2
  410. package/dist/ui/file-uploader.cjs.map +1 -1
  411. package/dist/ui/file-uploader.d.cts +5 -5
  412. package/dist/ui/file-uploader.d.ts +5 -5
  413. package/dist/ui/file-uploader.js +2 -2
  414. package/dist/ui/file-uploader.js.map +1 -1
  415. package/dist/ui/form.cjs +1 -1
  416. package/dist/ui/form.d.cts +7 -7
  417. package/dist/ui/form.d.ts +7 -7
  418. package/dist/ui/form.js +1 -1
  419. package/dist/ui/hover-card.cjs.map +1 -1
  420. package/dist/ui/hover-card.d.cts +4 -4
  421. package/dist/ui/hover-card.d.ts +4 -4
  422. package/dist/ui/hover-card.js.map +1 -1
  423. package/dist/ui/input-otp.cjs.map +1 -1
  424. package/dist/ui/input-otp.d.cts +6 -6
  425. package/dist/ui/input-otp.d.ts +6 -6
  426. package/dist/ui/input-otp.js.map +1 -1
  427. package/dist/ui/input.cjs +1 -1
  428. package/dist/ui/input.d.cts +1 -1
  429. package/dist/ui/input.d.ts +1 -1
  430. package/dist/ui/input.js +1 -1
  431. package/dist/ui/inputs/search-input.cjs +1 -1
  432. package/dist/ui/inputs/search-input.d.cts +3 -3
  433. package/dist/ui/inputs/search-input.d.ts +3 -3
  434. package/dist/ui/inputs/search-input.js +1 -1
  435. package/dist/ui/label.cjs +1 -1
  436. package/dist/ui/label.d.cts +2 -2
  437. package/dist/ui/label.d.ts +2 -2
  438. package/dist/ui/label.js +1 -1
  439. package/dist/ui/menubar.cjs +1 -1
  440. package/dist/ui/menubar.cjs.map +1 -1
  441. package/dist/ui/menubar.d.cts +18 -18
  442. package/dist/ui/menubar.d.ts +18 -18
  443. package/dist/ui/menubar.js +1 -1
  444. package/dist/ui/menubar.js.map +1 -1
  445. package/dist/ui/multi-select.cjs +1 -1
  446. package/dist/ui/multi-select.d.cts +4 -4
  447. package/dist/ui/multi-select.d.ts +4 -4
  448. package/dist/ui/multi-select.js +1 -1
  449. package/dist/ui/navigation-menu.cjs +1 -1
  450. package/dist/ui/navigation-menu.cjs.map +1 -1
  451. package/dist/ui/navigation-menu.d.cts +11 -11
  452. package/dist/ui/navigation-menu.d.ts +11 -11
  453. package/dist/ui/navigation-menu.js +1 -1
  454. package/dist/ui/navigation-menu.js.map +1 -1
  455. package/dist/ui/pagination.cjs +1 -1
  456. package/dist/ui/pagination.cjs.map +1 -1
  457. package/dist/ui/pagination.d.cts +10 -10
  458. package/dist/ui/pagination.d.ts +10 -10
  459. package/dist/ui/pagination.js +1 -1
  460. package/dist/ui/pagination.js.map +1 -1
  461. package/dist/ui/popover.cjs +1 -1
  462. package/dist/ui/popover.d.cts +5 -7
  463. package/dist/ui/popover.d.ts +5 -7
  464. package/dist/ui/popover.js +1 -1
  465. package/dist/ui/progress.cjs +1 -1
  466. package/dist/ui/progress.d.cts +2 -2
  467. package/dist/ui/progress.d.ts +2 -2
  468. package/dist/ui/progress.js +1 -1
  469. package/dist/ui/radio-group.cjs +1 -1
  470. package/dist/ui/radio-group.cjs.map +1 -1
  471. package/dist/ui/radio-group.d.cts +3 -3
  472. package/dist/ui/radio-group.d.ts +3 -3
  473. package/dist/ui/radio-group.js +1 -1
  474. package/dist/ui/radio-group.js.map +1 -1
  475. package/dist/ui/resizable.cjs.map +1 -1
  476. package/dist/ui/resizable.d.cts +4 -4
  477. package/dist/ui/resizable.d.ts +4 -4
  478. package/dist/ui/resizable.js.map +1 -1
  479. package/dist/ui/scroll-area.d.cts +3 -3
  480. package/dist/ui/scroll-area.d.ts +3 -3
  481. package/dist/ui/select.cjs +1 -1
  482. package/dist/ui/select.d.cts +12 -13
  483. package/dist/ui/select.d.ts +12 -13
  484. package/dist/ui/select.js +1 -1
  485. package/dist/ui/separator.cjs +1 -1
  486. package/dist/ui/separator.d.cts +1 -1
  487. package/dist/ui/separator.d.ts +1 -1
  488. package/dist/ui/separator.js +1 -1
  489. package/dist/ui/sheet.cjs +1 -1
  490. package/dist/ui/sheet.d.cts +10 -11
  491. package/dist/ui/sheet.d.ts +10 -11
  492. package/dist/ui/sheet.js +1 -1
  493. package/dist/ui/sidebar.cjs +1 -1
  494. package/dist/ui/sidebar.d.cts +43 -43
  495. package/dist/ui/sidebar.d.ts +43 -43
  496. package/dist/ui/sidebar.js +1 -1
  497. package/dist/ui/skeleton.cjs +1 -1
  498. package/dist/ui/skeleton.d.cts +2 -3
  499. package/dist/ui/skeleton.d.ts +2 -3
  500. package/dist/ui/skeleton.js +1 -1
  501. package/dist/ui/slider.cjs.map +1 -1
  502. package/dist/ui/slider.d.cts +2 -2
  503. package/dist/ui/slider.d.ts +2 -2
  504. package/dist/ui/slider.js.map +1 -1
  505. package/dist/ui/sonner.cjs +1 -1
  506. package/dist/ui/sonner.cjs.map +1 -1
  507. package/dist/ui/sonner.d.cts +2 -2
  508. package/dist/ui/sonner.d.ts +2 -2
  509. package/dist/ui/sonner.js +1 -1
  510. package/dist/ui/sonner.js.map +1 -1
  511. package/dist/ui/switch.cjs +1 -1
  512. package/dist/ui/switch.d.cts +2 -2
  513. package/dist/ui/switch.d.ts +2 -2
  514. package/dist/ui/switch.js +1 -1
  515. package/dist/ui/table.cjs +1 -1
  516. package/dist/ui/table.d.cts +9 -9
  517. package/dist/ui/table.d.ts +9 -9
  518. package/dist/ui/table.js +1 -1
  519. package/dist/ui/tabs.cjs +1 -1
  520. package/dist/ui/tabs.cjs.map +1 -1
  521. package/dist/ui/tabs.d.cts +5 -6
  522. package/dist/ui/tabs.d.ts +5 -6
  523. package/dist/ui/tabs.js +1 -1
  524. package/dist/ui/tabs.js.map +1 -1
  525. package/dist/ui/textarea.cjs +1 -1
  526. package/dist/ui/textarea.d.cts +3 -3
  527. package/dist/ui/textarea.d.ts +3 -3
  528. package/dist/ui/textarea.js +1 -1
  529. package/dist/ui/toggle-group.cjs +1 -1
  530. package/dist/ui/toggle-group.cjs.map +1 -1
  531. package/dist/ui/toggle-group.d.cts +4 -4
  532. package/dist/ui/toggle-group.d.ts +5 -5
  533. package/dist/ui/toggle-group.js +1 -1
  534. package/dist/ui/toggle-group.js.map +1 -1
  535. package/dist/ui/toggle.cjs +1 -1
  536. package/dist/ui/toggle.d.cts +1 -1
  537. package/dist/ui/toggle.d.ts +1 -1
  538. package/dist/ui/toggle.js +1 -1
  539. package/dist/ui/tooltip.cjs +1 -1
  540. package/dist/ui/tooltip.d.cts +1 -1
  541. package/dist/ui/tooltip.d.ts +1 -1
  542. package/dist/ui/tooltip.js +1 -1
  543. package/dist/utils-BsjVK5EW.cjs.map +1 -1
  544. package/dist/utils-D9AH0PUV.js.map +1 -1
  545. package/package.json +23 -2
  546. package/packages/components/cards/simple-card.tsx +11 -25
  547. package/packages/components/data-display/country.tsx +34 -40
  548. package/packages/components/data-display/data-list.tsx +15 -24
  549. package/packages/components/data-display/date-tooltip.tsx +9 -23
  550. package/packages/components/data-display/date.tsx +90 -148
  551. package/packages/components/data-display/empty.tsx +8 -20
  552. package/packages/components/data-display/name.tsx +9 -11
  553. package/packages/components/data-display/phone-number.tsx +7 -15
  554. package/packages/components/data-display/role-badge.tsx +21 -25
  555. package/packages/components/data-display/statistic.tsx +61 -63
  556. package/packages/components/dialogs/confirm-dialog.tsx +12 -19
  557. package/packages/components/dialogs/detail-dialog/component/header.tsx +3 -7
  558. package/packages/components/dialogs/detail-dialog/component/main.tsx +15 -19
  559. package/packages/components/dialogs/detail-dialog/component/sidebar.tsx +256 -385
  560. package/packages/components/dialogs/detail-dialog/component/wrapper.tsx +6 -8
  561. package/packages/components/dialogs/detail-dialog/index.tsx +26 -35
  562. package/packages/components/dialogs/error-dialog.tsx +14 -28
  563. package/packages/components/dialogs/form-dialog.tsx +27 -59
  564. package/packages/components/dialogs/loading-dialog.tsx +8 -11
  565. package/packages/components/forms/combobox-field.tsx +44 -81
  566. package/packages/components/forms/date-field.tsx +2 -5
  567. package/packages/components/forms/form-wrapper.tsx +45 -71
  568. package/packages/components/forms/multi-select-field.tsx +2 -2
  569. package/packages/components/forms/number-field.tsx +1 -3
  570. package/packages/components/forms/password-field.tsx +1 -1
  571. package/packages/components/forms/select-field.tsx +1 -1
  572. package/packages/components/forms/switch-field.tsx +2 -4
  573. package/packages/components/forms/text-field.tsx +3 -10
  574. package/packages/components/forms/textarea-field.tsx +3 -11
  575. package/packages/components/layouts/flex.tsx +55 -66
  576. package/packages/components/layouts/main/content.tsx +3 -3
  577. package/packages/components/layouts/main/header.tsx +15 -27
  578. package/packages/components/layouts/main/wrapper.tsx +3 -3
  579. package/packages/components/styles/base.css +29 -0
  580. package/packages/components/styles/loader.css +113 -0
  581. package/packages/components/styles/theme.css +103 -0
  582. package/packages/components/styles/typography.css +6 -0
  583. package/packages/components/table/data-table-pagination.tsx +15 -44
  584. package/packages/components/table/data-table.tsx +86 -173
  585. package/packages/components/table/index.tsx +31 -50
  586. package/packages/components/typography/paragraph.tsx +18 -21
  587. package/packages/components/typography/title.tsx +23 -28
  588. package/packages/components/ui/alert-dialog.tsx +44 -118
  589. package/packages/components/ui/alert.tsx +19 -46
  590. package/packages/components/ui/aspect-ratio.tsx +7 -16
  591. package/packages/components/ui/avatar.tsx +12 -39
  592. package/packages/components/ui/badge.tsx +35 -41
  593. package/packages/components/ui/breadcrumb.tsx +26 -62
  594. package/packages/components/ui/button.tsx +163 -46
  595. package/packages/components/ui/buttons/add-new.tsx +9 -16
  596. package/packages/components/ui/buttons/edit.tsx +7 -13
  597. package/packages/components/ui/buttons/refresh.tsx +10 -21
  598. package/packages/components/ui/buttons/trash.tsx +7 -13
  599. package/packages/components/ui/buttons/upload-image.tsx +10 -13
  600. package/packages/components/ui/calendar.tsx +56 -124
  601. package/packages/components/ui/card.tsx +21 -72
  602. package/packages/components/ui/carousel.tsx +79 -133
  603. package/packages/components/ui/checkbox.tsx +19 -29
  604. package/packages/components/ui/collapsible.tsx +10 -26
  605. package/packages/components/ui/command.tsx +65 -144
  606. package/packages/components/ui/context-menu.tsx +48 -110
  607. package/packages/components/ui/dialog.tsx +55 -110
  608. package/packages/components/ui/dropdown-menu.tsx +100 -169
  609. package/packages/components/ui/file-uploader.tsx +93 -151
  610. package/packages/components/ui/form.tsx +51 -115
  611. package/packages/components/ui/hover-card.tsx +12 -23
  612. package/packages/components/ui/input-otp.tsx +20 -29
  613. package/packages/components/ui/input.tsx +34 -34
  614. package/packages/components/ui/inputs/number-input.tsx +5 -13
  615. package/packages/components/ui/inputs/password-input.tsx +2 -8
  616. package/packages/components/ui/inputs/search-input.tsx +7 -7
  617. package/packages/components/ui/label.tsx +14 -17
  618. package/packages/components/ui/menubar.tsx +46 -109
  619. package/packages/components/ui/multi-select.tsx +250 -317
  620. package/packages/components/ui/navigation-menu.tsx +34 -80
  621. package/packages/components/ui/pagination.tsx +28 -86
  622. package/packages/components/ui/popover.tsx +28 -43
  623. package/packages/components/ui/progress.tsx +8 -19
  624. package/packages/components/ui/radio-group.tsx +19 -36
  625. package/packages/components/ui/resizable.tsx +14 -22
  626. package/packages/components/ui/scroll-area.tsx +14 -30
  627. package/packages/components/ui/select.tsx +94 -141
  628. package/packages/components/ui/separator.tsx +11 -13
  629. package/packages/components/ui/sheet.tsx +62 -98
  630. package/packages/components/ui/sidebar.tsx +287 -363
  631. package/packages/components/ui/skeleton.tsx +5 -12
  632. package/packages/components/ui/slider.tsx +11 -28
  633. package/packages/components/ui/sonner.tsx +20 -23
  634. package/packages/components/ui/switch.tsx +28 -34
  635. package/packages/components/ui/table.tsx +28 -80
  636. package/packages/components/ui/tabs.tsx +29 -61
  637. package/packages/components/ui/textarea.tsx +23 -24
  638. package/packages/components/ui/toggle-group.tsx +19 -28
  639. package/packages/components/ui/toggle.tsx +16 -29
  640. package/packages/components/ui/tooltip.tsx +26 -44
  641. package/packages/constants.tsx +16 -50
  642. package/packages/hooks/use-callback-ref.ts +7 -12
  643. package/packages/hooks/use-controllable-state.ts +37 -46
  644. package/packages/hooks/use-mobile.ts +11 -13
  645. package/packages/index.css +121 -381
  646. package/packages/lib/utils.ts +12 -16
  647. package/packages/stories/1.Guideline.mdx +3 -0
  648. package/packages/stories/2.Colors.mdx +145 -0
  649. package/packages/stories/3.Pypography.mdx +51 -0
  650. package/packages/stories/cards/simple-card.stories.tsx +24 -0
  651. package/packages/stories/data-display/data-list.stories.tsx +22 -0
  652. package/packages/stories/data-display/empty.stories.tsx +13 -0
  653. package/packages/stories/data-display/form-dialog.stories.tsx +27 -0
  654. package/packages/stories/data-display/name.stories.tsx +25 -0
  655. package/packages/stories/data-display/phone-number.stories.tsx +17 -0
  656. package/packages/stories/data-display/statistic.stories.tsx +41 -0
  657. package/packages/stories/dialogs/confirm-dialog.stories.tsx +26 -0
  658. package/packages/stories/dialogs/detail-dialog.stories.tsx +34 -0
  659. package/packages/stories/dialogs/error-dialog.stories.tsx +27 -0
  660. package/packages/stories/dialogs/loading-dialog.stories.tsx +16 -0
  661. package/packages/stories/forms/combobox-field.stories.tsx +38 -0
  662. package/packages/stories/forms/form-wrapper.stories.tsx +59 -0
  663. package/packages/stories/forms/multi-select-field.stories.tsx +42 -0
  664. package/packages/stories/forms/number-field.stories.tsx +35 -0
  665. package/packages/stories/forms/select-field.stories.tsx +39 -0
  666. package/packages/stories/forms/switch-field.stories.tsx +36 -0
  667. package/packages/stories/forms/text-field.stories.tsx +41 -0
  668. package/packages/stories/forms/textarea-field.stories.tsx +34 -0
  669. package/packages/stories/typography/paragraph.stories.tsx +45 -0
  670. package/packages/stories/typography/title.stories.tsx +39 -0
  671. package/packages/stories/ui/alert-dialog.stories.tsx +49 -0
  672. package/packages/stories/ui/alert.stories.tsx +63 -0
  673. package/packages/stories/ui/aspect-ratio.stories.tsx +22 -0
  674. package/packages/stories/ui/badge.stories.tsx +170 -0
  675. package/packages/stories/ui/breadcrumb.stories.tsx +172 -0
  676. package/packages/stories/ui/button.stories.tsx +181 -0
  677. package/packages/stories/ui/card.stories.tsx +58 -0
  678. package/packages/stories/ui/checkbox.stories.tsx +48 -0
  679. package/packages/stories/ui/command.stories.tsx +58 -0
  680. package/packages/stories/ui/dialog.stories.tsx +55 -0
  681. package/packages/stories/ui/dropdown-menu.stories.tsx +89 -0
  682. package/packages/stories/ui/file-uploader.stories.tsx +18 -0
  683. package/packages/stories/ui/input.stories.tsx +38 -0
  684. package/packages/stories/ui/label.stories.tsx +17 -0
  685. package/packages/stories/ui/multi-select.stories.tsx +29 -0
  686. package/packages/stories/ui/popover.stories.tsx +52 -0
  687. package/packages/stories/ui/progress.stories.tsx +17 -0
  688. package/packages/stories/ui/radio-group.stories.tsx +31 -0
  689. package/packages/stories/ui/select.stories.tsx +31 -0
  690. package/packages/stories/ui/separator.stories.tsx +31 -0
  691. package/packages/stories/ui/sheet.stories.tsx +50 -0
  692. package/packages/stories/ui/skeleton.stories.tsx +27 -0
  693. package/packages/stories/ui/switch.stories.tsx +21 -0
  694. package/packages/stories/ui/table.stories.tsx +82 -0
  695. package/packages/stories/ui/tabs.stories.tsx +70 -0
  696. package/packages/stories/ui/textarea.stories.tsx +15 -0
  697. package/packages/stories/ui/toaster.stories.tsx +87 -0
  698. package/packages/types.ts +32 -32
  699. package/dist/add-new-BTpI7Ph7.cjs.map +0 -1
  700. package/dist/add-new-DmwkHRmn.js +0 -2
  701. package/dist/add-new-DmwkHRmn.js.map +0 -1
  702. package/dist/alert-dialog-6r43mVE-.js +0 -2
  703. package/dist/alert-dialog-6r43mVE-.js.map +0 -1
  704. package/dist/alert-dialog-DEOx5Psb.cjs +0 -2
  705. package/dist/alert-dialog-DEOx5Psb.cjs.map +0 -1
  706. package/dist/badge-DHRQ-uwY.cjs.map +0 -1
  707. package/dist/badge-bLqn3EB9.js.map +0 -1
  708. package/dist/button-BgNGzTUH.cjs +0 -2
  709. package/dist/button-BgNGzTUH.cjs.map +0 -1
  710. package/dist/button-DFvetIX8.js +0 -2
  711. package/dist/button-DFvetIX8.js.map +0 -1
  712. package/dist/calendar-BG-jrCZc.js.map +0 -1
  713. package/dist/calendar-Cck0PPMB.cjs.map +0 -1
  714. package/dist/card-D8cxRC5y.js +0 -2
  715. package/dist/card-D8cxRC5y.js.map +0 -1
  716. package/dist/card-Dta5eW8u.cjs +0 -2
  717. package/dist/card-Dta5eW8u.cjs.map +0 -1
  718. package/dist/command-Bfx_Gzjv.cjs +0 -2
  719. package/dist/command-Bfx_Gzjv.cjs.map +0 -1
  720. package/dist/command-ClNBSZd3.js +0 -2
  721. package/dist/command-ClNBSZd3.js.map +0 -1
  722. package/dist/date-B1g1OMYc.js.map +0 -1
  723. package/dist/date-Cw6Jf7k6.cjs.map +0 -1
  724. package/dist/dialog-Bh4dL0ew.cjs +0 -2
  725. package/dist/dialog-Bh4dL0ew.cjs.map +0 -1
  726. package/dist/dialog-CzSIPgHw.js +0 -2
  727. package/dist/dialog-CzSIPgHw.js.map +0 -1
  728. package/dist/dropdown-menu-DTFOCPH_.js +0 -2
  729. package/dist/dropdown-menu-DTFOCPH_.js.map +0 -1
  730. package/dist/dropdown-menu-qX11mJ9V.cjs +0 -2
  731. package/dist/dropdown-menu-qX11mJ9V.cjs.map +0 -1
  732. package/dist/error-dialog-Dg_OHJlH.js.map +0 -1
  733. package/dist/error-dialog-OeWIgIvF.cjs.map +0 -1
  734. package/dist/flex-B5MQmxX8.cjs.map +0 -1
  735. package/dist/flex-CBAzUoXK.js.map +0 -1
  736. package/dist/form-BMnG2xLt.js.map +0 -1
  737. package/dist/form-BbU1TIro.cjs.map +0 -1
  738. package/dist/form-wrapper-DeSGl64P.cjs.map +0 -1
  739. package/dist/form-wrapper-wHzrskjb.js.map +0 -1
  740. package/dist/input-B030EUY5.js +0 -2
  741. package/dist/input-B030EUY5.js.map +0 -1
  742. package/dist/input-mUjZrK2c.cjs +0 -2
  743. package/dist/input-mUjZrK2c.cjs.map +0 -1
  744. package/dist/label-BrGRueFm.js +0 -2
  745. package/dist/label-BrGRueFm.js.map +0 -1
  746. package/dist/label-Cmi31X9c.cjs +0 -2
  747. package/dist/label-Cmi31X9c.cjs.map +0 -1
  748. package/dist/multi-select-BOmq9vOB.cjs +0 -2
  749. package/dist/multi-select-BOmq9vOB.cjs.map +0 -1
  750. package/dist/multi-select-CEU50SQU.js +0 -2
  751. package/dist/multi-select-CEU50SQU.js.map +0 -1
  752. package/dist/paragraph-CuR_8J0O.js +0 -2
  753. package/dist/paragraph-CuR_8J0O.js.map +0 -1
  754. package/dist/paragraph-D-nYwoh7.cjs +0 -2
  755. package/dist/paragraph-D-nYwoh7.cjs.map +0 -1
  756. package/dist/popover-BD0lz8Fh.cjs +0 -2
  757. package/dist/popover-BD0lz8Fh.cjs.map +0 -1
  758. package/dist/popover-DJnARyyO.js +0 -2
  759. package/dist/popover-DJnARyyO.js.map +0 -1
  760. package/dist/progress-Bu1_efDo.cjs +0 -2
  761. package/dist/progress-Bu1_efDo.cjs.map +0 -1
  762. package/dist/progress-CeXKNvJc.js +0 -2
  763. package/dist/progress-CeXKNvJc.js.map +0 -1
  764. package/dist/refresh-H87p0PFk.cjs.map +0 -1
  765. package/dist/refresh-h_6T8REa.js +0 -2
  766. package/dist/refresh-h_6T8REa.js.map +0 -1
  767. package/dist/search-input-BUIwdK4e.js.map +0 -1
  768. package/dist/search-input-DXh-cAVU.cjs.map +0 -1
  769. package/dist/select-C82socRt.cjs +0 -2
  770. package/dist/select-C82socRt.cjs.map +0 -1
  771. package/dist/select-pBujVa9I.js +0 -2
  772. package/dist/select-pBujVa9I.js.map +0 -1
  773. package/dist/separator-Bi0LBh7T.cjs +0 -2
  774. package/dist/separator-Bi0LBh7T.cjs.map +0 -1
  775. package/dist/separator-DMdqEz29.js +0 -2
  776. package/dist/separator-DMdqEz29.js.map +0 -1
  777. package/dist/sheet-2JqHfdYi.js +0 -2
  778. package/dist/sheet-2JqHfdYi.js.map +0 -1
  779. package/dist/sheet-CjCT1GXK.cjs +0 -2
  780. package/dist/sheet-CjCT1GXK.cjs.map +0 -1
  781. package/dist/sidebar-99vu8Xl2.cjs +0 -2
  782. package/dist/sidebar-99vu8Xl2.cjs.map +0 -1
  783. package/dist/sidebar-Ci1XCkoo.cjs +0 -2
  784. package/dist/sidebar-Ci1XCkoo.cjs.map +0 -1
  785. package/dist/sidebar-acyFs4AU.js +0 -2
  786. package/dist/sidebar-acyFs4AU.js.map +0 -1
  787. package/dist/sidebar-b8PM_MQy.js +0 -2
  788. package/dist/sidebar-b8PM_MQy.js.map +0 -1
  789. package/dist/skeleton-D1_Brnl9.js +0 -2
  790. package/dist/skeleton-D1_Brnl9.js.map +0 -1
  791. package/dist/skeleton-DkSs2Vh3.cjs +0 -2
  792. package/dist/skeleton-DkSs2Vh3.cjs.map +0 -1
  793. package/dist/switch-CF4DRW_3.cjs +0 -2
  794. package/dist/switch-CF4DRW_3.cjs.map +0 -1
  795. package/dist/switch-_VCthKr7.js +0 -2
  796. package/dist/switch-_VCthKr7.js.map +0 -1
  797. package/dist/table-B7URcTid.cjs +0 -2
  798. package/dist/table-B7URcTid.cjs.map +0 -1
  799. package/dist/table-DrnU8YJP.js +0 -2
  800. package/dist/table-DrnU8YJP.js.map +0 -1
  801. package/dist/textarea--5AtST9C.js +0 -2
  802. package/dist/textarea--5AtST9C.js.map +0 -1
  803. package/dist/textarea-pwK3zC15.cjs +0 -2
  804. package/dist/textarea-pwK3zC15.cjs.map +0 -1
  805. package/dist/title-CA6PvqiD.js.map +0 -1
  806. package/dist/title-DrIfj31i.cjs.map +0 -1
  807. package/dist/toggle-BA0PLIVa.js.map +0 -1
  808. package/dist/toggle-Ddewmqst.cjs.map +0 -1
  809. package/dist/tooltip-CG3D3TIL.cjs +0 -2
  810. package/dist/tooltip-CG3D3TIL.cjs.map +0 -1
  811. package/dist/tooltip-DvNio7Zt.js +0 -2
  812. package/dist/tooltip-DvNio7Zt.js.map +0 -1
  813. package/dist/types-BVNbk1ZN.js.map +0 -1
  814. package/dist/types-CnMfjcgO.cjs.map +0 -1
@@ -0,0 +1,38 @@
1
+ import { Input } from '@/components/ui/input'
2
+ import type { Meta, StoryObj } from '@storybook/react-vite'
3
+
4
+ const meta = {
5
+ tags: ['autodocs'],
6
+ title: 'Components/Input',
7
+ component: Input,
8
+ } satisfies Meta<typeof Input>
9
+
10
+ export default meta
11
+ type Story = StoryObj<typeof meta>
12
+
13
+ export const Default: Story = {
14
+ args: {
15
+ placeholder: 'Enter text here',
16
+ },
17
+ }
18
+
19
+ export const FileInput: Story = {
20
+ args: {
21
+ type: 'file',
22
+ placeholder: 'Upload a file',
23
+ },
24
+ }
25
+
26
+ export const Error: Story = {
27
+ args: {
28
+ placeholder: 'Error input',
29
+ 'aria-invalid': true,
30
+ },
31
+ }
32
+
33
+ export const Disabled: Story = {
34
+ args: {
35
+ placeholder: 'Disabled input',
36
+ disabled: true,
37
+ },
38
+ }
@@ -0,0 +1,17 @@
1
+ import { Label } from '@/components/ui/label'
2
+ import type { Meta, StoryObj } from '@storybook/react-vite'
3
+
4
+ const meta = {
5
+ tags: ['autodocs'],
6
+ title: 'Components/Label',
7
+ component: Label,
8
+ } satisfies Meta<typeof Label>
9
+
10
+ export default meta
11
+ type Story = StoryObj<typeof meta>
12
+
13
+ export const Default: Story = {
14
+ args: {
15
+ children: 'Label',
16
+ },
17
+ }
@@ -0,0 +1,29 @@
1
+ import { MultipleSelector } from '@/components/ui/multi-select'
2
+ import type { Meta, StoryObj } from '@storybook/react-vite'
3
+
4
+ const meta: Meta<typeof MultipleSelector> = {
5
+ title: 'Components/MultiSelect',
6
+ component: MultipleSelector,
7
+ tags: ['autodocs'],
8
+ }
9
+
10
+ export default meta
11
+ type Story = StoryObj<typeof meta>
12
+
13
+ export const Default: Story = {
14
+ args: {
15
+ options: [
16
+ { label: 'Option 1', value: 'option1' },
17
+ { label: 'Option 2', value: 'option2' },
18
+ { label: 'Option 3', value: 'option3' },
19
+ ],
20
+ placeholder: 'Select options',
21
+ className: 'w-64',
22
+ onChange: (selectedOptions) => {
23
+ console.log('Selected options:', selectedOptions)
24
+ },
25
+ onAddNewItem: () => {
26
+ console.log('New item added:')
27
+ },
28
+ },
29
+ }
@@ -0,0 +1,52 @@
1
+ import { Button } from '@/components/ui/button'
2
+ import { Input } from '@/components/ui/input'
3
+ import { Label } from '@/components/ui/label'
4
+ import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
5
+ import type { Meta, StoryObj } from '@storybook/react-vite'
6
+
7
+ const meta = {
8
+ tags: ['autodocs'],
9
+ title: 'Components/Popover',
10
+ component: Popover,
11
+ } satisfies Meta<typeof Popover>
12
+
13
+ export default meta
14
+ type Story = StoryObj<typeof meta>
15
+
16
+ export const Default: Story = {
17
+ render: () => (
18
+ <Popover>
19
+ <PopoverTrigger asChild>
20
+ <Button variant="outline" color="muted">
21
+ Open popover
22
+ </Button>
23
+ </PopoverTrigger>
24
+ <PopoverContent className="w-80">
25
+ <div className="grid gap-4">
26
+ <div className="space-y-2">
27
+ <h4 className="leading-none font-medium">Dimensions</h4>
28
+ <p className="text-muted-foreground text-sm">Set the dimensions for the layer.</p>
29
+ </div>
30
+ <div className="grid gap-2">
31
+ <div className="grid grid-cols-3 items-center gap-4">
32
+ <Label htmlFor="width">Width</Label>
33
+ <Input id="width" defaultValue="100%" className="col-span-2 h-8" />
34
+ </div>
35
+ <div className="grid grid-cols-3 items-center gap-4">
36
+ <Label htmlFor="maxWidth">Max. width</Label>
37
+ <Input id="maxWidth" defaultValue="300px" className="col-span-2 h-8" />
38
+ </div>
39
+ <div className="grid grid-cols-3 items-center gap-4">
40
+ <Label htmlFor="height">Height</Label>
41
+ <Input id="height" defaultValue="25px" className="col-span-2 h-8" />
42
+ </div>
43
+ <div className="grid grid-cols-3 items-center gap-4">
44
+ <Label htmlFor="maxHeight">Max. height</Label>
45
+ <Input id="maxHeight" defaultValue="none" className="col-span-2 h-8" />
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </PopoverContent>
50
+ </Popover>
51
+ ),
52
+ }
@@ -0,0 +1,17 @@
1
+ import { Progress } from '@/components/ui/progress'
2
+ import type { Meta, StoryObj } from '@storybook/react-vite'
3
+ const meta = {
4
+ tags: ['autodocs'],
5
+ title: 'Components/Progress',
6
+ component: Progress,
7
+ } satisfies Meta<typeof Progress>
8
+
9
+ export default meta
10
+ type Story = StoryObj<typeof meta>
11
+
12
+ export const Default: Story = {
13
+ args: {
14
+ value: 60,
15
+ className: 'w-72',
16
+ },
17
+ }
@@ -0,0 +1,31 @@
1
+ import { Label } from '@/components/ui/label'
2
+ import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group'
3
+ import type { Meta, StoryObj } from '@storybook/react-vite'
4
+ const meta = {
5
+ tags: ['autodocs'],
6
+ title: 'Components/RadioGroup',
7
+ component: RadioGroup,
8
+ } satisfies Meta<typeof RadioGroup>
9
+
10
+ export default meta
11
+ type Story = StoryObj<typeof meta>
12
+
13
+ export const Default: Story = {
14
+ args: {},
15
+ render: () => (
16
+ <RadioGroup defaultValue="comfortable">
17
+ <div className="flex items-center gap-3">
18
+ <RadioGroupItem value="default" id="r1" />
19
+ <Label htmlFor="r1">Default</Label>
20
+ </div>
21
+ <div className="flex items-center gap-3">
22
+ <RadioGroupItem value="comfortable" id="r2" />
23
+ <Label htmlFor="r2">Comfortable</Label>
24
+ </div>
25
+ <div className="flex items-center gap-3">
26
+ <RadioGroupItem value="compact" id="r3" />
27
+ <Label htmlFor="r3">Compact</Label>
28
+ </div>
29
+ </RadioGroup>
30
+ ),
31
+ }
@@ -0,0 +1,31 @@
1
+ import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue } from '@/components/ui/select'
2
+ import type { Meta, StoryObj } from '@storybook/react-vite'
3
+ const meta = {
4
+ tags: ['autodocs'],
5
+ title: 'Components/Select',
6
+ component: Select,
7
+ } satisfies Meta<typeof Select>
8
+
9
+ export default meta
10
+ type Story = StoryObj<typeof meta>
11
+
12
+ export const Default: Story = {
13
+ args: {},
14
+ render: () => (
15
+ <Select>
16
+ <SelectTrigger className="w-[180px]">
17
+ <SelectValue placeholder="Select a fruit" />
18
+ </SelectTrigger>
19
+ <SelectContent>
20
+ <SelectGroup>
21
+ <SelectLabel>Fruits</SelectLabel>
22
+ <SelectItem value="apple">Apple</SelectItem>
23
+ <SelectItem value="banana">Banana</SelectItem>
24
+ <SelectItem value="blueberry">Blueberry</SelectItem>
25
+ <SelectItem value="grapes">Grapes</SelectItem>
26
+ <SelectItem value="pineapple">Pineapple</SelectItem>
27
+ </SelectGroup>
28
+ </SelectContent>
29
+ </Select>
30
+ ),
31
+ }
@@ -0,0 +1,31 @@
1
+ import { Separator } from '@/components/ui/separator'
2
+ import type { Meta, StoryObj } from '@storybook/react-vite'
3
+ const meta = {
4
+ tags: ['autodocs'],
5
+ title: 'Components/Separator',
6
+ component: Separator,
7
+ } satisfies Meta<typeof Separator>
8
+
9
+ export default meta
10
+ type Story = StoryObj<typeof meta>
11
+
12
+ export const Default: Story = {
13
+ render: () => {
14
+ return (
15
+ <div>
16
+ <div className="space-y-1">
17
+ <h4 className="text-sm leading-none font-medium">Radix Primitives</h4>
18
+ <p className="text-muted-foreground text-sm">An open-source UI component library.</p>
19
+ </div>
20
+ <Separator className="my-4" />
21
+ <div className="flex h-5 items-center space-x-4 text-sm">
22
+ <div>Blog</div>
23
+ <Separator orientation="vertical" />
24
+ <div>Docs</div>
25
+ <Separator orientation="vertical" />
26
+ <div>Source</div>
27
+ </div>
28
+ </div>
29
+ )
30
+ },
31
+ }
@@ -0,0 +1,50 @@
1
+ import { Button } from '@/components/ui/button'
2
+ import { Input } from '@/components/ui/input'
3
+ import { Label } from '@/components/ui/label'
4
+ import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from '@/components/ui/sheet'
5
+ import type { Meta, StoryObj } from '@storybook/react-vite'
6
+
7
+ const meta = {
8
+ tags: ['autodocs'],
9
+ title: 'Components/Sheet',
10
+ component: Sheet,
11
+ } satisfies Meta<typeof Sheet>
12
+
13
+ export default meta
14
+ type Story = StoryObj<typeof meta>
15
+
16
+ export const Default: Story = {
17
+ render: () => (
18
+ <Sheet>
19
+ <SheetTrigger asChild>
20
+ <Button variant="outline" color="muted">
21
+ Open
22
+ </Button>
23
+ </SheetTrigger>
24
+ <SheetContent>
25
+ <SheetHeader>
26
+ <SheetTitle>Edit profile</SheetTitle>
27
+ <SheetDescription>Make changes to your profile here. Click save when you&apos;re done.</SheetDescription>
28
+ </SheetHeader>
29
+ <div className="grid flex-1 auto-rows-min gap-6 overflow-y-auto px-4">
30
+ <div className="grid gap-3">
31
+ <Label htmlFor="sheet-demo-name">Name</Label>
32
+ <Input id="sheet-demo-name" defaultValue="Pedro Duarte" />
33
+ </div>
34
+ <div className="grid gap-3">
35
+ <Label htmlFor="sheet-demo-username">Username</Label>
36
+ <Input id="sheet-demo-username" defaultValue="@peduarte" />
37
+ </div>
38
+ </div>
39
+ <SheetFooter>
40
+ <Button type="submit">Save changes</Button>
41
+ <SheetClose asChild>
42
+ <Button variant="outline" color="muted">
43
+ Close
44
+ </Button>
45
+ </SheetClose>
46
+ </SheetFooter>
47
+ </SheetContent>
48
+ </Sheet>
49
+ ),
50
+ }
@@ -0,0 +1,27 @@
1
+ import { Skeleton } from '@/components/ui/skeleton'
2
+ import type { Meta, StoryObj } from '@storybook/react-vite'
3
+
4
+ const meta = {
5
+ tags: ['autodocs'],
6
+ title: 'Components/Skeleton',
7
+ component: Skeleton,
8
+ } satisfies Meta<typeof Skeleton>
9
+
10
+ export default meta
11
+ type Story = StoryObj<typeof meta>
12
+
13
+ export const Default: Story = {
14
+ render: () => {
15
+ return (
16
+ <div className="h-32 w-120">
17
+ <div className="flex w-full items-center space-x-4">
18
+ <Skeleton className="size-12 min-w-12 rounded-full" />
19
+ <div className="space-y-2">
20
+ <Skeleton className="h-4 w-[250px]" />
21
+ <Skeleton className="h-4 w-[200px]" />
22
+ </div>
23
+ </div>
24
+ </div>
25
+ )
26
+ },
27
+ }
@@ -0,0 +1,21 @@
1
+ import { Label } from '@/components/ui/label'
2
+ import { Switch } from '@/components/ui/switch'
3
+ import type { Meta } from '@storybook/react-vite'
4
+
5
+ const meta = {
6
+ tags: ['autodocs'],
7
+ title: 'Components/Switch',
8
+ component: Switch,
9
+ } satisfies Meta<typeof Switch>
10
+
11
+ export default meta
12
+ type Story = Meta<typeof meta>
13
+
14
+ export const Default: Story = {
15
+ render: () => (
16
+ <div className="flex items-center space-x-2">
17
+ <Switch id="airplane-mode" />
18
+ <Label htmlFor="airplane-mode">Airplane Mode</Label>
19
+ </div>
20
+ ),
21
+ }
@@ -0,0 +1,82 @@
1
+ import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table'
2
+ import type { Meta } from '@storybook/react-vite'
3
+
4
+ const meta = {
5
+ tags: ['autodocs'],
6
+ title: 'Components/Table',
7
+ component: Table,
8
+ } satisfies Meta<typeof Table>
9
+
10
+ export default meta
11
+ type Story = Meta<typeof meta>
12
+
13
+ export const Default: Story = {
14
+ render: () => (
15
+ <div className="bg-background border-border-weak w-200 min-w-200 overflow-hidden rounded-md border">
16
+ <Table>
17
+ <TableHeader>
18
+ <TableRow>
19
+ <TableHead className="w-[100px]">Invoice</TableHead>
20
+ <TableHead>Status</TableHead>
21
+ <TableHead>Method</TableHead>
22
+ <TableHead className="text-right">Amount</TableHead>
23
+ </TableRow>
24
+ </TableHeader>
25
+ <TableBody>
26
+ {invoices.map((invoice) => (
27
+ <TableRow key={invoice.invoice}>
28
+ <TableCell className="font-medium">{invoice.invoice}</TableCell>
29
+ <TableCell>{invoice.paymentStatus}</TableCell>
30
+ <TableCell>{invoice.paymentMethod}</TableCell>
31
+ <TableCell className="text-right">{invoice.totalAmount}</TableCell>
32
+ </TableRow>
33
+ ))}
34
+ </TableBody>
35
+ </Table>
36
+ </div>
37
+ ),
38
+ }
39
+ const invoices = [
40
+ {
41
+ invoice: 'INV001',
42
+ paymentStatus: 'Paid',
43
+ totalAmount: '$250.00',
44
+ paymentMethod: 'Credit Card',
45
+ },
46
+ {
47
+ invoice: 'INV002',
48
+ paymentStatus: 'Pending',
49
+ totalAmount: '$150.00',
50
+ paymentMethod: 'PayPal',
51
+ },
52
+ {
53
+ invoice: 'INV003',
54
+ paymentStatus: 'Unpaid',
55
+ totalAmount: '$350.00',
56
+ paymentMethod: 'Bank Transfer',
57
+ },
58
+ {
59
+ invoice: 'INV004',
60
+ paymentStatus: 'Paid',
61
+ totalAmount: '$450.00',
62
+ paymentMethod: 'Credit Card',
63
+ },
64
+ {
65
+ invoice: 'INV005',
66
+ paymentStatus: 'Paid',
67
+ totalAmount: '$550.00',
68
+ paymentMethod: 'PayPal',
69
+ },
70
+ {
71
+ invoice: 'INV006',
72
+ paymentStatus: 'Pending',
73
+ totalAmount: '$200.00',
74
+ paymentMethod: 'Bank Transfer',
75
+ },
76
+ {
77
+ invoice: 'INV007',
78
+ paymentStatus: 'Unpaid',
79
+ totalAmount: '$300.00',
80
+ paymentMethod: 'Credit Card',
81
+ },
82
+ ]
@@ -0,0 +1,70 @@
1
+ import type { Meta } from '@storybook/react-vite'
2
+ import { Button } from '@/components/ui/button'
3
+ import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '@/components/ui/card'
4
+ import { Input } from '@/components/ui/input'
5
+ import { Label } from '@/components/ui/label'
6
+ import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
7
+
8
+ const meta = {
9
+ tags: ['autodocs'],
10
+ title: 'Components/Tabs',
11
+ component: Tabs,
12
+ } satisfies Meta<typeof Tabs>
13
+
14
+ export default meta
15
+ type Story = Meta<typeof meta>
16
+
17
+ export const Default: Story = {
18
+ render: () => (
19
+ <div className="flex w-200 max-w-sm flex-col gap-6">
20
+ <Tabs defaultValue="account">
21
+ <TabsList>
22
+ <TabsTrigger value="account">Account</TabsTrigger>
23
+ <TabsTrigger value="password">Password</TabsTrigger>
24
+ </TabsList>
25
+ <TabsContent value="account">
26
+ <Card>
27
+ <CardHeader>
28
+ <CardTitle>Account</CardTitle>
29
+ <CardDescription>Make changes to your account here. Click save when you&apos;re done.</CardDescription>
30
+ </CardHeader>
31
+ <CardContent className="grid gap-6">
32
+ <div className="grid gap-3">
33
+ <Label htmlFor="tabs-demo-name">Name</Label>
34
+ <Input id="tabs-demo-name" defaultValue="Pedro Duarte" />
35
+ </div>
36
+ <div className="grid gap-3">
37
+ <Label htmlFor="tabs-demo-username">Username</Label>
38
+ <Input id="tabs-demo-username" defaultValue="@peduarte" />
39
+ </div>
40
+ </CardContent>
41
+ <CardFooter>
42
+ <Button>Save changes</Button>
43
+ </CardFooter>
44
+ </Card>
45
+ </TabsContent>
46
+ <TabsContent value="password">
47
+ <Card>
48
+ <CardHeader>
49
+ <CardTitle>Password</CardTitle>
50
+ <CardDescription>Change your password here. After saving, you&apos;ll be logged out.</CardDescription>
51
+ </CardHeader>
52
+ <CardContent className="grid gap-6">
53
+ <div className="grid gap-3">
54
+ <Label htmlFor="tabs-demo-current">Current password</Label>
55
+ <Input id="tabs-demo-current" type="password" />
56
+ </div>
57
+ <div className="grid gap-3">
58
+ <Label htmlFor="tabs-demo-new">New password</Label>
59
+ <Input id="tabs-demo-new" type="password" />
60
+ </div>
61
+ </CardContent>
62
+ <CardFooter>
63
+ <Button>Save password</Button>
64
+ </CardFooter>
65
+ </Card>
66
+ </TabsContent>
67
+ </Tabs>
68
+ </div>
69
+ ),
70
+ }
@@ -0,0 +1,15 @@
1
+ import { Textarea } from '@/components/ui/textarea'
2
+ import type { Meta } from '@storybook/react-vite'
3
+
4
+ const meta = {
5
+ tags: ['autodocs'],
6
+ title: 'Components/Textarea',
7
+ component: Textarea,
8
+ } satisfies Meta<typeof Textarea>
9
+
10
+ export default meta
11
+ type Story = Meta<typeof meta>
12
+
13
+ export const Default: Story = {
14
+ render: () => <Textarea className="w-100" placeholder="Type your message here." rows={5} />,
15
+ }
@@ -0,0 +1,87 @@
1
+ import { toast } from 'sonner'
2
+
3
+ import { Button } from '@/components/ui/button'
4
+ import { Toaster } from '@/components/ui/sonner'
5
+ import type { Meta, StoryObj } from '@storybook/react-vite'
6
+
7
+ // More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
8
+ const meta = {
9
+ title: 'Components/Toaster',
10
+ component: Toaster,
11
+ parameters: {
12
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
13
+ },
14
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
15
+ tags: ['autodocs'],
16
+ // More on argTypes: https://storybook.js.org/docs/api/argtypes
17
+ argTypes: {},
18
+ } satisfies Meta<typeof Toaster>
19
+
20
+ export default meta
21
+ type Story = StoryObj<typeof meta>
22
+
23
+ export const Default: Story = {
24
+ render: () => {
25
+ return (
26
+ <>
27
+ <Button onClick={() => toast.info('Default notification', { description: 'This will be closed on 3000ms' })}>Toggle Notification</Button>
28
+ <Toaster />
29
+ </>
30
+ )
31
+ },
32
+ }
33
+
34
+ export const Success: Story = {
35
+ render: () => {
36
+ return (
37
+ <>
38
+ <Button onClick={() => toast.success('Success notification', { description: 'This will be closed on 3000ms' })}>Toggle Notification</Button>
39
+ <Toaster />
40
+ </>
41
+ )
42
+ },
43
+ }
44
+
45
+ export const Info: Story = {
46
+ render: () => {
47
+ return (
48
+ <>
49
+ <Button onClick={() => toast.info('Info notification', { description: 'This will be closed on 3000ms' })}>Toggle Notification</Button>
50
+ <Toaster />
51
+ </>
52
+ )
53
+ },
54
+ }
55
+
56
+ export const Loading: Story = {
57
+ render: () => {
58
+ return (
59
+ <>
60
+ <Button onClick={() => toast.loading('Loading notification', { description: 'This will be closed on 3000ms' })}>Toggle Notification</Button>
61
+ <Toaster />
62
+ </>
63
+ )
64
+ },
65
+ }
66
+
67
+ export const Warning: Story = {
68
+ render: () => {
69
+ return (
70
+ <>
71
+ <Button onClick={() => toast.warning('Warning notification', { description: 'This will be closed on 3000ms' })}>Toggle Notification</Button>
72
+ <Toaster />
73
+ </>
74
+ )
75
+ },
76
+ }
77
+
78
+ export const Error: Story = {
79
+ render: () => {
80
+ return (
81
+ <>
82
+ <Button onClick={() => toast.error('Error notification', { description: 'This will be closed on 3000ms' })}>Toggle Notification</Button>
83
+ <Toaster />
84
+ </>
85
+ )
86
+ },
87
+ }