@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,126 @@
1
+ 'use strict';
2
+
3
+ // src/tokens/colors.ts
4
+ var colors = {
5
+ primary: {
6
+ DEFAULT: "#3b4559",
7
+ light: "#4a5568",
8
+ dark: "#2d3748"
9
+ },
10
+ secondary: {
11
+ DEFAULT: "#f27c54",
12
+ light: "#f5a083",
13
+ dark: "#e05a2d"
14
+ },
15
+ accent: {
16
+ DEFAULT: "#00bfb3",
17
+ light: "#33ccc2",
18
+ dark: "#009990"
19
+ },
20
+ sand: {
21
+ DEFAULT: "#f5f0e8",
22
+ light: "#faf7f2",
23
+ dark: "#e8e0d4"
24
+ },
25
+ text: {
26
+ primary: "#3b4559",
27
+ secondary: "#6b7280",
28
+ muted: "#9ca3af"
29
+ },
30
+ white: "#ffffff",
31
+ black: "#000000"
32
+ };
33
+
34
+ // src/tokens/typography.ts
35
+ var fontFamily = {
36
+ heading: ["var(--font-fraunces)", "serif"],
37
+ body: ["var(--font-inter)", "sans-serif"]
38
+ };
39
+ var fontSize = {
40
+ h1: ["64px", { lineHeight: "66px", fontWeight: "700" }],
41
+ h2: ["40px", { lineHeight: "42px", fontWeight: "700" }],
42
+ h3: ["24px", { lineHeight: "26px", fontWeight: "700" }],
43
+ body: ["16px", { lineHeight: "24px", fontWeight: "400" }]
44
+ };
45
+ var typography = {
46
+ fontFamily,
47
+ fontSize
48
+ };
49
+
50
+ // src/tokens/shadows.ts
51
+ var boxShadow = {
52
+ card: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
53
+ "card-hover": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
54
+ sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
55
+ DEFAULT: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
56
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
57
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
58
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",
59
+ none: "0 0 #0000"
60
+ };
61
+
62
+ // src/tokens/animations.ts
63
+ var keyframes = {
64
+ fadeIn: {
65
+ "0%": { opacity: "0" },
66
+ "100%": { opacity: "1" }
67
+ },
68
+ slideUp: {
69
+ "0%": { opacity: "0", transform: "translateY(20px)" },
70
+ "100%": { opacity: "1", transform: "translateY(0)" }
71
+ },
72
+ shimmer: {
73
+ "0%": { backgroundPosition: "200% 0" },
74
+ "100%": { backgroundPosition: "-200% 0" }
75
+ },
76
+ cardAppear: {
77
+ "0%": { opacity: "0", transform: "translateY(10px)" },
78
+ "100%": { opacity: "1", transform: "translateY(0)" }
79
+ },
80
+ slideFromLeft: {
81
+ "0%": { opacity: "0", transform: "translateX(-40px)" },
82
+ "100%": { opacity: "1", transform: "translateX(0)" }
83
+ },
84
+ slideFromRight: {
85
+ "0%": { opacity: "0", transform: "translateX(40px)" },
86
+ "100%": { opacity: "1", transform: "translateX(0)" }
87
+ },
88
+ megamenuIn: {
89
+ "0%": { opacity: "0", transform: "translateY(-4px)" },
90
+ "100%": { opacity: "1", transform: "translateY(0)" }
91
+ },
92
+ shake: {
93
+ "0%, 100%": { transform: "translateX(0)" },
94
+ "20%, 60%": { transform: "translateX(-6px)" },
95
+ "40%, 80%": { transform: "translateX(6px)" }
96
+ },
97
+ "marquee-down": {
98
+ "0%": { transform: "translateY(0)" },
99
+ "100%": { transform: "translateY(-50%)" }
100
+ },
101
+ "marquee-up": {
102
+ "0%": { transform: "translateY(-50%)" },
103
+ "100%": { transform: "translateY(0)" }
104
+ }
105
+ };
106
+ var animation = {
107
+ "fade-in": "fadeIn 0.5s ease-out",
108
+ "slide-up": "slideUp 0.5s ease-out",
109
+ "pulse-slow": "pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite",
110
+ shimmer: "shimmer 1.5s infinite linear",
111
+ "card-appear": "cardAppear 0.3s ease-out forwards",
112
+ "slide-from-left": "slideFromLeft 0.25s ease-out",
113
+ "slide-from-right": "slideFromRight 0.25s ease-out",
114
+ "megamenu-in": "megamenuIn 0.2s ease-out",
115
+ shake: "shake 0.4s ease-in-out",
116
+ "marquee-down": "marquee-down 30s linear infinite",
117
+ "marquee-up": "marquee-up 30s linear infinite"
118
+ };
119
+
120
+ exports.animation = animation;
121
+ exports.boxShadow = boxShadow;
122
+ exports.colors = colors;
123
+ exports.fontFamily = fontFamily;
124
+ exports.fontSize = fontSize;
125
+ exports.keyframes = keyframes;
126
+ exports.typography = typography;
@@ -0,0 +1,80 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
+
5
+ var Carousel = React.forwardRef(
6
+ ({
7
+ children,
8
+ className,
9
+ showDots = true,
10
+ showArrows = true,
11
+ autoPlay = 0
12
+ }, ref) => {
13
+ const [current, setCurrent] = React.useState(0);
14
+ const total = React.Children.count(children);
15
+ const timerRef = React.useRef();
16
+ const goTo = React.useCallback(
17
+ (index) => {
18
+ setCurrent((index % total + total) % total);
19
+ },
20
+ [total]
21
+ );
22
+ const prev = React.useCallback(() => goTo(current - 1), [current, goTo]);
23
+ const next = React.useCallback(() => goTo(current + 1), [current, goTo]);
24
+ React.useEffect(() => {
25
+ if (autoPlay > 0 && total > 1) {
26
+ timerRef.current = setInterval(() => {
27
+ setCurrent((c) => (c + 1) % total);
28
+ }, autoPlay);
29
+ return () => clearInterval(timerRef.current);
30
+ }
31
+ }, [autoPlay, total]);
32
+ if (total === 0) return null;
33
+ return /* @__PURE__ */ jsxs("div", { ref, className: cn("relative group", className), children: [
34
+ /* @__PURE__ */ jsx("div", { className: "overflow-hidden rounded-xl", children: /* @__PURE__ */ jsx(
35
+ "div",
36
+ {
37
+ className: "flex transition-transform duration-300 ease-out",
38
+ style: { transform: `translateX(-${current * 100}%)` },
39
+ children: React.Children.map(children, (child, i) => /* @__PURE__ */ jsx("div", { className: "w-full flex-shrink-0", children: child }, i))
40
+ }
41
+ ) }),
42
+ showArrows && total > 1 && /* @__PURE__ */ jsxs(Fragment, { children: [
43
+ /* @__PURE__ */ jsx(
44
+ "button",
45
+ {
46
+ onClick: prev,
47
+ className: "absolute left-2 top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-white/80 backdrop-blur-sm shadow flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity hover:bg-white",
48
+ "aria-label": "Previous",
49
+ children: /* @__PURE__ */ jsx("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: /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" }) })
50
+ }
51
+ ),
52
+ /* @__PURE__ */ jsx(
53
+ "button",
54
+ {
55
+ onClick: next,
56
+ className: "absolute right-2 top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-white/80 backdrop-blur-sm shadow flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity hover:bg-white",
57
+ "aria-label": "Next",
58
+ children: /* @__PURE__ */ jsx("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: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" }) })
59
+ }
60
+ )
61
+ ] }),
62
+ showDots && total > 1 && /* @__PURE__ */ jsx("div", { className: "absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5", children: Array.from({ length: total }, (_, i) => /* @__PURE__ */ jsx(
63
+ "button",
64
+ {
65
+ onClick: () => goTo(i),
66
+ className: cn(
67
+ "w-2 h-2 rounded-full transition-all",
68
+ i === current ? "bg-white w-4" : "bg-white/60 hover:bg-white/80"
69
+ ),
70
+ "aria-label": `Slide ${i + 1}`,
71
+ "aria-current": i === current ? "true" : void 0
72
+ },
73
+ i
74
+ )) })
75
+ ] });
76
+ }
77
+ );
78
+ Carousel.displayName = "Carousel";
79
+
80
+ export { Carousel };
@@ -0,0 +1,102 @@
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 Carousel = React__namespace.forwardRef(
28
+ ({
29
+ children,
30
+ className,
31
+ showDots = true,
32
+ showArrows = true,
33
+ autoPlay = 0
34
+ }, ref) => {
35
+ const [current, setCurrent] = React__namespace.useState(0);
36
+ const total = React__namespace.Children.count(children);
37
+ const timerRef = React__namespace.useRef();
38
+ const goTo = React__namespace.useCallback(
39
+ (index) => {
40
+ setCurrent((index % total + total) % total);
41
+ },
42
+ [total]
43
+ );
44
+ const prev = React__namespace.useCallback(() => goTo(current - 1), [current, goTo]);
45
+ const next = React__namespace.useCallback(() => goTo(current + 1), [current, goTo]);
46
+ React__namespace.useEffect(() => {
47
+ if (autoPlay > 0 && total > 1) {
48
+ timerRef.current = setInterval(() => {
49
+ setCurrent((c) => (c + 1) % total);
50
+ }, autoPlay);
51
+ return () => clearInterval(timerRef.current);
52
+ }
53
+ }, [autoPlay, total]);
54
+ if (total === 0) return null;
55
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: chunkADIDI7AJ_js.cn("relative group", className), children: [
56
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-hidden rounded-xl", children: /* @__PURE__ */ jsxRuntime.jsx(
57
+ "div",
58
+ {
59
+ className: "flex transition-transform duration-300 ease-out",
60
+ style: { transform: `translateX(-${current * 100}%)` },
61
+ children: React__namespace.Children.map(children, (child, i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full flex-shrink-0", children: child }, i))
62
+ }
63
+ ) }),
64
+ showArrows && total > 1 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
65
+ /* @__PURE__ */ jsxRuntime.jsx(
66
+ "button",
67
+ {
68
+ onClick: prev,
69
+ className: "absolute left-2 top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-white/80 backdrop-blur-sm shadow flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity hover:bg-white",
70
+ "aria-label": "Previous",
71
+ children: /* @__PURE__ */ jsxRuntime.jsx("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: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 18-6-6 6-6" }) })
72
+ }
73
+ ),
74
+ /* @__PURE__ */ jsxRuntime.jsx(
75
+ "button",
76
+ {
77
+ onClick: next,
78
+ className: "absolute right-2 top-1/2 -translate-y-1/2 w-8 h-8 rounded-full bg-white/80 backdrop-blur-sm shadow flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity hover:bg-white",
79
+ "aria-label": "Next",
80
+ children: /* @__PURE__ */ jsxRuntime.jsx("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: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" }) })
81
+ }
82
+ )
83
+ ] }),
84
+ showDots && total > 1 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5", children: Array.from({ length: total }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(
85
+ "button",
86
+ {
87
+ onClick: () => goTo(i),
88
+ className: chunkADIDI7AJ_js.cn(
89
+ "w-2 h-2 rounded-full transition-all",
90
+ i === current ? "bg-white w-4" : "bg-white/60 hover:bg-white/80"
91
+ ),
92
+ "aria-label": `Slide ${i + 1}`,
93
+ "aria-current": i === current ? "true" : void 0
94
+ },
95
+ i
96
+ )) })
97
+ ] });
98
+ }
99
+ );
100
+ Carousel.displayName = "Carousel";
101
+
102
+ exports.Carousel = Carousel;
@@ -0,0 +1,65 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ var Skeleton = React.forwardRef(
6
+ ({ className, shimmer = true, ...props }, ref) => /* @__PURE__ */ jsx(
7
+ "div",
8
+ {
9
+ ref,
10
+ className: cn(
11
+ "rounded-md bg-[#E8E3DB]",
12
+ shimmer && "animate-shimmer bg-gradient-to-r from-[#E8E3DB] via-[#F5F0E8] to-[#E8E3DB] bg-[length:200%_100%]",
13
+ "motion-reduce:animate-none",
14
+ className
15
+ ),
16
+ ...props
17
+ }
18
+ )
19
+ );
20
+ Skeleton.displayName = "Skeleton";
21
+ var SkeletonText = React.forwardRef(
22
+ ({ lines = 3, className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-2", className), ...props, children: Array.from({ length: lines }).map((_, i) => /* @__PURE__ */ jsx(
23
+ Skeleton,
24
+ {
25
+ className: cn("h-4", i === lines - 1 ? "w-3/4" : "w-full")
26
+ },
27
+ i
28
+ )) })
29
+ );
30
+ SkeletonText.displayName = "SkeletonText";
31
+ var circleSizes = {
32
+ sm: "w-8 h-8",
33
+ md: "w-12 h-12",
34
+ lg: "w-16 h-16",
35
+ xl: "w-24 h-24"
36
+ };
37
+ var SkeletonCircle = React.forwardRef(
38
+ ({ size = "md", className, ...props }, ref) => /* @__PURE__ */ jsx(
39
+ Skeleton,
40
+ {
41
+ ref,
42
+ className: cn("rounded-full", circleSizes[size], className),
43
+ ...props
44
+ }
45
+ )
46
+ );
47
+ SkeletonCircle.displayName = "SkeletonCircle";
48
+ var aspectRatios = {
49
+ video: "aspect-video",
50
+ square: "aspect-square",
51
+ wide: "aspect-[16/10]"
52
+ };
53
+ var SkeletonImage = React.forwardRef(
54
+ ({ aspectRatio = "video", className, ...props }, ref) => /* @__PURE__ */ jsx(
55
+ Skeleton,
56
+ {
57
+ ref,
58
+ className: cn("w-full", aspectRatios[aspectRatio], className),
59
+ ...props
60
+ }
61
+ )
62
+ );
63
+ SkeletonImage.displayName = "SkeletonImage";
64
+
65
+ export { Skeleton, SkeletonCircle, SkeletonImage, SkeletonText };
@@ -0,0 +1,103 @@
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 progressBarVariants = classVarianceAuthority.cva("w-full rounded-full bg-gray-200 overflow-hidden", {
29
+ variants: {
30
+ size: {
31
+ sm: "h-1.5",
32
+ md: "h-2.5",
33
+ lg: "h-4"
34
+ }
35
+ },
36
+ defaultVariants: {
37
+ size: "md"
38
+ }
39
+ });
40
+ var progressFillVariants = classVarianceAuthority.cva(
41
+ "h-full rounded-full transition-all duration-500 ease-out",
42
+ {
43
+ variants: {
44
+ color: {
45
+ primary: "bg-primary",
46
+ secondary: "bg-secondary",
47
+ accent: "bg-accent",
48
+ success: "bg-green-500",
49
+ warning: "bg-amber-500",
50
+ error: "bg-red-500"
51
+ }
52
+ },
53
+ defaultVariants: {
54
+ color: "secondary"
55
+ }
56
+ }
57
+ );
58
+ var ProgressBar = React__namespace.forwardRef(
59
+ ({
60
+ value,
61
+ max = 100,
62
+ size,
63
+ color,
64
+ label,
65
+ showValue = false,
66
+ className,
67
+ ...props
68
+ }, ref) => {
69
+ const percentage = Math.min(100, Math.max(0, value / max * 100));
70
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: chunkADIDI7AJ_js.cn("w-full", className), ...props, children: [
71
+ (label || showValue) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between mb-1.5", children: [
72
+ label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-gray-700", children: label }),
73
+ showValue && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm font-medium text-gray-600", children: [
74
+ Math.round(percentage),
75
+ "%"
76
+ ] })
77
+ ] }),
78
+ /* @__PURE__ */ jsxRuntime.jsx(
79
+ "div",
80
+ {
81
+ className: chunkADIDI7AJ_js.cn(progressBarVariants({ size })),
82
+ role: "progressbar",
83
+ "aria-valuenow": value,
84
+ "aria-valuemin": 0,
85
+ "aria-valuemax": max,
86
+ "aria-label": label,
87
+ children: /* @__PURE__ */ jsxRuntime.jsx(
88
+ "div",
89
+ {
90
+ className: chunkADIDI7AJ_js.cn(progressFillVariants({ color })),
91
+ style: { width: `${percentage}%` }
92
+ }
93
+ )
94
+ }
95
+ )
96
+ ] });
97
+ }
98
+ );
99
+ ProgressBar.displayName = "ProgressBar";
100
+
101
+ exports.ProgressBar = ProgressBar;
102
+ exports.progressBarVariants = progressBarVariants;
103
+ exports.progressFillVariants = progressFillVariants;
@@ -0,0 +1,68 @@
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 BottomNavBar = React__namespace.forwardRef(
28
+ ({ items, className, onNavigate }, ref) => {
29
+ return /* @__PURE__ */ jsxRuntime.jsx(
30
+ "nav",
31
+ {
32
+ ref,
33
+ "aria-label": "Navigation principale",
34
+ className: chunkADIDI7AJ_js.cn(
35
+ "w-full border-t border-sand-dark bg-white",
36
+ className
37
+ ),
38
+ children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "flex h-16 items-center justify-around", children: items.map((item) => {
39
+ const Tag = onNavigate ? "button" : "a";
40
+ return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(
41
+ Tag,
42
+ {
43
+ ...onNavigate ? { onClick: () => onNavigate(item.href), type: "button" } : { href: item.href },
44
+ "aria-current": item.isActive ? "page" : void 0,
45
+ className: "flex min-h-[44px] min-w-[44px] flex-col items-center justify-center gap-0.5 transition-colors duration-300 ease-in-out",
46
+ children: [
47
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: item.isActive ? "text-primary" : "text-text-muted", children: item.icon }),
48
+ /* @__PURE__ */ jsxRuntime.jsx(
49
+ "span",
50
+ {
51
+ className: chunkADIDI7AJ_js.cn(
52
+ "text-[11px] font-medium",
53
+ item.isActive ? "text-primary" : "text-text-muted"
54
+ ),
55
+ children: item.label
56
+ }
57
+ )
58
+ ]
59
+ }
60
+ ) }, item.key);
61
+ }) })
62
+ }
63
+ );
64
+ }
65
+ );
66
+ BottomNavBar.displayName = "BottomNavBar";
67
+
68
+ exports.BottomNavBar = BottomNavBar;
@@ -0,0 +1,115 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
+
5
+ var defaultRenderLink = ({
6
+ href,
7
+ className,
8
+ children
9
+ }) => /* @__PURE__ */ jsx("a", { href, className, children });
10
+ var Header = React.forwardRef(
11
+ ({
12
+ logo,
13
+ navItems = [],
14
+ activeDropdown,
15
+ onNavHover,
16
+ onNavClick,
17
+ rightContent,
18
+ onMobileMenuOpen,
19
+ variant = "default",
20
+ renderLink = defaultRenderLink,
21
+ className
22
+ }, ref) => {
23
+ return /* @__PURE__ */ jsx(
24
+ "header",
25
+ {
26
+ ref,
27
+ className: cn(
28
+ "w-full z-50 transition-all duration-300 border-b bg-white",
29
+ variant === "scrolled" ? "shadow-sm border-gray-100" : "border-gray-100",
30
+ className
31
+ ),
32
+ children: /* @__PURE__ */ jsx("div", { className: "w-full px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between h-16 md:h-[72px]", children: [
33
+ /* @__PURE__ */ jsx("div", { className: "shrink-0", children: logo }),
34
+ navItems.length > 0 && /* @__PURE__ */ jsx("nav", { className: "hidden lg:flex items-center justify-center flex-1 px-8", children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", children: navItems.map((item) => /* @__PURE__ */ jsx(
35
+ "div",
36
+ {
37
+ onMouseEnter: () => item.hasDropdown && onNavHover?.(item.key),
38
+ onMouseLeave: () => item.hasDropdown && onNavHover?.(null),
39
+ children: item.hasDropdown ? /* @__PURE__ */ jsxs(
40
+ "button",
41
+ {
42
+ className: cn(
43
+ "flex items-center gap-1 px-4 py-2 text-sm font-medium text-primary hover:text-secondary transition-colors outline-none focus:outline-none",
44
+ activeDropdown === item.key && "text-secondary"
45
+ ),
46
+ onFocus: () => onNavHover?.(item.key),
47
+ onClick: () => onNavClick?.(item.key, item.href),
48
+ children: [
49
+ item.label,
50
+ /* @__PURE__ */ jsx(
51
+ "svg",
52
+ {
53
+ xmlns: "http://www.w3.org/2000/svg",
54
+ width: "16",
55
+ height: "16",
56
+ viewBox: "0 0 24 24",
57
+ fill: "none",
58
+ stroke: "currentColor",
59
+ strokeWidth: "2",
60
+ strokeLinecap: "round",
61
+ strokeLinejoin: "round",
62
+ className: cn(
63
+ "transition-transform duration-200",
64
+ activeDropdown === item.key && "rotate-180"
65
+ ),
66
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
67
+ }
68
+ )
69
+ ]
70
+ }
71
+ ) : /* @__PURE__ */ jsx(Fragment, { children: renderLink({
72
+ href: item.href || "#",
73
+ className: "px-4 py-2 text-sm font-medium text-primary hover:text-secondary transition-colors",
74
+ children: item.label
75
+ }) })
76
+ },
77
+ item.key
78
+ )) }) }),
79
+ /* @__PURE__ */ jsx("div", { className: "hidden lg:flex items-center gap-1 shrink-0", children: rightContent }),
80
+ onMobileMenuOpen && /* @__PURE__ */ jsx(
81
+ "button",
82
+ {
83
+ className: "lg:hidden p-2 hover:bg-gray-100 rounded-full transition-colors",
84
+ onClick: onMobileMenuOpen,
85
+ "aria-label": "Ouvrir le menu",
86
+ children: /* @__PURE__ */ jsxs(
87
+ "svg",
88
+ {
89
+ xmlns: "http://www.w3.org/2000/svg",
90
+ width: "24",
91
+ height: "24",
92
+ viewBox: "0 0 24 24",
93
+ fill: "none",
94
+ stroke: "currentColor",
95
+ strokeWidth: "2",
96
+ strokeLinecap: "round",
97
+ strokeLinejoin: "round",
98
+ className: "text-primary",
99
+ children: [
100
+ /* @__PURE__ */ jsx("line", { x1: "4", x2: "20", y1: "12", y2: "12" }),
101
+ /* @__PURE__ */ jsx("line", { x1: "4", x2: "20", y1: "6", y2: "6" }),
102
+ /* @__PURE__ */ jsx("line", { x1: "4", x2: "20", y1: "18", y2: "18" })
103
+ ]
104
+ }
105
+ )
106
+ }
107
+ )
108
+ ] }) })
109
+ }
110
+ );
111
+ }
112
+ );
113
+ Header.displayName = "Header";
114
+
115
+ export { Header };