@bricks-toolkit/toolkit 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/README.md +9 -9
  2. package/dist/{components/Button/Button.types.d.ts → Button.types-BsQYqZml.d.ts} +8 -5
  3. package/dist/Button.types-D-srlWFf.d.mts +27 -0
  4. package/dist/{components/TextInput/TextInput.types.d.ts → TextInput.types-DRI8HQza.d.mts} +8 -5
  5. package/dist/TextInput.types-DRI8HQza.d.ts +32 -0
  6. package/dist/{components/Tooltip/Tooltip.types.d.ts → Tooltip.types-PbUasE3C.d.mts} +9 -6
  7. package/dist/Tooltip.types-PbUasE3C.d.ts +36 -0
  8. package/dist/avatar/index.cjs +11 -0
  9. package/dist/{components/Avatar/Avatar.types.d.ts → avatar/index.d.mts} +10 -5
  10. package/dist/avatar/index.d.ts +29 -0
  11. package/dist/avatar/index.mjs +2 -0
  12. package/dist/badge/index.cjs +11 -0
  13. package/dist/{components/Badge/Badge.types.d.ts → badge/index.d.mts} +20 -6
  14. package/dist/badge/index.d.ts +57 -0
  15. package/dist/badge/index.mjs +2 -0
  16. package/dist/breadcrumbs/index.cjs +11 -0
  17. package/dist/{components/Breadcrumbs/Breadcrumbs.types.d.ts → breadcrumbs/index.d.mts} +10 -5
  18. package/dist/breadcrumbs/index.d.ts +32 -0
  19. package/dist/breadcrumbs/index.mjs +2 -0
  20. package/dist/button/index.cjs +13 -0
  21. package/dist/button/index.d.mts +8 -0
  22. package/dist/button/index.d.ts +8 -0
  23. package/dist/button/index.mjs +4 -0
  24. package/dist/card/index.cjs +31 -0
  25. package/dist/card/index.d.mts +42 -0
  26. package/dist/card/index.d.ts +42 -0
  27. package/dist/card/index.mjs +2 -0
  28. package/dist/checkbox/index.cjs +11 -0
  29. package/dist/{components/Checkbox/Checkbox.types.d.ts → checkbox/index.d.mts} +9 -4
  30. package/dist/checkbox/index.d.ts +36 -0
  31. package/dist/checkbox/index.mjs +2 -0
  32. package/dist/chunk-2POU3NX4.mjs +192 -0
  33. package/dist/chunk-32SKYPQW.mjs +156 -0
  34. package/dist/chunk-446OJWC6.mjs +285 -0
  35. package/dist/chunk-4DA7CRNV.mjs +376 -0
  36. package/dist/chunk-4DR57X7U.mjs +182 -0
  37. package/dist/chunk-4QSDPHPI.mjs +285 -0
  38. package/dist/chunk-56ILK7Y4.cjs +315 -0
  39. package/dist/chunk-5J3OMAO4.cjs +222 -0
  40. package/dist/chunk-5RKET2JO.cjs +287 -0
  41. package/dist/chunk-65UZC3FK.mjs +312 -0
  42. package/dist/chunk-6CC5KIA5.cjs +148 -0
  43. package/dist/chunk-6R3OYBQ6.cjs +209 -0
  44. package/dist/chunk-6UO72EJA.cjs +2 -0
  45. package/dist/chunk-6ZCY4O5M.mjs +63 -0
  46. package/dist/chunk-7364SUK6.mjs +359 -0
  47. package/dist/chunk-7DDDQ3RH.cjs +66 -0
  48. package/dist/chunk-7PDGAIC3.cjs +189 -0
  49. package/dist/chunk-7R5JRJ2W.cjs +255 -0
  50. package/dist/chunk-7WNJ7L4Z.mjs +335 -0
  51. package/dist/chunk-AJXVELXK.cjs +218 -0
  52. package/dist/chunk-ARTXRQO6.mjs +1 -0
  53. package/dist/chunk-B4OV5GRT.cjs +510 -0
  54. package/dist/chunk-B5MYGYJY.mjs +122 -0
  55. package/dist/chunk-BBVWG5GH.cjs +75 -0
  56. package/dist/chunk-BVBCAAES.mjs +35 -0
  57. package/dist/chunk-CBA54EY4.mjs +508 -0
  58. package/dist/chunk-CMER5LO3.mjs +330 -0
  59. package/dist/chunk-DHC5LI2P.cjs +338 -0
  60. package/dist/chunk-DMLPA65B.mjs +107 -0
  61. package/dist/chunk-DN2GFJF4.mjs +175 -0
  62. package/dist/chunk-ECLNLPOR.cjs +70 -0
  63. package/dist/chunk-EV463QT5.cjs +53 -0
  64. package/dist/chunk-FOVJHEWH.mjs +51 -0
  65. package/dist/chunk-G4HVY6FM.mjs +203 -0
  66. package/dist/chunk-H77YWN3L.mjs +220 -0
  67. package/dist/chunk-HIWJDLIS.cjs +124 -0
  68. package/dist/chunk-HQGDSOSN.mjs +274 -0
  69. package/dist/chunk-JKPNJ4PZ.mjs +313 -0
  70. package/dist/chunk-JV6AWBN5.mjs +113 -0
  71. package/dist/chunk-KA35BV7V.mjs +207 -0
  72. package/dist/chunk-KLBABQEJ.cjs +378 -0
  73. package/dist/chunk-L5VQZZVR.cjs +3197 -0
  74. package/dist/chunk-LTG6YP5I.cjs +69 -0
  75. package/dist/chunk-MVUNJPGH.cjs +184 -0
  76. package/dist/chunk-NMJ5CVZH.cjs +2 -0
  77. package/dist/chunk-NRCNRHXL.cjs +109 -0
  78. package/dist/chunk-NRZIXK35.cjs +276 -0
  79. package/dist/chunk-OCPFOFJ4.mjs +3195 -0
  80. package/dist/chunk-OEU5VG3D.cjs +362 -0
  81. package/dist/chunk-OPOCCRJG.cjs +193 -0
  82. package/dist/chunk-OQPCL5XX.mjs +187 -0
  83. package/dist/chunk-PCYGJNEQ.cjs +280 -0
  84. package/dist/chunk-PJH2KEWK.mjs +200 -0
  85. package/dist/chunk-PJWELBN2.cjs +115 -0
  86. package/dist/chunk-Q3IFXFFD.cjs +202 -0
  87. package/dist/chunk-R72GDCWE.cjs +314 -0
  88. package/dist/chunk-RAD5VJHR.mjs +146 -0
  89. package/dist/chunk-RYWDZHKG.mjs +274 -0
  90. package/dist/chunk-S7VEND5Z.cjs +162 -0
  91. package/dist/chunk-SBNNV6FE.mjs +1 -0
  92. package/dist/chunk-SFUOCZJY.mjs +187 -0
  93. package/dist/chunk-SHQ2MPBE.mjs +73 -0
  94. package/dist/chunk-TIVSMCXZ.mjs +253 -0
  95. package/dist/chunk-TNGW5YHA.cjs +37 -0
  96. package/dist/chunk-VC7MOPU6.cjs +287 -0
  97. package/dist/chunk-VHVFRWF5.mjs +64 -0
  98. package/dist/chunk-VKQDW7C2.mjs +336 -0
  99. package/dist/chunk-VRZFAKSV.cjs +177 -0
  100. package/dist/chunk-W2ZAPLQH.cjs +337 -0
  101. package/dist/chunk-XFNRKHHF.cjs +332 -0
  102. package/dist/chunk-Y3NTKFUE.mjs +66 -0
  103. package/dist/chunk-Y6AN7AWX.cjs +205 -0
  104. package/dist/chunk-YMMNWJT6.cjs +134 -0
  105. package/dist/chunk-YOTCXSXL.mjs +132 -0
  106. package/dist/combo-box/index.cjs +11 -0
  107. package/dist/{components/ComboBox/ComboBox.types.d.ts → combo-box/index.d.mts} +10 -5
  108. package/dist/combo-box/index.d.ts +62 -0
  109. package/dist/combo-box/index.mjs +2 -0
  110. package/dist/date-picker/index.cjs +11 -0
  111. package/dist/date-picker/index.d.mts +32 -0
  112. package/dist/date-picker/index.d.ts +32 -0
  113. package/dist/date-picker/index.mjs +2 -0
  114. package/dist/dialog/index.cjs +27 -0
  115. package/dist/{components/Dialog/Dialog.types.d.ts → dialog/index.d.mts} +16 -7
  116. package/dist/dialog/index.d.ts +61 -0
  117. package/dist/dialog/index.mjs +2 -0
  118. package/dist/dropdown-menu/index.cjs +27 -0
  119. package/dist/dropdown-menu/index.d.mts +34 -0
  120. package/dist/dropdown-menu/index.d.ts +34 -0
  121. package/dist/dropdown-menu/index.mjs +2 -0
  122. package/dist/email/index.cjs +11 -0
  123. package/dist/{components/Email/Email.types.d.ts → email/index.d.mts} +10 -5
  124. package/dist/email/index.d.ts +38 -0
  125. package/dist/email/index.mjs +2 -0
  126. package/dist/file-upload/index.cjs +11 -0
  127. package/dist/file-upload/index.d.mts +27 -0
  128. package/dist/file-upload/index.d.ts +27 -0
  129. package/dist/file-upload/index.mjs +2 -0
  130. package/dist/header/index.cjs +14 -0
  131. package/dist/{components/Header/Header.types.d.ts → header/index.d.mts} +11 -2
  132. package/dist/header/index.d.ts +28 -0
  133. package/dist/header/index.mjs +5 -0
  134. package/dist/icon-button/index.cjs +13 -0
  135. package/dist/icon-button/index.d.mts +16 -0
  136. package/dist/icon-button/index.d.ts +16 -0
  137. package/dist/icon-button/index.mjs +4 -0
  138. package/dist/image/index.cjs +12 -0
  139. package/dist/{components/Image/Image.types.d.ts → image/index.d.mts} +10 -2
  140. package/dist/image/index.d.ts +48 -0
  141. package/dist/image/index.mjs +3 -0
  142. package/dist/index.cjs +839 -0
  143. package/dist/index.d.mts +141 -0
  144. package/dist/index.d.ts +141 -75
  145. package/dist/index.mjs +601 -0
  146. package/dist/link/index.cjs +11 -0
  147. package/dist/{components/Link/Link.types.d.ts → link/index.d.mts} +10 -5
  148. package/dist/link/index.d.ts +25 -0
  149. package/dist/link/index.mjs +2 -0
  150. package/dist/loader/index.cjs +11 -0
  151. package/dist/{components/Loader/Loader.types.d.ts → loader/index.d.mts} +8 -4
  152. package/dist/loader/index.d.ts +21 -0
  153. package/dist/loader/index.mjs +2 -0
  154. package/dist/modal/index.cjs +27 -0
  155. package/dist/{components/Modal/Modal.types.d.ts → modal/index.d.mts} +25 -9
  156. package/dist/modal/index.d.ts +116 -0
  157. package/dist/modal/index.mjs +2 -0
  158. package/dist/multi-select/index.cjs +11 -0
  159. package/dist/{components/MultiSelect/MultiSelect.types.d.ts → multi-select/index.d.mts} +9 -5
  160. package/dist/multi-select/index.d.ts +59 -0
  161. package/dist/multi-select/index.mjs +2 -0
  162. package/dist/otp-input/index.cjs +11 -0
  163. package/dist/{components/OtpInput/OtpInput.types.d.ts → otp-input/index.d.mts} +8 -4
  164. package/dist/otp-input/index.d.ts +57 -0
  165. package/dist/otp-input/index.mjs +2 -0
  166. package/dist/password-input/index.cjs +11 -0
  167. package/dist/password-input/index.d.mts +32 -0
  168. package/dist/password-input/index.d.ts +32 -0
  169. package/dist/password-input/index.mjs +2 -0
  170. package/dist/phone/index.cjs +11 -0
  171. package/dist/{components/Phone/Phone.types.d.ts → phone/index.d.mts} +11 -6
  172. package/dist/phone/index.d.ts +41 -0
  173. package/dist/phone/index.mjs +2 -0
  174. package/dist/radio-button/index.cjs +11 -0
  175. package/dist/{components/RadioButton/RadioButton.types.d.ts → radio-button/index.d.mts} +9 -4
  176. package/dist/radio-button/index.d.ts +56 -0
  177. package/dist/radio-button/index.mjs +2 -0
  178. package/dist/search-input/index.cjs +12 -0
  179. package/dist/search-input/index.d.mts +22 -0
  180. package/dist/search-input/index.d.ts +22 -0
  181. package/dist/search-input/index.mjs +3 -0
  182. package/dist/select/index.cjs +11 -0
  183. package/dist/{components/Select/Select.types.d.ts → select/index.d.mts} +11 -6
  184. package/dist/select/index.d.ts +36 -0
  185. package/dist/select/index.mjs +2 -0
  186. package/dist/sidebar/index.cjs +11 -0
  187. package/dist/{components/Sidebar/Sidebar.types.d.ts → sidebar/index.d.mts} +15 -6
  188. package/dist/sidebar/index.d.ts +96 -0
  189. package/dist/sidebar/index.mjs +2 -0
  190. package/dist/skeleton/index.cjs +27 -0
  191. package/dist/skeleton/index.d.mts +76 -0
  192. package/dist/skeleton/index.d.ts +76 -0
  193. package/dist/skeleton/index.mjs +2 -0
  194. package/dist/styles.css +5075 -0
  195. package/dist/styles.d.mts +2 -0
  196. package/dist/styles.d.ts +2 -0
  197. package/dist/table/index.cjs +15 -0
  198. package/dist/{components/Table/Table.types.d.ts → table/index.d.mts} +16 -9
  199. package/dist/table/index.d.ts +92 -0
  200. package/dist/table/index.mjs +2 -0
  201. package/dist/tabs/index.cjs +14 -0
  202. package/dist/tabs/index.d.mts +26 -0
  203. package/dist/tabs/index.d.ts +26 -0
  204. package/dist/tabs/index.mjs +5 -0
  205. package/dist/text-input/index.cjs +11 -0
  206. package/dist/text-input/index.d.mts +7 -0
  207. package/dist/text-input/index.d.ts +7 -0
  208. package/dist/text-input/index.mjs +2 -0
  209. package/dist/theme-provider/index.cjs +14 -0
  210. package/dist/{components/ThemeProvider/ThemeProvider.types.d.ts → theme-provider/index.d.mts} +16 -6
  211. package/dist/theme-provider/index.d.ts +122 -0
  212. package/dist/theme-provider/index.mjs +1 -0
  213. package/dist/time-picker/index.cjs +11 -0
  214. package/dist/time-picker/index.d.mts +32 -0
  215. package/dist/time-picker/index.d.ts +32 -0
  216. package/dist/time-picker/index.mjs +2 -0
  217. package/dist/toaster/index.cjs +11 -0
  218. package/dist/{components/Toaster/Toaster.types.d.ts → toaster/index.d.mts} +9 -4
  219. package/dist/toaster/index.d.ts +28 -0
  220. package/dist/toaster/index.mjs +2 -0
  221. package/dist/tooltip/index.cjs +12 -0
  222. package/dist/tooltip/index.d.mts +7 -0
  223. package/dist/tooltip/index.d.ts +7 -0
  224. package/dist/tooltip/index.mjs +3 -0
  225. package/package.json +78 -95
  226. package/dist/components/Accordion/Accordion.d.ts +0 -5
  227. package/dist/components/Accordion/Accordion.types.d.ts +0 -32
  228. package/dist/components/Accordion/index.d.ts +0 -2
  229. package/dist/components/Avatar/Avatar.d.ts +0 -2
  230. package/dist/components/Avatar/Avatar.stories.d.ts +0 -11
  231. package/dist/components/Avatar/Avatar.test.d.ts +0 -1
  232. package/dist/components/Avatar/index.d.ts +0 -2
  233. package/dist/components/Badge/Badge.d.ts +0 -11
  234. package/dist/components/Badge/Badge.stories.d.ts +0 -21
  235. package/dist/components/Badge/Badge.test.d.ts +0 -1
  236. package/dist/components/Badge/index.d.ts +0 -2
  237. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  238. package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -13
  239. package/dist/components/Breadcrumbs/Breadcrumbs.test.d.ts +0 -1
  240. package/dist/components/Breadcrumbs/index.d.ts +0 -2
  241. package/dist/components/Button/Button.d.ts +0 -2
  242. package/dist/components/Button/Button.stories.d.ts +0 -20
  243. package/dist/components/Button/Button.test.d.ts +0 -1
  244. package/dist/components/Button/index.d.ts +0 -2
  245. package/dist/components/Card/Card.d.ts +0 -25
  246. package/dist/components/Card/Card.stories.d.ts +0 -8
  247. package/dist/components/Card/Card.test.d.ts +0 -1
  248. package/dist/components/Card/Card.types.d.ts +0 -14
  249. package/dist/components/Card/index.d.ts +0 -2
  250. package/dist/components/Checkbox/Checkbox.d.ts +0 -2
  251. package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -16
  252. package/dist/components/Checkbox/Checkbox.test.d.ts +0 -1
  253. package/dist/components/Checkbox/index.d.ts +0 -2
  254. package/dist/components/ComboBox/ComboBox.d.ts +0 -2
  255. package/dist/components/ComboBox/ComboBox.stories.d.ts +0 -12
  256. package/dist/components/ComboBox/ComboBox.test.d.ts +0 -1
  257. package/dist/components/ComboBox/index.d.ts +0 -2
  258. package/dist/components/DatePicker/DatePicker.d.ts +0 -2
  259. package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -25
  260. package/dist/components/DatePicker/DatePicker.test.d.ts +0 -1
  261. package/dist/components/DatePicker/DatePicker.types.d.ts +0 -27
  262. package/dist/components/DatePicker/index.d.ts +0 -2
  263. package/dist/components/Dialog/Dialog.d.ts +0 -6
  264. package/dist/components/Dialog/Dialog.stories.d.ts +0 -9
  265. package/dist/components/Dialog/Dialog.test.d.ts +0 -1
  266. package/dist/components/Dialog/index.d.ts +0 -2
  267. package/dist/components/DropdownMenu/DropdownMenu.d.ts +0 -7
  268. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +0 -9
  269. package/dist/components/DropdownMenu/DropdownMenu.test.d.ts +0 -1
  270. package/dist/components/DropdownMenu/DropdownMenu.types.d.ts +0 -24
  271. package/dist/components/DropdownMenu/index.d.ts +0 -2
  272. package/dist/components/Email/Email.d.ts +0 -2
  273. package/dist/components/Email/Email.stories.d.ts +0 -11
  274. package/dist/components/Email/Email.test.d.ts +0 -1
  275. package/dist/components/Email/index.d.ts +0 -2
  276. package/dist/components/FileUpload/FileUpload.d.ts +0 -2
  277. package/dist/components/FileUpload/FileUpload.stories.d.ts +0 -10
  278. package/dist/components/FileUpload/FileUpload.test.d.ts +0 -1
  279. package/dist/components/FileUpload/FileUpload.types.d.ts +0 -22
  280. package/dist/components/FileUpload/index.d.ts +0 -2
  281. package/dist/components/Header/Header.d.ts +0 -7
  282. package/dist/components/Header/Header.stories.d.ts +0 -8
  283. package/dist/components/Header/Header.test.d.ts +0 -1
  284. package/dist/components/Header/index.d.ts +0 -2
  285. package/dist/components/IconButton/IconButton.d.ts +0 -2
  286. package/dist/components/IconButton/IconButton.stories.d.ts +0 -17
  287. package/dist/components/IconButton/IconButton.types.d.ts +0 -10
  288. package/dist/components/IconButton/index.d.ts +0 -2
  289. package/dist/components/Image/Image.d.ts +0 -6
  290. package/dist/components/Image/Image.stories.d.ts +0 -13
  291. package/dist/components/Image/Image.test.d.ts +0 -1
  292. package/dist/components/Image/index.d.ts +0 -2
  293. package/dist/components/Link/Link.d.ts +0 -2
  294. package/dist/components/Link/Link.stories.d.ts +0 -15
  295. package/dist/components/Link/Link.test.d.ts +0 -1
  296. package/dist/components/Link/index.d.ts +0 -2
  297. package/dist/components/Loader/Loader.d.ts +0 -2
  298. package/dist/components/Loader/Loader.stories.d.ts +0 -12
  299. package/dist/components/Loader/Loader.test.d.ts +0 -1
  300. package/dist/components/Loader/index.d.ts +0 -2
  301. package/dist/components/Modal/Modal.d.ts +0 -14
  302. package/dist/components/Modal/Modal.stories.d.ts +0 -14
  303. package/dist/components/Modal/Modal.test.d.ts +0 -1
  304. package/dist/components/Modal/index.d.ts +0 -2
  305. package/dist/components/MultiSelect/MultiSelect.d.ts +0 -2
  306. package/dist/components/MultiSelect/MultiSelect.stories.d.ts +0 -15
  307. package/dist/components/MultiSelect/MultiSelect.test.d.ts +0 -1
  308. package/dist/components/MultiSelect/index.d.ts +0 -2
  309. package/dist/components/OtpInput/OtpInput.d.ts +0 -2
  310. package/dist/components/OtpInput/OtpInput.stories.d.ts +0 -10
  311. package/dist/components/OtpInput/OtpInput.test.d.ts +0 -1
  312. package/dist/components/OtpInput/index.d.ts +0 -2
  313. package/dist/components/PasswordInput/PasswordInput.d.ts +0 -2
  314. package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -23
  315. package/dist/components/PasswordInput/PasswordInput.test.d.ts +0 -1
  316. package/dist/components/PasswordInput/PasswordInput.types.d.ts +0 -27
  317. package/dist/components/PasswordInput/index.d.ts +0 -2
  318. package/dist/components/Phone/Phone.d.ts +0 -2
  319. package/dist/components/Phone/Phone.stories.d.ts +0 -11
  320. package/dist/components/Phone/Phone.test.d.ts +0 -1
  321. package/dist/components/Phone/countries.d.ts +0 -8
  322. package/dist/components/Phone/index.d.ts +0 -2
  323. package/dist/components/RadioButton/RadioButton.d.ts +0 -2
  324. package/dist/components/RadioButton/RadioButton.stories.d.ts +0 -21
  325. package/dist/components/RadioButton/RadioButton.test.d.ts +0 -1
  326. package/dist/components/RadioButton/index.d.ts +0 -2
  327. package/dist/components/SearchInput/SearchInput.d.ts +0 -6
  328. package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -8
  329. package/dist/components/SearchInput/SearchInput.test.d.ts +0 -1
  330. package/dist/components/SearchInput/SearchInput.types.d.ts +0 -12
  331. package/dist/components/SearchInput/index.d.ts +0 -2
  332. package/dist/components/Select/Select.d.ts +0 -2
  333. package/dist/components/Select/Select.stories.d.ts +0 -12
  334. package/dist/components/Select/Select.test.d.ts +0 -1
  335. package/dist/components/Select/index.d.ts +0 -2
  336. package/dist/components/Sidebar/Sidebar.d.ts +0 -7
  337. package/dist/components/Sidebar/Sidebar.stories.d.ts +0 -10
  338. package/dist/components/Sidebar/Sidebar.test.d.ts +0 -1
  339. package/dist/components/Sidebar/index.d.ts +0 -2
  340. package/dist/components/Skeleton/Skeleton.d.ts +0 -26
  341. package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -13
  342. package/dist/components/Skeleton/Skeleton.types.d.ts +0 -47
  343. package/dist/components/Skeleton/index.d.ts +0 -2
  344. package/dist/components/Stepper/Stepper.d.ts +0 -2
  345. package/dist/components/Stepper/Stepper.stories.d.ts +0 -23
  346. package/dist/components/Stepper/Stepper.test.d.ts +0 -1
  347. package/dist/components/Stepper/Stepper.types.d.ts +0 -47
  348. package/dist/components/Stepper/index.d.ts +0 -2
  349. package/dist/components/Table/Pagination.d.ts +0 -3
  350. package/dist/components/Table/Table.d.ts +0 -3
  351. package/dist/components/Table/Table.stories.d.ts +0 -13
  352. package/dist/components/Table/Table.test.d.ts +0 -1
  353. package/dist/components/Table/index.d.ts +0 -3
  354. package/dist/components/Tabs/Tabs.d.ts +0 -2
  355. package/dist/components/Tabs/Tabs.stories.d.ts +0 -17
  356. package/dist/components/Tabs/Tabs.test.d.ts +0 -1
  357. package/dist/components/Tabs/Tabs.types.d.ts +0 -21
  358. package/dist/components/Tabs/index.d.ts +0 -2
  359. package/dist/components/TextInput/TextInput.d.ts +0 -2
  360. package/dist/components/TextInput/TextInput.stories.d.ts +0 -25
  361. package/dist/components/TextInput/TextInput.test.d.ts +0 -1
  362. package/dist/components/TextInput/index.d.ts +0 -2
  363. package/dist/components/ThemeProvider/ThemeProvider.d.ts +0 -8
  364. package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts +0 -16
  365. package/dist/components/ThemeProvider/ThemeProvider.test.d.ts +0 -1
  366. package/dist/components/ThemeProvider/index.d.ts +0 -2
  367. package/dist/components/TimePicker/TimePicker.d.ts +0 -2
  368. package/dist/components/TimePicker/TimePicker.stories.d.ts +0 -23
  369. package/dist/components/TimePicker/TimePicker.test.d.ts +0 -1
  370. package/dist/components/TimePicker/TimePicker.types.d.ts +0 -27
  371. package/dist/components/TimePicker/index.d.ts +0 -2
  372. package/dist/components/Toaster/Toaster.d.ts +0 -2
  373. package/dist/components/Toaster/Toaster.stories.d.ts +0 -13
  374. package/dist/components/Toaster/Toaster.test.d.ts +0 -1
  375. package/dist/components/Toaster/index.d.ts +0 -2
  376. package/dist/components/Toggle/Toggle.d.ts +0 -2
  377. package/dist/components/Toggle/Toggle.stories.d.ts +0 -11
  378. package/dist/components/Toggle/Toggle.types.d.ts +0 -10
  379. package/dist/components/Toggle/index.d.ts +0 -2
  380. package/dist/components/Tooltip/Tooltip.d.ts +0 -2
  381. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -13
  382. package/dist/components/Tooltip/Tooltip.test.d.ts +0 -1
  383. package/dist/components/Tooltip/index.d.ts +0 -2
  384. package/dist/utils/cn.d.ts +0 -2
  385. package/dist/utils/index.d.ts +0 -1
