@arolariu/components 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/components/ui/accordion.js +3 -3
  3. package/dist/components/ui/accordion.js.map +1 -1
  4. package/dist/components/ui/accordion_module.css.map +1 -1
  5. package/dist/components/ui/alert-dialog.js +8 -8
  6. package/dist/components/ui/alert-dialog.js.map +1 -1
  7. package/dist/components/ui/alert-dialog_module.css +1 -1
  8. package/dist/components/ui/alert-dialog_module.css.map +1 -1
  9. package/dist/components/ui/alert.js +4 -4
  10. package/dist/components/ui/alert.js.map +1 -1
  11. package/dist/components/ui/alert_module.css.map +1 -1
  12. package/dist/components/ui/aspect-ratio.js +2 -2
  13. package/dist/components/ui/aspect-ratio.js.map +1 -1
  14. package/dist/components/ui/aspect-ratio_module.css.map +1 -1
  15. package/dist/components/ui/async-boundary.js +2 -2
  16. package/dist/components/ui/async-boundary.js.map +1 -1
  17. package/dist/components/ui/avatar.js +4 -4
  18. package/dist/components/ui/avatar.js.map +1 -1
  19. package/dist/components/ui/avatar_module.css.map +1 -1
  20. package/dist/components/ui/background-beams.js +3 -3
  21. package/dist/components/ui/background-beams.js.map +1 -1
  22. package/dist/components/ui/background-beams_module.css.map +1 -1
  23. package/dist/components/ui/badge.js +2 -2
  24. package/dist/components/ui/badge.js.map +1 -1
  25. package/dist/components/ui/badge_module.css.map +1 -1
  26. package/dist/components/ui/breadcrumb.js +10 -10
  27. package/dist/components/ui/breadcrumb.js.map +1 -1
  28. package/dist/components/ui/breadcrumb_module.css.map +1 -1
  29. package/dist/components/ui/bubble-background.js +5 -5
  30. package/dist/components/ui/bubble-background.js.map +1 -1
  31. package/dist/components/ui/bubble-background_module.css.map +1 -1
  32. package/dist/components/ui/button-group.js +6 -6
  33. package/dist/components/ui/button-group.js.map +1 -1
  34. package/dist/components/ui/button-group_module.css.map +1 -1
  35. package/dist/components/ui/button.js +4 -4
  36. package/dist/components/ui/button.js.map +1 -1
  37. package/dist/components/ui/button_module.css.map +1 -1
  38. package/dist/components/ui/calendar.d.ts +2 -1
  39. package/dist/components/ui/calendar.d.ts.map +1 -1
  40. package/dist/components/ui/calendar.js +4 -4
  41. package/dist/components/ui/calendar.js.map +1 -1
  42. package/dist/components/ui/calendar_module.css.map +1 -1
  43. package/dist/components/ui/card-skeleton.js +2 -2
  44. package/dist/components/ui/card-skeleton.js.map +1 -1
  45. package/dist/components/ui/card-skeleton_module.css.map +1 -1
  46. package/dist/components/ui/card.js +8 -8
  47. package/dist/components/ui/card.js.map +1 -1
  48. package/dist/components/ui/card_module.css.map +1 -1
  49. package/dist/components/ui/carousel.js +16 -16
  50. package/dist/components/ui/carousel.js.map +1 -1
  51. package/dist/components/ui/carousel_module.css +1 -1
  52. package/dist/components/ui/carousel_module.css.map +1 -1
  53. package/dist/components/ui/chart.d.ts +6 -3
  54. package/dist/components/ui/chart.d.ts.map +1 -1
  55. package/dist/components/ui/chart.js +70 -136
  56. package/dist/components/ui/chart.js.map +1 -1
  57. package/dist/components/ui/chart_module.css.map +1 -1
  58. package/dist/components/ui/checkbox-group.js +2 -2
  59. package/dist/components/ui/checkbox-group.js.map +1 -1
  60. package/dist/components/ui/checkbox-group_module.css.map +1 -1
  61. package/dist/components/ui/checkbox.js +2 -2
  62. package/dist/components/ui/checkbox.js.map +1 -1
  63. package/dist/components/ui/checkbox_module.css.map +1 -1
  64. package/dist/components/ui/collapsible.js +4 -4
  65. package/dist/components/ui/collapsible.js.map +1 -1
  66. package/dist/components/ui/collapsible_module.css.map +1 -1
  67. package/dist/components/ui/combobox.js +13 -13
  68. package/dist/components/ui/combobox.js.map +1 -1
  69. package/dist/components/ui/combobox_module.css.map +1 -1
  70. package/dist/components/ui/command.js +40 -40
  71. package/dist/components/ui/command.js.map +1 -1
  72. package/dist/components/ui/command_module.css +1 -1
  73. package/dist/components/ui/command_module.css.map +1 -1
  74. package/dist/components/ui/context-menu.js +6 -6
  75. package/dist/components/ui/context-menu.js.map +1 -1
  76. package/dist/components/ui/context-menu_module.css.map +1 -1
  77. package/dist/components/ui/copy-button.js +6 -6
  78. package/dist/components/ui/copy-button.js.map +1 -1
  79. package/dist/components/ui/copy-button_module.css.map +1 -1
  80. package/dist/components/ui/counting-number.js +6 -6
  81. package/dist/components/ui/counting-number.js.map +1 -1
  82. package/dist/components/ui/counting-number_module.css.map +1 -1
  83. package/dist/components/ui/dialog.js +6 -6
  84. package/dist/components/ui/dialog.js.map +1 -1
  85. package/dist/components/ui/dialog_module.css +1 -1
  86. package/dist/components/ui/dialog_module.css.map +1 -1
  87. package/dist/components/ui/dot-background_module.css.map +1 -1
  88. package/dist/components/ui/drawer.js +5 -5
  89. package/dist/components/ui/drawer.js.map +1 -1
  90. package/dist/components/ui/drawer_module.css.map +1 -1
  91. package/dist/components/ui/dropdown-menu.js +6 -6
  92. package/dist/components/ui/dropdown-menu.js.map +1 -1
  93. package/dist/components/ui/dropdown-menu_module.css.map +1 -1
  94. package/dist/components/ui/dropdrawer.js +52 -52
  95. package/dist/components/ui/dropdrawer.js.map +1 -1
  96. package/dist/components/ui/dropdrawer_module.css.map +1 -1
  97. package/dist/components/ui/empty.js +7 -7
  98. package/dist/components/ui/empty.js.map +1 -1
  99. package/dist/components/ui/empty_module.css.map +1 -1
  100. package/dist/components/ui/error-boundary.js +2 -2
  101. package/dist/components/ui/error-boundary.js.map +1 -1
  102. package/dist/components/ui/error-boundary_module.css.map +1 -1
  103. package/dist/components/ui/field.js +12 -12
  104. package/dist/components/ui/field.js.map +1 -1
  105. package/dist/components/ui/field_module.css.map +1 -1
  106. package/dist/components/ui/fireworks-background.js +6 -6
  107. package/dist/components/ui/fireworks-background.js.map +1 -1
  108. package/dist/components/ui/fireworks-background_module.css.map +1 -1
  109. package/dist/components/ui/flip-button.js +5 -5
  110. package/dist/components/ui/flip-button.js.map +1 -1
  111. package/dist/components/ui/flip-button_module.css.map +1 -1
  112. package/dist/components/ui/focus-scope.js +6 -6
  113. package/dist/components/ui/focus-scope.js.map +1 -1
  114. package/dist/components/ui/focus-scope_module.css.map +1 -1
  115. package/dist/components/ui/form-skeleton.js +2 -2
  116. package/dist/components/ui/form-skeleton.js.map +1 -1
  117. package/dist/components/ui/form-skeleton_module.css.map +1 -1
  118. package/dist/components/ui/form.d.ts +3 -3
  119. package/dist/components/ui/form.d.ts.map +1 -1
  120. package/dist/components/ui/form.js +13 -13
  121. package/dist/components/ui/form.js.map +1 -1
  122. package/dist/components/ui/form_module.css.map +1 -1
  123. package/dist/components/ui/gradient-background.js +2 -2
  124. package/dist/components/ui/gradient-background.js.map +1 -1
  125. package/dist/components/ui/gradient-background_module.css.map +1 -1
  126. package/dist/components/ui/gradient-text.js +2 -2
  127. package/dist/components/ui/gradient-text.js.map +1 -1
  128. package/dist/components/ui/gradient-text_module.css.map +1 -1
  129. package/dist/components/ui/highlight-text.js +4 -4
  130. package/dist/components/ui/highlight-text.js.map +1 -1
  131. package/dist/components/ui/highlight-text_module.css.map +1 -1
  132. package/dist/components/ui/hole-background.js +21 -21
  133. package/dist/components/ui/hole-background.js.map +1 -1
  134. package/dist/components/ui/hole-background_module.css.map +1 -1
  135. package/dist/components/ui/hover-card.js +3 -3
  136. package/dist/components/ui/hover-card.js.map +1 -1
  137. package/dist/components/ui/hover-card_module.css.map +1 -1
  138. package/dist/components/ui/input-group.js +7 -7
  139. package/dist/components/ui/input-group.js.map +1 -1
  140. package/dist/components/ui/input-group_module.css.map +1 -1
  141. package/dist/components/ui/input-otp.d.ts +3 -3
  142. package/dist/components/ui/input-otp.d.ts.map +1 -1
  143. package/dist/components/ui/input-otp.js +6 -6
  144. package/dist/components/ui/input-otp.js.map +1 -1
  145. package/dist/components/ui/input-otp_module.css.map +1 -1
  146. package/dist/components/ui/input.js +2 -2
  147. package/dist/components/ui/input.js.map +1 -1
  148. package/dist/components/ui/input_module.css.map +1 -1
  149. package/dist/components/ui/item.js +13 -13
  150. package/dist/components/ui/item.js.map +1 -1
  151. package/dist/components/ui/item_module.css.map +1 -1
  152. package/dist/components/ui/kbd.js +3 -3
  153. package/dist/components/ui/kbd.js.map +1 -1
  154. package/dist/components/ui/kbd_module.css.map +1 -1
  155. package/dist/components/ui/label.js +2 -2
  156. package/dist/components/ui/label.js.map +1 -1
  157. package/dist/components/ui/label_module.css.map +1 -1
  158. package/dist/components/ui/list-skeleton.js +2 -2
  159. package/dist/components/ui/list-skeleton.js.map +1 -1
  160. package/dist/components/ui/list-skeleton_module.css.map +1 -1
  161. package/dist/components/ui/loading-overlay.js +2 -2
  162. package/dist/components/ui/loading-overlay.js.map +1 -1
  163. package/dist/components/ui/loading-overlay_module.css.map +1 -1
  164. package/dist/components/ui/menubar.js +4 -4
  165. package/dist/components/ui/menubar.js.map +1 -1
  166. package/dist/components/ui/menubar_module.css.map +1 -1
  167. package/dist/components/ui/meter.js +5 -5
  168. package/dist/components/ui/meter.js.map +1 -1
  169. package/dist/components/ui/meter_module.css.map +1 -1
  170. package/dist/components/ui/navigation-menu.js +5 -5
  171. package/dist/components/ui/navigation-menu.js.map +1 -1
  172. package/dist/components/ui/navigation-menu_module.css +1 -1
  173. package/dist/components/ui/navigation-menu_module.css.map +1 -1
  174. package/dist/components/ui/number-field.js +3 -3
  175. package/dist/components/ui/number-field.js.map +1 -1
  176. package/dist/components/ui/number-field_module.css.map +1 -1
  177. package/dist/components/ui/pagination.js +8 -8
  178. package/dist/components/ui/pagination.js.map +1 -1
  179. package/dist/components/ui/pagination_module.css.map +1 -1
  180. package/dist/components/ui/popover.js +5 -5
  181. package/dist/components/ui/popover.js.map +1 -1
  182. package/dist/components/ui/popover_module.css.map +1 -1
  183. package/dist/components/ui/progress.js +2 -2
  184. package/dist/components/ui/progress.js.map +1 -1
  185. package/dist/components/ui/progress_module.css.map +1 -1
  186. package/dist/components/ui/radio-group.js +3 -3
  187. package/dist/components/ui/radio-group.js.map +1 -1
  188. package/dist/components/ui/radio-group_module.css.map +1 -1
  189. package/dist/components/ui/resizable.d.ts +13 -29
  190. package/dist/components/ui/resizable.d.ts.map +1 -1
  191. package/dist/components/ui/resizable.js +8 -7
  192. package/dist/components/ui/resizable.js.map +1 -1
  193. package/dist/components/ui/resizable_module.css.map +1 -1
  194. package/dist/components/ui/ripple-button.js +9 -9
  195. package/dist/components/ui/ripple-button.js.map +1 -1
  196. package/dist/components/ui/ripple-button_module.css.map +1 -1
  197. package/dist/components/ui/scratcher_module.css.map +1 -1
  198. package/dist/components/ui/scroll-area.js +2 -2
  199. package/dist/components/ui/scroll-area.js.map +1 -1
  200. package/dist/components/ui/scroll-area_module.css.map +1 -1
  201. package/dist/components/ui/select.js +4 -4
  202. package/dist/components/ui/select.js.map +1 -1
  203. package/dist/components/ui/select_module.css.map +1 -1
  204. package/dist/components/ui/separator.js +2 -2
  205. package/dist/components/ui/separator.js.map +1 -1
  206. package/dist/components/ui/separator_module.css.map +1 -1
  207. package/dist/components/ui/sheet.js +6 -6
  208. package/dist/components/ui/sheet.js.map +1 -1
  209. package/dist/components/ui/sheet_module.css.map +1 -1
  210. package/dist/components/ui/sidebar.js +36 -36
  211. package/dist/components/ui/sidebar.js.map +1 -1
  212. package/dist/components/ui/sidebar_module.css.map +1 -1
  213. package/dist/components/ui/skeleton.js +2 -2
  214. package/dist/components/ui/skeleton.js.map +1 -1
  215. package/dist/components/ui/skeleton_module.css.map +1 -1
  216. package/dist/components/ui/slider.js +2 -2
  217. package/dist/components/ui/slider.js.map +1 -1
  218. package/dist/components/ui/slider_module.css.map +1 -1
  219. package/dist/components/ui/spinner.js +2 -2
  220. package/dist/components/ui/spinner.js.map +1 -1
  221. package/dist/components/ui/spinner_module.css.map +1 -1
  222. package/dist/components/ui/stepper.js +2 -2
  223. package/dist/components/ui/stepper.js.map +1 -1
  224. package/dist/components/ui/stepper_module.css.map +1 -1
  225. package/dist/components/ui/switch.js +2 -2
  226. package/dist/components/ui/switch.js.map +1 -1
  227. package/dist/components/ui/switch_module.css.map +1 -1
  228. package/dist/components/ui/table-skeleton.js +2 -2
  229. package/dist/components/ui/table-skeleton.js.map +1 -1
  230. package/dist/components/ui/table-skeleton_module.css.map +1 -1
  231. package/dist/components/ui/table.js +9 -9
  232. package/dist/components/ui/table.js.map +1 -1
  233. package/dist/components/ui/table_module.css.map +1 -1
  234. package/dist/components/ui/tabs.js +3 -3
  235. package/dist/components/ui/tabs.js.map +1 -1
  236. package/dist/components/ui/tabs_module.css.map +1 -1
  237. package/dist/components/ui/textarea.js +2 -2
  238. package/dist/components/ui/textarea.js.map +1 -1
  239. package/dist/components/ui/textarea_module.css.map +1 -1
  240. package/dist/components/ui/timeline.js +5 -5
  241. package/dist/components/ui/timeline.js.map +1 -1
  242. package/dist/components/ui/timeline_module.css.map +1 -1
  243. package/dist/components/ui/{sonner.d.ts → toast.d.ts} +10 -2
  244. package/dist/components/ui/toast.d.ts.map +1 -0
  245. package/dist/components/ui/{sonner.js → toast.js} +40 -40
  246. package/dist/components/ui/toast.js.map +1 -0
  247. package/dist/components/ui/toast.module.js +34 -0
  248. package/dist/components/ui/toast.module.js.map +1 -0
  249. package/dist/components/ui/{sonner_module.css → toast_module.css} +35 -35
  250. package/dist/components/ui/toast_module.css.map +1 -0
  251. package/dist/components/ui/toggle-group.js +5 -5
  252. package/dist/components/ui/toggle-group.js.map +1 -1
  253. package/dist/components/ui/toggle-group_module.css.map +1 -1
  254. package/dist/components/ui/toggle.js +2 -2
  255. package/dist/components/ui/toggle.js.map +1 -1
  256. package/dist/components/ui/toggle_module.css.map +1 -1
  257. package/dist/components/ui/toolbar.js +6 -6
  258. package/dist/components/ui/toolbar.js.map +1 -1
  259. package/dist/components/ui/toolbar_module.css.map +1 -1
  260. package/dist/components/ui/tooltip.js +4 -4
  261. package/dist/components/ui/tooltip.js.map +1 -1
  262. package/dist/components/ui/tooltip_module.css.map +1 -1
  263. package/dist/components/ui/typewriter.js +4 -4
  264. package/dist/components/ui/typewriter.js.map +1 -1
  265. package/dist/components/ui/typewriter_module.css.map +1 -1
  266. package/dist/components/ui/visually-hidden.js +2 -2
  267. package/dist/components/ui/visually-hidden.js.map +1 -1
  268. package/dist/components/ui/visually-hidden_module.css.map +1 -1
  269. package/dist/hooks/useAnnounce.js +5 -5
  270. package/dist/hooks/useAnnounce.js.map +1 -1
  271. package/dist/hooks/useClipboard.js +6 -6
  272. package/dist/hooks/useClipboard.js.map +1 -1
  273. package/dist/hooks/useControllableState.js +3 -3
  274. package/dist/hooks/useControllableState.js.map +1 -1
  275. package/dist/hooks/useDebounce.js +3 -3
  276. package/dist/hooks/useDebounce.js.map +1 -1
  277. package/dist/hooks/useEventCallback.js +4 -4
  278. package/dist/hooks/useEventCallback.js.map +1 -1
  279. package/dist/hooks/useFocusManager.js +6 -6
  280. package/dist/hooks/useFocusManager.js.map +1 -1
  281. package/dist/hooks/useFocusVisible.js +5 -5
  282. package/dist/hooks/useFocusVisible.js.map +1 -1
  283. package/dist/hooks/useId.js +4 -4
  284. package/dist/hooks/useId.js.map +1 -1
  285. package/dist/hooks/useIntersectionObserver.js +3 -3
  286. package/dist/hooks/useIntersectionObserver.js.map +1 -1
  287. package/dist/hooks/useInterval.js +4 -4
  288. package/dist/hooks/useInterval.js.map +1 -1
  289. package/dist/hooks/useLocalStorage.js +4 -4
  290. package/dist/hooks/useLocalStorage.js.map +1 -1
  291. package/dist/hooks/useMediaQuery.js +3 -3
  292. package/dist/hooks/useMediaQuery.js.map +1 -1
  293. package/dist/hooks/useMergedRefs.js +2 -2
  294. package/dist/hooks/useMergedRefs.js.map +1 -1
  295. package/dist/hooks/useOnClickOutside.js +2 -2
  296. package/dist/hooks/useOnClickOutside.js.map +1 -1
  297. package/dist/hooks/usePrevious.js +3 -3
  298. package/dist/hooks/usePrevious.js.map +1 -1
  299. package/dist/hooks/useThrottle.js +7 -7
  300. package/dist/hooks/useThrottle.js.map +1 -1
  301. package/dist/hooks/useTimeout.js +4 -4
  302. package/dist/hooks/useTimeout.js.map +1 -1
  303. package/dist/index.css.map +1 -1
  304. package/dist/index.d.ts +3 -3
  305. package/dist/index.d.ts.map +1 -1
  306. package/dist/index.js +1 -1
  307. package/dist/motion/Collapse.js +2 -2
  308. package/dist/motion/Collapse.js.map +1 -1
  309. package/dist/motion/Collapse_module.css.map +1 -1
  310. package/package.json +7 -8
  311. package/src/components/ui/calendar.tsx +2 -1
  312. package/src/components/ui/chart.tsx +2 -2
  313. package/src/components/ui/form.tsx +28 -3
  314. package/src/components/ui/input-otp.tsx +3 -3
  315. package/src/components/ui/resizable.tsx +15 -18
  316. package/src/components/ui/{sonner.module.css → toast.module.css} +1 -1
  317. package/src/components/ui/{sonner.tsx → toast.tsx} +2 -2
  318. package/src/index.ts +4 -4
  319. package/dist/components/ui/sonner.d.ts.map +0 -1
  320. package/dist/components/ui/sonner.js.map +0 -1
  321. package/dist/components/ui/sonner.module.js +0 -34
  322. package/dist/components/ui/sonner.module.js.map +0 -1
  323. package/dist/components/ui/sonner_module.css.map +0 -1
  324. package/dist/rslib-runtime.js +0 -39
  325. package/dist/rslib-runtime.js.map +0 -1
