@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,114 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var DualRangeSlider = React.forwardRef(
6
+ ({
7
+ min,
8
+ max,
9
+ step = 1,
10
+ valueMin,
11
+ valueMax,
12
+ onChangeMin,
13
+ onChangeMax,
14
+ formatLabel,
15
+ minGap,
16
+ className
17
+ }, ref) => {
18
+ const gap = minGap ?? step;
19
+ const range = max - min;
20
+ const leftPercent = range > 0 ? (valueMin - min) / range * 100 : 0;
21
+ const rightPercent = range > 0 ? 100 - (valueMax - min) / range * 100 : 0;
22
+ const handleMinChange = (e) => {
23
+ const v = Number(e.target.value);
24
+ onChangeMin(Math.min(v, valueMax - gap));
25
+ };
26
+ const handleMaxChange = (e) => {
27
+ const v = Number(e.target.value);
28
+ onChangeMax(Math.max(v, valueMin + gap));
29
+ };
30
+ const labelMin = formatLabel ? formatLabel(valueMin, "min") : String(valueMin);
31
+ const labelMax = formatLabel ? formatLabel(valueMax, "max") : String(valueMax);
32
+ return /* @__PURE__ */ jsxs("div", { ref, className: cn("w-full", className), children: [
33
+ /* @__PURE__ */ jsxs("div", { className: "relative h-2", children: [
34
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 rounded-full bg-gray-200" }),
35
+ /* @__PURE__ */ jsx(
36
+ "div",
37
+ {
38
+ className: "absolute h-full rounded-full bg-secondary",
39
+ style: { left: `${leftPercent}%`, right: `${rightPercent}%` }
40
+ }
41
+ ),
42
+ /* @__PURE__ */ jsx(
43
+ "input",
44
+ {
45
+ type: "range",
46
+ min,
47
+ max,
48
+ step,
49
+ value: valueMin,
50
+ onChange: handleMinChange,
51
+ "aria-label": "Minimum",
52
+ className: cn(
53
+ "absolute w-full h-2 appearance-none bg-transparent pointer-events-none",
54
+ // Webkit thumb
55
+ "[&::-webkit-slider-thumb]:pointer-events-auto",
56
+ "[&::-webkit-slider-thumb]:appearance-none",
57
+ "[&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:h-5",
58
+ "[&::-webkit-slider-thumb]:bg-white",
59
+ "[&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-secondary",
60
+ "[&::-webkit-slider-thumb]:rounded-full",
61
+ "[&::-webkit-slider-thumb]:cursor-pointer",
62
+ "[&::-webkit-slider-thumb]:shadow-md",
63
+ // Firefox thumb
64
+ "[&::-moz-range-thumb]:pointer-events-auto",
65
+ "[&::-moz-range-thumb]:appearance-none",
66
+ "[&::-moz-range-thumb]:w-5 [&::-moz-range-thumb]:h-5",
67
+ "[&::-moz-range-thumb]:bg-white",
68
+ "[&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-secondary",
69
+ "[&::-moz-range-thumb]:rounded-full",
70
+ "[&::-moz-range-thumb]:cursor-pointer"
71
+ )
72
+ }
73
+ ),
74
+ /* @__PURE__ */ jsx(
75
+ "input",
76
+ {
77
+ type: "range",
78
+ min,
79
+ max,
80
+ step,
81
+ value: valueMax,
82
+ onChange: handleMaxChange,
83
+ "aria-label": "Maximum",
84
+ className: cn(
85
+ "absolute w-full h-2 appearance-none bg-transparent pointer-events-none",
86
+ "[&::-webkit-slider-thumb]:pointer-events-auto",
87
+ "[&::-webkit-slider-thumb]:appearance-none",
88
+ "[&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:h-5",
89
+ "[&::-webkit-slider-thumb]:bg-white",
90
+ "[&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-secondary",
91
+ "[&::-webkit-slider-thumb]:rounded-full",
92
+ "[&::-webkit-slider-thumb]:cursor-pointer",
93
+ "[&::-webkit-slider-thumb]:shadow-md",
94
+ "[&::-moz-range-thumb]:pointer-events-auto",
95
+ "[&::-moz-range-thumb]:appearance-none",
96
+ "[&::-moz-range-thumb]:w-5 [&::-moz-range-thumb]:h-5",
97
+ "[&::-moz-range-thumb]:bg-white",
98
+ "[&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-secondary",
99
+ "[&::-moz-range-thumb]:rounded-full",
100
+ "[&::-moz-range-thumb]:cursor-pointer"
101
+ )
102
+ }
103
+ )
104
+ ] }),
105
+ /* @__PURE__ */ jsxs("div", { className: "flex justify-between text-xs text-gray-500 mt-2", children: [
106
+ /* @__PURE__ */ jsx("span", { children: labelMin }),
107
+ /* @__PURE__ */ jsx("span", { children: labelMax })
108
+ ] })
109
+ ] });
110
+ }
111
+ );
112
+ DualRangeSlider.displayName = "DualRangeSlider";
113
+
114
+ export { DualRangeSlider };
@@ -0,0 +1,117 @@
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 = ({ href, className, onClick, children }) => /* @__PURE__ */ jsx("a", { href, className, onClick, children });
6
+ var defaultRenderImage = ({ src, alt, className }) => /* @__PURE__ */ jsx("img", { src, alt, className, loading: "lazy" });
7
+ var MegaMenu = React.forwardRef(
8
+ ({ section, isOpen, onClose, renderLink = defaultRenderLink, renderImage = defaultRenderImage, className }, ref) => {
9
+ const panelRef = React.useRef(null);
10
+ React.useEffect(() => {
11
+ if (!isOpen) return;
12
+ const handleKeyDown = (e) => {
13
+ if (e.key === "Escape") onClose();
14
+ };
15
+ document.addEventListener("keydown", handleKeyDown);
16
+ return () => document.removeEventListener("keydown", handleKeyDown);
17
+ }, [isOpen, onClose]);
18
+ if (!isOpen) return null;
19
+ if (section.layout === "cards" && section.cards) {
20
+ return /* @__PURE__ */ jsx("div", { ref, className: cn("bg-white border-b border-gray-100 shadow-sm overflow-hidden", className), children: /* @__PURE__ */ jsx("div", { ref: panelRef, className: "flex justify-center px-6 lg:px-8 py-8", children: /* @__PURE__ */ jsxs("div", { className: "max-w-4xl w-full", children: [
21
+ /* @__PURE__ */ jsx("h3", { className: "text-lg font-bold text-primary mb-6", children: section.label }),
22
+ /* @__PURE__ */ jsx("div", { className: "grid grid-cols-4 sm:grid-cols-6 lg:grid-cols-8 gap-3", children: section.cards.map((card) => /* @__PURE__ */ jsx(React.Fragment, { children: renderLink({
23
+ href: card.href,
24
+ className: "group",
25
+ onClick: onClose,
26
+ children: /* @__PURE__ */ jsxs("div", { className: "aspect-square rounded-xl overflow-hidden bg-gray-100 relative", children: [
27
+ card.imageUrl ? /* @__PURE__ */ jsx(Fragment, { children: renderImage({
28
+ src: card.imageUrl,
29
+ alt: card.label,
30
+ className: "object-cover w-full h-full group-hover:scale-105 transition-transform duration-300",
31
+ fill: true
32
+ }) }) : /* @__PURE__ */ jsx("div", { className: "w-full h-full flex items-center justify-center bg-secondary/10", children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", className: "text-secondary/40", children: [
33
+ /* @__PURE__ */ jsx("path", { d: "M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z" }),
34
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "3" })
35
+ ] }) }),
36
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/50 to-transparent" }),
37
+ /* @__PURE__ */ jsx("span", { className: "absolute bottom-2 left-2 right-2 text-white text-xs font-medium leading-tight", children: card.label })
38
+ ] })
39
+ }) }, card.label)) }),
40
+ section.ctaLabel && section.ctaHref && /* @__PURE__ */ jsx("div", { className: "mt-4", children: renderLink({
41
+ href: section.ctaHref,
42
+ className: "inline-flex items-center gap-1.5 text-sm font-medium text-secondary hover:text-secondary-dark transition-colors",
43
+ onClick: onClose,
44
+ children: /* @__PURE__ */ jsxs(Fragment, { children: [
45
+ section.ctaLabel,
46
+ /* @__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: [
47
+ /* @__PURE__ */ jsx("path", { d: "M5 12h14" }),
48
+ /* @__PURE__ */ jsx("path", { d: "m12 5 7 7-7 7" })
49
+ ] })
50
+ ] })
51
+ }) })
52
+ ] }) }) });
53
+ }
54
+ if (!section.columns) return null;
55
+ const totalColumns = section.columns.length;
56
+ return /* @__PURE__ */ jsx("div", { ref, className: cn("bg-white border-b border-gray-100 shadow-sm overflow-hidden", className), children: /* @__PURE__ */ jsx("div", { ref: panelRef, className: "flex justify-center px-6 lg:px-8 py-8", children: /* @__PURE__ */ jsxs(
57
+ "div",
58
+ {
59
+ className: cn(
60
+ "w-full",
61
+ totalColumns === 1 && "max-w-xs",
62
+ totalColumns === 2 && "max-w-xl",
63
+ totalColumns === 3 && "max-w-4xl",
64
+ totalColumns >= 4 && "max-w-5xl"
65
+ ),
66
+ children: [
67
+ /* @__PURE__ */ jsx("h3", { className: "text-lg font-bold text-primary mb-6", children: section.label }),
68
+ /* @__PURE__ */ jsx(
69
+ "div",
70
+ {
71
+ className: cn(
72
+ "grid gap-x-12 gap-y-2",
73
+ totalColumns === 1 && "grid-cols-1",
74
+ totalColumns === 2 && "grid-cols-2",
75
+ totalColumns === 3 && "grid-cols-3",
76
+ totalColumns >= 4 && "grid-cols-4"
77
+ ),
78
+ children: section.columns.map((column, colIndex) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
79
+ column.title && /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2", children: column.title }),
80
+ column.image ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center h-full gap-3", children: [
81
+ renderImage({
82
+ src: column.image.src,
83
+ alt: column.image.alt,
84
+ className: "object-contain opacity-80 max-w-[200px]"
85
+ }),
86
+ column.links.map((link) => /* @__PURE__ */ jsx(React.Fragment, { children: renderLink({
87
+ href: link.href,
88
+ className: "inline-flex items-center gap-1.5 text-sm font-medium text-secondary hover:text-secondary-dark transition-colors",
89
+ onClick: onClose,
90
+ children: /* @__PURE__ */ jsxs(Fragment, { children: [
91
+ link.label,
92
+ /* @__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: [
93
+ /* @__PURE__ */ jsx("path", { d: "M5 12h14" }),
94
+ /* @__PURE__ */ jsx("path", { d: "m12 5 7 7-7 7" })
95
+ ] })
96
+ ] })
97
+ }) }, link.href))
98
+ ] }) : column.links.map((link) => /* @__PURE__ */ jsx(React.Fragment, { children: renderLink({
99
+ href: link.href,
100
+ className: "flex items-center gap-2 py-1.5 text-[15px] text-gray-600 hover:text-primary transition-colors",
101
+ onClick: onClose,
102
+ children: /* @__PURE__ */ jsxs(Fragment, { children: [
103
+ link.icon && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-secondary/70", children: link.icon }),
104
+ link.label
105
+ ] })
106
+ }) }, link.href))
107
+ ] }, colIndex))
108
+ }
109
+ )
110
+ ]
111
+ }
112
+ ) }) });
113
+ }
114
+ );
115
+ MegaMenu.displayName = "MegaMenu";
116
+
117
+ export { MegaMenu };
@@ -0,0 +1,62 @@
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 sizeClasses = {
28
+ sm: "w-8 h-8 text-xs",
29
+ md: "w-10 h-10 text-sm",
30
+ lg: "w-14 h-14 text-base"
31
+ };
32
+ var Avatar = React__namespace.forwardRef(
33
+ ({ src, alt, initials, size = "md", badge, className }, ref) => {
34
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: chunkADIDI7AJ_js.cn("relative inline-flex", className), children: [
35
+ src ? /* @__PURE__ */ jsxRuntime.jsx(
36
+ "img",
37
+ {
38
+ src,
39
+ alt: alt || "Avatar",
40
+ className: chunkADIDI7AJ_js.cn(
41
+ "rounded-full object-cover",
42
+ sizeClasses[size]
43
+ )
44
+ }
45
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
46
+ "div",
47
+ {
48
+ className: chunkADIDI7AJ_js.cn(
49
+ "rounded-full bg-sand flex items-center justify-center font-medium text-primary",
50
+ sizeClasses[size]
51
+ ),
52
+ "aria-label": alt || initials,
53
+ children: initials || "?"
54
+ }
55
+ ),
56
+ badge !== void 0 && badge > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute -top-1 -right-1 min-w-[18px] h-[18px] px-1 flex items-center justify-center bg-secondary text-white text-[10px] font-bold rounded-full", children: badge > 99 ? "99+" : badge })
57
+ ] });
58
+ }
59
+ );
60
+ Avatar.displayName = "Avatar";
61
+
62
+ exports.Avatar = Avatar;
@@ -0,0 +1,64 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var RadioGroup = React.forwardRef(
6
+ ({ value, onChange, label, error, required, orientation = "vertical", columns = 2, options, className }, ref) => {
7
+ return /* @__PURE__ */ jsxs("fieldset", { ref, className: cn("w-full", className), children: [
8
+ label && /* @__PURE__ */ jsxs("legend", { className: "block text-sm font-medium text-primary mb-2", children: [
9
+ label,
10
+ required && /* @__PURE__ */ jsx("span", { className: "text-secondary", children: " *" })
11
+ ] }),
12
+ /* @__PURE__ */ jsx(
13
+ "div",
14
+ {
15
+ className: cn(
16
+ "gap-3",
17
+ orientation === "grid" ? `grid ${columns === 3 ? "grid-cols-3" : columns === 4 ? "grid-cols-4" : "grid-cols-2"}` : "flex flex-col"
18
+ ),
19
+ children: options.map((option) => {
20
+ const isSelected = value === option.value;
21
+ return /* @__PURE__ */ jsxs(
22
+ "button",
23
+ {
24
+ type: "button",
25
+ role: "radio",
26
+ "aria-checked": isSelected,
27
+ onClick: () => onChange?.(option.value),
28
+ className: cn(
29
+ "relative border-2 rounded-xl p-4 text-left transition-all",
30
+ isSelected ? "border-secondary bg-secondary/5" : "border-gray-200 hover:border-gray-300 bg-white"
31
+ ),
32
+ children: [
33
+ isSelected && /* @__PURE__ */ jsx("div", { className: "absolute top-2 right-2", children: /* @__PURE__ */ jsx(
34
+ "svg",
35
+ {
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: "20",
38
+ height: "20",
39
+ viewBox: "0 0 24 24",
40
+ fill: "none",
41
+ stroke: "currentColor",
42
+ strokeWidth: "2.5",
43
+ strokeLinecap: "round",
44
+ strokeLinejoin: "round",
45
+ className: "text-secondary",
46
+ children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" })
47
+ }
48
+ ) }),
49
+ /* @__PURE__ */ jsx("span", { className: "block text-sm font-medium text-primary", children: option.label }),
50
+ option.description && /* @__PURE__ */ jsx("span", { className: "block text-xs text-text-secondary mt-0.5", children: option.description })
51
+ ]
52
+ },
53
+ option.value
54
+ );
55
+ })
56
+ }
57
+ ),
58
+ error && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-red-500", children: error })
59
+ ] });
60
+ }
61
+ );
62
+ RadioGroup.displayName = "RadioGroup";
63
+
64
+ export { RadioGroup };
@@ -0,0 +1,67 @@
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 statusBadgeVariants = cva(
7
+ "inline-flex items-center gap-1.5 font-medium rounded-full",
8
+ {
9
+ variants: {
10
+ status: {
11
+ success: "bg-green-50 text-green-700",
12
+ warning: "bg-amber-50 text-amber-700",
13
+ error: "bg-red-50 text-red-700",
14
+ info: "bg-blue-50 text-blue-700",
15
+ neutral: "bg-gray-100 text-gray-600"
16
+ },
17
+ size: {
18
+ sm: "px-2 py-0.5 text-xs",
19
+ md: "px-2.5 py-1 text-sm",
20
+ lg: "px-3 py-1.5 text-sm"
21
+ }
22
+ },
23
+ defaultVariants: {
24
+ status: "neutral",
25
+ size: "md"
26
+ }
27
+ }
28
+ );
29
+ var dotVariants = cva("rounded-full flex-shrink-0", {
30
+ variants: {
31
+ status: {
32
+ success: "bg-green-500",
33
+ warning: "bg-amber-500",
34
+ error: "bg-red-500",
35
+ info: "bg-blue-500",
36
+ neutral: "bg-gray-400"
37
+ },
38
+ size: {
39
+ sm: "w-1.5 h-1.5",
40
+ md: "w-2 h-2",
41
+ lg: "w-2 h-2"
42
+ }
43
+ },
44
+ defaultVariants: {
45
+ status: "neutral",
46
+ size: "md"
47
+ }
48
+ });
49
+ var StatusBadge = React.forwardRef(
50
+ ({ status, size, icon, showDot = true, className, children, ...props }, ref) => {
51
+ return /* @__PURE__ */ jsxs(
52
+ "span",
53
+ {
54
+ ref,
55
+ className: cn(statusBadgeVariants({ status, size }), className),
56
+ ...props,
57
+ children: [
58
+ icon || showDot && /* @__PURE__ */ jsx("span", { className: cn(dotVariants({ status, size })), "aria-hidden": "true" }),
59
+ children
60
+ ]
61
+ }
62
+ );
63
+ }
64
+ );
65
+ StatusBadge.displayName = "StatusBadge";
66
+
67
+ export { StatusBadge, statusBadgeVariants };
@@ -0,0 +1,139 @@
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 Lightbox = React.forwardRef(
6
+ ({ images, initialIndex = 0, open, onClose, className }, ref) => {
7
+ const [current, setCurrent] = React.useState(initialIndex);
8
+ const touchStartX = React.useRef(0);
9
+ React.useEffect(() => {
10
+ if (open) setCurrent(initialIndex);
11
+ }, [open, initialIndex]);
12
+ React.useEffect(() => {
13
+ if (!open) return;
14
+ function handleKeyDown(e) {
15
+ if (e.key === "Escape") onClose();
16
+ if (e.key === "ArrowLeft") setCurrent((c) => (c - 1 + images.length) % images.length);
17
+ if (e.key === "ArrowRight") setCurrent((c) => (c + 1) % images.length);
18
+ }
19
+ document.addEventListener("keydown", handleKeyDown);
20
+ document.body.style.overflow = "hidden";
21
+ return () => {
22
+ document.removeEventListener("keydown", handleKeyDown);
23
+ document.body.style.overflow = "";
24
+ };
25
+ }, [open, images.length, onClose]);
26
+ if (!open || images.length === 0) return null;
27
+ const prev = () => setCurrent((c) => (c - 1 + images.length) % images.length);
28
+ const next = () => setCurrent((c) => (c + 1) % images.length);
29
+ return /* @__PURE__ */ jsxs(
30
+ "div",
31
+ {
32
+ ref,
33
+ className: cn(
34
+ "fixed inset-0 z-50 flex items-center justify-center bg-black/90",
35
+ className
36
+ ),
37
+ onClick: onClose,
38
+ role: "dialog",
39
+ "aria-modal": "true",
40
+ "aria-label": "Image viewer",
41
+ children: [
42
+ /* @__PURE__ */ jsx(
43
+ "button",
44
+ {
45
+ onClick: onClose,
46
+ 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",
47
+ "aria-label": "Close",
48
+ children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
49
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
50
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
51
+ ] })
52
+ }
53
+ ),
54
+ /* @__PURE__ */ 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: [
55
+ current + 1,
56
+ " / ",
57
+ images.length
58
+ ] }),
59
+ /* @__PURE__ */ jsx(
60
+ "div",
61
+ {
62
+ className: "relative w-full h-full flex items-center justify-center p-12",
63
+ onClick: (e) => e.stopPropagation(),
64
+ onTouchStart: (e) => {
65
+ touchStartX.current = e.touches[0].clientX;
66
+ },
67
+ onTouchEnd: (e) => {
68
+ const diff = touchStartX.current - e.changedTouches[0].clientX;
69
+ if (Math.abs(diff) > 50) {
70
+ diff > 0 ? next() : prev();
71
+ }
72
+ },
73
+ children: /* @__PURE__ */ jsx(
74
+ "img",
75
+ {
76
+ src: images[current].src,
77
+ alt: images[current].alt,
78
+ className: "max-w-full max-h-full object-contain select-none",
79
+ draggable: false
80
+ }
81
+ )
82
+ }
83
+ ),
84
+ images.length > 1 && /* @__PURE__ */ jsxs(Fragment, { children: [
85
+ /* @__PURE__ */ jsx(
86
+ "button",
87
+ {
88
+ onClick: (e) => {
89
+ e.stopPropagation();
90
+ prev();
91
+ },
92
+ 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",
93
+ "aria-label": "Previous image",
94
+ children: /* @__PURE__ */ 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__ */ jsx("path", { d: "m15 18-6-6 6-6" }) })
95
+ }
96
+ ),
97
+ /* @__PURE__ */ jsx(
98
+ "button",
99
+ {
100
+ onClick: (e) => {
101
+ e.stopPropagation();
102
+ next();
103
+ },
104
+ 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",
105
+ "aria-label": "Next image",
106
+ children: /* @__PURE__ */ 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__ */ jsx("path", { d: "m9 18 6-6-6-6" }) })
107
+ }
108
+ )
109
+ ] }),
110
+ images.length > 1 && /* @__PURE__ */ 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__ */ jsx(
111
+ "button",
112
+ {
113
+ onClick: (e) => {
114
+ e.stopPropagation();
115
+ setCurrent(i);
116
+ },
117
+ className: cn(
118
+ "w-16 h-12 rounded-lg overflow-hidden flex-shrink-0 border-2 transition-all",
119
+ i === current ? "border-white opacity-100" : "border-transparent opacity-50 hover:opacity-75"
120
+ ),
121
+ children: /* @__PURE__ */ jsx(
122
+ "img",
123
+ {
124
+ src: img.src,
125
+ alt: img.alt,
126
+ className: "w-full h-full object-cover"
127
+ }
128
+ )
129
+ },
130
+ i
131
+ )) })
132
+ ]
133
+ }
134
+ );
135
+ }
136
+ );
137
+ Lightbox.displayName = "Lightbox";
138
+
139
+ export { Lightbox };
@@ -0,0 +1,57 @@
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 inputVariants = cva(
7
+ "w-full border bg-white transition-all placeholder:text-text-muted text-primary",
8
+ {
9
+ variants: {
10
+ size: {
11
+ sm: "px-3 py-2 text-sm rounded-xl",
12
+ md: "px-4 py-3 text-sm rounded-xl",
13
+ lg: "px-4 py-3 text-base rounded-xl"
14
+ },
15
+ variant: {
16
+ default: "border-gray-200 focus:border-secondary focus:outline-none focus:ring-1 focus:ring-secondary",
17
+ error: "border-red-300 focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-red-500"
18
+ }
19
+ },
20
+ defaultVariants: {
21
+ size: "md",
22
+ variant: "default"
23
+ }
24
+ }
25
+ );
26
+ var Input = React.forwardRef(
27
+ ({ className, size, variant, label, error, required, leftIcon, rightIcon, ...props }, ref) => {
28
+ const resolvedVariant = error ? "error" : variant ?? "default";
29
+ return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
30
+ label && /* @__PURE__ */ jsxs("label", { className: "block text-sm font-medium text-primary mb-1.5", children: [
31
+ label,
32
+ required && /* @__PURE__ */ jsx("span", { className: "text-secondary", children: " *" })
33
+ ] }),
34
+ /* @__PURE__ */ jsxs("div", { className: "relative", children: [
35
+ leftIcon && /* @__PURE__ */ jsx("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-muted", children: leftIcon }),
36
+ /* @__PURE__ */ jsx(
37
+ "input",
38
+ {
39
+ ref,
40
+ className: cn(
41
+ inputVariants({ size, variant: resolvedVariant }),
42
+ leftIcon && "pl-10",
43
+ rightIcon && "pr-10",
44
+ className
45
+ ),
46
+ ...props
47
+ }
48
+ ),
49
+ rightIcon && /* @__PURE__ */ jsx("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-muted", children: rightIcon })
50
+ ] }),
51
+ error && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-red-500", children: error })
52
+ ] });
53
+ }
54
+ );
55
+ Input.displayName = "Input";
56
+
57
+ export { Input, inputVariants };