@bricks-toolkit/toolkit 0.1.1 → 0.1.3

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 (409) hide show
  1. package/README.md +9 -9
  2. package/dist/avatar/index.cjs +11 -1
  3. package/dist/avatar/index.mjs +2 -1
  4. package/dist/badge/index.cjs +11 -1
  5. package/dist/badge/index.mjs +2 -1
  6. package/dist/breadcrumbs/index.cjs +11 -1
  7. package/dist/breadcrumbs/index.mjs +2 -1
  8. package/dist/button/index.cjs +13 -2
  9. package/dist/button/index.mjs +4 -2
  10. package/dist/card/index.cjs +31 -1
  11. package/dist/card/index.mjs +2 -1
  12. package/dist/checkbox/index.cjs +11 -1
  13. package/dist/checkbox/index.mjs +2 -1
  14. package/dist/chunk-2POU3NX4.mjs +192 -0
  15. package/dist/chunk-32SKYPQW.mjs +156 -0
  16. package/dist/chunk-3IPWW66F.cjs +205 -0
  17. package/dist/chunk-446OJWC6.mjs +285 -0
  18. package/dist/chunk-4DA7CRNV.mjs +376 -0
  19. package/dist/chunk-4DR57X7U.mjs +182 -0
  20. package/dist/chunk-4QSDPHPI.mjs +285 -0
  21. package/dist/chunk-56ILK7Y4.cjs +315 -0
  22. package/dist/chunk-5J3OMAO4.cjs +222 -0
  23. package/dist/chunk-5RKET2JO.cjs +287 -0
  24. package/dist/chunk-65UZC3FK.mjs +312 -0
  25. package/dist/chunk-6CC5KIA5.cjs +148 -0
  26. package/dist/chunk-6R3OYBQ6.cjs +209 -0
  27. package/dist/chunk-6UO72EJA.cjs +2 -0
  28. package/dist/chunk-6ZCY4O5M.mjs +63 -0
  29. package/dist/chunk-7364SUK6.mjs +359 -0
  30. package/dist/chunk-7DDDQ3RH.cjs +66 -0
  31. package/dist/chunk-7PDGAIC3.cjs +189 -0
  32. package/dist/chunk-7R5JRJ2W.cjs +255 -0
  33. package/dist/chunk-7WNJ7L4Z.mjs +335 -0
  34. package/dist/chunk-AJXVELXK.cjs +218 -0
  35. package/dist/chunk-ARTXRQO6.mjs +1 -0
  36. package/dist/chunk-B4OV5GRT.cjs +510 -0
  37. package/dist/chunk-B5MYGYJY.mjs +122 -0
  38. package/dist/chunk-BBVWG5GH.cjs +75 -0
  39. package/dist/chunk-BVBCAAES.mjs +35 -0
  40. package/dist/chunk-CBA54EY4.mjs +508 -0
  41. package/dist/chunk-CMER5LO3.mjs +330 -0
  42. package/dist/chunk-DHC5LI2P.cjs +338 -0
  43. package/dist/chunk-DMLPA65B.mjs +107 -0
  44. package/dist/chunk-DN2GFJF4.mjs +175 -0
  45. package/dist/chunk-ECLNLPOR.cjs +70 -0
  46. package/dist/chunk-H77YWN3L.mjs +220 -0
  47. package/dist/chunk-HIWJDLIS.cjs +124 -0
  48. package/dist/chunk-HQGDSOSN.mjs +274 -0
  49. package/dist/chunk-IC4HGEI6.cjs +38 -0
  50. package/dist/chunk-JKPNJ4PZ.mjs +313 -0
  51. package/dist/chunk-JV6AWBN5.mjs +113 -0
  52. package/dist/chunk-K3IJEZ4S.mjs +203 -0
  53. package/dist/chunk-KA35BV7V.mjs +207 -0
  54. package/dist/chunk-KH6LV7IS.mjs +36 -0
  55. package/dist/chunk-KLBABQEJ.cjs +378 -0
  56. package/dist/chunk-L5VQZZVR.cjs +3197 -0
  57. package/dist/chunk-LTG6YP5I.cjs +69 -0
  58. package/dist/chunk-MVUNJPGH.cjs +184 -0
  59. package/dist/chunk-NMJ5CVZH.cjs +2 -0
  60. package/dist/chunk-NRCNRHXL.cjs +109 -0
  61. package/dist/chunk-NRZIXK35.cjs +276 -0
  62. package/dist/chunk-OCPFOFJ4.mjs +3195 -0
  63. package/dist/chunk-OEU5VG3D.cjs +362 -0
  64. package/dist/chunk-OPOCCRJG.cjs +193 -0
  65. package/dist/chunk-OQPCL5XX.mjs +187 -0
  66. package/dist/chunk-PCYGJNEQ.cjs +280 -0
  67. package/dist/chunk-PJH2KEWK.mjs +200 -0
  68. package/dist/chunk-PJWELBN2.cjs +115 -0
  69. package/dist/chunk-Q3IFXFFD.cjs +202 -0
  70. package/dist/chunk-R72GDCWE.cjs +314 -0
  71. package/dist/chunk-RAD5VJHR.mjs +146 -0
  72. package/dist/chunk-RYWDZHKG.mjs +274 -0
  73. package/dist/chunk-S7VEND5Z.cjs +162 -0
  74. package/dist/chunk-SBNNV6FE.mjs +1 -0
  75. package/dist/chunk-SFUOCZJY.mjs +187 -0
  76. package/dist/chunk-SHQ2MPBE.mjs +73 -0
  77. package/dist/chunk-TIVSMCXZ.mjs +253 -0
  78. package/dist/chunk-TNGW5YHA.cjs +37 -0
  79. package/dist/chunk-VC7MOPU6.cjs +287 -0
  80. package/dist/chunk-VHVFRWF5.mjs +64 -0
  81. package/dist/chunk-VKQDW7C2.mjs +336 -0
  82. package/dist/chunk-VRZFAKSV.cjs +177 -0
  83. package/dist/chunk-W2ZAPLQH.cjs +337 -0
  84. package/dist/chunk-XFNRKHHF.cjs +332 -0
  85. package/dist/chunk-Y3NTKFUE.mjs +66 -0
  86. package/dist/chunk-YMMNWJT6.cjs +134 -0
  87. package/dist/chunk-YOTCXSXL.mjs +132 -0
  88. package/dist/combo-box/index.cjs +11 -1
  89. package/dist/combo-box/index.mjs +2 -1
  90. package/dist/date-picker/index.cjs +11 -2
  91. package/dist/date-picker/index.mjs +2 -2
  92. package/dist/dialog/index.cjs +27 -1
  93. package/dist/dialog/index.mjs +2 -1
  94. package/dist/dropdown-menu/index.cjs +27 -1
  95. package/dist/dropdown-menu/index.mjs +2 -1
  96. package/dist/email/index.cjs +11 -2
  97. package/dist/email/index.mjs +2 -2
  98. package/dist/file-upload/index.cjs +11 -1
  99. package/dist/file-upload/index.mjs +2 -1
  100. package/dist/header/index.cjs +11 -2
  101. package/dist/header/index.mjs +2 -2
  102. package/dist/icon-button/index.cjs +13 -2
  103. package/dist/icon-button/index.mjs +4 -2
  104. package/dist/image/index.cjs +12 -1
  105. package/dist/image/index.mjs +3 -1
  106. package/dist/index.cjs +839 -2
  107. package/dist/index.mjs +601 -2
  108. package/dist/link/index.cjs +11 -1
  109. package/dist/link/index.mjs +2 -1
  110. package/dist/loader/index.cjs +11 -2
  111. package/dist/loader/index.mjs +2 -2
  112. package/dist/modal/index.cjs +27 -1
  113. package/dist/modal/index.mjs +2 -1
  114. package/dist/multi-select/index.cjs +11 -2
  115. package/dist/multi-select/index.mjs +2 -2
  116. package/dist/otp-input/index.cjs +11 -1
  117. package/dist/otp-input/index.mjs +2 -1
  118. package/dist/password-input/index.cjs +11 -2
  119. package/dist/password-input/index.mjs +2 -2
  120. package/dist/phone/index.cjs +11 -2
  121. package/dist/phone/index.mjs +2 -2
  122. package/dist/radio-button/index.cjs +11 -1
  123. package/dist/radio-button/index.mjs +2 -1
  124. package/dist/search-input/index.cjs +12 -2
  125. package/dist/search-input/index.mjs +3 -2
  126. package/dist/select/index.cjs +11 -2
  127. package/dist/select/index.mjs +2 -2
  128. package/dist/sidebar/index.cjs +11 -1
  129. package/dist/sidebar/index.mjs +2 -1
  130. package/dist/skeleton/index.cjs +27 -1
  131. package/dist/skeleton/index.mjs +2 -1
  132. package/dist/styles.css +5069 -1
  133. package/dist/table/index.cjs +15 -1
  134. package/dist/table/index.mjs +2 -1
  135. package/dist/tabs/index.cjs +14 -2
  136. package/dist/tabs/index.mjs +5 -2
  137. package/dist/text-input/index.cjs +11 -2
  138. package/dist/text-input/index.mjs +2 -2
  139. package/dist/theme-provider/index.cjs +14 -1
  140. package/dist/theme-provider/index.mjs +1 -1
  141. package/dist/time-picker/index.cjs +11 -2
  142. package/dist/time-picker/index.mjs +2 -2
  143. package/dist/toaster/index.cjs +11 -1
  144. package/dist/toaster/index.mjs +2 -1
  145. package/dist/tooltip/index.cjs +12 -1
  146. package/dist/tooltip/index.mjs +3 -1
  147. package/package.json +105 -123
  148. package/dist/Button.types-BsQYqZml.d.ts +0 -27
  149. package/dist/Button.types-D-srlWFf.d.mts +0 -27
  150. package/dist/TextInput.types-DRI8HQza.d.mts +0 -32
  151. package/dist/TextInput.types-DRI8HQza.d.ts +0 -32
  152. package/dist/Tooltip.types-PbUasE3C.d.mts +0 -36
  153. package/dist/Tooltip.types-PbUasE3C.d.ts +0 -36
  154. package/dist/avatar/index.d.mts +0 -29
  155. package/dist/avatar/index.d.ts +0 -29
  156. package/dist/badge/index.d.mts +0 -57
  157. package/dist/badge/index.d.ts +0 -57
  158. package/dist/breadcrumbs/index.d.mts +0 -32
  159. package/dist/breadcrumbs/index.d.ts +0 -32
  160. package/dist/button/index.d.mts +0 -8
  161. package/dist/button/index.d.ts +0 -8
  162. package/dist/card/index.d.mts +0 -42
  163. package/dist/card/index.d.ts +0 -42
  164. package/dist/checkbox/index.d.mts +0 -36
  165. package/dist/checkbox/index.d.ts +0 -36
  166. package/dist/combo-box/index.d.mts +0 -62
  167. package/dist/combo-box/index.d.ts +0 -62
  168. package/dist/components/Accordion/Accordion.d.ts +0 -5
  169. package/dist/components/Accordion/Accordion.types.d.ts +0 -32
  170. package/dist/components/Accordion/index.d.ts +0 -2
  171. package/dist/components/Avatar/Avatar.d.ts +0 -2
  172. package/dist/components/Avatar/Avatar.stories.d.ts +0 -11
  173. package/dist/components/Avatar/Avatar.test.d.ts +0 -1
  174. package/dist/components/Avatar/Avatar.types.d.ts +0 -24
  175. package/dist/components/Avatar/index.d.ts +0 -2
  176. package/dist/components/Badge/Badge.d.ts +0 -11
  177. package/dist/components/Badge/Badge.stories.d.ts +0 -21
  178. package/dist/components/Badge/Badge.test.d.ts +0 -1
  179. package/dist/components/Badge/Badge.types.d.ts +0 -43
  180. package/dist/components/Badge/index.d.ts +0 -2
  181. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  182. package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -13
  183. package/dist/components/Breadcrumbs/Breadcrumbs.test.d.ts +0 -1
  184. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -27
  185. package/dist/components/Breadcrumbs/index.d.ts +0 -2
  186. package/dist/components/Button/Button.d.ts +0 -2
  187. package/dist/components/Button/Button.stories.d.ts +0 -20
  188. package/dist/components/Button/Button.test.d.ts +0 -1
  189. package/dist/components/Button/Button.types.d.ts +0 -24
  190. package/dist/components/Button/index.d.ts +0 -2
  191. package/dist/components/Card/Card.d.ts +0 -25
  192. package/dist/components/Card/Card.stories.d.ts +0 -8
  193. package/dist/components/Card/Card.test.d.ts +0 -1
  194. package/dist/components/Card/Card.types.d.ts +0 -14
  195. package/dist/components/Card/index.d.ts +0 -2
  196. package/dist/components/Checkbox/Checkbox.d.ts +0 -2
  197. package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -16
  198. package/dist/components/Checkbox/Checkbox.test.d.ts +0 -1
  199. package/dist/components/Checkbox/Checkbox.types.d.ts +0 -31
  200. package/dist/components/Checkbox/index.d.ts +0 -2
  201. package/dist/components/ComboBox/ComboBox.d.ts +0 -2
  202. package/dist/components/ComboBox/ComboBox.stories.d.ts +0 -12
  203. package/dist/components/ComboBox/ComboBox.test.d.ts +0 -1
  204. package/dist/components/ComboBox/ComboBox.types.d.ts +0 -57
  205. package/dist/components/ComboBox/index.d.ts +0 -2
  206. package/dist/components/DatePicker/DatePicker.d.ts +0 -2
  207. package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -25
  208. package/dist/components/DatePicker/DatePicker.test.d.ts +0 -1
  209. package/dist/components/DatePicker/DatePicker.types.d.ts +0 -27
  210. package/dist/components/DatePicker/index.d.ts +0 -2
  211. package/dist/components/Dialog/Dialog.d.ts +0 -6
  212. package/dist/components/Dialog/Dialog.stories.d.ts +0 -9
  213. package/dist/components/Dialog/Dialog.test.d.ts +0 -1
  214. package/dist/components/Dialog/Dialog.types.d.ts +0 -52
  215. package/dist/components/Dialog/index.d.ts +0 -2
  216. package/dist/components/DropdownMenu/DropdownMenu.d.ts +0 -7
  217. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +0 -9
  218. package/dist/components/DropdownMenu/DropdownMenu.test.d.ts +0 -1
  219. package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +0 -24
  220. package/dist/components/DropdownMenu/index.d.ts +0 -2
  221. package/dist/components/Email/Email.d.ts +0 -2
  222. package/dist/components/Email/Email.stories.d.ts +0 -11
  223. package/dist/components/Email/Email.test.d.ts +0 -1
  224. package/dist/components/Email/Email.types.d.ts +0 -33
  225. package/dist/components/Email/index.d.ts +0 -2
  226. package/dist/components/FileUpload/FileUpload.d.ts +0 -2
  227. package/dist/components/FileUpload/FileUpload.stories.d.ts +0 -10
  228. package/dist/components/FileUpload/FileUpload.test.d.ts +0 -1
  229. package/dist/components/FileUpload/FileUpload.types.d.ts +0 -22
  230. package/dist/components/FileUpload/index.d.ts +0 -2
  231. package/dist/components/Header/Header.d.ts +0 -7
  232. package/dist/components/Header/Header.stories.d.ts +0 -8
  233. package/dist/components/Header/Header.test.d.ts +0 -1
  234. package/dist/components/Header/Header.types.d.ts +0 -19
  235. package/dist/components/Header/index.d.ts +0 -2
  236. package/dist/components/IconButton/IconButton.d.ts +0 -2
  237. package/dist/components/IconButton/IconButton.stories.d.ts +0 -17
  238. package/dist/components/IconButton/IconButton.types.d.ts +0 -10
  239. package/dist/components/IconButton/index.d.ts +0 -2
  240. package/dist/components/Image/Image.d.ts +0 -6
  241. package/dist/components/Image/Image.stories.d.ts +0 -13
  242. package/dist/components/Image/Image.test.d.ts +0 -1
  243. package/dist/components/Image/Image.types.d.ts +0 -40
  244. package/dist/components/Image/index.d.ts +0 -2
  245. package/dist/components/Link/Link.d.ts +0 -2
  246. package/dist/components/Link/Link.stories.d.ts +0 -15
  247. package/dist/components/Link/Link.test.d.ts +0 -1
  248. package/dist/components/Link/Link.types.d.ts +0 -20
  249. package/dist/components/Link/index.d.ts +0 -2
  250. package/dist/components/Loader/Loader.d.ts +0 -2
  251. package/dist/components/Loader/Loader.stories.d.ts +0 -12
  252. package/dist/components/Loader/Loader.test.d.ts +0 -1
  253. package/dist/components/Loader/Loader.types.d.ts +0 -17
  254. package/dist/components/Loader/index.d.ts +0 -2
  255. package/dist/components/Modal/Modal.d.ts +0 -14
  256. package/dist/components/Modal/Modal.stories.d.ts +0 -14
  257. package/dist/components/Modal/Modal.test.d.ts +0 -1
  258. package/dist/components/Modal/Modal.types.d.ts +0 -100
  259. package/dist/components/Modal/index.d.ts +0 -2
  260. package/dist/components/MultiSelect/MultiSelect.d.ts +0 -2
  261. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +0 -15
  262. package/dist/components/MultiSelect/MultiSelect.test.d.ts +0 -1
  263. package/dist/components/MultiSelect/MultiSelect.types.d.ts +0 -55
  264. package/dist/components/MultiSelect/index.d.ts +0 -2
  265. package/dist/components/OtpInput/OtpInput.d.ts +0 -2
  266. package/dist/components/OtpInput/OtpInput.stories.d.ts +0 -10
  267. package/dist/components/OtpInput/OtpInput.test.d.ts +0 -1
  268. package/dist/components/OtpInput/OtpInput.types.d.ts +0 -53
  269. package/dist/components/OtpInput/index.d.ts +0 -2
  270. package/dist/components/PasswordInput/PasswordInput.d.ts +0 -2
  271. package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -23
  272. package/dist/components/PasswordInput/PasswordInput.test.d.ts +0 -1
  273. package/dist/components/PasswordInput/PasswordInput.types.d.ts +0 -27
  274. package/dist/components/PasswordInput/index.d.ts +0 -2
  275. package/dist/components/Phone/Phone.d.ts +0 -2
  276. package/dist/components/Phone/Phone.stories.d.ts +0 -11
  277. package/dist/components/Phone/Phone.test.d.ts +0 -1
  278. package/dist/components/Phone/Phone.types.d.ts +0 -36
  279. package/dist/components/Phone/countries.d.ts +0 -8
  280. package/dist/components/Phone/index.d.ts +0 -2
  281. package/dist/components/RadioButton/RadioButton.d.ts +0 -2
  282. package/dist/components/RadioButton/RadioButton.stories.d.ts +0 -21
  283. package/dist/components/RadioButton/RadioButton.test.d.ts +0 -1
  284. package/dist/components/RadioButton/RadioButton.types.d.ts +0 -51
  285. package/dist/components/RadioButton/index.d.ts +0 -2
  286. package/dist/components/SearchInput/SearchInput.d.ts +0 -6
  287. package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -8
  288. package/dist/components/SearchInput/SearchInput.test.d.ts +0 -1
  289. package/dist/components/SearchInput/SearchInput.types.d.ts +0 -12
  290. package/dist/components/SearchInput/index.d.ts +0 -2
  291. package/dist/components/Select/Select.d.ts +0 -2
  292. package/dist/components/Select/Select.stories.d.ts +0 -12
  293. package/dist/components/Select/Select.test.d.ts +0 -1
  294. package/dist/components/Select/Select.types.d.ts +0 -31
  295. package/dist/components/Select/index.d.ts +0 -2
  296. package/dist/components/Sidebar/Sidebar.d.ts +0 -7
  297. package/dist/components/Sidebar/Sidebar.stories.d.ts +0 -10
  298. package/dist/components/Sidebar/Sidebar.test.d.ts +0 -1
  299. package/dist/components/Sidebar/Sidebar.types.d.ts +0 -87
  300. package/dist/components/Sidebar/index.d.ts +0 -2
  301. package/dist/components/Skeleton/Skeleton.d.ts +0 -26
  302. package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -13
  303. package/dist/components/Skeleton/Skeleton.types.d.ts +0 -47
  304. package/dist/components/Skeleton/index.d.ts +0 -2
  305. package/dist/components/Stepper/Stepper.d.ts +0 -2
  306. package/dist/components/Stepper/Stepper.stories.d.ts +0 -23
  307. package/dist/components/Stepper/Stepper.test.d.ts +0 -1
  308. package/dist/components/Stepper/Stepper.types.d.ts +0 -47
  309. package/dist/components/Stepper/index.d.ts +0 -2
  310. package/dist/components/Table/Pagination.d.ts +0 -3
  311. package/dist/components/Table/Table.d.ts +0 -3
  312. package/dist/components/Table/Table.stories.d.ts +0 -13
  313. package/dist/components/Table/Table.test.d.ts +0 -1
  314. package/dist/components/Table/Table.types.d.ts +0 -85
  315. package/dist/components/Table/index.d.ts +0 -3
  316. package/dist/components/Tabs/Tabs.d.ts +0 -2
  317. package/dist/components/Tabs/Tabs.stories.d.ts +0 -17
  318. package/dist/components/Tabs/Tabs.test.d.ts +0 -1
  319. package/dist/components/Tabs/Tabs.types.d.ts +0 -21
  320. package/dist/components/Tabs/index.d.ts +0 -2
  321. package/dist/components/TextInput/TextInput.d.ts +0 -2
  322. package/dist/components/TextInput/TextInput.stories.d.ts +0 -25
  323. package/dist/components/TextInput/TextInput.test.d.ts +0 -1
  324. package/dist/components/TextInput/TextInput.types.d.ts +0 -29
  325. package/dist/components/TextInput/index.d.ts +0 -2
  326. package/dist/components/ThemeProvider/ThemeProvider.d.ts +0 -8
  327. package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts +0 -16
  328. package/dist/components/ThemeProvider/ThemeProvider.test.d.ts +0 -1
  329. package/dist/components/ThemeProvider/ThemeProvider.types.d.ts +0 -112
  330. package/dist/components/ThemeProvider/index.d.ts +0 -2
  331. package/dist/components/TimePicker/TimePicker.d.ts +0 -2
  332. package/dist/components/TimePicker/TimePicker.stories.d.ts +0 -23
  333. package/dist/components/TimePicker/TimePicker.test.d.ts +0 -1
  334. package/dist/components/TimePicker/TimePicker.types.d.ts +0 -27
  335. package/dist/components/TimePicker/index.d.ts +0 -2
  336. package/dist/components/Toaster/Toaster.d.ts +0 -2
  337. package/dist/components/Toaster/Toaster.stories.d.ts +0 -13
  338. package/dist/components/Toaster/Toaster.test.d.ts +0 -1
  339. package/dist/components/Toaster/Toaster.types.d.ts +0 -23
  340. package/dist/components/Toaster/index.d.ts +0 -2
  341. package/dist/components/Toggle/Toggle.d.ts +0 -2
  342. package/dist/components/Toggle/Toggle.stories.d.ts +0 -11
  343. package/dist/components/Toggle/Toggle.types.d.ts +0 -10
  344. package/dist/components/Toggle/index.d.ts +0 -2
  345. package/dist/components/Tooltip/Tooltip.d.ts +0 -2
  346. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -13
  347. package/dist/components/Tooltip/Tooltip.test.d.ts +0 -1
  348. package/dist/components/Tooltip/Tooltip.types.d.ts +0 -33
  349. package/dist/components/Tooltip/index.d.ts +0 -2
  350. package/dist/date-picker/index.d.mts +0 -32
  351. package/dist/date-picker/index.d.ts +0 -32
  352. package/dist/dialog/index.d.mts +0 -61
  353. package/dist/dialog/index.d.ts +0 -61
  354. package/dist/dropdown-menu/index.d.mts +0 -34
  355. package/dist/dropdown-menu/index.d.ts +0 -34
  356. package/dist/email/index.d.mts +0 -38
  357. package/dist/email/index.d.ts +0 -38
  358. package/dist/file-upload/index.d.mts +0 -27
  359. package/dist/file-upload/index.d.ts +0 -27
  360. package/dist/header/index.d.mts +0 -28
  361. package/dist/header/index.d.ts +0 -28
  362. package/dist/icon-button/index.d.mts +0 -16
  363. package/dist/icon-button/index.d.ts +0 -16
  364. package/dist/image/index.d.mts +0 -48
  365. package/dist/image/index.d.ts +0 -48
  366. package/dist/index.d.mts +0 -141
  367. package/dist/index.d.ts +0 -75
  368. package/dist/link/index.d.mts +0 -25
  369. package/dist/link/index.d.ts +0 -25
  370. package/dist/loader/index.d.mts +0 -21
  371. package/dist/loader/index.d.ts +0 -21
  372. package/dist/modal/index.d.mts +0 -116
  373. package/dist/modal/index.d.ts +0 -116
  374. package/dist/multi-select/index.d.mts +0 -59
  375. package/dist/multi-select/index.d.ts +0 -59
  376. package/dist/otp-input/index.d.mts +0 -57
  377. package/dist/otp-input/index.d.ts +0 -57
  378. package/dist/password-input/index.d.mts +0 -32
  379. package/dist/password-input/index.d.ts +0 -32
  380. package/dist/phone/index.d.mts +0 -41
  381. package/dist/phone/index.d.ts +0 -41
  382. package/dist/radio-button/index.d.mts +0 -56
  383. package/dist/radio-button/index.d.ts +0 -56
  384. package/dist/search-input/index.d.mts +0 -22
  385. package/dist/search-input/index.d.ts +0 -22
  386. package/dist/select/index.d.mts +0 -36
  387. package/dist/select/index.d.ts +0 -36
  388. package/dist/sidebar/index.d.mts +0 -96
  389. package/dist/sidebar/index.d.ts +0 -96
  390. package/dist/skeleton/index.d.mts +0 -76
  391. package/dist/skeleton/index.d.ts +0 -76
  392. package/dist/styles.d.mts +0 -2
  393. package/dist/styles.d.ts +0 -2
  394. package/dist/table/index.d.mts +0 -92
  395. package/dist/table/index.d.ts +0 -92
  396. package/dist/tabs/index.d.mts +0 -26
  397. package/dist/tabs/index.d.ts +0 -26
  398. package/dist/text-input/index.d.mts +0 -7
  399. package/dist/text-input/index.d.ts +0 -7
  400. package/dist/theme-provider/index.d.mts +0 -122
  401. package/dist/theme-provider/index.d.ts +0 -122
  402. package/dist/time-picker/index.d.mts +0 -32
  403. package/dist/time-picker/index.d.ts +0 -32
  404. package/dist/toaster/index.d.mts +0 -28
  405. package/dist/toaster/index.d.ts +0 -28
  406. package/dist/tooltip/index.d.mts +0 -7
  407. package/dist/tooltip/index.d.ts +0 -7
  408. package/dist/utils/cn.d.ts +0 -2
  409. package/dist/utils/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,15 +1,12 @@
