@dododog/ui 0.1.0

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 (384) hide show
  1. package/README.md +126 -0
  2. package/dist/chunk-2AB5ZHY5.mjs +32 -0
  3. package/dist/chunk-2ASKBL63.mjs +80 -0
  4. package/dist/chunk-2MJTZ6RR.mjs +43 -0
  5. package/dist/chunk-2POGTS27.mjs +40 -0
  6. package/dist/chunk-333YD5QI.mjs +192 -0
  7. package/dist/chunk-36Y7UU32.mjs +34 -0
  8. package/dist/chunk-3BPC4LNH.js +75 -0
  9. package/dist/chunk-3R7PT3JG.js +215 -0
  10. package/dist/chunk-3VU6TPAT.js +102 -0
  11. package/dist/chunk-4U5MNA3B.mjs +101 -0
  12. package/dist/chunk-5257MWFI.mjs +93 -0
  13. package/dist/chunk-6ASRTUXO.js +107 -0
  14. package/dist/chunk-6EG6EAHW.js +108 -0
  15. package/dist/chunk-74B2EGKT.mjs +99 -0
  16. package/dist/chunk-762LQMWP.js +73 -0
  17. package/dist/chunk-76DZXGKJ.mjs +58 -0
  18. package/dist/chunk-77WKG2D7.js +80 -0
  19. package/dist/chunk-7IJOHVNJ.js +88 -0
  20. package/dist/chunk-7LJS5LNR.js +365 -0
  21. package/dist/chunk-7W3TFPIF.js +111 -0
  22. package/dist/chunk-ADIDI7AJ.js +11 -0
  23. package/dist/chunk-B47HQHX3.mjs +187 -0
  24. package/dist/chunk-BQWVWK74.mjs +125 -0
  25. package/dist/chunk-BUXVK2HE.mjs +79 -0
  26. package/dist/chunk-C4RZBOKH.js +138 -0
  27. package/dist/chunk-CNWUOKCY.mjs +342 -0
  28. package/dist/chunk-DFXXGKMI.js +90 -0
  29. package/dist/chunk-DGEXT7PN.mjs +85 -0
  30. package/dist/chunk-DLOHAW74.js +101 -0
  31. package/dist/chunk-DMCMWOBJ.mjs +81 -0
  32. package/dist/chunk-DS4LM7OS.js +66 -0
  33. package/dist/chunk-DTIYZ3TQ.js +54 -0
  34. package/dist/chunk-E4B6LXK7.mjs +45 -0
  35. package/dist/chunk-E6ZNND75.js +65 -0
  36. package/dist/chunk-EEIPCJQ2.mjs +72 -0
  37. package/dist/chunk-EJ7LDW7E.mjs +212 -0
  38. package/dist/chunk-ERL3WXNY.mjs +114 -0
  39. package/dist/chunk-EUEM2D5M.mjs +117 -0
  40. package/dist/chunk-EY4ZIR3P.js +62 -0
  41. package/dist/chunk-F2BUMJYW.mjs +64 -0
  42. package/dist/chunk-FZ7UNXSC.mjs +67 -0
  43. package/dist/chunk-GBWVIY3C.mjs +139 -0
  44. package/dist/chunk-GRG4USTC.mjs +57 -0
  45. package/dist/chunk-GXKON34B.js +86 -0
  46. package/dist/chunk-H3JNRTAI.js +116 -0
  47. package/dist/chunk-HN6B4TAW.js +139 -0
  48. package/dist/chunk-HS3MAW3G.js +123 -0
  49. package/dist/chunk-I4S3R6C6.js +105 -0
  50. package/dist/chunk-I4WCNTNP.mjs +49 -0
  51. package/dist/chunk-IEHX4DU6.js +49 -0
  52. package/dist/chunk-IJIUUBFT.js +94 -0
  53. package/dist/chunk-IMKLN273.mjs +9 -0
  54. package/dist/chunk-IRKM5UF4.js +137 -0
  55. package/dist/chunk-JP5ZR2HI.mjs +64 -0
  56. package/dist/chunk-KOO5ZXLD.js +234 -0
  57. package/dist/chunk-KQK7LFWM.mjs +101 -0
  58. package/dist/chunk-KVVXKSMQ.mjs +118 -0
  59. package/dist/chunk-KZSGVMUG.js +169 -0
  60. package/dist/chunk-L7OYR6U3.js +75 -0
  61. package/dist/chunk-LFIZX2S6.mjs +85 -0
  62. package/dist/chunk-MCF3EQTV.js +135 -0
  63. package/dist/chunk-MKOKWME3.js +76 -0
  64. package/dist/chunk-MPL35D5G.mjs +44 -0
  65. package/dist/chunk-MY6BYO5F.js +41 -0
  66. package/dist/chunk-N2Q4Z2FU.js +97 -0
  67. package/dist/chunk-N3JU7JS7.js +86 -0
  68. package/dist/chunk-NBDPT3XQ.js +121 -0
  69. package/dist/chunk-NCSFXSOZ.mjs +69 -0
  70. package/dist/chunk-NCU5PY34.js +90 -0
  71. package/dist/chunk-NHB2TI2B.js +210 -0
  72. package/dist/chunk-NZ7GF6RF.mjs +113 -0
  73. package/dist/chunk-O2W7NR33.mjs +43 -0
  74. package/dist/chunk-OCUHCDAQ.mjs +27 -0
  75. package/dist/chunk-ODUY7NXD.js +256 -0
  76. package/dist/chunk-OK3E73OK.js +126 -0
  77. package/dist/chunk-OOPP4ES2.mjs +80 -0
  78. package/dist/chunk-P7GAKOCX.js +102 -0
  79. package/dist/chunk-PAHSQMXV.mjs +65 -0
  80. package/dist/chunk-PG4I4NWO.js +103 -0
  81. package/dist/chunk-PND5YKFN.js +68 -0
  82. package/dist/chunk-PPDKQ3FF.mjs +115 -0
  83. package/dist/chunk-PXHZ4CXG.mjs +234 -0
  84. package/dist/chunk-Q7BKR6O7.mjs +84 -0
  85. package/dist/chunk-QU6ZRLKO.mjs +54 -0
  86. package/dist/chunk-QWDKSY6Y.js +56 -0
  87. package/dist/chunk-R4DC7XPP.mjs +147 -0
  88. package/dist/chunk-RJWHPHHX.mjs +39 -0
  89. package/dist/chunk-S5TLUDNM.js +95 -0
  90. package/dist/chunk-SCGN5H6D.js +112 -0
  91. package/dist/chunk-SGDC4IVX.mjs +120 -0
  92. package/dist/chunk-SZ3SV4SJ.mjs +116 -0
  93. package/dist/chunk-T5FLQQP6.js +106 -0
  94. package/dist/chunk-TDGU5Y2P.js +136 -0
  95. package/dist/chunk-TE4WHZ4Q.js +88 -0
  96. package/dist/chunk-TNGW36OC.mjs +53 -0
  97. package/dist/chunk-TNWMTKNR.mjs +75 -0
  98. package/dist/chunk-TT7L3ZU7.js +65 -0
  99. package/dist/chunk-TZHT7NZU.js +142 -0
  100. package/dist/chunk-U3XWNFHH.js +161 -0
  101. package/dist/chunk-UGYMWWKT.mjs +79 -0
  102. package/dist/chunk-UKCH6RYL.mjs +93 -0
  103. package/dist/chunk-UQRQZLMQ.mjs +46 -0
  104. package/dist/chunk-UYDZKAGZ.mjs +48 -0
  105. package/dist/chunk-V5J2XLPD.mjs +90 -0
  106. package/dist/chunk-VOZPGXQD.mjs +51 -0
  107. package/dist/chunk-VQVRKRSM.mjs +89 -0
  108. package/dist/chunk-VTELEOT7.js +100 -0
  109. package/dist/chunk-VWFY24XF.js +89 -0
  110. package/dist/chunk-W7DZZS6L.js +70 -0
  111. package/dist/chunk-WBRVUWGC.js +147 -0
  112. package/dist/chunk-WOG6V7OW.mjs +65 -0
  113. package/dist/chunk-WVEJS2J2.mjs +66 -0
  114. package/dist/chunk-XHRDPJTF.js +92 -0
  115. package/dist/chunk-XQVODPHL.mjs +90 -0
  116. package/dist/chunk-XXC2YD3D.js +67 -0
  117. package/dist/chunk-XZU2SISM.mjs +38 -0
  118. package/dist/chunk-YN4HPIRC.js +72 -0
  119. package/dist/chunk-YSJAEDMG.js +80 -0
  120. package/dist/chunk-YVTUUNAX.mjs +77 -0
  121. package/dist/chunk-YZTVHCLK.js +124 -0
  122. package/dist/chunk-Z5S7LHMY.js +61 -0
  123. package/dist/chunk-ZAUYE2EI.js +118 -0
  124. package/dist/chunk-ZLF7IL3Y.mjs +67 -0
  125. package/dist/chunk-ZZ4EWC53.mjs +52 -0
  126. package/dist/components/Accordion/index.d.mts +24 -0
  127. package/dist/components/Accordion/index.d.ts +24 -0
  128. package/dist/components/Accordion/index.js +11 -0
  129. package/dist/components/Accordion/index.mjs +2 -0
  130. package/dist/components/Alert/index.d.mts +40 -0
  131. package/dist/components/Alert/index.d.ts +40 -0
  132. package/dist/components/Alert/index.js +11 -0
  133. package/dist/components/Alert/index.mjs +2 -0
  134. package/dist/components/Autocomplete/index.d.mts +27 -0
  135. package/dist/components/Autocomplete/index.d.ts +27 -0
  136. package/dist/components/Autocomplete/index.js +15 -0
  137. package/dist/components/Autocomplete/index.mjs +2 -0
  138. package/dist/components/Avatar/index.d.mts +13 -0
  139. package/dist/components/Avatar/index.d.ts +13 -0
  140. package/dist/components/Avatar/index.js +11 -0
  141. package/dist/components/Avatar/index.mjs +2 -0
  142. package/dist/components/Badge/index.d.mts +13 -0
  143. package/dist/components/Badge/index.d.ts +13 -0
  144. package/dist/components/Badge/index.js +15 -0
  145. package/dist/components/Badge/index.mjs +2 -0
  146. package/dist/components/Banner/index.d.mts +19 -0
  147. package/dist/components/Banner/index.d.ts +19 -0
  148. package/dist/components/Banner/index.js +15 -0
  149. package/dist/components/Banner/index.mjs +2 -0
  150. package/dist/components/BottomNavBar/index.d.mts +17 -0
  151. package/dist/components/BottomNavBar/index.d.ts +17 -0
  152. package/dist/components/BottomNavBar/index.js +11 -0
  153. package/dist/components/BottomNavBar/index.mjs +2 -0
  154. package/dist/components/Breadcrumb/index.d.mts +23 -0
  155. package/dist/components/Breadcrumb/index.d.ts +23 -0
  156. package/dist/components/Breadcrumb/index.js +15 -0
  157. package/dist/components/Breadcrumb/index.mjs +2 -0
  158. package/dist/components/Button/index.d.mts +17 -0
  159. package/dist/components/Button/index.d.ts +17 -0
  160. package/dist/components/Button/index.js +15 -0
  161. package/dist/components/Button/index.mjs +2 -0
  162. package/dist/components/Card/index.d.mts +30 -0
  163. package/dist/components/Card/index.d.ts +30 -0
  164. package/dist/components/Card/index.js +35 -0
  165. package/dist/components/Card/index.mjs +2 -0
  166. package/dist/components/CardList/index.d.mts +30 -0
  167. package/dist/components/CardList/index.d.ts +30 -0
  168. package/dist/components/CardList/index.js +11 -0
  169. package/dist/components/CardList/index.mjs +2 -0
  170. package/dist/components/Carousel/index.d.mts +15 -0
  171. package/dist/components/Carousel/index.d.ts +15 -0
  172. package/dist/components/Carousel/index.js +11 -0
  173. package/dist/components/Carousel/index.mjs +2 -0
  174. package/dist/components/Checkbox/index.d.mts +16 -0
  175. package/dist/components/Checkbox/index.d.ts +16 -0
  176. package/dist/components/Checkbox/index.js +11 -0
  177. package/dist/components/Checkbox/index.mjs +2 -0
  178. package/dist/components/Counter/index.d.mts +14 -0
  179. package/dist/components/Counter/index.d.ts +14 -0
  180. package/dist/components/Counter/index.js +11 -0
  181. package/dist/components/Counter/index.mjs +2 -0
  182. package/dist/components/DateRangePicker/index.d.mts +26 -0
  183. package/dist/components/DateRangePicker/index.d.ts +26 -0
  184. package/dist/components/DateRangePicker/index.js +15 -0
  185. package/dist/components/DateRangePicker/index.mjs +2 -0
  186. package/dist/components/DetailList/index.d.mts +17 -0
  187. package/dist/components/DetailList/index.d.ts +17 -0
  188. package/dist/components/DetailList/index.js +11 -0
  189. package/dist/components/DetailList/index.mjs +2 -0
  190. package/dist/components/Divider/index.d.mts +10 -0
  191. package/dist/components/Divider/index.d.ts +10 -0
  192. package/dist/components/Divider/index.js +11 -0
  193. package/dist/components/Divider/index.mjs +2 -0
  194. package/dist/components/Drawer/index.d.mts +13 -0
  195. package/dist/components/Drawer/index.d.ts +13 -0
  196. package/dist/components/Drawer/index.js +11 -0
  197. package/dist/components/Drawer/index.mjs +2 -0
  198. package/dist/components/DropdownMenu/index.d.mts +19 -0
  199. package/dist/components/DropdownMenu/index.d.ts +19 -0
  200. package/dist/components/DropdownMenu/index.js +11 -0
  201. package/dist/components/DropdownMenu/index.mjs +2 -0
  202. package/dist/components/DualRangeSlider/index.d.mts +26 -0
  203. package/dist/components/DualRangeSlider/index.d.ts +26 -0
  204. package/dist/components/DualRangeSlider/index.js +11 -0
  205. package/dist/components/DualRangeSlider/index.mjs +2 -0
  206. package/dist/components/EmptyState/index.d.mts +12 -0
  207. package/dist/components/EmptyState/index.d.ts +12 -0
  208. package/dist/components/EmptyState/index.js +11 -0
  209. package/dist/components/EmptyState/index.mjs +2 -0
  210. package/dist/components/ErrorBoundary/index.d.mts +21 -0
  211. package/dist/components/ErrorBoundary/index.d.ts +21 -0
  212. package/dist/components/ErrorBoundary/index.js +11 -0
  213. package/dist/components/ErrorBoundary/index.mjs +2 -0
  214. package/dist/components/FilterAccordion/index.d.mts +16 -0
  215. package/dist/components/FilterAccordion/index.d.ts +16 -0
  216. package/dist/components/FilterAccordion/index.js +11 -0
  217. package/dist/components/FilterAccordion/index.mjs +2 -0
  218. package/dist/components/FilterPill/index.d.mts +13 -0
  219. package/dist/components/FilterPill/index.d.ts +13 -0
  220. package/dist/components/FilterPill/index.js +11 -0
  221. package/dist/components/FilterPill/index.mjs +2 -0
  222. package/dist/components/Footer/index.d.mts +46 -0
  223. package/dist/components/Footer/index.d.ts +46 -0
  224. package/dist/components/Footer/index.js +11 -0
  225. package/dist/components/Footer/index.mjs +2 -0
  226. package/dist/components/GuestPicker/index.d.mts +31 -0
  227. package/dist/components/GuestPicker/index.d.ts +31 -0
  228. package/dist/components/GuestPicker/index.js +11 -0
  229. package/dist/components/GuestPicker/index.mjs +2 -0
  230. package/dist/components/Header/index.d.mts +37 -0
  231. package/dist/components/Header/index.d.ts +37 -0
  232. package/dist/components/Header/index.js +11 -0
  233. package/dist/components/Header/index.mjs +2 -0
  234. package/dist/components/HotelCard/index.d.mts +45 -0
  235. package/dist/components/HotelCard/index.d.ts +45 -0
  236. package/dist/components/HotelCard/index.js +11 -0
  237. package/dist/components/HotelCard/index.mjs +2 -0
  238. package/dist/components/IconBadge/index.d.mts +14 -0
  239. package/dist/components/IconBadge/index.d.ts +14 -0
  240. package/dist/components/IconBadge/index.js +15 -0
  241. package/dist/components/IconBadge/index.mjs +2 -0
  242. package/dist/components/ImageGallery/index.d.mts +16 -0
  243. package/dist/components/ImageGallery/index.d.ts +16 -0
  244. package/dist/components/ImageGallery/index.js +11 -0
  245. package/dist/components/ImageGallery/index.mjs +2 -0
  246. package/dist/components/ImageWithFallback/index.d.mts +17 -0
  247. package/dist/components/ImageWithFallback/index.d.ts +17 -0
  248. package/dist/components/ImageWithFallback/index.js +11 -0
  249. package/dist/components/ImageWithFallback/index.mjs +2 -0
  250. package/dist/components/Input/index.d.mts +18 -0
  251. package/dist/components/Input/index.d.ts +18 -0
  252. package/dist/components/Input/index.js +15 -0
  253. package/dist/components/Input/index.mjs +2 -0
  254. package/dist/components/Lightbox/index.d.mts +15 -0
  255. package/dist/components/Lightbox/index.d.ts +15 -0
  256. package/dist/components/Lightbox/index.js +11 -0
  257. package/dist/components/Lightbox/index.mjs +2 -0
  258. package/dist/components/LinkCard/index.d.mts +12 -0
  259. package/dist/components/LinkCard/index.d.ts +12 -0
  260. package/dist/components/LinkCard/index.js +11 -0
  261. package/dist/components/LinkCard/index.mjs +2 -0
  262. package/dist/components/LoadingOverlay/index.d.mts +12 -0
  263. package/dist/components/LoadingOverlay/index.d.ts +12 -0
  264. package/dist/components/LoadingOverlay/index.js +11 -0
  265. package/dist/components/LoadingOverlay/index.mjs +2 -0
  266. package/dist/components/MegaMenu/index.d.mts +52 -0
  267. package/dist/components/MegaMenu/index.d.ts +52 -0
  268. package/dist/components/MegaMenu/index.js +11 -0
  269. package/dist/components/MegaMenu/index.mjs +2 -0
  270. package/dist/components/MobileMenu/index.d.mts +35 -0
  271. package/dist/components/MobileMenu/index.d.ts +35 -0
  272. package/dist/components/MobileMenu/index.js +11 -0
  273. package/dist/components/MobileMenu/index.mjs +2 -0
  274. package/dist/components/Modal/index.d.mts +12 -0
  275. package/dist/components/Modal/index.d.ts +12 -0
  276. package/dist/components/Modal/index.js +11 -0
  277. package/dist/components/Modal/index.mjs +2 -0
  278. package/dist/components/Pagination/index.d.mts +13 -0
  279. package/dist/components/Pagination/index.d.ts +13 -0
  280. package/dist/components/Pagination/index.js +11 -0
  281. package/dist/components/Pagination/index.mjs +2 -0
  282. package/dist/components/PriceDisplay/index.d.mts +14 -0
  283. package/dist/components/PriceDisplay/index.d.ts +14 -0
  284. package/dist/components/PriceDisplay/index.js +11 -0
  285. package/dist/components/PriceDisplay/index.mjs +2 -0
  286. package/dist/components/ProgressBar/index.d.mts +19 -0
  287. package/dist/components/ProgressBar/index.d.ts +19 -0
  288. package/dist/components/ProgressBar/index.js +19 -0
  289. package/dist/components/ProgressBar/index.mjs +2 -0
  290. package/dist/components/RadioGroup/index.d.mts +21 -0
  291. package/dist/components/RadioGroup/index.d.ts +21 -0
  292. package/dist/components/RadioGroup/index.js +11 -0
  293. package/dist/components/RadioGroup/index.mjs +2 -0
  294. package/dist/components/Rating/index.d.mts +12 -0
  295. package/dist/components/Rating/index.d.ts +12 -0
  296. package/dist/components/Rating/index.js +11 -0
  297. package/dist/components/Rating/index.mjs +2 -0
  298. package/dist/components/SearchBar/index.d.mts +20 -0
  299. package/dist/components/SearchBar/index.d.ts +20 -0
  300. package/dist/components/SearchBar/index.js +11 -0
  301. package/dist/components/SearchBar/index.mjs +2 -0
  302. package/dist/components/SegmentedControl/index.d.mts +15 -0
  303. package/dist/components/SegmentedControl/index.d.ts +15 -0
  304. package/dist/components/SegmentedControl/index.js +11 -0
  305. package/dist/components/SegmentedControl/index.mjs +2 -0
  306. package/dist/components/Select/index.d.mts +26 -0
  307. package/dist/components/Select/index.d.ts +26 -0
  308. package/dist/components/Select/index.js +15 -0
  309. package/dist/components/Select/index.mjs +2 -0
  310. package/dist/components/Sidebar/index.d.mts +19 -0
  311. package/dist/components/Sidebar/index.d.ts +19 -0
  312. package/dist/components/Sidebar/index.js +11 -0
  313. package/dist/components/Sidebar/index.mjs +2 -0
  314. package/dist/components/Skeleton/index.d.mts +31 -0
  315. package/dist/components/Skeleton/index.d.ts +31 -0
  316. package/dist/components/Skeleton/index.js +23 -0
  317. package/dist/components/Skeleton/index.mjs +2 -0
  318. package/dist/components/Spinner/index.d.mts +13 -0
  319. package/dist/components/Spinner/index.d.ts +13 -0
  320. package/dist/components/Spinner/index.js +15 -0
  321. package/dist/components/Spinner/index.mjs +2 -0
  322. package/dist/components/StatCard/index.d.mts +15 -0
  323. package/dist/components/StatCard/index.d.ts +15 -0
  324. package/dist/components/StatCard/index.js +11 -0
  325. package/dist/components/StatCard/index.mjs +2 -0
  326. package/dist/components/StatusBadge/index.d.mts +16 -0
  327. package/dist/components/StatusBadge/index.d.ts +16 -0
  328. package/dist/components/StatusBadge/index.js +15 -0
  329. package/dist/components/StatusBadge/index.mjs +2 -0
  330. package/dist/components/Stepper/index.d.mts +16 -0
  331. package/dist/components/Stepper/index.d.ts +16 -0
  332. package/dist/components/Stepper/index.js +11 -0
  333. package/dist/components/Stepper/index.mjs +2 -0
  334. package/dist/components/Switch/index.d.mts +22 -0
  335. package/dist/components/Switch/index.d.ts +22 -0
  336. package/dist/components/Switch/index.js +19 -0
  337. package/dist/components/Switch/index.mjs +2 -0
  338. package/dist/components/Tabs/index.d.mts +18 -0
  339. package/dist/components/Tabs/index.d.ts +18 -0
  340. package/dist/components/Tabs/index.js +11 -0
  341. package/dist/components/Tabs/index.mjs +2 -0
  342. package/dist/components/Tag/index.d.mts +15 -0
  343. package/dist/components/Tag/index.d.ts +15 -0
  344. package/dist/components/Tag/index.js +15 -0
  345. package/dist/components/Tag/index.mjs +2 -0
  346. package/dist/components/Textarea/index.d.mts +16 -0
  347. package/dist/components/Textarea/index.d.ts +16 -0
  348. package/dist/components/Textarea/index.js +15 -0
  349. package/dist/components/Textarea/index.mjs +2 -0
  350. package/dist/components/Toast/index.d.mts +16 -0
  351. package/dist/components/Toast/index.d.ts +16 -0
  352. package/dist/components/Toast/index.js +15 -0
  353. package/dist/components/Toast/index.mjs +2 -0
  354. package/dist/components/Toggle/index.d.mts +13 -0
  355. package/dist/components/Toggle/index.d.ts +13 -0
  356. package/dist/components/Toggle/index.js +11 -0
  357. package/dist/components/Toggle/index.mjs +2 -0
  358. package/dist/components/Tooltip/index.d.mts +11 -0
  359. package/dist/components/Tooltip/index.d.ts +11 -0
  360. package/dist/components/Tooltip/index.js +11 -0
  361. package/dist/components/Tooltip/index.mjs +2 -0
  362. package/dist/components/VerticalMarquee/index.d.mts +16 -0
  363. package/dist/components/VerticalMarquee/index.d.ts +16 -0
  364. package/dist/components/VerticalMarquee/index.js +11 -0
  365. package/dist/components/VerticalMarquee/index.mjs +2 -0
  366. package/dist/index.d.mts +66 -0
  367. package/dist/index.d.ts +66 -0
  368. package/dist/index.js +418 -0
  369. package/dist/index.mjs +61 -0
  370. package/dist/tailwind-preset.d.mts +159 -0
  371. package/dist/tailwind-preset.d.ts +159 -0
  372. package/dist/tailwind-preset.js +19 -0
  373. package/dist/tailwind-preset.mjs +17 -0
  374. package/dist/tokens/index.d.mts +208 -0
  375. package/dist/tokens/index.d.ts +208 -0
  376. package/dist/tokens/index.js +84 -0
  377. package/dist/tokens/index.mjs +53 -0
  378. package/dist/typography-BUlhEnfy.d.mts +16 -0
  379. package/dist/typography-BUlhEnfy.d.ts +16 -0
  380. package/dist/utils/index.d.mts +5 -0
  381. package/dist/utils/index.d.ts +5 -0
  382. package/dist/utils/index.js +10 -0
  383. package/dist/utils/index.mjs +1 -0
  384. package/package.json +379 -0