@@ -1,40 +1,40 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";
4
- import { forwardRef } from "react";
5
4
  import { cn } from "../../lib/utilities.js";
6
5
  import button_module from "./button.module.js";
7
6
  import pagination_module from "./pagination.module.js";
7
+ import * as __rspack_external_react from "react";
8
8
  const buttonSizeStyles = {
9
9
  default: button_module.sizeDefault,
10
10
  icon: button_module.sizeIcon,
11
11
  lg: button_module.sizeLg,
12
12
  sm: button_module.sizeSm
13
13
  };
14
- const Pagination = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("nav", {
14
+ const Pagination = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("nav", {
15
15
  ref: ref,
16
16
  role: "navigation",
17
17
  "aria-label": "pagination",
18
18
  className: cn(pagination_module.root, className),
19
19
  ...props
20
20
  }));
21
- const PaginationContent = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("ul", {
21
+ const PaginationContent = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("ul", {
22
22
  ref: ref,
23
23
  className: cn(pagination_module.content, className),
24
24
  ...props
25
25
  }));
26
- const PaginationItem = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("li", {
26
+ const PaginationItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("li", {
27
27
  ref: ref,
28
28
  className: cn(pagination_module.item, className),
29
29
  ...props
30
30
  }));
31
- const PaginationLink = /*#__PURE__*/ forwardRef(({ className, isActive = false, size = "icon", ...props }, ref)=>/*#__PURE__*/ jsx("a", {
31
+ const PaginationLink = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, isActive = false, size = "icon", ...props }, ref)=>/*#__PURE__*/ jsx("a", {
32
32
  ref: ref,
33
33
  "aria-current": isActive ? "page" : void 0,
34
34
  className: cn(button_module.button, isActive ? button_module.outline : button_module.ghost, buttonSizeStyles[size], pagination_module.link, className),
35
35
  ...props
36
36
  }));
37
- const PaginationPrevious = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsxs(PaginationLink, {
37
+ const PaginationPrevious = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsxs(PaginationLink, {
38
38
  ref: ref,
39
39
  "aria-label": "Go to previous page",
40
40
  size: "default",
@@ -47,7 +47,7 @@ const PaginationPrevious = /*#__PURE__*/ forwardRef(({ className, ...props }, re
47
47
  })
48
48
  ]
49
49
  }));
50
- const PaginationNext = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsxs(PaginationLink, {
50
+ const PaginationNext = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsxs(PaginationLink, {
51
51
  ref: ref,
52
52
  "aria-label": "Go to next page",
53
53
  size: "default",
@@ -60,7 +60,7 @@ const PaginationNext = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>
60
60
  /*#__PURE__*/ jsx(ChevronRight, {})
61
61
  ]
62
62
  }));
63
- const PaginationEllipsis = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsxs("span", {
63
+ const PaginationEllipsis = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsxs("span", {
64
64
  ref: ref,
65
65
  "aria-hidden": "true",
66
66
  className: cn(pagination_module.ellipsis, className),
@@ -1 +1 @@
1
- {"version":3,"file":"components/ui/pagination.js","sources":["../../../src/components/ui/pagination.tsx"],"sourcesContent":["\"use client\";\r\n\r\n/* eslint-disable jsx-a11y/anchor-has-content */\r\n\r\nimport {ChevronLeft, ChevronRight, MoreHorizontal} from \"lucide-react\";\r\nimport * as React from \"react\";\r\n\r\nimport type {ButtonProps} from \"@/components/ui/button\";\r\nimport {cn} from \"@/lib/utilities\";\r\nimport buttonStyles from \"./button.module.css\";\r\nimport styles from \"./pagination.module.css\";\r\n\r\n/**\r\n * Props for the {@link Pagination} component.\r\n */\r\nexport type PaginationProps = React.ComponentPropsWithoutRef<\"nav\">;\r\n\r\n/**\r\n * Props for the {@link PaginationContent} component.\r\n */\r\nexport type PaginationContentProps = React.ComponentPropsWithoutRef<\"ul\">;\r\n\r\n/**\r\n * Props for the {@link PaginationItem} component.\r\n */\r\nexport type PaginationItemProps = React.ComponentPropsWithoutRef<\"li\">;\r\n\r\n/**\r\n * Props for the {@link PaginationLink} component.\r\n */\r\nexport interface PaginationLinkProps extends Pick<ButtonProps, \"size\">, React.ComponentPropsWithoutRef<\"a\"> {\r\n /** Marks the link as the current active page. @default false */\r\n isActive?: boolean;\r\n}\r\n\r\n/**\r\n * Props for the {@link PaginationPrevious} component.\r\n */\r\nexport type PaginationPreviousProps = React.ComponentPropsWithoutRef<typeof PaginationLink>;\r\n\r\n/**\r\n * Props for the {@link PaginationNext} component.\r\n */\r\nexport type PaginationNextProps = React.ComponentPropsWithoutRef<typeof PaginationLink>;\r\n\r\n/**\r\n * Props for the {@link PaginationEllipsis} component.\r\n */\r\nexport type PaginationEllipsisProps = React.ComponentPropsWithoutRef<\"span\">;\r\n\r\nconst buttonSizeStyles: Record<NonNullable<ButtonProps[\"size\"]>, string> = {\r\n default: buttonStyles.sizeDefault,\r\n icon: buttonStyles.sizeIcon,\r\n lg: buttonStyles.sizeLg,\r\n sm: buttonStyles.sizeSm,\r\n};\r\n\r\n/**\r\n * Provides semantic navigation for paginated content.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders a `<nav>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <Pagination>\r\n * <PaginationContent />\r\n * </Pagination>\r\n * ```\r\n *\r\n * @see {@link PaginationProps} for available props\r\n */\r\nconst Pagination = React.forwardRef<HTMLElement, PaginationProps>(\r\n ({className, ...props}: Readonly<PaginationProps>, ref): React.JSX.Element => (\r\n <nav\r\n ref={ref}\r\n role='navigation'\r\n aria-label='pagination'\r\n className={cn(styles.root, className)}\r\n {...props}\r\n />\r\n ),\r\n);\r\n\r\n/**\r\n * Wraps pagination items in a flex-based list container.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders a `<ul>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationContent>\r\n * <PaginationItem />\r\n * </PaginationContent>\r\n * ```\r\n *\r\n * @see {@link PaginationContentProps} for available props\r\n */\r\nconst PaginationContent = React.forwardRef<HTMLUListElement, PaginationContentProps>(\r\n ({className, ...props}: Readonly<PaginationContentProps>, ref): React.JSX.Element => (\r\n <ul\r\n ref={ref}\r\n className={cn(styles.content, className)}\r\n {...props}\r\n />\r\n ),\r\n);\r\n\r\n/**\r\n * Wraps an individual pagination control.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders an `<li>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationItem>\r\n * <PaginationLink href='?page=1'>1</PaginationLink>\r\n * </PaginationItem>\r\n * ```\r\n *\r\n * @see {@link PaginationItemProps} for available props\r\n */\r\nconst PaginationItem = React.forwardRef<HTMLLIElement, PaginationItemProps>(\r\n ({className, ...props}: Readonly<PaginationItemProps>, ref): React.JSX.Element => (\r\n <li\r\n ref={ref}\r\n className={cn(styles.item, className)}\r\n {...props}\r\n />\r\n ),\r\n);\r\n\r\n/**\r\n * Renders an anchor styled to match pagination controls.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders an `<a>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationLink href='?page=2' isActive>\r\n * 2\r\n * </PaginationLink>\r\n * ```\r\n *\r\n * @see {@link PaginationLinkProps} for available props\r\n */\r\nconst PaginationLink = React.forwardRef<HTMLAnchorElement, PaginationLinkProps>(\r\n ({className, isActive = false, size = \"icon\", ...props}: Readonly<PaginationLinkProps>, ref): React.JSX.Element => {\r\n return (\r\n <a\r\n ref={ref}\r\n aria-current={isActive ? \"page\" : undefined}\r\n className={cn(\r\n buttonStyles.button,\r\n isActive ? buttonStyles.outline : buttonStyles.ghost,\r\n buttonSizeStyles[size],\r\n styles.link,\r\n className,\r\n )}\r\n {...props}\r\n />\r\n );\r\n },\r\n);\r\n\r\n/**\r\n * Renders the pagination control for navigating to the previous page.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders an `<a>` element through {@link PaginationLink}\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationPrevious href='?page=1' />\r\n * ```\r\n *\r\n * @see {@link PaginationPreviousProps} for available props\r\n */\r\nconst PaginationPrevious = React.forwardRef<HTMLAnchorElement, PaginationPreviousProps>(\r\n ({className, ...props}: Readonly<PaginationPreviousProps>, ref): React.JSX.Element => (\r\n <PaginationLink\r\n ref={ref}\r\n aria-label='Go to previous page'\r\n size='default'\r\n className={cn(styles.previous, className)}\r\n {...props}>\r\n <ChevronLeft />\r\n <span>Previous</span>\r\n </PaginationLink>\r\n ),\r\n);\r\n\r\n/**\r\n * Renders the pagination control for navigating to the next page.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders an `<a>` element through {@link PaginationLink}\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationNext href='?page=3' />\r\n * ```\r\n *\r\n * @see {@link PaginationNextProps} for available props\r\n */\r\nconst PaginationNext = React.forwardRef<HTMLAnchorElement, PaginationNextProps>(\r\n ({className, ...props}: Readonly<PaginationNextProps>, ref): React.JSX.Element => (\r\n <PaginationLink\r\n ref={ref}\r\n aria-label='Go to next page'\r\n size='default'\r\n className={cn(styles.next, className)}\r\n {...props}>\r\n <span>Next</span>\r\n <ChevronRight />\r\n </PaginationLink>\r\n ),\r\n);\r\n\r\n/**\r\n * Indicates truncated page ranges within pagination.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders a `<span>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationEllipsis />\r\n * ```\r\n *\r\n * @see {@link PaginationEllipsisProps} for available props\r\n */\r\nconst PaginationEllipsis = React.forwardRef<HTMLSpanElement, PaginationEllipsisProps>(\r\n ({className, ...props}: Readonly<PaginationEllipsisProps>, ref): React.JSX.Element => (\r\n <span\r\n ref={ref}\r\n aria-hidden='true'\r\n className={cn(styles.ellipsis, className)}\r\n {...props}>\r\n <MoreHorizontal />\r\n <span className={styles.srOnly}>More pages</span>\r\n </span>\r\n ),\r\n);\r\n\r\nPagination.displayName = \"Pagination\";\r\nPaginationContent.displayName = \"PaginationContent\";\r\nPaginationItem.displayName = \"PaginationItem\";\r\nPaginationLink.displayName = \"PaginationLink\";\r\nPaginationPrevious.displayName = \"PaginationPrevious\";\r\nPaginationNext.displayName = \"PaginationNext\";\r\nPaginationEllipsis.displayName = \"PaginationEllipsis\";\r\n\r\nexport {Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious};\r\n"],"names":["buttonSizeStyles","buttonStyles","Pagination","React","className","props","ref","cn","styles","PaginationContent","PaginationItem","PaginationLink","isActive","size","undefined","PaginationPrevious","ChevronLeft","PaginationNext","ChevronRight","PaginationEllipsis","MoreHorizontal"],"mappings":";;;;;;;AAkDA,MAAMA,mBAAqE;IACzE,SAASC,cAAAA,WAAwB;IACjC,MAAMA,cAAAA,QAAqB;IAC3B,IAAIA,cAAAA,MAAmB;IACvB,IAAIA,cAAAA,MAAmB;AACzB;AAmBA,MAAMC,aAAa,WAAHA,GAAGC,WACjB,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAiC,EAAEC,MAAAA,WAAAA,GACjD,IAAC;QACC,KAAKA;QACL,MAAK;QACL,cAAW;QACX,WAAWC,GAAGC,kBAAAA,IAAW,EAAEJ;QAC1B,GAAGC,KAAK;;AAsBf,MAAMI,oBAAoB,WAAHA,GAAGN,WACxB,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAwC,EAAEC,MAAAA,WAAAA,GACxD,IAAC;QACC,KAAKA;QACL,WAAWC,GAAGC,kBAAAA,OAAc,EAAEJ;QAC7B,GAAGC,KAAK;;AAsBf,MAAMK,iBAAiB,WAAHA,GAAGP,WACrB,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAqC,EAAEC,MAAAA,WAAAA,GACrD,IAAC;QACC,KAAKA;QACL,WAAWC,GAAGC,kBAAAA,IAAW,EAAEJ;QAC1B,GAAGC,KAAK;;AAsBf,MAAMM,iBAAiB,WAAHA,GAAGR,WACrB,CAAC,EAACC,SAAS,EAAEQ,WAAW,KAAK,EAAEC,OAAO,MAAM,EAAE,GAAGR,OAAqC,EAAEC,MAC/E,WAAP,GACE,IAAC;QACC,KAAKA;QACL,gBAAcM,WAAW,SAASE;QAClC,WAAWP,GACTN,cAAAA,MAAmB,EACnBW,WAAWX,cAAAA,OAAoB,GAAGA,cAAAA,KAAkB,EACpDD,gBAAgB,CAACa,KAAK,EACtBL,kBAAAA,IAAW,EACXJ;QAED,GAAGC,KAAK;;AAqBjB,MAAMU,qBAAqB,WAAHA,GAAGZ,WACzB,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAyC,EAAEC,MAAAA,WAAAA,GACzD,KAACK,gBAAcA;QACb,KAAKL;QACL,cAAW;QACX,MAAK;QACL,WAAWC,GAAGC,kBAAAA,QAAe,EAAEJ;QAC9B,GAAGC,KAAK;;0BACT,IAACW,aAAWA,CAAAA;0BACZ,IAAC;0BAAK;;;;AAoBZ,MAAMC,iBAAiB,WAAHA,GAAGd,WACrB,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAqC,EAAEC,MAAAA,WAAAA,GACrD,KAACK,gBAAcA;QACb,KAAKL;QACL,cAAW;QACX,MAAK;QACL,WAAWC,GAAGC,kBAAAA,IAAW,EAAEJ;QAC1B,GAAGC,KAAK;;0BACT,IAAC;0BAAK;;0BACN,IAACa,cAAYA,CAAAA;;;AAoBnB,MAAMC,qBAAqB,WAAHA,GAAGhB,WACzB,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAyC,EAAEC,MAAAA,WAAAA,GACzD,KAAC;QACC,KAAKA;QACL,eAAY;QACZ,WAAWC,GAAGC,kBAAAA,QAAe,EAAEJ;QAC9B,GAAGC,KAAK;;0BACT,IAACe,gBAAcA,CAAAA;0BACf,IAAC;gBAAK,WAAWZ,kBAAAA,MAAa;0BAAE;;;;AAKtCN,WAAW,WAAW,GAAG;AACzBO,kBAAkB,WAAW,GAAG;AAChCC,eAAe,WAAW,GAAG;AAC7BC,eAAe,WAAW,GAAG;AAC7BI,mBAAmB,WAAW,GAAG;AACjCE,eAAe,WAAW,GAAG;AAC7BE,mBAAmB,WAAW,GAAG"}
1
+ {"version":3,"file":"components/ui/pagination.js","sources":["../../../src/components/ui/pagination.tsx"],"sourcesContent":["\"use client\";\r\n\r\n/* eslint-disable jsx-a11y/anchor-has-content */\r\n\r\nimport {ChevronLeft, ChevronRight, MoreHorizontal} from \"lucide-react\";\r\nimport * as React from \"react\";\r\n\r\nimport type {ButtonProps} from \"@/components/ui/button\";\r\nimport {cn} from \"@/lib/utilities\";\r\nimport buttonStyles from \"./button.module.css\";\r\nimport styles from \"./pagination.module.css\";\r\n\r\n/**\r\n * Props for the {@link Pagination} component.\r\n */\r\nexport type PaginationProps = React.ComponentPropsWithoutRef<\"nav\">;\r\n\r\n/**\r\n * Props for the {@link PaginationContent} component.\r\n */\r\nexport type PaginationContentProps = React.ComponentPropsWithoutRef<\"ul\">;\r\n\r\n/**\r\n * Props for the {@link PaginationItem} component.\r\n */\r\nexport type PaginationItemProps = React.ComponentPropsWithoutRef<\"li\">;\r\n\r\n/**\r\n * Props for the {@link PaginationLink} component.\r\n */\r\nexport interface PaginationLinkProps extends Pick<ButtonProps, \"size\">, React.ComponentPropsWithoutRef<\"a\"> {\r\n /** Marks the link as the current active page. @default false */\r\n isActive?: boolean;\r\n}\r\n\r\n/**\r\n * Props for the {@link PaginationPrevious} component.\r\n */\r\nexport type PaginationPreviousProps = React.ComponentPropsWithoutRef<typeof PaginationLink>;\r\n\r\n/**\r\n * Props for the {@link PaginationNext} component.\r\n */\r\nexport type PaginationNextProps = React.ComponentPropsWithoutRef<typeof PaginationLink>;\r\n\r\n/**\r\n * Props for the {@link PaginationEllipsis} component.\r\n */\r\nexport type PaginationEllipsisProps = React.ComponentPropsWithoutRef<\"span\">;\r\n\r\nconst buttonSizeStyles: Record<NonNullable<ButtonProps[\"size\"]>, string> = {\r\n default: buttonStyles.sizeDefault,\r\n icon: buttonStyles.sizeIcon,\r\n lg: buttonStyles.sizeLg,\r\n sm: buttonStyles.sizeSm,\r\n};\r\n\r\n/**\r\n * Provides semantic navigation for paginated content.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders a `<nav>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <Pagination>\r\n * <PaginationContent />\r\n * </Pagination>\r\n * ```\r\n *\r\n * @see {@link PaginationProps} for available props\r\n */\r\nconst Pagination = React.forwardRef<HTMLElement, PaginationProps>(\r\n ({className, ...props}: Readonly<PaginationProps>, ref): React.JSX.Element => (\r\n <nav\r\n ref={ref}\r\n role='navigation'\r\n aria-label='pagination'\r\n className={cn(styles.root, className)}\r\n {...props}\r\n />\r\n ),\r\n);\r\n\r\n/**\r\n * Wraps pagination items in a flex-based list container.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders a `<ul>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationContent>\r\n * <PaginationItem />\r\n * </PaginationContent>\r\n * ```\r\n *\r\n * @see {@link PaginationContentProps} for available props\r\n */\r\nconst PaginationContent = React.forwardRef<HTMLUListElement, PaginationContentProps>(\r\n ({className, ...props}: Readonly<PaginationContentProps>, ref): React.JSX.Element => (\r\n <ul\r\n ref={ref}\r\n className={cn(styles.content, className)}\r\n {...props}\r\n />\r\n ),\r\n);\r\n\r\n/**\r\n * Wraps an individual pagination control.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders an `<li>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationItem>\r\n * <PaginationLink href='?page=1'>1</PaginationLink>\r\n * </PaginationItem>\r\n * ```\r\n *\r\n * @see {@link PaginationItemProps} for available props\r\n */\r\nconst PaginationItem = React.forwardRef<HTMLLIElement, PaginationItemProps>(\r\n ({className, ...props}: Readonly<PaginationItemProps>, ref): React.JSX.Element => (\r\n <li\r\n ref={ref}\r\n className={cn(styles.item, className)}\r\n {...props}\r\n />\r\n ),\r\n);\r\n\r\n/**\r\n * Renders an anchor styled to match pagination controls.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders an `<a>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationLink href='?page=2' isActive>\r\n * 2\r\n * </PaginationLink>\r\n * ```\r\n *\r\n * @see {@link PaginationLinkProps} for available props\r\n */\r\nconst PaginationLink = React.forwardRef<HTMLAnchorElement, PaginationLinkProps>(\r\n ({className, isActive = false, size = \"icon\", ...props}: Readonly<PaginationLinkProps>, ref): React.JSX.Element => {\r\n return (\r\n <a\r\n ref={ref}\r\n aria-current={isActive ? \"page\" : undefined}\r\n className={cn(\r\n buttonStyles.button,\r\n isActive ? buttonStyles.outline : buttonStyles.ghost,\r\n buttonSizeStyles[size],\r\n styles.link,\r\n className,\r\n )}\r\n {...props}\r\n />\r\n );\r\n },\r\n);\r\n\r\n/**\r\n * Renders the pagination control for navigating to the previous page.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders an `<a>` element through {@link PaginationLink}\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationPrevious href='?page=1' />\r\n * ```\r\n *\r\n * @see {@link PaginationPreviousProps} for available props\r\n */\r\nconst PaginationPrevious = React.forwardRef<HTMLAnchorElement, PaginationPreviousProps>(\r\n ({className, ...props}: Readonly<PaginationPreviousProps>, ref): React.JSX.Element => (\r\n <PaginationLink\r\n ref={ref}\r\n aria-label='Go to previous page'\r\n size='default'\r\n className={cn(styles.previous, className)}\r\n {...props}>\r\n <ChevronLeft />\r\n <span>Previous</span>\r\n </PaginationLink>\r\n ),\r\n);\r\n\r\n/**\r\n * Renders the pagination control for navigating to the next page.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders an `<a>` element through {@link PaginationLink}\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationNext href='?page=3' />\r\n * ```\r\n *\r\n * @see {@link PaginationNextProps} for available props\r\n */\r\nconst PaginationNext = React.forwardRef<HTMLAnchorElement, PaginationNextProps>(\r\n ({className, ...props}: Readonly<PaginationNextProps>, ref): React.JSX.Element => (\r\n <PaginationLink\r\n ref={ref}\r\n aria-label='Go to next page'\r\n size='default'\r\n className={cn(styles.next, className)}\r\n {...props}>\r\n <span>Next</span>\r\n <ChevronRight />\r\n </PaginationLink>\r\n ),\r\n);\r\n\r\n/**\r\n * Indicates truncated page ranges within pagination.\r\n *\r\n * @remarks\r\n * - Pure CSS component (no Base UI primitive)\r\n * - Renders a `<span>` element\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <PaginationEllipsis />\r\n * ```\r\n *\r\n * @see {@link PaginationEllipsisProps} for available props\r\n */\r\nconst PaginationEllipsis = React.forwardRef<HTMLSpanElement, PaginationEllipsisProps>(\r\n ({className, ...props}: Readonly<PaginationEllipsisProps>, ref): React.JSX.Element => (\r\n <span\r\n ref={ref}\r\n aria-hidden='true'\r\n className={cn(styles.ellipsis, className)}\r\n {...props}>\r\n <MoreHorizontal />\r\n <span className={styles.srOnly}>More pages</span>\r\n </span>\r\n ),\r\n);\r\n\r\nPagination.displayName = \"Pagination\";\r\nPaginationContent.displayName = \"PaginationContent\";\r\nPaginationItem.displayName = \"PaginationItem\";\r\nPaginationLink.displayName = \"PaginationLink\";\r\nPaginationPrevious.displayName = \"PaginationPrevious\";\r\nPaginationNext.displayName = \"PaginationNext\";\r\nPaginationEllipsis.displayName = \"PaginationEllipsis\";\r\n\r\nexport {Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious};\r\n"],"names":["buttonSizeStyles","buttonStyles","Pagination","React","className","props","ref","cn","styles","PaginationContent","PaginationItem","PaginationLink","isActive","size","undefined","PaginationPrevious","ChevronLeft","PaginationNext","ChevronRight","PaginationEllipsis","MoreHorizontal"],"mappings":";;;;;;;AAkDA,MAAMA,mBAAqE;IACzE,SAASC,cAAAA,WAAwB;IACjC,MAAMA,cAAAA,QAAqB;IAC3B,IAAIA,cAAAA,MAAmB;IACvB,IAAIA,cAAAA,MAAmB;AACzB;AAmBA,MAAMC,aAAa,WAAHA,GAAGC,wBAAAA,UAAgB,CACjC,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAiC,EAAEC,MAAAA,WAAAA,GACjD,IAAC;QACC,KAAKA;QACL,MAAK;QACL,cAAW;QACX,WAAWC,GAAGC,kBAAAA,IAAW,EAAEJ;QAC1B,GAAGC,KAAK;;AAsBf,MAAMI,oBAAoB,WAAHA,GAAGN,wBAAAA,UAAgB,CACxC,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAwC,EAAEC,MAAAA,WAAAA,GACxD,IAAC;QACC,KAAKA;QACL,WAAWC,GAAGC,kBAAAA,OAAc,EAAEJ;QAC7B,GAAGC,KAAK;;AAsBf,MAAMK,iBAAiB,WAAHA,GAAGP,wBAAAA,UAAgB,CACrC,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAqC,EAAEC,MAAAA,WAAAA,GACrD,IAAC;QACC,KAAKA;QACL,WAAWC,GAAGC,kBAAAA,IAAW,EAAEJ;QAC1B,GAAGC,KAAK;;AAsBf,MAAMM,iBAAiB,WAAHA,GAAGR,wBAAAA,UAAgB,CACrC,CAAC,EAACC,SAAS,EAAEQ,WAAW,KAAK,EAAEC,OAAO,MAAM,EAAE,GAAGR,OAAqC,EAAEC,MAC/E,WAAP,GACE,IAAC;QACC,KAAKA;QACL,gBAAcM,WAAW,SAASE;QAClC,WAAWP,GACTN,cAAAA,MAAmB,EACnBW,WAAWX,cAAAA,OAAoB,GAAGA,cAAAA,KAAkB,EACpDD,gBAAgB,CAACa,KAAK,EACtBL,kBAAAA,IAAW,EACXJ;QAED,GAAGC,KAAK;;AAqBjB,MAAMU,qBAAqB,WAAHA,GAAGZ,wBAAAA,UAAgB,CACzC,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAyC,EAAEC,MAAAA,WAAAA,GACzD,KAACK,gBAAcA;QACb,KAAKL;QACL,cAAW;QACX,MAAK;QACL,WAAWC,GAAGC,kBAAAA,QAAe,EAAEJ;QAC9B,GAAGC,KAAK;;0BACT,IAACW,aAAWA,CAAAA;0BACZ,IAAC;0BAAK;;;;AAoBZ,MAAMC,iBAAiB,WAAHA,GAAGd,wBAAAA,UAAgB,CACrC,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAqC,EAAEC,MAAAA,WAAAA,GACrD,KAACK,gBAAcA;QACb,KAAKL;QACL,cAAW;QACX,MAAK;QACL,WAAWC,GAAGC,kBAAAA,IAAW,EAAEJ;QAC1B,GAAGC,KAAK;;0BACT,IAAC;0BAAK;;0BACN,IAACa,cAAYA,CAAAA;;;AAoBnB,MAAMC,qBAAqB,WAAHA,GAAGhB,wBAAAA,UAAgB,CACzC,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAyC,EAAEC,MAAAA,WAAAA,GACzD,KAAC;QACC,KAAKA;QACL,eAAY;QACZ,WAAWC,GAAGC,kBAAAA,QAAe,EAAEJ;QAC9B,GAAGC,KAAK;;0BACT,IAACe,gBAAcA,CAAAA;0BACf,IAAC;gBAAK,WAAWZ,kBAAAA,MAAa;0BAAE;;;;AAKtCN,WAAW,WAAW,GAAG;AACzBO,kBAAkB,WAAW,GAAG;AAChCC,eAAe,WAAW,GAAG;AAC7BC,eAAe,WAAW,GAAG;AAC7BI,mBAAmB,WAAW,GAAG;AACjCE,eAAe,WAAW,GAAG;AAC7BE,mBAAmB,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://./home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/pagination.module.css","webpack://./src/components/ui/pagination.module.css"],"names":[],"mappings":"AADA;ECEE,uBAAuB;EACvB,WAAW;EACX,aAAa;AACf;;AAEA;EACE,mBAAmB;EACnB,sBAAsB;EACtB,mBAAmB;EACnB,SAAS;EACT,UAAU;EACV,gBAAgB;AAClB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,iCAAiC;EACjC,qBAAqB;AACvB;;AAEA;EACE,+CAA+C;AACjD;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,gDAAgD;AAClD;;AAEA;EACE,iCAAiC;EACjC,8BAA8B;EAC9B,6BAA6B;EAC7B,uBAAuB;EACvB,mBAAmB;EACnB,oBAAoB;EACpB,kBAAkB;AACpB;;AAEA;EACE,cAAc;EACd,WAAW;EACX,YAAY;AACd;;AAEA;EACE,mBAAmB;EACnB,mBAAmB;EACnB,SAAS;EACT,UAAU;EACV,WAAW;EACX,YAAY;EACZ,UAAU;EACV,kBAAkB;EAClB,gBAAgB;AAClB","sourcesContent":[".root{display:flex;justify-content:center;width:100%}.content{align-items:center;flex-direction:row;gap:var(--ac-space-1);list-style:none;margin:0;padding:0}.content,.item{display:flex}.link{min-width:var(--ac-size-default);text-decoration:none}.previous{padding-left:calc(var(--ac-space-3) - .125rem)}.next,.previous{gap:var(--ac-space-1)}.next{padding-right:calc(var(--ac-space-3) - .125rem)}.ellipsis{align-items:center;color:var(--ac-muted-foreground);display:inline-flex;height:var(--ac-size-default);justify-content:center;position:relative;width:var(--ac-size-default)}.ellipsis>svg,.next>svg,.previous>svg{flex-shrink:0;height:1rem;width:1rem}.srOnly{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0;white-space:nowrap}",".root {\n justify-content: center;\n width: 100%;\n display: flex;\n}\n\n.content {\n align-items: center;\n gap: var(--ac-space-1);\n flex-direction: row;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.content, .item {\n display: flex;\n}\n\n.link {\n min-width: var(--ac-size-default);\n text-decoration: none;\n}\n\n.previous {\n padding-left: calc(var(--ac-space-3) - .125rem);\n}\n\n.next, .previous {\n gap: var(--ac-space-1);\n}\n\n.next {\n padding-right: calc(var(--ac-space-3) - .125rem);\n}\n\n.ellipsis {\n color: var(--ac-muted-foreground);\n height: var(--ac-size-default);\n width: var(--ac-size-default);\n justify-content: center;\n align-items: center;\n display: inline-flex;\n position: relative;\n}\n\n.ellipsis > svg, .next > svg, .previous > svg {\n flex-shrink: 0;\n width: 1rem;\n height: 1rem;\n}\n\n.srOnly {\n clip: rect(0,0,0,0);\n white-space: nowrap;\n border: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n position: absolute;\n overflow: hidden;\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://./../../node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[2].use[2]!/home/runner/work/arolariu.ro/arolariu.ro/node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/postcss-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[3]!/home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/pagination.module.css","webpack://./src/components/ui/pagination.module.css"],"names":[],"mappings":"AAAA;ECCE,uBAAuB;EACvB,WAAW;EACX,aAAa;AACf;;ADJqD;ECOnD,mBAAmB;EACnB,sBAAsB;EACtB,mBAAmB;EACnB,SAAS;EACT,UAAU;EACV,gBAAgB;AAClB;;ADb6J;ECgB3J,aAAa;AACf;;ADjByL;ECoBvL,iCAAiC;EACjC,qBAAqB;AACvB;;ADtBqP;ECyBnP,+CAA+C;AACjD;;AD1B8S;EC6B5S,sBAAsB;AACxB;;AD9BoV;ECiClV,gDAAgD;AAClD;;ADlC0Y;ECqCxY,iCAAiC;EACjC,8BAA8B;EAC9B,6BAA6B;EAC7B,uBAAuB;EACvB,mBAAmB;EACnB,oBAAoB;EACpB,kBAAkB;AACpB;;AD5CgkB;EC+C9jB,cAAc;EACd,WAAW;EACX,YAAY;AACd;;ADlD2oB;ECqDzoB,mBAAmB;EACnB,mBAAmB;EACnB,SAAS;EACT,UAAU;EACV,WAAW;EACX,YAAY;EACZ,UAAU;EACV,kBAAkB;EAClB,gBAAgB;AAClB","sourcesContent":[".root{display:flex;justify-content:center;width:100%}.content{align-items:center;flex-direction:row;gap:var(--ac-space-1);list-style:none;margin:0;padding:0}.content,.item{display:flex}.link{min-width:var(--ac-size-default);text-decoration:none}.previous{padding-left:calc(var(--ac-space-3) - .125rem)}.next,.previous{gap:var(--ac-space-1)}.next{padding-right:calc(var(--ac-space-3) - .125rem)}.ellipsis{align-items:center;color:var(--ac-muted-foreground);display:inline-flex;height:var(--ac-size-default);justify-content:center;position:relative;width:var(--ac-size-default)}.ellipsis>svg,.next>svg,.previous>svg{flex-shrink:0;height:1rem;width:1rem}.srOnly{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0;white-space:nowrap}",".root {\n justify-content: center;\n width: 100%;\n display: flex;\n}\n\n.content {\n align-items: center;\n gap: var(--ac-space-1);\n flex-direction: row;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.content, .item {\n display: flex;\n}\n\n.link {\n min-width: var(--ac-size-default);\n text-decoration: none;\n}\n\n.previous {\n padding-left: calc(var(--ac-space-3) - .125rem);\n}\n\n.next, .previous {\n gap: var(--ac-space-1);\n}\n\n.next {\n padding-right: calc(var(--ac-space-3) - .125rem);\n}\n\n.ellipsis {\n color: var(--ac-muted-foreground);\n height: var(--ac-size-default);\n width: var(--ac-size-default);\n justify-content: center;\n align-items: center;\n display: inline-flex;\n position: relative;\n}\n\n.ellipsis > svg, .next > svg, .previous > svg {\n flex-shrink: 0;\n width: 1rem;\n height: 1rem;\n}\n\n.srOnly {\n clip: rect(0,0,0,0);\n white-space: nowrap;\n border: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n position: absolute;\n overflow: hidden;\n}\n"],"sourceRoot":""}
@@ -3,17 +3,17 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { mergeProps } from "@base-ui/react/merge-props";
4
4
  import { Popover } from "@base-ui/react/popover";
5
5
  import { useRender } from "@base-ui/react/use-render";
6
- import { forwardRef, isValidElement } from "react";
7
6
  import { cn } from "../../lib/utilities.js";
8
7
  import popover_module from "./popover.module.js";
8
+ import * as __rspack_external_react from "react";
9
9
  function popover_Popover(props) {
10
10
  return /*#__PURE__*/ jsx(Popover.Root, {
11
11
  ...props
12
12
  });
13
13
  }
14
- const PopoverTrigger = /*#__PURE__*/ forwardRef((props, ref)=>{
14
+ const PopoverTrigger = /*#__PURE__*/ __rspack_external_react.forwardRef((props, ref)=>{
15
15
  const { asChild = false, children, className, render, ...otherProps } = props;
16
- const renderProp = asChild && /*#__PURE__*/ isValidElement(children) ? children : render;
16
+ const renderProp = asChild && /*#__PURE__*/ __rspack_external_react.isValidElement(children) ? children : render;
17
17
  return /*#__PURE__*/ jsx(Popover.Trigger, {
18
18
  ref: ref,
19
19
  ...otherProps,
@@ -29,7 +29,7 @@ const PopoverTrigger = /*#__PURE__*/ forwardRef((props, ref)=>{
29
29
  });
30
30
  function PopoverAnchor(props) {
31
31
  const { asChild = false, children, className, render, ...otherProps } = props;
32
- const renderProp = asChild && /*#__PURE__*/ isValidElement(children) ? children : render;
32
+ const renderProp = asChild && /*#__PURE__*/ __rspack_external_react.isValidElement(children) ? children : render;
33
33
  return useRender({
34
34
  defaultTagName: "div",
35
35
  render: renderProp,
@@ -40,7 +40,7 @@ function PopoverAnchor(props) {
40
40
  })
41
41
  });
42
42
  }
43
- const PopoverContent = /*#__PURE__*/ forwardRef((props, ref)=>{
43
+ const PopoverContent = /*#__PURE__*/ __rspack_external_react.forwardRef((props, ref)=>{
44
44
  const { className, children, render, sideOffset = 4, ...otherProps } = props;
45
45
  return /*#__PURE__*/ jsx(Popover.Portal, {
46
46
  children: /*#__PURE__*/ jsx(Popover.Positioner, {
@@ -1 +1 @@
1
- {"version":3,"file":"components/ui/popover.js","sources":["../../../src/components/ui/popover.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport {mergeProps} from \"@base-ui/react/merge-props\";\r\nimport {Popover as BasePopover} from \"@base-ui/react/popover\";\r\nimport {useRender} from \"@base-ui/react/use-render\";\r\nimport * as React from \"react\";\r\n\r\nimport {cn} from \"@/lib/utilities\";\r\nimport styles from \"./popover.module.css\";\r\n\r\ninterface PopoverProps extends React.ComponentPropsWithRef<typeof BasePopover.Root> {}\r\n\r\ninterface PopoverTriggerProps extends Omit<React.ComponentPropsWithRef<typeof BasePopover.Trigger>, \"className\"> {\r\n /**\r\n * Applies additional CSS classes to the component root element.\r\n * @default undefined\r\n */\r\n className?: string;\r\n /**\r\n * Enables child element composition instead of rendering the default wrapper.\r\n * @default false\r\n * @deprecated Prefer Base UI's `render` prop.\r\n */\r\n asChild?: boolean;\r\n}\r\n\r\ninterface PopoverAnchorProps extends React.ComponentPropsWithRef<\"div\"> {\r\n /**\r\n * Applies additional CSS classes to the component root element.\r\n * @default undefined\r\n */\r\n className?: string;\r\n /**\r\n * Overrides the default rendered element while preserving component behavior.\r\n * @default undefined\r\n */\r\n render?: useRender.RenderProp<Record<string, never>>;\r\n /**\r\n * Enables child element composition instead of rendering the default wrapper.\r\n * @default false\r\n * @deprecated Prefer Base UI's `render` prop.\r\n */\r\n asChild?: boolean;\r\n}\r\n\r\ninterface PopoverContentProps extends Omit<React.ComponentPropsWithRef<typeof BasePopover.Positioner>, \"className\"> {\r\n /**\r\n * Applies additional CSS classes to the component root element.\r\n * @default undefined\r\n */\r\n className?: string;\r\n /**\r\n * Offsets the floating content from its anchor in pixels.\r\n * @default 4\r\n */\r\n sideOffset?: number;\r\n}\r\n\r\n/**\r\n * Coordinates popover state and accessibility behavior.\r\n *\r\n * @remarks\r\n * - Delegates structure and state to the underlying Base UI primitive\r\n * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover}\r\n * - Preserves the underlying primitive API for advanced composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <Popover>Content</Popover>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation}\r\n */\r\nfunction Popover(props: Readonly<Popover.Props>): React.ReactElement {\r\n return <BasePopover.Root {...props} />;\r\n}\r\n\r\n/**\r\n * Renders the popover trigger.\r\n *\r\n * @remarks\r\n * - Renders a `<button>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <PopoverTrigger>Content</PopoverTrigger>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation}\r\n */\r\nconst PopoverTrigger = React.forwardRef<HTMLButtonElement, PopoverTrigger.Props>(\r\n (props: Readonly<PopoverTrigger.Props>, ref): React.ReactElement => {\r\n // eslint-disable-next-line sonarjs/deprecation -- backward-compatible asChild support is part of the public API.\r\n const {asChild = false, children, className, render, ...otherProps} = props;\r\n const renderProp = asChild && React.isValidElement(children) ? children : render;\r\n\r\n return (\r\n <BasePopover.Trigger\r\n ref={ref}\r\n {...otherProps}\r\n render={useRender({\r\n defaultTagName: \"button\",\r\n render: renderProp as never,\r\n props: mergeProps({className}, {}),\r\n })}>\r\n {renderProp ? undefined : children}\r\n </BasePopover.Trigger>\r\n );\r\n },\r\n);\r\n\r\n/**\r\n * Renders the popover anchor.\r\n *\r\n * @remarks\r\n * - Renders a `<div>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <PopoverAnchor>Content</PopoverAnchor>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation}\r\n */\r\nfunction PopoverAnchor(props: Readonly<PopoverAnchor.Props>): React.ReactElement {\r\n // eslint-disable-next-line sonarjs/deprecation -- backward-compatible asChild support is part of the public API.\r\n const {asChild = false, children, className, render, ...otherProps} = props;\r\n const renderProp = asChild && React.isValidElement(children) ? children : render;\r\n\r\n return useRender({\r\n defaultTagName: \"div\",\r\n render: renderProp as never,\r\n props: mergeProps({className: cn(styles.anchor, className)}, otherProps, {\r\n children: renderProp ? undefined : children,\r\n }),\r\n });\r\n}\r\n\r\n/**\r\n * Renders the popover content.\r\n *\r\n * @remarks\r\n * - Renders a `<div>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <PopoverContent>Content</PopoverContent>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation}\r\n */\r\nconst PopoverContent = React.forwardRef<React.ComponentRef<typeof BasePopover.Popup>, PopoverContent.Props>(\r\n (props: Readonly<PopoverContent.Props>, ref): React.ReactElement => {\r\n const {className, children, render, sideOffset = 4, ...otherProps} = props;\r\n\r\n return (\r\n <BasePopover.Portal>\r\n <BasePopover.Positioner\r\n sideOffset={sideOffset}\r\n {...otherProps}\r\n render={useRender({\r\n defaultTagName: \"div\",\r\n props: mergeProps({className: styles.positioner}, {}),\r\n })}>\r\n <BasePopover.Popup\r\n ref={ref}\r\n render={useRender({\r\n defaultTagName: \"div\",\r\n render: render as never,\r\n props: mergeProps({className: cn(styles.popup, className)}, {}),\r\n })}>\r\n {children}\r\n </BasePopover.Popup>\r\n </BasePopover.Positioner>\r\n </BasePopover.Portal>\r\n );\r\n },\r\n);\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace Popover {\r\n export type Props = PopoverProps;\r\n export type State = BasePopover.Root.State;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace PopoverTrigger {\r\n export type Props = PopoverTriggerProps;\r\n export type State = BasePopover.Trigger.State;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace PopoverAnchor {\r\n export type Props = PopoverAnchorProps;\r\n export type State = Record<string, never>;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace PopoverContent {\r\n export type Props = PopoverContentProps;\r\n export type State = BasePopover.Popup.State;\r\n}\r\n\r\nPopover.displayName = \"Popover\";\r\nPopoverTrigger.displayName = \"PopoverTrigger\";\r\nPopoverAnchor.displayName = \"PopoverAnchor\";\r\nPopoverContent.displayName = \"PopoverContent\";\r\n\r\nexport {Popover, PopoverAnchor, PopoverContent, PopoverTrigger};\r\n"],"names":["Popover","props","BasePopover","PopoverTrigger","React","ref","asChild","children","className","render","otherProps","renderProp","useRender","mergeProps","undefined","PopoverAnchor","cn","styles","PopoverContent","sideOffset"],"mappings":";;;;;;;;AAyEA,SAASA,gBAAQC,KAA8B;IAC7C,OAAO,WAAP,GAAO,IAACC,QAAAA,IAAgB;QAAE,GAAGD,KAAK;;AACpC;AAiBA,MAAME,iBAAiB,WAAHA,GAAGC,WACrB,CAACH,OAAuCI;IAEtC,MAAM,EAACC,UAAU,KAAK,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,MAAM,EAAE,GAAGC,YAAW,GAAGT;IACtE,MAAMU,aAAaL,WAAW,WAAXA,GAAWF,eAAqBG,YAAYA,WAAWE;IAE1E,OAAO,WAAP,GACE,IAACP,QAAAA,OAAmB;QAClB,KAAKG;QACJ,GAAGK,UAAU;QACd,QAAQE,UAAU;YAChB,gBAAgB;YAChB,QAAQD;YACR,OAAOE,WAAW;gBAACL;YAAS,GAAG,CAAC;QAClC;kBACCG,aAAaG,SAAYP;;AAGhC;AAkBF,SAASQ,cAAcd,KAAoC;IAEzD,MAAM,EAACK,UAAU,KAAK,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,MAAM,EAAE,GAAGC,YAAW,GAAGT;IACtE,MAAMU,aAAaL,WAAW,WAAXA,GAAWF,eAAqBG,YAAYA,WAAWE;IAE1E,OAAOG,UAAU;QACf,gBAAgB;QAChB,QAAQD;QACR,OAAOE,WAAW;YAAC,WAAWG,GAAGC,eAAAA,MAAa,EAAET;QAAU,GAAGE,YAAY;YACvE,UAAUC,aAAaG,SAAYP;QACrC;IACF;AACF;AAiBA,MAAMW,iBAAiB,WAAHA,GAAGd,WACrB,CAACH,OAAuCI;IACtC,MAAM,EAACG,SAAS,EAAED,QAAQ,EAAEE,MAAM,EAAEU,aAAa,CAAC,EAAE,GAAGT,YAAW,GAAGT;IAErE,OAAO,WAAP,GACE,IAACC,QAAAA,MAAkB;kBACjB,kBAACA,QAAAA,UAAsB;YACrB,YAAYiB;YACX,GAAGT,UAAU;YACd,QAAQE,UAAU;gBAChB,gBAAgB;gBAChB,OAAOC,WAAW;oBAAC,WAAWI,eAAAA,UAAiB;gBAAA,GAAG,CAAC;YACrD;sBACA,kBAACf,QAAAA,KAAiB;gBAChB,KAAKG;gBACL,QAAQO,UAAU;oBAChB,gBAAgB;oBAChB,QAAQH;oBACR,OAAOI,WAAW;wBAAC,WAAWG,GAAGC,eAAAA,KAAY,EAAET;oBAAU,GAAG,CAAC;gBAC/D;0BACCD;;;;AAKX;AA2BFP,gBAAQ,WAAW,GAAG;AACtBG,eAAe,WAAW,GAAG;AAC7BY,cAAc,WAAW,GAAG;AAC5BG,eAAe,WAAW,GAAG"}
1
+ {"version":3,"file":"components/ui/popover.js","sources":["../../../src/components/ui/popover.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport {mergeProps} from \"@base-ui/react/merge-props\";\r\nimport {Popover as BasePopover} from \"@base-ui/react/popover\";\r\nimport {useRender} from \"@base-ui/react/use-render\";\r\nimport * as React from \"react\";\r\n\r\nimport {cn} from \"@/lib/utilities\";\r\nimport styles from \"./popover.module.css\";\r\n\r\ninterface PopoverProps extends React.ComponentPropsWithRef<typeof BasePopover.Root> {}\r\n\r\ninterface PopoverTriggerProps extends Omit<React.ComponentPropsWithRef<typeof BasePopover.Trigger>, \"className\"> {\r\n /**\r\n * Applies additional CSS classes to the component root element.\r\n * @default undefined\r\n */\r\n className?: string;\r\n /**\r\n * Enables child element composition instead of rendering the default wrapper.\r\n * @default false\r\n * @deprecated Prefer Base UI's `render` prop.\r\n */\r\n asChild?: boolean;\r\n}\r\n\r\ninterface PopoverAnchorProps extends React.ComponentPropsWithRef<\"div\"> {\r\n /**\r\n * Applies additional CSS classes to the component root element.\r\n * @default undefined\r\n */\r\n className?: string;\r\n /**\r\n * Overrides the default rendered element while preserving component behavior.\r\n * @default undefined\r\n */\r\n render?: useRender.RenderProp<Record<string, never>>;\r\n /**\r\n * Enables child element composition instead of rendering the default wrapper.\r\n * @default false\r\n * @deprecated Prefer Base UI's `render` prop.\r\n */\r\n asChild?: boolean;\r\n}\r\n\r\ninterface PopoverContentProps extends Omit<React.ComponentPropsWithRef<typeof BasePopover.Positioner>, \"className\"> {\r\n /**\r\n * Applies additional CSS classes to the component root element.\r\n * @default undefined\r\n */\r\n className?: string;\r\n /**\r\n * Offsets the floating content from its anchor in pixels.\r\n * @default 4\r\n */\r\n sideOffset?: number;\r\n}\r\n\r\n/**\r\n * Coordinates popover state and accessibility behavior.\r\n *\r\n * @remarks\r\n * - Delegates structure and state to the underlying Base UI primitive\r\n * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover}\r\n * - Preserves the underlying primitive API for advanced composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <Popover>Content</Popover>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation}\r\n */\r\nfunction Popover(props: Readonly<Popover.Props>): React.ReactElement {\r\n return <BasePopover.Root {...props} />;\r\n}\r\n\r\n/**\r\n * Renders the popover trigger.\r\n *\r\n * @remarks\r\n * - Renders a `<button>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <PopoverTrigger>Content</PopoverTrigger>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation}\r\n */\r\nconst PopoverTrigger = React.forwardRef<HTMLButtonElement, PopoverTrigger.Props>(\r\n (props: Readonly<PopoverTrigger.Props>, ref): React.ReactElement => {\r\n // eslint-disable-next-line sonarjs/deprecation -- backward-compatible asChild support is part of the public API.\r\n const {asChild = false, children, className, render, ...otherProps} = props;\r\n const renderProp = asChild && React.isValidElement(children) ? children : render;\r\n\r\n return (\r\n <BasePopover.Trigger\r\n ref={ref}\r\n {...otherProps}\r\n render={useRender({\r\n defaultTagName: \"button\",\r\n render: renderProp as never,\r\n props: mergeProps({className}, {}),\r\n })}>\r\n {renderProp ? undefined : children}\r\n </BasePopover.Trigger>\r\n );\r\n },\r\n);\r\n\r\n/**\r\n * Renders the popover anchor.\r\n *\r\n * @remarks\r\n * - Renders a `<div>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <PopoverAnchor>Content</PopoverAnchor>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation}\r\n */\r\nfunction PopoverAnchor(props: Readonly<PopoverAnchor.Props>): React.ReactElement {\r\n // eslint-disable-next-line sonarjs/deprecation -- backward-compatible asChild support is part of the public API.\r\n const {asChild = false, children, className, render, ...otherProps} = props;\r\n const renderProp = asChild && React.isValidElement(children) ? children : render;\r\n\r\n return useRender({\r\n defaultTagName: \"div\",\r\n render: renderProp as never,\r\n props: mergeProps({className: cn(styles.anchor, className)}, otherProps, {\r\n children: renderProp ? undefined : children,\r\n }),\r\n });\r\n}\r\n\r\n/**\r\n * Renders the popover content.\r\n *\r\n * @remarks\r\n * - Renders a `<div>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/popover | Base UI Popover}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <PopoverContent>Content</PopoverContent>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/popover | Base UI Documentation}\r\n */\r\nconst PopoverContent = React.forwardRef<React.ComponentRef<typeof BasePopover.Popup>, PopoverContent.Props>(\r\n (props: Readonly<PopoverContent.Props>, ref): React.ReactElement => {\r\n const {className, children, render, sideOffset = 4, ...otherProps} = props;\r\n\r\n return (\r\n <BasePopover.Portal>\r\n <BasePopover.Positioner\r\n sideOffset={sideOffset}\r\n {...otherProps}\r\n render={useRender({\r\n defaultTagName: \"div\",\r\n props: mergeProps({className: styles.positioner}, {}),\r\n })}>\r\n <BasePopover.Popup\r\n ref={ref}\r\n render={useRender({\r\n defaultTagName: \"div\",\r\n render: render as never,\r\n props: mergeProps({className: cn(styles.popup, className)}, {}),\r\n })}>\r\n {children}\r\n </BasePopover.Popup>\r\n </BasePopover.Positioner>\r\n </BasePopover.Portal>\r\n );\r\n },\r\n);\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace Popover {\r\n export type Props = PopoverProps;\r\n export type State = BasePopover.Root.State;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace PopoverTrigger {\r\n export type Props = PopoverTriggerProps;\r\n export type State = BasePopover.Trigger.State;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace PopoverAnchor {\r\n export type Props = PopoverAnchorProps;\r\n export type State = Record<string, never>;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace PopoverContent {\r\n export type Props = PopoverContentProps;\r\n export type State = BasePopover.Popup.State;\r\n}\r\n\r\nPopover.displayName = \"Popover\";\r\nPopoverTrigger.displayName = \"PopoverTrigger\";\r\nPopoverAnchor.displayName = \"PopoverAnchor\";\r\nPopoverContent.displayName = \"PopoverContent\";\r\n\r\nexport {Popover, PopoverAnchor, PopoverContent, PopoverTrigger};\r\n"],"names":["Popover","props","BasePopover","PopoverTrigger","React","ref","asChild","children","className","render","otherProps","renderProp","useRender","mergeProps","undefined","PopoverAnchor","cn","styles","PopoverContent","sideOffset"],"mappings":";;;;;;;;AAyEA,SAASA,gBAAQC,KAA8B;IAC7C,OAAO,WAAP,GAAO,IAACC,QAAAA,IAAgB;QAAE,GAAGD,KAAK;;AACpC;AAiBA,MAAME,iBAAiB,WAAHA,GAAGC,wBAAAA,UAAgB,CACrC,CAACH,OAAuCI;IAEtC,MAAM,EAACC,UAAU,KAAK,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,MAAM,EAAE,GAAGC,YAAW,GAAGT;IACtE,MAAMU,aAAaL,WAAW,WAAXA,GAAWF,wBAAAA,cAAoB,CAACG,YAAYA,WAAWE;IAE1E,OAAO,WAAP,GACE,IAACP,QAAAA,OAAmB;QAClB,KAAKG;QACJ,GAAGK,UAAU;QACd,QAAQE,UAAU;YAChB,gBAAgB;YAChB,QAAQD;YACR,OAAOE,WAAW;gBAACL;YAAS,GAAG,CAAC;QAClC;kBACCG,aAAaG,SAAYP;;AAGhC;AAkBF,SAASQ,cAAcd,KAAoC;IAEzD,MAAM,EAACK,UAAU,KAAK,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,MAAM,EAAE,GAAGC,YAAW,GAAGT;IACtE,MAAMU,aAAaL,WAAW,WAAXA,GAAWF,wBAAAA,cAAoB,CAACG,YAAYA,WAAWE;IAE1E,OAAOG,UAAU;QACf,gBAAgB;QAChB,QAAQD;QACR,OAAOE,WAAW;YAAC,WAAWG,GAAGC,eAAAA,MAAa,EAAET;QAAU,GAAGE,YAAY;YACvE,UAAUC,aAAaG,SAAYP;QACrC;IACF;AACF;AAiBA,MAAMW,iBAAiB,WAAHA,GAAGd,wBAAAA,UAAgB,CACrC,CAACH,OAAuCI;IACtC,MAAM,EAACG,SAAS,EAAED,QAAQ,EAAEE,MAAM,EAAEU,aAAa,CAAC,EAAE,GAAGT,YAAW,GAAGT;IAErE,OAAO,WAAP,GACE,IAACC,QAAAA,MAAkB;kBACjB,kBAACA,QAAAA,UAAsB;YACrB,YAAYiB;YACX,GAAGT,UAAU;YACd,QAAQE,UAAU;gBAChB,gBAAgB;gBAChB,OAAOC,WAAW;oBAAC,WAAWI,eAAAA,UAAiB;gBAAA,GAAG,CAAC;YACrD;sBACA,kBAACf,QAAAA,KAAiB;gBAChB,KAAKG;gBACL,QAAQO,UAAU;oBAChB,gBAAgB;oBAChB,QAAQH;oBACR,OAAOI,WAAW;wBAAC,WAAWG,GAAGC,eAAAA,KAAY,EAAET;oBAAU,GAAG,CAAC;gBAC/D;0BACCD;;;;AAKX;AA2BFP,gBAAQ,WAAW,GAAG;AACtBG,eAAe,WAAW,GAAG;AAC7BY,cAAc,WAAW,GAAG;AAC5BG,eAAe,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://./home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/popover.module.css","webpack://./src/components/ui/popover.module.css"],"names":[],"mappings":"AADA;ECEE,iBAAiB;AACnB;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,mCAAmC;EACnC,kCAAkC;EAClC,kCAAkC;EAClC,mCAAmC;EACnC,0BAA0B;EAC1B,yCAAyC;EACzC,qFAAqF;EACrF,aAAa;EACb,YAAY;EACZ,uCAAuC;AACzC;;AAEA;EACE,UAAU;EACV,qBAAqB;AACvB","sourcesContent":[".anchor{display:contents}.positioner{z-index:50}.popup{background-color:var(--ac-popover);border:1px solid var(--ac-border);border-radius:var(--ac-radius-md);box-shadow:0 16px 40px -16px rgba(0,0,0,.3);color:var(--ac-popover-foreground);outline:none;padding:var(--ac-space-4);transform-origin:var(--transform-origin);transition:opacity var(--ac-transition-normal),transform var(--ac-transition-normal);width:18rem}.popup[data-ending-style],.popup[data-starting-style]{opacity:0;transform:scale(.96)}",".anchor {\n display: contents;\n}\n\n.positioner {\n z-index: 50;\n}\n\n.popup {\n background-color: var(--ac-popover);\n border: 1px solid var(--ac-border);\n border-radius: var(--ac-radius-md);\n color: var(--ac-popover-foreground);\n padding: var(--ac-space-4);\n transform-origin: var(--transform-origin);\n transition: opacity var(--ac-transition-normal),transform var(--ac-transition-normal);\n outline: none;\n width: 18rem;\n box-shadow: 0 16px 40px -16px #0000004d;\n}\n\n.popup[data-ending-style], .popup[data-starting-style] {\n opacity: 0;\n transform: scale(.96);\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://./../../node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[2].use[2]!/home/runner/work/arolariu.ro/arolariu.ro/node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/postcss-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[3]!/home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/popover.module.css","webpack://./src/components/ui/popover.module.css"],"names":[],"mappings":"AAAA;ECCE,iBAAiB;AACnB;;ADFyB;ECKvB,WAAW;AACb;;ADNgD;ECS9C,mCAAmC;EACnC,kCAAkC;EAClC,kCAAkC;EAClC,mCAAmC;EACnC,0BAA0B;EAC1B,yCAAyC;EACzC,qFAAqF;EACrF,aAAa;EACb,YAAY;EACZ,uCAAuC;AACzC;;ADnB8Z;ECsB5Z,UAAU;EACV,qBAAqB;AACvB","sourcesContent":[".anchor{display:contents}.positioner{z-index:50}.popup{background-color:var(--ac-popover);border:1px solid var(--ac-border);border-radius:var(--ac-radius-md);box-shadow:0 16px 40px -16px rgba(0,0,0,.3);color:var(--ac-popover-foreground);outline:none;padding:var(--ac-space-4);transform-origin:var(--transform-origin);transition:opacity var(--ac-transition-normal),transform var(--ac-transition-normal);width:18rem}.popup[data-ending-style],.popup[data-starting-style]{opacity:0;transform:scale(.96)}",".anchor {\n display: contents;\n}\n\n.positioner {\n z-index: 50;\n}\n\n.popup {\n background-color: var(--ac-popover);\n border: 1px solid var(--ac-border);\n border-radius: var(--ac-radius-md);\n color: var(--ac-popover-foreground);\n padding: var(--ac-space-4);\n transform-origin: var(--transform-origin);\n transition: opacity var(--ac-transition-normal),transform var(--ac-transition-normal);\n outline: none;\n width: 18rem;\n box-shadow: 0 16px 40px -16px #0000004d;\n}\n\n.popup[data-ending-style], .popup[data-starting-style] {\n opacity: 0;\n transform: scale(.96);\n}\n"],"sourceRoot":""}
@@ -2,10 +2,10 @@
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { Progress as progress_Progress } from "@base-ui/react/progress";
4
4
  import { useRender } from "@base-ui/react/use-render";
5
- import { forwardRef } from "react";
6
5
  import { cn } from "../../lib/utilities.js";
7
6
  import progress_module from "./progress.module.js";
8
- const ui_progress_Progress = /*#__PURE__*/ forwardRef(function(props, forwardedRef) {
7
+ import * as __rspack_external_react from "react";
8
+ const ui_progress_Progress = /*#__PURE__*/ __rspack_external_react.forwardRef(function(props, forwardedRef) {
9
9
  const { className, render, value = 0, ...otherProps } = props;
10
10
  return /*#__PURE__*/ jsx(progress_Progress.Root, {
11
11
  value: value,
@@ -1 +1 @@
1
- {"version":3,"file":"components/ui/progress.js","sources":["../../../src/components/ui/progress.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport {Progress as BaseProgress} from \"@base-ui/react/progress\";\r\nimport {useRender} from \"@base-ui/react/use-render\";\r\nimport * as React from \"react\";\r\n\r\nimport {cn} from \"@/lib/utilities\";\r\nimport styles from \"./progress.module.css\";\r\n\r\n/**\r\n * Props for the shared progress wrapper.\r\n */\r\nexport interface ProgressProps extends Omit<React.ComponentPropsWithRef<typeof BaseProgress.Root>, \"value\"> {\r\n /** Additional CSS classes merged with the progress track styles. @default undefined */\r\n className?: string;\r\n /** The current completion percentage or normalized value rendered by the progress bar. @default 0 */\r\n value?: number;\r\n}\r\n\r\n/**\r\n * Visualizes task completion with a styled track and animated indicator.\r\n *\r\n * @remarks\r\n * - Renders a `<div>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/progress | Base UI Progress}\r\n * - Supports the `render` prop for element composition\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example Basic usage\r\n * ```tsx\r\n * <Progress value={64} />\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/progress | Base UI Documentation}\r\n */\r\nconst Progress = React.forwardRef<HTMLDivElement, Progress.Props>(function Progress(props, forwardedRef) {\r\n const {className, render, value = 0, ...otherProps} = props;\r\n\r\n return (\r\n <BaseProgress.Root\r\n value={value}\r\n {...otherProps}\r\n ref={forwardedRef}\r\n render={useRender({\r\n defaultTagName: \"div\",\r\n render: render as never,\r\n })}>\r\n <BaseProgress.Track className={cn(styles.track, className)}>\r\n <BaseProgress.Indicator className={styles.indicator} />\r\n </BaseProgress.Track>\r\n </BaseProgress.Root>\r\n );\r\n});\r\nProgress.displayName = \"Progress\";\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace Progress {\r\n export type Props = ProgressProps;\r\n export type State = BaseProgress.Root.State;\r\n}\r\n\r\nexport {Progress};\r\n"],"names":["Progress","React","props","forwardedRef","className","render","value","otherProps","BaseProgress","useRender","cn","styles"],"mappings":";;;;;;;AAmCA,MAAMA,uBAAW,WAAHA,GAAGC,WAAiD,SAAkBC,KAAK,EAAEC,YAAY;IACrG,MAAM,EAACC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,CAAC,EAAE,GAAGC,YAAW,GAAGL;IAEtD,OAAO,WAAP,GACE,IAACM,kBAAAA,IAAiB;QAChB,OAAOF;QACN,GAAGC,UAAU;QACd,KAAKJ;QACL,QAAQM,UAAU;YAChB,gBAAgB;YAChB,QAAQJ;QACV;kBACA,kBAACG,kBAAAA,KAAkB;YAAC,WAAWE,GAAGC,gBAAAA,KAAY,EAAEP;sBAC9C,kBAACI,kBAAAA,SAAsB;gBAAC,WAAWG,gBAAAA,SAAgB;;;;AAI3D;AACAX,qBAAS,WAAW,GAAG"}
1
+ {"version":3,"file":"components/ui/progress.js","sources":["../../../src/components/ui/progress.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport {Progress as BaseProgress} from \"@base-ui/react/progress\";\r\nimport {useRender} from \"@base-ui/react/use-render\";\r\nimport * as React from \"react\";\r\n\r\nimport {cn} from \"@/lib/utilities\";\r\nimport styles from \"./progress.module.css\";\r\n\r\n/**\r\n * Props for the shared progress wrapper.\r\n */\r\nexport interface ProgressProps extends Omit<React.ComponentPropsWithRef<typeof BaseProgress.Root>, \"value\"> {\r\n /** Additional CSS classes merged with the progress track styles. @default undefined */\r\n className?: string;\r\n /** The current completion percentage or normalized value rendered by the progress bar. @default 0 */\r\n value?: number;\r\n}\r\n\r\n/**\r\n * Visualizes task completion with a styled track and animated indicator.\r\n *\r\n * @remarks\r\n * - Renders a `<div>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/progress | Base UI Progress}\r\n * - Supports the `render` prop for element composition\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example Basic usage\r\n * ```tsx\r\n * <Progress value={64} />\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/progress | Base UI Documentation}\r\n */\r\nconst Progress = React.forwardRef<HTMLDivElement, Progress.Props>(function Progress(props, forwardedRef) {\r\n const {className, render, value = 0, ...otherProps} = props;\r\n\r\n return (\r\n <BaseProgress.Root\r\n value={value}\r\n {...otherProps}\r\n ref={forwardedRef}\r\n render={useRender({\r\n defaultTagName: \"div\",\r\n render: render as never,\r\n })}>\r\n <BaseProgress.Track className={cn(styles.track, className)}>\r\n <BaseProgress.Indicator className={styles.indicator} />\r\n </BaseProgress.Track>\r\n </BaseProgress.Root>\r\n );\r\n});\r\nProgress.displayName = \"Progress\";\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace Progress {\r\n export type Props = ProgressProps;\r\n export type State = BaseProgress.Root.State;\r\n}\r\n\r\nexport {Progress};\r\n"],"names":["Progress","React","props","forwardedRef","className","render","value","otherProps","BaseProgress","useRender","cn","styles"],"mappings":";;;;;;;AAmCA,MAAMA,uBAAW,WAAHA,GAAGC,wBAAAA,UAAgB,CAAiC,SAAkBC,KAAK,EAAEC,YAAY;IACrG,MAAM,EAACC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,CAAC,EAAE,GAAGC,YAAW,GAAGL;IAEtD,OAAO,WAAP,GACE,IAACM,kBAAAA,IAAiB;QAChB,OAAOF;QACN,GAAGC,UAAU;QACd,KAAKJ;QACL,QAAQM,UAAU;YAChB,gBAAgB;YAChB,QAAQJ;QACV;kBACA,kBAACG,kBAAAA,KAAkB;YAAC,WAAWE,GAAGC,gBAAAA,KAAY,EAAEP;sBAC9C,kBAACI,kBAAAA,SAAsB;gBAAC,WAAWG,gBAAAA,SAAgB;;;;AAI3D;AACAX,qBAAS,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://./home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/progress.module.css","webpack://./src/components/ui/progress.module.css"],"names":[],"mappings":"AADA;ECEE,qCAAqC;EACrC,WAAW;EACX,aAAa;EACb,kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,mCAAmC;EACnC,YAAY;EACZ,qBAAqB;AACvB","sourcesContent":[".track{background-color:var(--ac-secondary);height:.5rem;overflow:hidden;position:relative;width:100%}.indicator,.track{border-radius:9999px}.indicator{background-color:var(--ac-primary);height:100%;transition:width .2s ease}",".track {\n background-color: var(--ac-secondary);\n width: 100%;\n height: .5rem;\n position: relative;\n overflow: hidden;\n}\n\n.indicator, .track {\n border-radius: 9999px;\n}\n\n.indicator {\n background-color: var(--ac-primary);\n height: 100%;\n transition: width .2s;\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://./../../node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[2].use[2]!/home/runner/work/arolariu.ro/arolariu.ro/node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/postcss-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[3]!/home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/progress.module.css","webpack://./src/components/ui/progress.module.css"],"names":[],"mappings":"AAAA;ECCE,qCAAqC;EACrC,WAAW;EACX,aAAa;EACb,kBAAkB;EAClB,gBAAgB;AAClB;;ADNsG;ECSpG,qBAAqB;AACvB;;ADV6I;ECa3I,mCAAmC;EACnC,YAAY;EACZ,qBAAqB;AACvB","sourcesContent":[".track{background-color:var(--ac-secondary);height:.5rem;overflow:hidden;position:relative;width:100%}.indicator,.track{border-radius:9999px}.indicator{background-color:var(--ac-primary);height:100%;transition:width .2s ease}",".track {\n background-color: var(--ac-secondary);\n width: 100%;\n height: .5rem;\n position: relative;\n overflow: hidden;\n}\n\n.indicator, .track {\n border-radius: 9999px;\n}\n\n.indicator {\n background-color: var(--ac-primary);\n height: 100%;\n transition: width .2s;\n}\n"],"sourceRoot":""}
@@ -5,10 +5,10 @@ import { Radio } from "@base-ui/react/radio";
5
5
  import { RadioGroup } from "@base-ui/react/radio-group";
6
6
  import { useRender } from "@base-ui/react/use-render";
7
7
  import { Circle } from "lucide-react";
8
- import { forwardRef } from "react";
9
8
  import { cn } from "../../lib/utilities.js";
10
9
  import radio_group_module from "./radio-group.module.js";
11
- const radio_group_RadioGroup = /*#__PURE__*/ forwardRef((props, ref)=>{
10
+ import * as __rspack_external_react from "react";
11
+ const radio_group_RadioGroup = /*#__PURE__*/ __rspack_external_react.forwardRef((props, ref)=>{
12
12
  const { className, render, ...otherProps } = props;
13
13
  return /*#__PURE__*/ jsx(RadioGroup, {
14
14
  ref: ref,
@@ -22,7 +22,7 @@ const radio_group_RadioGroup = /*#__PURE__*/ forwardRef((props, ref)=>{
22
22
  })
23
23
  });
24
24
  });
25
- const RadioGroupItem = /*#__PURE__*/ forwardRef((props, ref)=>{
25
+ const RadioGroupItem = /*#__PURE__*/ __rspack_external_react.forwardRef((props, ref)=>{
26
26
  const { className, render, ...otherProps } = props;
27
27
  return /*#__PURE__*/ jsx(Radio.Root, {
28
28
  ref: ref,
@@ -1 +1 @@
1
- {"version":3,"file":"components/ui/radio-group.js","sources":["../../../src/components/ui/radio-group.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport {mergeProps} from \"@base-ui/react/merge-props\";\r\nimport {Radio} from \"@base-ui/react/radio\";\r\nimport {RadioGroup as BaseRadioGroup} from \"@base-ui/react/radio-group\";\r\nimport {useRender} from \"@base-ui/react/use-render\";\r\nimport {Circle} from \"lucide-react\";\r\nimport * as React from \"react\";\r\n\r\nimport {cn} from \"@/lib/utilities\";\r\nimport styles from \"./radio-group.module.css\";\r\n\r\n/**\r\n * Coordinates radio group state and selection behavior.\r\n *\r\n * @remarks\r\n * - Renders a `<div>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/radio-group | Base UI Radio Group}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <RadioGroup>Content</RadioGroup>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/radio-group | Base UI Documentation}\r\n */\r\nconst RadioGroup = React.forwardRef<React.ComponentRef<typeof BaseRadioGroup>, RadioGroup.Props>(\r\n (props: Readonly<RadioGroup.Props>, ref): React.ReactElement => {\r\n const {className, render, ...otherProps} = props;\r\n\r\n return (\r\n <BaseRadioGroup\r\n ref={ref}\r\n {...otherProps}\r\n render={useRender({\r\n defaultTagName: \"div\",\r\n render: render as never,\r\n props: mergeProps({className: cn(styles.group, className)}, {}),\r\n })}\r\n />\r\n );\r\n },\r\n);\r\n\r\n/**\r\n * Renders the radio group item.\r\n *\r\n * @remarks\r\n * - Renders a `<button>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/radio-group | Base UI Radio Group}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <RadioGroupItem>Content</RadioGroupItem>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/radio-group | Base UI Documentation}\r\n */\r\nconst RadioGroupItem = React.forwardRef<React.ComponentRef<typeof Radio.Root>, RadioGroupItem.Props>(\r\n (props: Readonly<RadioGroupItem.Props>, ref): React.ReactElement => {\r\n const {className, render, ...otherProps} = props;\r\n\r\n return (\r\n <Radio.Root\r\n ref={ref}\r\n {...otherProps}\r\n render={useRender({\r\n defaultTagName: \"button\",\r\n render: render as never,\r\n props: mergeProps({className: cn(styles.item, className)}, {}),\r\n })}>\r\n <Radio.Indicator className={styles.indicator}>\r\n <Circle className={styles.icon} />\r\n </Radio.Indicator>\r\n </Radio.Root>\r\n );\r\n },\r\n);\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace RadioGroup {\r\n export type Props = React.ComponentPropsWithRef<typeof BaseRadioGroup>;\r\n export type State = BaseRadioGroup.State;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace RadioGroupItem {\r\n export type Props = React.ComponentPropsWithRef<typeof Radio.Root>;\r\n export type State = Radio.Root.State;\r\n}\r\n\r\nRadioGroup.displayName = \"RadioGroup\";\r\nRadioGroupItem.displayName = \"RadioGroupItem\";\r\n\r\nexport {RadioGroup, RadioGroupItem};\r\n"],"names":["RadioGroup","React","props","ref","className","render","otherProps","BaseRadioGroup","useRender","mergeProps","cn","styles","RadioGroupItem","Radio","Circle"],"mappings":";;;;;;;;;;AA2BA,MAAMA,yBAAa,WAAHA,GAAGC,WACjB,CAACC,OAAmCC;IAClC,MAAM,EAACC,SAAS,EAAEC,MAAM,EAAE,GAAGC,YAAW,GAAGJ;IAE3C,OAAO,WAAP,GACE,IAACK,YAAcA;QACb,KAAKJ;QACJ,GAAGG,UAAU;QACd,QAAQE,UAAU;YAChB,gBAAgB;YAChB,QAAQH;YACR,OAAOI,WAAW;gBAAC,WAAWC,GAAGC,mBAAAA,KAAY,EAAEP;YAAU,GAAG,CAAC;QAC/D;;AAGN;AAkBF,MAAMQ,iBAAiB,WAAHA,GAAGX,WACrB,CAACC,OAAuCC;IACtC,MAAM,EAACC,SAAS,EAAEC,MAAM,EAAE,GAAGC,YAAW,GAAGJ;IAE3C,OAAO,WAAP,GACE,IAACW,MAAM,IAAI;QACT,KAAKV;QACJ,GAAGG,UAAU;QACd,QAAQE,UAAU;YAChB,gBAAgB;YAChB,QAAQH;YACR,OAAOI,WAAW;gBAAC,WAAWC,GAAGC,mBAAAA,IAAW,EAAEP;YAAU,GAAG,CAAC;QAC9D;kBACA,kBAACS,MAAM,SAAS;YAAC,WAAWF,mBAAAA,SAAgB;sBAC1C,kBAACG,QAAMA;gBAAC,WAAWH,mBAAAA,IAAW;;;;AAItC;AAeFX,uBAAW,WAAW,GAAG;AACzBY,eAAe,WAAW,GAAG"}
1
+ {"version":3,"file":"components/ui/radio-group.js","sources":["../../../src/components/ui/radio-group.tsx"],"sourcesContent":["\"use client\";\r\n\r\nimport {mergeProps} from \"@base-ui/react/merge-props\";\r\nimport {Radio} from \"@base-ui/react/radio\";\r\nimport {RadioGroup as BaseRadioGroup} from \"@base-ui/react/radio-group\";\r\nimport {useRender} from \"@base-ui/react/use-render\";\r\nimport {Circle} from \"lucide-react\";\r\nimport * as React from \"react\";\r\n\r\nimport {cn} from \"@/lib/utilities\";\r\nimport styles from \"./radio-group.module.css\";\r\n\r\n/**\r\n * Coordinates radio group state and selection behavior.\r\n *\r\n * @remarks\r\n * - Renders a `<div>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/radio-group | Base UI Radio Group}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <RadioGroup>Content</RadioGroup>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/radio-group | Base UI Documentation}\r\n */\r\nconst RadioGroup = React.forwardRef<React.ComponentRef<typeof BaseRadioGroup>, RadioGroup.Props>(\r\n (props: Readonly<RadioGroup.Props>, ref): React.ReactElement => {\r\n const {className, render, ...otherProps} = props;\r\n\r\n return (\r\n <BaseRadioGroup\r\n ref={ref}\r\n {...otherProps}\r\n render={useRender({\r\n defaultTagName: \"div\",\r\n render: render as never,\r\n props: mergeProps({className: cn(styles.group, className)}, {}),\r\n })}\r\n />\r\n );\r\n },\r\n);\r\n\r\n/**\r\n * Renders the radio group item.\r\n *\r\n * @remarks\r\n * - Renders a `<button>` element by default\r\n * - Built on {@link https://base-ui.com/react/components/radio-group | Base UI Radio Group}\r\n * - Supports the `render` prop for element composition\r\n *\r\n * @example\r\n * ```tsx\r\n * <RadioGroupItem>Content</RadioGroupItem>\r\n * ```\r\n *\r\n * @see {@link https://base-ui.com/react/components/radio-group | Base UI Documentation}\r\n */\r\nconst RadioGroupItem = React.forwardRef<React.ComponentRef<typeof Radio.Root>, RadioGroupItem.Props>(\r\n (props: Readonly<RadioGroupItem.Props>, ref): React.ReactElement => {\r\n const {className, render, ...otherProps} = props;\r\n\r\n return (\r\n <Radio.Root\r\n ref={ref}\r\n {...otherProps}\r\n render={useRender({\r\n defaultTagName: \"button\",\r\n render: render as never,\r\n props: mergeProps({className: cn(styles.item, className)}, {}),\r\n })}>\r\n <Radio.Indicator className={styles.indicator}>\r\n <Circle className={styles.icon} />\r\n </Radio.Indicator>\r\n </Radio.Root>\r\n );\r\n },\r\n);\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace RadioGroup {\r\n export type Props = React.ComponentPropsWithRef<typeof BaseRadioGroup>;\r\n export type State = BaseRadioGroup.State;\r\n}\r\n\r\n// eslint-disable-next-line no-redeclare -- required for the canonical component namespace typing API\r\nnamespace RadioGroupItem {\r\n export type Props = React.ComponentPropsWithRef<typeof Radio.Root>;\r\n export type State = Radio.Root.State;\r\n}\r\n\r\nRadioGroup.displayName = \"RadioGroup\";\r\nRadioGroupItem.displayName = \"RadioGroupItem\";\r\n\r\nexport {RadioGroup, RadioGroupItem};\r\n"],"names":["RadioGroup","React","props","ref","className","render","otherProps","BaseRadioGroup","useRender","mergeProps","cn","styles","RadioGroupItem","Radio","Circle"],"mappings":";;;;;;;;;;AA2BA,MAAMA,yBAAa,WAAHA,GAAGC,wBAAAA,UAAgB,CACjC,CAACC,OAAmCC;IAClC,MAAM,EAACC,SAAS,EAAEC,MAAM,EAAE,GAAGC,YAAW,GAAGJ;IAE3C,OAAO,WAAP,GACE,IAACK,YAAcA;QACb,KAAKJ;QACJ,GAAGG,UAAU;QACd,QAAQE,UAAU;YAChB,gBAAgB;YAChB,QAAQH;YACR,OAAOI,WAAW;gBAAC,WAAWC,GAAGC,mBAAAA,KAAY,EAAEP;YAAU,GAAG,CAAC;QAC/D;;AAGN;AAkBF,MAAMQ,iBAAiB,WAAHA,GAAGX,wBAAAA,UAAgB,CACrC,CAACC,OAAuCC;IACtC,MAAM,EAACC,SAAS,EAAEC,MAAM,EAAE,GAAGC,YAAW,GAAGJ;IAE3C,OAAO,WAAP,GACE,IAACW,MAAM,IAAI;QACT,KAAKV;QACJ,GAAGG,UAAU;QACd,QAAQE,UAAU;YAChB,gBAAgB;YAChB,QAAQH;YACR,OAAOI,WAAW;gBAAC,WAAWC,GAAGC,mBAAAA,IAAW,EAAEP;YAAU,GAAG,CAAC;QAC9D;kBACA,kBAACS,MAAM,SAAS;YAAC,WAAWF,mBAAAA,SAAgB;sBAC1C,kBAACG,QAAMA;gBAAC,WAAWH,mBAAAA,IAAW;;;;AAItC;AAeFX,uBAAW,WAAW,GAAG;AACzBY,eAAe,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://./home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/radio-group.module.css","webpack://./src/components/ui/radio-group.module.css"],"names":[],"mappings":"AADA;ECEE,sBAAsB;EACtB,aAAa;AACf;;AAEA;EACE,sCAAsC;EACtC,mCAAmC;EACnC,wBAAwB;EACxB,eAAe;EACf,YAAY;EACZ,6FAA6F;EAC7F,oBAAoB;EACpB,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,oBAAoB;;EAEpB;IACE,iCAAiC;IACjC,mBAAmB;EACrB;;EAEA;IACE,mBAAmB;IACnB,WAAW;EACb;AACF;;AAEA;EACE,uBAAuB;EACvB,mBAAmB;EACnB,oBAAoB;AACtB;;AAEA;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;AACjB","sourcesContent":[".group{display:grid;gap:var(--ac-space-2)}.item{align-items:center;background-color:var(--ac-background);border:1px solid var(--ac-primary);border-radius:999px;color:var(--ac-primary);cursor:pointer;display:inline-flex;height:1rem;justify-content:center;outline:none;transition:border-color var(--ac-transition-fast),background-color var(--ac-transition-fast);width:1rem;&:focus-visible{outline:2px solid var(--ac-ring);outline-offset:2px}&[data-disabled]{cursor:not-allowed;opacity:.5}}.indicator{align-items:center;display:inline-flex;justify-content:center}.icon{fill:currentcolor;height:.625rem;width:.625rem}",".group {\n gap: var(--ac-space-2);\n display: grid;\n}\n\n.item {\n background-color: var(--ac-background);\n border: 1px solid var(--ac-primary);\n color: var(--ac-primary);\n cursor: pointer;\n height: 1rem;\n transition: border-color var(--ac-transition-fast),background-color var(--ac-transition-fast);\n border-radius: 999px;\n outline: none;\n justify-content: center;\n align-items: center;\n width: 1rem;\n display: inline-flex;\n\n &:focus-visible {\n outline: 2px solid var(--ac-ring);\n outline-offset: 2px;\n }\n\n &[data-disabled] {\n cursor: not-allowed;\n opacity: .5;\n }\n}\n\n.indicator {\n justify-content: center;\n align-items: center;\n display: inline-flex;\n}\n\n.icon {\n fill: currentColor;\n width: .625rem;\n height: .625rem;\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://./../../node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[2].use[2]!/home/runner/work/arolariu.ro/arolariu.ro/node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/postcss-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[3]!/home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/radio-group.module.css","webpack://./src/components/ui/radio-group.module.css"],"names":[],"mappings":"AAAA;ECCE,sBAAsB;EACtB,aAAa;AACf;;ADH0C;ECMxC,sCAAsC;EACtC,mCAAmC;EACnC,wBAAwB;EACxB,eAAe;EACf,YAAY;EACZ,6FAA6F;EAC7F,oBAAoB;EACpB,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,oBAAoB;;EDjB6V;ICoB/W,iCAAiC;IACjC,mBAAmB;EACrB;;EDtBqb;ICyBnb,mBAAmB;IACnB,WAAW;EACb;AACF;;AD5Bue;EC+Bre,uBAAuB;EACvB,mBAAmB;EACnB,oBAAoB;AACtB;;ADlCgjB;ECqC9iB,kBAAkB;EAClB,cAAc;EACd,eAAe;AACjB","sourcesContent":[".group{display:grid;gap:var(--ac-space-2)}.item{align-items:center;background-color:var(--ac-background);border:1px solid var(--ac-primary);border-radius:999px;color:var(--ac-primary);cursor:pointer;display:inline-flex;height:1rem;justify-content:center;outline:none;transition:border-color var(--ac-transition-fast),background-color var(--ac-transition-fast);width:1rem;&:focus-visible{outline:2px solid var(--ac-ring);outline-offset:2px}&[data-disabled]{cursor:not-allowed;opacity:.5}}.indicator{align-items:center;display:inline-flex;justify-content:center}.icon{fill:currentcolor;height:.625rem;width:.625rem}",".group {\n gap: var(--ac-space-2);\n display: grid;\n}\n\n.item {\n background-color: var(--ac-background);\n border: 1px solid var(--ac-primary);\n color: var(--ac-primary);\n cursor: pointer;\n height: 1rem;\n transition: border-color var(--ac-transition-fast),background-color var(--ac-transition-fast);\n border-radius: 999px;\n outline: none;\n justify-content: center;\n align-items: center;\n width: 1rem;\n display: inline-flex;\n\n &:focus-visible {\n outline: 2px solid var(--ac-ring);\n outline-offset: 2px;\n }\n\n &[data-disabled] {\n cursor: not-allowed;\n opacity: .5;\n }\n}\n\n.indicator {\n justify-content: center;\n align-items: center;\n display: inline-flex;\n}\n\n.icon {\n fill: currentColor;\n width: .625rem;\n height: .625rem;\n}\n"],"sourceRoot":""}
@@ -1,11 +1,11 @@
1
1
  import * as React from "react";
2
- import type { ImperativePanelGroupHandle } from "react-resizable-panels";
2
+ import type { GroupImperativeHandle, PanelImperativeHandle } from "react-resizable-panels";
3
3
  import * as ResizablePrimitive from "react-resizable-panels";
4
- export type { ImperativePanelGroupHandle, ImperativePanelHandle } from "react-resizable-panels";
4
+ export type { GroupImperativeHandle, PanelImperativeHandle };
5
5
  /**
6
6
  * Props for the {@link ResizablePanelGroup} component.
7
7
  */
8
- export type ResizablePanelGroupProps = React.ComponentProps<typeof ResizablePrimitive.PanelGroup>;
8
+ export type ResizablePanelGroupProps = React.ComponentProps<typeof ResizablePrimitive.Group>;
9
9
  /**
10
10
  * Props for the {@link ResizablePanel} component.
11
11
  */
@@ -15,7 +15,7 @@ export type ResizablePanelProps = React.ComponentProps<typeof ResizablePrimitive
15
15
  *
16
16
  * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}
17
17
  */
18
- export interface ResizableHandleProps extends React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> {
18
+ export interface ResizableHandleProps extends React.ComponentProps<typeof ResizablePrimitive.Separator> {
19
19
  /**
20
20
  * Renders a visual drag grip inside the resize handle to indicate that adjacent panels can be resized.
21
21
  *
@@ -28,19 +28,21 @@ export interface ResizableHandleProps extends React.ComponentProps<typeof Resiza
28
28
  * Wraps `react-resizable-panels` panel groups with shared styles.
29
29
  *
30
30
  * @remarks
31
- * - Third-party wrapper component
31
+ * - Third-party wrapper component (v4 API: `Group` with `orientation` prop)
32
32
  * - Styling via CSS Modules with `--ac-*` custom properties
33
33
  *
34
34
  * @example
35
35
  * ```tsx
36
- * <ResizablePanelGroup direction='horizontal'>...</ResizablePanelGroup>
36
+ * <ResizablePanelGroup orientation='horizontal'>...</ResizablePanelGroup>
37
37
  * ```
38
38
  *
39
39
  * @see {@link ResizablePanelGroupProps} for available props
40
40
  * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}
41
- * @see {@link https://github.com/bvaughn/react-resizable-panels/tree/main/packages/react-resizable-panels#readme | react-resizable-panels API reference}
42
41
  */
43
- declare const ResizablePanelGroup: React.ForwardRefExoticComponent<ResizablePanelGroupProps & React.RefAttributes<ImperativePanelGroupHandle>>;
42
+ declare function ResizablePanelGroup({ className, ...props }: Readonly<ResizablePanelGroupProps>): React.JSX.Element;
43
+ declare namespace ResizablePanelGroup {
44
+ var displayName: string;
45
+ }
44
46
  /**
45
47
  * Re-exports the underlying resizable panel primitive for consistent composition.
46
48
  *
@@ -50,35 +52,18 @@ declare const ResizablePanelGroup: React.ForwardRefExoticComponent<ResizablePane
50
52
  *
51
53
  * @example
52
54
  * ```tsx
53
- * <ResizablePanel defaultSize={50}>Content</ResizablePanel>
55
+ * <ResizablePanel defaultSize="50%">Content</ResizablePanel>
54
56
  * ```
55
57
  *
56
58
  * @see {@link ResizablePanelProps} for available props
57
59
  * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}
58
- * @see {@link https://github.com/bvaughn/react-resizable-panels/tree/main/packages/react-resizable-panels#readme | react-resizable-panels API reference}
59
60
  */
60
- declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLButtonElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLLinkElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLSlotElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLSpanElement | HTMLStyleElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
61
- className?: string;
62
- collapsedSize?: number | undefined;
63
- collapsible?: boolean | undefined;
64
- defaultSize?: number | undefined;
65
- id?: string;
66
- maxSize?: number | undefined;
67
- minSize?: number | undefined;
68
- onCollapse?: ResizablePrimitive.PanelOnCollapse;
69
- onExpand?: ResizablePrimitive.PanelOnExpand;
70
- onResize?: ResizablePrimitive.PanelOnResize;
71
- order?: number;
72
- style?: object;
73
- tagName?: keyof HTMLElementTagNameMap | undefined;
74
- } & {
75
- children?: import("react").ReactNode | undefined;
76
- } & React.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
61
+ declare const ResizablePanel: typeof ResizablePrimitive.Panel;
77
62
  /**
78
63
  * Renders a draggable resize handle between resizable panels.
79
64
  *
80
65
  * @remarks
81
- * - Third-party wrapper component
66
+ * - Third-party wrapper component (v4 API: `Separator`)
82
67
  * - Styling via CSS Modules with `--ac-*` custom properties
83
68
  *
84
69
  * @example
@@ -88,7 +73,6 @@ declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAtt
88
73
  *
89
74
  * @see {@link ResizableHandleProps} for available props
90
75
  * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}
91
- * @see {@link https://github.com/bvaughn/react-resizable-panels/tree/main/packages/react-resizable-panels#readme | react-resizable-panels API reference}
92
76
  */
93
77
  declare function ResizableHandle({ withHandle, className, children, ...props }: Readonly<ResizableHandleProps>): React.JSX.Element;
94
78
  declare namespace ResizableHandle {
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../src/components/ui/resizable.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAM7D,YAAY,EAAC,0BAA0B,EAAE,qBAAqB,EAAC,MAAM,wBAAwB,CAAC;AAE9F;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,UAAU,CAAC,CAAC;AAElG;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,CAAC;AAExF;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,iBAAiB,CAAC;IAC7G;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,yBAAyB,CAAC,wBAAwB,GAAG,KAAK,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAOjI,CAAC;AAEL;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;kEAA2B,CAAC;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,eAAe,CAAC,EAAC,UAAkB,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAC,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAa/H;kBAbQ,eAAe;;;AAmBxB,OAAO,EAAC,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAC,CAAC"}
1
+ {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../src/components/ui/resizable.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,qBAAqB,EAAE,qBAAqB,EAAC,MAAM,wBAAwB,CAAC;AACzF,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAM7D,YAAY,EAAC,qBAAqB,EAAE,qBAAqB,EAAC,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,CAAC;AAE7F;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,CAAC;AAExF;;;;GAIG;AACH,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC;IACrG;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;GAcG;AACH,iBAAS,mBAAmB,CAAC,EAAC,SAAS,EAAE,GAAG,KAAK,EAAC,EAAE,QAAQ,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAOzG;kBAPQ,mBAAmB;;;AAS5B;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,cAAc,iCAA2B,CAAC;AAEhD;;;;;;;;;;;;;;GAcG;AACH,iBAAS,eAAe,CAAC,EAAC,UAAkB,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAC,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAa/H;kBAbQ,eAAe;;;AAmBxB,OAAO,EAAC,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAC,CAAC"}
@@ -1,18 +1,19 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { GripVertical } from "lucide-react";
4
- import { forwardRef } from "react";
5
- import { Panel, PanelGroup, PanelResizeHandle } from "react-resizable-panels";
4
+ import "react";
6
5
  import { cn } from "../../lib/utilities.js";
7
6
  import resizable_module from "./resizable.module.js";
8
- const ResizablePanelGroup = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(PanelGroup, {
9
- ref: ref,
7
+ import * as __rspack_external_react_resizable_panels_8d5960a0 from "react-resizable-panels";
8
+ function ResizablePanelGroup({ className, ...props }) {
9
+ return /*#__PURE__*/ jsx(__rspack_external_react_resizable_panels_8d5960a0.Group, {
10
10
  className: cn(resizable_module.group, className),
11
11
  ...props
12
- }));
13
- const ResizablePanel = Panel;
12
+ });
13
+ }
14
+ const ResizablePanel = __rspack_external_react_resizable_panels_8d5960a0.Panel;
14
15
  function ResizableHandle({ withHandle = false, className, children, ...props }) {
15
- return /*#__PURE__*/ jsxs(PanelResizeHandle, {
16
+ return /*#__PURE__*/ jsxs(__rspack_external_react_resizable_panels_8d5960a0.Separator, {
16
17
  className: cn(resizable_module.handle, className),
17
18
  ...props,
18
19
  children: [
@@ -1 +1 @@
1
- {"version":3,"file":"components/ui/resizable.js","sources":["../../../src/components/ui/resizable.tsx"],"sourcesContent":["\"use client\";\r\n\r\n/* eslint-disable react/jsx-handler-names */\r\n\r\nimport {GripVertical} from \"lucide-react\";\r\nimport * as React from \"react\";\r\nimport type {ImperativePanelGroupHandle} from \"react-resizable-panels\";\r\nimport * as ResizablePrimitive from \"react-resizable-panels\";\r\n\r\nimport {cn} from \"@/lib/utilities\";\r\n\r\nimport styles from \"./resizable.module.css\";\r\n\r\nexport type {ImperativePanelGroupHandle, ImperativePanelHandle} from \"react-resizable-panels\";\r\n\r\n/**\r\n * Props for the {@link ResizablePanelGroup} component.\r\n */\r\nexport type ResizablePanelGroupProps = React.ComponentProps<typeof ResizablePrimitive.PanelGroup>;\r\n\r\n/**\r\n * Props for the {@link ResizablePanel} component.\r\n */\r\nexport type ResizablePanelProps = React.ComponentProps<typeof ResizablePrimitive.Panel>;\r\n\r\n/**\r\n * Props for the {@link ResizableHandle} component.\r\n *\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n */\r\nexport interface ResizableHandleProps extends React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> {\r\n /**\r\n * Renders a visual drag grip inside the resize handle to indicate that adjacent panels can be resized.\r\n *\r\n * @default false\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n */\r\n withHandle?: boolean;\r\n}\r\n\r\n/**\r\n * Wraps `react-resizable-panels` panel groups with shared styles.\r\n *\r\n * @remarks\r\n * - Third-party wrapper component\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <ResizablePanelGroup direction='horizontal'>...</ResizablePanelGroup>\r\n * ```\r\n *\r\n * @see {@link ResizablePanelGroupProps} for available props\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels/tree/main/packages/react-resizable-panels#readme | react-resizable-panels API reference}\r\n */\r\nconst ResizablePanelGroup: React.ForwardRefExoticComponent<ResizablePanelGroupProps & React.RefAttributes<ImperativePanelGroupHandle>> =\r\n React.forwardRef<ImperativePanelGroupHandle, ResizablePanelGroupProps>(({className, ...props}, ref) => (\r\n <ResizablePrimitive.PanelGroup\r\n ref={ref}\r\n className={cn(styles.group, className)}\r\n {...props}\r\n />\r\n ));\r\n\r\n/**\r\n * Re-exports the underlying resizable panel primitive for consistent composition.\r\n *\r\n * @remarks\r\n * - Third-party wrapper component\r\n * - Styling is applied by parent panel group and handles\r\n *\r\n * @example\r\n * ```tsx\r\n * <ResizablePanel defaultSize={50}>Content</ResizablePanel>\r\n * ```\r\n *\r\n * @see {@link ResizablePanelProps} for available props\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels/tree/main/packages/react-resizable-panels#readme | react-resizable-panels API reference}\r\n */\r\nconst ResizablePanel = ResizablePrimitive.Panel;\r\n\r\n/**\r\n * Renders a draggable resize handle between resizable panels.\r\n *\r\n * @remarks\r\n * - Third-party wrapper component\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <ResizableHandle withHandle />\r\n * ```\r\n *\r\n * @see {@link ResizableHandleProps} for available props\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels/tree/main/packages/react-resizable-panels#readme | react-resizable-panels API reference}\r\n */\r\nfunction ResizableHandle({withHandle = false, className, children, ...props}: Readonly<ResizableHandleProps>): React.JSX.Element {\r\n return (\r\n <ResizablePrimitive.PanelResizeHandle\r\n className={cn(styles.handle, className)}\r\n {...props}>\r\n {Boolean(withHandle) && (\r\n <div className={styles.handleGrip}>\r\n <GripVertical className={styles.handleGripIcon} />\r\n </div>\r\n )}\r\n {children}\r\n </ResizablePrimitive.PanelResizeHandle>\r\n );\r\n}\r\n\r\nResizablePanelGroup.displayName = \"ResizablePanelGroup\";\r\nResizablePanel.displayName = \"ResizablePanel\";\r\nResizableHandle.displayName = \"ResizableHandle\";\r\n\r\nexport {ResizableHandle, ResizablePanel, ResizablePanelGroup};\r\n"],"names":["ResizablePanelGroup","React","className","props","ref","ResizablePrimitive","cn","styles","ResizablePanel","ResizableHandle","withHandle","children","Boolean","GripVertical"],"mappings":";;;;;;;AAwDA,MAAMA,sBAAmBA,WAAAA,GACvBC,WAAuE,CAAC,EAACC,SAAS,EAAE,GAAGC,OAAM,EAAEC,MAAAA,WAAAA,GAC7F,IAACC,YAA6B;QAC5B,KAAKD;QACL,WAAWE,GAAGC,iBAAAA,KAAY,EAAEL;QAC3B,GAAGC,KAAK;;AAoBf,MAAMK,iBAAiBH;AAkBvB,SAASI,gBAAgB,EAACC,aAAa,KAAK,EAAER,SAAS,EAAES,QAAQ,EAAE,GAAGR,OAAsC;IAC1G,OAAO,WAAP,GACE,KAACE,mBAAoC;QACnC,WAAWC,GAAGC,iBAAAA,MAAa,EAAEL;QAC5B,GAAGC,KAAK;;YACRS,QAAQF,eAAe,WAAfA,GACP,IAAC;gBAAI,WAAWH,iBAAAA,UAAiB;0BAC/B,kBAACM,cAAYA;oBAAC,WAAWN,iBAAAA,cAAqB;;;YAGjDI;;;AAGP;AAEAX,oBAAoB,WAAW,GAAG;AAClCQ,eAAe,WAAW,GAAG;AAC7BC,gBAAgB,WAAW,GAAG"}
1
+ {"version":3,"file":"components/ui/resizable.js","sources":["../../../src/components/ui/resizable.tsx"],"sourcesContent":["\"use client\";\r\n\r\n/* eslint-disable react/jsx-handler-names */\r\n\r\nimport {GripVertical} from \"lucide-react\";\r\nimport * as React from \"react\";\r\nimport type {GroupImperativeHandle, PanelImperativeHandle} from \"react-resizable-panels\";\r\nimport * as ResizablePrimitive from \"react-resizable-panels\";\r\n\r\nimport {cn} from \"@/lib/utilities\";\r\n\r\nimport styles from \"./resizable.module.css\";\r\n\r\nexport type {GroupImperativeHandle, PanelImperativeHandle};\r\n\r\n/**\r\n * Props for the {@link ResizablePanelGroup} component.\r\n */\r\nexport type ResizablePanelGroupProps = React.ComponentProps<typeof ResizablePrimitive.Group>;\r\n\r\n/**\r\n * Props for the {@link ResizablePanel} component.\r\n */\r\nexport type ResizablePanelProps = React.ComponentProps<typeof ResizablePrimitive.Panel>;\r\n\r\n/**\r\n * Props for the {@link ResizableHandle} component.\r\n *\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n */\r\nexport interface ResizableHandleProps extends React.ComponentProps<typeof ResizablePrimitive.Separator> {\r\n /**\r\n * Renders a visual drag grip inside the resize handle to indicate that adjacent panels can be resized.\r\n *\r\n * @default false\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n */\r\n withHandle?: boolean;\r\n}\r\n\r\n/**\r\n * Wraps `react-resizable-panels` panel groups with shared styles.\r\n *\r\n * @remarks\r\n * - Third-party wrapper component (v4 API: `Group` with `orientation` prop)\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <ResizablePanelGroup orientation='horizontal'>...</ResizablePanelGroup>\r\n * ```\r\n *\r\n * @see {@link ResizablePanelGroupProps} for available props\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n */\r\nfunction ResizablePanelGroup({className, ...props}: Readonly<ResizablePanelGroupProps>): React.JSX.Element {\r\n return (\r\n <ResizablePrimitive.Group\r\n className={cn(styles.group, className)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\n/**\r\n * Re-exports the underlying resizable panel primitive for consistent composition.\r\n *\r\n * @remarks\r\n * - Third-party wrapper component\r\n * - Styling is applied by parent panel group and handles\r\n *\r\n * @example\r\n * ```tsx\r\n * <ResizablePanel defaultSize=\"50%\">Content</ResizablePanel>\r\n * ```\r\n *\r\n * @see {@link ResizablePanelProps} for available props\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n */\r\nconst ResizablePanel = ResizablePrimitive.Panel;\r\n\r\n/**\r\n * Renders a draggable resize handle between resizable panels.\r\n *\r\n * @remarks\r\n * - Third-party wrapper component (v4 API: `Separator`)\r\n * - Styling via CSS Modules with `--ac-*` custom properties\r\n *\r\n * @example\r\n * ```tsx\r\n * <ResizableHandle withHandle />\r\n * ```\r\n *\r\n * @see {@link ResizableHandleProps} for available props\r\n * @see {@link https://github.com/bvaughn/react-resizable-panels | react-resizable-panels docs}\r\n */\r\nfunction ResizableHandle({withHandle = false, className, children, ...props}: Readonly<ResizableHandleProps>): React.JSX.Element {\r\n return (\r\n <ResizablePrimitive.Separator\r\n className={cn(styles.handle, className)}\r\n {...props}>\r\n {Boolean(withHandle) && (\r\n <div className={styles.handleGrip}>\r\n <GripVertical className={styles.handleGripIcon} />\r\n </div>\r\n )}\r\n {children}\r\n </ResizablePrimitive.Separator>\r\n );\r\n}\r\n\r\nResizablePanelGroup.displayName = \"ResizablePanelGroup\";\r\nResizablePanel.displayName = \"ResizablePanel\";\r\nResizableHandle.displayName = \"ResizableHandle\";\r\n\r\nexport {ResizableHandle, ResizablePanel, ResizablePanelGroup};\r\n"],"names":["ResizablePanelGroup","className","props","ResizablePrimitive","cn","styles","ResizablePanel","ResizableHandle","withHandle","children","Boolean","GripVertical"],"mappings":";;;;;;;AAuDA,SAASA,oBAAoB,EAACC,SAAS,EAAE,GAAGC,OAA0C;IACpF,OAAO,WAAP,GACE,IAACC,kDAAAA,KAAwB;QACvB,WAAWC,GAAGC,iBAAAA,KAAY,EAAEJ;QAC3B,GAAGC,KAAK;;AAGf;AAiBA,MAAMI,iBAAiBH,kDAAAA,KAAwB;AAiB/C,SAASI,gBAAgB,EAACC,aAAa,KAAK,EAAEP,SAAS,EAAEQ,QAAQ,EAAE,GAAGP,OAAsC;IAC1G,OAAO,WAAP,GACE,KAACC,kDAAAA,SAA4B;QAC3B,WAAWC,GAAGC,iBAAAA,MAAa,EAAEJ;QAC5B,GAAGC,KAAK;;YACRQ,QAAQF,eAAe,WAAfA,GACP,IAAC;gBAAI,WAAWH,iBAAAA,UAAiB;0BAC/B,kBAACM,cAAYA;oBAAC,WAAWN,iBAAAA,cAAqB;;;YAGjDI;;;AAGP;AAEAT,oBAAoB,WAAW,GAAG;AAClCM,eAAe,WAAW,GAAG;AAC7BC,gBAAgB,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://./home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/resizable.module.css","webpack://./src/components/ui/resizable.module.css"],"names":[],"mappings":"AADA;ECEE,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,kCAAkC;EAClC,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,UAAU;EACV,aAAa;EACb,kBAAkB;AACpB;;AAEA;EACE,WAAW;EACX,cAAc;EACd,aAAa;EACb,kBAAkB;EAClB,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE,mEAAmE;AACrE;;AAEA;EACE,WAAW;EACX,WAAW;AACb;;AAEA;EACE,WAAW;EACX,cAAc;EACd,MAAM;EACN,OAAO;EACP,2BAA2B;AAC7B;;AAEA;EACE,sCAAsC;EACtC,kCAAkC;EAClC,kCAAkC;EAClC,UAAU;EACV,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;EACb,YAAY;EACZ,aAAa;EACb,kBAAkB;AACpB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,cAAc;EACd,eAAe;AACjB","sourcesContent":[".group{display:flex;height:100%;width:100%}.group[data-panel-group-direction=vertical]{flex-direction:column}.handle{align-items:center;background-color:var(--ac-border);display:flex;justify-content:center;outline:none;position:relative;width:1px}.handle:after{content:\"\";inset-block:0;left:50%;position:absolute;transform:translateX(-50%);width:.25rem}.handle:focus-visible{box-shadow:0 0 0 1px var(--ac-ring),0 0 0 2px var(--ac-background)}.handle[data-panel-group-direction=vertical]{height:1px;width:100%}.handle[data-panel-group-direction=vertical]:after{height:.25rem;left:0;top:0;transform:translateY(-50%);width:100%}.handleGrip{align-items:center;background-color:var(--ac-background);border:1px solid var(--ac-border);border-radius:var(--ac-radius-sm);display:flex;height:1rem;justify-content:center;position:relative;width:.75rem;z-index:1}.handle[data-panel-group-direction=vertical] .handleGrip{transform:rotate(90deg)}.handleGripIcon{height:.625rem;width:.625rem}",".group {\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.group[data-panel-group-direction=\"vertical\"] {\n flex-direction: column;\n}\n\n.handle {\n background-color: var(--ac-border);\n outline: none;\n justify-content: center;\n align-items: center;\n width: 1px;\n display: flex;\n position: relative;\n}\n\n.handle:after {\n content: \"\";\n inset-block: 0;\n width: .25rem;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.handle:focus-visible {\n box-shadow: 0 0 0 1px var(--ac-ring),0 0 0 2px var(--ac-background);\n}\n\n.handle[data-panel-group-direction=\"vertical\"] {\n width: 100%;\n height: 1px;\n}\n\n.handle[data-panel-group-direction=\"vertical\"]:after {\n width: 100%;\n height: .25rem;\n top: 0;\n left: 0;\n transform: translateY(-50%);\n}\n\n.handleGrip {\n background-color: var(--ac-background);\n border: 1px solid var(--ac-border);\n border-radius: var(--ac-radius-sm);\n z-index: 1;\n justify-content: center;\n align-items: center;\n width: .75rem;\n height: 1rem;\n display: flex;\n position: relative;\n}\n\n.handle[data-panel-group-direction=\"vertical\"] .handleGrip {\n transform: rotate(90deg);\n}\n\n.handleGripIcon {\n width: .625rem;\n height: .625rem;\n}\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://./../../node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[1].oneOf[2].use[2]!/home/runner/work/arolariu.ro/arolariu.ro/node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/postcss-loader/index.js??ruleSet[1].rules[1].oneOf[2].use[3]!/home/runner/work/arolariu.ro/arolariu.ro/packages/components/src/components/ui/resizable.module.css","webpack://./src/components/ui/resizable.module.css"],"names":[],"mappings":"AAAA;ECCE,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;ADJ2C;ECOzC,sBAAsB;AACxB;;ADR6G;ECW3G,kCAAkC;EAClC,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,UAAU;EACV,aAAa;EACb,kBAAkB;AACpB;;ADlBuP;ECqBrP,WAAW;EACX,cAAc;EACd,aAAa;EACb,kBAAkB;EAClB,SAAS;EACT,2BAA2B;AAC7B;;AD3BiW;EC8B/V,mEAAmE;AACrE;;AD/B0b;ECkCxb,WAAW;EACX,WAAW;AACb;;ADpC6f;ECuC3f,WAAW;EACX,cAAc;EACd,MAAM;EACN,OAAO;EACP,2BAA2B;AAC7B;;AD5CinB;EC+C/mB,sCAAsC;EACtC,kCAAkC;EAClC,kCAAkC;EAClC,UAAU;EACV,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;EACb,YAAY;EACZ,aAAa;EACb,kBAAkB;AACpB;;ADzDm1B;EC4Dj1B,wBAAwB;AAC1B;;AD7Do6B;ECgEl6B,cAAc;EACd,eAAe;AACjB","sourcesContent":[".group{display:flex;height:100%;width:100%}.group[data-panel-group-direction=vertical]{flex-direction:column}.handle{align-items:center;background-color:var(--ac-border);display:flex;justify-content:center;outline:none;position:relative;width:1px}.handle:after{content:\"\";inset-block:0;left:50%;position:absolute;transform:translateX(-50%);width:.25rem}.handle:focus-visible{box-shadow:0 0 0 1px var(--ac-ring),0 0 0 2px var(--ac-background)}.handle[data-panel-group-direction=vertical]{height:1px;width:100%}.handle[data-panel-group-direction=vertical]:after{height:.25rem;left:0;top:0;transform:translateY(-50%);width:100%}.handleGrip{align-items:center;background-color:var(--ac-background);border:1px solid var(--ac-border);border-radius:var(--ac-radius-sm);display:flex;height:1rem;justify-content:center;position:relative;width:.75rem;z-index:1}.handle[data-panel-group-direction=vertical] .handleGrip{transform:rotate(90deg)}.handleGripIcon{height:.625rem;width:.625rem}",".group {\n width: 100%;\n height: 100%;\n display: flex;\n}\n\n.group[data-panel-group-direction=\"vertical\"] {\n flex-direction: column;\n}\n\n.handle {\n background-color: var(--ac-border);\n outline: none;\n justify-content: center;\n align-items: center;\n width: 1px;\n display: flex;\n position: relative;\n}\n\n.handle:after {\n content: \"\";\n inset-block: 0;\n width: .25rem;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.handle:focus-visible {\n box-shadow: 0 0 0 1px var(--ac-ring),0 0 0 2px var(--ac-background);\n}\n\n.handle[data-panel-group-direction=\"vertical\"] {\n width: 100%;\n height: 1px;\n}\n\n.handle[data-panel-group-direction=\"vertical\"]:after {\n width: 100%;\n height: .25rem;\n top: 0;\n left: 0;\n transform: translateY(-50%);\n}\n\n.handleGrip {\n background-color: var(--ac-background);\n border: 1px solid var(--ac-border);\n border-radius: var(--ac-radius-sm);\n z-index: 1;\n justify-content: center;\n align-items: center;\n width: .75rem;\n height: 1rem;\n display: flex;\n position: relative;\n}\n\n.handle[data-panel-group-direction=\"vertical\"] .handleGrip {\n transform: rotate(90deg);\n}\n\n.handleGripIcon {\n width: .625rem;\n height: .625rem;\n}\n"],"sourceRoot":""}
@@ -1,24 +1,24 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { motion } from "motion/react";
4
- import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from "react";
5
4
  import { cn } from "../../lib/utilities.js";
6
5
  import ripple_button_module from "./ripple-button.module.js";
7
- const RippleButton = /*#__PURE__*/ forwardRef(({ children, onClick, className, rippleClassName, scale = 10, transition = {
6
+ import * as __rspack_external_react from "react";
7
+ const RippleButton = /*#__PURE__*/ __rspack_external_react.forwardRef(({ children, onClick, className, rippleClassName, scale = 10, transition = {
8
8
  duration: 0.6,
9
9
  ease: "easeOut"
10
10
  }, ...props }, ref)=>{
11
11
  const { key: _ignoredKey, ...restProps } = props;
12
- const [ripples, setRipples] = useState([]);
13
- const buttonRef = useRef(null);
14
- const timeoutIdsRef = useRef([]);
15
- useImperativeHandle(ref, ()=>buttonRef.current, []);
16
- useEffect(()=>()=>{
12
+ const [ripples, setRipples] = __rspack_external_react.useState([]);
13
+ const buttonRef = __rspack_external_react.useRef(null);
14
+ const timeoutIdsRef = __rspack_external_react.useRef([]);
15
+ __rspack_external_react.useImperativeHandle(ref, ()=>buttonRef.current, []);
16
+ __rspack_external_react.useEffect(()=>()=>{
17
17
  timeoutIdsRef.current.forEach((timeoutId)=>{
18
18
  globalThis.window.clearTimeout(timeoutId);
19
19
  });
20
20
  }, []);
21
- const createRipple = useCallback((event)=>{
21
+ const createRipple = __rspack_external_react.useCallback((event)=>{
22
22
  const button = buttonRef.current;
23
23
  if (!button) return;
24
24
  const rect = button.getBoundingClientRect();
@@ -41,7 +41,7 @@ const RippleButton = /*#__PURE__*/ forwardRef(({ children, onClick, className, r
41
41
  timeoutId
42
42
  ];
43
43
  }, []);
44
- const handleClick = useCallback((event)=>{
44
+ const handleClick = __rspack_external_react.useCallback((event)=>{
45
45
  createRipple(event);
46
46
  onClick?.(event);
47
47
  }, [