@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,147 @@
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 variantStyles = {
28
+ warning: {
29
+ container: "border-amber-200 bg-amber-50 text-amber-800",
30
+ icon: "text-amber-600",
31
+ dismiss: "hover:bg-amber-100 focus-visible:ring-amber-500",
32
+ retry: "border-amber-300 text-amber-800 hover:bg-amber-100"
33
+ },
34
+ error: {
35
+ container: "border-red-200 bg-red-50 text-red-800",
36
+ icon: "text-red-600",
37
+ dismiss: "hover:bg-red-100 focus-visible:ring-red-500",
38
+ retry: "border-red-300 text-red-800 hover:bg-red-100"
39
+ },
40
+ success: {
41
+ container: "border-emerald-200 bg-emerald-50 text-emerald-800",
42
+ icon: "text-emerald-600",
43
+ dismiss: "hover:bg-emerald-100 focus-visible:ring-emerald-500",
44
+ retry: "border-emerald-300 text-emerald-800 hover:bg-emerald-100"
45
+ },
46
+ info: {
47
+ container: "border-blue-200 bg-blue-50 text-blue-800",
48
+ icon: "text-blue-600",
49
+ dismiss: "hover:bg-blue-100 focus-visible:ring-blue-500",
50
+ retry: "border-blue-300 text-blue-800 hover:bg-blue-100"
51
+ }
52
+ };
53
+ var Alert = React__namespace.forwardRef(
54
+ ({
55
+ message,
56
+ variant = "warning",
57
+ onDismiss,
58
+ onRetry,
59
+ retryLabel = "R\xE9essayer",
60
+ isRetrying = false,
61
+ className
62
+ }, ref) => {
63
+ const styles = variantStyles[variant];
64
+ const isRetryable = !!onRetry;
65
+ return /* @__PURE__ */ jsxRuntime.jsxs(
66
+ "div",
67
+ {
68
+ ref,
69
+ role: "alert",
70
+ "aria-live": "polite",
71
+ className: chunkADIDI7AJ_js.cn(
72
+ "rounded-xl border p-4",
73
+ styles.container,
74
+ isRetryable && "flex flex-col items-center gap-3 p-6 text-center",
75
+ !isRetryable && "flex items-start gap-3",
76
+ className
77
+ ),
78
+ children: [
79
+ /* @__PURE__ */ jsxRuntime.jsxs(
80
+ "svg",
81
+ {
82
+ xmlns: "http://www.w3.org/2000/svg",
83
+ width: isRetryable ? 24 : 20,
84
+ height: isRetryable ? 24 : 20,
85
+ viewBox: "0 0 24 24",
86
+ fill: "none",
87
+ stroke: "currentColor",
88
+ strokeWidth: "2",
89
+ strokeLinecap: "round",
90
+ strokeLinejoin: "round",
91
+ className: chunkADIDI7AJ_js.cn(styles.icon, !isRetryable && "mt-0.5 shrink-0"),
92
+ "aria-hidden": "true",
93
+ children: [
94
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
95
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 9v4" }),
96
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 17h.01" })
97
+ ]
98
+ }
99
+ ),
100
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: chunkADIDI7AJ_js.cn("text-sm", !isRetryable && "flex-1"), children: message }),
101
+ onDismiss && !isRetryable && /* @__PURE__ */ jsxRuntime.jsx(
102
+ "button",
103
+ {
104
+ type: "button",
105
+ onClick: onDismiss,
106
+ className: chunkADIDI7AJ_js.cn(
107
+ "shrink-0 rounded-lg p-1 transition-colors duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
108
+ styles.dismiss
109
+ ),
110
+ "aria-label": "Fermer l'alerte",
111
+ children: /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
112
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 6 6 18" }),
113
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 6 12 12" })
114
+ ] })
115
+ }
116
+ ),
117
+ isRetryable && /* @__PURE__ */ jsxRuntime.jsxs(
118
+ "button",
119
+ {
120
+ onClick: onRetry,
121
+ disabled: isRetrying,
122
+ className: chunkADIDI7AJ_js.cn(
123
+ "flex min-h-[44px] items-center gap-2 rounded-xl border px-4 py-2 text-sm font-medium transition-colors disabled:opacity-70",
124
+ styles.retry
125
+ ),
126
+ children: [
127
+ isRetrying ? /* @__PURE__ */ jsxRuntime.jsxs("svg", { className: "w-4 h-4 animate-spin", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", children: [
128
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
129
+ /* @__PURE__ */ jsxRuntime.jsx("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z" })
130
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
131
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" }),
132
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 3v5h-5" }),
133
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" }),
134
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 16H3v5" })
135
+ ] }),
136
+ isRetrying ? "Chargement..." : retryLabel
137
+ ]
138
+ }
139
+ )
140
+ ]
141
+ }
142
+ );
143
+ }
144
+ );
145
+ Alert.displayName = "Alert";
146
+
147
+ exports.Alert = Alert;
@@ -0,0 +1,65 @@
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 tagVariants = cva(
7
+ "inline-flex items-center gap-1.5 font-medium transition-colors",
8
+ {
9
+ variants: {
10
+ variant: {
11
+ default: "bg-gray-100 text-gray-700",
12
+ primary: "bg-primary/10 text-primary",
13
+ secondary: "bg-secondary/10 text-secondary",
14
+ accent: "bg-accent/10 text-accent",
15
+ success: "bg-green-50 text-green-700",
16
+ warning: "bg-amber-50 text-amber-700",
17
+ error: "bg-red-50 text-red-700",
18
+ outline: "bg-transparent border border-gray-300 text-gray-700"
19
+ },
20
+ size: {
21
+ sm: "px-2 py-0.5 text-xs rounded-md",
22
+ md: "px-2.5 py-1 text-sm rounded-lg",
23
+ lg: "px-3 py-1.5 text-sm rounded-lg"
24
+ }
25
+ },
26
+ defaultVariants: {
27
+ variant: "default",
28
+ size: "md"
29
+ }
30
+ }
31
+ );
32
+ var Tag = React.forwardRef(
33
+ ({ variant, size, icon, onRemove, className, children, ...props }, ref) => {
34
+ return /* @__PURE__ */ jsxs(
35
+ "span",
36
+ {
37
+ ref,
38
+ className: cn(tagVariants({ variant, size }), className),
39
+ ...props,
40
+ children: [
41
+ icon && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0", "aria-hidden": "true", children: icon }),
42
+ children,
43
+ onRemove && /* @__PURE__ */ jsx(
44
+ "button",
45
+ {
46
+ onClick: (e) => {
47
+ e.stopPropagation();
48
+ onRemove();
49
+ },
50
+ className: "flex-shrink-0 p-0.5 rounded hover:bg-black/10 transition-colors",
51
+ "aria-label": "Remove",
52
+ children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
53
+ /* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }),
54
+ /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })
55
+ ] })
56
+ }
57
+ )
58
+ ]
59
+ }
60
+ );
61
+ }
62
+ );
63
+ Tag.displayName = "Tag";
64
+
65
+ export { Tag, tagVariants };
@@ -0,0 +1,66 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ var opacityMap = {
6
+ light: "bg-white/40",
7
+ medium: "bg-white/70",
8
+ heavy: "bg-white/90"
9
+ };
10
+ var LoadingOverlay = React.forwardRef(
11
+ ({ visible = true, label, opacity = "medium", className, ...props }, ref) => {
12
+ if (!visible) return null;
13
+ return /* @__PURE__ */ jsxs(
14
+ "div",
15
+ {
16
+ ref,
17
+ className: cn(
18
+ "absolute inset-0 z-10 flex flex-col items-center justify-center backdrop-blur-sm",
19
+ opacityMap[opacity],
20
+ className
21
+ ),
22
+ role: "status",
23
+ "aria-live": "polite",
24
+ ...props,
25
+ children: [
26
+ /* @__PURE__ */ jsxs(
27
+ "svg",
28
+ {
29
+ className: "w-8 h-8 animate-spin text-secondary",
30
+ xmlns: "http://www.w3.org/2000/svg",
31
+ fill: "none",
32
+ viewBox: "0 0 24 24",
33
+ "aria-hidden": "true",
34
+ children: [
35
+ /* @__PURE__ */ jsx(
36
+ "circle",
37
+ {
38
+ className: "opacity-25",
39
+ cx: "12",
40
+ cy: "12",
41
+ r: "10",
42
+ stroke: "currentColor",
43
+ strokeWidth: "4"
44
+ }
45
+ ),
46
+ /* @__PURE__ */ jsx(
47
+ "path",
48
+ {
49
+ className: "opacity-75",
50
+ fill: "currentColor",
51
+ 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"
52
+ }
53
+ )
54
+ ]
55
+ }
56
+ ),
57
+ label && /* @__PURE__ */ jsx("span", { className: "mt-3 text-sm font-medium text-text-secondary", children: label }),
58
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: label || "Loading..." })
59
+ ]
60
+ }
61
+ );
62
+ }
63
+ );
64
+ LoadingOverlay.displayName = "LoadingOverlay";
65
+
66
+ export { LoadingOverlay };
@@ -0,0 +1,92 @@
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 spinnerVariants = classVarianceAuthority.cva("animate-spin text-current", {
29
+ variants: {
30
+ size: {
31
+ sm: "w-4 h-4",
32
+ md: "w-6 h-6",
33
+ lg: "w-8 h-8",
34
+ xl: "w-12 h-12"
35
+ }
36
+ },
37
+ defaultVariants: {
38
+ size: "md"
39
+ }
40
+ });
41
+ var Spinner = React__namespace.forwardRef(
42
+ ({ size, label, className, ...props }, ref) => {
43
+ return /* @__PURE__ */ jsxRuntime.jsxs(
44
+ "div",
45
+ {
46
+ ref,
47
+ role: "status",
48
+ className: chunkADIDI7AJ_js.cn("inline-flex items-center gap-2", className),
49
+ ...props,
50
+ children: [
51
+ /* @__PURE__ */ jsxRuntime.jsxs(
52
+ "svg",
53
+ {
54
+ className: chunkADIDI7AJ_js.cn(spinnerVariants({ size })),
55
+ xmlns: "http://www.w3.org/2000/svg",
56
+ fill: "none",
57
+ viewBox: "0 0 24 24",
58
+ "aria-hidden": "true",
59
+ children: [
60
+ /* @__PURE__ */ jsxRuntime.jsx(
61
+ "circle",
62
+ {
63
+ className: "opacity-25",
64
+ cx: "12",
65
+ cy: "12",
66
+ r: "10",
67
+ stroke: "currentColor",
68
+ strokeWidth: "4"
69
+ }
70
+ ),
71
+ /* @__PURE__ */ jsxRuntime.jsx(
72
+ "path",
73
+ {
74
+ className: "opacity-75",
75
+ fill: "currentColor",
76
+ 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"
77
+ }
78
+ )
79
+ ]
80
+ }
81
+ ),
82
+ label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-text-secondary", children: label }),
83
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: label || "Loading..." })
84
+ ]
85
+ }
86
+ );
87
+ }
88
+ );
89
+ Spinner.displayName = "Spinner";
90
+
91
+ exports.Spinner = Spinner;
92
+ exports.spinnerVariants = spinnerVariants;
@@ -0,0 +1,90 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+
5
+ function getPageRange(current, total, siblings) {
6
+ const totalNumbers = siblings * 2 + 3;
7
+ if (total <= totalNumbers + 2) {
8
+ return Array.from({ length: total }, (_, i) => i + 1);
9
+ }
10
+ const leftSibling = Math.max(current - siblings, 2);
11
+ const rightSibling = Math.min(current + siblings, total - 1);
12
+ const showLeftDots = leftSibling > 2;
13
+ const showRightDots = rightSibling < total - 1;
14
+ const pages = [1];
15
+ if (showLeftDots) {
16
+ pages.push("dots");
17
+ }
18
+ for (let i = leftSibling; i <= rightSibling; i++) {
19
+ pages.push(i);
20
+ }
21
+ if (showRightDots) {
22
+ pages.push("dots");
23
+ }
24
+ pages.push(total);
25
+ return pages;
26
+ }
27
+ var Pagination = React.forwardRef(
28
+ ({ currentPage, totalPages, onPageChange, siblingCount = 1, className }, ref) => {
29
+ if (totalPages <= 1) return null;
30
+ const pages = getPageRange(currentPage, totalPages, siblingCount);
31
+ return /* @__PURE__ */ jsxs(
32
+ "nav",
33
+ {
34
+ ref,
35
+ role: "navigation",
36
+ "aria-label": "Pagination",
37
+ className: cn("flex items-center justify-center gap-1", className),
38
+ children: [
39
+ /* @__PURE__ */ jsx(
40
+ "button",
41
+ {
42
+ onClick: () => onPageChange(currentPage - 1),
43
+ disabled: currentPage === 1,
44
+ className: "flex items-center justify-center w-10 h-10 rounded-lg border border-gray-200 text-primary hover:bg-gray-50 disabled:opacity-40 disabled:cursor-not-allowed transition-colors",
45
+ "aria-label": "Page pr\xE9c\xE9dente",
46
+ 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" }) })
47
+ }
48
+ ),
49
+ pages.map(
50
+ (page, i) => page === "dots" ? /* @__PURE__ */ jsx(
51
+ "span",
52
+ {
53
+ className: "flex items-center justify-center w-10 h-10 text-gray-400 text-sm",
54
+ "aria-hidden": "true",
55
+ children: "..."
56
+ },
57
+ `dots-${i}`
58
+ ) : /* @__PURE__ */ jsx(
59
+ "button",
60
+ {
61
+ onClick: () => onPageChange(page),
62
+ className: cn(
63
+ "flex items-center justify-center w-10 h-10 rounded-lg text-sm font-medium transition-colors",
64
+ page === currentPage ? "bg-secondary text-white" : "border border-gray-200 text-primary hover:bg-gray-50"
65
+ ),
66
+ "aria-label": `Page ${page}`,
67
+ "aria-current": page === currentPage ? "page" : void 0,
68
+ children: page
69
+ },
70
+ page
71
+ )
72
+ ),
73
+ /* @__PURE__ */ jsx(
74
+ "button",
75
+ {
76
+ onClick: () => onPageChange(currentPage + 1),
77
+ disabled: currentPage === totalPages,
78
+ className: "flex items-center justify-center w-10 h-10 rounded-lg border border-gray-200 text-primary hover:bg-gray-50 disabled:opacity-40 disabled:cursor-not-allowed transition-colors",
79
+ "aria-label": "Page suivante",
80
+ 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" }) })
81
+ }
82
+ )
83
+ ]
84
+ }
85
+ );
86
+ }
87
+ );
88
+ Pagination.displayName = "Pagination";
89
+
90
+ export { Pagination };
@@ -0,0 +1,67 @@
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 Divider = React__namespace.forwardRef(
28
+ ({ orientation = "horizontal", label, className }, ref) => {
29
+ if (orientation === "vertical") {
30
+ return /* @__PURE__ */ jsxRuntime.jsx(
31
+ "div",
32
+ {
33
+ ref,
34
+ role: "separator",
35
+ "aria-orientation": "vertical",
36
+ className: chunkADIDI7AJ_js.cn("w-px bg-gray-200 self-stretch", className)
37
+ }
38
+ );
39
+ }
40
+ if (label) {
41
+ return /* @__PURE__ */ jsxRuntime.jsxs(
42
+ "div",
43
+ {
44
+ ref,
45
+ role: "separator",
46
+ className: chunkADIDI7AJ_js.cn("flex items-center gap-4", className),
47
+ children: [
48
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 h-px bg-gray-200" }),
49
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-medium text-text-muted uppercase tracking-wider", children: label }),
50
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 h-px bg-gray-200" })
51
+ ]
52
+ }
53
+ );
54
+ }
55
+ return /* @__PURE__ */ jsxRuntime.jsx(
56
+ "div",
57
+ {
58
+ ref,
59
+ role: "separator",
60
+ className: chunkADIDI7AJ_js.cn("h-px bg-gray-200 w-full", className)
61
+ }
62
+ );
63
+ }
64
+ );
65
+ Divider.displayName = "Divider";
66
+
67
+ exports.Divider = Divider;
@@ -0,0 +1,38 @@
1
+ import { cn } from './chunk-IMKLN273.mjs';
2
+ import * as React from 'react';
3
+ import { cva } from 'class-variance-authority';
4
+ import { jsx } from 'react/jsx-runtime';
5
+
6
+ var badgeVariants = cva("inline-flex items-center font-medium rounded-full", {
7
+ variants: {
8
+ variant: {
9
+ default: "bg-primary text-white",
10
+ secondary: "bg-secondary text-white",
11
+ accent: "bg-accent text-white",
12
+ success: "bg-green-500 text-white",
13
+ warning: "bg-yellow-500 text-white",
14
+ outline: "border border-primary text-primary bg-transparent"
15
+ },
16
+ size: {
17
+ sm: "px-2 py-0.5 text-xs",
18
+ md: "px-3 py-1 text-sm"
19
+ }
20
+ },
21
+ defaultVariants: {
22
+ variant: "default",
23
+ size: "sm"
24
+ }
25
+ });
26
+ var Badge = React.forwardRef(
27
+ ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
28
+ "span",
29
+ {
30
+ ref,
31
+ className: cn(badgeVariants({ variant, size, className })),
32
+ ...props
33
+ }
34
+ )
35
+ );
36
+ Badge.displayName = "Badge";
37
+
38
+ export { Badge, badgeVariants };
@@ -0,0 +1,72 @@
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 iconBadgeVariants = classVarianceAuthority.cva(
29
+ "inline-flex items-center justify-center rounded-full flex-shrink-0",
30
+ {
31
+ variants: {
32
+ variant: {
33
+ primary: "bg-primary/10 text-primary",
34
+ secondary: "bg-secondary/10 text-secondary",
35
+ accent: "bg-accent/10 text-accent",
36
+ success: "bg-green-100 text-green-600",
37
+ warning: "bg-amber-100 text-amber-600",
38
+ error: "bg-red-100 text-red-600",
39
+ info: "bg-blue-100 text-blue-600",
40
+ neutral: "bg-gray-100 text-gray-600"
41
+ },
42
+ size: {
43
+ sm: "w-8 h-8",
44
+ md: "w-10 h-10",
45
+ lg: "w-12 h-12",
46
+ xl: "w-16 h-16"
47
+ }
48
+ },
49
+ defaultVariants: {
50
+ variant: "secondary",
51
+ size: "md"
52
+ }
53
+ }
54
+ );
55
+ var IconBadge = React__namespace.forwardRef(
56
+ ({ variant, size, icon, className, ...props }, ref) => {
57
+ return /* @__PURE__ */ jsxRuntime.jsx(
58
+ "div",
59
+ {
60
+ ref,
61
+ className: chunkADIDI7AJ_js.cn(iconBadgeVariants({ variant, size }), className),
62
+ "aria-hidden": "true",
63
+ ...props,
64
+ children: icon
65
+ }
66
+ );
67
+ }
68
+ );
69
+ IconBadge.displayName = "IconBadge";
70
+
71
+ exports.IconBadge = IconBadge;
72
+ exports.iconBadgeVariants = iconBadgeVariants;