@@ -0,0 +1,80 @@
1
+ 'use strict';
2
+
3
+ var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
4
+ var React = require('react');
5
+ var jsxRuntime = require('react/jsx-runtime');
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n.default = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
26
+
27
+ var DetailList = React__namespace.forwardRef(
28
+ ({ items, direction = "vertical", dividers = true, className, ...props }, ref) => {
29
+ return /* @__PURE__ */ jsxRuntime.jsx(
30
+ "dl",
31
+ {
32
+ ref,
33
+ className: chunkADIDI7AJ_js.cn(
34
+ direction === "horizontal" ? "flex flex-wrap gap-6" : "space-y-0",
35
+ className
36
+ ),
37
+ ...props,
38
+ children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsxs(
39
+ "div",
40
+ {
41
+ className: chunkADIDI7AJ_js.cn(
42
+ direction === "vertical" && "flex items-center justify-between py-3",
43
+ direction === "vertical" && dividers && i < items.length - 1 && "border-b border-gray-100",
44
+ direction === "horizontal" && "flex flex-col"
45
+ ),
46
+ children: [
47
+ /* @__PURE__ */ jsxRuntime.jsxs(
48
+ "dt",
49
+ {
50
+ className: chunkADIDI7AJ_js.cn(
51
+ "flex items-center gap-2 text-sm text-text-secondary",
52
+ direction === "horizontal" && "text-xs uppercase tracking-wider mb-1"
53
+ ),
54
+ children: [
55
+ item.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-shrink-0", "aria-hidden": "true", children: item.icon }),
56
+ item.label
57
+ ]
58
+ }
59
+ ),
60
+ /* @__PURE__ */ jsxRuntime.jsx(
61
+ "dd",
62
+ {
63
+ className: chunkADIDI7AJ_js.cn(
64
+ "text-sm font-medium text-primary",
65
+ direction === "horizontal" && "text-lg font-bold"
66
+ ),
67
+ children: item.value
68
+ }
69
+ )
70
+ ]
71
+ },
72
+ i
73
+ ))
74
+ }
75
+ );
76
+ }
77
+ );
78
+ DetailList.displayName = "DetailList";
79
+
80
+ exports.DetailList = DetailList;
@@ -0,0 +1,77 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { cva } from 'class-variance-authority';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ var toastVariants = cva(
7
+ "flex items-start gap-3 w-full max-w-sm p-4 rounded-xl shadow-lg border transition-all duration-300",
8
+ {
9
+ variants: {
10
+ variant: {
11
+ success: "bg-white border-green-200 text-green-800",
12
+ error: "bg-white border-red-200 text-red-800",
13
+ warning: "bg-white border-amber-200 text-amber-800",
14
+ info: "bg-white border-blue-200 text-blue-800"
15
+ }
16
+ },
17
+ defaultVariants: {
18
+ variant: "info"
19
+ }
20
+ }
21
+ );
22
+ var iconMap = {
23
+ success: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "text-green-500 flex-shrink-0 mt-0.5", "aria-hidden": "true", children: [
24
+ /* @__PURE__ */ jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
25
+ /* @__PURE__ */ jsx("path", { d: "m9 11 3 3L22 4" })
26
+ ] }),
27
+ error: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "text-red-500 flex-shrink-0 mt-0.5", "aria-hidden": "true", children: [
28
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
29
+ /* @__PURE__ */ jsx("path", { d: "m15 9-6 6" }),
30
+ /* @__PURE__ */ jsx("path", { d: "m9 9 6 6" })
31
+ ] }),
32
+ warning: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "text-amber-500 flex-shrink-0 mt-0.5", "aria-hidden": "true", children: [
33
+ /* @__PURE__ */ jsx("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
34
+ /* @__PURE__ */ jsx("path", { d: "M12 9v4" }),
35
+ /* @__PURE__ */ jsx("path", { d: "M12 17h.01" })
36
+ ] }),
37
+ info: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "text-blue-500 flex-shrink-0 mt-0.5", "aria-hidden": "true", children: [
38
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
39
+ /* @__PURE__ */ jsx("path", { d: "M12 16v-4" }),
40
+ /* @__PURE__ */ jsx("path", { d: "M12 8h.01" })
41
+ ] })
42
+ };
43
+ var Toast = React.forwardRef(
44
+ ({ variant = "info", title, description, onClose, icon, className, ...props }, ref) => {
45
+ return /* @__PURE__ */ jsxs(
46
+ "div",
47
+ {
48
+ ref,
49
+ role: "alert",
50
+ className: cn(toastVariants({ variant }), className),
51
+ ...props,
52
+ children: [
53
+ icon || iconMap[variant || "info"],
54
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
55
+ title && /* @__PURE__ */ jsx("p", { className: "text-sm font-semibold", children: title }),
56
+ description && /* @__PURE__ */ jsx("p", { className: "text-sm opacity-80 mt-0.5", children: description })
57
+ ] }),
58
+ onClose && /* @__PURE__ */ jsx(
59
+ "button",
60
+ {
61
+ onClick: onClose,
62
+ className: "flex-shrink-0 p-1 rounded-lg hover:bg-black/5 transition-colors",
63
+ "aria-label": "Close",
64
+ children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
65
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
66
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
67
+ ] })
68
+ }
69
+ )
70
+ ]
71
+ }
72
+ );
73
+ }
74
+ );
75
+ Toast.displayName = "Toast";
76
+
77
+ export { Toast, toastVariants };
@@ -0,0 +1,124 @@
1
+ 'use strict';
2
+
3
+ var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
4
+ var React = require('react');
5
+ var reactSlot = require('@radix-ui/react-slot');
6
+ var classVarianceAuthority = require('class-variance-authority');
7
+ var jsxRuntime = require('react/jsx-runtime');
8
+
9
+ function _interopNamespace(e) {
10
+ if (e && e.__esModule) return e;
11
+ var n = Object.create(null);
12
+ if (e) {
13
+ Object.keys(e).forEach(function (k) {
14
+ if (k !== 'default') {
15
+ var d = Object.getOwnPropertyDescriptor(e, k);
16
+ Object.defineProperty(n, k, d.get ? d : {
17
+ enumerable: true,
18
+ get: function () { return e[k]; }
19
+ });
20
+ }
21
+ });
22
+ }
23
+ n.default = e;
24
+ return Object.freeze(n);
25
+ }
26
+
27
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
28
+
29
+ var buttonVariants = classVarianceAuthority.cva(
30
+ "inline-flex items-center justify-center font-medium rounded-full transition-all duration-200 active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed",
31
+ {
32
+ variants: {
33
+ variant: {
34
+ primary: "bg-secondary text-white hover:bg-secondary-dark shadow-md hover:shadow-lg",
35
+ secondary: "bg-primary text-white hover:bg-primary-dark",
36
+ accent: "bg-accent text-white hover:bg-accent-dark",
37
+ outline: "border-2 border-primary text-primary hover:bg-primary hover:text-white",
38
+ ghost: "text-primary hover:bg-gray-100"
39
+ },
40
+ size: {
41
+ sm: "px-4 py-2 text-sm",
42
+ md: "px-6 py-3 text-base",
43
+ lg: "px-8 py-4 text-lg"
44
+ }
45
+ },
46
+ defaultVariants: {
47
+ variant: "primary",
48
+ size: "md"
49
+ }
50
+ }
51
+ );
52
+ var Button = React__namespace.forwardRef(
53
+ ({
54
+ className,
55
+ variant,
56
+ size,
57
+ asChild = false,
58
+ isLoading = false,
59
+ leftIcon,
60
+ rightIcon,
61
+ children,
62
+ disabled,
63
+ ...props
64
+ }, ref) => {
65
+ if (asChild) {
66
+ return /* @__PURE__ */ jsxRuntime.jsx(
67
+ reactSlot.Slot,
68
+ {
69
+ ref,
70
+ className: chunkADIDI7AJ_js.cn(buttonVariants({ variant, size, className })),
71
+ ...props,
72
+ children
73
+ }
74
+ );
75
+ }
76
+ return /* @__PURE__ */ jsxRuntime.jsxs(
77
+ "button",
78
+ {
79
+ ref,
80
+ className: chunkADIDI7AJ_js.cn(buttonVariants({ variant, size, className })),
81
+ disabled: disabled || isLoading,
82
+ ...props,
83
+ children: [
84
+ isLoading ? /* @__PURE__ */ jsxRuntime.jsxs(
85
+ "svg",
86
+ {
87
+ className: "animate-spin -ml-1 mr-2 h-4 w-4",
88
+ xmlns: "http://www.w3.org/2000/svg",
89
+ fill: "none",
90
+ viewBox: "0 0 24 24",
91
+ children: [
92
+ /* @__PURE__ */ jsxRuntime.jsx(
93
+ "circle",
94
+ {
95
+ className: "opacity-25",
96
+ cx: "12",
97
+ cy: "12",
98
+ r: "10",
99
+ stroke: "currentColor",
100
+ strokeWidth: "4"
101
+ }
102
+ ),
103
+ /* @__PURE__ */ jsxRuntime.jsx(
104
+ "path",
105
+ {
106
+ className: "opacity-75",
107
+ fill: "currentColor",
108
+ d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
109
+ }
110
+ )
111
+ ]
112
+ }
113
+ ) : leftIcon ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mr-2", children: leftIcon }) : null,
114
+ children,
115
+ rightIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ml-2", children: rightIcon })
116
+ ]
117
+ }
118
+ );
119
+ }
120
+ );
121
+ Button.displayName = "Button";
122
+
123
+ exports.Button = Button;
124
+ exports.buttonVariants = buttonVariants;
@@ -0,0 +1,61 @@
1
+ 'use strict';
2
+
3
+ var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
4
+ var React = require('react');
5
+ var classVarianceAuthority = require('class-variance-authority');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n.default = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
+
28
+ var badgeVariants = classVarianceAuthority.cva("inline-flex items-center font-medium rounded-full", {
29
+ variants: {
30
+ variant: {
31
+ default: "bg-primary text-white",
32
+ secondary: "bg-secondary text-white",
33
+ accent: "bg-accent text-white",
34
+ success: "bg-green-500 text-white",
35
+ warning: "bg-yellow-500 text-white",
36
+ outline: "border border-primary text-primary bg-transparent"
37
+ },
38
+ size: {
39
+ sm: "px-2 py-0.5 text-xs",
40
+ md: "px-3 py-1 text-sm"
41
+ }
42
+ },
43
+ defaultVariants: {
44
+ variant: "default",
45
+ size: "sm"
46
+ }
47
+ });
48
+ var Badge = React__namespace.forwardRef(
49
+ ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
50
+ "span",
51
+ {
52
+ ref,
53
+ className: chunkADIDI7AJ_js.cn(badgeVariants({ variant, size, className })),
54
+ ...props
55
+ }
56
+ )
57
+ );
58
+ Badge.displayName = "Badge";
59
+
60
+ exports.Badge = Badge;
61
+ exports.badgeVariants = badgeVariants;
@@ -0,0 +1,118 @@
1
+ 'use strict';
2
+
3
+ var chunkADIDI7AJ_js = require('./chunk-ADIDI7AJ.js');
4
+ var React = require('react');
5
+ var classVarianceAuthority = require('class-variance-authority');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n.default = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
+
28
+ var cardVariants = classVarianceAuthority.cva("bg-white rounded-2xl shadow-card overflow-hidden", {
29
+ variants: {
30
+ padding: {
31
+ none: "",
32
+ sm: "p-4",
33
+ md: "p-6",
34
+ lg: "p-8"
35
+ },
36
+ hover: {
37
+ true: "hover:shadow-card-hover transition-shadow duration-300",
38
+ false: ""
39
+ }
40
+ },
41
+ defaultVariants: {
42
+ padding: "none",
43
+ hover: true
44
+ }
45
+ });
46
+ var Card = React__namespace.forwardRef(
47
+ ({ className, padding, hover, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
48
+ "div",
49
+ {
50
+ ref,
51
+ className: chunkADIDI7AJ_js.cn(cardVariants({ padding, hover, className })),
52
+ ...props
53
+ }
54
+ )
55
+ );
56
+ Card.displayName = "Card";
57
+ var cardImageVariants = classVarianceAuthority.cva(
58
+ "relative overflow-hidden rounded-t-2xl w-full",
59
+ {
60
+ variants: {
61
+ aspectRatio: {
62
+ square: "aspect-square",
63
+ video: "aspect-video",
64
+ wide: "aspect-[21/9]"
65
+ }
66
+ },
67
+ defaultVariants: {
68
+ aspectRatio: "video"
69
+ }
70
+ }
71
+ );
72
+ var CardImage = React__namespace.forwardRef(
73
+ ({ className, aspectRatio, overlay, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
74
+ "div",
75
+ {
76
+ ref,
77
+ className: chunkADIDI7AJ_js.cn(cardImageVariants({ aspectRatio, className })),
78
+ ...props,
79
+ children: [
80
+ children,
81
+ overlay && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 to-transparent", children: overlay })
82
+ ]
83
+ }
84
+ )
85
+ );
86
+ CardImage.displayName = "CardImage";
87
+ var CardContent = React__namespace.forwardRef(
88
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: chunkADIDI7AJ_js.cn("p-4 md:p-6", className), ...props })
89
+ );
90
+ CardContent.displayName = "CardContent";
91
+ var CardTitle = React__namespace.forwardRef(
92
+ ({ className, as: Comp = "h3", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
93
+ Comp,
94
+ {
95
+ ref,
96
+ className: chunkADIDI7AJ_js.cn("font-heading font-bold text-primary", className),
97
+ ...props
98
+ }
99
+ )
100
+ );
101
+ CardTitle.displayName = "CardTitle";
102
+ var CardDescription = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
103
+ "p",
104
+ {
105
+ ref,
106
+ className: chunkADIDI7AJ_js.cn("text-text-secondary text-sm mt-2", className),
107
+ ...props
108
+ }
109
+ ));
110
+ CardDescription.displayName = "CardDescription";
111
+
112
+ exports.Card = Card;
113
+ exports.CardContent = CardContent;
114
+ exports.CardDescription = CardDescription;
115
+ exports.CardImage = CardImage;
116
+ exports.CardTitle = CardTitle;
117
+ exports.cardImageVariants = cardImageVariants;
118
+ exports.cardVariants = cardVariants;
@@ -0,0 +1,67 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var Drawer = React.forwardRef(
6
+ ({ isOpen, onClose, children, side = "right", title, className }, ref) => {
7
+ React.useEffect(() => {
8
+ if (!isOpen) return;
9
+ const handleKeyDown = (e) => {
10
+ if (e.key === "Escape") onClose();
11
+ };
12
+ document.addEventListener("keydown", handleKeyDown);
13
+ return () => document.removeEventListener("keydown", handleKeyDown);
14
+ }, [isOpen, onClose]);
15
+ React.useEffect(() => {
16
+ if (!isOpen) return;
17
+ const prev = document.body.style.overflow;
18
+ document.body.style.overflow = "hidden";
19
+ return () => {
20
+ document.body.style.overflow = prev;
21
+ };
22
+ }, [isOpen]);
23
+ if (!isOpen) return null;
24
+ return /* @__PURE__ */ jsxs("div", { ref, className: "fixed inset-0 z-50", role: "dialog", "aria-modal": "true", "aria-label": title, children: [
25
+ /* @__PURE__ */ jsx(
26
+ "div",
27
+ {
28
+ className: "absolute inset-0 bg-black/50 transition-opacity",
29
+ onClick: onClose,
30
+ "aria-hidden": "true"
31
+ }
32
+ ),
33
+ /* @__PURE__ */ jsxs(
34
+ "div",
35
+ {
36
+ className: cn(
37
+ "absolute top-0 bottom-0 bg-white shadow-xl flex flex-col",
38
+ side === "right" && "right-0 w-full max-w-md",
39
+ side === "left" && "left-0 w-full max-w-md",
40
+ className
41
+ ),
42
+ children: [
43
+ title && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-4 h-16 border-b border-gray-100 shrink-0", children: [
44
+ /* @__PURE__ */ jsx("h2", { className: "text-lg font-heading font-semibold text-primary", children: title }),
45
+ /* @__PURE__ */ jsx(
46
+ "button",
47
+ {
48
+ onClick: onClose,
49
+ className: "p-2 hover:bg-gray-100 rounded-full transition-colors",
50
+ "aria-label": "Fermer",
51
+ children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
52
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
53
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
54
+ ] })
55
+ }
56
+ )
57
+ ] }),
58
+ /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children })
59
+ ]
60
+ }
61
+ )
62
+ ] });
63
+ }
64
+ );
65
+ Drawer.displayName = "Drawer";
66
+
67
+ export { Drawer };
@@ -0,0 +1,52 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { cva } from 'class-variance-authority';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ var textareaVariants = cva(
7
+ "w-full border bg-white transition-all placeholder:text-text-muted text-primary resize-vertical",
8
+ {
9
+ variants: {
10
+ size: {
11
+ sm: "px-3 py-2 text-sm rounded-xl",
12
+ md: "px-4 py-3 text-sm rounded-xl",
13
+ lg: "px-4 py-3 text-base rounded-xl"
14
+ },
15
+ variant: {
16
+ default: "border-gray-200 focus:border-secondary focus:outline-none focus:ring-1 focus:ring-secondary",
17
+ error: "border-red-300 focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-red-500"
18
+ }
19
+ },
20
+ defaultVariants: {
21
+ size: "md",
22
+ variant: "default"
23
+ }
24
+ }
25
+ );
26
+ var Textarea = React.forwardRef(
27
+ ({ className, size, variant, label, error, required, rows = 4, ...props }, ref) => {
28
+ const resolvedVariant = error ? "error" : variant ?? "default";
29
+ return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
30
+ label && /* @__PURE__ */ jsxs("label", { className: "block text-sm font-medium text-primary mb-1.5", children: [
31
+ label,
32
+ required && /* @__PURE__ */ jsx("span", { className: "text-secondary", children: " *" })
33
+ ] }),
34
+ /* @__PURE__ */ jsx(
35
+ "textarea",
36
+ {
37
+ ref,
38
+ rows,
39
+ className: cn(
40
+ textareaVariants({ size, variant: resolvedVariant }),
41
+ className
42
+ ),
43
+ ...props
44
+ }
45
+ ),
46
+ error && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-red-500", children: error })
47
+ ] });
48
+ }
49
+ );
50
+ Textarea.displayName = "Textarea";
51
+
52
+ export { Textarea, textareaVariants };
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+
3
+ interface AccordionItemData {
4
+ key: string;
5
+ title: string;
6
+ content: React.ReactNode;
7
+ }
8
+ interface AccordionProps {
9
+ items: AccordionItemData[];
10
+ defaultOpenIndex?: number | null;
11
+ /** Open multiple items by default (requires `allowMultiple`). Takes precedence over `defaultOpenIndex`. */
12
+ defaultOpenIndexes?: number[];
13
+ allowMultiple?: boolean;
14
+ className?: string;
15
+ }
16
+ declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
17
+ interface AccordionItemProps {
18
+ title: string;
19
+ isOpen: boolean;
20
+ onToggle: () => void;
21
+ children: React.ReactNode;
22
+ }
23
+
24
+ export { Accordion, type AccordionItemData, type AccordionItemProps, type AccordionProps };
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+
3
+ interface AccordionItemData {
4
+ key: string;
5
+ title: string;
6
+ content: React.ReactNode;
7
+ }
8
+ interface AccordionProps {
9
+ items: AccordionItemData[];
10
+ defaultOpenIndex?: number | null;
11
+ /** Open multiple items by default (requires `allowMultiple`). Takes precedence over `defaultOpenIndex`. */
12
+ defaultOpenIndexes?: number[];
13
+ allowMultiple?: boolean;
14
+ className?: string;
15
+ }
16
+ declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
17
+ interface AccordionItemProps {
18
+ title: string;
19
+ isOpen: boolean;
20
+ onToggle: () => void;
21
+ children: React.ReactNode;
22
+ }
23
+
24
+ export { Accordion, type AccordionItemData, type AccordionItemProps, type AccordionProps };
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkMCF3EQTV_js = require('../../chunk-MCF3EQTV.js');
4
+ require('../../chunk-ADIDI7AJ.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "Accordion", {
9
+ enumerable: true,
10
+ get: function () { return chunkMCF3EQTV_js.Accordion; }
11
+ });
@@ -0,0 +1,2 @@
1
+ export { Accordion } from '../../chunk-NZ7GF6RF.mjs';
2
+ import '../../chunk-IMKLN273.mjs';