@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,88 @@
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 opacityMap = {
28
+ light: "bg-white/40",
29
+ medium: "bg-white/70",
30
+ heavy: "bg-white/90"
31
+ };
32
+ var LoadingOverlay = React__namespace.forwardRef(
33
+ ({ visible = true, label, opacity = "medium", className, ...props }, ref) => {
34
+ if (!visible) return null;
35
+ return /* @__PURE__ */ jsxRuntime.jsxs(
36
+ "div",
37
+ {
38
+ ref,
39
+ className: chunkADIDI7AJ_js.cn(
40
+ "absolute inset-0 z-10 flex flex-col items-center justify-center backdrop-blur-sm",
41
+ opacityMap[opacity],
42
+ className
43
+ ),
44
+ role: "status",
45
+ "aria-live": "polite",
46
+ ...props,
47
+ children: [
48
+ /* @__PURE__ */ jsxRuntime.jsxs(
49
+ "svg",
50
+ {
51
+ className: "w-8 h-8 animate-spin text-secondary",
52
+ xmlns: "http://www.w3.org/2000/svg",
53
+ fill: "none",
54
+ viewBox: "0 0 24 24",
55
+ "aria-hidden": "true",
56
+ children: [
57
+ /* @__PURE__ */ jsxRuntime.jsx(
58
+ "circle",
59
+ {
60
+ className: "opacity-25",
61
+ cx: "12",
62
+ cy: "12",
63
+ r: "10",
64
+ stroke: "currentColor",
65
+ strokeWidth: "4"
66
+ }
67
+ ),
68
+ /* @__PURE__ */ jsxRuntime.jsx(
69
+ "path",
70
+ {
71
+ className: "opacity-75",
72
+ fill: "currentColor",
73
+ 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"
74
+ }
75
+ )
76
+ ]
77
+ }
78
+ ),
79
+ label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "mt-3 text-sm font-medium text-text-secondary", children: label }),
80
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: label || "Loading..." })
81
+ ]
82
+ }
83
+ );
84
+ }
85
+ );
86
+ LoadingOverlay.displayName = "LoadingOverlay";
87
+
88
+ exports.LoadingOverlay = LoadingOverlay;
@@ -0,0 +1,53 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var Counter = React.forwardRef(
6
+ ({ value, onChange, min = 0, max = 99, label, subtitle, className }, ref) => {
7
+ const canDecrement = value > min;
8
+ const canIncrement = value < max;
9
+ return /* @__PURE__ */ jsxs("div", { ref, className: cn("flex items-center justify-between", className), children: [
10
+ (label || subtitle) && /* @__PURE__ */ jsxs("div", { children: [
11
+ label && /* @__PURE__ */ jsx("span", { className: "text-sm font-medium text-primary", children: label }),
12
+ subtitle && /* @__PURE__ */ jsx("span", { className: "block text-xs text-text-secondary", children: subtitle })
13
+ ] }),
14
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
15
+ /* @__PURE__ */ jsx(
16
+ "button",
17
+ {
18
+ type: "button",
19
+ disabled: !canDecrement,
20
+ onClick: () => canDecrement && onChange?.(value - 1),
21
+ className: cn(
22
+ "w-8 h-8 rounded-full border flex items-center justify-center transition-colors",
23
+ canDecrement ? "border-gray-300 text-primary hover:border-primary hover:bg-primary/5" : "border-gray-200 text-gray-300 cursor-not-allowed"
24
+ ),
25
+ "aria-label": "Diminuer",
26
+ 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", children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" }) })
27
+ }
28
+ ),
29
+ /* @__PURE__ */ jsx("span", { className: "w-8 text-center text-sm font-medium text-primary tabular-nums", children: value }),
30
+ /* @__PURE__ */ jsx(
31
+ "button",
32
+ {
33
+ type: "button",
34
+ disabled: !canIncrement,
35
+ onClick: () => canIncrement && onChange?.(value + 1),
36
+ className: cn(
37
+ "w-8 h-8 rounded-full border flex items-center justify-center transition-colors",
38
+ canIncrement ? "border-gray-300 text-primary hover:border-primary hover:bg-primary/5" : "border-gray-200 text-gray-300 cursor-not-allowed"
39
+ ),
40
+ "aria-label": "Augmenter",
41
+ 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", children: [
42
+ /* @__PURE__ */ jsx("path", { d: "M5 12h14" }),
43
+ /* @__PURE__ */ jsx("path", { d: "M12 5v14" })
44
+ ] })
45
+ }
46
+ )
47
+ ] })
48
+ ] });
49
+ }
50
+ );
51
+ Counter.displayName = "Counter";
52
+
53
+ export { Counter };
@@ -0,0 +1,75 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
+
5
+ var FilterPill = React.forwardRef(
6
+ ({ label, isActive = false, count, onClear, children, className }, ref) => {
7
+ const [isOpen, setIsOpen] = React.useState(false);
8
+ const containerRef = React.useRef(null);
9
+ React.useEffect(() => {
10
+ const handleClickOutside = (e) => {
11
+ if (containerRef.current && !containerRef.current.contains(e.target)) {
12
+ setIsOpen(false);
13
+ }
14
+ };
15
+ document.addEventListener("mousedown", handleClickOutside);
16
+ return () => document.removeEventListener("mousedown", handleClickOutside);
17
+ }, []);
18
+ return /* @__PURE__ */ jsx("div", { ref, className: cn("relative inline-block", className), children: /* @__PURE__ */ jsxs("div", { ref: containerRef, children: [
19
+ /* @__PURE__ */ jsxs(
20
+ "button",
21
+ {
22
+ type: "button",
23
+ onClick: () => setIsOpen(!isOpen),
24
+ className: cn(
25
+ "inline-flex items-center gap-1.5 px-3 py-2 text-sm font-medium rounded-full border transition-all",
26
+ isActive ? "bg-primary text-white border-primary" : "bg-white text-gray-700 border-gray-200 hover:border-gray-300"
27
+ ),
28
+ children: [
29
+ label,
30
+ count !== void 0 && count > 0 && /* @__PURE__ */ jsx("span", { className: cn(
31
+ "inline-flex items-center justify-center w-5 h-5 text-xs rounded-full",
32
+ isActive ? "bg-white/20 text-white" : "bg-gray-100 text-gray-600"
33
+ ), children: count }),
34
+ /* @__PURE__ */ jsx(
35
+ "svg",
36
+ {
37
+ xmlns: "http://www.w3.org/2000/svg",
38
+ width: "14",
39
+ height: "14",
40
+ viewBox: "0 0 24 24",
41
+ fill: "none",
42
+ stroke: "currentColor",
43
+ strokeWidth: "2",
44
+ strokeLinecap: "round",
45
+ strokeLinejoin: "round",
46
+ className: cn("transition-transform", isOpen && "rotate-180"),
47
+ children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
48
+ }
49
+ )
50
+ ]
51
+ }
52
+ ),
53
+ isActive && onClear && /* @__PURE__ */ jsx(
54
+ "button",
55
+ {
56
+ type: "button",
57
+ onClick: (e) => {
58
+ e.stopPropagation();
59
+ onClear();
60
+ },
61
+ className: "absolute -top-1 -right-1 w-4 h-4 bg-gray-500 text-white rounded-full flex items-center justify-center hover:bg-gray-700 transition-colors",
62
+ "aria-label": "Effacer le filtre",
63
+ children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", children: [
64
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
65
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
66
+ ] })
67
+ }
68
+ ),
69
+ isOpen && children && /* @__PURE__ */ jsx("div", { className: "absolute z-50 mt-2 left-0 min-w-[200px] bg-white border border-gray-200 rounded-xl shadow-lg py-2", children })
70
+ ] }) });
71
+ }
72
+ );
73
+ FilterPill.displayName = "FilterPill";
74
+
75
+ export { FilterPill };
@@ -0,0 +1,65 @@
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 StatCard = React__namespace.forwardRef(
28
+ ({ icon, value, label, description, trend, className, ...props }, ref) => {
29
+ return /* @__PURE__ */ jsxRuntime.jsxs(
30
+ "div",
31
+ {
32
+ ref,
33
+ className: chunkADIDI7AJ_js.cn(
34
+ "flex flex-col items-center text-center p-6 bg-white rounded-2xl border border-gray-100 shadow-sm",
35
+ className
36
+ ),
37
+ ...props,
38
+ children: [
39
+ icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-12 h-12 rounded-full bg-secondary/10 flex items-center justify-center mb-4 text-secondary", children: icon }),
40
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-baseline gap-2", children: [
41
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-3xl font-bold text-primary", children: value }),
42
+ trend && /* @__PURE__ */ jsxRuntime.jsxs(
43
+ "span",
44
+ {
45
+ className: chunkADIDI7AJ_js.cn(
46
+ "text-sm font-medium",
47
+ trend.positive ? "text-green-600" : "text-red-600"
48
+ ),
49
+ children: [
50
+ trend.positive ? "+" : "",
51
+ trend.value
52
+ ]
53
+ }
54
+ )
55
+ ] }),
56
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium text-text-secondary mt-1", children: label }),
57
+ description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-gray-400 mt-2 max-w-[200px]", children: description })
58
+ ]
59
+ }
60
+ );
61
+ }
62
+ );
63
+ StatCard.displayName = "StatCard";
64
+
65
+ exports.StatCard = StatCard;
@@ -0,0 +1,142 @@
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 starSizes = {
28
+ sm: "w-3 h-3",
29
+ md: "w-4 h-4",
30
+ lg: "w-5 h-5"
31
+ };
32
+ var textSizes = {
33
+ sm: "text-xs",
34
+ md: "text-sm",
35
+ lg: "text-base"
36
+ };
37
+ function StarIcon({ className }) {
38
+ return /* @__PURE__ */ jsxRuntime.jsx(
39
+ "svg",
40
+ {
41
+ xmlns: "http://www.w3.org/2000/svg",
42
+ viewBox: "0 0 24 24",
43
+ fill: "currentColor",
44
+ stroke: "currentColor",
45
+ strokeWidth: "2",
46
+ strokeLinecap: "round",
47
+ strokeLinejoin: "round",
48
+ className,
49
+ children: /* @__PURE__ */ jsxRuntime.jsx("polygon", { points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" })
50
+ }
51
+ );
52
+ }
53
+ function StarHalfIcon({ className }) {
54
+ return /* @__PURE__ */ jsxRuntime.jsxs(
55
+ "svg",
56
+ {
57
+ xmlns: "http://www.w3.org/2000/svg",
58
+ viewBox: "0 0 24 24",
59
+ stroke: "currentColor",
60
+ strokeWidth: "2",
61
+ strokeLinecap: "round",
62
+ strokeLinejoin: "round",
63
+ className,
64
+ children: [
65
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "half", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "0", y: "0", width: "12", height: "24" }) }) }),
66
+ /* @__PURE__ */ jsxRuntime.jsx(
67
+ "polygon",
68
+ {
69
+ points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",
70
+ fill: "currentColor",
71
+ clipPath: "url(#half)"
72
+ }
73
+ ),
74
+ /* @__PURE__ */ jsxRuntime.jsx(
75
+ "polygon",
76
+ {
77
+ points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",
78
+ fill: "none"
79
+ }
80
+ )
81
+ ]
82
+ }
83
+ );
84
+ }
85
+ var Rating = React__namespace.forwardRef(
86
+ ({
87
+ value,
88
+ max = 5,
89
+ size = "md",
90
+ showValue = false,
91
+ reviewCount,
92
+ className,
93
+ ...props
94
+ }, ref) => {
95
+ const fullStars = Math.floor(value);
96
+ const hasHalfStar = value % 1 >= 0.5;
97
+ const emptyStars = max - fullStars - (hasHalfStar ? 1 : 0);
98
+ return /* @__PURE__ */ jsxRuntime.jsxs(
99
+ "div",
100
+ {
101
+ ref,
102
+ className: chunkADIDI7AJ_js.cn("flex items-center gap-1", className),
103
+ role: "img",
104
+ "aria-label": `${value} sur ${max} \xE9toiles`,
105
+ ...props,
106
+ children: [
107
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex", children: [
108
+ Array.from({ length: fullStars }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(
109
+ StarIcon,
110
+ {
111
+ className: chunkADIDI7AJ_js.cn(starSizes[size], "fill-yellow-400 text-yellow-400")
112
+ },
113
+ `full-${i}`
114
+ )),
115
+ hasHalfStar && /* @__PURE__ */ jsxRuntime.jsx(
116
+ StarHalfIcon,
117
+ {
118
+ className: chunkADIDI7AJ_js.cn(starSizes[size], "text-yellow-400")
119
+ }
120
+ ),
121
+ Array.from({ length: emptyStars }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(
122
+ StarIcon,
123
+ {
124
+ className: chunkADIDI7AJ_js.cn(starSizes[size], "fill-none text-gray-300")
125
+ },
126
+ `empty-${i}`
127
+ ))
128
+ ] }),
129
+ showValue && /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkADIDI7AJ_js.cn("font-medium text-primary", textSizes[size]), children: value.toFixed(1) }),
130
+ reviewCount !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunkADIDI7AJ_js.cn("text-text-muted", textSizes[size]), children: [
131
+ "(",
132
+ reviewCount,
133
+ " avis)"
134
+ ] })
135
+ ]
136
+ }
137
+ );
138
+ }
139
+ );
140
+ Rating.displayName = "Rating";
141
+
142
+ exports.Rating = Rating;
@@ -0,0 +1,161 @@
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 Lightbox = React__namespace.forwardRef(
28
+ ({ images, initialIndex = 0, open, onClose, className }, ref) => {
29
+ const [current, setCurrent] = React__namespace.useState(initialIndex);
30
+ const touchStartX = React__namespace.useRef(0);
31
+ React__namespace.useEffect(() => {
32
+ if (open) setCurrent(initialIndex);
33
+ }, [open, initialIndex]);
34
+ React__namespace.useEffect(() => {
35
+ if (!open) return;
36
+ function handleKeyDown(e) {
37
+ if (e.key === "Escape") onClose();
38
+ if (e.key === "ArrowLeft") setCurrent((c) => (c - 1 + images.length) % images.length);
39
+ if (e.key === "ArrowRight") setCurrent((c) => (c + 1) % images.length);
40
+ }
41
+ document.addEventListener("keydown", handleKeyDown);
42
+ document.body.style.overflow = "hidden";
43
+ return () => {
44
+ document.removeEventListener("keydown", handleKeyDown);
45
+ document.body.style.overflow = "";
46
+ };
47
+ }, [open, images.length, onClose]);
48
+ if (!open || images.length === 0) return null;
49
+ const prev = () => setCurrent((c) => (c - 1 + images.length) % images.length);
50
+ const next = () => setCurrent((c) => (c + 1) % images.length);
51
+ return /* @__PURE__ */ jsxRuntime.jsxs(
52
+ "div",
53
+ {
54
+ ref,
55
+ className: chunkADIDI7AJ_js.cn(
56
+ "fixed inset-0 z-50 flex items-center justify-center bg-black/90",
57
+ className
58
+ ),
59
+ onClick: onClose,
60
+ role: "dialog",
61
+ "aria-modal": "true",
62
+ "aria-label": "Image viewer",
63
+ children: [
64
+ /* @__PURE__ */ jsxRuntime.jsx(
65
+ "button",
66
+ {
67
+ onClick: onClose,
68
+ className: "absolute top-4 right-4 z-10 w-10 h-10 rounded-full bg-white/10 backdrop-blur-sm flex items-center justify-center text-white hover:bg-white/20 transition-colors",
69
+ "aria-label": "Close",
70
+ 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", "aria-hidden": "true", children: [
71
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 6 6 18" }),
72
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12" })
73
+ ] })
74
+ }
75
+ ),
76
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute top-4 left-4 z-10 px-3 py-1.5 rounded-full bg-white/10 backdrop-blur-sm text-white text-sm", children: [
77
+ current + 1,
78
+ " / ",
79
+ images.length
80
+ ] }),
81
+ /* @__PURE__ */ jsxRuntime.jsx(
82
+ "div",
83
+ {
84
+ className: "relative w-full h-full flex items-center justify-center p-12",
85
+ onClick: (e) => e.stopPropagation(),
86
+ onTouchStart: (e) => {
87
+ touchStartX.current = e.touches[0].clientX;
88
+ },
89
+ onTouchEnd: (e) => {
90
+ const diff = touchStartX.current - e.changedTouches[0].clientX;
91
+ if (Math.abs(diff) > 50) {
92
+ diff > 0 ? next() : prev();
93
+ }
94
+ },
95
+ children: /* @__PURE__ */ jsxRuntime.jsx(
96
+ "img",
97
+ {
98
+ src: images[current].src,
99
+ alt: images[current].alt,
100
+ className: "max-w-full max-h-full object-contain select-none",
101
+ draggable: false
102
+ }
103
+ )
104
+ }
105
+ ),
106
+ images.length > 1 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
107
+ /* @__PURE__ */ jsxRuntime.jsx(
108
+ "button",
109
+ {
110
+ onClick: (e) => {
111
+ e.stopPropagation();
112
+ prev();
113
+ },
114
+ className: "absolute left-4 top-1/2 -translate-y-1/2 w-12 h-12 rounded-full bg-white/10 backdrop-blur-sm flex items-center justify-center text-white hover:bg-white/20 transition-colors",
115
+ "aria-label": "Previous image",
116
+ children: /* @__PURE__ */ jsxRuntime.jsx("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", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 18-6-6 6-6" }) })
117
+ }
118
+ ),
119
+ /* @__PURE__ */ jsxRuntime.jsx(
120
+ "button",
121
+ {
122
+ onClick: (e) => {
123
+ e.stopPropagation();
124
+ next();
125
+ },
126
+ className: "absolute right-4 top-1/2 -translate-y-1/2 w-12 h-12 rounded-full bg-white/10 backdrop-blur-sm flex items-center justify-center text-white hover:bg-white/20 transition-colors",
127
+ "aria-label": "Next image",
128
+ children: /* @__PURE__ */ jsxRuntime.jsx("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", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" }) })
129
+ }
130
+ )
131
+ ] }),
132
+ images.length > 1 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2 max-w-[80vw] overflow-x-auto px-4 py-2", children: images.map((img, i) => /* @__PURE__ */ jsxRuntime.jsx(
133
+ "button",
134
+ {
135
+ onClick: (e) => {
136
+ e.stopPropagation();
137
+ setCurrent(i);
138
+ },
139
+ className: chunkADIDI7AJ_js.cn(
140
+ "w-16 h-12 rounded-lg overflow-hidden flex-shrink-0 border-2 transition-all",
141
+ i === current ? "border-white opacity-100" : "border-transparent opacity-50 hover:opacity-75"
142
+ ),
143
+ children: /* @__PURE__ */ jsxRuntime.jsx(
144
+ "img",
145
+ {
146
+ src: img.src,
147
+ alt: img.alt,
148
+ className: "w-full h-full object-cover"
149
+ }
150
+ )
151
+ },
152
+ i
153
+ )) })
154
+ ]
155
+ }
156
+ );
157
+ }
158
+ );
159
+ Lightbox.displayName = "Lightbox";
160
+
161
+ exports.Lightbox = Lightbox;
@@ -0,0 +1,79 @@
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 progressBarVariants = cva("w-full rounded-full bg-gray-200 overflow-hidden", {
7
+ variants: {
8
+ size: {
9
+ sm: "h-1.5",
10
+ md: "h-2.5",
11
+ lg: "h-4"
12
+ }
13
+ },
14
+ defaultVariants: {
15
+ size: "md"
16
+ }
17
+ });
18
+ var progressFillVariants = cva(
19
+ "h-full rounded-full transition-all duration-500 ease-out",
20
+ {
21
+ variants: {
22
+ color: {
23
+ primary: "bg-primary",
24
+ secondary: "bg-secondary",
25
+ accent: "bg-accent",
26
+ success: "bg-green-500",
27
+ warning: "bg-amber-500",
28
+ error: "bg-red-500"
29
+ }
30
+ },
31
+ defaultVariants: {
32
+ color: "secondary"
33
+ }
34
+ }
35
+ );
36
+ var ProgressBar = React.forwardRef(
37
+ ({
38
+ value,
39
+ max = 100,
40
+ size,
41
+ color,
42
+ label,
43
+ showValue = false,
44
+ className,
45
+ ...props
46
+ }, ref) => {
47
+ const percentage = Math.min(100, Math.max(0, value / max * 100));
48
+ return /* @__PURE__ */ jsxs("div", { ref, className: cn("w-full", className), ...props, children: [
49
+ (label || showValue) && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between mb-1.5", children: [
50
+ label && /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-700", children: label }),
51
+ showValue && /* @__PURE__ */ jsxs("span", { className: "text-sm font-medium text-gray-600", children: [
52
+ Math.round(percentage),
53
+ "%"
54
+ ] })
55
+ ] }),
56
+ /* @__PURE__ */ jsx(
57
+ "div",
58
+ {
59
+ className: cn(progressBarVariants({ size })),
60
+ role: "progressbar",
61
+ "aria-valuenow": value,
62
+ "aria-valuemin": 0,
63
+ "aria-valuemax": max,
64
+ "aria-label": label,
65
+ children: /* @__PURE__ */ jsx(
66
+ "div",
67
+ {
68
+ className: cn(progressFillVariants({ color })),
69
+ style: { width: `${percentage}%` }
70
+ }
71
+ )
72
+ }
73
+ )
74
+ ] });
75
+ }
76
+ );
77
+ ProgressBar.displayName = "ProgressBar";
78
+
79
+ export { ProgressBar, progressBarVariants, progressFillVariants };