1
1
  {
2
2
  "name": "@bricks-toolkit/toolkit",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Micro-modularized, fully independent, type-safe UI component library",
5
5
  "license": "MIT",
6
6
  "author": "ITProfound",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://bitbucket.org/elaachiadmin/itprofound-ui-kit.git"
10
- },
11
- "publishConfig": {
12
- "access": "public"
9
+ "url": "https://bitbucket.org/elaachiadmin/itprofound-ui-kit"
13
10
  },
14
11
  "keywords": [
15
12
  "react",
@@ -30,7 +27,7 @@
30
27
  "exports": {
31
28
  ".": {
32
29
  "import": {
33
- "types": "./dist/index.d.ts",
30
+ "types": "./dist/index.d.mts",
34
31
  "default": "./dist/index.mjs"
35
32
  },
36
33
  "require": {
@@ -40,7 +37,7 @@
40
37
  },
41
38
  "./avatar": {
42
39
  "import": {
43
- "types": "./dist/avatar/index.d.ts",
40
+ "types": "./dist/avatar/index.d.mts",
44
41
  "default": "./dist/avatar/index.mjs"
45
42
  },
46
43
  "require": {
@@ -50,7 +47,7 @@
50
47
  },
51
48
  "./badge": {
52
49
  "import": {
53
- "types": "./dist/badge/index.d.ts",
50
+ "types": "./dist/badge/index.d.mts",
54
51
  "default": "./dist/badge/index.mjs"
55
52
  },
56
53
  "require": {
@@ -60,7 +57,7 @@
60
57
  },
61
58
  "./breadcrumbs": {
62
59
  "import": {
63
- "types": "./dist/breadcrumbs/index.d.ts",
60
+ "types": "./dist/breadcrumbs/index.d.mts",
64
61
  "default": "./dist/breadcrumbs/index.mjs"
65
62
  },
66
63
  "require": {
@@ -70,7 +67,7 @@
70
67
  },
71
68
  "./button": {
72
69
  "import": {
73
- "types": "./dist/button/index.d.ts",
70
+ "types": "./dist/button/index.d.mts",
74
71
  "default": "./dist/button/index.mjs"
75
72
  },
76
73
  "require": {
@@ -80,7 +77,7 @@
80
77
  },
81
78
  "./card": {
82
79
  "import": {
83
- "types": "./dist/card/index.d.ts",
80
+ "types": "./dist/card/index.d.mts",
84
81
  "default": "./dist/card/index.mjs"
85
82
  },
86
83
  "require": {
@@ -90,7 +87,7 @@
90
87
  },
91
88
  "./checkbox": {
92
89
  "import": {
93
- "types": "./dist/checkbox/index.d.ts",
90
+ "types": "./dist/checkbox/index.d.mts",
94
91
  "default": "./dist/checkbox/index.mjs"
95
92
  },
96
93
  "require": {
@@ -100,7 +97,7 @@
100
97
  },
101
98
  "./combo-box": {
102
99
  "import": {
103
- "types": "./dist/combo-box/index.d.ts",
100
+ "types": "./dist/combo-box/index.d.mts",
104
101
  "default": "./dist/combo-box/index.mjs"
105
102
  },
106
103
  "require": {
@@ -110,7 +107,7 @@
110
107
  },
111
108
  "./date-picker": {
112
109
  "import": {
113
- "types": "./dist/date-picker/index.d.ts",
110
+ "types": "./dist/date-picker/index.d.mts",
114
111
  "default": "./dist/date-picker/index.mjs"
115
112
  },
116
113
  "require": {
@@ -120,7 +117,7 @@
120
117
  },
121
118
  "./dialog": {
122
119
  "import": {
123
- "types": "./dist/dialog/index.d.ts",
120
+ "types": "./dist/dialog/index.d.mts",
124
121
  "default": "./dist/dialog/index.mjs"
125
122
  },
126
123
  "require": {
@@ -130,7 +127,7 @@
130
127
  },
131
128
  "./dropdown-menu": {
132
129
  "import": {
133
- "types": "./dist/dropdown-menu/index.d.ts",
130
+ "types": "./dist/dropdown-menu/index.d.mts",
134
131
  "default": "./dist/dropdown-menu/index.mjs"
135
132
  },
136
133
  "require": {
@@ -140,7 +137,7 @@
140
137
  },
141
138
  "./email": {
142
139
  "import": {
143
- "types": "./dist/email/index.d.ts",
140
+ "types": "./dist/email/index.d.mts",
144
141
  "default": "./dist/email/index.mjs"
145
142
  },
146
143
  "require": {
@@ -150,7 +147,7 @@
150
147
  },
151
148
  "./file-upload": {
152
149
  "import": {
153
- "types": "./dist/file-upload/index.d.ts",
150
+ "types": "./dist/file-upload/index.d.mts",
154
151
  "default": "./dist/file-upload/index.mjs"
155
152
  },
156
153
  "require": {
@@ -158,9 +155,39 @@
158
155
  "default": "./dist/file-upload/index.cjs"
159
156
  }
160
157
  },
158
+ "./header": {
159
+ "import": {
160
+ "types": "./dist/header/index.d.mts",
161
+ "default": "./dist/header/index.mjs"
162
+ },
163
+ "require": {
164
+ "types": "./dist/header/index.d.ts",
165
+ "default": "./dist/header/index.cjs"
166
+ }
167
+ },
168
+ "./image": {
169
+ "import": {
170
+ "types": "./dist/image/index.d.mts",
171
+ "default": "./dist/image/index.mjs"
172
+ },
173
+ "require": {
174
+ "types": "./dist/image/index.d.ts",
175
+ "default": "./dist/image/index.cjs"
176
+ }
177
+ },
178
+ "./icon-button": {
179
+ "import": {
180
+ "types": "./dist/icon-button/index.d.mts",
181
+ "default": "./dist/icon-button/index.mjs"
182
+ },
183
+ "require": {
184
+ "types": "./dist/icon-button/index.d.ts",
185
+ "default": "./dist/icon-button/index.cjs"
186
+ }
187
+ },
161
188
  "./link": {
162
189
  "import": {
163
- "types": "./dist/link/index.d.ts",
190
+ "types": "./dist/link/index.d.mts",
164
191
  "default": "./dist/link/index.mjs"
165
192
  },
166
193
  "require": {
@@ -170,7 +197,7 @@
170
197
  },
171
198
  "./loader": {
172
199
  "import": {
173
- "types": "./dist/loader/index.d.ts",
200
+ "types": "./dist/loader/index.d.mts",
174
201
  "default": "./dist/loader/index.mjs"
175
202
  },
176
203
  "require": {
@@ -178,19 +205,19 @@
178
205
  "default": "./dist/loader/index.cjs"
179
206
  }
180
207
  },
181
- "./skeleton": {
208
+ "./modal": {
182
209
  "import": {
183
- "types": "./dist/skeleton/index.d.ts",
184
- "default": "./dist/skeleton/index.mjs"
210
+ "types": "./dist/modal/index.d.mts",
211
+ "default": "./dist/modal/index.mjs"
185
212
  },
186
213
  "require": {
187
- "types": "./dist/skeleton/index.d.ts",
188
- "default": "./dist/skeleton/index.cjs"
214
+ "types": "./dist/modal/index.d.ts",
215
+ "default": "./dist/modal/index.cjs"
189
216
  }
190
217
  },
191
218
  "./multi-select": {
192
219
  "import": {
193
- "types": "./dist/multi-select/index.d.ts",
220
+ "types": "./dist/multi-select/index.d.mts",
194
221
  "default": "./dist/multi-select/index.mjs"
195
222
  },
196
223
  "require": {
@@ -200,7 +227,7 @@
200
227
  },
201
228
  "./otp-input": {
202
229
  "import": {
203
- "types": "./dist/otp-input/index.d.ts",
230
+ "types": "./dist/otp-input/index.d.mts",
204
231
  "default": "./dist/otp-input/index.mjs"
205
232
  },
206
233
  "require": {
@@ -210,7 +237,7 @@
210
237
  },
211
238
  "./password-input": {
212
239
  "import": {
213
- "types": "./dist/password-input/index.d.ts",
240
+ "types": "./dist/password-input/index.d.mts",
214
241
  "default": "./dist/password-input/index.mjs"
215
242
  },
216
243
  "require": {
@@ -220,7 +247,7 @@
220
247
  },
221
248
  "./phone": {
222
249
  "import": {
223
- "types": "./dist/phone/index.d.ts",
250
+ "types": "./dist/phone/index.d.mts",
224
251
  "default": "./dist/phone/index.mjs"
225
252
  },
226
253
  "require": {
@@ -230,7 +257,7 @@
230
257
  },
231
258
  "./radio-button": {
232
259
  "import": {
233
- "types": "./dist/radio-button/index.d.ts",
260
+ "types": "./dist/radio-button/index.d.mts",
234
261
  "default": "./dist/radio-button/index.mjs"
235
262
  },
236
263
  "require": {
@@ -238,9 +265,19 @@
238
265
  "default": "./dist/radio-button/index.cjs"
239
266
  }
240
267
  },
268
+ "./search-input": {
269
+ "import": {
270
+ "types": "./dist/search-input/index.d.mts",
271
+ "default": "./dist/search-input/index.mjs"
272
+ },
273
+ "require": {
274
+ "types": "./dist/search-input/index.d.ts",
275
+ "default": "./dist/search-input/index.cjs"
276
+ }
277
+ },
241
278
  "./select": {
242
279
  "import": {
243
- "types": "./dist/select/index.d.ts",
280
+ "types": "./dist/select/index.d.mts",
244
281
  "default": "./dist/select/index.mjs"
245
282
  },
246
283
  "require": {
@@ -248,9 +285,19 @@
248
285
  "default": "./dist/select/index.cjs"
249
286
  }
250
287
  },
288
+ "./sidebar": {
289
+ "import": {
290
+ "types": "./dist/sidebar/index.d.mts",
291
+ "default": "./dist/sidebar/index.mjs"
292
+ },
293
+ "require": {
294
+ "types": "./dist/sidebar/index.d.ts",
295
+ "default": "./dist/sidebar/index.cjs"
296
+ }
297
+ },
251
298
  "./table": {
252
299
  "import": {
253
- "types": "./dist/table/index.d.ts",
300
+ "types": "./dist/table/index.d.mts",
254
301
  "default": "./dist/table/index.mjs"
255
302
  },
256
303
  "require": {
@@ -260,7 +307,7 @@
260
307
  },
261
308
  "./tabs": {
262
309
  "import": {
263
- "types": "./dist/tabs/index.d.ts",
310
+ "types": "./dist/tabs/index.d.mts",
264
311
  "default": "./dist/tabs/index.mjs"
265
312
  },
266
313
  "require": {
@@ -270,7 +317,7 @@
270
317
  },
271
318
  "./text-input": {
272
319
  "import": {
273
- "types": "./dist/text-input/index.d.ts",
320
+ "types": "./dist/text-input/index.d.mts",
274
321
  "default": "./dist/text-input/index.mjs"
275
322
  },
276
323
  "require": {
@@ -278,9 +325,19 @@
278
325
  "default": "./dist/text-input/index.cjs"
279
326
  }
280
327
  },
328
+ "./theme-provider": {
329
+ "import": {
330
+ "types": "./dist/theme-provider/index.d.mts",
331
+ "default": "./dist/theme-provider/index.mjs"
332
+ },
333
+ "require": {
334
+ "types": "./dist/theme-provider/index.d.ts",
335
+ "default": "./dist/theme-provider/index.cjs"
336
+ }
337
+ },
281
338
  "./time-picker": {
282
339
  "import": {
283
- "types": "./dist/time-picker/index.d.ts",
340
+ "types": "./dist/time-picker/index.d.mts",
284
341
  "default": "./dist/time-picker/index.mjs"
285
342
  },
286
343
  "require": {
@@ -290,7 +347,7 @@
290
347
  },
291
348
  "./toaster": {
292
349
  "import": {
293
- "types": "./dist/toaster/index.d.ts",
350
+ "types": "./dist/toaster/index.d.mts",
294
351
  "default": "./dist/toaster/index.mjs"
295
352
  },
296
353
  "require": {
@@ -298,79 +355,9 @@
298
355
  "default": "./dist/toaster/index.cjs"
299
356
  }
300
357
  },
301
- "./sidebar": {
302
- "import": {
303
- "types": "./dist/sidebar/index.d.ts",
304
- "default": "./dist/sidebar/index.mjs"
305
- },
306
- "require": {
307
- "types": "./dist/sidebar/index.d.ts",
308
- "default": "./dist/sidebar/index.cjs"
309
- }
310
- },
311
- "./header": {
312
- "import": {
313
- "types": "./dist/header/index.d.ts",
314
- "default": "./dist/header/index.mjs"
315
- },
316
- "require": {
317
- "types": "./dist/header/index.d.ts",
318
- "default": "./dist/header/index.cjs"
319
- }
320
- },
321
- "./image": {
322
- "import": {
323
- "types": "./dist/image/index.d.ts",
324
- "default": "./dist/image/index.mjs"
325
- },
326
- "require": {
327
- "types": "./dist/image/index.d.ts",
328
- "default": "./dist/image/index.cjs"
329
- }
330
- },
331
- "./icon-button": {
332
- "import": {
333
- "types": "./dist/icon-button/index.d.ts",
334
- "default": "./dist/icon-button/index.mjs"
335
- },
336
- "require": {
337
- "types": "./dist/icon-button/index.d.ts",
338
- "default": "./dist/icon-button/index.cjs"
339
- }
340
- },
341
- "./modal": {
342
- "import": {
343
- "types": "./dist/modal/index.d.ts",
344
- "default": "./dist/modal/index.mjs"
345
- },
346
- "require": {
347
- "types": "./dist/modal/index.d.ts",
348
- "default": "./dist/modal/index.cjs"
349
- }
350
- },
351
- "./search-input": {
352
- "import": {
353
- "types": "./dist/search-input/index.d.ts",
354
- "default": "./dist/search-input/index.mjs"
355
- },
356
- "require": {
357
- "types": "./dist/search-input/index.d.ts",
358
- "default": "./dist/search-input/index.cjs"
359
- }
360
- },
361
- "./theme-provider": {
362
- "import": {
363
- "types": "./dist/theme-provider/index.d.ts",
364
- "default": "./dist/theme-provider/index.mjs"
365
- },
366
- "require": {
367
- "types": "./dist/theme-provider/index.d.ts",
368
- "default": "./dist/theme-provider/index.cjs"
369
- }
370
- },
371
358
  "./tooltip": {
372
359
  "import": {
373
- "types": "./dist/tooltip/index.d.ts",
360
+ "types": "./dist/tooltip/index.d.mts",
374
361
  "default": "./dist/tooltip/index.mjs"
375
362
  },
376
363
  "require": {
@@ -387,7 +374,7 @@
387
374
  ],
388
375
  "scripts": {
389
376
  "storybook": "storybook dev -p 6006 --no-version-updates",
390
- "build": "tsup && tsc --emitDeclarationOnly",
377
+ "build": "tsup",
391
378
  "build:watch": "tsup --watch",
392
379
  "build:storybook": "storybook build",
393
380
  "test": "vitest run",
@@ -401,14 +388,9 @@
401
388
  "validate": "pnpm typecheck && pnpm lint && pnpm test",
402
389
  "clean": "rimraf dist",
403
390
  "prepare": "husky",
404
- "prepublishOnly": "pnpm build",
405
391
  "audit": "pnpm audit"
406
392
  },
407
- "dependencies": {
408
- "@heroicons/react": "2.2.0"
409
- },
410
393
  "devDependencies": {
411
- "lucide-react": "0.471.0",
412
394
  "@eslint/js": "10.0.1",
413
395
  "@storybook/addon-a11y": "10.3.5",
414
396
  "@storybook/react": "10.3.5",
@@ -433,7 +415,7 @@
433
415
  "husky": "9.1.7",
434
416
  "jsdom": "28.1.0",
435
417
  "lint-staged": "16.2.7",
436
- "postcss": "8.5.10",
418
+ "postcss": "8.5.6",
437
419
  "prettier": "3.8.1",
438
420
  "react": "19.2.4",
439
421
  "react-dom": "19.2.4",
@@ -442,7 +424,7 @@
442
424
  "tailwind-merge": "3.5.0",
443
425
  "tailwindcss": "4.2.1",
444
426
  "tsup": "8.5.1",
445
- "typescript": "5.7.3",
427
+ "typescript": "5.9.3",
446
428
  "typescript-eslint": "8.56.1",
447
429
  "vite": "8.0.8",
448
430
  "vitest": "4.0.18",
@@ -450,11 +432,8 @@
450
432
  "@storybook/addon-docs": "10.3.5"
451
433
  },
452
434
  "peerDependencies": {
453
- "react": ">=19.0.0",
454
- "react-dom": ">=19.0.0",
455
- "lucide-react": ">=0.471.0",
456
- "clsx": ">=2.1.1",
457
- "tailwind-merge": ">=3.0.0"
435
+ "react": "19.0.0",
436
+ "react-dom": "19.0.0"
458
437
  },
459
438
  "peerDependenciesMeta": {
460
439
  "react": {
@@ -462,15 +441,15 @@
462
441
  },
463
442
  "react-dom": {
464
443
  "optional": false
465
- },
466
- "lucide-react": {
467
- "optional": true
468
444
  }
469
445
  },
470
446
  "engines": {
471
447
  "node": "24.14.0",
472
448
  "pnpm": ">=10.0.0"
473
449
  },
450
+ "publishConfig": {
451
+ "access": "public"
452
+ },
474
453
  "lint-staged": {
475
454
  "*.{ts,tsx}": [
476
455
  "eslint --max-warnings=0 --fix",
@@ -479,5 +458,8 @@
479
458
  "*.{json,md,css}": [
480
459
  "prettier --write"
481
460
  ]
461
+ },
462
+ "dependencies": {
463
+ "@heroicons/react": "2.2.0"
482
464
  }
483
465
  }
@@ -1,27 +0,0 @@
1
- import { ButtonHTMLAttributes, ReactNode } from 'react';
2
- import { T as TooltipPlacement } from './Tooltip.types-PbUasE3C.js';
3
-
4
- type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'success' | 'warning' | 'info';
5
- type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
6
- interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'> {
7
- /** The variant style of the button */
8
- variant?: ButtonVariant;
9
- /** The size of the button */
10
- size?: ButtonSize;
11
- /** Whether the button should take up the full width of its container */
12
- fullWidth?: boolean;
13
- /** Whether the button is currently in a loading state */
14
- isLoading?: boolean;
15
- /** Optional text to display alongside the spinner when loading */
16
- loadingText?: string;
17
- /** An icon element to display before the button content */
18
- leftIcon?: ReactNode;
19
- /** An icon element to display after the button content */
20
- rightIcon?: ReactNode;
21
- /** Optional tooltip text or element to display on hover */
22
- tooltip?: ReactNode;
23
- /** Preferred placement of the tooltip relative to the button */
24
- tooltipPlacement?: TooltipPlacement;
25
- }
26
-
27
- export type { ButtonProps as B, ButtonSize as a, ButtonVariant as b };
@@ -1,27 +0,0 @@
1
- import { ButtonHTMLAttributes, ReactNode } from 'react';
2
- import { T as TooltipPlacement } from './Tooltip.types-PbUasE3C.mjs';
3
-
4
- type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'success' | 'warning' | 'info';
5
- type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
6
- interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'> {
7
- /** The variant style of the button */
8
- variant?: ButtonVariant;
9
- /** The size of the button */
10
- size?: ButtonSize;
11
- /** Whether the button should take up the full width of its container */
12
- fullWidth?: boolean;
13
- /** Whether the button is currently in a loading state */
14
- isLoading?: boolean;
15
- /** Optional text to display alongside the spinner when loading */
16
- loadingText?: string;
17
- /** An icon element to display before the button content */
18
- leftIcon?: ReactNode;
19
- /** An icon element to display after the button content */
20
- rightIcon?: ReactNode;
21
- /** Optional tooltip text or element to display on hover */
22
- tooltip?: ReactNode;
23
- /** Preferred placement of the tooltip relative to the button */
24
- tooltipPlacement?: TooltipPlacement;
25
- }
26
-
27
- export type { ButtonProps as B, ButtonSize as a, ButtonVariant as b };
@@ -1,32 +0,0 @@
1
- import { InputHTMLAttributes, ReactNode } from 'react';
2
-
3
- type TextInputVariant = 'default' | 'filled' | 'flushed' | 'unstyled';
4
- type TextInputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
- type TextInputState = 'default' | 'error' | 'success' | 'warning';
6
- interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
7
- label?: string;
8
- required?: boolean;
9
- helperText?: string;
10
- errorMessage?: string;
11
- successMessage?: string;
12
- warningMessage?: string;
13
- variant?: TextInputVariant;
14
- size?: TextInputSize;
15
- state?: TextInputState;
16
- fullWidth?: boolean;
17
- leftElement?: ReactNode;
18
- rightElement?: ReactNode;
19
- prefix?: ReactNode;
20
- suffix?: ReactNode;
21
- wrapperClassName?: string;
22
- inputGroupClassName?: string;
23
- inputClassName?: string;
24
- labelClassName?: string;
25
- helperClassName?: string;
26
- clearable?: boolean;
27
- isLoading?: boolean;
28
- multiline?: boolean;
29
- rows?: number;
30
- }
31
-
32
- export type { TextInputProps as T, TextInputSize as a, TextInputState as b, TextInputVariant as c };
@@ -1,32 +0,0 @@
1
- import { InputHTMLAttributes, ReactNode } from 'react';
2
-
3
- type TextInputVariant = 'default' | 'filled' | 'flushed' | 'unstyled';
4
- type TextInputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
- type TextInputState = 'default' | 'error' | 'success' | 'warning';
6
- interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
7
- label?: string;
8
- required?: boolean;
9
- helperText?: string;
10
- errorMessage?: string;
11
- successMessage?: string;
12
- warningMessage?: string;
13
- variant?: TextInputVariant;
14
- size?: TextInputSize;
15
- state?: TextInputState;
16
- fullWidth?: boolean;
17
- leftElement?: ReactNode;
18
- rightElement?: ReactNode;
19
- prefix?: ReactNode;
20
- suffix?: ReactNode;
21
- wrapperClassName?: string;
22
- inputGroupClassName?: string;
23
- inputClassName?: string;
24
- labelClassName?: string;
25
- helperClassName?: string;
26
- clearable?: boolean;
27
- isLoading?: boolean;
28
- multiline?: boolean;
29
- rows?: number;
30
- }
31
-
32
- export type { TextInputProps as T, TextInputSize as a, TextInputState as b, TextInputVariant as c };
@@ -1,36 +0,0 @@
1
- import { ReactNode } from 'react';
2
-
3
- type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
4
- type TooltipTrigger = 'hover' | 'click' | 'focus';
5
- type TooltipSize = 'sm' | 'md' | 'lg';
6
- type TooltipVariant = 'dark' | 'primary' | 'light';
7
- interface TooltipProps {
8
- /** The content shown inside the tooltip bubble. */
9
- content: ReactNode;
10
- /** The element the tooltip is anchored to. */
11
- children?: ReactNode;
12
- /** Preferred placement relative to the trigger. Defaults to 'top'. */
13
- placement?: TooltipPlacement;
14
- /** What interaction opens the tooltip. Defaults to 'hover'. */
15
- trigger?: TooltipTrigger;
16
- /** Delay in ms before showing (hover only). Defaults to 0. */
17
- showDelay?: number;
18
- /** Delay in ms before hiding (hover only). Defaults to 100. */
19
- hideDelay?: number;
20
- /** Size / padding of the tooltip bubble. Defaults to 'md'. */
21
- size?: TooltipSize;
22
- /** Visual style of the tooltip bubble. Defaults to 'dark'. */
23
- variant?: TooltipVariant;
24
- /** When true the tooltip is always visible (controlled). */
25
- open?: boolean;
26
- /** When true the tooltip is disabled and will never show. */
27
- disabled?: boolean;
28
- /** Max width of the tooltip bubble in px. Defaults to 240. */
29
- maxWidth?: number;
30
- /** Additional class for the tooltip bubble. */
31
- className?: string;
32
- /** Additional class for the tooltip wrapper span. */
33
- wrapperClassName?: string;
34
- }
35
-
36
- export type { TooltipPlacement as T, TooltipProps as a, TooltipSize as b, TooltipTrigger as c, TooltipVariant as d };