@@ -0,0 +1,134 @@
1
+ 'use strict';
2
+
3
+ var chunkL5VQZZVR_cjs = require('./chunk-L5VQZZVR.cjs');
4
+ var react = require('react');
5
+ var outline = require('@heroicons/react/24/outline');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ var statusIcons = {
9
+ success: /* @__PURE__ */ jsxRuntime.jsx(outline.CheckCircleIcon, { className: "w-5 h-5" }),
10
+ error: /* @__PURE__ */ jsxRuntime.jsx(outline.ExclamationCircleIcon, { className: "w-5 h-5" }),
11
+ warning: /* @__PURE__ */ jsxRuntime.jsx(outline.ExclamationTriangleIcon, { className: "w-5 h-5" }),
12
+ info: /* @__PURE__ */ jsxRuntime.jsx(outline.InformationCircleIcon, { className: "w-5 h-5" })
13
+ };
14
+ var solidIconBg = {
15
+ success: "bg-white/20",
16
+ error: "bg-white/20",
17
+ warning: "bg-white/20",
18
+ info: "bg-white/20"
19
+ };
20
+ var subtleIconBg = {
21
+ success: "bg-success/20 text-success",
22
+ error: "bg-error/20 text-error",
23
+ warning: "bg-warning/20 text-warning",
24
+ info: "bg-info/20 text-info"
25
+ };
26
+ var accentIconBg = {
27
+ success: "bg-success/10 text-success",
28
+ error: "bg-error/10 text-error",
29
+ warning: "bg-warning/10 text-warning",
30
+ info: "bg-info/10 text-info"
31
+ };
32
+ var variantClasses = {
33
+ solid: {
34
+ success: "bg-success text-text border-transparent shadow-[0_8px_32px_rgba(16,185,129,0.3)]",
35
+ error: "bg-error text-text border-transparent shadow-[0_8px_32px_rgba(239,68,68,0.3)]",
36
+ warning: "bg-warning text-text border-transparent shadow-[0_8px_32px_rgba(245,158,11,0.3)]",
37
+ info: "bg-info text-text border-transparent shadow-[0_8px_32px_rgba(59,130,246,0.3)]"
38
+ },
39
+ subtle: {
40
+ success: "bg-success/10 text-text border-success/25 shadow-[0_8px_32px_rgba(16,185,129,0.12)]",
41
+ error: "bg-error/10 text-text border-error/25 shadow-[0_8px_32px_rgba(239,68,68,0.12)]",
42
+ warning: "bg-warning/10 text-text border-warning/25 shadow-[0_8px_32px_rgba(245,158,11,0.12)]",
43
+ info: "bg-info/10 text-text border-info/25 shadow-[0_8px_32px_rgba(59,130,246,0.12)]"
44
+ },
45
+ "left-accent": {
46
+ success: "bg-surface border-border border-l-success shadow-[0_8px_24px_rgba(0,0,0,0.08)] text-text",
47
+ error: "bg-surface border-border border-l-error shadow-[0_8px_24px_rgba(0,0,0,0.08)] text-text",
48
+ warning: "bg-surface border-border border-l-warning shadow-[0_8px_24px_rgba(0,0,0,0.08)] text-text",
49
+ info: "bg-surface border-border border-l-info shadow-[0_8px_24px_rgba(0,0,0,0.08)] text-text"
50
+ }
51
+ };
52
+ var statusTitleColor = {
53
+ success: "text-success",
54
+ error: "text-error",
55
+ warning: "text-warning",
56
+ info: "text-info"
57
+ };
58
+ var Toaster = react.forwardRef((props, ref) => {
59
+ const {
60
+ title,
61
+ description,
62
+ status = "info",
63
+ variant = "solid",
64
+ isClosable = true,
65
+ onClose,
66
+ className
67
+ } = props;
68
+ const isSolid = variant === "solid";
69
+ const isLeftAccent = variant === "left-accent";
70
+ const iconBgClass = isSolid ? solidIconBg[status] : isLeftAccent ? accentIconBg[status] : subtleIconBg[status];
71
+ return /* @__PURE__ */ jsxRuntime.jsxs(
72
+ "div",
73
+ {
74
+ ref,
75
+ role: "alert",
76
+ className: chunkL5VQZZVR_cjs.cn(
77
+ "relative flex w-full min-w-80 max-w-sm items-start gap-3 px-4 py-3.5 rounded-xl border overflow-hidden transition-all duration-200",
78
+ isLeftAccent && "border-l-4 rounded-l-none",
79
+ variantClasses[variant][status],
80
+ className
81
+ ),
82
+ children: [
83
+ /* @__PURE__ */ jsxRuntime.jsx(
84
+ "div",
85
+ {
86
+ className: chunkL5VQZZVR_cjs.cn(
87
+ "flex-shrink-0 flex items-center justify-center w-8 h-8 rounded-lg mt-0.5",
88
+ iconBgClass
89
+ ),
90
+ children: statusIcons[status]
91
+ }
92
+ ),
93
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0 pt-0.5", children: [
94
+ title && /* @__PURE__ */ jsxRuntime.jsx(
95
+ "p",
96
+ {
97
+ className: chunkL5VQZZVR_cjs.cn(
98
+ "text-sm font-bold leading-tight tracking-wide",
99
+ !isSolid && statusTitleColor[status]
100
+ ),
101
+ children: title
102
+ }
103
+ ),
104
+ description && /* @__PURE__ */ jsxRuntime.jsx(
105
+ "p",
106
+ {
107
+ className: chunkL5VQZZVR_cjs.cn(
108
+ "text-sm leading-relaxed mt-0.5",
109
+ isSolid ? "opacity-90" : "text-text-secondary"
110
+ ),
111
+ children: description
112
+ }
113
+ )
114
+ ] }),
115
+ isClosable && /* @__PURE__ */ jsxRuntime.jsx(
116
+ "button",
117
+ {
118
+ type: "button",
119
+ onClick: onClose,
120
+ className: chunkL5VQZZVR_cjs.cn(
121
+ "flex-shrink-0 flex items-center justify-center w-6 h-6 rounded-md transition-all duration-150 active:scale-90",
122
+ isSolid ? "hover:bg-white/20 text-text-inverse" : "hover:bg-black/10 dark:hover:bg-white/10 text-text-secondary hover:text-text"
123
+ ),
124
+ "aria-label": "Close",
125
+ children: /* @__PURE__ */ jsxRuntime.jsx(outline.XMarkIcon, { className: "w-4 h-4 stroke-2" })
126
+ }
127
+ )
128
+ ]
129
+ }
130
+ );
131
+ });
132
+ Toaster.displayName = "Toaster";
133
+
134
+ exports.Toaster = Toaster;
@@ -0,0 +1,132 @@
1
+ import { cn } from './chunk-OCPFOFJ4.mjs';
2
+ import { forwardRef } from 'react';
3
+ import { XMarkIcon, InformationCircleIcon, ExclamationTriangleIcon, ExclamationCircleIcon, CheckCircleIcon } from '@heroicons/react/24/outline';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ var statusIcons = {
7
+ success: /* @__PURE__ */ jsx(CheckCircleIcon, { className: "w-5 h-5" }),
8
+ error: /* @__PURE__ */ jsx(ExclamationCircleIcon, { className: "w-5 h-5" }),
9
+ warning: /* @__PURE__ */ jsx(ExclamationTriangleIcon, { className: "w-5 h-5" }),
10
+ info: /* @__PURE__ */ jsx(InformationCircleIcon, { className: "w-5 h-5" })
11
+ };
12
+ var solidIconBg = {
13
+ success: "bg-white/20",
14
+ error: "bg-white/20",
15
+ warning: "bg-white/20",
16
+ info: "bg-white/20"
17
+ };
18
+ var subtleIconBg = {
19
+ success: "bg-success/20 text-success",
20
+ error: "bg-error/20 text-error",
21
+ warning: "bg-warning/20 text-warning",
22
+ info: "bg-info/20 text-info"
23
+ };
24
+ var accentIconBg = {
25
+ success: "bg-success/10 text-success",
26
+ error: "bg-error/10 text-error",
27
+ warning: "bg-warning/10 text-warning",
28
+ info: "bg-info/10 text-info"
29
+ };
30
+ var variantClasses = {
31
+ solid: {
32
+ success: "bg-success text-text border-transparent shadow-[0_8px_32px_rgba(16,185,129,0.3)]",
33
+ error: "bg-error text-text border-transparent shadow-[0_8px_32px_rgba(239,68,68,0.3)]",
34
+ warning: "bg-warning text-text border-transparent shadow-[0_8px_32px_rgba(245,158,11,0.3)]",
35
+ info: "bg-info text-text border-transparent shadow-[0_8px_32px_rgba(59,130,246,0.3)]"
36
+ },
37
+ subtle: {
38
+ success: "bg-success/10 text-text border-success/25 shadow-[0_8px_32px_rgba(16,185,129,0.12)]",
39
+ error: "bg-error/10 text-text border-error/25 shadow-[0_8px_32px_rgba(239,68,68,0.12)]",
40
+ warning: "bg-warning/10 text-text border-warning/25 shadow-[0_8px_32px_rgba(245,158,11,0.12)]",
41
+ info: "bg-info/10 text-text border-info/25 shadow-[0_8px_32px_rgba(59,130,246,0.12)]"
42
+ },
43
+ "left-accent": {
44
+ success: "bg-surface border-border border-l-success shadow-[0_8px_24px_rgba(0,0,0,0.08)] text-text",
45
+ error: "bg-surface border-border border-l-error shadow-[0_8px_24px_rgba(0,0,0,0.08)] text-text",
46
+ warning: "bg-surface border-border border-l-warning shadow-[0_8px_24px_rgba(0,0,0,0.08)] text-text",
47
+ info: "bg-surface border-border border-l-info shadow-[0_8px_24px_rgba(0,0,0,0.08)] text-text"
48
+ }
49
+ };
50
+ var statusTitleColor = {
51
+ success: "text-success",
52
+ error: "text-error",
53
+ warning: "text-warning",
54
+ info: "text-info"
55
+ };
56
+ var Toaster = forwardRef((props, ref) => {
57
+ const {
58
+ title,
59
+ description,
60
+ status = "info",
61
+ variant = "solid",
62
+ isClosable = true,
63
+ onClose,
64
+ className
65
+ } = props;
66
+ const isSolid = variant === "solid";
67
+ const isLeftAccent = variant === "left-accent";
68
+ const iconBgClass = isSolid ? solidIconBg[status] : isLeftAccent ? accentIconBg[status] : subtleIconBg[status];
69
+ return /* @__PURE__ */ jsxs(
70
+ "div",
71
+ {
72
+ ref,
73
+ role: "alert",
74
+ className: cn(
75
+ "relative flex w-full min-w-80 max-w-sm items-start gap-3 px-4 py-3.5 rounded-xl border overflow-hidden transition-all duration-200",
76
+ isLeftAccent && "border-l-4 rounded-l-none",
77
+ variantClasses[variant][status],
78
+ className
79
+ ),
80
+ children: [
81
+ /* @__PURE__ */ jsx(
82
+ "div",
83
+ {
84
+ className: cn(
85
+ "flex-shrink-0 flex items-center justify-center w-8 h-8 rounded-lg mt-0.5",
86
+ iconBgClass
87
+ ),
88
+ children: statusIcons[status]
89
+ }
90
+ ),
91
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0 pt-0.5", children: [
92
+ title && /* @__PURE__ */ jsx(
93
+ "p",
94
+ {
95
+ className: cn(
96
+ "text-sm font-bold leading-tight tracking-wide",
97
+ !isSolid && statusTitleColor[status]
98
+ ),
99
+ children: title
100
+ }
101
+ ),
102
+ description && /* @__PURE__ */ jsx(
103
+ "p",
104
+ {
105
+ className: cn(
106
+ "text-sm leading-relaxed mt-0.5",
107
+ isSolid ? "opacity-90" : "text-text-secondary"
108
+ ),
109
+ children: description
110
+ }
111
+ )
112
+ ] }),
113
+ isClosable && /* @__PURE__ */ jsx(
114
+ "button",
115
+ {
116
+ type: "button",
117
+ onClick: onClose,
118
+ className: cn(
119
+ "flex-shrink-0 flex items-center justify-center w-6 h-6 rounded-md transition-all duration-150 active:scale-90",
120
+ isSolid ? "hover:bg-white/20 text-text-inverse" : "hover:bg-black/10 dark:hover:bg-white/10 text-text-secondary hover:text-text"
121
+ ),
122
+ "aria-label": "Close",
123
+ children: /* @__PURE__ */ jsx(XMarkIcon, { className: "w-4 h-4 stroke-2" })
124
+ }
125
+ )
126
+ ]
127
+ }
128
+ );
129
+ });
130
+ Toaster.displayName = "Toaster";
131
+
132
+ export { Toaster };
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkKLBABQEJ_cjs = require('../chunk-KLBABQEJ.cjs');
4
+ require('../chunk-L5VQZZVR.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ComboBox", {
9
+ enumerable: true,
10
+ get: function () { return chunkKLBABQEJ_cjs.ComboBox; }
11
+ });
@@ -1,7 +1,8 @@
1
- import type { InputHTMLAttributes, ReactNode } from 'react';
2
- export type ComboBoxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
- export type ComboBoxState = 'default' | 'error' | 'success' | 'warning';
4
- export interface ComboBoxOption {
1
+ import { InputHTMLAttributes, ReactNode } from 'react';
2
+
3
+ type ComboBoxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
+ type ComboBoxState = 'default' | 'error' | 'success' | 'warning';
5
+ interface ComboBoxOption {
5
6
  /** The underlying value submitted/returned. */
6
7
  value: string;
7
8
  /** The human-readable label shown in the dropdown and input. */
@@ -9,7 +10,7 @@ export interface ComboBoxOption {
9
10
  /** When true the option is shown but cannot be selected. */
10
11
  disabled?: boolean;
11
12
  }
12
- export interface ComboBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'value' | 'onChange' | 'multiple'> {
13
+ interface ComboBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'value' | 'onChange' | 'multiple'> {
13
14
  /** List of selectable options. */
14
15
  options: ComboBoxOption[];
15
16
  /** Currently selected value(s). Pass string for single, string[] for multi. */
@@ -55,3 +56,7 @@ export interface ComboBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement
55
56
  /** Additional class for helper / state message text. */
56
57
  helperClassName?: string;
57
58
  }
59
+
60
+ declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLInputElement>>;
61
+
62
+ export { ComboBox, type ComboBoxOption, type ComboBoxProps, type ComboBoxSize, type ComboBoxState };
@@ -0,0 +1,62 @@
1
+ import { InputHTMLAttributes, ReactNode } from 'react';
2
+
3
+ type ComboBoxSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
+ type ComboBoxState = 'default' | 'error' | 'success' | 'warning';
5
+ interface ComboBoxOption {
6
+ /** The underlying value submitted/returned. */
7
+ value: string;
8
+ /** The human-readable label shown in the dropdown and input. */
9
+ label: string;
10
+ /** When true the option is shown but cannot be selected. */
11
+ disabled?: boolean;
12
+ }
13
+ interface ComboBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'value' | 'onChange' | 'multiple'> {
14
+ /** List of selectable options. */
15
+ options: ComboBoxOption[];
16
+ /** Currently selected value(s). Pass string for single, string[] for multi. */
17
+ value?: string | string[];
18
+ /** Fired when selection changes. */
19
+ onChange?: (value: string | string[]) => void;
20
+ /** Allow selecting multiple options. Defaults to false. */
21
+ multiple?: boolean;
22
+ /** Allow the user to type and filter options. Defaults to true. */
23
+ searchable?: boolean;
24
+ /** Show a clear (×) button when a value is selected. Defaults to false. */
25
+ clearable?: boolean;
26
+ /** Field label rendered above the input. */
27
+ label?: string;
28
+ /** Makes the label show a required asterisk. */
29
+ required?: boolean;
30
+ /** Helper text shown below the field. */
31
+ helperText?: string;
32
+ /** Message shown when state = 'error'. */
33
+ errorMessage?: string;
34
+ /** Message shown when state = 'success'. */
35
+ successMessage?: string;
36
+ /** Message shown when state = 'warning'. */
37
+ warningMessage?: string;
38
+ /** Visual / validation state. Defaults to 'default'. */
39
+ state?: ComboBoxState;
40
+ /** Input size. Defaults to 'md'. */
41
+ size?: ComboBoxSize;
42
+ /** Stretch to fill its container. Defaults to true. */
43
+ fullWidth?: boolean;
44
+ /** Placeholder shown in the input when nothing is selected. */
45
+ placeholder?: string;
46
+ /** Rendered when no options match the current search query. */
47
+ noOptionsMessage?: ReactNode;
48
+ /** Additional class for the outer wrapper div. */
49
+ wrapperClassName?: string;
50
+ /** Additional class for the trigger / input element. */
51
+ inputClassName?: string;
52
+ /** Additional class for the dropdown list. */
53
+ listClassName?: string;
54
+ /** Additional class for the label element. */
55
+ labelClassName?: string;
56
+ /** Additional class for helper / state message text. */
57
+ helperClassName?: string;
58
+ }
59
+
60
+ declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLInputElement>>;
61
+
62
+ export { ComboBox, type ComboBoxOption, type ComboBoxProps, type ComboBoxSize, type ComboBoxState };
@@ -0,0 +1,2 @@
1
+ export { ComboBox } from '../chunk-4DA7CRNV.mjs';
2
+ import '../chunk-OCPFOFJ4.mjs';
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkW2ZAPLQH_cjs = require('../chunk-W2ZAPLQH.cjs');
4
+ require('../chunk-L5VQZZVR.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "DatePicker", {
9
+ enumerable: true,
10
+ get: function () { return chunkW2ZAPLQH_cjs.DatePicker; }
11
+ });
@@ -0,0 +1,32 @@
1
+ import { InputHTMLAttributes, ReactNode } from 'react';
2
+
3
+ type DatePickerVariant = 'default' | 'filled' | 'flushed' | 'unstyled';
4
+ type DatePickerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
+ type DatePickerState = 'default' | 'error' | 'success' | 'warning';
6
+ interface DatePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix' | 'type'> {
7
+ label?: string;
8
+ required?: boolean;
9
+ helperText?: string;
10
+ errorMessage?: string;
11
+ successMessage?: string;
12
+ warningMessage?: string;
13
+ variant?: DatePickerVariant;
14
+ size?: DatePickerSize;
15
+ state?: DatePickerState;
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
+ }
29
+
30
+ declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
31
+
32
+ export { DatePicker, type DatePickerProps, type DatePickerSize, type DatePickerState, type DatePickerVariant };
@@ -0,0 +1,32 @@
1
+ import { InputHTMLAttributes, ReactNode } from 'react';
2
+
3
+ type DatePickerVariant = 'default' | 'filled' | 'flushed' | 'unstyled';
4
+ type DatePickerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
5
+ type DatePickerState = 'default' | 'error' | 'success' | 'warning';
6
+ interface DatePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix' | 'type'> {
7
+ label?: string;
8
+ required?: boolean;
9
+ helperText?: string;
10
+ errorMessage?: string;
11
+ successMessage?: string;
12
+ warningMessage?: string;
13
+ variant?: DatePickerVariant;
14
+ size?: DatePickerSize;
15
+ state?: DatePickerState;
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
+ }
29
+
30
+ declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
31
+
32
+ export { DatePicker, type DatePickerProps, type DatePickerSize, type DatePickerState, type DatePickerVariant };
@@ -0,0 +1,2 @@
1
+ export { DatePicker } from '../chunk-7WNJ7L4Z.mjs';
2
+ import '../chunk-OCPFOFJ4.mjs';
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ var chunkOPOCCRJG_cjs = require('../chunk-OPOCCRJG.cjs');
4
+ require('../chunk-L5VQZZVR.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "Dialog", {
9
+ enumerable: true,
10
+ get: function () { return chunkOPOCCRJG_cjs.Dialog; }
11
+ });
12
+ Object.defineProperty(exports, "DialogBody", {
13
+ enumerable: true,
14
+ get: function () { return chunkOPOCCRJG_cjs.DialogBody; }
15
+ });
16
+ Object.defineProperty(exports, "DialogCloseButton", {
17
+ enumerable: true,
18
+ get: function () { return chunkOPOCCRJG_cjs.DialogCloseButton; }
19
+ });
20
+ Object.defineProperty(exports, "DialogFooter", {
21
+ enumerable: true,
22
+ get: function () { return chunkOPOCCRJG_cjs.DialogFooter; }
23
+ });
24
+ Object.defineProperty(exports, "DialogHeader", {
25
+ enumerable: true,
26
+ get: function () { return chunkOPOCCRJG_cjs.DialogHeader; }
27
+ });
@@ -1,6 +1,7 @@
1
- import type { ReactNode } from 'react';
2
- export type DialogSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | 'full';
3
- export interface DialogProps {
1
+ import { ReactNode } from 'react';
2
+
3
+ type DialogSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | 'full';
4
+ interface DialogProps {
4
5
  /** If true, the dialog will be open. */
5
6
  isOpen: boolean;
6
7
  /** Callback invoked when the dialog should close. */
@@ -34,19 +35,27 @@ export interface DialogProps {
34
35
  /** ID of the element that describes the dialog. */
35
36
  ariaDescribedby?: string;
36
37
  }
37
- export interface DialogHeaderProps {
38
+ interface DialogHeaderProps {
38
39
  children: ReactNode;
39
40
  className?: string;
40
41
  }
41
- export interface DialogBodyProps {
42
+ interface DialogBodyProps {
42
43
  children: ReactNode;
43
44
  className?: string;
44
45
  }
45
- export interface DialogFooterProps {
46
+ interface DialogFooterProps {
46
47
  children: ReactNode;
47
48
  className?: string;
48
49
  }
49
- export interface DialogCloseButtonProps {
50
+ interface DialogCloseButtonProps {
50
51
  onClick?: () => void;
51
52
  className?: string;
52
53
  }
54
+
55
+ declare function Dialog({ isOpen, onClose, children, size, isCentered, closeOnOverlayClick, closeOnEsc, trapFocus, lockScroll, contentClassName, overlayClassName, showBackdrop, isModal, ariaLabel, ariaLabelledby, ariaDescribedby, }: DialogProps): React.ReactPortal | null;
56
+ declare function DialogHeader({ children, className }: DialogHeaderProps): React.JSX.Element;
57
+ declare function DialogBody({ children, className }: DialogBodyProps): React.JSX.Element;
58
+ declare function DialogFooter({ children, className }: DialogFooterProps): React.JSX.Element;
59
+ declare function DialogCloseButton({ onClick, className, }: DialogCloseButtonProps): React.JSX.Element;
60
+
61
+ export { Dialog, DialogBody, type DialogBodyProps, DialogCloseButton, type DialogCloseButtonProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, type DialogSize };
@@ -0,0 +1,61 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type DialogSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | 'full';
4
+ interface DialogProps {
5
+ /** If true, the dialog will be open. */
6
+ isOpen: boolean;
7
+ /** Callback invoked when the dialog should close. */
8
+ onClose: () => void;
9
+ /** The content of the dialog. Usually includes DialogHeader, DialogBody, and DialogFooter. */
10
+ children: ReactNode;
11
+ /** The size of the dialog. Defaults to 'md'. */
12
+ size?: DialogSize;
13
+ /** If true, the dialog will be centered on the screen. Defaults to false. */
14
+ isCentered?: boolean;
15
+ /** If true, the dialog will close when the overlay is clicked. Defaults to true. */
16
+ closeOnOverlayClick?: boolean;
17
+ /** If true, the dialog will close when the ESC key is pressed. Defaults to true. */
18
+ closeOnEsc?: boolean;
19
+ /** If true, focus will be trapped inside the dialog. Defaults to true. */
20
+ trapFocus?: boolean;
21
+ /** If true, the body scroll will be locked when the dialog is open. Defaults to true. */
22
+ lockScroll?: boolean;
23
+ /** Additional class names for the dialog content. */
24
+ contentClassName?: string;
25
+ /** Additional class names for the overlay. */
26
+ overlayClassName?: string;
27
+ /** If true, the backdrop will be visible. Defaults to true. */
28
+ showBackdrop?: boolean;
29
+ /** If true, the dialog will be treated as a modal (traps focus, locked scroll). Defaults to true. */
30
+ isModal?: boolean;
31
+ /** ARIA label for the dialog. */
32
+ ariaLabel?: string;
33
+ /** ID of the element that labels the dialog. */
34
+ ariaLabelledby?: string;
35
+ /** ID of the element that describes the dialog. */
36
+ ariaDescribedby?: string;
37
+ }
38
+ interface DialogHeaderProps {
39
+ children: ReactNode;
40
+ className?: string;
41
+ }
42
+ interface DialogBodyProps {
43
+ children: ReactNode;
44
+ className?: string;
45
+ }
46
+ interface DialogFooterProps {
47
+ children: ReactNode;
48
+ className?: string;
49
+ }
50
+ interface DialogCloseButtonProps {
51
+ onClick?: () => void;
52
+ className?: string;
53
+ }
54
+
55
+ declare function Dialog({ isOpen, onClose, children, size, isCentered, closeOnOverlayClick, closeOnEsc, trapFocus, lockScroll, contentClassName, overlayClassName, showBackdrop, isModal, ariaLabel, ariaLabelledby, ariaDescribedby, }: DialogProps): React.ReactPortal | null;
56
+ declare function DialogHeader({ children, className }: DialogHeaderProps): React.JSX.Element;
57
+ declare function DialogBody({ children, className }: DialogBodyProps): React.JSX.Element;
58
+ declare function DialogFooter({ children, className }: DialogFooterProps): React.JSX.Element;
59
+ declare function DialogCloseButton({ onClick, className, }: DialogCloseButtonProps): React.JSX.Element;
60
+
61
+ export { Dialog, DialogBody, type DialogBodyProps, DialogCloseButton, type DialogCloseButtonProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, type DialogSize };
@@ -0,0 +1,2 @@
1
+ export { Dialog, DialogBody, DialogCloseButton, DialogFooter, DialogHeader } from '../chunk-OQPCL5XX.mjs';
2
+ import '../chunk-OCPFOFJ4.mjs';
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ var chunkAJXVELXK_cjs = require('../chunk-AJXVELXK.cjs');
4
+ require('../chunk-L5VQZZVR.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "DropdownMenu", {
9
+ enumerable: true,
10
+ get: function () { return chunkAJXVELXK_cjs.DropdownMenu; }
11
+ });
12
+ Object.defineProperty(exports, "DropdownMenuContent", {
13
+ enumerable: true,
14
+ get: function () { return chunkAJXVELXK_cjs.DropdownMenuContent; }
15
+ });
16
+ Object.defineProperty(exports, "DropdownMenuItem", {
17
+ enumerable: true,
18
+ get: function () { return chunkAJXVELXK_cjs.DropdownMenuItem; }
19
+ });
20
+ Object.defineProperty(exports, "DropdownMenuSeparator", {
21
+ enumerable: true,
22
+ get: function () { return chunkAJXVELXK_cjs.DropdownMenuSeparator; }
23
+ });
24
+ Object.defineProperty(exports, "DropdownMenuTrigger", {
25
+ enumerable: true,
26
+ get: function () { return chunkAJXVELXK_cjs.DropdownMenuTrigger; }
27
+ });
@@ -0,0 +1,34 @@
1
+ import * as React from 'react';
2
+ import { ReactNode, HTMLAttributes, ButtonHTMLAttributes } from 'react';
3
+
4
+ type DropdownMenuSize = 'sm' | 'md' | 'lg';
5
+ type DropdownMenuVariant = 'default' | 'subtle' | 'ghost';
6
+ interface DropdownMenuProps {
7
+ children: ReactNode;
8
+ open?: boolean;
9
+ onOpenChange?: (open: boolean) => void;
10
+ className?: string;
11
+ }
12
+ interface DropdownMenuTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
13
+ size?: DropdownMenuSize;
14
+ variant?: DropdownMenuVariant;
15
+ }
16
+ interface DropdownMenuContentProps extends HTMLAttributes<HTMLDivElement> {
17
+ align?: 'left' | 'right' | 'center';
18
+ width?: string | number;
19
+ }
20
+ interface DropdownMenuItemProps extends HTMLAttributes<HTMLDivElement> {
21
+ disabled?: boolean;
22
+ destructive?: boolean;
23
+ icon?: ReactNode;
24
+ shortcut?: string;
25
+ }
26
+ type DropdownMenuSeparatorProps = HTMLAttributes<HTMLDivElement>;
27
+
28
+ declare const DropdownMenu: React.FC<DropdownMenuProps>;
29
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
30
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>>;
31
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>>;
32
+ declare const DropdownMenuSeparator: React.FC<DropdownMenuSeparatorProps>;
33
+
34
+ export { DropdownMenu, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, type DropdownMenuSize, DropdownMenuTrigger, type DropdownMenuTriggerProps, type DropdownMenuVariant };