@lssm/lib.ui-kit-web 0.0.0-canary-20251217083314 → 0.0.0-canary-20251220002821

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 (399) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -0
  3. package/dist/ui/accordion.d.ts +7 -6
  4. package/dist/ui/accordion.d.ts.map +1 -0
  5. package/dist/ui/accordion.js +2 -1
  6. package/dist/ui/accordion.js.map +1 -0
  7. package/dist/ui/alert-dialog.d.ts +14 -13
  8. package/dist/ui/alert-dialog.d.ts.map +1 -0
  9. package/dist/ui/alert-dialog.js +2 -1
  10. package/dist/ui/alert-dialog.js.map +1 -0
  11. package/dist/ui/alert.d.ts +8 -7
  12. package/dist/ui/alert.d.ts.map +1 -0
  13. package/dist/ui/alert.js +2 -1
  14. package/dist/ui/alert.js.map +1 -0
  15. package/dist/ui/aspect-ratio.d.ts +4 -3
  16. package/dist/ui/aspect-ratio.d.ts.map +1 -0
  17. package/dist/ui/aspect-ratio.js +2 -1
  18. package/dist/ui/aspect-ratio.js.map +1 -0
  19. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +2 -1
  20. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts.map +1 -0
  21. package/dist/ui/atoms/FilterSelect/FilterSelect.js +2 -1
  22. package/dist/ui/atoms/FilterSelect/FilterSelect.js.map +1 -0
  23. package/dist/ui/atoms/FilterSelect/types.d.ts +2 -1
  24. package/dist/ui/atoms/FilterSelect/types.d.ts.map +1 -0
  25. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +2 -1
  26. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts.map +1 -0
  27. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +2 -1
  28. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js.map +1 -0
  29. package/dist/ui/atoms/Pagination/Pagination.d.ts +2 -1
  30. package/dist/ui/atoms/Pagination/Pagination.d.ts.map +1 -0
  31. package/dist/ui/atoms/Pagination/Pagination.js +2 -1
  32. package/dist/ui/atoms/Pagination/Pagination.js.map +1 -0
  33. package/dist/ui/atoms/Pagination/types.d.ts +2 -1
  34. package/dist/ui/atoms/Pagination/types.d.ts.map +1 -0
  35. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +2 -1
  36. package/dist/ui/atoms/SearchInput/SearchInput.d.ts.map +1 -0
  37. package/dist/ui/atoms/SearchInput/SearchInput.js +2 -1
  38. package/dist/ui/atoms/SearchInput/SearchInput.js.map +1 -0
  39. package/dist/ui/atoms/SearchInput/types.d.ts +2 -1
  40. package/dist/ui/atoms/SearchInput/types.d.ts.map +1 -0
  41. package/dist/ui/avatar.d.ts +6 -5
  42. package/dist/ui/avatar.d.ts.map +1 -0
  43. package/dist/ui/avatar.js +2 -1
  44. package/dist/ui/avatar.js.map +1 -0
  45. package/dist/ui/badge.d.ts +7 -6
  46. package/dist/ui/badge.d.ts.map +1 -0
  47. package/dist/ui/badge.js +2 -1
  48. package/dist/ui/badge.js.map +1 -0
  49. package/dist/ui/breadcrumb.d.ts +10 -9
  50. package/dist/ui/breadcrumb.d.ts.map +1 -0
  51. package/dist/ui/breadcrumb.js +2 -1
  52. package/dist/ui/breadcrumb.js.map +1 -0
  53. package/dist/ui/button.d.ts +7 -6
  54. package/dist/ui/button.d.ts.map +1 -0
  55. package/dist/ui/button.js +2 -1
  56. package/dist/ui/button.js.map +1 -0
  57. package/dist/ui/calendar.d.ts +5 -4
  58. package/dist/ui/calendar.d.ts.map +1 -0
  59. package/dist/ui/calendar.js +2 -1
  60. package/dist/ui/calendar.js.map +1 -0
  61. package/dist/ui/card.d.ts +10 -9
  62. package/dist/ui/card.d.ts.map +1 -0
  63. package/dist/ui/card.js +2 -1
  64. package/dist/ui/card.js.map +1 -0
  65. package/dist/ui/carousel.d.ts +8 -7
  66. package/dist/ui/carousel.d.ts.map +1 -0
  67. package/dist/ui/carousel.js +2 -1
  68. package/dist/ui/carousel.js.map +1 -0
  69. package/dist/ui/checkbox.d.ts +4 -3
  70. package/dist/ui/checkbox.d.ts.map +1 -0
  71. package/dist/ui/checkbox.js +2 -1
  72. package/dist/ui/checkbox.js.map +1 -0
  73. package/dist/ui/collapsible.d.ts +6 -5
  74. package/dist/ui/collapsible.d.ts.map +1 -0
  75. package/dist/ui/collapsible.js +2 -1
  76. package/dist/ui/collapsible.js.map +1 -0
  77. package/dist/ui/command.d.ts +12 -11
  78. package/dist/ui/command.d.ts.map +1 -0
  79. package/dist/ui/command.js +2 -1
  80. package/dist/ui/command.js.map +1 -0
  81. package/dist/ui/confirm-dialog.d.ts +4 -3
  82. package/dist/ui/confirm-dialog.d.ts.map +1 -0
  83. package/dist/ui/confirm-dialog.js +2 -1
  84. package/dist/ui/confirm-dialog.js.map +1 -0
  85. package/dist/ui/context-menu.d.ts +4 -3
  86. package/dist/ui/context-menu.d.ts.map +1 -0
  87. package/dist/ui/context-menu.js +2 -1
  88. package/dist/ui/context-menu.js.map +1 -0
  89. package/dist/ui/cta.d.ts +2 -1
  90. package/dist/ui/cta.d.ts.map +1 -0
  91. package/dist/ui/cta.js +2 -1
  92. package/dist/ui/cta.js.map +1 -0
  93. package/dist/ui/date-picker.d.ts +4 -3
  94. package/dist/ui/date-picker.d.ts.map +1 -0
  95. package/dist/ui/date-picker.js +2 -1
  96. package/dist/ui/date-picker.js.map +1 -0
  97. package/dist/ui/date-range-picker.d.ts +4 -3
  98. package/dist/ui/date-range-picker.d.ts.map +1 -0
  99. package/dist/ui/date-range-picker.js +2 -1
  100. package/dist/ui/date-range-picker.js.map +1 -0
  101. package/dist/ui/datetime-picker.d.ts +4 -3
  102. package/dist/ui/datetime-picker.d.ts.map +1 -0
  103. package/dist/ui/datetime-picker.js +2 -1
  104. package/dist/ui/datetime-picker.js.map +1 -0
  105. package/dist/ui/dialog.d.ts +13 -12
  106. package/dist/ui/dialog.d.ts.map +1 -0
  107. package/dist/ui/dialog.js +2 -1
  108. package/dist/ui/dialog.js.map +1 -0
  109. package/dist/ui/drawer.d.ts +13 -12
  110. package/dist/ui/drawer.d.ts.map +1 -0
  111. package/dist/ui/drawer.js +2 -1
  112. package/dist/ui/drawer.js.map +1 -0
  113. package/dist/ui/dropdown-menu.d.ts +18 -17
  114. package/dist/ui/dropdown-menu.d.ts.map +1 -0
  115. package/dist/ui/dropdown-menu.js +2 -1
  116. package/dist/ui/dropdown-menu.js.map +1 -0
  117. package/dist/ui/empty-state.d.ts +6 -5
  118. package/dist/ui/empty-state.d.ts.map +1 -0
  119. package/dist/ui/empty-state.js +2 -1
  120. package/dist/ui/empty-state.js.map +1 -0
  121. package/dist/ui/empty.d.ts +11 -10
  122. package/dist/ui/empty.d.ts.map +1 -0
  123. package/dist/ui/empty.js +2 -1
  124. package/dist/ui/empty.js.map +1 -0
  125. package/dist/ui/field.d.ts +15 -14
  126. package/dist/ui/field.d.ts.map +1 -0
  127. package/dist/ui/field.js +2 -1
  128. package/dist/ui/field.js.map +1 -0
  129. package/dist/ui/focus-on-route-change.d.ts +2 -1
  130. package/dist/ui/focus-on-route-change.d.ts.map +1 -0
  131. package/dist/ui/focus-on-route-change.js +2 -1
  132. package/dist/ui/focus-on-route-change.js.map +1 -0
  133. package/dist/ui/form.d.ts +9 -8
  134. package/dist/ui/form.d.ts.map +1 -0
  135. package/dist/ui/form.js +2 -1
  136. package/dist/ui/form.js.map +1 -0
  137. package/dist/ui/hover-card.d.ts +6 -5
  138. package/dist/ui/hover-card.d.ts.map +1 -0
  139. package/dist/ui/hover-card.js +2 -1
  140. package/dist/ui/hover-card.js.map +1 -0
  141. package/dist/ui/input-group.d.ts +12 -11
  142. package/dist/ui/input-group.d.ts.map +1 -0
  143. package/dist/ui/input-group.js +8 -1
  144. package/dist/ui/input-group.js.map +1 -0
  145. package/dist/ui/input-otp.d.ts +2 -1
  146. package/dist/ui/input-otp.d.ts.map +1 -0
  147. package/dist/ui/input-otp.js +2 -1
  148. package/dist/ui/input-otp.js.map +1 -0
  149. package/dist/ui/input.d.ts +4 -3
  150. package/dist/ui/input.d.ts.map +1 -0
  151. package/dist/ui/input.js +2 -1
  152. package/dist/ui/input.js.map +1 -0
  153. package/dist/ui/label.d.ts +4 -3
  154. package/dist/ui/label.d.ts.map +1 -0
  155. package/dist/ui/label.js +2 -1
  156. package/dist/ui/label.js.map +1 -0
  157. package/dist/ui/link.d.ts +5 -4
  158. package/dist/ui/link.d.ts.map +1 -0
  159. package/dist/ui/link.js +2 -1
  160. package/dist/ui/link.js.map +1 -0
  161. package/dist/ui/live-region.d.ts +4 -3
  162. package/dist/ui/live-region.d.ts.map +1 -0
  163. package/dist/ui/live-region.js +2 -1
  164. package/dist/ui/live-region.js.map +1 -0
  165. package/dist/ui/loading-button.d.ts +4 -3
  166. package/dist/ui/loading-button.d.ts.map +1 -0
  167. package/dist/ui/loading-button.js +2 -1
  168. package/dist/ui/loading-button.js.map +1 -0
  169. package/dist/ui/map/MapBase.d.ts +4 -4
  170. package/dist/ui/map/MapBase.d.ts.map +1 -0
  171. package/dist/ui/map/MapBase.js +3 -2
  172. package/dist/ui/map/MapBase.js.map +1 -0
  173. package/dist/ui/map/MapGeoJsonOverlay.d.ts +4 -3
  174. package/dist/ui/map/MapGeoJsonOverlay.d.ts.map +1 -0
  175. package/dist/ui/map/MapGeoJsonOverlay.js +2 -1
  176. package/dist/ui/map/MapGeoJsonOverlay.js.map +1 -0
  177. package/dist/ui/map/MapHeatmapH3.d.ts +4 -3
  178. package/dist/ui/map/MapHeatmapH3.d.ts.map +1 -0
  179. package/dist/ui/map/MapHeatmapH3.js +3 -2
  180. package/dist/ui/map/MapHeatmapH3.js.map +1 -0
  181. package/dist/ui/map/MapMarkers.d.ts +4 -3
  182. package/dist/ui/map/MapMarkers.d.ts.map +1 -0
  183. package/dist/ui/map/MapMarkers.js +9 -2
  184. package/dist/ui/map/MapMarkers.js.map +1 -0
  185. package/dist/ui/marketing/FeatureGrid.d.ts +4 -3
  186. package/dist/ui/marketing/FeatureGrid.d.ts.map +1 -0
  187. package/dist/ui/marketing/FeatureGrid.js +2 -1
  188. package/dist/ui/marketing/FeatureGrid.js.map +1 -0
  189. package/dist/ui/marketing/Hero.d.ts +4 -3
  190. package/dist/ui/marketing/Hero.d.ts.map +1 -0
  191. package/dist/ui/marketing/Hero.js +2 -1
  192. package/dist/ui/marketing/Hero.js.map +1 -0
  193. package/dist/ui/marketing/PricingTable.d.ts +4 -3
  194. package/dist/ui/marketing/PricingTable.d.ts.map +1 -0
  195. package/dist/ui/marketing/PricingTable.js +2 -1
  196. package/dist/ui/marketing/PricingTable.js.map +1 -0
  197. package/dist/ui/menubar.d.ts +19 -18
  198. package/dist/ui/menubar.d.ts.map +1 -0
  199. package/dist/ui/menubar.js +2 -1
  200. package/dist/ui/menubar.js.map +1 -0
  201. package/dist/ui/molecules/Autocomplete/index.d.ts +4 -3
  202. package/dist/ui/molecules/Autocomplete/index.d.ts.map +1 -0
  203. package/dist/ui/molecules/Autocomplete/index.js +2 -1
  204. package/dist/ui/molecules/Autocomplete/index.js.map +1 -0
  205. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +2 -1
  206. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts.map +1 -0
  207. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +2 -1
  208. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +1 -0
  209. package/dist/ui/molecules/SearchAndFilter/types.d.ts +2 -1
  210. package/dist/ui/molecules/SearchAndFilter/types.d.ts.map +1 -0
  211. package/dist/ui/molecules/SkeletonList.d.ts +4 -3
  212. package/dist/ui/molecules/SkeletonList.d.ts.map +1 -0
  213. package/dist/ui/molecules/SkeletonList.js +2 -1
  214. package/dist/ui/molecules/SkeletonList.js.map +1 -0
  215. package/dist/ui/nav-layout.d.ts +10 -9
  216. package/dist/ui/nav-layout.d.ts.map +1 -0
  217. package/dist/ui/nav-layout.js +3 -2
  218. package/dist/ui/nav-layout.js.map +1 -0
  219. package/dist/ui/navigation-menu.d.ts +13 -12
  220. package/dist/ui/navigation-menu.d.ts.map +1 -0
  221. package/dist/ui/navigation-menu.js +2 -1
  222. package/dist/ui/navigation-menu.js.map +1 -0
  223. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +4 -3
  224. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +1 -0
  225. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +2 -1
  226. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +1 -0
  227. package/dist/ui/organisms/ListPage/ListPage.d.ts +4 -3
  228. package/dist/ui/organisms/ListPage/ListPage.d.ts.map +1 -0
  229. package/dist/ui/organisms/ListPage/ListPage.js +2 -1
  230. package/dist/ui/organisms/ListPage/ListPage.js.map +1 -0
  231. package/dist/ui/organisms/ListPage/types.d.ts +2 -1
  232. package/dist/ui/organisms/ListPage/types.d.ts.map +1 -0
  233. package/dist/ui/page-header.d.ts +6 -5
  234. package/dist/ui/page-header.d.ts.map +1 -0
  235. package/dist/ui/page-header.js +2 -1
  236. package/dist/ui/page-header.js.map +1 -0
  237. package/dist/ui/pagination.d.ts +8 -7
  238. package/dist/ui/pagination.d.ts.map +1 -0
  239. package/dist/ui/pagination.js +2 -1
  240. package/dist/ui/pagination.js.map +1 -0
  241. package/dist/ui/popover.d.ts +7 -6
  242. package/dist/ui/popover.d.ts.map +1 -0
  243. package/dist/ui/popover.js +2 -1
  244. package/dist/ui/popover.js.map +1 -0
  245. package/dist/ui/progress.d.ts +4 -3
  246. package/dist/ui/progress.d.ts.map +1 -0
  247. package/dist/ui/progress.js +2 -1
  248. package/dist/ui/progress.js.map +1 -0
  249. package/dist/ui/radio-group.d.ts +5 -4
  250. package/dist/ui/radio-group.d.ts.map +1 -0
  251. package/dist/ui/radio-group.js +2 -1
  252. package/dist/ui/radio-group.js.map +1 -0
  253. package/dist/ui/resizable.d.ts +9 -8
  254. package/dist/ui/resizable.d.ts.map +1 -0
  255. package/dist/ui/resizable.js +2 -1
  256. package/dist/ui/resizable.js.map +1 -0
  257. package/dist/ui/route-announcer.d.ts +4 -3
  258. package/dist/ui/route-announcer.d.ts.map +1 -0
  259. package/dist/ui/route-announcer.js +2 -1
  260. package/dist/ui/route-announcer.js.map +1 -0
  261. package/dist/ui/scroll-area.d.ts +5 -4
  262. package/dist/ui/scroll-area.d.ts.map +1 -0
  263. package/dist/ui/scroll-area.js +2 -1
  264. package/dist/ui/scroll-area.js.map +1 -0
  265. package/dist/ui/section.d.ts +7 -6
  266. package/dist/ui/section.d.ts.map +1 -0
  267. package/dist/ui/section.js +2 -1
  268. package/dist/ui/section.js.map +1 -0
  269. package/dist/ui/select.d.ts +13 -12
  270. package/dist/ui/select.d.ts.map +1 -0
  271. package/dist/ui/select.js +2 -1
  272. package/dist/ui/select.js.map +1 -0
  273. package/dist/ui/separator.d.ts +4 -3
  274. package/dist/ui/separator.d.ts.map +1 -0
  275. package/dist/ui/separator.js +2 -1
  276. package/dist/ui/separator.js.map +1 -0
  277. package/dist/ui/sheet.d.ts +11 -10
  278. package/dist/ui/sheet.d.ts.map +1 -0
  279. package/dist/ui/sheet.js +2 -1
  280. package/dist/ui/sheet.js.map +1 -0
  281. package/dist/ui/sidebar.d.ts +28 -27
  282. package/dist/ui/sidebar.d.ts.map +1 -0
  283. package/dist/ui/sidebar.js +2 -1
  284. package/dist/ui/sidebar.js.map +1 -0
  285. package/dist/ui/skeleton.d.ts +4 -3
  286. package/dist/ui/skeleton.d.ts.map +1 -0
  287. package/dist/ui/skeleton.js +2 -1
  288. package/dist/ui/skeleton.js.map +1 -0
  289. package/dist/ui/skip-link.d.ts +4 -3
  290. package/dist/ui/skip-link.d.ts.map +1 -0
  291. package/dist/ui/skip-link.js +2 -1
  292. package/dist/ui/skip-link.js.map +1 -0
  293. package/dist/ui/slider.d.ts +4 -3
  294. package/dist/ui/slider.d.ts.map +1 -0
  295. package/dist/ui/slider.js +2 -1
  296. package/dist/ui/slider.js.map +1 -0
  297. package/dist/ui/sonner.d.ts +4 -3
  298. package/dist/ui/sonner.d.ts.map +1 -0
  299. package/dist/ui/sonner.js +2 -1
  300. package/dist/ui/sonner.js.map +1 -0
  301. package/dist/ui/stack.d.ts +15 -14
  302. package/dist/ui/stack.d.ts.map +1 -0
  303. package/dist/ui/stack.js +2 -1
  304. package/dist/ui/stack.js.map +1 -0
  305. package/dist/ui/stat-card-group.d.ts +4 -3
  306. package/dist/ui/stat-card-group.d.ts.map +1 -0
  307. package/dist/ui/stat-card-group.js +2 -1
  308. package/dist/ui/stat-card-group.js.map +1 -0
  309. package/dist/ui/stepper.d.ts +6 -5
  310. package/dist/ui/stepper.d.ts.map +1 -0
  311. package/dist/ui/stepper.js +2 -1
  312. package/dist/ui/stepper.js.map +1 -0
  313. package/dist/ui/switch.d.ts +4 -3
  314. package/dist/ui/switch.d.ts.map +1 -0
  315. package/dist/ui/switch.js +2 -2
  316. package/dist/ui/switch.js.map +1 -0
  317. package/dist/ui/table.d.ts +11 -10
  318. package/dist/ui/table.d.ts.map +1 -0
  319. package/dist/ui/table.js +2 -1
  320. package/dist/ui/table.js.map +1 -0
  321. package/dist/ui/tabs.d.ts +7 -6
  322. package/dist/ui/tabs.d.ts.map +1 -0
  323. package/dist/ui/tabs.js +2 -1
  324. package/dist/ui/tabs.js.map +1 -0
  325. package/dist/ui/text.d.ts +4 -3
  326. package/dist/ui/text.d.ts.map +1 -0
  327. package/dist/ui/text.js +2 -1
  328. package/dist/ui/text.js.map +1 -0
  329. package/dist/ui/textarea.d.ts +4 -3
  330. package/dist/ui/textarea.d.ts.map +1 -0
  331. package/dist/ui/textarea.js +2 -1
  332. package/dist/ui/textarea.js.map +1 -0
  333. package/dist/ui/time-picker.d.ts +4 -3
  334. package/dist/ui/time-picker.d.ts.map +1 -0
  335. package/dist/ui/time-picker.js +2 -1
  336. package/dist/ui/time-picker.js.map +1 -0
  337. package/dist/ui/toast.d.ts +4 -3
  338. package/dist/ui/toast.d.ts.map +1 -0
  339. package/dist/ui/toast.js +2 -1
  340. package/dist/ui/toast.js.map +1 -0
  341. package/dist/ui/toaster.d.ts +4 -3
  342. package/dist/ui/toaster.d.ts.map +1 -0
  343. package/dist/ui/toaster.js +2 -1
  344. package/dist/ui/toaster.js.map +1 -0
  345. package/dist/ui/toggle-group.d.ts +5 -4
  346. package/dist/ui/toggle-group.d.ts.map +1 -0
  347. package/dist/ui/toggle-group.js +2 -1
  348. package/dist/ui/toggle-group.js.map +1 -0
  349. package/dist/ui/toggle.d.ts +6 -5
  350. package/dist/ui/toggle.d.ts.map +1 -0
  351. package/dist/ui/toggle.js +2 -1
  352. package/dist/ui/toggle.js.map +1 -0
  353. package/dist/ui/tooltip.d.ts +7 -6
  354. package/dist/ui/tooltip.d.ts.map +1 -0
  355. package/dist/ui/tooltip.js +2 -1
  356. package/dist/ui/tooltip.js.map +1 -0
  357. package/dist/ui/typography.d.ts +14 -13
  358. package/dist/ui/typography.d.ts.map +1 -0
  359. package/dist/ui/typography.js +2 -1
  360. package/dist/ui/typography.js.map +1 -0
  361. package/dist/ui/use-media-query.d.ts +2 -1
  362. package/dist/ui/use-media-query.d.ts.map +1 -0
  363. package/dist/ui/use-media-query.js +2 -1
  364. package/dist/ui/use-media-query.js.map +1 -0
  365. package/dist/ui/use-mobile.d.ts +2 -1
  366. package/dist/ui/use-mobile.d.ts.map +1 -0
  367. package/dist/ui/use-mobile.js +2 -1
  368. package/dist/ui/use-mobile.js.map +1 -0
  369. package/dist/ui/use-reduced-motion.d.ts +2 -1
  370. package/dist/ui/use-reduced-motion.d.ts.map +1 -0
  371. package/dist/ui/use-reduced-motion.js +2 -1
  372. package/dist/ui/use-reduced-motion.js.map +1 -0
  373. package/dist/ui/use-toast.d.ts +2 -1
  374. package/dist/ui/use-toast.d.ts.map +1 -0
  375. package/dist/ui/use-toast.js +2 -1
  376. package/dist/ui/use-toast.js.map +1 -0
  377. package/dist/ui/useListState.d.ts +2 -1
  378. package/dist/ui/useListState.d.ts.map +1 -0
  379. package/dist/ui/useListState.js +2 -1
  380. package/dist/ui/useListState.js.map +1 -0
  381. package/dist/ui/usecases/UseCaseCard.d.ts +4 -3
  382. package/dist/ui/usecases/UseCaseCard.d.ts.map +1 -0
  383. package/dist/ui/usecases/UseCaseCard.js +2 -1
  384. package/dist/ui/usecases/UseCaseCard.js.map +1 -0
  385. package/dist/ui/usecases/UserStoryCard.d.ts +4 -3
  386. package/dist/ui/usecases/UserStoryCard.d.ts.map +1 -0
  387. package/dist/ui/usecases/UserStoryCard.js +2 -1
  388. package/dist/ui/usecases/UserStoryCard.js.map +1 -0
  389. package/dist/ui/utils.d.ts +2 -1
  390. package/dist/ui/utils.d.ts.map +1 -0
  391. package/dist/ui/utils.js +2 -1
  392. package/dist/ui/utils.js.map +1 -0
  393. package/dist/ui/visually-hidden.d.ts +2 -1
  394. package/dist/ui/visually-hidden.d.ts.map +1 -0
  395. package/dist/ui/visually-hidden.js +2 -1
  396. package/dist/ui/visually-hidden.js.map +1 -0
  397. package/dist/ui-kit-core/dist/utils.js +2 -1
  398. package/dist/ui-kit-core/dist/utils.js.map +1 -0
  399. package/package.json +18 -11
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Chaman Ventures, SASU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -90,6 +90,9 @@ export function LoginModal() {
90
90
 
91
91
 
92
92
 
93
+
94
+
95
+
93
96
 
94
97
 
95
98
 
@@ -1,24 +1,25 @@
1
1
  import * as React$1 from "react";
2
2
  import * as AccordionPrimitive from "@radix-ui/react-accordion";
3
- import * as react_jsx_runtime14 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region ui/accordion.d.ts
6
6
  declare function Accordion({
7
7
  ...props
8
- }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime14.JSX.Element;
8
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime0.JSX.Element;
9
9
  declare function AccordionItem({
10
10
  className,
11
11
  ...props
12
- }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime14.JSX.Element;
12
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime0.JSX.Element;
13
13
  declare function AccordionTrigger({
14
14
  className,
15
15
  children,
16
16
  ...props
17
- }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime14.JSX.Element;
17
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime0.JSX.Element;
18
18
  declare function AccordionContent({
19
19
  className,
20
20
  children,
21
21
  ...props
22
- }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime14.JSX.Element;
22
+ }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime0.JSX.Element;
23
23
  //#endregion
24
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
24
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
25
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.d.ts","names":[],"sources":["../../ui/accordion.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQS,SAAA;;GAEN,OAAA,CAAM,sBAAsB,kBAAA,CAAmB,QAAK,kBAAA,CAAA,GAAA,CAAA;iBAI9C,aAAA;;;GAGN,OAAA,CAAM,sBAAsB,kBAAA,CAAmB,QAAK,kBAAA,CAAA,GAAA,CAAA;iBAU9C,gBAAA;;;;GAIN,OAAA,CAAM,sBAAsB,kBAAA,CAAmB,WAAQ,kBAAA,CAAA,GAAA,CAAA;AA5BM,iBA8CvD,gBAAA,CAzCS;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA6Cf,OAAA,CAAM,cA7CS,CAAA,OA6Ca,kBAAA,CAAmB,OA7ChC,CAAA,CAAA,EA6CwC,kBAAA,CAAA,GAAA,CAAA,OA7CxC"}
@@ -44,4 +44,5 @@ function AccordionContent({ className, children, ...props }) {
44
44
  }
45
45
 
46
46
  //#endregion
47
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
47
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
48
+ //# sourceMappingURL=accordion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.js","names":[],"sources":["../../ui/accordion.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AccordionPrimitive from '@radix-ui/react-accordion';\nimport { ChevronDownIcon } from 'lucide-react';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nfunction Accordion({\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Root>) {\n return <AccordionPrimitive.Root data-slot=\"accordion\" {...props} />;\n}\n\nfunction AccordionItem({\n className,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Item>) {\n return (\n <AccordionPrimitive.Item\n data-slot=\"accordion-item\"\n className={cn('border-b last:border-b-0', className)}\n {...props}\n />\n );\n}\n\nfunction AccordionTrigger({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Trigger>) {\n return (\n <AccordionPrimitive.Header className=\"flex\">\n <AccordionPrimitive.Trigger\n data-slot=\"accordion-trigger\"\n className={cn(\n 'focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium outline-hidden transition-all hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180',\n className\n )}\n {...props}\n >\n {children}\n <ChevronDownIcon className=\"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200\" />\n </AccordionPrimitive.Trigger>\n </AccordionPrimitive.Header>\n );\n}\n\nfunction AccordionContent({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof AccordionPrimitive.Content>) {\n return (\n <AccordionPrimitive.Content\n data-slot=\"accordion-content\"\n className=\"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm\"\n {...props}\n >\n <div className={cn('pt-0 pb-4', className)}>{children}</div>\n </AccordionPrimitive.Content>\n );\n}\n\nexport { Accordion, AccordionItem, AccordionTrigger, AccordionContent };\n"],"mappings":";;;;;;;;;AAQA,SAAS,UAAU,EACjB,GAAG,SACoD;AACvD,QAAO,oBAAC,mBAAmB;EAAK,aAAU;EAAY,GAAI;GAAS;;AAGrE,SAAS,cAAc,EACrB,WACA,GAAG,SACoD;AACvD,QACE,oBAAC,mBAAmB;EAClB,aAAU;EACV,WAAW,GAAG,4BAA4B,UAAU;EACpD,GAAI;GACJ;;AAIN,SAAS,iBAAiB,EACxB,WACA,UACA,GAAG,SACuD;AAC1D,QACE,oBAAC,mBAAmB;EAAO,WAAU;YACnC,qBAAC,mBAAmB;GAClB,aAAU;GACV,WAAW,GACT,gTACA,UACD;GACD,GAAI;cAEH,UACD,oBAAC,mBAAgB,WAAU,gHAAgH;IAChH;GACH;;AAIhC,SAAS,iBAAiB,EACxB,WACA,UACA,GAAG,SACuD;AAC1D,QACE,oBAAC,mBAAmB;EAClB,aAAU;EACV,WAAU;EACV,GAAI;YAEJ,oBAAC;GAAI,WAAW,GAAG,aAAa,UAAU;GAAG;IAAe;GACjC"}
@@ -1,48 +1,49 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
3
3
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
4
4
 
5
5
  //#region ui/alert-dialog.d.ts
6
6
  declare function AlertDialog({
7
7
  ...props
8
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime0.JSX.Element;
8
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime5.JSX.Element;
9
9
  declare function AlertDialogTrigger({
10
10
  ...props
11
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime0.JSX.Element;
11
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime5.JSX.Element;
12
12
  declare function AlertDialogPortal({
13
13
  ...props
14
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime0.JSX.Element;
14
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime5.JSX.Element;
15
15
  declare function AlertDialogOverlay({
16
16
  className,
17
17
  ...props
18
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime0.JSX.Element;
18
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime5.JSX.Element;
19
19
  declare function AlertDialogContent({
20
20
  className,
21
21
  ...props
22
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime0.JSX.Element;
22
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime5.JSX.Element;
23
23
  declare function AlertDialogHeader({
24
24
  className,
25
25
  ...props
26
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime0.JSX.Element;
26
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime5.JSX.Element;
27
27
  declare function AlertDialogFooter({
28
28
  className,
29
29
  ...props
30
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime0.JSX.Element;
30
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime5.JSX.Element;
31
31
  declare function AlertDialogTitle({
32
32
  className,
33
33
  ...props
34
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime0.JSX.Element;
34
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime5.JSX.Element;
35
35
  declare function AlertDialogDescription({
36
36
  className,
37
37
  ...props
38
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime0.JSX.Element;
38
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime5.JSX.Element;
39
39
  declare function AlertDialogAction({
40
40
  className,
41
41
  ...props
42
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime0.JSX.Element;
42
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime5.JSX.Element;
43
43
  declare function AlertDialogCancel({
44
44
  className,
45
45
  ...props
46
- }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime0.JSX.Element;
46
+ }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime5.JSX.Element;
47
47
  //#endregion
48
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
48
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
49
+ //# sourceMappingURL=alert-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.d.ts","names":[],"sources":["../../ui/alert-dialog.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQS,WAAA;;GAEN,OAAA,CAAM,sBAAsB,oBAAA,CAAqB,QAAK,kBAAA,CAAA,GAAA,CAAA;iBAIhD,kBAAA;;GAEN,OAAA,CAAM,sBAAsB,oBAAA,CAAqB,WAAQ,kBAAA,CAAA,GAAA,CAAA;iBAMnD,iBAAA;;GAEN,OAAA,CAAM,sBAAsB,oBAAA,CAAqB,UAAO,kBAAA,CAAA,GAAA,CAAA;AArBU,iBA2B5D,kBAAA,CAtBW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyBjB,OAAA,CAAM,cAzBW,CAAA,OAyBW,oBAAA,CAAqB,OAzBhC,CAAA,CAAA,EAyBwC,kBAAA,CAAA,GAAA,CAAA,OAzBxC;iBAsCX,kBAAA,CApC2C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuCjD,OAAA,CAAM,cAvC2C,CAAA,OAuCrB,oBAAA,CAAqB,OAvCA,CAAA,CAAA,EAuCQ,kBAAA,CAAA,GAAA,CAAA,OAvCR;iBAuD3C,iBAAA,CAvDA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0DN,OAAA,CAAM,wBA1DA,CAAA,KAAA,CAAA,CAAA,EA0D+B,kBAAA,CAAA,GAAA,CAAA,OA1D/B;iBAoEA,iBAAA,CApEgD;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuEtD,OAAA,CAAM,wBAvEgD,CAAA,KAAA,CAAA,CAAA,EAuEjB,kBAAA,CAAA,GAAA,CAAA,OAvEiB;iBAoFhD,gBAAA,CApFgD;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuFtD,OAAA,CAAM,cAvFgD,CAAA,OAuF1B,oBAAA,CAAqB,KAvFK,CAAA,CAAA,EAuFC,kBAAA,CAAA,GAAA,CAAA,OAvFD;AAAA,iBAiGhD,sBAAA,CA7FkB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgGxB,OAAA,CAAM,cAhGkB,CAAA,OAgGI,oBAAA,CAAqB,WAhGzB,CAAA,CAAA,EAgGqC,kBAAA,CAAA,GAAA,CAAA,OAhGrC;iBA0GlB,iBAAA,CAxG2C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2GjD,OAAA,CAAM,cA3G2C,CAAA,OA2GrB,oBAAA,CAAqB,MA3GA,CAAA,CAAA,EA2GO,kBAAA,CAAA,GAAA,CAAA,OA3GP;iBAoH3C,iBAAA,CApHA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAuHN,OAAA,CAAM,cAvHA,CAAA,OAuHsB,oBAAA,CAAqB,MAvH3C,CAAA,CAAA,EAuHkD,kBAAA,CAAA,GAAA,CAAA,OAvHlD"}
@@ -81,4 +81,5 @@ function AlertDialogCancel({ className, ...props }) {
81
81
  }
82
82
 
83
83
  //#endregion
84
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
84
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
85
+ //# sourceMappingURL=alert-dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.js","names":[],"sources":["../../ui/alert-dialog.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\nimport { buttonVariants } from './button';\n\nfunction AlertDialog({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Root>) {\n return <AlertDialogPrimitive.Root data-slot=\"alert-dialog\" {...props} />;\n}\n\nfunction AlertDialogTrigger({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>) {\n return (\n <AlertDialogPrimitive.Trigger data-slot=\"alert-dialog-trigger\" {...props} />\n );\n}\n\nfunction AlertDialogPortal({\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Portal>) {\n return (\n <AlertDialogPrimitive.Portal data-slot=\"alert-dialog-portal\" {...props} />\n );\n}\n\nfunction AlertDialogOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>) {\n return (\n <AlertDialogPrimitive.Overlay\n data-slot=\"alert-dialog-overlay\"\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction AlertDialogContent({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Content>) {\n return (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n data-slot=\"alert-dialog-content\"\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n );\n}\n\nfunction AlertDialogHeader({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"alert-dialog-header\"\n className={cn('flex flex-col gap-2 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\nfunction AlertDialogFooter({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"alert-dialog-footer\"\n className={cn(\n 'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction AlertDialogTitle({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Title>) {\n return (\n <AlertDialogPrimitive.Title\n data-slot=\"alert-dialog-title\"\n className={cn('text-lg font-semibold', className)}\n {...props}\n />\n );\n}\n\nfunction AlertDialogDescription({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Description>) {\n return (\n <AlertDialogPrimitive.Description\n data-slot=\"alert-dialog-description\"\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction AlertDialogAction({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Action>) {\n return (\n <AlertDialogPrimitive.Action\n className={cn(buttonVariants(), className)}\n {...props}\n />\n );\n}\n\nfunction AlertDialogCancel({\n className,\n ...props\n}: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>) {\n return (\n <AlertDialogPrimitive.Cancel\n className={cn(buttonVariants({ variant: 'outline' }), className)}\n {...props}\n />\n );\n}\n\nexport {\n AlertDialog,\n AlertDialogPortal,\n AlertDialogOverlay,\n AlertDialogTrigger,\n AlertDialogContent,\n AlertDialogHeader,\n AlertDialogFooter,\n AlertDialogTitle,\n AlertDialogDescription,\n AlertDialogAction,\n AlertDialogCancel,\n};\n"],"mappings":";;;;;;;;;AAQA,SAAS,YAAY,EACnB,GAAG,SACsD;AACzD,QAAO,oBAAC,qBAAqB;EAAK,aAAU;EAAe,GAAI;GAAS;;AAG1E,SAAS,mBAAmB,EAC1B,GAAG,SACyD;AAC5D,QACE,oBAAC,qBAAqB;EAAQ,aAAU;EAAuB,GAAI;GAAS;;AAIhF,SAAS,kBAAkB,EACzB,GAAG,SACwD;AAC3D,QACE,oBAAC,qBAAqB;EAAO,aAAU;EAAsB,GAAI;GAAS;;AAI9E,SAAS,mBAAmB,EAC1B,WACA,GAAG,SACyD;AAC5D,QACE,oBAAC,qBAAqB;EACpB,aAAU;EACV,WAAW,GACT,0JACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,mBAAmB,EAC1B,WACA,GAAG,SACyD;AAC5D,QACE,qBAAC,gCACC,oBAAC,uBAAqB,EACtB,oBAAC,qBAAqB;EACpB,aAAU;EACV,WAAW,GACT,+WACA,UACD;EACD,GAAI;GACJ,IACgB;;AAIxB,SAAS,kBAAkB,EACzB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,gDAAgD,UAAU;EACxE,GAAI;GACJ;;AAIN,SAAS,kBAAkB,EACzB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,0DACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,iBAAiB,EACxB,WACA,GAAG,SACuD;AAC1D,QACE,oBAAC,qBAAqB;EACpB,aAAU;EACV,WAAW,GAAG,yBAAyB,UAAU;EACjD,GAAI;GACJ;;AAIN,SAAS,uBAAuB,EAC9B,WACA,GAAG,SAC6D;AAChE,QACE,oBAAC,qBAAqB;EACpB,aAAU;EACV,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ;;AAIN,SAAS,kBAAkB,EACzB,WACA,GAAG,SACwD;AAC3D,QACE,oBAAC,qBAAqB;EACpB,WAAW,GAAG,gBAAgB,EAAE,UAAU;EAC1C,GAAI;GACJ;;AAIN,SAAS,kBAAkB,EACzB,WACA,GAAG,SACwD;AAC3D,QACE,oBAAC,qBAAqB;EACpB,WAAW,GAAG,eAAe,EAAE,SAAS,WAAW,CAAC,EAAE,UAAU;EAChE,GAAI;GACJ"}
@@ -1,24 +1,25 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime10 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types1 from "class-variance-authority/types";
5
5
 
6
6
  //#region ui/alert.d.ts
7
7
  declare const alertVariants: (props?: ({
8
8
  variant?: "default" | "destructive" | null | undefined;
9
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types1.ClassProp) | undefined) => string;
10
10
  declare function Alert({
11
11
  className,
12
12
  variant,
13
13
  ...props
14
- }: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime10.JSX.Element;
14
+ }: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof alertVariants>): react_jsx_runtime17.JSX.Element;
15
15
  declare function AlertTitle({
16
16
  className,
17
17
  ...props
18
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime10.JSX.Element;
18
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime17.JSX.Element;
19
19
  declare function AlertDescription({
20
20
  className,
21
21
  ...props
22
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime10.JSX.Element;
22
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime17.JSX.Element;
23
23
  //#endregion
24
- export { Alert, AlertDescription, AlertTitle };
24
+ export { Alert, AlertDescription, AlertTitle };
25
+ //# sourceMappingURL=alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.d.ts","names":[],"sources":["../../ui/alert.tsx"],"sourcesContent":[],"mappings":";;;;;;cAKM;;IAcL,+BAAA,CAAA;iBAEQ,KAAA;;;;GAIN,OAAA,CAAM,kCAAkC,oBAAoB,iBAAc,mBAAA,CAAA,GAAA,CAAA;AAxBX,iBAmCzD,UAAA,CAjBR;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoBE,OAAA,CAAM,wBApBR,CAAA,KAAA,CAAA,CAAA,EAoBuC,mBAAA,CAAA,GAAA,CAAA,OApBvC;iBAiCQ,gBAAA,CA/BK;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAkCX,OAAA,CAAM,wBAlCK,CAAA,KAAA,CAAA,CAAA,EAkC0B,mBAAA,CAAA,GAAA,CAAA,OAlC1B"}
package/dist/ui/alert.js CHANGED
@@ -35,4 +35,5 @@ function AlertDescription({ className, ...props }) {
35
35
  }
36
36
 
37
37
  //#endregion
38
- export { Alert, AlertDescription, AlertTitle };
38
+ export { Alert, AlertDescription, AlertTitle };
39
+ //# sourceMappingURL=alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","names":[],"sources":["../../ui/alert.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nconst alertVariants = cva(\n 'relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current',\n {\n variants: {\n variant: {\n default: 'bg-card text-card-foreground',\n destructive:\n 'text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\nfunction Alert({\n className,\n variant,\n ...props\n}: React.ComponentPropsWithoutRef<'div'> & VariantProps<typeof alertVariants>) {\n return (\n <div\n data-slot=\"alert\"\n role=\"alert\"\n className={cn(alertVariants({ variant }), className)}\n {...props}\n />\n );\n}\n\nfunction AlertTitle({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"alert-title\"\n className={cn(\n 'col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction AlertDescription({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"alert-description\"\n className={cn(\n 'text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed',\n className\n )}\n {...props}\n />\n );\n}\n\nexport { Alert, AlertTitle, AlertDescription };\n"],"mappings":";;;;;;AAKA,MAAM,gBAAgB,IACpB,qOACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,aACE;EACH,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,SAAS,MAAM,EACb,WACA,SACA,GAAG,SAC0E;AAC7E,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EACpD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAClB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,+DACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,iBAAiB,EACxB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,kGACA,UACD;EACD,GAAI;GACJ"}
@@ -1,7 +1,8 @@
1
- import * as react6 from "react";
1
+ import * as react0 from "react";
2
2
  import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
3
3
 
4
4
  //#region ui/aspect-ratio.d.ts
5
- declare const AspectRatio: react6.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & react6.RefAttributes<HTMLDivElement>>;
5
+ declare const AspectRatio: react0.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & react0.RefAttributes<HTMLDivElement>>;
6
6
  //#endregion
7
- export { AspectRatio };
7
+ export { AspectRatio };
8
+ //# sourceMappingURL=aspect-ratio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aspect-ratio.d.ts","names":[],"sources":["../../ui/aspect-ratio.tsx"],"sourcesContent":[],"mappings":";;;;cAIM,aAAW,MAAA,CAAA,0BAAA,oBAAA,CAAA,mBAAA,MAAA,CAAA,cAAA"}
@@ -6,4 +6,5 @@ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
6
6
  const AspectRatio = AspectRatioPrimitive.Root;
7
7
 
8
8
  //#endregion
9
- export { AspectRatio };
9
+ export { AspectRatio };
10
+ //# sourceMappingURL=aspect-ratio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aspect-ratio.js","names":[],"sources":["../../ui/aspect-ratio.tsx"],"sourcesContent":["'use client';\n\nimport * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';\n\nconst AspectRatio = AspectRatioPrimitive.Root;\n\nexport { AspectRatio };\n"],"mappings":";;;;;AAIA,MAAM,cAAc,qBAAqB"}
@@ -4,4 +4,5 @@ import React from "react";
4
4
  //#region ui/atoms/FilterSelect/FilterSelect.d.ts
5
5
  declare const FilterSelect: React.FC<FilterSelectProps>;
6
6
  //#endregion
7
- export { FilterSelect };
7
+ export { FilterSelect };
8
+ //# sourceMappingURL=FilterSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterSelect.d.ts","names":[],"sources":["../../../../ui/atoms/FilterSelect/FilterSelect.tsx"],"sourcesContent":[],"mappings":";;;;cAWa,cAAc,KAAA,CAAM,GAAG"}
@@ -49,4 +49,5 @@ const FilterSelect = ({ value, options, onChange, placeholder = "Sélectionner..
49
49
  };
50
50
 
51
51
  //#endregion
52
- export { FilterSelect };
52
+ export { FilterSelect };
53
+ //# sourceMappingURL=FilterSelect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterSelect.js","names":["FilterSelect: React.FC<FilterSelectProps>"],"sources":["../../../../ui/atoms/FilterSelect/FilterSelect.tsx"],"sourcesContent":["import React from 'react';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '../../select';\nimport { Label } from '../../label';\nimport type { FilterSelectProps } from './types';\n\nexport const FilterSelect: React.FC<FilterSelectProps> = ({\n value,\n options,\n onChange,\n placeholder = 'Sélectionner...',\n label,\n disabled = false,\n className = '',\n showCounts = false,\n}) => {\n return (\n <div className={`space-y-2 ${className}`}>\n {label && (\n <Label className=\"text-foreground text-base font-medium\">{label}</Label>\n )}\n <Select value={value} onValueChange={onChange} disabled={disabled}>\n <SelectTrigger className=\"w-full\">\n <SelectValue placeholder={placeholder} />\n </SelectTrigger>\n <SelectContent className=\"bg-background\">\n {/* All/Reset option */}\n <SelectItem value=\"all\">\n Tous\n {showCounts && (\n <span className=\"text-muted-foreground ml-2 text-sm\">\n ({options.reduce((sum, option) => sum + (option.count || 0), 0)}\n )\n </span>\n )}\n </SelectItem>\n\n {/* Filter options */}\n {options.map((option) => (\n <SelectItem key={option.value} value={option.value}>\n <div className=\"flex w-full items-center justify-between\">\n <span>{option.label}</span>\n {showCounts && option.count !== undefined && (\n <span className=\"text-muted-foreground ml-2 text-sm\">\n ({option.count})\n </span>\n )}\n </div>\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n );\n};\n"],"mappings":";;;;;;AAWA,MAAaA,gBAA6C,EACxD,OACA,SACA,UACA,cAAc,mBACd,OACA,WAAW,OACX,YAAY,IACZ,aAAa,YACT;AACJ,QACE,qBAAC;EAAI,WAAW,aAAa;aAC1B,SACC,oBAAC;GAAM,WAAU;aAAyC;IAAc,EAE1E,qBAAC;GAAc;GAAO,eAAe;GAAoB;cACvD,oBAAC;IAAc,WAAU;cACvB,oBAAC,eAAyB,cAAe;KAC3B,EAChB,qBAAC;IAAc,WAAU;eAEvB,qBAAC;KAAW,OAAM;gBAAM,QAErB,cACC,qBAAC;MAAK,WAAU;;OAAqC;OACjD,QAAQ,QAAQ,KAAK,WAAW,OAAO,OAAO,SAAS,IAAI,EAAE;OAAC;;OAE3D;MAEE,EAGZ,QAAQ,KAAK,WACZ,oBAAC;KAA8B,OAAO,OAAO;eAC3C,qBAAC;MAAI,WAAU;iBACb,oBAAC,oBAAM,OAAO,QAAa,EAC1B,cAAc,OAAO,UAAU,UAC9B,qBAAC;OAAK,WAAU;;QAAqC;QACjD,OAAO;QAAM;;QACV;OAEL;OARS,OAAO,MASX,CACb;KACY;IACT;GACL"}
@@ -15,4 +15,5 @@ interface FilterSelectProps {
15
15
  showCounts?: boolean;
16
16
  }
17
17
  //#endregion
18
- export { FilterOption, FilterSelectProps };
18
+ export { FilterOption, FilterSelectProps };
19
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../ui/atoms/FilterSelect/types.ts"],"sourcesContent":[],"mappings":";UAAiB,YAAA;EAAA,KAAA,EAAA,MAAA;EAMA,KAAA,EAAA,MAAA;;;UAAA,iBAAA;;WAEN"}
@@ -19,4 +19,5 @@ declare const SkeletonTable: React.FC<{
19
19
  cols?: number;
20
20
  }>;
21
21
  //#endregion
22
- export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
22
+ export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
23
+ //# sourceMappingURL=LoadingSpinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingSpinner.d.ts","names":[],"sources":["../../../../ui/atoms/LoadingSpinner/LoadingSpinner.tsx"],"sourcesContent":[],"mappings":";;;UAIU,mBAAA;;EAAA,SAAA,CAAA,EAAA,MAAA;EAcG,IAAA,CAAA,EAAA,MAAA;EAgCA,UAAA,CAAA,EAAA,OAIZ;AAED;AAea,cArDA,cAqDe,EArDC,KAAA,CAAM,EAqDC,CArDE,mBAqDF,CAAA;cArBvB,cAAc,KAAA,CAAM;;;cAMpB,cAAc,KAAA,CAAM;;;cAepB,eAAe,KAAA,CAAM"}
@@ -42,4 +42,5 @@ const SkeletonTable = ({ rows = 5, cols = 4 }) => /* @__PURE__ */ jsx("div", {
42
42
  });
43
43
 
44
44
  //#endregion
45
- export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
45
+ export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
46
+ //# sourceMappingURL=LoadingSpinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingSpinner.js","names":["LoadingSpinner: React.FC<LoadingSpinnerProps>","SkeletonLine: React.FC<{ className?: string }>","SkeletonCard: React.FC<{ className?: string }>","SkeletonTable: React.FC<{ rows?: number; cols?: number }>"],"sources":["../../../../ui/atoms/LoadingSpinner/LoadingSpinner.tsx"],"sourcesContent":["import React from 'react';\nimport { Loader2 } from 'lucide-react';\nimport { cn } from '../../utils';\n\ninterface LoadingSpinnerProps {\n size?: 'sm' | 'md' | 'lg' | 'xl';\n className?: string;\n text?: string;\n fullScreen?: boolean;\n}\n\nconst sizeClasses = {\n sm: 'h-4 w-4',\n md: 'h-6 w-6',\n lg: 'h-8 w-8',\n xl: 'h-12 w-12',\n};\n\nexport const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({\n size = 'md',\n className,\n text,\n fullScreen = false,\n}) => {\n const spinner = (\n <div\n className={cn(\n 'flex flex-col items-center justify-center gap-2',\n className\n )}\n >\n <Loader2\n className={cn('text-primary-600 animate-spin', sizeClasses[size])}\n />\n {text && <p className=\"animate-pulse text-base text-gray-600\">{text}</p>}\n </div>\n );\n\n if (fullScreen) {\n return (\n <div className=\"fixed inset-0 z-50 flex items-center justify-center bg-white/80 backdrop-blur-xs\">\n {spinner}\n </div>\n );\n }\n\n return spinner;\n};\n\n// Skeleton loading components for better UX\nexport const SkeletonLine: React.FC<{ className?: string }> = ({\n className,\n}) => (\n <div className={cn('h-4 animate-pulse rounded-xs bg-gray-200', className)} />\n);\n\nexport const SkeletonCard: React.FC<{ className?: string }> = ({\n className,\n}) => (\n <div\n className={cn(\n 'animate-pulse space-y-3 rounded-lg bg-gray-200 p-4',\n className\n )}\n >\n <SkeletonLine className=\"h-6 w-3/4\" />\n <SkeletonLine className=\"h-4 w-full\" />\n <SkeletonLine className=\"h-4 w-2/3\" />\n </div>\n);\n\nexport const SkeletonTable: React.FC<{ rows?: number; cols?: number }> = ({\n rows = 5,\n cols = 4,\n}) => (\n <div className=\"space-y-3\">\n {Array.from({ length: rows }).map((_, i) => (\n <div key={i} className=\"flex space-x-4\">\n {Array.from({ length: cols }).map((_, j) => (\n <SkeletonLine key={j} className=\"flex-1\" />\n ))}\n </div>\n ))}\n </div>\n);\n"],"mappings":";;;;;;AAWA,MAAM,cAAc;CAClB,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACL;AAED,MAAaA,kBAAiD,EAC5D,OAAO,MACP,WACA,MACA,aAAa,YACT;CACJ,MAAM,UACJ,qBAAC;EACC,WAAW,GACT,mDACA,UACD;aAED,oBAAC,WACC,WAAW,GAAG,iCAAiC,YAAY,MAAM,GACjE,EACD,QAAQ,oBAAC;GAAE,WAAU;aAAyC;IAAS;GACpE;AAGR,KAAI,WACF,QACE,oBAAC;EAAI,WAAU;YACZ;GACG;AAIV,QAAO;;AAIT,MAAaC,gBAAkD,EAC7D,gBAEA,oBAAC,SAAI,WAAW,GAAG,4CAA4C,UAAU,GAAI;AAG/E,MAAaC,gBAAkD,EAC7D,gBAEA,qBAAC;CACC,WAAW,GACT,sDACA,UACD;;EAED,oBAAC,gBAAa,WAAU,cAAc;EACtC,oBAAC,gBAAa,WAAU,eAAe;EACvC,oBAAC,gBAAa,WAAU,cAAc;;EAClC;AAGR,MAAaC,iBAA6D,EACxE,OAAO,GACP,OAAO,QAEP,oBAAC;CAAI,WAAU;WACZ,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,KAAK,GAAG,MACpC,oBAAC;EAAY,WAAU;YACpB,MAAM,KAAK,EAAE,QAAQ,MAAM,CAAC,CAAC,KAAK,KAAG,MACpC,oBAAC,gBAAqB,WAAU,YAAb,EAAwB,CAC3C;IAHM,EAIJ,CACN;EACE"}
@@ -4,4 +4,5 @@ import React from "react";
4
4
  //#region ui/atoms/Pagination/Pagination.d.ts
5
5
  declare const Pagination: React.FC<PaginationProps>;
6
6
  //#endregion
7
- export { Pagination };
7
+ export { Pagination };
8
+ //# sourceMappingURL=Pagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.d.ts","names":[],"sources":["../../../../ui/atoms/Pagination/Pagination.tsx"],"sourcesContent":[],"mappings":";;;;cAiBa,YAAY,KAAA,CAAM,GAAG"}
@@ -153,4 +153,5 @@ const Pagination = ({ currentPage, totalPages, totalItems, itemsPerPage, onPageC
153
153
  };
154
154
 
155
155
  //#endregion
156
- export { Pagination };
156
+ export { Pagination };
157
+ //# sourceMappingURL=Pagination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.js","names":["Pagination: React.FC<PaginationProps>"],"sources":["../../../../ui/atoms/Pagination/Pagination.tsx"],"sourcesContent":["import React from 'react';\nimport {\n ChevronLeft,\n ChevronRight,\n ChevronsLeft,\n ChevronsRight,\n} from 'lucide-react';\nimport { Button } from '../../button';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '../../select';\nimport type { PaginationProps } from './types';\n\nexport const Pagination: React.FC<PaginationProps> = ({\n currentPage,\n totalPages,\n totalItems,\n itemsPerPage,\n onPageChange,\n onItemsPerPageChange,\n disabled = false,\n className = '',\n showItemsPerPage = true,\n itemsPerPageOptions = [10, 25, 50, 100],\n}) => {\n const startItem = (currentPage - 1) * itemsPerPage + 1;\n const endItem = Math.min(currentPage * itemsPerPage, totalItems);\n\n const canGoPrevious = currentPage > 1 && !disabled;\n const canGoNext = currentPage < totalPages && !disabled;\n\n const getVisiblePageNumbers = () => {\n if (totalPages <= 7) {\n return Array.from({ length: totalPages }, (_, i) => i + 1);\n }\n\n if (currentPage <= 3) {\n return [1, 2, 3, 4, 5, -1, totalPages]; // -1 represents ellipsis\n }\n\n if (currentPage >= totalPages - 2) {\n return [\n 1,\n -1,\n totalPages - 4,\n totalPages - 3,\n totalPages - 2,\n totalPages - 1,\n totalPages,\n ];\n }\n\n return [\n 1,\n -1,\n currentPage - 1,\n currentPage,\n currentPage + 1,\n -1,\n totalPages,\n ];\n };\n\n if (totalPages === 0) return null;\n\n return (\n <div\n className={`flex flex-col items-center justify-between gap-4 sm:flex-row ${className}`}\n >\n {/* Items info */}\n <div className=\"text-muted-foreground order-2 text-base sm:order-1\">\n Affichage de {startItem} à {endItem} sur {totalItems} résultats\n </div>\n\n {/* Pagination controls */}\n <div className=\"order-1 flex items-center gap-2 sm:order-2\">\n {/* First page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(1)}\n disabled={!canGoPrevious}\n className=\"hidden h-8 w-8 p-0 sm:flex\"\n >\n <ChevronsLeft className=\"h-4 w-4\" />\n <span className=\"sr-only\">Première page</span>\n </Button>\n\n {/* Previous page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(currentPage - 1)}\n disabled={!canGoPrevious}\n className=\"h-8 w-8 p-0\"\n >\n <ChevronLeft className=\"h-4 w-4\" />\n <span className=\"sr-only\">Page précédente</span>\n </Button>\n\n {/* Page numbers */}\n <div className=\"flex items-center gap-1\">\n {getVisiblePageNumbers().map((page, index) => {\n if (page === -1) {\n return (\n <span\n key={`ellipsis-${index}`}\n className=\"text-muted-foreground px-2 py-1\"\n >\n ...\n </span>\n );\n }\n\n return (\n <Button\n key={page}\n variant={page === currentPage ? 'default' : 'outline'}\n size=\"sm\"\n onClick={() => onPageChange(page)}\n disabled={disabled}\n className=\"h-8 min-w-8 px-2\"\n >\n {page}\n </Button>\n );\n })}\n </div>\n\n {/* Next page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(currentPage + 1)}\n disabled={!canGoNext}\n className=\"h-8 w-8 p-0\"\n >\n <ChevronRight className=\"h-4 w-4\" />\n <span className=\"sr-only\">Page suivante</span>\n </Button>\n\n {/* Last page */}\n <Button\n variant=\"outline\"\n size=\"sm\"\n onClick={() => onPageChange(totalPages)}\n disabled={!canGoNext}\n className=\"hidden h-8 w-8 p-0 sm:flex\"\n >\n <ChevronsRight className=\"h-4 w-4\" />\n <span className=\"sr-only\">Dernière page</span>\n </Button>\n </div>\n\n {/* Items per page */}\n {showItemsPerPage && onItemsPerPageChange && (\n <div className=\"order-3 flex items-center gap-2 text-base\">\n <span className=\"text-muted-foreground\">Afficher:</span>\n <Select\n value={itemsPerPage.toString()}\n onValueChange={(value) => onItemsPerPageChange(parseInt(value))}\n disabled={disabled}\n >\n <SelectTrigger className=\"h-8 w-16\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent className=\"bg-background\">\n {itemsPerPageOptions.map((option) => (\n <SelectItem key={option} value={option.toString()}>\n {option}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;AAiBA,MAAaA,cAAyC,EACpD,aACA,YACA,YACA,cACA,cACA,sBACA,WAAW,OACX,YAAY,IACZ,mBAAmB,MACnB,sBAAsB;CAAC;CAAI;CAAI;CAAI;CAAI,OACnC;CACJ,MAAM,aAAa,cAAc,KAAK,eAAe;CACrD,MAAM,UAAU,KAAK,IAAI,cAAc,cAAc,WAAW;CAEhE,MAAM,gBAAgB,cAAc,KAAK,CAAC;CAC1C,MAAM,YAAY,cAAc,cAAc,CAAC;CAE/C,MAAM,8BAA8B;AAClC,MAAI,cAAc,EAChB,QAAO,MAAM,KAAK,EAAE,QAAQ,YAAY,GAAG,GAAG,MAAM,IAAI,EAAE;AAG5D,MAAI,eAAe,EACjB,QAAO;GAAC;GAAG;GAAG;GAAG;GAAG;GAAG;GAAI;GAAW;AAGxC,MAAI,eAAe,aAAa,EAC9B,QAAO;GACL;GACA;GACA,aAAa;GACb,aAAa;GACb,aAAa;GACb,aAAa;GACb;GACD;AAGH,SAAO;GACL;GACA;GACA,cAAc;GACd;GACA,cAAc;GACd;GACA;GACD;;AAGH,KAAI,eAAe,EAAG,QAAO;AAE7B,QACE,qBAAC;EACC,WAAW,gEAAgE;;GAG3E,qBAAC;IAAI,WAAU;;KAAqD;KACpD;KAAU;KAAI;KAAQ;KAAM;KAAW;;KACjD;GAGN,qBAAC;IAAI,WAAU;;KAEb,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,EAAE;MAC9B,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,gBAAa,WAAU,YAAY,EACpC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;KAGT,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,cAAc,EAAE;MAC5C,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,eAAY,WAAU,YAAY,EACnC,oBAAC;OAAK,WAAU;iBAAU;QAAsB;OACzC;KAGT,oBAAC;MAAI,WAAU;gBACZ,uBAAuB,CAAC,KAAK,MAAM,UAAU;AAC5C,WAAI,SAAS,GACX,QACE,oBAAC;QAEC,WAAU;kBACX;UAFM,YAAY,QAIZ;AAIX,cACE,oBAAC;QAEC,SAAS,SAAS,cAAc,YAAY;QAC5C,MAAK;QACL,eAAe,aAAa,KAAK;QACvB;QACV,WAAU;kBAET;UAPI,KAQE;QAEX;OACE;KAGN,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,cAAc,EAAE;MAC5C,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,gBAAa,WAAU,YAAY,EACpC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;KAGT,qBAAC;MACC,SAAQ;MACR,MAAK;MACL,eAAe,aAAa,WAAW;MACvC,UAAU,CAAC;MACX,WAAU;iBAEV,oBAAC,iBAAc,WAAU,YAAY,EACrC,oBAAC;OAAK,WAAU;iBAAU;QAAoB;OACvC;;KACL;GAGL,oBAAoB,wBACnB,qBAAC;IAAI,WAAU;eACb,oBAAC;KAAK,WAAU;eAAwB;MAAgB,EACxD,qBAAC;KACC,OAAO,aAAa,UAAU;KAC9B,gBAAgB,UAAU,qBAAqB,SAAS,MAAM,CAAC;KACrD;gBAEV,oBAAC;MAAc,WAAU;gBACvB,oBAAC,gBAAc;OACD,EAChB,oBAAC;MAAc,WAAU;gBACtB,oBAAoB,KAAK,WACxB,oBAAC;OAAwB,OAAO,OAAO,UAAU;iBAC9C;SADc,OAEJ,CACb;OACY;MACT;KACL;;GAEJ"}
@@ -12,4 +12,5 @@ interface PaginationProps {
12
12
  itemsPerPageOptions?: number[];
13
13
  }
14
14
  //#endregion
15
- export { PaginationProps };
15
+ export { PaginationProps };
16
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../ui/atoms/Pagination/types.ts"],"sourcesContent":[],"mappings":";UAAiB,eAAA;EAAA,WAAA,EAAA,MAAe"}
@@ -4,4 +4,5 @@ import React from "react";
4
4
  //#region ui/atoms/SearchInput/SearchInput.d.ts
5
5
  declare const SearchInput: React.FC<SearchInputProps>;
6
6
  //#endregion
7
- export { SearchInput };
7
+ export { SearchInput };
8
+ //# sourceMappingURL=SearchInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.d.ts","names":[],"sources":["../../../../ui/atoms/SearchInput/SearchInput.tsx"],"sourcesContent":[],"mappings":";;;;cAMa,aAAa,KAAA,CAAM,GAAG"}
@@ -46,4 +46,5 @@ const SearchInput = ({ value, onChange, placeholder = "Rechercher...", onClear,
46
46
  };
47
47
 
48
48
  //#endregion
49
- export { SearchInput };
49
+ export { SearchInput };
50
+ //# sourceMappingURL=SearchInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.js","names":["SearchInput: React.FC<SearchInputProps>"],"sources":["../../../../ui/atoms/SearchInput/SearchInput.tsx"],"sourcesContent":["import React from 'react';\nimport { Search, X } from 'lucide-react';\nimport { Input } from '../../input';\nimport { Button } from '../../button';\nimport type { SearchInputProps } from './types';\n\nexport const SearchInput: React.FC<SearchInputProps> = ({\n value,\n onChange,\n placeholder = 'Rechercher...',\n onClear,\n disabled = false,\n className = '',\n autoFocus = false,\n}) => {\n const handleClear = () => {\n onChange('');\n onClear?.();\n };\n\n return (\n <div className={`relative w-full ${className}`}>\n <div className=\"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3\">\n <Search className=\"text-muted-foreground h-4 w-4\" />\n </div>\n\n <Input\n type=\"text\"\n value={value}\n onChange={(e) => onChange(e.target.value)}\n placeholder={placeholder}\n disabled={disabled}\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus={autoFocus}\n className=\"pr-10 pl-10\"\n />\n\n {value && (\n <div className=\"absolute inset-y-0 right-0 flex items-center pr-3\">\n <Button\n type=\"button\"\n variant=\"ghost\"\n size=\"sm\"\n onClick={handleClear}\n disabled={disabled}\n className=\"h-6 w-6 p-0 hover:bg-transparent\"\n >\n <X className=\"text-muted-foreground hover:text-foreground h-4 w-4\" />\n <span className=\"sr-only\">Effacer la recherche</span>\n </Button>\n </div>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;AAMA,MAAaA,eAA2C,EACtD,OACA,UACA,cAAc,iBACd,SACA,WAAW,OACX,YAAY,IACZ,YAAY,YACR;CACJ,MAAM,oBAAoB;AACxB,WAAS,GAAG;AACZ,aAAW;;AAGb,QACE,qBAAC;EAAI,WAAW,mBAAmB;;GACjC,oBAAC;IAAI,WAAU;cACb,oBAAC,UAAO,WAAU,kCAAkC;KAChD;GAEN,oBAAC;IACC,MAAK;IACE;IACP,WAAW,MAAM,SAAS,EAAE,OAAO,MAAM;IAC5B;IACH;IAEC;IACX,WAAU;KACV;GAED,SACC,oBAAC;IAAI,WAAU;cACb,qBAAC;KACC,MAAK;KACL,SAAQ;KACR,MAAK;KACL,SAAS;KACC;KACV,WAAU;gBAEV,oBAAC,KAAE,WAAU,wDAAwD,EACrE,oBAAC;MAAK,WAAU;gBAAU;OAA2B;MAC9C;KACL;;GAEJ"}
@@ -9,4 +9,5 @@ interface SearchInputProps {
9
9
  autoFocus?: boolean;
10
10
  }
11
11
  //#endregion
12
- export { SearchInputProps };
12
+ export { SearchInputProps };
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","names":[],"sources":["../../../../ui/atoms/SearchInput/types.ts"],"sourcesContent":[],"mappings":";UAAiB,gBAAA;EAAA,KAAA,EAAA,MAAA"}
@@ -1,19 +1,20 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime232 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime32 from "react/jsx-runtime";
3
3
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
4
4
 
5
5
  //#region ui/avatar.d.ts
6
6
  declare function Avatar({
7
7
  className,
8
8
  ...props
9
- }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime232.JSX.Element;
9
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime32.JSX.Element;
10
10
  declare function AvatarImage({
11
11
  className,
12
12
  ...props
13
- }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime232.JSX.Element;
13
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime32.JSX.Element;
14
14
  declare function AvatarFallback({
15
15
  className,
16
16
  ...props
17
- }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime232.JSX.Element;
17
+ }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime32.JSX.Element;
18
18
  //#endregion
19
- export { Avatar, AvatarFallback, AvatarImage };
19
+ export { Avatar, AvatarFallback, AvatarImage };
20
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","names":[],"sources":["../../ui/avatar.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOS,MAAA;;;GAGN,OAAA,CAAM,sBAAsB,eAAA,CAAgB,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAa3C,WAAA;;;GAGN,OAAA,CAAM,sBAAsB,eAAA,CAAgB,SAAM,mBAAA,CAAA,GAAA,CAAA;iBAU5C,cAAA;;;GAGN,OAAA,CAAM,sBAAsB,eAAA,CAAgB,YAAS,mBAAA,CAAA,GAAA,CAAA"}
package/dist/ui/avatar.js CHANGED
@@ -29,4 +29,5 @@ function AvatarFallback({ className, ...props }) {
29
29
  }
30
30
 
31
31
  //#endregion
32
- export { Avatar, AvatarFallback, AvatarImage };
32
+ export { Avatar, AvatarFallback, AvatarImage };
33
+ //# sourceMappingURL=avatar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.js","names":[],"sources":["../../ui/avatar.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as AvatarPrimitive from '@radix-ui/react-avatar';\n\nimport { cn } from './utils';\n\nfunction Avatar({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Root>) {\n return (\n <AvatarPrimitive.Root\n data-slot=\"avatar\"\n className={cn(\n 'relative flex size-8 shrink-0 overflow-hidden rounded-full',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction AvatarImage({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Image>) {\n return (\n <AvatarPrimitive.Image\n data-slot=\"avatar-image\"\n className={cn('aspect-square size-full', className)}\n {...props}\n />\n );\n}\n\nfunction AvatarFallback({\n className,\n ...props\n}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {\n return (\n <AvatarPrimitive.Fallback\n data-slot=\"avatar-fallback\"\n className={cn(\n 'bg-muted flex size-full items-center justify-center rounded-full',\n className\n )}\n {...props}\n />\n );\n}\n\nexport { Avatar, AvatarImage, AvatarFallback };\n"],"mappings":";;;;;;;;AAOA,SAAS,OAAO,EACd,WACA,GAAG,SACiD;AACpD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GACT,8DACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,WACA,GAAG,SACkD;AACrD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,2BAA2B,UAAU;EACnD,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,WACA,GAAG,SACqD;AACxD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GACT,oEACA,UACD;EACD,GAAI;GACJ"}
@@ -1,12 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime23 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types2 from "class-variance-authority/types";
5
5
 
6
6
  //#region ui/badge.d.ts
7
7
  declare const badgeVariants: (props?: ({
8
- variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
9
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
8
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
9
+ } & class_variance_authority_types2.ClassProp) | undefined) => string;
10
10
  declare function Badge({
11
11
  className,
12
12
  variant,
@@ -14,6 +14,7 @@ declare function Badge({
14
14
  ...props
15
15
  }: React$1.ComponentPropsWithoutRef<'span'> & VariantProps<typeof badgeVariants> & {
16
16
  asChild?: boolean;
17
- }): react_jsx_runtime23.JSX.Element;
17
+ }): react_jsx_runtime36.JSX.Element;
18
18
  //#endregion
19
- export { Badge, badgeVariants };
19
+ export { Badge, badgeVariants };
20
+ //# sourceMappingURL=badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.d.ts","names":[],"sources":["../../ui/badge.tsx"],"sourcesContent":[],"mappings":";;;;;;cAMM;;IAmBL,+BAAA,CAAA;iBAEQ,KAAA;;;;;GAKN,OAAA,CAAM,mCACP,oBAAoB;EA3BhB,OAAA,CAAA,EAAA,OAmBL;IAQ2D,mBAAA,CAAA,GAAA,CAAA,OAN9C"}
package/dist/ui/badge.js CHANGED
@@ -23,4 +23,5 @@ function Badge({ className, variant, asChild = false, ...props }) {
23
23
  }
24
24
 
25
25
  //#endregion
26
- export { Badge, badgeVariants };
26
+ export { Badge, badgeVariants };
27
+ //# sourceMappingURL=badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.js","names":[],"sources":["../../ui/badge.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nconst badgeVariants = cva(\n 'inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden',\n {\n variants: {\n variant: {\n default:\n 'border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90',\n secondary:\n 'border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90',\n destructive:\n 'border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60',\n outline:\n 'text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\nfunction Badge({\n className,\n variant,\n asChild = false,\n ...props\n}: React.ComponentPropsWithoutRef<'span'> &\n VariantProps<typeof badgeVariants> & { asChild?: boolean }) {\n const Comp = asChild ? Slot : 'span';\n\n return (\n <Comp\n data-slot=\"badge\"\n className={cn(badgeVariants({ variant }), className)}\n {...props}\n />\n );\n}\n\nexport { Badge, badgeVariants };\n"],"mappings":";;;;;;;AAMA,MAAM,gBAAgB,IACpB,kZACA;CACE,UAAU,EACR,SAAS;EACP,SACE;EACF,WACE;EACF,aACE;EACF,SACE;EACH,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,SAAS,MAAM,EACb,WACA,SACA,UAAU,OACV,GAAG,SAEyD;AAG5D,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,WAAW,GAAG,cAAc,EAAE,SAAS,CAAC,EAAE,UAAU;EACpD,GAAI;GACJ"}
@@ -1,37 +1,38 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime46 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime40 from "react/jsx-runtime";
3
3
 
4
4
  //#region ui/breadcrumb.d.ts
5
5
  declare function Breadcrumb({
6
6
  ...props
7
- }: React$1.ComponentPropsWithoutRef<'nav'>): react_jsx_runtime46.JSX.Element;
7
+ }: React$1.ComponentPropsWithoutRef<'nav'>): react_jsx_runtime40.JSX.Element;
8
8
  declare function BreadcrumbList({
9
9
  className,
10
10
  ...props
11
- }: React$1.ComponentPropsWithoutRef<'ol'>): react_jsx_runtime46.JSX.Element;
11
+ }: React$1.ComponentPropsWithoutRef<'ol'>): react_jsx_runtime40.JSX.Element;
12
12
  declare function BreadcrumbItem({
13
13
  className,
14
14
  ...props
15
- }: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime46.JSX.Element;
15
+ }: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime40.JSX.Element;
16
16
  declare function BreadcrumbLink({
17
17
  asChild,
18
18
  className,
19
19
  ...props
20
20
  }: React$1.ComponentPropsWithoutRef<'a'> & {
21
21
  asChild?: boolean;
22
- }): react_jsx_runtime46.JSX.Element;
22
+ }): react_jsx_runtime40.JSX.Element;
23
23
  declare function BreadcrumbPage({
24
24
  className,
25
25
  ...props
26
- }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime46.JSX.Element;
26
+ }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime40.JSX.Element;
27
27
  declare function BreadcrumbSeparator({
28
28
  children,
29
29
  className,
30
30
  ...props
31
- }: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime46.JSX.Element;
31
+ }: React$1.ComponentPropsWithoutRef<'li'>): react_jsx_runtime40.JSX.Element;
32
32
  declare function BreadcrumbEllipsis({
33
33
  className,
34
34
  ...props
35
- }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime46.JSX.Element;
35
+ }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime40.JSX.Element;
36
36
  //#endregion
37
- export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
37
+ export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
38
+ //# sourceMappingURL=breadcrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumb.d.ts","names":[],"sources":["../../ui/breadcrumb.tsx"],"sourcesContent":[],"mappings":";;;;iBAMS,UAAA;;GAAyB,OAAA,CAAM,kCAA+B,mBAAA,CAAA,GAAA,CAAA;iBAI9D,cAAA;;;GAGN,OAAA,CAAM,iCAA8B,mBAAA,CAAA,GAAA,CAAA;iBAa9B,cAAA;;;GAGN,OAAA,CAAM,iCAA8B,mBAAA,CAAA,GAAA,CAAA;AA7BR,iBAuCtB,cAAA,CAjCyB;EAAA,OAAM;EAAA,SAAA;EAAA,GAAA;CAA+B,EAqCpE,OAAA,CAAM,wBArC8D,CAAA,GAAA,CAAA,GAAA;EAI9D,OAAA,CAAA,EAAA,OAAc;CACrB,CAAA,EAkCD,mBAAA,CAAA,GAAA,CAAA,OAlCC;iBA8CO,cAAA,CA5CA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+CN,OAAA,CAAM,wBA/CA,CAAA,MAAA,CAAA,CAAA,EA+CgC,mBAAA,CAAA,GAAA,CAAA,OA/ChC;iBA4DA,mBAAA,CA5D8B;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgEpC,OAAA,CAAM,wBAhE8B,CAAA,IAAA,CAAA,CAAA,EAgEA,mBAAA,CAAA,GAAA,CAAA,OAhEA;iBA8E9B,kBAAA,CA9E8B;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiFpC,OAAA,CAAM,wBAjF8B,CAAA,MAAA,CAAA,CAAA,EAiFE,mBAAA,CAAA,GAAA,CAAA,OAjFF"}
@@ -68,4 +68,5 @@ function BreadcrumbEllipsis({ className, ...props }) {
68
68
  }
69
69
 
70
70
  //#endregion
71
- export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
71
+ export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
72
+ //# sourceMappingURL=breadcrumb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumb.js","names":[],"sources":["../../ui/breadcrumb.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { ChevronRight, MoreHorizontal } from 'lucide-react';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nfunction Breadcrumb({ ...props }: React.ComponentPropsWithoutRef<'nav'>) {\n return <nav aria-label=\"breadcrumb\" data-slot=\"breadcrumb\" {...props} />;\n}\n\nfunction BreadcrumbList({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'ol'>) {\n return (\n <ol\n data-slot=\"breadcrumb-list\"\n className={cn(\n 'text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbItem({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'li'>) {\n return (\n <li\n data-slot=\"breadcrumb-item\"\n className={cn('inline-flex items-center gap-1.5', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbLink({\n asChild,\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'a'> & {\n asChild?: boolean;\n}) {\n const Comp = asChild ? Slot : 'a';\n\n return (\n <Comp\n data-slot=\"breadcrumb-link\"\n className={cn('hover:text-foreground transition-colors', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbPage({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'span'>) {\n return (\n <span\n data-slot=\"breadcrumb-page\"\n role=\"link\"\n aria-disabled=\"true\"\n aria-current=\"page\"\n className={cn('text-foreground font-normal', className)}\n {...props}\n />\n );\n}\n\nfunction BreadcrumbSeparator({\n children,\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'li'>) {\n return (\n <li\n data-slot=\"breadcrumb-separator\"\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn('[&>svg]:size-3.5', className)}\n {...props}\n >\n {children ?? <ChevronRight />}\n </li>\n );\n}\n\nfunction BreadcrumbEllipsis({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'span'>) {\n return (\n <span\n data-slot=\"breadcrumb-ellipsis\"\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn('flex size-9 items-center justify-center', className)}\n {...props}\n >\n <MoreHorizontal className=\"size-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n );\n}\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n};\n"],"mappings":";;;;;;;AAMA,SAAS,WAAW,EAAE,GAAG,SAAgD;AACvE,QAAO,oBAAC;EAAI,cAAW;EAAa,aAAU;EAAa,GAAI;GAAS;;AAG1E,SAAS,eAAe,EACtB,WACA,GAAG,SACoC;AACvC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,4FACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,WACA,GAAG,SACoC;AACvC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,oCAAoC,UAAU;EAC5D,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,SACA,WACA,GAAG,SAGF;AAGD,QACE,oBAHW,UAAU,OAAO;EAI1B,aAAU;EACV,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,WACA,GAAG,SACsC;AACzC,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,iBAAc;EACd,gBAAa;EACb,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAC3B,UACA,WACA,GAAG,SACoC;AACvC,QACE,oBAAC;EACC,aAAU;EACV,MAAK;EACL,eAAY;EACZ,WAAW,GAAG,oBAAoB,UAAU;EAC5C,GAAI;YAEH,YAAY,oBAAC,iBAAe;GAC1B;;AAIT,SAAS,mBAAmB,EAC1B,WACA,GAAG,SACsC;AACzC,QACE,qBAAC;EACC,aAAU;EACV,MAAK;EACL,eAAY;EACZ,WAAW,GAAG,2CAA2C,UAAU;EACnE,GAAI;aAEJ,oBAAC,kBAAe,WAAU,WAAW,EACrC,oBAAC;GAAK,WAAU;aAAU;IAAW;GAChC"}