@recursica/adapter-mantine-v8 1.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 (362) hide show
  1. package/.storybook/commonArgTypes.ts +148 -0
  2. package/ARCHITECTURE.md +18 -0
  3. package/CHANGELOG.md +688 -0
  4. package/LICENSE +21 -0
  5. package/OVERSTYLING.md +56 -0
  6. package/README.md +70 -0
  7. package/SETUP.md +93 -0
  8. package/USAGE.md +57 -0
  9. package/dist/adapter-mantine-v8.cjs +12 -0
  10. package/dist/adapter-mantine-v8.cjs.map +1 -0
  11. package/dist/adapter-mantine-v8.css +1 -0
  12. package/dist/adapter-mantine-v8.js +5759 -0
  13. package/dist/adapter-mantine-v8.js.map +1 -0
  14. package/dist/index.d.ts +2095 -0
  15. package/dist/test.html +1 -0
  16. package/dist/vite.svg +1 -0
  17. package/docs/PHILOSOPHY.md +39 -0
  18. package/llms.txt +74 -0
  19. package/package.json +131 -0
  20. package/recursica_brand.json +2677 -0
  21. package/recursica_tokens.json +799 -0
  22. package/recursica_ui-kit.json +14981 -0
  23. package/recursica_variables_scoped.css +30489 -0
  24. package/src/GlobalExemptions.modules.css +7 -0
  25. package/src/Introduction.stories.tsx +154 -0
  26. package/src/OverStyling.tsx +79 -0
  27. package/src/Version.tsx +44 -0
  28. package/src/components/Accordion/ACCORDION_IMPLEMENTATION_NOTES.md +72 -0
  29. package/src/components/Accordion/Accordion.module.css +367 -0
  30. package/src/components/Accordion/Accordion.stories.tsx +189 -0
  31. package/src/components/Accordion/Accordion.test.tsx +1 -0
  32. package/src/components/Accordion/Accordion.tsx +220 -0
  33. package/src/components/Accordion/USAGE.md +51 -0
  34. package/src/components/Accordion/index.ts +1 -0
  35. package/src/components/AssistiveElement/ASSISTIVEELEMENT_IMPLEMENTATION_NOTES.md +45 -0
  36. package/src/components/AssistiveElement/AssistiveElement.module.css +111 -0
  37. package/src/components/AssistiveElement/AssistiveElement.stories.tsx +68 -0
  38. package/src/components/AssistiveElement/AssistiveElement.test.tsx +1 -0
  39. package/src/components/AssistiveElement/AssistiveElement.tsx +93 -0
  40. package/src/components/AssistiveElement/USAGE.md +36 -0
  41. package/src/components/AutoComplete/AUTOCOMPLETE_IMPLEMENTATION_NOTES.md +42 -0
  42. package/src/components/AutoComplete/AutoComplete.module.css +430 -0
  43. package/src/components/AutoComplete/AutoComplete.stories.tsx +336 -0
  44. package/src/components/AutoComplete/AutoComplete.test.tsx +1 -0
  45. package/src/components/AutoComplete/AutoComplete.tsx +179 -0
  46. package/src/components/AutoComplete/USAGE.md +80 -0
  47. package/src/components/Avatar/AVATAR_IMPLEMENTATION_NOTES.md +34 -0
  48. package/src/components/Avatar/Avatar.module.css +336 -0
  49. package/src/components/Avatar/Avatar.stories.tsx +92 -0
  50. package/src/components/Avatar/Avatar.test.tsx +1 -0
  51. package/src/components/Avatar/Avatar.tsx +108 -0
  52. package/src/components/Avatar/USAGE.md +38 -0
  53. package/src/components/Avatar/index.ts +1 -0
  54. package/src/components/Badge/BADGE_IMPLEMENTATION_NOTES.md +18 -0
  55. package/src/components/Badge/Badge.module.css +127 -0
  56. package/src/components/Badge/Badge.stories.tsx +78 -0
  57. package/src/components/Badge/Badge.test.tsx +1 -0
  58. package/src/components/Badge/Badge.tsx +64 -0
  59. package/src/components/Badge/USAGE.md +56 -0
  60. package/src/components/Breadcrumb/BREADCRUMB_IMPLEMENTATION_NOTES.md +47 -0
  61. package/src/components/Breadcrumb/Breadcrumb.module.css +48 -0
  62. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +114 -0
  63. package/src/components/Breadcrumb/Breadcrumb.test.tsx +1 -0
  64. package/src/components/Breadcrumb/Breadcrumb.tsx +85 -0
  65. package/src/components/Breadcrumb/USAGE.md +55 -0
  66. package/src/components/Breadcrumb/markCurrentPageItem.test.ts +49 -0
  67. package/src/components/Button/Button.module.css +446 -0
  68. package/src/components/Button/Button.stories.tsx +196 -0
  69. package/src/components/Button/Button.styleIsolation.dom.test.tsx +98 -0
  70. package/src/components/Button/Button.tsx +184 -0
  71. package/src/components/Button/IMPLEMENTATION_NOTES.md +109 -0
  72. package/src/components/Button/USAGE.md +80 -0
  73. package/src/components/Button/index.ts +1 -0
  74. package/src/components/Card/CARD_IMPLEMENTATION_NOTES.md +17 -0
  75. package/src/components/Card/Card.module.css +119 -0
  76. package/src/components/Card/Card.stories.tsx +131 -0
  77. package/src/components/Card/Card.test.tsx +1 -0
  78. package/src/components/Card/Card.tsx +248 -0
  79. package/src/components/Card/USAGE.md +63 -0
  80. package/src/components/Checkbox/CHECKBOX_IMPLEMENTATION_NOTES.md +25 -0
  81. package/src/components/Checkbox/Checkbox.module.css +267 -0
  82. package/src/components/Checkbox/Checkbox.stories.tsx +97 -0
  83. package/src/components/Checkbox/Checkbox.test.tsx +1 -0
  84. package/src/components/Checkbox/Checkbox.tsx +151 -0
  85. package/src/components/Checkbox/CheckboxGroup.stories.tsx +139 -0
  86. package/src/components/Checkbox/CheckboxGroup.tsx +147 -0
  87. package/src/components/Checkbox/USAGE.md +48 -0
  88. package/src/components/Chip/CHIP_IMPLEMENTATION_NOTES.md +110 -0
  89. package/src/components/Chip/Chip.module.css +288 -0
  90. package/src/components/Chip/Chip.stories.tsx +128 -0
  91. package/src/components/Chip/Chip.test.tsx +1 -0
  92. package/src/components/Chip/Chip.tsx +157 -0
  93. package/src/components/Chip/USAGE.md +55 -0
  94. package/src/components/Container/CONTAINER_IMPLEMENTATION_NOTES.md +4 -0
  95. package/src/components/Container/Container.module.css +7 -0
  96. package/src/components/Container/Container.stories.tsx +118 -0
  97. package/src/components/Container/Container.test.tsx +1 -0
  98. package/src/components/Container/Container.tsx +69 -0
  99. package/src/components/Container/USAGE.md +47 -0
  100. package/src/components/DatePicker/DATEPICKER_IMPLEMENTATION_NOTES.md +31 -0
  101. package/src/components/DatePicker/DatePicker.icons.tsx +27 -0
  102. package/src/components/DatePicker/DatePicker.module.css +566 -0
  103. package/src/components/DatePicker/DatePicker.stories.tsx +158 -0
  104. package/src/components/DatePicker/DatePicker.test.tsx +1 -0
  105. package/src/components/DatePicker/DatePicker.tsx +218 -0
  106. package/src/components/DatePicker/USAGE.md +49 -0
  107. package/src/components/Dropdown/BareDropdown.tsx +97 -0
  108. package/src/components/Dropdown/DROPDOWN_IMPLEMENTATION_NOTES.md +12 -0
  109. package/src/components/Dropdown/Dropdown.module.css +477 -0
  110. package/src/components/Dropdown/Dropdown.stories.tsx +252 -0
  111. package/src/components/Dropdown/Dropdown.test.tsx +1 -0
  112. package/src/components/Dropdown/Dropdown.tsx +213 -0
  113. package/src/components/Dropdown/USAGE.md +69 -0
  114. package/src/components/FileInput/FILEINPUT_IMPLEMENTATION_NOTES.md +153 -0
  115. package/src/components/FileInput/FileInput.module.css +280 -0
  116. package/src/components/FileInput/FileInput.stories.tsx +313 -0
  117. package/src/components/FileInput/FileInput.test.tsx +1 -0
  118. package/src/components/FileInput/FileInput.tsx +417 -0
  119. package/src/components/FileInput/USAGE.md +145 -0
  120. package/src/components/FileUpload/FILEUPLOAD_IMPLEMENTATION_NOTES.md +244 -0
  121. package/src/components/FileUpload/FileUpload.module.css +205 -0
  122. package/src/components/FileUpload/FileUpload.stories.tsx +362 -0
  123. package/src/components/FileUpload/FileUpload.test.tsx +1 -0
  124. package/src/components/FileUpload/FileUpload.tsx +354 -0
  125. package/src/components/FileUpload/USAGE.md +199 -0
  126. package/src/components/Flex/FLEX_IMPLEMENTATION_NOTES.md +4 -0
  127. package/src/components/Flex/Flex.module.css +7 -0
  128. package/src/components/Flex/Flex.stories.tsx +128 -0
  129. package/src/components/Flex/Flex.test.tsx +1 -0
  130. package/src/components/Flex/Flex.tsx +75 -0
  131. package/src/components/Flex/USAGE.md +48 -0
  132. package/src/components/FormControlLayout/FormControlLayout.module.css +90 -0
  133. package/src/components/FormControlLayout/FormControlLayout.stories.tsx +118 -0
  134. package/src/components/FormControlLayout/FormControlLayout.test.tsx +1 -0
  135. package/src/components/FormControlLayout/FormControlLayout.tsx +74 -0
  136. package/src/components/FormControlLayout/USAGE.md +40 -0
  137. package/src/components/FormControlWrapper/FORMCONTROLWRAPPER_IMPLEMENTATION_NOTES.md +32 -0
  138. package/src/components/FormControlWrapper/FormControlWrapper.module.css +75 -0
  139. package/src/components/FormControlWrapper/FormControlWrapper.stories.tsx +129 -0
  140. package/src/components/FormControlWrapper/FormControlWrapper.test.tsx +1 -0
  141. package/src/components/FormControlWrapper/FormControlWrapper.tsx +151 -0
  142. package/src/components/FormControlWrapper/USAGE.md +47 -0
  143. package/src/components/Grid/GRID_IMPLEMENTATION_NOTES.md +18 -0
  144. package/src/components/Grid/Grid.module.css +11 -0
  145. package/src/components/Grid/Grid.stories.tsx +206 -0
  146. package/src/components/Grid/Grid.test.tsx +1 -0
  147. package/src/components/Grid/Grid.tsx +140 -0
  148. package/src/components/Grid/USAGE.md +47 -0
  149. package/src/components/Group/GROUP_IMPLEMENTATION_NOTES.md +4 -0
  150. package/src/components/Group/Group.module.css +7 -0
  151. package/src/components/Group/Group.stories.tsx +120 -0
  152. package/src/components/Group/Group.test.tsx +1 -0
  153. package/src/components/Group/Group.tsx +60 -0
  154. package/src/components/Group/USAGE.md +48 -0
  155. package/src/components/Heading/HEADING_IMPLEMENTATION_NOTES.md +18 -0
  156. package/src/components/Heading/Heading.module.css +13 -0
  157. package/src/components/Heading/Heading.stories.tsx +50 -0
  158. package/src/components/Heading/Heading.test.tsx +1 -0
  159. package/src/components/Heading/Heading.tsx +52 -0
  160. package/src/components/Heading/USAGE.md +36 -0
  161. package/src/components/HoverCard/HOVERCARD_IMPLEMENTATION_NOTES.md +77 -0
  162. package/src/components/HoverCard/HoverCard.module.css +90 -0
  163. package/src/components/HoverCard/HoverCard.stories.tsx +172 -0
  164. package/src/components/HoverCard/HoverCard.test.tsx +1 -0
  165. package/src/components/HoverCard/HoverCard.tsx +133 -0
  166. package/src/components/HoverCard/USAGE.md +52 -0
  167. package/src/components/Label/LABEL_IMPLEMENTATION_NOTES.md +48 -0
  168. package/src/components/Label/Label.module.css +141 -0
  169. package/src/components/Label/Label.stories.tsx +131 -0
  170. package/src/components/Label/Label.test.tsx +1 -0
  171. package/src/components/Label/Label.tsx +113 -0
  172. package/src/components/Label/USAGE.md +47 -0
  173. package/src/components/Label/index.ts +1 -0
  174. package/src/components/Layer/USAGE.md +54 -0
  175. package/src/components/Link/IMPLEMENTATION_NOTES.md +19 -0
  176. package/src/components/Link/Link.module.css +110 -0
  177. package/src/components/Link/Link.stories.tsx +58 -0
  178. package/src/components/Link/Link.test.tsx +1 -0
  179. package/src/components/Link/Link.tsx +67 -0
  180. package/src/components/Link/USAGE.md +56 -0
  181. package/src/components/Link/index.ts +1 -0
  182. package/src/components/Loader/LOADER_IMPLEMENTATION_NOTES.md +24 -0
  183. package/src/components/Loader/Loader.animate.dom.test.tsx +82 -0
  184. package/src/components/Loader/Loader.module.css +63 -0
  185. package/src/components/Loader/Loader.stories.tsx +123 -0
  186. package/src/components/Loader/Loader.test.tsx +1 -0
  187. package/src/components/Loader/Loader.tsx +69 -0
  188. package/src/components/Loader/USAGE.md +44 -0
  189. package/src/components/Menu/MENU_IMPLEMENTATION_NOTES.md +88 -0
  190. package/src/components/Menu/Menu.module.css +280 -0
  191. package/src/components/Menu/Menu.stories.tsx +371 -0
  192. package/src/components/Menu/Menu.test.tsx +1 -0
  193. package/src/components/Menu/Menu.tsx +373 -0
  194. package/src/components/Menu/USAGE.md +55 -0
  195. package/src/components/Modal/MODAL_IMPLEMENTATION_NOTES.md +32 -0
  196. package/src/components/Modal/Modal.module.css +302 -0
  197. package/src/components/Modal/Modal.stories.tsx +105 -0
  198. package/src/components/Modal/Modal.test.tsx +1 -0
  199. package/src/components/Modal/Modal.tsx +368 -0
  200. package/src/components/Modal/USAGE.md +58 -0
  201. package/src/components/Modal/index.ts +1 -0
  202. package/src/components/NumberInput/NUMBER_INPUT_IMPLEMENTATION_NOTES.md +24 -0
  203. package/src/components/NumberInput/NumberInput.module.css +302 -0
  204. package/src/components/NumberInput/NumberInput.stories.tsx +96 -0
  205. package/src/components/NumberInput/NumberInput.test.tsx +1 -0
  206. package/src/components/NumberInput/NumberInput.tsx +157 -0
  207. package/src/components/NumberInput/USAGE.md +52 -0
  208. package/src/components/Pagination/IMPLEMENTATION_NOTES.md +16 -0
  209. package/src/components/Pagination/Pagination.icons.tsx +66 -0
  210. package/src/components/Pagination/Pagination.module.css +188 -0
  211. package/src/components/Pagination/Pagination.stories.tsx +48 -0
  212. package/src/components/Pagination/Pagination.test.tsx +1 -0
  213. package/src/components/Pagination/Pagination.tsx +265 -0
  214. package/src/components/Pagination/USAGE.md +36 -0
  215. package/src/components/Pagination/index.ts +5 -0
  216. package/src/components/Panel/PANEL_IMPLEMENTATION_NOTES.md +116 -0
  217. package/src/components/Panel/Panel.module.css +209 -0
  218. package/src/components/Panel/Panel.stories.tsx +227 -0
  219. package/src/components/Panel/Panel.test.tsx +1 -0
  220. package/src/components/Panel/Panel.tsx +269 -0
  221. package/src/components/Panel/USAGE.md +56 -0
  222. package/src/components/Popover/IMPLEMENTATION_NOTES.md +77 -0
  223. package/src/components/Popover/Popover.module.css +86 -0
  224. package/src/components/Popover/Popover.stories.tsx +133 -0
  225. package/src/components/Popover/Popover.test.tsx +1 -0
  226. package/src/components/Popover/Popover.tsx +142 -0
  227. package/src/components/Popover/USAGE.md +61 -0
  228. package/src/components/Popover/index.ts +1 -0
  229. package/src/components/Radio/Radio.module.css +231 -0
  230. package/src/components/Radio/Radio.stories.tsx +93 -0
  231. package/src/components/Radio/Radio.test.tsx +1 -0
  232. package/src/components/Radio/Radio.tsx +168 -0
  233. package/src/components/Radio/RadioGroup.stories.tsx +117 -0
  234. package/src/components/Radio/RadioGroup.tsx +124 -0
  235. package/src/components/Radio/USAGE.md +36 -0
  236. package/src/components/ReadOnlyField/READ_ONLY_FIELD_IMPLEMENTATION_NOTES.md +15 -0
  237. package/src/components/ReadOnlyField/ReadOnlyBooleanField.tsx +21 -0
  238. package/src/components/ReadOnlyField/ReadOnlyField.module.css +54 -0
  239. package/src/components/ReadOnlyField/ReadOnlyField.stories.tsx +163 -0
  240. package/src/components/ReadOnlyField/ReadOnlyField.test.tsx +1 -0
  241. package/src/components/ReadOnlyField/ReadOnlyField.tsx +114 -0
  242. package/src/components/ReadOnlyField/ReadOnlySwitchField.tsx +21 -0
  243. package/src/components/ReadOnlyField/ReadOnlyTextField.tsx +48 -0
  244. package/src/components/ReadOnlyField/USAGE.md +44 -0
  245. package/src/components/ReadOnlyField/WithReadOnlyWrapper.tsx +93 -0
  246. package/src/components/ReadOnlyField/index.ts +5 -0
  247. package/src/components/RecursicaThemeProvider/USAGE.md +60 -0
  248. package/src/components/SegmentedControl/IMPLEMENTATION_NOTES.md +25 -0
  249. package/src/components/SegmentedControl/SegmentedControl.module.css +185 -0
  250. package/src/components/SegmentedControl/SegmentedControl.stories.tsx +106 -0
  251. package/src/components/SegmentedControl/SegmentedControl.test.tsx +1 -0
  252. package/src/components/SegmentedControl/SegmentedControl.tsx +110 -0
  253. package/src/components/SegmentedControl/USAGE.md +55 -0
  254. package/src/components/Slider/IMPLEMENTATION_NOTES.md +92 -0
  255. package/src/components/Slider/Slider.module.css +588 -0
  256. package/src/components/Slider/Slider.stories.tsx +282 -0
  257. package/src/components/Slider/Slider.test.tsx +1 -0
  258. package/src/components/Slider/Slider.tsx +391 -0
  259. package/src/components/Slider/USAGE.md +56 -0
  260. package/src/components/Stack/STACK_IMPLEMENTATION_NOTES.md +4 -0
  261. package/src/components/Stack/Stack.module.css +7 -0
  262. package/src/components/Stack/Stack.stories.tsx +108 -0
  263. package/src/components/Stack/Stack.test.tsx +1 -0
  264. package/src/components/Stack/Stack.tsx +62 -0
  265. package/src/components/Stack/USAGE.md +48 -0
  266. package/src/components/Stepper/IMPLEMENTATION_NOTES.md +28 -0
  267. package/src/components/Stepper/Stepper.module.css +404 -0
  268. package/src/components/Stepper/Stepper.stories.tsx +148 -0
  269. package/src/components/Stepper/Stepper.test.tsx +1 -0
  270. package/src/components/Stepper/Stepper.tsx +93 -0
  271. package/src/components/Stepper/USAGE.md +41 -0
  272. package/src/components/Switch/SWITCH_IMPLEMENTATION_NOTES.md +64 -0
  273. package/src/components/Switch/Switch.module.css +279 -0
  274. package/src/components/Switch/Switch.stories.tsx +114 -0
  275. package/src/components/Switch/Switch.test.tsx +1 -0
  276. package/src/components/Switch/Switch.tsx +177 -0
  277. package/src/components/Switch/SwitchGroup.stories.tsx +132 -0
  278. package/src/components/Switch/SwitchGroup.tsx +127 -0
  279. package/src/components/Switch/USAGE.md +42 -0
  280. package/src/components/Table/TABLE_IMPLEMENTATION_NOTES.md +78 -0
  281. package/src/components/Table/Table.icons.tsx +40 -0
  282. package/src/components/Table/Table.module.css +444 -0
  283. package/src/components/Table/Table.stories.tsx +140 -0
  284. package/src/components/Table/Table.test.tsx +1 -0
  285. package/src/components/Table/Table.tsx +243 -0
  286. package/src/components/Table/USAGE.md +78 -0
  287. package/src/components/Tabs/IMPLEMENTATION_NOTES.md +27 -0
  288. package/src/components/Tabs/Tabs.module.css +591 -0
  289. package/src/components/Tabs/Tabs.stories.tsx +154 -0
  290. package/src/components/Tabs/Tabs.test.tsx +1 -0
  291. package/src/components/Tabs/Tabs.tsx +114 -0
  292. package/src/components/Tabs/USAGE.md +45 -0
  293. package/src/components/Text/TEXT_IMPLEMENTATION_NOTES.md +12 -0
  294. package/src/components/Text/Text.module.css +13 -0
  295. package/src/components/Text/Text.stories.tsx +75 -0
  296. package/src/components/Text/Text.test.tsx +1 -0
  297. package/src/components/Text/Text.tsx +53 -0
  298. package/src/components/Text/USAGE.md +40 -0
  299. package/src/components/TextArea/TEXTAREA_IMPLEMENTATION_NOTES.md +7 -0
  300. package/src/components/TextArea/TextArea.module.css +183 -0
  301. package/src/components/TextArea/TextArea.stories.tsx +94 -0
  302. package/src/components/TextArea/TextArea.test.tsx +1 -0
  303. package/src/components/TextArea/TextArea.tsx +137 -0
  304. package/src/components/TextArea/USAGE.md +48 -0
  305. package/src/components/TextField/TEXTFIELD_IMPLEMENTATION_NOTES.md +19 -0
  306. package/src/components/TextField/TextField.module.css +264 -0
  307. package/src/components/TextField/TextField.stories.tsx +162 -0
  308. package/src/components/TextField/TextField.test.tsx +1 -0
  309. package/src/components/TextField/TextField.tsx +139 -0
  310. package/src/components/TextField/USAGE.md +44 -0
  311. package/src/components/TimePicker/TIMEPICKER_IMPLEMENTATION_NOTES.md +119 -0
  312. package/src/components/TimePicker/TimePicker.module.css +291 -0
  313. package/src/components/TimePicker/TimePicker.stories.tsx +141 -0
  314. package/src/components/TimePicker/TimePicker.test.tsx +1 -0
  315. package/src/components/TimePicker/TimePicker.tsx +304 -0
  316. package/src/components/TimePicker/USAGE.md +57 -0
  317. package/src/components/Timeline/TIMELINE_IMPLEMENTATION_NOTES.md +13 -0
  318. package/src/components/Timeline/Timeline.module.css +373 -0
  319. package/src/components/Timeline/Timeline.stories.tsx +128 -0
  320. package/src/components/Timeline/Timeline.test.tsx +1 -0
  321. package/src/components/Timeline/Timeline.tsx +73 -0
  322. package/src/components/Timeline/TimelineItem.tsx +79 -0
  323. package/src/components/Timeline/USAGE.md +49 -0
  324. package/src/components/Toast/TOAST_IMPLEMENTATION_NOTES.md +39 -0
  325. package/src/components/Toast/Toast.module.css +184 -0
  326. package/src/components/Toast/Toast.stories.tsx +67 -0
  327. package/src/components/Toast/Toast.test.tsx +1 -0
  328. package/src/components/Toast/Toast.tsx +82 -0
  329. package/src/components/Toast/USAGE.md +50 -0
  330. package/src/components/Toast/index.ts +1 -0
  331. package/src/components/Tooltip/TOOLTIP_IMPLEMENTATION_NOTES.md +85 -0
  332. package/src/components/Tooltip/Tooltip.module.css +91 -0
  333. package/src/components/Tooltip/Tooltip.stories.tsx +165 -0
  334. package/src/components/Tooltip/Tooltip.test.tsx +1 -0
  335. package/src/components/Tooltip/Tooltip.tsx +117 -0
  336. package/src/components/Tooltip/USAGE.md +80 -0
  337. package/src/components/TransferList/TRANSFERLIST_IMPLEMENTATION_NOTES.md +111 -0
  338. package/src/components/TransferList/TransferList.module.css +182 -0
  339. package/src/components/TransferList/TransferList.stories.tsx +121 -0
  340. package/src/components/TransferList/TransferList.test.tsx +1 -0
  341. package/src/components/TransferList/TransferList.tsx +419 -0
  342. package/src/components/TransferList/USAGE.md +77 -0
  343. package/src/components/Tree/IMPLEMENTATION_NOTES.md +48 -0
  344. package/src/components/Tree/Tree.module.css +232 -0
  345. package/src/components/Tree/Tree.stories.tsx +104 -0
  346. package/src/components/Tree/Tree.test.tsx +1 -0
  347. package/src/components/Tree/Tree.tsx +220 -0
  348. package/src/components/Tree/USAGE.md +96 -0
  349. package/src/components/Tree/index.ts +1 -0
  350. package/src/components/index.ts +52 -0
  351. package/src/env.d.ts +7 -0
  352. package/src/index.ts +179 -0
  353. package/src/types/index.ts +9 -0
  354. package/src/types/mantine.d.ts +7 -0
  355. package/src/types/scss-modules.d.ts +9 -0
  356. package/src/utils/ColorSchemeWrapper.tsx +27 -0
  357. package/src/utils/RequireAccessibleLabel.ts +1 -0
  358. package/src/utils/copyToClipboard.ts +36 -0
  359. package/src/utils/filterStylingProps.test.ts +85 -0
  360. package/src/utils/filterStylingProps.ts +150 -0
  361. package/src/utils/index.ts +1 -0
  362. package/src/utils/renderRichOption.tsx +65 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Border LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/OVERSTYLING.md ADDED
