@lssm/lib.ui-kit-web 0.0.0-canary-20251217080011 → 0.0.0-canary-20251219202229

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 +2 -0
  3. package/dist/ui/accordion.d.ts +2 -1
  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 +2 -1
  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 +5 -4
  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 +16 -15
  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 +8 -1
  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 +2 -1
  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 +5 -4
  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 +2 -1
  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 +9 -8
@@ -50,4 +50,5 @@ function DateRangePicker({ value, onChange, disabled, minDate, maxDate, classNam
50
50
  }
51
51
 
52
52
  //#endregion
53
- export { DateRangePicker };
53
+ export { DateRangePicker };
54
+ //# sourceMappingURL=date-range-picker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range-picker.js","names":["React"],"sources":["../../ui/date-range-picker.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Popover, PopoverContent, PopoverTrigger } from './popover';\nimport { Button } from './button';\nimport { Calendar } from './calendar';\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nexport interface DateRange {\n start: Date | null;\n end: Date | null;\n}\n\nexport interface DateRangePickerProps {\n value: DateRange;\n onChange: (range: DateRange) => void;\n disabled?: boolean;\n minDate?: Date;\n maxDate?: Date;\n className?: string;\n}\n\nexport function DateRangePicker({\n value,\n onChange,\n disabled,\n minDate,\n maxDate,\n className,\n}: DateRangePickerProps) {\n const [open, setOpen] = React.useState(false);\n\n return (\n <Popover open={open} onOpenChange={setOpen}>\n <PopoverTrigger asChild>\n <Button\n type=\"button\"\n variant=\"outline\"\n disabled={disabled}\n className={cn(\n 'w-full justify-start text-left font-normal',\n className\n )}\n >\n {value.start && value.end ? (\n `${value.start.toLocaleDateString()} - ${value.end.toLocaleDateString()}`\n ) : (\n <span className=\"opacity-50\">Select date range</span>\n )}\n </Button>\n </PopoverTrigger>\n <PopoverContent className=\"w-auto p-0\" align=\"start\">\n <Calendar\n mode=\"range\"\n selected={\n value.start && value.end\n ? { from: value.start, to: value.end }\n : undefined\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onSelect={(range: any) => {\n const start = range?.from ?? null;\n const end = range?.to ?? null;\n onChange({ start, end });\n }}\n fromDate={minDate}\n toDate={maxDate}\n numberOfMonths={2}\n initialFocus\n />\n </PopoverContent>\n </Popover>\n );\n}\n"],"mappings":";;;;;;;;;;AAsBA,SAAgB,gBAAgB,EAC9B,OACA,UACA,UACA,SACA,SACA,aACuB;CACvB,MAAM,CAAC,MAAM,WAAWA,QAAM,SAAS,MAAM;AAE7C,QACE,qBAAC;EAAc;EAAM,cAAc;aACjC,oBAAC;GAAe;aACd,oBAAC;IACC,MAAK;IACL,SAAQ;IACE;IACV,WAAW,GACT,8CACA,UACD;cAEA,MAAM,SAAS,MAAM,MACpB,GAAG,MAAM,MAAM,oBAAoB,CAAC,KAAK,MAAM,IAAI,oBAAoB,KAEvE,oBAAC;KAAK,WAAU;eAAa;MAAwB;KAEhD;IACM,EACjB,oBAAC;GAAe,WAAU;GAAa,OAAM;aAC3C,oBAAC;IACC,MAAK;IACL,UACE,MAAM,SAAS,MAAM,MACjB;KAAE,MAAM,MAAM;KAAO,IAAI,MAAM;KAAK,GACpC;IAGN,WAAW,UAAe;AAGxB,cAAS;MAAE,OAFG,OAAO,QAAQ;MAEX,KADN,OAAO,MAAM;MACF,CAAC;;IAE1B,UAAU;IACV,QAAQ;IACR,gBAAgB;IAChB;KACA;IACa;GACT"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime24 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime109 from "react/jsx-runtime";
2
2
 
3
3
  //#region ui/datetime-picker.d.ts
4
4
  interface DateTimePickerProps {
@@ -22,6 +22,7 @@ declare function DateTimePicker({
22
22
  timePlaceholder,
23
23
  is24Hour,
24
24
  className
25
- }: DateTimePickerProps): react_jsx_runtime24.JSX.Element;
25
+ }: DateTimePickerProps): react_jsx_runtime109.JSX.Element;
26
26
  //#endregion
