@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,93 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { cva } from 'class-variance-authority';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+
6
+ var breadcrumbVariants = cva("py-3", {
7
+ variants: {
8
+ variant: {
9
+ default: "bg-sand",
10
+ light: "bg-white",
11
+ dark: "bg-transparent"
12
+ }
13
+ },
14
+ defaultVariants: {
15
+ variant: "default"
16
+ }
17
+ });
18
+ var variantStyles = {
19
+ default: {
20
+ text: "text-text-muted",
21
+ link: "hover:text-primary",
22
+ separator: "text-text-muted",
23
+ current: "text-primary font-medium"
24
+ },
25
+ light: {
26
+ text: "text-gray-500",
27
+ link: "hover:text-primary",
28
+ separator: "text-gray-400",
29
+ current: "text-gray-900 font-medium"
30
+ },
31
+ dark: {
32
+ text: "text-white/70",
33
+ link: "hover:text-white",
34
+ separator: "text-white/50",
35
+ current: "text-white font-medium"
36
+ }
37
+ };
38
+ function ChevronRightIcon({ className }) {
39
+ return /* @__PURE__ */ jsx(
40
+ "svg",
41
+ {
42
+ xmlns: "http://www.w3.org/2000/svg",
43
+ width: "16",
44
+ height: "16",
45
+ viewBox: "0 0 24 24",
46
+ fill: "none",
47
+ stroke: "currentColor",
48
+ strokeWidth: "2",
49
+ strokeLinecap: "round",
50
+ strokeLinejoin: "round",
51
+ className,
52
+ "aria-hidden": "true",
53
+ children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
54
+ }
55
+ );
56
+ }
57
+ var Breadcrumb = React.forwardRef(
58
+ ({ items, variant = "default", renderLink, className, ...props }, ref) => {
59
+ const styles = variantStyles[variant ?? "default"];
60
+ const linkClassName = cn(styles.text, styles.link, "transition-colors");
61
+ const renderLinkElement = (href, children) => {
62
+ if (renderLink) {
63
+ return renderLink({ href, className: linkClassName, children });
64
+ }
65
+ return /* @__PURE__ */ jsx("a", { href, className: linkClassName, children });
66
+ };
67
+ return /* @__PURE__ */ jsx(
68
+ "nav",
69
+ {
70
+ ref,
71
+ "aria-label": "Fil d'Ariane",
72
+ className: cn(breadcrumbVariants({ variant, className })),
73
+ ...props,
74
+ children: /* @__PURE__ */ jsx("ol", { className: "flex items-center gap-2 text-sm flex-wrap", children: items.map((item, index) => {
75
+ const isLast = index === items.length - 1;
76
+ const isFirst = index === 0;
77
+ return /* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2", children: [
78
+ !isFirst && /* @__PURE__ */ jsx(
79
+ ChevronRightIcon,
80
+ {
81
+ className: cn("flex-shrink-0", styles.separator)
82
+ }
83
+ ),
84
+ isLast ? /* @__PURE__ */ jsx("span", { className: styles.current, "aria-current": "page", children: item.label }) : renderLinkElement(item.href, item.label)
85
+ ] }, item.href);
86
+ }) })
87
+ }
88
+ );
89
+ }
90
+ );
91
+ Breadcrumb.displayName = "Breadcrumb";
92
+
93
+ export { Breadcrumb, breadcrumbVariants };
@@ -0,0 +1,46 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
+
5
+ var BottomNavBar = React.forwardRef(
6
+ ({ items, className, onNavigate }, ref) => {
7
+ return /* @__PURE__ */ jsx(
8
+ "nav",
9
+ {
10
+ ref,
11
+ "aria-label": "Navigation principale",
12
+ className: cn(
13
+ "w-full border-t border-sand-dark bg-white",
14
+ className
15
+ ),
16
+ children: /* @__PURE__ */ jsx("ul", { className: "flex h-16 items-center justify-around", children: items.map((item) => {
17
+ const Tag = onNavigate ? "button" : "a";
18
+ return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
19
+ Tag,
20
+ {
21
+ ...onNavigate ? { onClick: () => onNavigate(item.href), type: "button" } : { href: item.href },
22
+ "aria-current": item.isActive ? "page" : void 0,
23
+ className: "flex min-h-[44px] min-w-[44px] flex-col items-center justify-center gap-0.5 transition-colors duration-300 ease-in-out",
24
+ children: [
25
+ /* @__PURE__ */ jsx("span", { className: item.isActive ? "text-primary" : "text-text-muted", children: item.icon }),
26
+ /* @__PURE__ */ jsx(
27
+ "span",
28
+ {
29
+ className: cn(
30
+ "text-[11px] font-medium",
31
+ item.isActive ? "text-primary" : "text-text-muted"
32
+ ),
33
+ children: item.label
34
+ }
35
+ )
36
+ ]
37
+ }
38
+ ) }, item.key);
39
+ }) })
40
+ }
41
+ );
42
+ }
43
+ );
44
+ BottomNavBar.displayName = "BottomNavBar";
45
+
46
+ export { BottomNavBar };
@@ -0,0 +1,48 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var LinkCard = React.forwardRef(
6
+ ({ icon, title, description, showChevron = true, className, children, ...props }, ref) => {
7
+ return /* @__PURE__ */ jsxs(
8
+ "a",
9
+ {
10
+ ref,
11
+ className: cn(
12
+ "flex items-center gap-4 p-4 bg-white rounded-xl border border-gray-100 shadow-sm",
13
+ "hover:border-secondary/30 hover:shadow-md transition-all group",
14
+ className
15
+ ),
16
+ ...props,
17
+ children: [
18
+ icon && /* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-lg bg-secondary/10 flex items-center justify-center text-secondary flex-shrink-0", children: icon }),
19
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
20
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-semibold text-primary block truncate", children: title }),
21
+ description && /* @__PURE__ */ jsx("span", { className: "text-xs text-text-secondary block truncate mt-0.5", children: description }),
22
+ children
23
+ ] }),
24
+ showChevron && /* @__PURE__ */ jsx(
25
+ "svg",
26
+ {
27
+ xmlns: "http://www.w3.org/2000/svg",
28
+ width: "16",
29
+ height: "16",
30
+ viewBox: "0 0 24 24",
31
+ fill: "none",
32
+ stroke: "currentColor",
33
+ strokeWidth: "2",
34
+ strokeLinecap: "round",
35
+ strokeLinejoin: "round",
36
+ className: "text-gray-400 flex-shrink-0 transition-transform group-hover:translate-x-1",
37
+ "aria-hidden": "true",
38
+ children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
39
+ }
40
+ )
41
+ ]
42
+ }
43
+ );
44
+ }
45
+ );
46
+ LinkCard.displayName = "LinkCard";
47
+
48
+ export { LinkCard };
@@ -0,0 +1,90 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { cva } from 'class-variance-authority';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+
6
+ var cardVariants = cva("bg-white rounded-2xl shadow-card overflow-hidden", {
7
+ variants: {
8
+ padding: {
9
+ none: "",
10
+ sm: "p-4",
11
+ md: "p-6",
12
+ lg: "p-8"
13
+ },
14
+ hover: {
15
+ true: "hover:shadow-card-hover transition-shadow duration-300",
16
+ false: ""
17
+ }
18
+ },
19
+ defaultVariants: {
20
+ padding: "none",
21
+ hover: true
22
+ }
23
+ });
24
+ var Card = React.forwardRef(
25
+ ({ className, padding, hover, ...props }, ref) => /* @__PURE__ */ jsx(
26
+ "div",
27
+ {
28
+ ref,
29
+ className: cn(cardVariants({ padding, hover, className })),
30
+ ...props
31
+ }
32
+ )
33
+ );
34
+ Card.displayName = "Card";
35
+ var cardImageVariants = cva(
36
+ "relative overflow-hidden rounded-t-2xl w-full",
37
+ {
38
+ variants: {
39
+ aspectRatio: {
40
+ square: "aspect-square",
41
+ video: "aspect-video",
42
+ wide: "aspect-[21/9]"
43
+ }
44
+ },
45
+ defaultVariants: {
46
+ aspectRatio: "video"
47
+ }
48
+ }
49
+ );
50
+ var CardImage = React.forwardRef(
51
+ ({ className, aspectRatio, overlay, children, ...props }, ref) => /* @__PURE__ */ jsxs(
52
+ "div",
53
+ {
54
+ ref,
55
+ className: cn(cardImageVariants({ aspectRatio, className })),
56
+ ...props,
57
+ children: [
58
+ children,
59
+ overlay && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/60 to-transparent", children: overlay })
60
+ ]
61
+ }
62
+ )
63
+ );
64
+ CardImage.displayName = "CardImage";
65
+ var CardContent = React.forwardRef(
66
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-4 md:p-6", className), ...props })
67
+ );
68
+ CardContent.displayName = "CardContent";
69
+ var CardTitle = React.forwardRef(
70
+ ({ className, as: Comp = "h3", ...props }, ref) => /* @__PURE__ */ jsx(
71
+ Comp,
72
+ {
73
+ ref,
74
+ className: cn("font-heading font-bold text-primary", className),
75
+ ...props
76
+ }
77
+ )
78
+ );
79
+ CardTitle.displayName = "CardTitle";
80
+ var CardDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
81
+ "p",
82
+ {
83
+ ref,
84
+ className: cn("text-text-secondary text-sm mt-2", className),
85
+ ...props
86
+ }
87
+ ));
88
+ CardDescription.displayName = "CardDescription";
89
+
90
+ export { Card, CardContent, CardDescription, CardImage, CardTitle, cardImageVariants, cardVariants };
@@ -0,0 +1,51 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var Tabs = React.forwardRef(
6
+ ({ tabs, defaultTab, value, onChange, className }, ref) => {
7
+ const [internalValue, setInternalValue] = React.useState(
8
+ defaultTab || tabs[0]?.key || ""
9
+ );
10
+ const activeKey = value ?? internalValue;
11
+ const handleChange = (key) => {
12
+ if (onChange) {
13
+ onChange(key);
14
+ } else {
15
+ setInternalValue(key);
16
+ }
17
+ };
18
+ const activeTab = tabs.find((t) => t.key === activeKey);
19
+ return /* @__PURE__ */ jsxs("div", { ref, className: cn("w-full", className), children: [
20
+ /* @__PURE__ */ jsx(
21
+ "div",
22
+ {
23
+ role: "tablist",
24
+ className: "flex border-b border-gray-200 gap-1 overflow-x-auto",
25
+ children: tabs.map((tab) => /* @__PURE__ */ jsxs(
26
+ "button",
27
+ {
28
+ role: "tab",
29
+ type: "button",
30
+ "aria-selected": tab.key === activeKey,
31
+ onClick: () => handleChange(tab.key),
32
+ className: cn(
33
+ "flex items-center gap-2 px-4 py-3 text-sm font-medium whitespace-nowrap border-b-2 transition-colors -mb-px",
34
+ tab.key === activeKey ? "border-secondary text-secondary" : "border-transparent text-text-secondary hover:text-primary hover:border-gray-300"
35
+ ),
36
+ children: [
37
+ tab.icon && /* @__PURE__ */ jsx("span", { className: "shrink-0", children: tab.icon }),
38
+ tab.label
39
+ ]
40
+ },
41
+ tab.key
42
+ ))
43
+ }
44
+ ),
45
+ /* @__PURE__ */ jsx("div", { role: "tabpanel", className: "py-4", children: activeTab?.content })
46
+ ] });
47
+ }
48
+ );
49
+ Tabs.displayName = "Tabs";
50
+
51
+ export { Tabs };
@@ -0,0 +1,89 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
+
5
+ var FilterAccordion = React.forwardRef(
6
+ ({ items, defaultOpenKeys = [], className }, ref) => {
7
+ const [openKeys, setOpenKeys] = React.useState(
8
+ () => new Set(defaultOpenKeys)
9
+ );
10
+ const toggle = (key) => {
11
+ setOpenKeys((prev) => {
12
+ const next = new Set(prev);
13
+ if (next.has(key)) {
14
+ next.delete(key);
15
+ } else {
16
+ next.add(key);
17
+ }
18
+ return next;
19
+ });
20
+ };
21
+ return /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-3", className), children: items.map((item) => /* @__PURE__ */ jsx(
22
+ FilterAccordionItem,
23
+ {
24
+ title: item.title,
25
+ isOpen: openKeys.has(item.key),
26
+ onToggle: () => toggle(item.key),
27
+ children: item.content
28
+ },
29
+ item.key
30
+ )) });
31
+ }
32
+ );
33
+ FilterAccordion.displayName = "FilterAccordion";
34
+ function FilterAccordionItem({
35
+ title,
36
+ isOpen,
37
+ onToggle,
38
+ children
39
+ }) {
40
+ const contentRef = React.useRef(null);
41
+ const [height, setHeight] = React.useState(0);
42
+ React.useEffect(() => {
43
+ if (contentRef.current) {
44
+ setHeight(isOpen ? contentRef.current.scrollHeight : 0);
45
+ }
46
+ }, [isOpen]);
47
+ return /* @__PURE__ */ jsxs("div", { className: "bg-white rounded-xl border border-sand-dark overflow-hidden", children: [
48
+ /* @__PURE__ */ jsxs(
49
+ "button",
50
+ {
51
+ onClick: onToggle,
52
+ "aria-expanded": isOpen,
53
+ className: "w-full flex items-center justify-between p-4 hover:bg-sand-light transition-colors",
54
+ children: [
55
+ /* @__PURE__ */ jsx("span", { className: "font-semibold text-primary", children: title }),
56
+ /* @__PURE__ */ jsx(
57
+ "svg",
58
+ {
59
+ xmlns: "http://www.w3.org/2000/svg",
60
+ width: "20",
61
+ height: "20",
62
+ viewBox: "0 0 24 24",
63
+ fill: "none",
64
+ stroke: "currentColor",
65
+ strokeWidth: "2",
66
+ strokeLinecap: "round",
67
+ strokeLinejoin: "round",
68
+ className: cn(
69
+ "transition-transform duration-200",
70
+ isOpen && "rotate-180"
71
+ ),
72
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
73
+ }
74
+ )
75
+ ]
76
+ }
77
+ ),
78
+ /* @__PURE__ */ jsx(
79
+ "div",
80
+ {
81
+ style: { height },
82
+ className: "overflow-hidden transition-all duration-300 ease-out",
83
+ children: /* @__PURE__ */ jsx("div", { ref: contentRef, className: "px-4 pb-4", children })
84
+ }
85
+ )
86
+ ] });
87
+ }
88
+
89
+ export { FilterAccordion };
@@ -0,0 +1,100 @@
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 toastVariants = classVarianceAuthority.cva(
29
+ "flex items-start gap-3 w-full max-w-sm p-4 rounded-xl shadow-lg border transition-all duration-300",
30
+ {
31
+ variants: {
32
+ variant: {
33
+ success: "bg-white border-green-200 text-green-800",
34
+ error: "bg-white border-red-200 text-red-800",
35
+ warning: "bg-white border-amber-200 text-amber-800",
36
+ info: "bg-white border-blue-200 text-blue-800"
37
+ }
38
+ },
39
+ defaultVariants: {
40
+ variant: "info"
41
+ }
42
+ }
43
+ );
44
+ var iconMap = {
45
+ success: /* @__PURE__ */ jsxRuntime.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: [
46
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
47
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 11 3 3L22 4" })
48
+ ] }),
49
+ error: /* @__PURE__ */ jsxRuntime.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: [
50
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
51
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 9-6 6" }),
52
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 9 6 6" })
53
+ ] }),
54
+ warning: /* @__PURE__ */ jsxRuntime.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: [
55
+ /* @__PURE__ */ jsxRuntime.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" }),
56
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 9v4" }),
57
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 17h.01" })
58
+ ] }),
59
+ info: /* @__PURE__ */ jsxRuntime.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: [
60
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
61
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 16v-4" }),
62
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 8h.01" })
63
+ ] })
64
+ };
65
+ var Toast = React__namespace.forwardRef(
66
+ ({ variant = "info", title, description, onClose, icon, className, ...props }, ref) => {
67
+ return /* @__PURE__ */ jsxRuntime.jsxs(
68
+ "div",
69
+ {
70
+ ref,
71
+ role: "alert",
72
+ className: chunkADIDI7AJ_js.cn(toastVariants({ variant }), className),
73
+ ...props,
74
+ children: [
75
+ icon || iconMap[variant || "info"],
76
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
77
+ title && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-semibold", children: title }),
78
+ description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm opacity-80 mt-0.5", children: description })
79
+ ] }),
80
+ onClose && /* @__PURE__ */ jsxRuntime.jsx(
81
+ "button",
82
+ {
83
+ onClick: onClose,
84
+ className: "flex-shrink-0 p-1 rounded-lg hover:bg-black/5 transition-colors",
85
+ "aria-label": "Close",
86
+ children: /* @__PURE__ */ jsxRuntime.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: [
87
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 6 6 18" }),
88
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12" })
89
+ ] })
90
+ }
91
+ )
92
+ ]
93
+ }
94
+ );
95
+ }
96
+ );
97
+ Toast.displayName = "Toast";
98
+
99
+ exports.Toast = Toast;
100
+ exports.toastVariants = toastVariants;
@@ -0,0 +1,89 @@
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 Drawer = React__namespace.forwardRef(
28
+ ({ isOpen, onClose, children, side = "right", title, className }, ref) => {
29
+ React__namespace.useEffect(() => {
30
+ if (!isOpen) return;
31
+ const handleKeyDown = (e) => {
32
+ if (e.key === "Escape") onClose();
33
+ };
34
+ document.addEventListener("keydown", handleKeyDown);
35
+ return () => document.removeEventListener("keydown", handleKeyDown);
36
+ }, [isOpen, onClose]);
37
+ React__namespace.useEffect(() => {
38
+ if (!isOpen) return;
39
+ const prev = document.body.style.overflow;
40
+ document.body.style.overflow = "hidden";
41
+ return () => {
42
+ document.body.style.overflow = prev;
43
+ };
44
+ }, [isOpen]);
45
+ if (!isOpen) return null;
46
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: "fixed inset-0 z-50", role: "dialog", "aria-modal": "true", "aria-label": title, children: [
47
+ /* @__PURE__ */ jsxRuntime.jsx(
48
+ "div",
49
+ {
50
+ className: "absolute inset-0 bg-black/50 transition-opacity",
51
+ onClick: onClose,
52
+ "aria-hidden": "true"
53
+ }
54
+ ),
55
+ /* @__PURE__ */ jsxRuntime.jsxs(
56
+ "div",
57
+ {
58
+ className: chunkADIDI7AJ_js.cn(
59
+ "absolute top-0 bottom-0 bg-white shadow-xl flex flex-col",
60
+ side === "right" && "right-0 w-full max-w-md",
61
+ side === "left" && "left-0 w-full max-w-md",
62
+ className
63
+ ),
64
+ children: [
65
+ title && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between px-4 h-16 border-b border-gray-100 shrink-0", children: [
66
+ /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-heading font-semibold text-primary", children: title }),
67
+ /* @__PURE__ */ jsxRuntime.jsx(
68
+ "button",
69
+ {
70
+ onClick: onClose,
71
+ className: "p-2 hover:bg-gray-100 rounded-full transition-colors",
72
+ "aria-label": "Fermer",
73
+ children: /* @__PURE__ */ jsxRuntime.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: [
74
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 6 6 18" }),
75
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12" })
76
+ ] })
77
+ }
78
+ )
79
+ ] }),
80
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-y-auto", children })
81
+ ]
82
+ }
83
+ )
84
+ ] });
85
+ }
86
+ );
87
+ Drawer.displayName = "Drawer";
88
+
89
+ exports.Drawer = Drawer;
@@ -0,0 +1,70 @@
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 LinkCard = React__namespace.forwardRef(
28
+ ({ icon, title, description, showChevron = true, className, children, ...props }, ref) => {
29
+ return /* @__PURE__ */ jsxRuntime.jsxs(
30
+ "a",
31
+ {
32
+ ref,
33
+ className: chunkADIDI7AJ_js.cn(
34
+ "flex items-center gap-4 p-4 bg-white rounded-xl border border-gray-100 shadow-sm",
35
+ "hover:border-secondary/30 hover:shadow-md transition-all group",
36
+ className
37
+ ),
38
+ ...props,
39
+ children: [
40
+ icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-10 h-10 rounded-lg bg-secondary/10 flex items-center justify-center text-secondary flex-shrink-0", children: icon }),
41
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
42
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-primary block truncate", children: title }),
43
+ description && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-text-secondary block truncate mt-0.5", children: description }),
44
+ children
45
+ ] }),
46
+ showChevron && /* @__PURE__ */ jsxRuntime.jsx(
47
+ "svg",
48
+ {
49
+ xmlns: "http://www.w3.org/2000/svg",
50
+ width: "16",
51
+ height: "16",
52
+ viewBox: "0 0 24 24",
53
+ fill: "none",
54
+ stroke: "currentColor",
55
+ strokeWidth: "2",
56
+ strokeLinecap: "round",
57
+ strokeLinejoin: "round",
58
+ className: "text-gray-400 flex-shrink-0 transition-transform group-hover:translate-x-1",
59
+ "aria-hidden": "true",
60
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" })
61
+ }
62
+ )
63
+ ]
64
+ }
65
+ );
66
+ }
67
+ );
68
+ LinkCard.displayName = "LinkCard";
69
+
70
+ exports.LinkCard = LinkCard;