@@ -0,0 +1,56 @@
1
+ # Over Styling (`overStyled`)
2
+
3
+ By default, all Recursica components are strictly sandboxed. This means they are protected against arbitrary styling configurations (like passing generic React `style` objects, custom `classNames` injections, or using deep Mantine layout hooks like `bg` and `c`). This strict compile-time and run-time enforcement guarantees that your design system tokens remain true across your application.
4
+
5
+ However, there may be edge cases where a developer absolutely must modify a component beyond what the design tokens natively allow. For this, we provide the **escape hatch** property: `overStyled={true}`.
6
+
7
+ ```tsx
8
+ <Button overStyled={true} bg="pink" c="black" radius="xl">
9
+ Unsafe Pink Marketing Button
10
+ </Button>
11
+ ```
12
+
13
+ ## The Core Philosophy
14
+
15
+ **You should not over-style components.** Using `overStyled` explicitly signifies that you are breaking design system rules.
16
+
17
+ 1. **Technical Debt:** If over-styling is required, it should be treated as a short-term workaround. Ideally, the component will be refactored once the required layouts or variants are officially integrated into the core Recursica component library.
18
+ 2. **Auditing & Searching:** Because this pattern creates technical debt, we enforce the explicit `overStyled` boolean. This provides a highly auditable, easily searchable string. Product managers and engineers can quickly grep the codebase for `overStyled` (or the `RecursicaOverStyled` typings) to hunt down components that don't match standard patterns.
19
+ 3. **Highly Custom Components:** If your application genuinely requires massive custom layouts that the UI kit cannot support, **do not hack the Recursica component**. Instead, it is highly encouraged that you import the underlying primitive component directly from `@mantine/core` and construct your independent feature there. While you can utilize raw Recursica CSS variables on these custom components, note that they are not guaranteed to be accurately maintained as Recursica evolves. Keep strict components strict!
20
+
21
+ ## Permitted Layout Properties
22
+
23
+ Unlike deep styling bounds (colors, typography, padding, dimensions), external **layout spacing properties** like margins (`m`, `mt`, `mb`, `mx`) are safely **permitted by default**. This allows integrators to structurally compose components alongside siblings without breaching internal token boundaries.
24
+
25
+ When using layout properties, you have the flexibility to use either ecosystem seamlessly:
26
+
27
+ 1. **Mantine Core Values:** Passing standard Mantine sizes (like `mt="md"`) passes straight through to Mantine natively, allowing you to interface completely normally with a parent application's existing Mantine Theme setup that might fall outside Recursica's scope.
28
+ 2. **Recursica Strict Tokens:** Passing our custom prefixed tokens (like `mt="rec-md"`) signals our internal layout interceptor to securely translate the value directly to our native `recursica_brand_dimensions` CSS variables. This ensures strict design token measurements while sharing the exact same prop interface!
29
+
30
+ Available Recursica layout tokens:
31
+
32
+ - `rec-none` (0px limit)
33
+ - `rec-sm` (0.5x scaling)
34
+ - `rec-default` (1.0x scaling)
35
+ - `rec-md` (1.5x scaling)
36
+ - `rec-lg` (2.0x scaling)
37
+ - `rec-xl` (3.0x scaling)
38
+ - `rec-2xl` (4.0x scaling)
39
+
40
+ ## Primitive Layout Components Exemption
41
+
42
+ Unlike complex UI components (Buttons, Tabs, Inputs) which are strictly protected, **Primitive Layout Components** (`Flex`, `Stack`, `Group`, `Container`, `Grid`) are entirely exempt from the `RecursicaOverStyled` gatekeeper.
43
+
44
+ Because the entire functional purpose of these components is structural layout composition, developers are free to pass any standard Mantine width, height, padding, margin, gap, and alignment property directly to them without needing to flag `overStyled={true}`. The internal custom token mapper (such as converting `gap="rec-md"`) is still active natively on these wrappers.
45
+
46
+ ## Visual Auditing & Highlights (Development Only)
47
+
48
+ To make it easy to spot technical debt and design system violations, Recursica automatically tracks any component that uses the `overStyled={true}` prop.
49
+
50
+ In **development builds**, you can highlight all over-styled components on the page. Open your browser's developer console and run:
51
+
52
+ ```js
53
+ recursica.toggleOverStyled();
54
+ ```
55
+
56
+ This toggles a **cyan 2px box shadow** outline around the children of all over-styled components. The wrapping elements use `display: contents` under the hood to ensure they occupy zero DOM space and do not affect flex, grid, or absolute positioning flow. In production builds, this debugging helper is completely disabled and stripped with zero performance overhead.
package/README.md ADDED
@@ -0,0 +1,70 @@
1
+ # @recursica/adapter-mantine-v8
2
+
3
+ A modern React component library built with TypeScript and **Mantine 8**. This package serves as the core UI kit for Recursica applications, providing reusable UI components, centralized theme configurations, and a comprehensive Storybook environment for development.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @recursica/adapter-mantine-v8
9
+ # or
10
+ yarn add @recursica/adapter-mantine-v8
11
+ # or
12
+ pnpm add @recursica/adapter-mantine-v8
13
+ ```
14
+
15
+ ## Peer Dependencies
16
+
17
+ This library requires the following peer dependencies to be installed in your project:
18
+
19
+ ```bash
20
+ npm install @mantine/core@>=8.0.0 @mantine/dates@>=8.0.0 @mantine/hooks@>=8.0.0 react@>=16.8.0 react-dom@>=16.8.0
21
+ ```
22
+
23
+ **Important**: Make sure you have these exact versions or higher installed, as the components rely on Mantine 8+ features and React 16.8+ hooks.
24
+
25
+ ## Philosophy
26
+
27
+ Please read [PHILOSOPHY.md](./docs/PHILOSOPHY.md) to understand the core principles of the adapter.
28
+
29
+ ## Developer & AI Guidelines
30
+
31
+ This repository provides dedicated routing documents for both human developers and AI Agents to ensure strict adherence to our design system constraints. These are contributor-facing docs that live in the [recursica monorepo](https://github.com/borderux/recursica) rather than in this published package, so they're linked here as GitHub URLs rather than relative paths.
32
+
33
+ - **For Human Developers:** This `README.md` acts as your primary routing document. If you are integrating this library into an application, please read [USAGE.md](./USAGE.md) (published alongside this README). If you are building or modifying components inside this library, please read [CONTRIBUTING.md](https://github.com/borderux/recursica/blob/main/packages/adapter-mantine-v8/CONTRIBUTING.md).
34
+ - **For AI Agents:** All AI Agents operating in the monorepo must start by reading [AGENT.md](https://github.com/borderux/recursica/blob/main/packages/adapter-mantine-v8/AGENT.md), which serves as the primary routing document for AI workflows.
35
+
36
+ ## Development and Architecture
37
+
38
+ This project is built using:
39
+
40
+ - **Vite (Library Mode)**: For fast builds, producing optimized ES and CJS modules.
41
+ - **Mantine 8**: Base components, hooks, and native standard styling architecture.
42
+ - **Storybook**: Used heavily for interactive component development, documentation, and prototyping.
43
+
44
+ > **Note:** We relying completely on Mantine's built-in CSS styling and Vite's native CSS/CSS Modules capabilities. No complex CSS-in-JS overhead!
45
+
46
+ ## Storybook Documentation
47
+
48
+ This library includes Storybook for all components. You can:
49
+
50
+ - **View live examples** of components.
51
+ - **Test component interactions** and accessibility.
52
+ - **Explore UI tokens** and layout utilities.
53
+
54
+ ### Accessing Storybook Locally
55
+
56
+ If you're contributing or developing locally, clone the repository and run:
57
+
58
+ ```bash
59
+ npm run storybook
60
+ ```
61
+
62
+ This will spin up a local server (typically at `http://localhost:6006`) with a hot-reloading environment for component prototyping.
63
+
64
+ ## TypeScript Support
65
+
66
+ All newly built components will include full TypeScript support with comprehensive prop types exported.
67
+
68
+ ## License
69
+
70
+ This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
package/SETUP.md ADDED
@@ -0,0 +1,93 @@
1
+ # Installing `@recursica/adapter-mantine-v8`
2
+
3
+ Follow these instructions to install and configure the Mantine Adapter in your host project.
4
+
5
+ ## 1. Install Dependencies
6
+
7
+ First, install the Recursica Mantine Adapter package:
8
+
9
+ ```bash
10
+ npm install @recursica/adapter-mantine-v8
11
+ ```
12
+
13
+ ### Peer Dependencies
14
+
15
+ This library requires the following peer dependencies. Ensure they are installed in your project:
16
+
17
+ ```bash
18
+ npm install @mantine/core@>=8.0.0 @mantine/dates@>=8.0.0 @mantine/hooks@>=8.0.0 react@>=16.8.0 react-dom@>=16.8.0
19
+ ```
20
+
21
+ ---
22
+
23
+ ## 2. Setup and Integration
24
+
25
+ Before consuming Recursica components, integrate the CSS and design tokens into your application:
26
+
27
+ 1. **Integrate CSS**: Import `recursica_variables_scoped.css` and the Mantine adapter CSS `adapter-mantine-v8.css` into your application entrypoint (e.g., `main.tsx` or `App.tsx`). **It must be loaded after the Mantine CSS imports.**
28
+
29
+ ```tsx
30
+ import "@mantine/core/styles.css"; // Mantine core styles
31
+ import "./path/to/recursica_variables_scoped.css"; // Recursica theme variables
32
+ import "@recursica/adapter-mantine-v8/style.css"; // Mantine adapter styles
33
+ ```
34
+
35
+ 2. **Integrate Google Fonts**: Integrating custom fonts depends on how you load fonts in your project and which fonts are specified in your `recursica_variables_scoped.css` (since it is project-dependent). We suggest loading them via Google Fonts, as shown in this example:
36
+
37
+ ```css
38
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
39
+ ```
40
+
41
+ 3. **Wrap App in RecursicaThemeProvider**: You must wrap your application in the `<RecursicaThemeProvider>` to correctly cascade design token properties. By default it also wraps its children in a `<Layer layer={0}>` (via the `initLayer0` prop, which defaults to `true`), so the base page surface/border/elevation variables resolve automatically with no extra setup:
42
+
43
+ ```tsx
44
+ import { MantineProvider } from "@mantine/core";
45
+ import { RecursicaThemeProvider } from "@recursica/adapter-mantine-v8";
46
+
47
+ function App() {
48
+ return (
49
+ <MantineProvider>
50
+ <RecursicaThemeProvider theme="light">
51
+ {/* Your App Components */}
52
+ </RecursicaThemeProvider>
53
+ </MantineProvider>
54
+ );
55
+ }
56
+ ```
57
+
58
+ 4. **Configure PostCSS Plugin (Optional but Recommended)**: It is highly recommended (but optional) to install the `@recursica/recursica-postcss-vars` plugin to verify that Recursica CSS variables are properly connected in case they change.
59
+
60
+ Install the plugin as a dev dependency:
61
+
62
+ ```bash
63
+ npm install @recursica/recursica-postcss-vars --save-dev
64
+ ```
65
+
66
+ Then, configure it in your `postcss.config.js`:
67
+
68
+ ```javascript
69
+ export default {
70
+ plugins: {
71
+ "@recursica/recursica-postcss-vars": {
72
+ cssPath: "./path/to/recursica_variables_scoped.css",
73
+ strict: process.env.NODE_ENV === "production",
74
+ },
75
+ },
76
+ };
77
+ ```
78
+
79
+ 5. **Configure ESLint Plugin (Optional but Recommended)**: It is highly recommended (but optional) to install `eslint-plugin-recursica`, which flags use of the `overStyled` escape-hatch prop so it stays easy to audit.
80
+
81
+ Install the plugin as a dev dependency:
82
+
83
+ ```bash
84
+ npm install eslint-plugin-recursica --save-dev
85
+ ```
86
+
87
+ Then, add it to your `eslint.config.js`:
88
+
89
+ ```javascript
90
+ import recursica from "eslint-plugin-recursica";
91
+
92
+ export default [recursica.configs.recommended];
93
+ ```
package/USAGE.md ADDED
@@ -0,0 +1,57 @@
1
+ # Mantine Adapter Usage Guide
2
+
3
+ This guide outlines how human developers and AI agents should consume the `adapter-mantine-v8` library when building applications.
4
+
5
+ ## 1. Setup and Integration
6
+
7
+ Before consuming the components, the application must be properly integrated with Recursica design tokens. Please refer to [SETUP.md](SETUP.md) for full installation and integration instructions.
8
+
9
+ > [!IMPORTANT]
10
+ > If you are an AI agent, you must verify that all setup and integration steps described in [SETUP.md](SETUP.md) are fully followed before attempting to use or customize Recursica components in the application.
11
+
12
+ ## 2. Importing Components
13
+
14
+ All UI components should be imported directly from the `adapter-mantine-v8`.
15
+
16
+ ```tsx
17
+ import { Button, Stack, Container } from "@recursica/adapter-mantine-v8";
18
+ ```
19
+
20
+ **Rule:** Do NOT import components directly from `@mantine/core` unless a specific exception has been documented (e.g. `Alert`, which has no planned Recursica equivalent). If you need a standard component, always check the adapter first.
21
+ **Rule** Try to use only Recursica components as much as possible.
22
+
23
+ ## 3. Passing Design Tokens & Layout Constraints
24
+
25
+ Our components strictly separate logical structural layouts from visual design tokens.
26
+
27
+ - **DO NOT** try to inject arbitrary styling objects, generic padding/margin properties (`p`, `bg`, `fw`), or custom `classNames` directly into component JSX. The components use `filterStylingProps` to actively strip these out.
28
+ - **DO** use the defined logical layout properties (like `gap`, `margin`, `mt`, etc.).
29
+ - When passing sizes to layout wrappers (like `Stack`, `Flex`, `Group`, `Container`), use the `rec-` prefixed sizes explicitly mapped in the library (e.g., `"rec-sm"`, `"rec-default"`, `"rec-md"`, `"rec-lg"`, `"rec-xl"`).
30
+ - **DO NOT** try to pass in styling prop names like styled or className. No external styling should be applied unless absolutely necessary. You must use the `overStyled` prop in order to apply external stylings
31
+ - **DO NOT** directly access Recursica CSS styles, CSS variables, or JSON token definitions to use in your own styling. These are not considered stable and will change between releases.
32
+
33
+ ## 4. The `overStyled` Escape Hatch
34
+
35
+ If you encounter an absolute necessity to break out of the design system (e.g., a highly custom one-off hero section where a button needs an arbitrary height and custom background), you must pass `overStyled={true}`.
36
+
37
+ ```tsx
38
+ <Button overStyled={true} bg="red" h={120}>
39
+ Custom Button
40
+ </Button>
41
+ ```
42
+
43
+ **Warning:** Using `overStyled` should be treated as technical debt. If you find yourself repeatedly needing it for a specific variant, you should instead switch context and **contribute** that variant natively into the `adapter-mantine-v8`.
44
+
45
+ See [OVERSTYLING.md](OVERSTYLING.md) for the full philosophy behind this escape hatch, which layout properties are permitted by default, and how to visually audit over-styled components in development builds.
46
+
47
+ ## 5. Fallback Behavior for Missing Components
48
+
49
+ If the adapter does not yet implement a required component, the preferred approach is to pause integration, navigate into the `adapter-mantine-v8` package, and natively build the missing wrapper component following the `CONTRIBUTING.md` guidelines. If this is not possible, then utilize the underlying Mantine components directly using the project's preferred styling approach (check setup instructions for details in the project).
50
+
51
+ ## 6. Managing CSS Changes with PostCSS Plugin
52
+
53
+ When the `recursica-postcss-plugin` is incorporated into your build process, it helps maintain sync between your application and the Recursica design system.
54
+
55
+ - **Missing Variables**: If Recursica CSS variables are used in the application but cannot be found in `recursica_variables_scoped.css`, the plugin will throw **warnings during development** and **errors during production builds**. This typically means that tokens in the design system have been renamed or deleted.
56
+ - **Resolution**: When these errors occur, the developer (or AI agent) must locate the issue and reconnect the broken styling to the correct (new) CSS variables found in the updated `recursica_variables_scoped.css`. While this cannot be done automatically, the semantic naming of Recursica variables makes it relatively easy to infer intent and find the proper replacement.
57
+ - **New Variables**: Whenever a new version of the scoped CSS is imported, you should review if any new CSS variables have been added to the design system. If so, review these new tokens and consider integrating them into the associated components where appropriate.
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),i=require("react"),u=require("@mantine/core"),Go=require("@mantine/dates"),jr=require("@mantine/hooks");var Fo=typeof document<"u"?document.currentScript:null;const Rr="_root_1qhn7_3",Or="_contents_1qhn7_18",io={root:Rr,contents:Or},qo=i.forwardRef(function({layer:s,contentsOnly:e,children:n,className:t,style:r,...a},l){const c=e?t?`${io.root} ${io.contents} ${t}`:`${io.root} ${io.contents}`:t?`${io.root} ${t}`:io.root;return o.jsx("div",{ref:l,className:c,style:r,...e?{}:{"data-recursica-layer":String(s)},...a,children:n})});qo.displayName="Layer";const bo=({emptyText:s="N/A"})=>o.jsx(i.Fragment,{children:s});bo.displayName="EmptyValueRenderer";bo.check=s=>s==null||s===""||Array.isArray(s)&&s.length===0;const kr={BASE_URL:"/",DEV:!1,MODE:"library",PROD:!0,SSR:!1,VITE_PLUGIN_MODE:"production",VITE_PLUGIN_PHRASE:"recursica_plugin_@K9mX7pQw2VbN8fRt3LzY6HjE4CuA5DsG1WvM9nP0XcB7",VITE_PLUGIN_PHRASE_TEST:"recursica_plugin_@19866374",VITE_RECURSICA_API_TEST:"https://dev-api.recursica.com",VITE_RECURSICA_API_URL:"https://api.recursica.com",VITE_RECURSICA_UI_URL:"https://api.recursica.com"},Oe=(()=>{try{if(typeof process<"u"&&process.env&&process.env.NODE_ENV)return process.env.NODE_ENV!=="production"}catch{}try{if({url:typeof document>"u"?require("url").pathToFileURL(__filename).href:Fo&&Fo.tagName.toUpperCase()==="SCRIPT"&&Fo.src||new URL("adapter-mantine-v8.cjs",document.baseURI).href}&&kr)return!0}catch{}if(typeof window<"u"){const s=window.location.hostname;return s==="localhost"||s==="127.0.0.1"||s.endsWith(".local")}return!1})(),Vo=new Set;let Je=!1;function St(s){if(!Oe)return console.warn("[Recursica] overStyled highlight is disabled in production builds."),!1;if(Je=s!==void 0?s:!Je,typeof document<"u"){const e=document.documentElement,n=Je?"0 0 0 2px cyan":"none";e.style.setProperty("--recursica-over-styled-shadow",n),console.log(`[Recursica] Highlight outlines toggled: ${Je?"ACTIVE (0 0 0 2px cyan)":"INACTIVE"}`)}else console.warn("[Recursica] document is undefined. Cannot set CSS property.");return Vo.forEach(e=>e()),Je}function Ir(){return Oe&&Je}function $t(){const[s,e]=i.useState(Je);return i.useEffect(()=>{if(!Oe)return;Ko(),Yo();const n=()=>e(Je);return Vo.add(n),()=>{Vo.delete(n)}},[]),Oe&&s}function Ko(){if(!Oe)return;if(typeof document>"u"){console.warn("[Recursica] document is undefined. Cannot inject overStyled styles.");return}const s="recursica-over-styled-styles";let e=document.getElementById(s);e||(e=document.createElement("style"),e.id=s,e.textContent=`
2
+ :root {
3
+ --recursica-over-styled-shadow: none;
4
+ }
5
+ .recursica-over-styled {
6
+ display: contents !important;
7
+ }
8
+ .recursica-over-styled > * {
9
+ box-shadow: var(--recursica-over-styled-shadow) !important;
10
+ }
11
+ `,document.head.appendChild(e))}function Yo(){if(!Oe)return;if(typeof window>"u"){console.warn("[Recursica] window is undefined. Cannot register console command.");return}const s=e=>{try{e.recursica=e.recursica||{},e.recursica.toggleOverStyled=()=>`[Recursica] Overstyled outline highlight is now: ${St()?"ON (cyan 2px box shadow)":"OFF"}`}catch{}};s(window),window.parent&&window.parent!==window&&s(window.parent)}function jt(s){const e=i.Children.toArray(s),n=e.length-1;return e.map((t,r)=>{if(r!==n||!i.isValidElement(t))return t;const a=t.props,l=a.href!==void 0||a.onClick!==void 0;return Oe&&l&&console.warn(`[Breadcrumb] The last item represents the current page and should be plain, non-interactive text (e.g. a <span>), not a link. Breadcrumb stripped its href/onClick and added aria-current="page", but this can't stop a custom Link component (e.g. a router Link) that navigates from its own internal handler rather than these props.`),i.cloneElement(t,{"aria-current":"page",...l?{href:void 0,onClick:void 0,tabIndex:-1}:{}})})}const vt="data-recursica-theme";function Lr({children:s,theme:e="light",initLayer0:n=!0}){return i.useEffect(()=>{const t=document.documentElement;return t.setAttribute(vt,e),()=>{t.removeAttribute(vt)}},[e]),i.useEffect(()=>{Ko(),Yo()},[]),n?o.jsx(qo,{layer:0,children:s}):o.jsx(o.Fragment,{children:s})}const Mr=["Accordion","AssistiveElement","Autocomplete","Avatar","Badge","Box","Breadcrumb","Button","Card","Checkbox","CheckboxGroup","Chip","Container","DatePicker","Dropdown","EmptyValueRenderer","FileInput","FileUpload","Flex","FormControlLayout","FormControlWrapper","Grid","Group","Heading","HoverCard","Label","Layer","Link","Loader","Menu","Modal","NumberInput","Pagination","Panel","Popover","Radio","ReadOnlyField","SegmentedControl","Slider","Stack","Stepper","Switch","Table","Tabs","Text","TextArea","TextField","TimePicker","Timeline","Toast","Tooltip","TransferList","Tree","Typography"],Ar=(s,e)=>{const n=document.activeElement;return new Promise((t,r)=>{if(e&&e.current){const a=document.createElement("textarea");a.readOnly=!0,a.defaultValue=s,e.current.appendChild(a),a.select();const l=document.execCommand("copy");e.current.removeChild(a),n&&n.focus(),l?t():r(new Error("Failed to copy"))}else r(new Error("Copy area reference is not defined"))})};function Zo(s,e){const n=(e??"").split(",").map(a=>a.trim().toLowerCase()).filter(Boolean);if(n.length===0)return!0;const t=s.name.toLowerCase(),r=s.type.toLowerCase();return n.some(a=>a.startsWith(".")?t.endsWith(a):a.endsWith("/*")?r.startsWith(a.slice(0,-1)):r===a)}function D(s,e){if(!e)return s;const n={...s},t=new Set([...Object.keys(s),...Object.keys(e)]);for(const r of t){const a=s[r],l=e[r];n[r]=[a,l].filter(Boolean).join(" ")||void 0}return n}function Rt(s,e){if(!e)return s;const n={...s},t=new Set([...Object.keys(s),...Object.keys(e)]);for(const r of t){const a=s[r],l=e[r];n[r]=a||l?{...a,...l}:void 0}return n}function Xo(s){return s==null?void 0:s.map(e=>typeof e=="string"?e:{...e,label:e.label??e.value})}function U(s,e){const n={...s};for(const t of e)t in n&&delete n[t];return n}function ce(s,e){return e!==void 0?e:s}const Wr=Symbol.for("react.forward_ref"),zr=Symbol.for("react.memo");function Ot(s){return s?s.prototype&&s.prototype.isReactComponent||s.$$typeof===Wr?!0:s.$$typeof===zr?Ot(s.type):!1:!1}function I(s){if(!Oe||typeof s!="function"&&!(s&&s.$$typeof))return s;const e=Ot(s),n=s.displayName||s.name||"Component",t=i.forwardRef((a,l)=>{const{overStyled:c}=a,d=$t();Oe&&l&&!e&&console.warn(`[wrapComponent] "${n}" does not support refs (not a class component or forwardRef) — the ref passed to it was dropped instead of forcing React's "function components cannot be given refs" warning.`);const p=e?{...a,ref:l}:a,_=i.createElement(s,p);return c&&d?o.jsx("div",{className:"recursica-over-styled",children:_}):_});t.displayName=s.displayName||s.name||"Component";const r=Object.keys(s);for(const a of r){if(a==="render"||a==="$$typeof")continue;const l=s[a];(typeof l=="function"||l&&l.$$typeof)&&a[0]===a[0].toUpperCase()?t[a]=I(l):t[a]=l}return t}const Dr=["className","classNames","style","styles","vars","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","bd","bdw","bds","bdc","bdr","shadow","w","miw","maw","h","mih","mah"],kt=new Set(["m","my","mx","mt","mb","ml","mr","gap","rowGap","columnGap","gutter","top","left","bottom","right"]),ko={"rec-none":"var(--recursica_brand_dimensions_general_none)","rec-sm":"var(--recursica_brand_dimensions_general_sm)","rec-default":"var(--recursica_brand_dimensions_general_default)","rec-md":"var(--recursica_brand_dimensions_general_md)","rec-lg":"var(--recursica_brand_dimensions_general_lg)","rec-xl":"var(--recursica_brand_dimensions_general_xl)","rec-2xl":"var(--recursica_brand_dimensions_general_2xl)"};function go(s){const e={...s};for(const[n,t]of Object.entries(e))typeof t=="string"&&t.startsWith("rec-")&&kt.has(n)&&t in ko&&(e[n]=ko[t]);return e}function m(s,e){if(e)return s;const n={...s};for(const t of Dr)t in n&&delete n[t];for(const[t,r]of Object.entries(n))typeof r=="string"&&r.startsWith("rec-")&&kt.has(t)&&r in ko&&(n[t]=ko[r]);return n}const Er="Accordion-module__root___Dem6d",Fr="Accordion-module__item___7ryVk",Br="Accordion-module__noDivider___Ni2tT",Ur="Accordion-module__control___b4wgX",Gr="Accordion-module__label___Ss7uW",Vr="Accordion-module__icon___xfHxX",Hr="Accordion-module__chevron___i-HVZ",qr="Accordion-module__iconLeftWrapper___5oLen",Kr="Accordion-module__panel___Wx50w",Yr="Accordion-module__content___PEM9t",$e={root:Er,item:Fr,noDivider:Br,control:Ur,label:Gr,icon:Vr,chevron:Hr,iconLeftWrapper:qr,panel:Kr,content:Yr},xt={default:"unstyled"},It=function({variant:e="default",overStyled:n=!1,...t}){const r=typeof e=="string"&&xt[e]?xt[e]:e,a=m(t,n),l=a,c=D({root:$e.root,item:$e.item,control:$e.control,label:$e.label,chevron:$e.chevron,icon:$e.icon,panel:$e.panel,content:$e.content},l.classNames),d=l.className;return o.jsx(u.Accordion,{...a,variant:r,className:d,classNames:c})};It.displayName="Accordion";const Qo=i.forwardRef(function({title:e,leftIcon:n,divider:t=!0,children:r,disabled:a=!1,overStyled:l=!1,...c},d){const p=m(c,l),_=p.className,f=[t?void 0:$e.noDivider,_].filter(Boolean).join(" ")||void 0;return o.jsx(u.Accordion.Item,{ref:d,...p,className:f,"data-disabled":a||void 0,children:e?o.jsxs(o.Fragment,{children:[o.jsx(Mo,{leftIcon:n,disabled:a,children:e}),o.jsx(Ao,{children:r})]}):r})});Qo.displayName="AccordionItem";const Zr=["icon"],Mo=i.forwardRef(function({leftIcon:e,children:n,overStyled:t=!1,...r},a){const l=U(m(r,t),Zr),c=l.className;return o.jsx(u.Accordion.Control,{ref:a,...l,className:c,icon:e?o.jsx("span",{className:$e.iconLeftWrapper,"aria-hidden":!0,children:e}):void 0,children:n})});Mo.displayName="AccordionControl";const Ao=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className;return o.jsx(u.Accordion.Panel,{ref:t,...r,className:a})});Ao.displayName="AccordionPanel";const Wo=It;Wo.Item=Qo;Wo.Control=Mo;Wo.Panel=Ao;const Xr="AssistiveElement-module__root___WhQ43",Qr="AssistiveElement-module__textWrapper___sfy5E",Jr="AssistiveElement-module__iconWrapper___gObRF",Bo={root:Xr,textWrapper:Qr,iconWrapper:Jr},es=()=>o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"12",r:"10"}),o.jsx("path",{d:"M12 16v-4"}),o.jsx("path",{d:"M12 8h.01"})]}),os=()=>o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),o.jsx("path",{d:"M12 9v4"}),o.jsx("path",{d:"M12 17h.01"})]}),Io=i.forwardRef(function({assistiveVariant:e="help",assistiveWithIcon:n=!0,children:t,className:r,role:a,overStyled:l=!1,...c},d){const _=m(c,l),f=Bo.root,N=r?`${f} ${r}`:f,h=e==="error"?os:es,b=a??(e==="error"?"alert":void 0);return o.jsxs("div",{ref:d,..._,className:N,"data-variant":e,role:b,style:_.style,children:[n&&o.jsx("span",{className:Bo.iconWrapper,children:o.jsx(h,{})}),o.jsx("span",{className:Bo.textWrapper,children:t})]})});Io.displayName="AssistiveElement";const ts="Label-module__root___e6HXZ",ns="Label-module__labelText___rieFR",rs="Label-module__required___Ggrzc",ss="Label-module__optionalText___Y2yun",as="Label-module__actionAreaWrapper___ELoZK",ls="Label-module__editIconWrapper___NG2xW",Ke={root:ts,labelText:ns,required:rs,optionalText:ss,actionAreaWrapper:as,editIconWrapper:ls},Jo=i.forwardRef(function({labelSize:e="default",labelAlignment:n,required:t=!1,labelOptionalText:r,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:c,children:d,overStyled:p=!1,..._},f){const N=n||"left";let h;t||(r===!0?h="optional":r&&(h=r));const b=["size"],x=U(m(_,p),b),$=x,C=D({label:Ke.root,required:Ke.required},$.classNames),w=$.className,S=w?`${Ke.root} ${w}`:Ke.root;return o.jsxs(u.Input.Label,{ref:f,...x,className:S,classNames:C,"data-size":e,"data-alignment":N,required:t&&!a,children:[o.jsx("span",{className:Ke.labelText,children:d}),h&&o.jsx("span",{className:Ke.optionalText,children:typeof h=="string"?`(${h})`:h}),l?o.jsx("span",{className:Ke.actionAreaWrapper,children:l}):a?o.jsx("button",{type:"button",className:Ke.editIconWrapper,"data-replaces-asterisk":t?"true":void 0,onClick:c,"aria-label":"Edit",children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})}):null]})});Jo.displayName="Label";const is="FormControlLayout-module__root___yNDhZ",cs="FormControlLayout-module__leftSection___GBM1r",ds="FormControlLayout-module__rightSection___bcL4v",So={root:is,leftSection:cs,rightSection:ds},De=i.forwardRef(function({formLayout:e="stacked",labelSize:n="default",controlMaxWidth:t,controlMinWidth:r,leftSection:a,children:l,className:c,style:d,...p},_){const f=c?`${So.root} ${c}`:So.root,h=a!=null||e==="side-by-side";return o.jsxs("div",{ref:_,className:f,"data-form-layout":e,style:{...d,...t?{"--form-control-max-width":t}:{},...r?{"--form-control-min-width":r}:{}},...p,children:[h&&o.jsx("div",{className:So.leftSection,"data-size":n,children:a}),o.jsx("div",{className:So.rightSection,children:l})]})});De.displayName="FormControlLayout";const us="FormControlWrapper-module__root___c-UHo",ps="FormControlWrapper-module__inputSection___HenXk",bt={root:us,inputSection:ps},uo=i.forwardRef(function({formLayout:e,labelSize:n,labelAlignment:t,labelOptionalText:r,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:c,label:d,description:p,assistiveText:_,assistiveWithIcon:f=!0,controlMaxWidth:N,controlMinWidth:h,error:b,required:x,withAsterisk:$,id:C,children:w,className:S,overStyled:g=!1,labelElement:P,...y},T){const v=i.useId(),R=C||`recursica-fc-${v}`,M=`${R}-label`,E=_||p,W=E?`${R}-assistive`:void 0,L=b?`${R}-error`:void 0,H=m(y,g),q=S||H.className,X=bt.root,V=q?`${X} ${q}`:X,Y=i.isValidElement(w)?i.cloneElement(w,{...w.props.id?{}:{id:R},"aria-labelledby":M,...E&&!w.props["aria-describedby"]?{"aria-describedby":W}:{},...b&&!w.props["aria-errormessage"]?{"aria-errormessage":L}:{}}):w,J=d?o.jsx(Jo,{id:M,htmlFor:R,labelAlignment:t,labelOptionalText:r,labelWithEditIcon:a,labelActionArea:l,onLabelEditClick:c,required:$??x,...P==="div"?{as:"div"}:{},children:d}):void 0;return o.jsx(De,{ref:T,className:V,formLayout:e,labelSize:n,controlMaxWidth:N,controlMinWidth:h,leftSection:J,...H,children:o.jsxs("div",{className:bt.inputSection,children:[Y,b&&o.jsx(Io,{id:L,assistiveVariant:"error",assistiveWithIcon:f,children:b}),!b&&E&&o.jsx(Io,{id:W,assistiveVariant:"help",assistiveWithIcon:f,children:E})]})})});uo.displayName="FormControlWrapper";const ms="ReadOnlyField-module__layoutOverride___9fSsG",_s="ReadOnlyField-module__textField___qKn25",Lo={layoutOverride:ms,textField:_s},Oo=({value:s,overStyled:e=!1,...n})=>{const t=m(n,e),r=t.className;return o.jsx(u.Box,{component:"p",...t,className:r?`${Lo.textField} ${r}`:Lo.textField,children:s!=null?i.isValidElement(s)?s:Array.isArray(s)?s.join(", "):String(s):""})};Oo.displayName="ReadOnlyTextField";const et=i.forwardRef(function({value:e,type:n="text",emptyValueComponent:t,overStyled:r=!1,className:a,style:l,...c},d){let p=null;const _=m(c,r),f=t||bo,h=(f.check?f.check(e):bo.check(e))?o.jsx(f,{value:e}):e;switch(n){case"boolean":p=o.jsx(Oo,{value:e===!0?"True":e===!1?"False":h,overStyled:r});break;case"switch":p=o.jsx(Oo,{value:e===!0?"On":e===!1?"Off":h,overStyled:r});break;case"text":default:p=o.jsx(Oo,{value:h,overStyled:r});break}const b=a?`${Lo.layoutOverride} ${a}`:Lo.layoutOverride;return o.jsx(uo,{ref:d,..._,overStyled:r,className:b,style:l,children:p})});et.displayName="ReadOnlyField";const fe=i.forwardRef(function({readOnly:e,readOnlyComponent:n,readOnlyType:t="text",readOnlyValue:r,readOnlyNativeProps:a,emptyValueComponent:l,activeComponent:c,overStyled:d,onLabelEditClick:p,..._},f){if(e){if(n){const N=n;return o.jsx(uo,{ref:f,..._,onLabelEditClick:p,overStyled:d,children:o.jsx(N,{...a})})}return o.jsx(et,{ref:f,..._,type:t,value:r,emptyValueComponent:l,onLabelEditClick:p,overStyled:d})}return o.jsx(uo,{ref:f,..._,onLabelEditClick:p,overStyled:d,children:c})});fe.displayName="WithReadOnlyWrapper";function Lt({option:s},e,n=!1){const{label:t,leadingIcon:r,supportingText:a}=s,l=t??s.value;if(!r&&!a)return l;const c=n?`${e.optionText} ${e.optionTextWrap}`:e.optionText;return o.jsxs("span",{className:e.optionContent,children:[r&&o.jsx("span",{className:e.optionIcon,children:r}),o.jsxs("span",{className:c,children:[o.jsx("span",{children:l}),a&&o.jsx("span",{className:e.optionSupportingText,children:a})]})]})}const fs="AutoComplete-module__layoutOverride___-K9WL",ys="AutoComplete-module__root___kANza",hs="AutoComplete-module__input___g51MC",vs="AutoComplete-module__section___WAbf1",xs="AutoComplete-module__dropdown___NqO3E",bs="AutoComplete-module__option___Y-Kja",Ns="AutoComplete-module__optionContent___UAkUA",Cs="AutoComplete-module__optionIcon___tbbmW",Ps="AutoComplete-module__optionText___aQwHF",gs="AutoComplete-module__optionTextWrap___RFICS",ws="AutoComplete-module__optionSupportingText___OoA1N",ve={layoutOverride:fs,root:ys,input:hs,section:vs,dropdown:xs,option:bs,optionContent:Ns,optionIcon:Cs,optionText:Ps,optionTextWrap:gs,optionSupportingText:ws},Ts=["size","variant","radius"],Mt=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,className:C,style:w,disabled:S,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,value:T,defaultValue:v,data:R,renderOption:M,wrapItemText:E=!1,...W}=e,L=U(m(W,t),Ts),K=L,H=Xo(R),q=D({wrapper:ve.root,input:ve.input,section:ve.section,dropdown:ve.dropdown,option:ve.option},K.classNames),X={optionContent:ve.optionContent,optionIcon:ve.optionIcon,optionText:ve.optionText,optionTextWrap:ve.optionTextWrap,optionSupportingText:ve.optionSupportingText},V=C?`${ve.layoutOverride} ${C}`:ve.layoutOverride;return o.jsx(fe,{className:V,style:w,controlMaxWidth:"var(--autocomplete-control-max-width)",controlMinWidth:"var(--autocomplete-control-min-width)",overStyled:t,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:T!==void 0?T:v,readOnlyNativeProps:e,activeComponent:o.jsx(u.Autocomplete,{ref:n,...L,classNames:q,disabled:S,value:T,defaultValue:v,error:!!h,data:H,renderOption:M??(Y=>Lt(Y,X,E))})})});Mt.displayName="AutoComplete";const Ss="Avatar-module__root___fXu-J",$s="Avatar-module__iconWrapper___ojly2",js="Avatar-module__textWrapper___zp-jD",Rs="Avatar-module__image___ieqGp",Os="Avatar-module__placeholder___IDW7-",po={root:Ss,iconWrapper:$s,textWrapper:js,image:Rs,placeholder:Os},At=i.forwardRef(function({size:e="default",variant:n="solid",icon:t,children:r,src:a,overStyled:l=!1,...c},d){const p={solid:"filled",outline:"outline",ghost:"transparent"},_={default:"md",small:"sm",large:"lg"},f=["color","radius"],N=U(m(c,l),f),h=N;let b="text";a?b="image":t&&(b="icon");const x=D({root:po.root,image:po.image,placeholder:po.placeholder},h.classNames),$=h.className;return o.jsx(u.Avatar,{ref:d,...N,className:$,classNames:x,variant:p[n],size:_[e],src:a,"data-variant":n,"data-size":e,"data-style":b,children:t!=null?o.jsx("span",{className:po.iconWrapper,"aria-hidden":!0,children:t}):r!=null?o.jsx("span",{className:po.textWrapper,children:r}):void 0})});At.displayName="Avatar";const ks=u.createPolymorphicComponent(At),Is="Badge-module__root___5osNT",mo={root:Is},Wt=i.forwardRef(function({variant:e="primary-color",overStyled:n=!1,...t},r){const a=m(t,n),l=D({root:mo.root,section:mo.section,label:mo.label},a.classNames),c=a.className,d=c?`${mo.root} ${c}`:mo.root;return o.jsx(u.Badge,{ref:r,...a,variant:"filled","data-variant":e,className:d,classNames:l})});Wt.displayName="Badge";const zt=u.createPolymorphicComponent(Wt),Ls="Breadcrumb-module__root___x-9ln",Ms="Breadcrumb-module__separator___qrUX-",$o={root:Ls,separator:Ms},Dt=i.forwardRef(function({overStyled:e=!1,separator:n=">",children:t,...r},a){const l=m({separator:n,children:jt(t),...r},e),c=D({root:$o.root,separator:$o.separator},l.classNames),d=l.attributes,p={...d,separator:{"aria-hidden":!0,...d==null?void 0:d.separator}},_=l.className,f=_?`${$o.root} ${_}`:$o.root;return o.jsx(u.Breadcrumbs,{ref:a,...l,className:f,classNames:c,attributes:p})});Dt.displayName="Breadcrumb";const As="Loader-module__root___6iYOP",Uo={root:As},ot=i.forwardRef(function({variant:e="oval",size:n="default",animate:t=!0,overStyled:r=!1,...a},l){const d={sm:"small",md:"default",lg:"large",small:"small",default:"default",large:"large"}[n]||"default",p=m(a,r),_=p,f=D({root:Uo.root},_.classNames),N=_.className,h=N?`${Uo.root} ${N}`:Uo.root;return o.jsx(u.Loader,{ref:l,...p,type:e,"data-variant":e,"data-size":d,"data-animate":t,className:h,classNames:f})});ot.displayName="Loader";const Ws="Button-module__root___Q2R8-",zs="Button-module__loader___X-9u-",Ds="Button-module__label___UJ3Zt",Es="Button-module__labelText___rFV5p",Fs="Button-module__iconWrapper___uEKPa",Bs="Button-module__section___f2mKr",Ye={root:Ws,loader:zs,label:Ds,labelText:Es,iconWrapper:Fs,section:Bs};function Us(s){return s==null||s===""?!1:typeof s=="string"?s.trim()!=="":!0}const Et=i.forwardRef(function({variant:e="solid",size:n="default",icon:t,children:r,overStyled:a=!1,loaderVariant:l="oval",loaderSize:c,useRecursicaLoader:d=!0,...p},_){const f={solid:"filled",outline:"outline",text:"subtle"},N={default:"md",small:"sm"},h=["fullWidth"],b=U(m(p,a),h),x=b,$=!!t||!!x.leftSection,C=!!x.rightSection,w=Us(r),S=($||C)&&!w;let g="label";S?g="icon-only":($||C)&&(g="icon-label"),typeof process<"u"&&process.env.NODE_ENV!=="production"&&S&&!x["aria-label"]&&console.warn('[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").');const P=D({root:Ye.root,section:Ye.section,label:Ye.label,loader:Ye.loader},x.classNames),y=x.className,T=y?`${Ye.root} ${y}`:Ye.root,v=x.loaderProps,R=ce(n==="small"?"small":"default",c);let M=v;return d&&(M={children:o.jsx(ot,{variant:l,size:R,overStyled:!0,color:"var(--button-color)"}),...v}),o.jsx(u.Button,{ref:_,...b,className:T,classNames:P,variant:f[e],size:N[n],loaderProps:M,leftSection:t!=null?o.jsx("span",{className:Ye.iconWrapper,"aria-hidden":!0,children:t}):void 0,"data-variant":e,"data-size":n,"data-content":g,disabled:!!x.disabled||!!x.loading,children:o.jsx("span",{className:Ye.labelText,children:r})})});Et.displayName="Button";const eo=u.createPolymorphicComponent(Et),Gs="Card-module__root___c9KvZ",Vs="Card-module__header___PTXf2",Hs="Card-module__footer___Mu-JC",qs="Card-module__section___BRT8H",Ks="Card-module__content___oFIQa",Ee={root:Gs,header:Vs,footer:Hs,section:qs,content:Ks},Ys=["radius","withBorder","padding"],Ft=i.forwardRef(function({overStyled:e=!1,...n},t){const r=U(m(n,e),Ys);["flex","flexGrow","flexShrink","flexBasis","grow","h","height"].forEach(d=>{d in n&&!(d in r)&&(r[d]=n[d])});const l=D({root:Ee.root},r.classNames),c=r.className;return o.jsx(u.Card,{ref:t,...r,className:c,classNames:l})});Ft.displayName="Card";const Bt=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className;return o.jsx(u.Card.Section,{ref:t,...r,className:a?`${Ee.section} ${a}`:Ee.section})});Bt.displayName="CardSection";const Ut=["withBorder","inheritPadding"],Gt=i.forwardRef(function({overStyled:e=!1,...n},t){const r=U(m(n,e),Ut),a=r.className;return o.jsx(u.Card.Section,{ref:t,...r,className:a?`${Ee.header} ${a}`:Ee.header})});Gt.displayName="CardHeader";const Vt=i.forwardRef(function({overStyled:e=!1,...n},t){const r=U(m(n,e),Ut),a=r.className;return o.jsx(u.Card.Section,{ref:t,...r,className:a?`${Ee.footer} ${a}`:Ee.footer})});Vt.displayName="CardFooter";const Ht=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className;return o.jsx("div",{ref:t,...r,className:a?`${Ee.content} ${a}`:Ee.content})});Ht.displayName="CardContent";const qt=u.createPolymorphicComponent(Ft),zo=qt;zo.Section=Bt;zo.Header=Gt;zo.Footer=Vt;zo.Content=Ht;const Zs=qt,Xs="Checkbox-module__groupRoot___cBS0o",Qs="Checkbox-module__root___mY3qk",Js="Checkbox-module__body___5yC7q",ea="Checkbox-module__inner___rTke4",oa="Checkbox-module__input___2kt-h",ta="Checkbox-module__icon___-O7i6",na="Checkbox-module__labelWrapper___GpZkr",ra="Checkbox-module__label___cwRtI",Te={groupRoot:Xs,root:Qs,body:Js,inner:ea,input:oa,icon:ta,labelWrapper:na,label:ra},No=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,description:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,className:w,style:S,children:g,readOnly:P,readOnlyComponent:y,emptyValueComponent:T,value:v,defaultValue:R,...M}=e,E=["size"],W=U(m(M,t),E),L=W,K=v!==void 0||R!==void 0;return o.jsx(fe,{className:w,style:S,controlMaxWidth:"var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,description:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,readOnly:P&&!!y,readOnlyComponent:y,emptyValueComponent:T,readOnlyType:"text",readOnlyValue:v!==void 0?v:R,readOnlyNativeProps:e,activeComponent:K?o.jsx(u.Checkbox.Group,{ref:n,...W,disabled:P||L.disabled,value:v,defaultValue:R,children:o.jsx("div",{className:Te.groupRoot,"data-layout":r,children:g})}):o.jsx("div",{ref:n,...W,role:"group",className:Te.groupRoot,"data-layout":r,children:g})})});No.displayName="CheckboxGroup";const Co=i.forwardRef(function(e,n){const{overStyled:t=!1,readOnly:r,readOnlyComponent:a,disabled:l,formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,...f}=e,N=["size","color","radius","variant","iconColor"],h=U(m(f,t),N),b=h,x=D({root:Te.root,body:Te.body,inner:Te.inner,input:Te.input,icon:Te.icon,labelWrapper:Te.labelWrapper,label:Te.label},b.classNames),$=b.className,C=$?`${Te.root} ${$}`:Te.root;if(r&&a){const S=!!(b.checked??b.defaultChecked),g=a,P=o.jsx(g,{...e,checked:S,label:b.label});return c?o.jsx(De,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:P}):o.jsx(o.Fragment,{children:P})}const w=o.jsx(u.Checkbox,{ref:n,...h,className:C,classNames:x,disabled:r||l});return c?o.jsx(De,{formLayout:c,labelSize:d,controlMaxWidth:p,controlMinWidth:_,children:w}):w});Co.displayName="Checkbox";Co.Group=No;const sa="Chip-module__root___f5pFk",aa="Chip-module__label___Ov9pg",la="Chip-module__mantineIconWrapper___KLSz6",ia="Chip-module__innerWrapper___EnrTF",ca="Chip-module__children___zbRAR",da="Chip-module__leadingIcon___JBtjQ",ua="Chip-module__deleteIcon___zPPsH",we={root:sa,label:aa,mantineIconWrapper:la,innerWrapper:ia,children:ca,leadingIcon:da,deleteIcon:ua};function pa(s){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...s,children:[o.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const Po=i.forwardRef(function({error:e=!1,icon:n,onDelete:t,deleteLabel:r="Delete",deleteTabIndex:a,deleteIconRef:l,children:c,checked:d,overStyled:p=!1,wrapperProps:_,tabIndex:f,"aria-hidden":N,...h},b){const x=m(h,p),$=x,C=D({root:we.root,label:we.label,input:we.input,iconWrapper:we.mantineIconWrapper,checkIcon:we.checkIcon},$.classNames),w=$.className,S=w?`${we.root} ${w}`:we.root,g=e?"":void 0,P=!c&&(!!n||!!t),y=t!==void 0||$.onClick!==void 0||$.onChange!==void 0,T={...g!==void 0?{"data-error":""}:{},...y?{"data-interactive":""}:{}};return o.jsx(u.Chip,{ref:b,...x,checked:d,className:S,classNames:C,wrapperProps:ce(T,_),"data-icon-only":P?"":void 0,tabIndex:ce(y?void 0:-1,f),"aria-hidden":ce(y?void 0:!0,N),children:o.jsxs("span",{className:we.innerWrapper,children:[n&&!d&&o.jsx("span",{className:we.leadingIcon,"aria-hidden":!0,children:n}),o.jsx("span",{className:we.children,children:c}),t&&o.jsx("span",{ref:l,role:"button",className:we.deleteIcon,onClick:v=>{v.preventDefault(),v.stopPropagation(),t(v)},"aria-label":r,onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),v.stopPropagation(),t(v))},tabIndex:a??0,children:o.jsx(pa,{})})]})})});Po.displayName="Chip";const ma="Container-module__root___UVssr",_o={root:ma},Kt=i.forwardRef(function({children:e,size:n,...t},r){const a={"rec-sm":"sm","rec-default":"md","rec-md":"md","rec-lg":"lg","rec-xl":"xl","rec-2xl":"xl"},l=typeof n=="string"&&a[n]?a[n]:n,c={root:_o.root},d=t.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const f=d;c.root=f.root?`${_o.root} ${f.root}`:_o.root}const p=t.className,_=p?`${_o.root} ${p}`:_o.root;return o.jsx(u.Container,{ref:r,size:l,className:_,classNames:c,...t,children:e})});Kt.displayName="Container";function _a(s){return o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...s,children:[o.jsx("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),o.jsx("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),o.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),o.jsx("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]})}const fa="DatePicker-module__layoutOverride___X9yaM",ya="DatePicker-module__root___6XvRT",ha="DatePicker-module__input___pcSW8",va="DatePicker-module__section___n3iWA",xa="DatePicker-module__dropdown___wjt08",ba="DatePicker-module__calendarHeader___KHxno",Na="DatePicker-module__calendarHeaderControl___q7UvJ",Ca="DatePicker-module__calendarHeaderLevel___ebdJ2",Pa="DatePicker-module__calendarHeaderControlIcon___2tZOb",ga="DatePicker-module__weekday___H5lIj",wa="DatePicker-module__day___U03J2",xe={layoutOverride:fa,root:ya,input:ha,section:va,dropdown:xa,calendarHeader:ba,calendarHeaderControl:Na,calendarHeaderLevel:Ca,calendarHeaderControlIcon:Pa,weekday:ga,day:wa},Ta=["size","variant","radius","description"],Yt=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,className:C,style:w,disabled:S,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,value:T,defaultValue:v,highlightToday:R=!0,valueFormat:M="MM/DD/YY",placeholder:E="MM / DD / YY",leftSection:W,...L}=e,K=U(m(L,t),Ta),H=K,q=D({wrapper:xe.root,input:xe.input,section:xe.section,day:xe.day,weekday:xe.weekday,calendarHeader:xe.calendarHeader,calendarHeaderControl:xe.calendarHeaderControl,calendarHeaderLevel:xe.calendarHeaderLevel,calendarHeaderControlIcon:xe.calendarHeaderControlIcon},H.classNames),X=H.popoverProps,V=X&&typeof X=="object"&&!Array.isArray(X)?X:void 0,Y=V!=null&&V.classNames&&typeof V.classNames=="object"&&!Array.isArray(V.classNames)?V.classNames:void 0;delete H.popoverProps;const J={...V,classNames:D({dropdown:xe.dropdown},Y)},de=C?`${xe.layoutOverride} ${C}`:xe.layoutOverride;return o.jsx(fe,{className:de,style:w,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:(()=>{const A=T!==void 0?T:v;return A?Go.getFormattedDate({type:"default",date:A,locale:"en",format:M,labelSeparator:""}):void 0})(),readOnlyNativeProps:e,activeComponent:o.jsx(Go.DatePickerInput,{ref:n,...K,classNames:q,disabled:S,value:T,defaultValue:v,label:void 0,description:void 0,error:void 0,withAsterisk:!1,highlightToday:R,valueFormat:M,placeholder:E,leftSection:ce(o.jsx(_a,{}),W),wrapperProps:{"data-disabled":S?"true":void 0,"data-error":h?"true":void 0},popoverProps:J})})});Yt.displayName="DatePicker";const Sa="Dropdown-module__layoutOverride___FNcvP",$a="Dropdown-module__root___uVyL0",ja="Dropdown-module__input___dK4dN",Ra="Dropdown-module__section___j3MRB",Oa="Dropdown-module__clearButton___ODnIa",ka="Dropdown-module__dropdown___gG-Sw",Ia="Dropdown-module__option___nAGU-",La="Dropdown-module__optionContent___QTwwg",Ma="Dropdown-module__optionIcon___2L56h",Aa="Dropdown-module__optionText___cCDpI",Wa="Dropdown-module__optionTextWrap___L4OPI",za="Dropdown-module__optionSupportingText___2JIOV",oe={layoutOverride:Sa,root:$a,input:ja,section:Ra,clearButton:Oa,dropdown:ka,option:Ia,optionContent:La,optionIcon:Ma,optionText:Aa,optionTextWrap:Wa,optionSupportingText:za},Da=["size","variant","radius","searchable"],Zt=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",containerWidth:a,labelSize:l,labelAlignment:c,labelOptionalText:d,labelWithEditIcon:p,onLabelEditClick:_,label:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,className:w,style:S,disabled:g,readOnly:P,readOnlyComponent:y,emptyValueComponent:T,value:v,defaultValue:R,data:M,clearButtonProps:E,renderOption:W,wrapItemText:L=!1,...K}=e,H=U(m(K,t),Da),q=H,X=Xo(M),V=E,Y={...V,className:V!=null&&V.className?`${oe.clearButton} ${V.className}`:oe.clearButton},J=D({wrapper:oe.root,input:oe.input,section:oe.section,dropdown:oe.dropdown,option:oe.option},q.classNames),de={optionContent:oe.optionContent,optionIcon:oe.optionIcon,optionText:oe.optionText,optionTextWrap:oe.optionTextWrap,optionSupportingText:oe.optionSupportingText},A={...S||{},width:a||"100%"},re=w?`${oe.layoutOverride} ${w}`:oe.layoutOverride;return o.jsx(fe,{className:re,style:A,controlMaxWidth:"var(--dropdown-control-max-width)",controlMinWidth:"var(--dropdown-control-min-width)",overStyled:t,formLayout:r,labelSize:l,labelAlignment:c,labelOptionalText:d,labelWithEditIcon:p,onLabelEditClick:_,label:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,readOnly:P,readOnlyComponent:y,emptyValueComponent:T,readOnlyType:"text",readOnlyValue:v!==void 0?String(v):R?String(R):void 0,readOnlyNativeProps:e,activeComponent:o.jsx(u.Select,{ref:n,...H,classNames:J,disabled:g,value:v,defaultValue:R,data:X||[],renderOption:W??(ue=>Lt(ue,de,L)),clearButtonProps:Y,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,attributes:{wrapper:{"data-disabled":g?"true":void 0,"data-error":b?"true":void 0}}})})});Zt.displayName="Dropdown";const Ea="FileInput-module__layoutOverride___HIOY6",Fa="FileInput-module__root___UvQj-",Ba="FileInput-module__leadingIcon___z75c4",Ua="FileInput-module__content___Udsvh",Ga="FileInput-module__value___RX33R",Va="FileInput-module__chipRow___My6TF",Ha="FileInput-module__chipWrapper___q2CDy",qa="FileInput-module__trailingIcon___odGPm",Ae={layoutOverride:Ea,root:Fa,leadingIcon:Ba,content:Ua,value:Ga,chipRow:Va,chipWrapper:Ha,trailingIcon:qa};function Ka(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[o.jsx("path",{d:"M12 3v12"}),o.jsx("path",{d:"M7 8l5-5 5 5"}),o.jsx("path",{d:"M4 21h16"})]})}function Ya(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[o.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}const Xt=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:_,label:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,className:w,style:S,disabled:g,readOnly:P,files:y,onFilesAdded:T,onFileRemove:v,accept:R,multiple:M=!1,maxSize:E,maxFiles:W,onFilesRejected:L,invalidFileTypeMessage:K="File type not accepted",maxFilesMessage:H=M?`Maximum of ${W} files allowed`:"Only one file is allowed",icon:q,clearIcon:X,placeholder:V="Select a file...",browseLabel:Y="Choose file",removeFileLabel:J="Remove",clearLabel:de="Clear",...A}=e,ue=m(A,t),O=!g&&!P,ae=!!y&&y.length>0,ye=i.useRef(null),[se,le]=i.useState(!1),[he,Ne]=i.useState(!1),Ue=j=>{if(!O)return;const te=Array.from(j);if(te.length===0)return;const ne=M?W:1,Q=M?(y==null?void 0:y.length)??0:0,me=[],To=[];let _t=!1,ft=!1;for(const Eo of te){const yt=!Zo(Eo,R);yt&&(_t=!0);const $r=E!==void 0&&Eo.size>E,ht=ne!==void 0&&Q+me.length>=ne;ht&&(ft=!0),(yt||$r||ht?To:me).push(Eo)}le(_t),Ne(ft),me.length>0&&(T==null||T(me)),To.length>0&&(L==null||L(To))},Ce=i.useRef(0),[Ge,Le]=i.useState(!1),Me=j=>{j.preventDefault(),Ce.current+=1,Le(!0)},to=j=>{j.preventDefault(),Ce.current-=1,Ce.current<=0&&(Ce.current=0,Le(!1))},Pe=j=>{j.preventDefault()},Ve=j=>{j.preventDefault(),Ce.current=0,Le(!1),Ue(j.dataTransfer.files)},ge=()=>{var j;O&&((j=ye.current)==null||j.click())},He=j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),ge())},G=j=>{j.target.files&&Ue(j.target.files),j.target.value=""},F=()=>{!O||!y||y.length===0||y.forEach(j=>v==null?void 0:v(j.id??j.file.name))},[z,k]=i.useState(0),B=i.useRef([]),Z=i.useRef((y==null?void 0:y.length)??0);i.useEffect(()=>{var te;const j=(y==null?void 0:y.length)??0;if(j>0&&j<Z.current){const ne=Math.min(z,j-1);k(ne),(te=B.current[ne])==null||te.focus()}Z.current=j},[y]);const pe=j=>{var Q;const te=(y==null?void 0:y.length)??0;if(te===0)return;let ne;j.key==="ArrowRight"||j.key==="ArrowDown"?ne=(z+1)%te:(j.key==="ArrowLeft"||j.key==="ArrowUp")&&(ne=(z-1+te)%te),ne!==void 0&&(j.preventDefault(),j.stopPropagation(),k(ne),(Q=B.current[ne])==null||Q.focus())},qe=b??(se?K:he?H:void 0),no=w?`${Ae.layoutOverride} ${w}`:Ae.layoutOverride;return o.jsx(uo,{overStyled:t,className:no,style:S,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:_,label:f,assistiveText:N,assistiveWithIcon:h,error:qe,required:x,withAsterisk:$,id:C,controlMaxWidth:"var(--file-input-control-max-width)",controlMinWidth:"var(--file-input-control-min-width)",children:o.jsxs("div",{ref:n,...ue,className:Ae.root,role:"button","aria-label":Y,"aria-disabled":g?"true":void 0,tabIndex:O?0:-1,"data-disabled":g?"true":void 0,"data-readonly":P?"true":void 0,"data-error":qe?"true":void 0,"data-dragging":Ge?"true":void 0,onClick:O?ge:void 0,onKeyDown:O?He:void 0,onDragEnter:O?Me:void 0,onDragLeave:O?to:void 0,onDragOver:O?Pe:void 0,onDrop:O?Ve:void 0,children:[o.jsx("span",{className:Ae.leadingIcon,"aria-hidden":!0,children:q??o.jsx(Ka,{})}),o.jsxs("div",{className:Ae.content,children:[!ae&&o.jsx("span",{className:Ae.value,"data-placeholder":"true",children:V}),ae&&o.jsx("div",{className:Ae.chipRow,onKeyDown:P?void 0:pe,children:y.map((j,te)=>{const ne=j.id??j.file.name;return o.jsx("span",{className:Ae.chipWrapper,onClick:Q=>Q.stopPropagation(),children:o.jsx(Po,{checked:!1,tabIndex:-1,deleteLabel:P?void 0:J,deleteTabIndex:!P&&te===z?0:-1,deleteIconRef:Q=>{B.current[te]=Q},onDelete:P||g?void 0:()=>v==null?void 0:v(ne),children:j.file.name})},ne)})})]}),ae&&!P&&o.jsx(eo,{overStyled:!0,variant:"text",size:"small",icon:X??o.jsx(Ya,{}),"aria-label":de,className:Ae.trailingIcon,disabled:g,onClick:j=>{j.preventDefault(),j.stopPropagation(),F()},onKeyDown:j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),j.stopPropagation(),F())}}),o.jsx("input",{ref:ye,type:"file",hidden:!0,accept:R,multiple:M,disabled:!O,onChange:G})]})})});Xt.displayName="FileInput";const Za="FileUpload-module__layoutOverride___bPpi8",Xa="FileUpload-module__root___Q-vcm",Qa="FileUpload-module__dropzone___jqua0",Ja="FileUpload-module__uploadIcon___bb3Nc",el="FileUpload-module__dropzoneText___L7vS-",ol="FileUpload-module__fileList___XIWLl",Ze={layoutOverride:Za,root:Xa,dropzone:Qa,uploadIcon:Ja,dropzoneText:el,fileList:ol};function tl(){return o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[o.jsx("path",{d:"M12 3v12"}),o.jsx("path",{d:"M7 8l5-5 5 5"}),o.jsx("path",{d:"M4 21h16"})]})}const Qt=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:_,label:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,className:w,style:S,disabled:g,readOnly:P,files:y,onFilesAdded:T,onFileRemove:v,accept:R,multiple:M=!0,maxSize:E,maxFiles:W,onFilesRejected:L,invalidFileTypeMessage:K="File type not accepted",maxFilesMessage:H=`Maximum of ${W} files allowed`,icon:q,dropzoneLabel:X="Drag and drop files here to upload",browseButtonLabel:V="Browse files",removeFileLabel:Y="Remove",...J}=e,A=m(J,t),re=i.useRef(null),[ue,O]=i.useState(!1),[ae,ye]=i.useState(!1),se=k=>{if(g)return;const B=Array.from(k);if(B.length===0)return;const Z=(y==null?void 0:y.length)??0,pe=[],qe=[];let no=!1,j=!1;for(const te of B){const ne=!Zo(te,R);ne&&(no=!0);const Q=E!==void 0&&te.size>E,me=W!==void 0&&Z+pe.length>=W;me&&(j=!0),(ne||Q||me?qe:pe).push(te)}O(no),ye(j),pe.length>0&&(T==null||T(pe)),qe.length>0&&(L==null||L(qe))},le=i.useRef(0),[he,Ne]=i.useState(!1),Ue=k=>{k.preventDefault(),le.current+=1,Ne(!0)},Ce=k=>{k.preventDefault(),le.current-=1,le.current<=0&&(le.current=0,Ne(!1))},Ge=k=>{k.preventDefault()},Le=k=>{k.preventDefault(),le.current=0,Ne(!1),se(k.dataTransfer.files)},Me=()=>{var k;g||(k=re.current)==null||k.click()},to=k=>{k.target.files&&se(k.target.files),k.target.value=""},[Pe,Ve]=i.useState(0),ge=i.useRef([]),He=i.useRef((y==null?void 0:y.length)??0);i.useEffect(()=>{var B;const k=(y==null?void 0:y.length)??0;if(k>0&&k<He.current){const Z=Math.min(Pe,k-1);Ve(Z),(B=ge.current[Z])==null||B.focus()}He.current=k},[y]);const G=k=>{var pe;const B=(y==null?void 0:y.length)??0;if(B===0)return;let Z;k.key==="ArrowRight"||k.key==="ArrowDown"?Z=(Pe+1)%B:(k.key==="ArrowLeft"||k.key==="ArrowUp")&&(Z=(Pe-1+B)%B),Z!==void 0&&(k.preventDefault(),Ve(Z),(pe=ge.current[Z])==null||pe.focus())},F=b??(ue?K:ae?H:void 0),z=w?`${Ze.layoutOverride} ${w}`:Ze.layoutOverride;return o.jsx(uo,{overStyled:t,className:z,style:S,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:_,label:f,assistiveText:N,assistiveWithIcon:h,error:F,required:x,withAsterisk:$,id:C,children:o.jsxs("div",{ref:n,...A,className:Ze.root,"data-disabled":g?"true":void 0,"data-error":F?"true":void 0,children:[!P&&o.jsxs("div",{className:Ze.dropzone,"data-dragging":he?"true":void 0,onDragEnter:g?void 0:Ue,onDragLeave:g?void 0:Ce,onDragOver:g?void 0:Ge,onDrop:g?void 0:Le,children:[o.jsx("span",{className:Ze.uploadIcon,children:q??o.jsx(tl,{})}),o.jsx("span",{className:Ze.dropzoneText,children:X}),o.jsx(eo,{variant:"outline",disabled:g,onClick:Me,children:V}),o.jsx("input",{ref:re,type:"file",hidden:!0,accept:R,multiple:M,disabled:g,onChange:to})]}),y&&y.length>0&&(P?o.jsx("div",{className:Ze.fileList,children:y.map(k=>{const B=k.id??k.file.name;return o.jsx(Po,{checked:!1,tabIndex:-1,children:k.file.name},B)})}):o.jsx("div",{className:Ze.fileList,onKeyDown:G,children:y.map((k,B)=>{const Z=k.id??k.file.name;return o.jsx(Po,{checked:!1,tabIndex:-1,deleteLabel:Y,deleteTabIndex:B===Pe?0:-1,deleteIconRef:pe=>{ge.current[B]=pe},onDelete:g?void 0:()=>v==null?void 0:v(Z),children:k.file.name},Z)})}))]})})});Qt.displayName="FileUpload";const nl="Flex-module__root___yYser",fo={root:nl},Jt=i.forwardRef(function({children:e,gap:n="rec-default",rowGap:t,columnGap:r,...a},l){const c={root:fo.root},d=a.classNames;if(d&&typeof d=="object"&&!Array.isArray(d)){const f=d;c.root=f.root?`${fo.root} ${f.root}`:fo.root}const p=a.className,_=p?`${fo.root} ${p}`:fo.root;return o.jsx(u.Flex,{ref:l,className:_,classNames:c,...go({gap:n,rowGap:t,columnGap:r,...a}),children:e})});Jt.displayName="Flex";const rl=u.createPolymorphicComponent(Jt),sl="Grid-module__root___s-qPY",al="Grid-module__col___tbuNg",je={root:sl,col:al},en=i.forwardRef(function({children:e,gutter:n="rec-default",...t},r){const a={root:je.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const f=l;a.root=f.root?`${je.root} ${f.root}`:je.root}const c=t.className,d=c?`${je.root} ${c}`:je.root,{gutter:p,..._}=go({gutter:n,...t});return o.jsx(u.Grid,{ref:r,gutter:p,className:d,classNames:a,..._,children:e})});en.displayName="Grid";const ll=u.createPolymorphicComponent(en),on=i.forwardRef(function({children:e,...n},t){const r={col:je.col},a=n.classNames;if(a&&typeof a=="object"&&!Array.isArray(a)){const d=a;r.col=d.col?`${je.col} ${d.col}`:je.col}const l=n.className,c=l?`${je.col} ${l}`:je.col;return o.jsx(u.Grid.Col,{ref:t,className:c,classNames:r,...go(n),children:e})});on.displayName="GridCol";const tn=u.createPolymorphicComponent(on),nn=ll;nn.Col=tn;const il="Group-module__root___ftO64",yo={root:il},rn=i.forwardRef(function({children:e,gap:n="rec-default",...t},r){const a={root:yo.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;a.root=p.root?`${yo.root} ${p.root}`:yo.root}const c=t.className,d=c?`${yo.root} ${c}`:yo.root;return o.jsx(u.Group,{ref:r,className:d,classNames:a,...go({gap:n,...t}),children:e})});rn.displayName="Group";const cl="Heading-module__root___-To4U",dl={root:cl},sn=i.forwardRef(function({overStyled:e=!1,order:n=1,...t},r){const a=["size"],l=U(m(t,e),a),c=l.className,p=[`recursica_brand_typography_h${n}`,dl.root,c].filter(Boolean).join(" ");return o.jsx(u.Title,{ref:r,...l,order:n,className:p})});sn.displayName="Heading";const ul="HoverCard-module__dropdown___FBPFW",pl="HoverCard-module__arrow___S9AkE",Nt={dropdown:ul,arrow:pl},an=function({overStyled:e=!1,withBeak:n=!0,position:t="top",arrowSize:r=16,withArrow:a,...l}){const c=m(l,e),d=c,p=D({dropdown:Nt.dropdown,arrow:Nt.arrow},d.classNames),_=n??a;return o.jsx(u.HoverCard,{...c,position:t,arrowSize:r,withArrow:_,classNames:p})};an.displayName="HoverCard";const ln=function(e){return o.jsx(u.HoverCard.Target,{...e})};ln.displayName="HoverCardTarget";const cn=function({overStyled:e=!1,...n}){const t=m(n,e),r=t.className;return o.jsx(u.HoverCard.Dropdown,{...t,className:r})};cn.displayName="HoverCardDropdown";const tt=an;tt.Target=ln;tt.Dropdown=cn;const ml="Link-module__root___I0VGE",_l="Link-module__iconWrapper___W-LlF",fl="Link-module__labelText___wSvUy",ho={root:ml,iconWrapper:_l,labelText:fl},dn=i.forwardRef(function({icon:e,children:n,overStyled:t=!1,...r},a){const l=m(r,t),c=l,d=D({root:ho.root},c.classNames),p=c.className,_=p?`${ho.root} ${p}`:ho.root;return o.jsxs(u.Anchor,{ref:a,...l,className:_,classNames:d,underline:"never",...e?{"data-has-icon":""}:{},children:[e&&o.jsx("span",{className:ho.iconWrapper,"aria-hidden":!0,children:e}),o.jsx("span",{className:ho.labelText,children:n})]})});dn.displayName="Link";const yl=u.createPolymorphicComponent(dn),hl="Menu-module__dropdown___j4xuA",vl="Menu-module__item___NMXha",xl="Menu-module__itemLabel___zvcqC",bl="Menu-module__itemSection___pRIcn",Nl="Menu-module__divider___wPiNq",Cl="Menu-module__label___4FBGa",Pl="Menu-module__chevron___hEEiy",ro={dropdown:hl,item:vl,itemLabel:xl,itemSection:bl,divider:Nl,label:Cl,chevron:Pl},un=function({overStyled:e=!1,...n}){const r=m(n,e),{maxHeight:a,...l}=r,c=D({dropdown:ro.dropdown,item:ro.item,itemLabel:ro.itemLabel,itemSection:ro.itemSection,divider:ro.divider,label:ro.label,chevron:ro.chevron},r.classNames),d=l.styles,p=a?{...d,dropdown:{...d==null?void 0:d.dropdown,maxHeight:a,overflowY:"auto"}}:d;return o.jsx(u.Menu,{...l,classNames:c,...p?{styles:p}:{}})};un.displayName="Menu";const pn=function({overStyled:e=!1,...n}){const t=m(n,e);return o.jsx(u.Menu.Target,{...t})};pn.displayName="MenuTarget";const mn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className;return o.jsx(u.Menu.Dropdown,{...r,ref:t,className:a})});mn.displayName="MenuDropdown";const _n=i.forwardRef(function({overStyled:e=!1,...n},t){const r=["color"],a=U(m(n,e),r),c=a.className;return o.jsx(u.Menu.Item,{...a,ref:t,className:c})});_n.displayName="MenuItem";const gl=u.createPolymorphicComponent(_n),fn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className;return o.jsx(u.Menu.Divider,{...r,ref:t,className:a})});fn.displayName="MenuDivider";const yn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className;return o.jsx(u.Menu.Label,{...r,ref:t,className:a})});yn.displayName="MenuLabel";const hn=function(e){return o.jsx(u.Menu.Sub,{...e})};hn.displayName="MenuSub";const vn=function(e){return o.jsx(u.Menu.Sub.Target,{...e})};vn.displayName="MenuSubTarget";const xn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=["color"],a=U(m(n,e),r),c=a.className;return o.jsx(u.Menu.Sub.Item,{...a,ref:t,className:c})});xn.displayName="MenuSubItem";const wl=u.createPolymorphicComponent(xn),bn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className;return o.jsx(u.Menu.Sub.Dropdown,{...r,ref:t,className:a})});bn.displayName="MenuSubDropdown";const Do=hn;Do.Target=vn;Do.Item=wl;Do.Dropdown=bn;const lo=un;lo.Target=pn;lo.Dropdown=mn;lo.Item=gl;lo.Divider=fn;lo.Label=yn;lo.Sub=Do;const Tl="Modal-module__root___ytPLl",Sl="Modal-module__inner___SSUJE",$l="Modal-module__content___dWO-B",jl="Modal-module__header___ILG9i",Rl="Modal-module__title___A5OeE",Ol="Modal-module__bodyWrapper___5CCL-",kl="Modal-module__scrollArea___KD-hm",Il="Modal-module__footer___rro2w",Ll="Modal-module__close___-ER1C",ze={root:Tl,inner:Sl,content:$l,header:jl,title:Rl,bodyWrapper:Ol,scrollArea:kl,footer:Il,close:Ll},Nn=i.forwardRef(function({overStyled:e=!1,children:n,title:t,withCloseButton:r=!0,overlayProps:a,withOverlay:l=!0,closeButtonProps:c,...d},p){const _=["size","radius"],f=U(m(d,e),_),N=D({root:ze.root,inner:ze.inner,content:ze.content,header:ze.header,title:ze.title,close:ze.close},f.classNames);return o.jsxs(u.Modal.Root,{ref:p,...f,classNames:N,children:[l&&o.jsx(u.Modal.Overlay,{...a}),o.jsxs(u.Modal.Content,{children:[(t||r)&&o.jsxs(u.Modal.Header,{children:[t&&o.jsx(u.Modal.Title,{children:t}),r&&o.jsx(u.Modal.CloseButton,{...c})]}),o.jsx(rt,{children:n})]})]})});Nn.displayName="Modal";const nt=i.forwardRef(function({overStyled:e=!1,className:n,...t},r){const a=m(t,e);return o.jsx("div",{ref:r,...a,className:`${ze.footer} ${n||""}`})});nt.displayName="Modal.Footer";const rt=i.forwardRef(function({overStyled:e=!1,className:n,onScroll:t,children:r,...a},l){const c=m(a,e),d=i.useRef(null),[p,_]=i.useState(!1),[f,N]=i.useState(!1),h=i.useCallback(()=>{if(d.current){const{scrollTop:C,scrollHeight:w,clientHeight:S}=d.current;_(C>0),N(Math.ceil(C+S)<w)}},[]);i.useEffect(()=>(h(),window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)),[h,r]);const b=C=>{h(),t==null||t(C)};let x=null;const $=[];return i.Children.forEach(r,C=>{var w;i.isValidElement(C)&&(C.type===nt||((w=C.type)==null?void 0:w.displayName)==="Modal.Footer")?x=C:$.push(C)}),o.jsxs(u.Modal.Body,{...c,ref:C=>{typeof l=="function"?l(C):l&&(l.current=C)},className:`${ze.bodyWrapper} ${n||""}`,children:[o.jsx("div",{ref:d,onScroll:b,"data-scrolled-top":p||void 0,"data-scrolled-bottom":f||void 0,className:ze.scrollArea,children:$}),x]})});rt.displayName="Modal.Body";const Ml=["size","radius"],Cn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=U(m(n,e),Ml);return o.jsx(u.Modal.Root,{ref:t,...r})});Cn.displayName="Modal.Root";const Pn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Modal.Overlay,{ref:t,...r})});Pn.displayName="Modal.Overlay";const Al=["radius"],gn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=U(m(n,e),Al);return o.jsx(u.Modal.Content,{ref:t,...r})});gn.displayName="Modal.Content";const wn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Modal.Header,{ref:t,...r})});wn.displayName="Modal.Header";const Tn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Modal.Title,{ref:t,...r})});Tn.displayName="Modal.Title";const Wl=["size","radius"],Sn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=U(m(n,e),Wl);return o.jsx(u.Modal.CloseButton,{ref:t,...r})});Sn.displayName="Modal.CloseButton";const Fe=Nn;Fe.Root=Cn;Fe.Overlay=Pn;Fe.Content=gn;Fe.Header=wn;Fe.Title=Tn;Fe.CloseButton=Sn;Fe.Body=rt;Fe.Footer=nt;const zl="NumberInput-module__layoutOverride___5-9T4",Dl="NumberInput-module__root___C6rAn",El="NumberInput-module__input___Ss8p7",Fl="NumberInput-module__section___MijP0",Bl="NumberInput-module__controls___8UfQ2",Ul="NumberInput-module__control___Qre9-",so={layoutOverride:zl,root:Dl,input:El,section:Fl,controls:Bl,control:Ul},Gl=["size","variant","radius"],$n=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,className:C,style:w,disabled:S,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,value:T,defaultValue:v,hideControls:R=!1,...M}=e,E=U(m(M,t),Gl),W=E,L={wrapper:so.root,input:so.input,section:so.section,controls:so.controls,control:so.control},K=C?`${so.layoutOverride} ${C}`:so.layoutOverride;return o.jsx(fe,{className:K,style:w,controlMaxWidth:"var(--number-input-control-max-width)",controlMinWidth:"var(--number-input-control-min-width)",overStyled:t,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:T!==void 0?T==null?void 0:T.toString():v==null?void 0:v.toString(),readOnlyNativeProps:e,activeComponent:o.jsx(u.NumberInput,{ref:n,...E,classNames:L,disabled:S,value:T,defaultValue:v,hideControls:R,label:void 0,description:void 0,error:void 0,required:void 0,withAsterisk:void 0,wrapperProps:{"data-disabled":S?"true":void 0,"data-error":h?"true":void 0,"data-with-left-section":W.leftSection?"true":void 0,"data-with-right-section":W.rightSection||!R?"true":void 0}})})});$n.displayName="NumberInput";const Vl="Pagination-module__root___ITRjt",Hl="Pagination-module__control___40yNT",ql="Pagination-module__dots___Yl9da",Kl="Pagination-module__iconWithLabel___pLM4O",Yl="Pagination-module__baseIcon___Qw3bJ",Re={root:Vl,control:Hl,dots:ql,iconWithLabel:Kl,baseIcon:Yl},Zl="M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z",Xl="M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z",Ql="M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z",Jl="M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z",ei={next:Zl,prev:Xl,first:Ql,last:Jl},wo=({type:s,className:e,...n})=>o.jsx("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:`${Re.baseIcon} ${e||""}`.trim(),...n,children:o.jsx("path",{d:ei[s],fill:"currentColor"})}),jn=s=>o.jsxs("div",{className:Re.iconWithLabel,children:[o.jsx("span",{children:"Next"}),o.jsx(wo,{type:"next",...s})]}),Rn=s=>o.jsxs("div",{className:Re.iconWithLabel,children:[o.jsx(wo,{type:"prev",...s}),o.jsx("span",{children:"Prev"})]}),On=s=>o.jsxs("div",{className:Re.iconWithLabel,children:[o.jsx(wo,{type:"first",...s}),o.jsx("span",{children:"First"})]}),kn=s=>o.jsxs("div",{className:Re.iconWithLabel,children:[o.jsx("span",{children:"Last"}),o.jsx(wo,{type:"last",...s})]});function In(s){const e=D({root:Re.root,control:Re.control,dots:Re.dots},s.classNames),n=s.className;return{className:n?`${Re.root} ${n}`:Re.root,classNames:e}}const Ln=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=In(r);return o.jsx(u.Pagination.Root,{ref:t,...r,className:a.className,classNames:a.classNames})});Ln.displayName="Pagination.Root";const Mn=i.forwardRef(function({overStyled:e=!1,withLabel:n,icon:t,...r},a){const l=m(r,e),c=n?jn:void 0;return o.jsx(u.Pagination.Next,{ref:a,...l,"data-variant":"text",icon:ce(c,t)})});Mn.displayName="Pagination.Next";const An=i.forwardRef(function({overStyled:e=!1,withLabel:n,icon:t,...r},a){const l=m(r,e),c=n?Rn:void 0;return o.jsx(u.Pagination.Previous,{ref:a,...l,"data-variant":"text",icon:ce(c,t)})});An.displayName="Pagination.Previous";const Wn=i.forwardRef(function({overStyled:e=!1,withLabel:n,icon:t,...r},a){const l=m(r,e),c=n?On:void 0;return o.jsx(u.Pagination.First,{ref:a,...l,"data-variant":"text",icon:ce(c,t)})});Wn.displayName="Pagination.First";const zn=i.forwardRef(function({overStyled:e=!1,withLabel:n,icon:t,...r},a){const l=m(r,e),c=n?kn:void 0;return o.jsx(u.Pagination.Last,{ref:a,...l,"data-variant":"text",icon:ce(c,t)})});zn.displayName="Pagination.Last";const Dn=i.forwardRef(function({overStyled:e=!1,getControlProps:n,withLabels:t,...r},a){const l=m(r,e),c=In(l),d=_=>{const f={"data-variant":"text"};return n?{...f,...n(_)}:f},p=t?{nextIcon:jn,previousIcon:Rn,firstIcon:On,lastIcon:kn}:{};return o.jsx(u.Pagination,{ref:a,...p,...l,className:c.className,classNames:c.classNames,getControlProps:d})});Dn.displayName="Pagination";const En=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Pagination.Control,{ref:t,...r})});En.displayName="Pagination.Control";const Fn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Pagination.Dots,{ref:t,...r})});Fn.displayName="Pagination.Dots";const ke=Dn;ke.Root=Ln;ke.Items=u.Pagination.Items;ke.Control=En;ke.Dots=Fn;ke.Next=Mn;ke.Previous=An;ke.First=Wn;ke.Last=zn;ke.Icon=wo;const oi="Panel-module__content___wdGo-",ti="Panel-module__inner___ruA2b",ni="Panel-module__header___o7SiC",ri="Panel-module__title___181OP",si="Panel-module__titleTruncate___fuP6V Panel-module__title___181OP",ai="Panel-module__body___SEC3T",li="Panel-module__footer___t6-hz",Qe={content:oi,inner:ti,header:ni,title:ri,titleTruncate:si,body:ai,footer:li},Bn=function({overStyled:e=!1,placement:n="right",keepMounted:t=!0,wrapHeaderText:r=!0,...a}){const l=m(a,e),c=l,d=D({content:Qe.content,header:Qe.header,title:r?Qe.titleTruncate:Qe.title,body:Qe.body,inner:Qe.inner},c.classNames);return o.jsx(u.Drawer,{...l,position:n,keepMounted:t,closeOnClickOutside:ce(!!a.opened,a.closeOnClickOutside),classNames:d})};Bn.displayName="Panel";const st=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className,l=a?`${Qe.footer} ${a}`:Qe.footer;return o.jsx("div",{ref:t,...r,className:l})});st.displayName="PanelFooter";const Un=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Drawer.Root,{ref:t,...r})});Un.displayName="PanelRoot";const Gn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Drawer.Overlay,{ref:t,...r})});Gn.displayName="PanelOverlay";const Vn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Drawer.Content,{ref:t,...r})});Vn.displayName="PanelContent";const Hn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Drawer.Header,{ref:t,...r})});Hn.displayName="PanelHeader";const qn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Drawer.Title,{ref:t,...r})});qn.displayName="PanelTitle";const Kn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Drawer.CloseButton,{ref:t,...r})});Kn.displayName="PanelCloseButton";const Yn=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Drawer.Body,{ref:t,...r})});Yn.displayName="PanelBody";const Ie=Bn;Ie.Root=Un;Ie.Overlay=Gn;Ie.Content=Vn;Ie.Header=Hn;Ie.Title=qn;Ie.CloseButton=Kn;Ie.Body=Yn;Ie.Stack=u.Drawer.Stack;Ie.Footer=st;const ii="Popover-module__dropdown___svhS6",ci="Popover-module__arrow___5A-0e",Ct={dropdown:ii,arrow:ci},Zn=function({overStyled:e=!1,withBeak:n=!0,position:t="top",...r}){const a=m(r,e),l=a,c=D({dropdown:Ct.dropdown,arrow:Ct.arrow},l.classNames),d=ce(16,l.arrowSize),p=ce(n,l.withArrow);return o.jsx(u.Popover,{...a,position:t,arrowSize:d,withArrow:p,classNames:c})};Zn.displayName="Popover";const Xn=function(e){return o.jsx(u.Popover.Target,{...e})};Xn.displayName="PopoverTarget";const Qn=function({overStyled:e=!1,...n}){const t=m(n,e),r=t.className;return o.jsx(u.Popover.Dropdown,{...t,className:r})};Qn.displayName="PopoverDropdown";const at=Zn;at.Target=Xn;at.Dropdown=Qn;const di="Radio-module__groupRoot___bfUii",ui="Radio-module__root___kAjTD",pi="Radio-module__body___q2Wpj",mi="Radio-module__inner___QaTBB",_i="Radio-module__radio___MfgN-",fi="Radio-module__icon___DWznm",yi="Radio-module__labelWrapper___dB0Gi",hi="Radio-module__label___vAFIP",Se={groupRoot:di,root:ui,body:pi,inner:mi,radio:_i,icon:fi,labelWrapper:yi,label:hi},lt=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,description:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,className:w,style:S,children:g,readOnly:P,readOnlyComponent:y,emptyValueComponent:T,value:v,defaultValue:R,...M}=e,E=["size"],W=U(m(M,t),E),L=W;return o.jsx(fe,{className:w,style:S,controlMaxWidth:"var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,description:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,readOnly:P&&!!y,readOnlyComponent:y,emptyValueComponent:T,readOnlyType:"text",readOnlyValue:v!==void 0?v:R,readOnlyNativeProps:e,activeComponent:o.jsx(u.Radio.Group,{ref:n,...W,disabled:P||L.disabled,value:v,defaultValue:R,children:o.jsx("div",{className:Se.groupRoot,"data-layout":r,children:g})})})});lt.displayName="RadioGroup";const vi=({className:s,style:e})=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:s,style:e,children:o.jsx("circle",{cx:"8",cy:"8",r:"5"})}),it=i.forwardRef(function(e,n){const{overStyled:t=!1,readOnly:r,readOnlyComponent:a,disabled:l,icon:c,formLayout:d,labelSize:p,controlMaxWidth:_,controlMinWidth:f,...N}=e,h=["size","color","radius","variant","iconColor"],b=U(m(N,t),h),x=b,$=D({root:Se.root,body:Se.body,inner:Se.inner,radio:Se.radio,icon:Se.icon,labelWrapper:Se.labelWrapper,label:Se.label},x.classNames),C=x.className,w=C?`${Se.root} ${C}`:Se.root;if(r&&a){const g=!!(x.checked??x.defaultChecked),P=a,y=o.jsx(P,{...e,checked:g,label:x.label});return d?o.jsx(De,{formLayout:d,labelSize:p,controlMaxWidth:_,controlMinWidth:f,children:y}):o.jsx(o.Fragment,{children:y})}const S=o.jsx(u.Radio,{ref:n,...b,icon:ce(vi,c),className:w,classNames:$,disabled:r||l});return d?o.jsx(De,{formLayout:d,labelSize:p,controlMaxWidth:_,controlMinWidth:f,children:S}):S});it.displayName="Radio";it.Group=lt;const xi="SegmentedControl-module__root___JFRhg",bi="SegmentedControl-module__label___mS17q",Ni="SegmentedControl-module__control___znOdQ",Ci="SegmentedControl-module__indicator___ZMcJy",co={root:xi,label:bi,control:Ni,indicator:Ci};function Pi(s){const e=D({root:co.root,control:co.control,label:co.label,indicator:co.indicator},s.classNames),n=s.className;return{className:n?`${co.root} ${n}`:co.root,classNames:e}}const Jn=i.forwardRef(function({overStyled:e=!1,orientation:n="horizontal",fullWidth:t,data:r=[],...a},l){const c=m(a,e),p=Pi(c),_=r.map(f=>typeof f=="string"||!f.icon?f:{...f,label:o.jsxs(o.Fragment,{children:[f.icon,f.label]})});return o.jsx(u.SegmentedControl,{ref:l,...c,className:p.className,classNames:p.classNames,orientation:n,fullWidth:t,"data-orientation":n,data:_})});Jn.displayName="SegmentedControl";const gi=Jn,wi="Slider-module__layoutOverride___zYPun",Ti="Slider-module__sliderContainer___y8I0J",Si="Slider-module__sliderTrackWrapper___UHpVh",$i="Slider-module__iconWrapper___uqHpC",ji="Slider-module__sliderRoot___LI86H",Ri="Slider-module__sliderTrack___oqnlG",Oi="Slider-module__sliderBar___TI4VY",ki="Slider-module__sliderThumb___OFn8p",Ii="Slider-module__sliderMarkWrapper___Ufqhu",Li="Slider-module__sliderMark___1lM2B",Mi="Slider-module__sliderMarkLabel___MMZrq",Ai="Slider-module__minMaxGuide___TaGqz",Wi="Slider-module__rightGuideContainer___8dOT8",zi="Slider-module__currentValue___dGV2T",Di="Slider-module__inputField___6x578",Ei="Slider-module__readOnlyValue___-ZzMW",ee={layoutOverride:wi,sliderContainer:Ti,sliderTrackWrapper:Si,iconWrapper:$i,sliderRoot:ji,sliderTrack:Ri,sliderBar:Oi,sliderThumb:ki,sliderMarkWrapper:Ii,sliderMark:Li,sliderMarkLabel:Mi,minMaxGuide:Ai,rightGuideContainer:Wi,currentValue:zi,inputField:Di,readOnlyValue:Ei},Fi=({value:s})=>{const e=Array.isArray(s)?`${s[0]} – ${s[1]}`:s;return o.jsx("div",{className:ee.readOnlyValue,children:e})},er=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:_,label:f,tooltipLabel:N,assistiveText:h,assistiveWithIcon:b,error:x,required:$,withAsterisk:C,id:w,className:S,style:g,disabled:P,readOnly:y,readOnlyComponent:T,emptyValueComponent:v,value:R,defaultValue:M,icon:E,trailingIcon:W,showInput:L=!1,showMinMaxLabels:K=!0,min:H=0,max:q=100,minLabel:X,maxLabel:V,step:Y=1,onChange:J,onChangeEnd:de,...A}=e,[re,ue]=i.useState(()=>R!==void 0?R:M!==void 0?M:H),O=R!==void 0?R:re,ae=Array.isArray(O),[ye,se]=i.useState(()=>Array.isArray(O)?[O[0].toString(),O[1].toString()]:O.toString());i.useEffect(()=>{se(Array.isArray(O)?[O[0].toString(),O[1].toString()]:O.toString())},[O]);const le=F=>{R===void 0&&ue(F),J==null||J(F)},he=F=>{const z=F.target.value;se(z);const k=parseFloat(z);if(!isNaN(k)){const B=Math.max(H,Math.min(q,k));le(B)}},Ne=()=>{se(O.toString())},Ue=F=>{const z=O,k=F.target.value;se([k,z[1].toString()]);const B=parseFloat(k);if(!isNaN(B)){const Z=Math.max(H,Math.min(z[1],B));le([Z,z[1]])}},Ce=F=>{const z=O,k=F.target.value;se([z[0].toString(),k]);const B=parseFloat(k);if(!isNaN(B)){const Z=Math.max(z[0],Math.min(q,B));le([z[0],Z])}},Ge=()=>{const F=O;se([F[0].toString(),F[1].toString()])},Le=["size","variant","radius","wrapperProps"],Me=U(m(A,t),Le),to=Me,Pe=D({root:ee.sliderRoot,track:ee.sliderTrack,bar:ee.sliderBar,thumb:ee.sliderThumb,markWrapper:ee.sliderMarkWrapper,mark:ee.sliderMark,markLabel:ee.sliderMarkLabel},to.classNames),Ve=S?`${ee.layoutOverride} ${S}`:ee.layoutOverride,ge=E?o.jsx("span",{className:ee.iconWrapper,"aria-hidden":!0,children:E}):null,He=W?o.jsx("span",{className:ee.iconWrapper,"aria-hidden":!0,children:W}):null,G=Array.isArray(O)?typeof N=="function"?`${N(O[0])} – ${N(O[1])}`:`${O[0]} – ${O[1]}`:typeof N=="function"?N(O):O;return o.jsx(fe,{ref:n,className:Ve,style:g,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:_,label:f,assistiveText:h,assistiveWithIcon:b,error:x,required:$,withAsterisk:C,id:w,readOnly:y,readOnlyComponent:T||Fi,emptyValueComponent:v,readOnlyType:"text",readOnlyValue:O,readOnlyNativeProps:{value:O},activeComponent:o.jsxs("div",{className:ee.sliderContainer,"data-form-layout":r,"data-disabled":P?"true":void 0,"data-error":x?"true":void 0,children:[ae&&L&&o.jsx("input",{type:"number",className:ee.inputField,value:ye[0],onChange:Ue,onBlur:Ge,min:H,max:O[1],step:Y,disabled:P,"data-error":x?"true":void 0,"aria-label":"Minimum value"}),ge,K&&o.jsx("span",{className:ee.minMaxGuide,children:X??H}),o.jsx("div",{className:ee.sliderTrackWrapper,children:ae?o.jsx(u.RangeSlider,{...Me,classNames:Pe,disabled:P,value:O,onChange:le,onChangeEnd:de,min:H,max:q,step:Y,label:N}):o.jsx(u.Slider,{...Me,classNames:Pe,disabled:P,value:O,onChange:le,onChangeEnd:de,min:H,max:q,step:Y,label:N})}),o.jsxs("div",{className:ee.rightGuideContainer,children:[!L&&o.jsx("span",{className:ee.currentValue,children:G}),K&&o.jsx("span",{className:ee.minMaxGuide,children:V??q})]}),He,L&&(ae?o.jsx("input",{type:"number",className:ee.inputField,value:ye[1],onChange:Ce,onBlur:Ge,min:O[0],max:q,step:Y,disabled:P,"data-error":x?"true":void 0,"aria-label":"Maximum value"}):o.jsx("input",{type:"number",className:ee.inputField,value:ye,onChange:he,onBlur:Ne,min:H,max:q,step:Y,disabled:P,"data-error":x?"true":void 0}))]})})});er.displayName="Slider";const Bi="Stack-module__root___NUN-x",vo={root:Bi},or=i.forwardRef(function({children:e,gap:n="rec-default",...t},r){const a={root:vo.root},l=t.classNames;if(l&&typeof l=="object"&&!Array.isArray(l)){const p=l;a.root=p.root?`${vo.root} ${p.root}`:vo.root}const c=t.className,d=c?`${vo.root} ${c}`:vo.root;return o.jsx(u.Stack,{ref:r,className:d,classNames:a,...go({gap:n,...t}),children:e})});or.displayName="Stack";const Ui=u.createPolymorphicComponent(or),Gi="Stepper-module__root___jbSYO",Vi="Stepper-module__horizontal___USHT1",Hi="Stepper-module__steps___4HPO6",qi="Stepper-module__step___s2nqL",Ki="Stepper-module__stepBody___TBvys",Yi="Stepper-module__stepLabel___N6nuy",Zi="Stepper-module__stepDescription___DnDAy",Xi="Stepper-module__separator___pU0No",Qi="Stepper-module__vertical___d4mOs",Ji="Stepper-module__large___J18-y",ec="Stepper-module__small___Ub-zb",oc="Stepper-module__stepIcon___YQHNq",tc="Stepper-module__stepCompletedIcon___B9MeL",nc="Stepper-module__verticalSeparator___frWc1",rc="Stepper-module__content___J-h8X",ie={root:Gi,horizontal:Vi,steps:Hi,step:qi,stepBody:Ki,stepLabel:Yi,stepDescription:Zi,separator:Xi,vertical:Qi,large:Ji,small:ec,stepIcon:oc,stepCompletedIcon:tc,verticalSeparator:nc,content:rc},tr=i.forwardRef(function(e,n){const{overStyled:t=!1,size:r="large",orientation:a="horizontal",className:l,style:c,...d}=e,p=m(d,t),_=p,f=D({steps:ie.steps,step:ie.step,stepIcon:ie.stepIcon,stepCompletedIcon:ie.stepCompletedIcon,stepBody:ie.stepBody,stepLabel:ie.stepLabel,stepDescription:ie.stepDescription,separator:ie.separator,verticalSeparator:ie.verticalSeparator,content:ie.content},_.classNames);return o.jsx(u.Stepper,{ref:n,...p,orientation:a,className:`${ie.root} ${a==="horizontal"?ie.horizontal:ie.vertical} ${r==="large"?ie.large:ie.small} ${l||""}`,style:c,"data-size":r,"data-orientation":a,classNames:f})}),nr=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Stepper.Step,{ref:t,...r})});nr.displayName="Stepper.Step";const sc=Object.assign(tr,{Step:nr,Completed:u.Stepper.Completed});tr.displayName="Stepper";const ac="Switch-module__root___Y5Ydi",lc="Switch-module__track___7ObdZ",ic="Switch-module__body___Sw9Wr",cc="Switch-module__thumb___-FTeK",dc="Switch-module__labelWrapper___YSOwx",uc="Switch-module__label___LrH7V",pc="Switch-module__thumbIconWrapper___sCY-1",mc="Switch-module__checkIcon___ZBAQN",_c="Switch-module__closeIcon___bLLGw",fc="Switch-module__groupRoot___-Uepi",_e={root:ac,track:lc,body:ic,thumb:cc,labelWrapper:dc,label:uc,thumbIconWrapper:pc,checkIcon:mc,closeIcon:_c,groupRoot:fc},ct=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,description:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,className:w,style:S,children:g,readOnly:P,readOnlyComponent:y,emptyValueComponent:T,value:v,defaultValue:R,...M}=e,E=["size"],W=U(m(M,t),E),L=W;return o.jsx(fe,{className:w,style:S,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,labelElement:"div",formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,description:f,assistiveText:N,assistiveWithIcon:h,error:b,required:x,withAsterisk:$,id:C,readOnly:P&&!!y,readOnlyComponent:y,emptyValueComponent:T,readOnlyType:"text",readOnlyValue:v!==void 0?v:R,readOnlyNativeProps:e,activeComponent:o.jsx(u.Switch.Group,{ref:n,...W,disabled:P||L.disabled,value:v,defaultValue:R,children:o.jsx("div",{className:_e.groupRoot,"data-layout":r,children:g})})})});ct.displayName="SwitchGroup";const dt=i.forwardRef(function(e,n){const{overStyled:t=!1,readOnly:r,readOnlyComponent:a,disabled:l,thumbIcon:c,formLayout:d,labelSize:p,controlMaxWidth:_,controlMinWidth:f,...N}=e,h=["size","color","radius","variant"],b=U(m(N,t),h),x=b,$=D({root:_e.root,body:_e.body,track:_e.track,thumb:_e.thumb,trackLabel:_e.trackLabel,labelWrapper:_e.labelWrapper,label:_e.label},x.classNames),C=Rt({},x.styles),w=x.className,S=w?`${_e.root} ${w}`:_e.root;if(r&&a){const y=!!(x.checked??x.defaultChecked),T=a,v=o.jsx(T,{...e,checked:y,label:x.label});return d?o.jsx(De,{formLayout:d,labelSize:p,controlMaxWidth:_,controlMinWidth:f,children:v}):o.jsx(o.Fragment,{children:v})}const g=o.jsxs("div",{className:_e.thumbIconWrapper,children:[o.jsx(u.CheckIcon,{className:_e.checkIcon}),o.jsx(u.CloseIcon,{className:_e.closeIcon})]}),P=o.jsx(u.Switch,{ref:n,...b,className:S,classNames:$,styles:C,disabled:r||l,"data-disabled":r||l||void 0,thumbIcon:ce(g,c)});return d?o.jsx(De,{formLayout:d,labelSize:p,controlMaxWidth:_,controlMinWidth:f,children:P}):P});dt.displayName="Switch";dt.Group=ct;const yc="Table-module__root___aMWWS",hc="Table-module__sortIcon___V3-dH",Ho={root:yc,sortIcon:hc};function vc(s){return o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...s,children:o.jsx("polyline",{points:"18 15 12 9 6 15"})})}function xc(s){return o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...s,children:o.jsx("polyline",{points:"6 9 12 15 18 9"})})}const rr=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r.className,l=Ho.root,c=a?`${l} ${a}`:l;return o.jsx(u.Table,{ref:t,...r,className:c})});rr.displayName="Table";const sr=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Table.Thead,{ref:t,...r})});sr.displayName="TableThead";const ar=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Table.Tbody,{ref:t,...r})});ar.displayName="TableTbody";const lr=i.forwardRef(function({overStyled:e=!1,selected:n=!1,disabled:t=!1,...r},a){const l=m(r,e);return o.jsx(u.Table.Tr,{ref:a,...l,"data-selected":n?"true":void 0,"data-disabled":t?"true":void 0})});lr.displayName="TableTr";const ir=i.forwardRef(function({overStyled:e=!1,sorted:n=!1,disabled:t=!1,variant:r="default",children:a,...l},c){const d=m(l,e);return o.jsxs(u.Table.Th,{ref:c,...d,"data-sorted":n?"true":void 0,"data-disabled":t?"true":void 0,"data-currency":r==="currency"?"true":void 0,"aria-sort":n==="asc"?"ascending":n==="desc"?"descending":void 0,children:[a,n==="asc"&&o.jsx(vc,{className:Ho.sortIcon}),n==="desc"&&o.jsx(xc,{className:Ho.sortIcon})]})});ir.displayName="TableTh";const cr=i.forwardRef(function({overStyled:e=!1,disabled:n=!1,variant:t="default",...r},a){const l=m(r,e);return o.jsx(u.Table.Td,{ref:a,...l,"data-disabled":n?"true":void 0,"data-currency":t==="currency"?"true":void 0})});cr.displayName="TableTd";const dr=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Table.Tfoot,{ref:t,...r})});dr.displayName="TableTfoot";const ur=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Table.Caption,{ref:t,...r})});ur.displayName="TableCaption";const pr=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Table.ScrollContainer,{ref:t,...r})});pr.displayName="TableScrollContainer";const Be=rr;Be.Thead=sr;Be.Tbody=ar;Be.Tr=lr;Be.Th=ir;Be.Td=cr;Be.Tfoot=dr;Be.Caption=ur;Be.ScrollContainer=pr;const bc="Tabs-module__root___-VKVI",Nc="Tabs-module__list___qRVME",Cc="Tabs-module__tab___IdDYc",Pc="Tabs-module__panel___08i9c",jo={root:bc,list:Nc,tab:Cc,panel:Pc},mr=i.forwardRef(function(e,n){const{variant:t="default",orientation:r="horizontal",overStyled:a=!1,className:l,...c}=e,d=m(c,a),p=d,_=D({list:jo.list,tab:jo.tab,panel:jo.panel},p.classNames);return o.jsx(u.Tabs,{ref:n,...d,variant:t,orientation:r,className:`${jo.root} ${l||""}`,"data-variant":t,"data-orientation":r,classNames:_})});mr.displayName="Tabs";const _r=i.forwardRef(function(e,n){const{overStyled:t=!1,...r}=e;return o.jsx(u.Tabs.List,{ref:n,...m(r,t)})});_r.displayName="Tabs.List";const fr=i.forwardRef(function(e,n){const{overStyled:t=!1,...r}=e;return o.jsx(u.Tabs.Tab,{ref:n,...m(r,t)})});fr.displayName="Tabs.Tab";const yr=i.forwardRef(function(e,n){const{overStyled:t=!1,...r}=e;return o.jsx(u.Tabs.Panel,{ref:n,...m(r,t)})});yr.displayName="Tabs.Panel";const gc=Object.assign(mr,{List:_r,Tab:fr,Panel:yr}),wc="Text-module__root___rsBo7",Tc={root:wc},hr=i.forwardRef(function({overStyled:e=!1,variant:n="body",...t},r){const a=m(t,e),l=a.className,d=[`recursica_brand_typography_${n}`,Tc.root,l].filter(Boolean).join(" ");return o.jsx(u.Text,{ref:r,...a,className:d})});hr.displayName="Text";const Sc=u.createPolymorphicComponent(hr),$c="TextArea-module__layoutOverride___4MCdm",jc="TextArea-module__root___3dyeu",Rc="TextArea-module__input___8l36v",Ro={layoutOverride:$c,root:jc,input:Rc},Oc=["size","variant","radius"],vr=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,className:C,style:w,disabled:S,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,value:T,defaultValue:v,...R}=e,M=U(m(R,t),Oc),E=M,W=D({wrapper:Ro.root,input:Ro.input},E.classNames),L=C?`${Ro.layoutOverride} ${C}`:Ro.layoutOverride;return o.jsx(fe,{className:L,style:w,controlMaxWidth:"var(--textarea-control-max-width)",controlMinWidth:"var(--textarea-control-min-width)",overStyled:t,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:T!==void 0?T:v,readOnlyNativeProps:e,activeComponent:o.jsx(u.Textarea,{ref:n,...M,classNames:W,disabled:S,value:T,defaultValue:v,label:void 0,description:void 0,error:!!h,required:void 0,withAsterisk:void 0})})});vr.displayName="TextArea";const kc="TextField-module__layoutOverride___SNZqc",Ic="TextField-module__root___2ZYkG",Lc="TextField-module__input___RL-My",Mc="TextField-module__section___bCIJ0",xo={layoutOverride:kc,root:Ic,input:Lc,section:Mc},Ac=["size","variant","radius"],ut=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,className:C,style:w,disabled:S,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,value:T,defaultValue:v,...R}=e,M=U(m(R,t),Ac),E=M,W=D({wrapper:xo.root,input:xo.input,section:xo.section},E.classNames),L=C?`${xo.layoutOverride} ${C}`:xo.layoutOverride;return o.jsx(fe,{className:L,style:w,controlMaxWidth:"var(--text-field-control-max-width)",controlMinWidth:"var(--text-field-control-min-width)",overStyled:t,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:T!==void 0?T:v,readOnlyNativeProps:e,activeComponent:o.jsx(u.Input,{ref:n,...M,classNames:W,disabled:S,value:T,defaultValue:v,wrapperProps:{"data-disabled":S?"true":void 0,"data-error":h?"true":void 0}})})});ut.displayName="TextField";const Wc=["size","variant","radius"],xr=i.forwardRef(function(e,n){const{overStyled:t=!1,className:r,disabled:a,error:l,...c}=e,d=U(m(c,t),Wc),p=d,_=D({wrapper:r?`${oe.root} ${r}`:oe.root,input:oe.input,section:oe.section,dropdown:oe.dropdown,option:oe.option},p.classNames);return o.jsx(u.Select,{ref:n,...d,classNames:_,disabled:a,label:void 0,description:void 0,error:void 0,attributes:{wrapper:{"data-disabled":a?"true":void 0,"data-error":l?"true":void 0}}})});xr.displayName="BareDropdown";const zc="TimePicker-module__layoutOverride___zKo4Q",Dc="TimePicker-module__root___BcvRu",Ec="TimePicker-module__timeWrapper___hJVre",Fc="TimePicker-module__timeInput___FQysn",Bc="TimePicker-module__fieldsGroup___2yHhR",Uc="TimePicker-module__section___VkSWB",Gc="TimePicker-module__timeField___twRZd",Vc="TimePicker-module__amPmSelect___mSdvt",We={layoutOverride:zc,root:Dc,timeWrapper:Ec,timeInput:Fc,fieldsGroup:Bc,section:Uc,timeField:Gc,amPmSelect:Vc},Hc=[{value:"AM",label:"AM"},{value:"PM",label:"PM"}];function Pt(s){if(!s)return;const e=parseInt(s.slice(0,2),10);return Number.isNaN(e)?void 0:e}function qc(s,e){return`${String(e).padStart(2,"0")}${s.slice(2)}`}function Kc(s){if(!s)return;const[e,n,t]=s.split(":"),r=parseInt(e,10);if(Number.isNaN(r)||n===void 0)return s;const a=r>=12,l=r%12===0?12:r%12,c=t!==void 0?`${n}:${t}`:n;return`${l}:${c} ${a?"PM":"AM"}`}function Yc(s,e){var t;const n=(t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value"))==null?void 0:t.set;n==null||n.call(s,e),s.dispatchEvent(new Event("change",{bubbles:!0}))}const Zc=["size","variant","radius"],br=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,className:C,style:w,disabled:S,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,value:T,defaultValue:v,onChange:R,withSeconds:M,minTime:E,maxTime:W,...L}=e,K=U(m(L,t),Zc),H=K,[q,X]=i.useState(()=>T??v);i.useEffect(()=>{T!==void 0&&X(T)},[T]);const V=i.useRef(null);i.useEffect(()=>{Pt(T??v)===void 0&&V.current&&Yc(V.current,"AM")},[]);const Y=O=>{X(O),R==null||R(O)},J=Pt(q),de=J!==void 0&&J>=12,A=O=>{Y(O)},re=O=>{if(J===void 0||!q||!O)return;const ae=O==="PM";if(ae===de)return;const ye=ae?J+12:J-12;Y(qc(q,ye))},ue=C?`${We.layoutOverride} ${C}`:We.layoutOverride;return o.jsx(fe,{className:ue,style:w,controlMaxWidth:void 0,controlMinWidth:void 0,overStyled:t,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,onLabelEditClick:p,label:_,assistiveText:f,assistiveWithIcon:N,error:h,required:b,withAsterisk:x,id:$,readOnly:g,readOnlyComponent:P,emptyValueComponent:y,readOnlyType:"text",readOnlyValue:Kc(T!==void 0?T:v),readOnlyNativeProps:e,activeComponent:o.jsxs("div",{className:We.root,"data-disabled":S?"true":void 0,"data-error":h?"true":void 0,children:[o.jsx(Go.TimePicker,{ref:n,...K,classNames:D({wrapper:We.timeWrapper,input:We.timeInput,section:We.section,fieldsGroup:We.fieldsGroup,field:We.timeField},H.classNames),disabled:S,value:q,onChange:A,format:"12h",withSeconds:M,min:E,max:W,withDropdown:!1,amPmRef:V}),o.jsx(xr,{overStyled:!0,className:We.amPmSelect,styles:{wrapper:{width:"fit-content"}},data:Hc,value:de?"PM":"AM",onChange:re,disabled:S,error:!!h,"aria-label":"AM or PM"})]})})});br.displayName="TimePicker";const Xc="Timeline-module__root___LwRdZ",Qc="Timeline-module__item___T5xdQ",Jc="Timeline-module__itemBody___XAV-E",ed="Timeline-module__itemBullet___rPXCy",od="Timeline-module__itemTitle___GgRRW",td="Timeline-module__itemContent___vurs-",nd="Timeline-module__description___f9sxV",rd="Timeline-module__timestamp___owiRu",Xe={root:Xc,item:Qc,itemBody:Jc,itemBullet:ed,itemTitle:od,itemContent:td,description:nd,timestamp:rd},pt=i.forwardRef(function({overStyled:e=!1,timestamp:n,bulletVariant:t="default",children:r,...a},l){const c=m(a,e),d=c,p=D({item:Xe.item,itemBody:Xe.itemBody,itemContent:Xe.itemContent,itemBullet:Xe.itemBullet,itemTitle:Xe.itemTitle},d.classNames),_=n?o.jsxs(o.Fragment,{children:[r&&o.jsx("div",{className:Xe.description,children:r}),o.jsx("div",{className:Xe.timestamp,children:n})]}):r;return o.jsx(u.TimelineItem,{ref:l,...c,classNames:p,"data-variant":t,children:_})});pt.displayName="TimelineItem";const Nr=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e),a=r,l=D({root:Xe.root},a.classNames);return o.jsx(u.Timeline,{ref:t,...r,classNames:l})});Nr.displayName="Timeline";const Cr=Nr;Cr.Item=pt;const sd="Toast-module__root___MUvfI",ad="Toast-module__icon___VwvE1",ld="Toast-module__loader___8Gxd-",id="Toast-module__title___-H6R2",cd="Toast-module__description___-QwfC",dd="Toast-module__closeButton___vGr7g",ud="Toast-module__body___VLkXA",ao={root:sd,icon:ad,loader:ld,title:id,description:cd,closeButton:dd,body:ud},Pr=i.forwardRef(function({overStyled:e=!1,variant:n="default",withCloseButton:t=!0,...r},a){const l=["color","radius","loading"],c=U(m(r,e),l),d=D({root:ao.root,body:ao.body,title:ao.title,description:ao.description,closeButton:ao.closeButton,icon:ao.icon,loader:ao.loader},c.classNames);return o.jsx(u.Notification,{ref:a,...c,withCloseButton:t,withBorder:!1,"data-variant":n,classNames:d,loading:!1})});Pr.displayName="Toast";const pd="Tooltip-module__tooltip___UA7H9",md="Tooltip-module__arrow___4zROk",gt={tooltip:pd,arrow:md},gr=function({overStyled:e=!1,withBeak:n=!0,position:t="top",arrowSize:r=16,...a}){const l=m(a,e),c=l,d=D({tooltip:gt.tooltip,arrow:gt.arrow},c.classNames),p=c.withArrow,_=n??p;return o.jsx(u.Tooltip,{...l,position:t,arrowSize:r,withArrow:_,multiline:!0,classNames:d})};gr.displayName="Tooltip";const wr=i.forwardRef(function({overStyled:e=!1,...n},t){const r=m(n,e);return o.jsx(u.Tooltip.Floating,{ref:t,...r})});wr.displayName="TooltipFloating";const mt=gr;mt.Floating=wr;mt.Group=u.Tooltip.Group;const _d="TransferList-module__layoutOverride___nkb32",fd="TransferList-module__root___ikjI7",yd="TransferList-module__panes___dtwkW",hd="TransferList-module__pane___hy-kC",vd="TransferList-module__paneHeader___HZrKX",xd="TransferList-module__paneSearch___Xji-g",bd="TransferList-module__paneList___v0rcJ",Nd="TransferList-module__emptyState___azPw-",Cd="TransferList-module__transferColumn___3R2Ki",Pd="TransferList-module__chevron___l-KdI",be={layoutOverride:_d,root:fd,panes:yd,pane:hd,paneHeader:vd,paneSearch:xd,paneList:bd,emptyState:Nd,transferColumn:Cd,chevron:Pd};function wt({direction:s}){return o.jsx("svg",{className:be.chevron,"data-direction":s,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M6 3l5 5-5 5"})})}function Tt({direction:s}){return o.jsx("svg",{className:be.chevron,"data-direction":s,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M3 3l5 5-5 5M9 3l5 5-5 5"})})}function gd(s){const e={},n=[];return s.forEach(t=>{var r;t.group?(e[r=t.group]??(e[r]=[])).push(t):n.push(t)}),{groups:e,ungrouped:n}}const Tr=i.forwardRef(function(e,n){const{overStyled:t=!1,formLayout:r="stacked",labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:_,label:f,assistiveText:N,description:h,helperText:b,assistiveWithIcon:x,error:$,required:C,id:w,readOnly:S,readOnlyComponent:g,emptyValueComponent:P,data:y,defaultData:T,onChange:v,sourceLabel:R="Available",targetLabel:M="Selected",searchable:E=!0,searchPlaceholder:W="Filter items...",disabled:L=!1,className:K,style:H,...q}=e,X=m(q,t),V=i.useId(),Y=w||`recursica-transfer-list-${V}`,[J,de]=i.useState(()=>T??y??[[],[]]),A=y!==void 0?y:J,re=i.useCallback(G=>{y===void 0&&de(G),v==null||v(G)},[y,v]),[ue,O]=i.useState(""),[ae,ye]=i.useState(""),[se,le]=i.useState(()=>new Set),[he,Ne]=i.useState(()=>new Set),Ue=i.useMemo(()=>{if(!ue)return A[0];const G=ue.toLowerCase();return A[0].filter(F=>F.label.toLowerCase().includes(G))},[A,ue]),Ce=i.useMemo(()=>{if(!ae)return A[1];const G=ae.toLowerCase();return A[1].filter(F=>F.label.toLowerCase().includes(G))},[A,ae]),Ge=i.useCallback(()=>{if(se.size===0)return;const G=A[0].filter(z=>!se.has(z.value)),F=A[0].filter(z=>se.has(z.value));le(new Set),re([G,[...A[1],...F]])},[A,se,re]),Le=i.useCallback(()=>{if(he.size===0)return;const G=A[1].filter(z=>!he.has(z.value)),F=A[1].filter(z=>he.has(z.value));Ne(new Set),re([[...A[0],...F],G])},[A,he,re]),Me=i.useCallback(()=>{A[0].length!==0&&(le(new Set),re([[],[...A[1],...A[0]]]))},[A,re]),to=i.useCallback(()=>{A[1].length!==0&&(Ne(new Set),re([[...A[0],...A[1]],[]]))},[A,re]),Pe=i.useCallback(G=>{le(F=>{const z=new Set(F);return z.has(G)?z.delete(G):z.add(G),z})},[]),Ve=i.useCallback(G=>{Ne(F=>{const z=new Set(F);return z.has(G)?z.delete(G):z.add(G),z})},[]),ge=(G,F,z,k,B,Z,pe,qe)=>{const{groups:no,ungrouped:j}=gd(z),te=Object.keys(no).sort(),ne=B.size>0?`${B.size} / ${k.length}`:`${k.length}`;return o.jsxs("div",{className:be.pane,"data-pane":G,children:[o.jsxs("div",{className:be.paneHeader,children:[o.jsx("span",{children:F}),o.jsx(zt,{children:ne})]}),E&&o.jsx("div",{className:be.paneSearch,children:o.jsx(ut,{value:pe,onChange:Q=>qe(Q.currentTarget.value),placeholder:W,disabled:L,"aria-label":`Filter ${F.toLowerCase()}`})}),o.jsxs("div",{className:be.paneList,children:[z.length===0&&o.jsx("div",{className:be.emptyState,children:"No items"}),j.length>0&&o.jsx(No,{children:j.map(Q=>o.jsx(Co,{id:`${Y}-${G}-${Q.value}`,label:Q.label,checked:B.has(Q.value),onChange:()=>Z(Q.value),disabled:L},Q.value))}),te.map(Q=>o.jsx(No,{label:Q,labelSize:"small",children:no[Q].map(me=>o.jsx(Co,{id:`${Y}-${G}-${me.value}`,label:me.label,checked:B.has(me.value),onChange:()=>Z(me.value),disabled:L},me.value))},Q))]})]})},He=K?`${be.layoutOverride} ${K}`:be.layoutOverride;return o.jsx(fe,{ref:n,formLayout:r,labelSize:a,labelAlignment:l,labelOptionalText:c,labelWithEditIcon:d,labelActionArea:p,onLabelEditClick:_,label:f,assistiveText:N,description:h,helperText:b,assistiveWithIcon:x,error:$,required:C,id:Y,className:He,style:H,overStyled:t,readOnly:S,readOnlyComponent:g,emptyValueComponent:P,readOnlyType:"text",readOnlyValue:A[1].map(G=>G.label),readOnlyNativeProps:e,activeComponent:o.jsx("div",{...X,className:be.root,"data-disabled":L?"true":void 0,"data-error":$?"true":void 0,children:o.jsxs("div",{className:be.panes,children:[ge("source",R,Ue,A[0],se,Pe,ue,O),o.jsxs("div",{className:be.transferColumn,children:[o.jsx(eo,{variant:"outline",size:"small",icon:o.jsx(Tt,{direction:"right"}),"aria-label":`Move all to ${M}`,disabled:L||A[0].length===0,onClick:Me}),o.jsx(eo,{variant:"outline",size:"small",icon:o.jsx(wt,{direction:"right"}),"aria-label":`Move selected to ${M}`,disabled:L||se.size===0,onClick:Ge}),o.jsx(eo,{variant:"outline",size:"small",icon:o.jsx(wt,{direction:"left"}),"aria-label":`Move selected to ${R}`,disabled:L||he.size===0,onClick:Le}),o.jsx(eo,{variant:"outline",size:"small",icon:o.jsx(Tt,{direction:"left"}),"aria-label":`Move all to ${R}`,disabled:L||A[1].length===0,onClick:to})]}),ge("target",M,Ce,A[1],he,Ve,ae,ye)]})})})});Tr.displayName="TransferList";const wd="Tree-module__root___ANcH3",Td="Tree-module__subtree___KoLT8",Sd="Tree-module__node___Hvnjg",$d="Tree-module__row___sq5ff",jd="Tree-module__label___zJDit",Rd="Tree-module__expandButton___W0WTT",Od="Tree-module__expandGlyph___w8dDQ",oo={root:wd,subtree:Td,node:Sd,row:$d,label:jd,expandButton:Rd,expandGlyph:Od};function kd(){return o.jsx("svg",{className:oo.expandGlyph,viewBox:"0 0 16 16",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:o.jsx("path",{d:"M5 3l5 5-5 5"})})}function Id(s){return function({node:n,hasChildren:t,expanded:r,selected:a,tree:l,elementProps:c}){return o.jsxs("div",{...c,className:oo.row,"data-has-children":t||void 0,"data-expanded":t&&r?!0:void 0,children:[o.jsx(eo,{overStyled:!0,variant:"text",size:"small",icon:o.jsx(kd,{}),"aria-label":"Toggle subtree","aria-hidden":"true",tabIndex:-1,className:oo.expandButton,onMouseDown:d=>d.preventDefault(),onClick:d=>{d.stopPropagation(),!s&&l.toggleExpanded(n.value)}}),o.jsx("span",{className:oo.label,"data-selected":a||void 0,children:n.label})]})}}const Sr=i.forwardRef(function({overStyled:e=!1,data:n,initialExpandedValues:t,initialSelectedValues:r,multiple:a=!1,disabled:l=!1,onNodeExpand:c,onNodeCollapse:d,onSelectedChange:p,..._},f){const N=m(_,e),h=u.useTree({initialExpandedState:t?u.getTreeExpandedState(n,t):void 0,initialSelectedState:r,multiple:a,onNodeExpand:c,onNodeCollapse:d});i.useEffect(()=>{p==null||p(h.selectedState)},[h.selectedState,p]);const b=i.useRef(null);i.useEffect(()=>{const S=b.current;if(!S)return;const g=P=>{if(l||P.key!=="Enter"&&P.key!==" ")return;const y=P.target.closest('[role="treeitem"]'),T=y==null?void 0:y.dataset.value;T&&(P.preventDefault(),h.select(T))};return S.addEventListener("keydown",g),()=>S.removeEventListener("keydown",g)},[h.select,l]),i.useEffect(()=>{const S=b.current;if(!S||!l)return;const g=P=>{P.preventDefault(),P.stopPropagation()};return S.addEventListener("keydown",g,{capture:!0}),()=>S.removeEventListener("keydown",g,{capture:!0})},[l]);const x=jr.useMergedRef(f,b),$=N,C=$.className,w=C?`${oo.root} ${C}`:oo.root;return o.jsx(u.Tree,{ref:x,...N,data:n,tree:h,expandOnClick:!1,selectOnClick:!l,expandOnSpace:!1,renderNode:Id(l),"data-disabled":l||void 0,classNames:D({root:w,node:oo.node,subtree:oo.subtree},$.classNames)})});Sr.displayName="Tree";const Ld=rl,Md=nn,Ad=tn,Wd=rn,zd=Ui,Dd=Kt,Ed=yl,Fd=Sc,Bd=I(Wo),Ud=I(Qo),Gd=I(Mo),Vd=I(Ao),Hd=I(Io),qd=I(Mt),Kd=I(ks),Yd=I(zt),Zd=I(Dt),Xd=I(eo),Qd=I(Zs),Jd=I(Co),eu=I(No),ou=I(Po),tu=I(Yt),nu=I(Zt),ru=I(Xt),su=I(Qt),au=I(De),lu=I(sn),iu=I(tt),cu=I(ot),du=I(Jo),uu=I(lo),pu=I(Fe),mu=I($n),_u=I(ke),fu=I(Ie),yu=I(st),hu=I(at),vu=I(it),xu=I(lt),bu=I(et),Nu=I(gi),Cu=I(er),Pu=I(sc),gu=I(dt),wu=I(ct),Tu=I(Be),Su=I(gc),$u=I(vr),ju=I(ut),Ru=I(br),Ou=I(Cr),ku=I(pt),Iu=I(Pr),Lu=I(mt),Mu=I(Tr),Au=I(Sr);exports.Accordion=Bd;exports.AccordionControl=Gd;exports.AccordionItem=Ud;exports.AccordionPanel=Vd;exports.AssistiveElement=Hd;exports.AutoComplete=qd;exports.Avatar=Kd;exports.Badge=Yd;exports.Breadcrumb=Zd;exports.Button=Xd;exports.Card=Qd;exports.Checkbox=Jd;exports.CheckboxGroup=eu;exports.Chip=ou;exports.Container=Dd;exports.DatePicker=tu;exports.Dropdown=nu;exports.EmptyValueRenderer=bo;exports.FileInput=ru;exports.FileUpload=su;exports.Flex=Ld;exports.FormControlLayout=au;exports.Grid=Md;exports.GridCol=Ad;exports.Group=Wd;exports.Heading=lu;exports.HoverCard=iu;exports.IS_DEV=Oe;exports.Label=du;exports.Layer=qo;exports.Link=Ed;exports.Loader=cu;exports.Menu=uu;exports.Modal=pu;exports.NumberInput=mu;exports.Pagination=_u;exports.Panel=fu;exports.PanelFooter=yu;exports.Popover=hu;exports.RECURSICA_COMPONENTS=Mr;exports.Radio=vu;exports.RadioGroup=xu;exports.ReadOnlyField=bu;exports.RecursicaThemeProvider=Lr;exports.SegmentedControl=Nu;exports.Slider=Cu;exports.Stack=zd;exports.Stepper=Pu;exports.Switch=gu;exports.SwitchGroup=wu;exports.Table=Tu;exports.Tabs=Su;exports.Text=Fd;exports.TextArea=$u;exports.TextField=ju;exports.TimePicker=Ru;exports.Timeline=Ou;exports.TimelineItem=ku;exports.Toast=Iu;exports.Tooltip=Lu;exports.TransferList=Mu;exports.Tree=Au;exports.copyToClipboard=Ar;exports.fileMatchesAccept=Zo;exports.injectOverStyledStyles=Ko;exports.isGlobalOverStyledActive=Ir;exports.markCurrentPageItem=jt;exports.mergeClassNames=D;exports.mergeStyles=Rt;exports.normalizeComboboxData=Xo;exports.omitUnsupportedProps=U;exports.registerOverStyledConsoleCommand=Yo;exports.toggleGlobalOverStyled=St;exports.useGlobalOverStyled=$t;exports.withCallerOverride=ce;exports.wrapComponent=I;
12
+ //# sourceMappingURL=adapter-mantine-v8.cjs.map