27
- export { DateTimePicker, DateTimePickerProps };
27
+ export { DateTimePicker, DateTimePickerProps };
28
+ //# sourceMappingURL=datetime-picker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datetime-picker.d.ts","names":[],"sources":["../../ui/datetime-picker.tsx"],"sourcesContent":[],"mappings":";;;UAOiB,mBAAA;SACR;mBACU;EAFF,QAAA,CAAA,EAAA,OAAA;EACR,OAAA,CAAA,EAGG,IAHH;EACU,OAAA,CAAA,EAGP,IAHO;EAEP,eAAA,CAAA,EAAA,MAAA;EACA,eAAA,CAAA,EAAA,MAAA;EAAI,QAAA,CAAA,EAAA,OAAA;EAOA,SAAA,CAAA,EAAA,MAAc;;AAE5B,iBAFc,cAAA,CAEd;EAAA,KAAA;EAAA,QAAA;EAAA,QAAA;EAAA,OAAA;EAAA,OAAA;EAAA,eAAA;EAAA,eAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAQC,mBARD,CAAA,EAQoB,oBAAA,CAAA,GAAA,CAAA,OARpB"}
@@ -40,4 +40,5 @@ function DateTimePicker({ value, onChange, disabled, minDate, maxDate, datePlace
40
40
  }
41
41
 
42
42
  //#endregion
43
- export { DateTimePicker };
43
+ export { DateTimePicker };
44
+ //# sourceMappingURL=datetime-picker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datetime-picker.js","names":[],"sources":["../../ui/datetime-picker.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { DatePicker } from './date-picker';\nimport { TimePicker } from './time-picker';\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nexport interface DateTimePickerProps {\n value: Date | null;\n onChange: (date: Date | null) => void;\n disabled?: boolean;\n minDate?: Date;\n maxDate?: Date;\n datePlaceholder?: string;\n timePlaceholder?: string;\n is24Hour?: boolean;\n className?: string;\n}\n\nexport function DateTimePicker({\n value,\n onChange,\n disabled,\n minDate,\n maxDate,\n datePlaceholder,\n timePlaceholder,\n is24Hour,\n className,\n}: DateTimePickerProps) {\n const handleDate = (d: Date | null) => {\n if (!d) return;\n const next = new Date(d);\n if (value) next.setHours(value.getHours(), value.getMinutes(), 0, 0);\n onChange(next);\n };\n const handleTime = (t: Date | null) => {\n if (!t) return;\n const next = new Date(value ?? new Date());\n next.setHours(t.getHours(), t.getMinutes(), 0, 0);\n onChange(next);\n };\n\n return (\n <div className={cn('flex gap-2', className)}>\n <DatePicker\n value={value}\n onChange={handleDate}\n disabled={disabled}\n minDate={minDate}\n maxDate={maxDate}\n placeholder={datePlaceholder}\n />\n <TimePicker\n value={value}\n onChange={handleTime}\n disabled={disabled}\n is24Hour={is24Hour}\n placeholder={timePlaceholder}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;AAmBA,SAAgB,eAAe,EAC7B,OACA,UACA,UACA,SACA,SACA,iBACA,iBACA,UACA,aACsB;CACtB,MAAM,cAAc,MAAmB;AACrC,MAAI,CAAC,EAAG;EACR,MAAM,OAAO,IAAI,KAAK,EAAE;AACxB,MAAI,MAAO,MAAK,SAAS,MAAM,UAAU,EAAE,MAAM,YAAY,EAAE,GAAG,EAAE;AACpE,WAAS,KAAK;;CAEhB,MAAM,cAAc,MAAmB;AACrC,MAAI,CAAC,EAAG;EACR,MAAM,OAAO,IAAI,KAAK,yBAAS,IAAI,MAAM,CAAC;AAC1C,OAAK,SAAS,EAAE,UAAU,EAAE,EAAE,YAAY,EAAE,GAAG,EAAE;AACjD,WAAS,KAAK;;AAGhB,QACE,qBAAC;EAAI,WAAW,GAAG,cAAc,UAAU;aACzC,oBAAC;GACQ;GACP,UAAU;GACA;GACD;GACA;GACT,aAAa;IACb,EACF,oBAAC;GACQ;GACP,UAAU;GACA;GACA;GACV,aAAa;IACb;GACE"}
@@ -1,24 +1,24 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime31 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime110 from "react/jsx-runtime";
3
3
  import * as DialogPrimitive from "@radix-ui/react-dialog";
4
4
 
5
5
  //#region ui/dialog.d.ts
6
6
  declare function Dialog({
7
7
  ...props
8
- }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime31.JSX.Element;
8
+ }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime110.JSX.Element;
9
9
  declare function DialogTrigger({
10
10
  ...props
11
- }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime31.JSX.Element;
11
+ }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime110.JSX.Element;
12
12
  declare function DialogPortal({
13
13
  ...props
14
- }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime31.JSX.Element;
14
+ }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime110.JSX.Element;
15
15
  declare function DialogClose({
16
16
  ...props
17
- }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime31.JSX.Element;
17
+ }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime110.JSX.Element;
18
18
  declare function DialogOverlay({
19
19
  className,
20
20
  ...props
21
- }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime31.JSX.Element;
21
+ }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime110.JSX.Element;
22
22
  declare function DialogContent({
23
23
  className,
24
24
  children,
@@ -26,22 +26,23 @@ declare function DialogContent({
26
26
  ...props
27
27
  }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
28
28
  showCloseButton?: boolean;
29
- }): react_jsx_runtime31.JSX.Element;
29
+ }): react_jsx_runtime110.JSX.Element;
30
30
  declare function DialogHeader({
31
31
  className,
32
32
  ...props
33
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime31.JSX.Element;
33
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime110.JSX.Element;
34
34
  declare function DialogFooter({
35
35
  className,
36
36
  ...props
37
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime31.JSX.Element;
37
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime110.JSX.Element;
38
38
  declare function DialogTitle({
39
39
  className,
40
40
  ...props
41
- }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime31.JSX.Element;
41
+ }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime110.JSX.Element;
42
42
  declare function DialogDescription({
43
43
  className,
44
44
  ...props
45
- }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime31.JSX.Element;
45
+ }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime110.JSX.Element;
46
46
  //#endregion
47
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
47
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
48
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","names":[],"sources":["../../ui/dialog.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQS,MAAA;;GAEN,OAAA,CAAM,sBAAsB,eAAA,CAAgB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAI3C,aAAA;;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A,iBAAA,CA5G8C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+GpD,OAAA,CAAM,cA/G8C,CAAA,OA+GxB,eAAA,CAAgB,WA/GQ,CAAA,CAAA,EA+GI,oBAAA,CAAA,GAAA,CAAA,OA/GJ"}
package/dist/ui/dialog.js CHANGED
@@ -86,4 +86,5 @@ function DialogDescription({ className, ...props }) {
86
86
  }
87
87
 
88
88
  //#endregion
89
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
89
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
90
+ //# sourceMappingURL=dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.js","names":[],"sources":["../../ui/dialog.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as DialogPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nfunction Dialog({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\nfunction DialogTrigger({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\nfunction DialogPortal({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\nfunction DialogClose({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\nfunction DialogOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"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 DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"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 {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n className=\"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\"\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\nfunction DialogHeader({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"dialog-header\"\n className={cn('flex flex-col gap-2 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\nfunction DialogFooter({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"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 DialogTitle({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return (\n <DialogPrimitive.Title\n data-slot=\"dialog-title\"\n className={cn('text-lg leading-none font-semibold', className)}\n {...props}\n />\n );\n}\n\nfunction DialogDescription({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return (\n <DialogPrimitive.Description\n data-slot=\"dialog-description\"\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nexport {\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n};\n"],"mappings":";;;;;;;;;AAQA,SAAS,OAAO,EACd,GAAG,SACiD;AACpD,QAAO,oBAAC,gBAAgB;EAAK,aAAU;EAAS,GAAI;GAAS;;AAG/D,SAAS,cAAc,EACrB,GAAG,SACoD;AACvD,QAAO,oBAAC,gBAAgB;EAAQ,aAAU;EAAiB,GAAI;GAAS;;AAG1E,SAAS,aAAa,EACpB,GAAG,SACmD;AACtD,QAAO,oBAAC,gBAAgB;EAAO,aAAU;EAAgB,GAAI;GAAS;;AAGxE,SAAS,YAAY,EACnB,GAAG,SACkD;AACrD,QAAO,oBAAC,gBAAgB;EAAM,aAAU;EAAe,GAAI;GAAS;;AAGtE,SAAS,cAAc,EACrB,WACA,GAAG,SACoD;AACvD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GACT,0JACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EACrB,WACA,UACA,kBAAkB,MAClB,GAAG,SAGF;AACD,QACE,qBAAC;EAAa,aAAU;aACtB,oBAAC,kBAAgB,EACjB,qBAAC,gBAAgB;GACf,aAAU;GACV,WAAW,GACT,+WACA,UACD;GACD,GAAI;cAEH,UACA,mBACC,qBAAC,gBAAgB;IACf,aAAU;IACV,WAAU;eAEV,oBAAC,UAAQ,EACT,oBAAC;KAAK,WAAU;eAAU;MAAY;KAChB;IAEF;GACb;;AAInB,SAAS,aAAa,EACpB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,gDAAgD,UAAU;EACxE,GAAI;GACJ;;AAIN,SAAS,aAAa,EACpB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,0DACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,WACA,GAAG,SACkD;AACrD,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,sCAAsC,UAAU;EAC9D,GAAI;GACJ;;AAIN,SAAS,kBAAkB,EACzB,WACA,GAAG,SACwD;AAC3D,QACE,oBAAC,gBAAgB;EACf,aAAU;EACV,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ"}
@@ -1,44 +1,45 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime71 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime120 from "react/jsx-runtime";
3
3
  import { Drawer as Drawer$1 } from "vaul";
4
4
 
5
5
  //#region ui/drawer.d.ts
6
6
  declare function Drawer({
7
7
  ...props
8
- }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime71.JSX.Element;
8
+ }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime120.JSX.Element;
9
9
  declare function DrawerTrigger({
10
10
  ...props
11
- }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime71.JSX.Element;
11
+ }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime120.JSX.Element;
12
12
  declare function DrawerPortal({
13
13
  ...props
14
- }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime71.JSX.Element;
14
+ }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime120.JSX.Element;
15
15
  declare function DrawerClose({
16
16
  ...props
17
- }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime71.JSX.Element;
17
+ }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime120.JSX.Element;
18
18
  declare function DrawerOverlay({
19
19
  className,
20
20
  ...props
21
- }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime71.JSX.Element;
21
+ }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime120.JSX.Element;
22
22
  declare function DrawerContent({
23
23
  className,
24
24
  children,
25
25
  ...props
26
- }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime71.JSX.Element;
26
+ }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime120.JSX.Element;
27
27
  declare function DrawerHeader({
28
28
  className,
29
29
  ...props
30
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime71.JSX.Element;
30
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime120.JSX.Element;
31
31
  declare function DrawerFooter({
32
32
  className,
33
33
  ...props
34
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime71.JSX.Element;
34
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime120.JSX.Element;
35
35
  declare function DrawerTitle({
36
36
  className,
37
37
  ...props
38
- }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime71.JSX.Element;
38
+ }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime120.JSX.Element;
39
39
  declare function DrawerDescription({
40
40
  className,
41
41
  ...props
42
- }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime71.JSX.Element;
42
+ }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime120.JSX.Element;
43
43
  //#endregion
44
- export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
44
+ export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, Drawer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A,OApFY;AAAA,iBA8F3C,WAAA,CA1Fa;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6FnB,OAAA,CAAM,cA7Fa,CAAA,OA6FS,QAAA,CAAgB,KA7FzB,CAAA,CAAA,EA6F+B,oBAAA,CAAA,GAAA,CAAA,OA7F/B;iBAuGb,iBAAA,CArGsC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAwG5C,OAAA,CAAM,cAxGsC,CAAA,OAwGhB,QAAA,CAAgB,WAxGA,CAAA,CAAA,EAwGY,oBAAA,CAAA,GAAA,CAAA,OAxGZ"}
package/dist/ui/drawer.js CHANGED
@@ -78,4 +78,5 @@ function DrawerDescription({ className, ...props }) {
78
78
  }
79
79
 
80
80
  //#endregion
81
- export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
81
+ export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
82
+ //# sourceMappingURL=drawer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer.js","names":["DrawerPrimitive"],"sources":["../../ui/drawer.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Drawer as DrawerPrimitive } from 'vaul';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nfunction Drawer({\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Root>) {\n return <DrawerPrimitive.Root data-slot=\"drawer\" {...props} />;\n}\n\nfunction DrawerTrigger({\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {\n return <DrawerPrimitive.Trigger data-slot=\"drawer-trigger\" {...props} />;\n}\n\nfunction DrawerPortal({\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Portal>) {\n return <DrawerPrimitive.Portal data-slot=\"drawer-portal\" {...props} />;\n}\n\nfunction DrawerClose({\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Close>) {\n return <DrawerPrimitive.Close data-slot=\"drawer-close\" {...props} />;\n}\n\nfunction DrawerOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {\n return (\n <DrawerPrimitive.Overlay\n data-slot=\"drawer-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 DrawerContent({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Content>) {\n return (\n <DrawerPortal data-slot=\"drawer-portal\">\n <DrawerOverlay />\n <DrawerPrimitive.Content\n data-slot=\"drawer-content\"\n className={cn(\n 'group/drawer-content bg-background fixed z-50 flex h-auto flex-col',\n 'data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b',\n 'data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t',\n 'data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l sm:data-[vaul-drawer-direction=right]:max-w-sm',\n 'data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r sm:data-[vaul-drawer-direction=left]:max-w-sm',\n className\n )}\n {...props}\n >\n <div className=\"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPortal>\n );\n}\n\nfunction DrawerHeader({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"drawer-header\"\n className={cn(\n 'flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction DrawerFooter({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"drawer-footer\"\n className={cn('mt-auto flex flex-col gap-2 p-4', className)}\n {...props}\n />\n );\n}\n\nfunction DrawerTitle({\n className,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Title>) {\n return (\n <DrawerPrimitive.Title\n data-slot=\"drawer-title\"\n className={cn('text-foreground font-semibold', className)}\n {...props}\n />\n );\n}\n\nfunction DrawerDescription({\n className,\n ...props\n}: React.ComponentProps<typeof DrawerPrimitive.Description>) {\n return (\n <DrawerPrimitive.Description\n data-slot=\"drawer-description\"\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nexport {\n Drawer,\n DrawerPortal,\n DrawerOverlay,\n DrawerTrigger,\n DrawerClose,\n DrawerContent,\n DrawerHeader,\n DrawerFooter,\n DrawerTitle,\n DrawerDescription,\n};\n"],"mappings":";;;;;;;;AAOA,SAAS,OAAO,EACd,GAAG,SACiD;AACpD,QAAO,oBAACA,SAAgB;EAAK,aAAU;EAAS,GAAI;GAAS;;AAG/D,SAAS,cAAc,EACrB,GAAG,SACoD;AACvD,QAAO,oBAACA,SAAgB;EAAQ,aAAU;EAAiB,GAAI;GAAS;;AAG1E,SAAS,aAAa,EACpB,GAAG,SACmD;AACtD,QAAO,oBAACA,SAAgB;EAAO,aAAU;EAAgB,GAAI;GAAS;;AAGxE,SAAS,YAAY,EACnB,GAAG,SACkD;AACrD,QAAO,oBAACA,SAAgB;EAAM,aAAU;EAAe,GAAI;GAAS;;AAGtE,SAAS,cAAc,EACrB,WACA,GAAG,SACoD;AACvD,QACE,oBAACA,SAAgB;EACf,aAAU;EACV,WAAW,GACT,0JACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,cAAc,EACrB,WACA,UACA,GAAG,SACoD;AACvD,QACE,qBAAC;EAAa,aAAU;aACtB,oBAAC,kBAAgB,EACjB,qBAACA,SAAgB;GACf,aAAU;GACV,WAAW,GACT,sEACA,kQACA,uRACA,+NACA,yNACA,UACD;GACD,GAAI;cAEJ,oBAAC,SAAI,WAAU,oIAAoI,EAClJ;IACuB;GACb;;AAInB,SAAS,aAAa,EACpB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,4LACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,aAAa,EACpB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,mCAAmC,UAAU;EAC3D,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,WACA,GAAG,SACkD;AACrD,QACE,oBAACA,SAAgB;EACf,aAAU;EACV,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ;;AAIN,SAAS,kBAAkB,EACzB,WACA,GAAG,SACwD;AAC3D,QACE,oBAACA,SAAgB;EACf,aAAU;EACV,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ"}
@@ -1,25 +1,25 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime48 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime132 from "react/jsx-runtime";
3
3
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
4
4
 
5
5
  //#region ui/dropdown-menu.d.ts
6
6
  declare function DropdownMenu({
7
7
  ...props
8
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime48.JSX.Element;
8
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime132.JSX.Element;
9
9
  declare function DropdownMenuPortal({
10
10
  ...props
11
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime48.JSX.Element;
11
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime132.JSX.Element;
12
12
  declare function DropdownMenuTrigger({
13
13
  ...props
14
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime48.JSX.Element;
14
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime132.JSX.Element;
15
15
  declare function DropdownMenuContent({
16
16
  className,
17
17
  sideOffset,
18
18
  ...props
19
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime48.JSX.Element;
19
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime132.JSX.Element;
20
20
  declare function DropdownMenuGroup({
21
21
  ...props
22
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime48.JSX.Element;
22
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime132.JSX.Element;
23
23
  declare function DropdownMenuItem({
24
24
  className,
25
25
  inset,
@@ -28,39 +28,39 @@ declare function DropdownMenuItem({
28
28
  }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
29
29
  inset?: boolean;
30
30
  variant?: 'default' | 'destructive';
31
- }): react_jsx_runtime48.JSX.Element;
31
+ }): react_jsx_runtime132.JSX.Element;
32
32
  declare function DropdownMenuCheckboxItem({
33
33
  className,
34
34
  children,
35
35
  checked,
36
36
  ...props
37
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime48.JSX.Element;
37
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime132.JSX.Element;
38
38
  declare function DropdownMenuRadioGroup({
39
39
  ...props
40
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime48.JSX.Element;
40
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime132.JSX.Element;
41
41
  declare function DropdownMenuRadioItem({
42
42
  className,
43
43
  children,
44
44
  ...props
45
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime48.JSX.Element;
45
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime132.JSX.Element;
46
46
  declare function DropdownMenuLabel({
47
47
  className,
48
48
  inset,
49
49
  ...props
50
50
  }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
51
51
  inset?: boolean;
52
- }): react_jsx_runtime48.JSX.Element;
52
+ }): react_jsx_runtime132.JSX.Element;
53
53
  declare function DropdownMenuSeparator({
54
54
  className,
55
55
  ...props
56
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime48.JSX.Element;
56
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime132.JSX.Element;
57
57
  declare function DropdownMenuShortcut({
58
58
  className,
59
59
  ...props
60
- }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime48.JSX.Element;
60
+ }: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime132.JSX.Element;
61
61
  declare function DropdownMenuSub({
62
62
  ...props
63
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime48.JSX.Element;
63
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime132.JSX.Element;
64
64
  declare function DropdownMenuSubTrigger({
65
65
  className,
66
66
  inset,
@@ -68,10 +68,11 @@ declare function DropdownMenuSubTrigger({
68
68
  ...props
69
69
  }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
70
70
  inset?: boolean;
71
- }): react_jsx_runtime48.JSX.Element;
71
+ }): react_jsx_runtime132.JSX.Element;
72
72
  declare function DropdownMenuSubContent({
73
73
  className,
74
74
  ...props
75
- }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime48.JSX.Element;
75
+ }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime132.JSX.Element;
76
76
  //#endregion
77
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
77
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
78
+ //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-menu.d.ts","names":[],"sources":["../../ui/dropdown-menu.tsx"],"sourcesContent":[],"mappings":";;;;;iBAQS,YAAA;;GAEN,OAAA,CAAM,sBAAsB,qBAAA,CAAsB,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAIjD,kBAAA;;GAEN,OAAA,CAAM,sBAAsB,qBAAA,CAAsB,UAAO,oBAAA,CAAA,GAAA,CAAA;iBAMnD,mBAAA;;GAEN,OAAA,CAAM,sBAAsB,qBAAA,CAAsB,WAAQ,oBAAA,CAAA,GAAA,CAAA;AArBU,iBA8B9D,mBAAA,CAzBY;EAAA,SAAA;EAAA,UAAA;EAAA,GAAA;AAAA,CAAA,EA6BlB,OAAA,CAAM,cA7BY,CAAA,OA6BU,qB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nD,KAAA,CAAA,EAAA,OAAA;CAEsB,CAAA,EA+H9B,oBAAA,CAAA,GAAA,CAAA,OA/HoD;iBA6I5C,qBAAA,CA7IA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAgJN,OAAA,CAAM,cAhJA,CAAA,OAgJsB,qBAAA,CAAsB,SAhJ5C,CAAA,CAAA,EAgJsD,oBAAA,CAAA,GAAA,CAAA,OAhJtD;iBA0JA,oBAAA,CA1JoD;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA6J1D,OAAA,CAAM,wBA7JoD,CAAA,MAAA,CAAA,CAAA,EA6JpB,oBAAA,CAAA,GAAA,CAAA,OA7JoB;iBA0KpD,eAAA,CA1KoD;EAAA,GAAA;AAAA,CAAA,EA4K1D,OAAA,CAAM,cA5KoD,CAAA,OA4K9B,qBAAA,CAAsB,GA5KQ,CAAA,CAAA,EA4KJ,oBAAA,CAAA,GAAA,CAAA,OA5KI;AAAA,iBAgLpD,sBAAA,CAvKmB;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EA4KzB,OAAA,CAAM,cA5KmB,CAAA,OA4KG,qBAAA,CAAsB,UA5KzB,CAAA,GAAA;EAC1B,KAAA,CAAA,EAAA,OAAA;CACA,CAAA,EA4KD,oBAAA,CAAA,GAAA,CAAA,OA5KC;iBA6LO,sBAAA,CA3L4C;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA8LlD,OAAA,CAAM,cA9L4C,CAAA,OA8LtB,qBAAA,CAAsB,UA9LA,CAAA,CAAA,EA8LW,oBAAA,CAAA,GAAA,CAAA,OA9LX"}
@@ -123,4 +123,5 @@ function DropdownMenuSubContent({ className, ...props }) {
123
123
  }
124
124
 
125
125
  //#endregion
126
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
126
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
127
+ //# sourceMappingURL=dropdown-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-menu.js","names":[],"sources":["../../ui/dropdown-menu.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nfunction DropdownMenu({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />;\n}\n\nfunction DropdownMenuPortal({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n return (\n <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />\n );\n}\n\nfunction DropdownMenuTrigger({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {\n return (\n <DropdownMenuPrimitive.Trigger\n data-slot=\"dropdown-menu-trigger\"\n {...props}\n />\n );\n}\n\nfunction DropdownMenuContent({\n className,\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n data-slot=\"dropdown-menu-content\"\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md',\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\nfunction DropdownMenuGroup({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {\n return (\n <DropdownMenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />\n );\n}\n\nfunction DropdownMenuItem({\n className,\n inset,\n variant = 'default',\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}) {\n return (\n <DropdownMenuPrimitive.Item\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"data-[variant=destructive]:*:[svg]:text-destructive! focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {\n return (\n <DropdownMenuPrimitive.CheckboxItem\n data-slot=\"dropdown-menu-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n );\n}\n\nfunction DropdownMenuRadioGroup({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {\n return (\n <DropdownMenuPrimitive.RadioGroup\n data-slot=\"dropdown-menu-radio-group\"\n {...props}\n />\n );\n}\n\nfunction DropdownMenuRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {\n return (\n <DropdownMenuPrimitive.RadioItem\n data-slot=\"dropdown-menu-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n );\n}\n\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.Label\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn(\n 'px-2 py-1.5 text-sm font-medium data-inset:pl-8',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuSeparator({\n className,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {\n return (\n <DropdownMenuPrimitive.Separator\n data-slot=\"dropdown-menu-separator\"\n className={cn('bg-border -mx-1 my-1 h-px', className)}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'span'>) {\n return (\n <span\n data-slot=\"dropdown-menu-shortcut\"\n className={cn(\n 'text-muted-foreground ml-auto text-xs tracking-widest',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuSub({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />;\n}\n\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.SubTrigger\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-xs px-2 py-1.5 text-sm outline-hidden select-none data-inset:pl-8',\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n );\n}\n\nfunction DropdownMenuSubContent({\n className,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {\n return (\n <DropdownMenuPrimitive.SubContent\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n 'bg-popover text-popover-foreground 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 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"],"mappings":";;;;;;;;;AAQA,SAAS,aAAa,EACpB,GAAG,SACuD;AAC1D,QAAO,oBAAC,sBAAsB;EAAK,aAAU;EAAgB,GAAI;GAAS;;AAG5E,SAAS,mBAAmB,EAC1B,GAAG,SACyD;AAC5D,QACE,oBAAC,sBAAsB;EAAO,aAAU;EAAuB,GAAI;GAAS;;AAIhF,SAAS,oBAAoB,EAC3B,GAAG,SAC0D;AAC7D,QACE,oBAAC,sBAAsB;EACrB,aAAU;EACV,GAAI;GACJ;;AAIN,SAAS,oBAAoB,EAC3B,WACA,aAAa,GACb,GAAG,SAC0D;AAC7D,QACE,oBAAC,sBAAsB,oBACrB,oBAAC,sBAAsB;EACrB,aAAU;EACE;EACZ,WAAW,GACT,sjBACA,UACD;EACD,GAAI;GACJ,GAC2B;;AAInC,SAAS,kBAAkB,EACzB,GAAG,SACwD;AAC3D,QACE,oBAAC,sBAAsB;EAAM,aAAU;EAAsB,GAAI;GAAS;;AAI9E,SAAS,iBAAiB,EACxB,WACA,OACA,UAAU,WACV,GAAG,SAIF;AACD,QACE,oBAAC,sBAAsB;EACrB,aAAU;EACV,cAAY;EACZ,gBAAc;EACd,WAAW,GACT,ymBACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,yBAAyB,EAChC,WACA,UACA,SACA,GAAG,SAC+D;AAClE,QACE,qBAAC,sBAAsB;EACrB,aA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AAsB;EACrB,aAAU;EACV,WAAW,GACT,6eACA,UACD;EACD,GAAI;GACJ"}
@@ -1,12 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime47 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime130 from "react/jsx-runtime";
3
3
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types1 from "class-variance-authority/types";
4
+ import * as class_variance_authority_types5 from "class-variance-authority/types";
5
5
 
6
6
  //#region ui/empty-state.d.ts
7
7
  declare const containerVariants: (props?: ({
8
8
  density?: "default" | "compact" | null | undefined;
9
- } & class_variance_authority_types1.ClassProp) | undefined) => string;
9
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
10
10
  interface EmptyStateProps extends VariantProps<typeof containerVariants> {
11
11
  icon?: React$1.ReactNode;
12
12
  title: React$1.ReactNode;
@@ -23,6 +23,7 @@ declare function EmptyState({
23
23
  secondaryAction,
24
24
  className,
25
25
  density
26
- }: EmptyStateProps): react_jsx_runtime47.JSX.Element;
26
+ }: EmptyStateProps): react_jsx_runtime130.JSX.Element;
27
27
  //#endregion
28
- export { EmptyState, EmptyStateProps };
28
+ export { EmptyState, EmptyStateProps };
29
+ //# sourceMappingURL=empty-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-state.d.ts","names":[],"sources":["../../ui/empty-state.tsx"],"sourcesContent":[],"mappings":";;;;;;cAKM;;IAUJ,+BAAA,CAAA;UAEe,eAAA,SAAwB,oBAChC;EAbH,IAAA,CAAA,EAeG,OAAA,CAAM,SALb;EAEe,KAAA,EAIR,OAAA,CAAM,SAJkB;EACxB,WAAA,CAAA,EAIO,OAAA,CAAM,SAJb;EAEA,aAAM,CAAA,EAGG,OAAA,CAAM,SAHT;EACN,eAAM,CAAA,EAGK,OAAA,CAAM,SAHX;EACC,SAAM,CAAA,EAAA,MAAA;;AAEF,iBAIJ,UAAA,CAJU;EAAA,IAAA;EAAA,KAAA;EAAA,WAAA;EAAA,aAAA;EAAA,eAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAYvB,eAZuB,CAAA,EAYR,oBAAA,CAAA,GAAA,CAAA,OAZQ"}
@@ -39,4 +39,5 @@ function EmptyState({ icon, title, description, primaryAction, secondaryAction,
39
39
  }
40
40
 
41
41
  //#endregion
42
- export { EmptyState };
42
+ export { EmptyState };
43
+ //# sourceMappingURL=empty-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-state.js","names":[],"sources":["../../ui/empty-state.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\nimport { VStack } from './stack';\n\nconst containerVariants = cva('items-center text-center', {\n variants: {\n density: {\n compact: 'gap-3 p-6',\n default: 'gap-4 p-8',\n },\n },\n defaultVariants: {\n density: 'default',\n },\n});\n\nexport interface EmptyStateProps extends VariantProps<\n typeof containerVariants\n> {\n icon?: React.ReactNode;\n title: React.ReactNode;\n description?: React.ReactNode;\n primaryAction?: React.ReactNode;\n secondaryAction?: React.ReactNode;\n className?: string;\n}\n\nexport function EmptyState({\n icon,\n title,\n description,\n primaryAction,\n secondaryAction,\n className,\n density,\n}: EmptyStateProps) {\n return (\n <VStack className={cn(containerVariants({ density }), className)}>\n {icon ? (\n <div className=\"bg-muted flex h-12 w-12 items-center justify-center rounded-full\">\n {/* Consumers pass their own icon; keep neutral backdrop */}\n <div className=\"text-muted-foreground flex items-center justify-center\">\n {icon}\n </div>\n </div>\n ) : null}\n\n <div>\n <h3 className=\"font-medium\">{title}</h3>\n {description ? (\n <p className=\"text-muted-foreground text-base\">{description}</p>\n ) : null}\n </div>\n\n {(primaryAction || secondaryAction) && (\n <div className=\"flex items-center justify-center gap-2\">\n {primaryAction}\n {secondaryAction}\n </div>\n )}\n </VStack>\n );\n}\n"],"mappings":";;;;;;;AAKA,MAAM,oBAAoB,IAAI,4BAA4B;CACxD,UAAU,EACR,SAAS;EACP,SAAS;EACT,SAAS;EACV,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CAAC;AAaF,SAAgB,WAAW,EACzB,MACA,OACA,aACA,eACA,iBACA,WACA,WACkB;AAClB,QACE,qBAAC;EAAO,WAAW,GAAG,kBAAkB,EAAE,SAAS,CAAC,EAAE,UAAU;;GAC7D,OACC,oBAAC;IAAI,WAAU;cAEb,oBAAC;KAAI,WAAU;eACZ;MACG;KACF,GACJ;GAEJ,qBAAC,oBACC,oBAAC;IAAG,WAAU;cAAe;KAAW,EACvC,cACC,oBAAC;IAAE,WAAU;cAAmC;KAAgB,GAC9D,QACA;IAEJ,iBAAiB,oBACjB,qBAAC;IAAI,WAAU;eACZ,eACA;KACG;;GAED"}
@@ -1,36 +1,37 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime41 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime147 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_types6 from "class-variance-authority/types";
5
5
 
6
6
  //#region ui/empty.d.ts
7
7
  declare function Empty({
8
8
  className,
9
9
  ...props
10
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime41.JSX.Element;
10
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime147.JSX.Element;
11
11
  declare function EmptyHeader({
12
12
  className,
13
13
  ...props
14
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime41.JSX.Element;
14
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime147.JSX.Element;
15
15
  declare const emptyMediaVariants: (props?: ({
16
16
  variant?: "default" | "icon" | null | undefined;
17
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
17
+ } & class_variance_authority_types6.ClassProp) | undefined) => string;
18
18
  declare function EmptyMedia({
19
19
  className,
20
20
  variant,
21
21
  ...props
22
- }: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime41.JSX.Element;
22
+ }: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime147.JSX.Element;
23
23
  declare function EmptyTitle({
24
24
  className,
25
25
  ...props
26
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime41.JSX.Element;
26
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime147.JSX.Element;
27
27
  declare function EmptyDescription({
28
28
  className,
29
29
  ...props
30
- }: React$1.ComponentPropsWithoutRef<'p'>): react_jsx_runtime41.JSX.Element;
30
+ }: React$1.ComponentPropsWithoutRef<'p'>): react_jsx_runtime147.JSX.Element;
31
31
  declare function EmptyContent({
32
32
  className,
33
33
  ...props
34
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime41.JSX.Element;
34
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime147.JSX.Element;
35
35
  //#endregion
36
- export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
36
+ export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
37
+ //# sourceMappingURL=empty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty.d.ts","names":[],"sources":["../../ui/empty.tsx"],"sourcesContent":[],"mappings":";;;;;;iBAKS,KAAA;;;GAA+B,OAAA,CAAM,kCAA+B,oBAAA,CAAA,GAAA,CAAA;iBAapE,WAAA;;;GAGN,OAAA,CAAM,kCAA+B,oBAAA,CAAA,GAAA,CAAA;cAalC,0BA7BQ;;AAJoD,CAAA,GA8CjE,+BAAA,CAAA,SA1Ca,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;iBA4CL,UAAA,CA5CQ;EAAA,SAAA;EAAA,OAAA;EAAA,GAAA;AAAA,CAAA,EAgDd,OAAA,CAAM,wBAhDQ,CAAA,KAAA,CAAA,GAiDf,YAjDe,CAAA,OAiDK,kBAjDL,CAAA,CAAA,EAiDwB,oBAAA,CAAA,GAAA,CAAA,OAjDxB;iBA4DR,UAAA,CA5DqC;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+D3C,OAAA,CAAM,wBA/DqC,CAAA,KAAA,CAAA,CAAA,EA+DN,oBAAA,CAAA,GAAA,CAAA,OA/DM;iBAyErC,gBAAA,CAzEoE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4E1E,OAAA,CAAM,wBA5EoE,CAAA,GAAA,CAAA,CAAA,EA4EvC,oBAAA,CAAA,GAAA,CAAA,OA5EuC;iBAyFpE,YAAA,CAzFoE;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4F1E,OAAA,CAAM,wBA5FoE,CAAA,KAAA,CAAA,CAAA,EA4FrC,oBAAA,CAAA,GAAA,CAAA,OA5FqC"}
package/dist/ui/empty.js CHANGED
@@ -58,4 +58,5 @@ function EmptyContent({ className, ...props }) {
58
58
  }
59
59
 
60
60
  //#endregion
61
- export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
61
+ export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
62
+ //# sourceMappingURL=empty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty.js","names":[],"sources":["../../ui/empty.tsx"],"sourcesContent":["import type * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@lssm/lib.ui-kit-core/utils';\n\nfunction Empty({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn(\n 'flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction EmptyHeader({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"empty-header\"\n className={cn(\n 'flex max-w-sm flex-col items-center gap-2 text-center',\n className\n )}\n {...props}\n />\n );\n}\n\nconst emptyMediaVariants = cva(\n 'flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\nfunction EmptyMedia({\n className,\n variant = 'default',\n ...props\n}: React.ComponentPropsWithoutRef<'div'> &\n VariantProps<typeof emptyMediaVariants>) {\n return (\n <div\n data-slot=\"empty-icon\"\n data-variant={variant}\n className={cn(emptyMediaVariants({ variant, className }))}\n {...props}\n />\n );\n}\n\nfunction EmptyTitle({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"empty-title\"\n className={cn('text-lg font-medium tracking-tight', className)}\n {...props}\n />\n );\n}\n\nfunction EmptyDescription({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'p'>) {\n return (\n <p\n data-slot=\"empty-description\"\n className={cn(\n 'text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction EmptyContent({\n className,\n ...props\n}: React.ComponentPropsWithoutRef<'div'>) {\n return (\n <div\n data-slot=\"empty-content\"\n className={cn(\n 'flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance',\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n Empty,\n EmptyHeader,\n EmptyTitle,\n EmptyDescription,\n EmptyContent,\n EmptyMedia,\n};\n"],"mappings":";;;;;AAKA,SAAS,MAAM,EAAE,WAAW,GAAG,SAAgD;AAC7E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,gIACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,yDACA,UACD;EACD,GAAI;GACJ;;AAIN,MAAM,qBAAqB,IACzB,+FACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,MAAM;EACP,EACF;CACD,iBAAiB,EACf,SAAS,WACV;CACF,CACF;AAED,SAAS,WAAW,EAClB,WACA,UAAU,WACV,GAAG,SAEsC;AACzC,QACE,oBAAC;EACC,aAAU;EACV,gBAAc;EACd,WAAW,GAAG,mBAAmB;GAAE;GAAS;GAAW,CAAC,CAAC;EACzD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAClB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,sCAAsC,UAAU;EAC9D,GAAI;GACJ;;AAIN,SAAS,iBAAiB,EACxB,WACA,GAAG,SACmC;AACtC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,2GACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,aAAa,EACpB,WACA,GAAG,SACqC;AACxC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,iFACA,UACD;EACD,GAAI;GACJ"}
@@ -1,56 +1,56 @@
1
1
  import { Label } from "./label.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime81 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime155 from "react/jsx-runtime";
4
4
  import { VariantProps } from "class-variance-authority";
5
- import * as class_variance_authority_types3 from "class-variance-authority/types";
5
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
6
6
 
7
7
  //#region ui/field.d.ts
8
8
  declare function FieldSet({
9
9
  className,
10
10
  ...props
11
- }: React$1.ComponentPropsWithoutRef<'fieldset'>): react_jsx_runtime81.JSX.Element;
11
+ }: React$1.ComponentPropsWithoutRef<'fieldset'>): react_jsx_runtime155.JSX.Element;
12
12
  declare function FieldLegend({
13
13
  className,
14
14
  variant,
15
15
  ...props
16
16
  }: React$1.ComponentPropsWithoutRef<'legend'> & {
17
17
  variant?: 'legend' | 'label';
18
- }): react_jsx_runtime81.JSX.Element;
18
+ }): react_jsx_runtime155.JSX.Element;
19
19
  declare function FieldGroup({
20
20
  className,
21
21
  ...props
22
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime81.JSX.Element;
22
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime155.JSX.Element;
23
23
  declare const fieldVariants: (props?: ({
24
- orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
25
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
24
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
25
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
26
26
  declare function Field({
27
27
  className,
28
28
  orientation,
29
29
  ...props
30
- }: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime81.JSX.Element;
30
+ }: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime155.JSX.Element;
31
31
  declare function FieldContent({
32
32
  className,
33
33
  ...props
34
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime81.JSX.Element;
34
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime155.JSX.Element;
35
35
  declare function FieldLabel({
36
36
  className,
37
37
  ...props
38
- }: React$1.ComponentPropsWithoutRef<typeof Label>): react_jsx_runtime81.JSX.Element;
38
+ }: React$1.ComponentPropsWithoutRef<typeof Label>): react_jsx_runtime155.JSX.Element;
39
39
  declare function FieldTitle({
40
40
  className,
41
41
  ...props
42
- }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime81.JSX.Element;
42
+ }: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime155.JSX.Element;
43
43
  declare function FieldDescription({
44
44
  className,
45
45
  ...props
46
- }: React$1.ComponentPropsWithoutRef<'p'>): react_jsx_runtime81.JSX.Element;
46
+ }: React$1.ComponentPropsWithoutRef<'p'>): react_jsx_runtime155.JSX.Element;
47
47
  declare function FieldSeparator({
48
48
  children,
49
49
  className,
50
50
  ...props
51
51
  }: React$1.ComponentPropsWithoutRef<'div'> & {
52
52
  children?: React$1.ReactNode;
53
- }): react_jsx_runtime81.JSX.Element;
53
+ }): react_jsx_runtime155.JSX.Element;
54
54
  declare function FieldError({
55
55
  className,
56
56
  children,
@@ -60,6 +60,7 @@ declare function FieldError({
60
60
  errors?: ({
61
61
  message?: string;
62
62
  } | undefined)[];
63
- }): react_jsx_runtime81.JSX.Element | null;
63
+ }): react_jsx_runtime155.JSX.Element | null;
64
64
  //#endregion
65
- export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
65
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
66
+ //# sourceMappingURL=field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field.d.ts","names":[],"sources":["../../ui/field.tsx"],"sourcesContent":[],"mappings":";;;;;;;iBASS,QAAA;;;GAGN,OAAA,CAAM,uCAAoC,oBAAA,CAAA,GAAA,CAAA;iBAcpC,WAAA;;;;GAIN,OAAA,CAAM;;IAER,oBAAA,CAAA,GAAA,CAAA;AA1B+B,iBA0CvB,UAAA,CAvCQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA0Cd,OAAA,CAAM,wBA1CQ,CAAA,KAAA,CAAA,CAAA,EA0CuB,oBAAA,CAAA,GAAA,CAAA,OA1CvB;cAuDX,aAtDJ,EAAA,CAAA,KAE2C,CAF3C,EAAA,CAAA;EAEC,WAAM,CAAA,EAAA,YAAA,GAAA,UAAA,GAAA,YAAA,GAAA,IAAA,GAAA,SAAA;CAAoC,GA0E5C,+BAAA,CAAA,SA1E4C,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;iBA4EpC,KAAA,CA5EoC;EAAA,SAAA;EAAA,WAAA;EAAA,GAAA;AAAA,CAAA,EAgF1C,OAAA,CAAM,wBAhFoC,CAAA,KA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,CAAA,OAAA,GA3HA,IAAA"}
package/dist/ui/field.js CHANGED
@@ -117,4 +117,5 @@ function FieldError({ className, children, errors, ...props }) {
117
117
  }
118
118
 
119
119
  //#endregion
120
- export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
120
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
121
+ //# sourceMappingURL=field.js.map