@next-degree/pickle-shared-js 0.12.6 → 0.13.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 (349) hide show
  1. package/dist/{company_service_sanity-2J1ZuUnu.d.cts → company_service_sanity-BzaIPM-N.d.ts} +2297 -2297
  2. package/dist/{company_service_sanity-KaAGfnNV.d.ts → company_service_sanity-Zy8TiORb.d.cts} +2297 -2297
  3. package/dist/components/buttons/BackButton.cjs +5 -8
  4. package/dist/components/buttons/BackButton.cjs.map +1 -1
  5. package/dist/components/buttons/BackButton.d.cts +2 -2
  6. package/dist/components/buttons/BackButton.d.ts +2 -2
  7. package/dist/components/buttons/BackButton.js +5 -8
  8. package/dist/components/buttons/BackButton.js.map +1 -1
  9. package/dist/components/company/CompanyBenefits.cjs +1 -5
  10. package/dist/components/company/CompanyBenefits.cjs.map +1 -1
  11. package/dist/components/company/CompanyBenefits.d.cts +2 -2
  12. package/dist/components/company/CompanyBenefits.d.ts +2 -2
  13. package/dist/components/company/CompanyBenefits.js +1 -5
  14. package/dist/components/company/CompanyBenefits.js.map +1 -1
  15. package/dist/components/company/CompanyInformation.cjs +23 -44
  16. package/dist/components/company/CompanyInformation.cjs.map +1 -1
  17. package/dist/components/company/CompanyInformation.d.cts +2 -2
  18. package/dist/components/company/CompanyInformation.d.ts +2 -2
  19. package/dist/components/company/CompanyInformation.js +23 -44
  20. package/dist/components/company/CompanyInformation.js.map +1 -1
  21. package/dist/components/company/CompanyTake.cjs +12 -26
  22. package/dist/components/company/CompanyTake.cjs.map +1 -1
  23. package/dist/components/company/CompanyTake.d.cts +2 -2
  24. package/dist/components/company/CompanyTake.d.ts +2 -2
  25. package/dist/components/company/CompanyTake.js +12 -26
  26. package/dist/components/company/CompanyTake.js.map +1 -1
  27. package/dist/components/jobCard/JobLocation.cjs +23 -34
  28. package/dist/components/jobCard/JobLocation.cjs.map +1 -1
  29. package/dist/components/jobCard/JobLocation.d.cts +3 -3
  30. package/dist/components/jobCard/JobLocation.d.ts +3 -3
  31. package/dist/components/jobCard/JobLocation.js +23 -34
  32. package/dist/components/jobCard/JobLocation.js.map +1 -1
  33. package/dist/components/jobPost/JobDescription.cjs +164 -30
  34. package/dist/components/jobPost/JobDescription.cjs.map +1 -1
  35. package/dist/components/jobPost/JobDescription.d.cts +2 -2
  36. package/dist/components/jobPost/JobDescription.d.ts +2 -2
  37. package/dist/components/jobPost/JobDescription.js +164 -30
  38. package/dist/components/jobPost/JobDescription.js.map +1 -1
  39. package/dist/components/jobPost/JobHeader.cjs +110 -138
  40. package/dist/components/jobPost/JobHeader.cjs.map +1 -1
  41. package/dist/components/jobPost/JobHeader.d.cts +2 -2
  42. package/dist/components/jobPost/JobHeader.d.ts +2 -2
  43. package/dist/components/jobPost/JobHeader.js +110 -138
  44. package/dist/components/jobPost/JobHeader.js.map +1 -1
  45. package/dist/components/jobPost/JobPost.cjs +382 -318
  46. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  47. package/dist/components/jobPost/JobPost.d.cts +3 -3
  48. package/dist/components/jobPost/JobPost.d.ts +3 -3
  49. package/dist/components/jobPost/JobPost.js +344 -280
  50. package/dist/components/jobPost/JobPost.js.map +1 -1
  51. package/dist/components/primitives/avatar.cjs +3 -4
  52. package/dist/components/primitives/avatar.cjs.map +1 -1
  53. package/dist/components/primitives/avatar.js +3 -4
  54. package/dist/components/primitives/avatar.js.map +1 -1
  55. package/dist/components/primitives/command.cjs +37 -50
  56. package/dist/components/primitives/command.cjs.map +1 -1
  57. package/dist/components/primitives/command.d.cts +5 -6
  58. package/dist/components/primitives/command.d.ts +5 -6
  59. package/dist/components/primitives/command.js +37 -50
  60. package/dist/components/primitives/command.js.map +1 -1
  61. package/dist/components/primitives/dialog.cjs +18 -27
  62. package/dist/components/primitives/dialog.cjs.map +1 -1
  63. package/dist/components/primitives/dialog.d.cts +2 -3
  64. package/dist/components/primitives/dialog.d.ts +2 -3
  65. package/dist/components/primitives/dialog.js +18 -27
  66. package/dist/components/primitives/dialog.js.map +1 -1
  67. package/dist/components/primitives/input-otp.cjs +8 -11
  68. package/dist/components/primitives/input-otp.cjs.map +1 -1
  69. package/dist/components/primitives/input-otp.d.cts +2 -2
  70. package/dist/components/primitives/input-otp.d.ts +2 -2
  71. package/dist/components/primitives/input-otp.js +8 -11
  72. package/dist/components/primitives/input-otp.js.map +1 -1
  73. package/dist/components/primitives/popover.cjs +2 -3
  74. package/dist/components/primitives/popover.cjs.map +1 -1
  75. package/dist/components/primitives/popover.js +2 -3
  76. package/dist/components/primitives/popover.js.map +1 -1
  77. package/dist/components/primitives/radio-group.cjs +12 -16
  78. package/dist/components/primitives/radio-group.cjs.map +1 -1
  79. package/dist/components/primitives/radio-group.js +12 -16
  80. package/dist/components/primitives/radio-group.js.map +1 -1
  81. package/dist/components/primitives/separator.cjs +1 -2
  82. package/dist/components/primitives/separator.cjs.map +1 -1
  83. package/dist/components/primitives/separator.js +1 -2
  84. package/dist/components/primitives/separator.js.map +1 -1
  85. package/dist/components/primitives/tooltip.cjs +1 -2
  86. package/dist/components/primitives/tooltip.cjs.map +1 -1
  87. package/dist/components/primitives/tooltip.js +1 -2
  88. package/dist/components/primitives/tooltip.js.map +1 -1
  89. package/dist/components/ui/Avatar.cjs +6 -11
  90. package/dist/components/ui/Avatar.cjs.map +1 -1
  91. package/dist/components/ui/Avatar.d.cts +3 -3
  92. package/dist/components/ui/Avatar.d.ts +3 -3
  93. package/dist/components/ui/Avatar.js +6 -11
  94. package/dist/components/ui/Avatar.js.map +1 -1
  95. package/dist/components/ui/Badge.cjs +12 -2
  96. package/dist/components/ui/Badge.cjs.map +1 -1
  97. package/dist/components/ui/Badge.d.cts +1 -2
  98. package/dist/components/ui/Badge.d.ts +1 -2
  99. package/dist/components/ui/Badge.js +2 -2
  100. package/dist/components/ui/Badge.js.map +1 -1
  101. package/dist/components/ui/Button.cjs +163 -8
  102. package/dist/components/ui/Button.cjs.map +1 -1
  103. package/dist/components/ui/Button.d.cts +4 -8
  104. package/dist/components/ui/Button.d.ts +4 -8
  105. package/dist/components/ui/Button.js +153 -8
  106. package/dist/components/ui/Button.js.map +1 -1
  107. package/dist/components/ui/Checkbox.cjs +18 -28
  108. package/dist/components/ui/Checkbox.cjs.map +1 -1
  109. package/dist/components/ui/Checkbox.js +18 -28
  110. package/dist/components/ui/Checkbox.js.map +1 -1
  111. package/dist/components/ui/Chip.cjs +12 -2
  112. package/dist/components/ui/Chip.cjs.map +1 -1
  113. package/dist/components/ui/Chip.d.cts +2 -3
  114. package/dist/components/ui/Chip.d.ts +2 -3
  115. package/dist/components/ui/Chip.js +2 -2
  116. package/dist/components/ui/Chip.js.map +1 -1
  117. package/dist/components/ui/Combobox.cjs +171 -233
  118. package/dist/components/ui/Combobox.cjs.map +1 -1
  119. package/dist/components/ui/Combobox.js +171 -233
  120. package/dist/components/ui/Combobox.js.map +1 -1
  121. package/dist/components/ui/Counter.cjs +56 -74
  122. package/dist/components/ui/Counter.cjs.map +1 -1
  123. package/dist/components/ui/Counter.js +56 -74
  124. package/dist/components/ui/Counter.js.map +1 -1
  125. package/dist/components/ui/DatePicker.cjs +44 -68
  126. package/dist/components/ui/DatePicker.cjs.map +1 -1
  127. package/dist/components/ui/DatePicker.js +44 -68
  128. package/dist/components/ui/DatePicker.js.map +1 -1
  129. package/dist/components/ui/DismissibleBanner.cjs +13 -16
  130. package/dist/components/ui/DismissibleBanner.cjs.map +1 -1
  131. package/dist/components/ui/DismissibleBanner.d.cts +2 -2
  132. package/dist/components/ui/DismissibleBanner.d.ts +2 -2
  133. package/dist/components/ui/DismissibleBanner.js +13 -16
  134. package/dist/components/ui/DismissibleBanner.js.map +1 -1
  135. package/dist/components/ui/ErrorMessage.cjs +1 -2
  136. package/dist/components/ui/ErrorMessage.cjs.map +1 -1
  137. package/dist/components/ui/ErrorMessage.d.cts +2 -2
  138. package/dist/components/ui/ErrorMessage.d.ts +2 -2
  139. package/dist/components/ui/ErrorMessage.js +1 -2
  140. package/dist/components/ui/ErrorMessage.js.map +1 -1
  141. package/dist/components/ui/Icon.cjs +1 -2
  142. package/dist/components/ui/Icon.cjs.map +1 -1
  143. package/dist/components/ui/Icon.js +1 -2
  144. package/dist/components/ui/Icon.js.map +1 -1
  145. package/dist/components/ui/Input.cjs +48 -68
  146. package/dist/components/ui/Input.cjs.map +1 -1
  147. package/dist/components/ui/Input.js +48 -68
  148. package/dist/components/ui/Input.js.map +1 -1
  149. package/dist/components/ui/InputOtp.cjs +56 -73
  150. package/dist/components/ui/InputOtp.cjs.map +1 -1
  151. package/dist/components/ui/InputOtp.js +56 -73
  152. package/dist/components/ui/InputOtp.js.map +1 -1
  153. package/dist/components/ui/Label.cjs +14 -24
  154. package/dist/components/ui/Label.cjs.map +1 -1
  155. package/dist/components/ui/Label.d.cts +2 -2
  156. package/dist/components/ui/Label.d.ts +2 -2
  157. package/dist/components/ui/Label.js +14 -24
  158. package/dist/components/ui/Label.js.map +1 -1
  159. package/dist/components/ui/LinkButton.cjs +5 -5
  160. package/dist/components/ui/LinkButton.cjs.map +1 -1
  161. package/dist/components/ui/LinkButton.d.cts +1 -2
  162. package/dist/components/ui/LinkButton.d.ts +1 -2
  163. package/dist/components/ui/LinkButton.js +5 -5
  164. package/dist/components/ui/LinkButton.js.map +1 -1
  165. package/dist/components/ui/ListItem.cjs +32 -48
  166. package/dist/components/ui/ListItem.cjs.map +1 -1
  167. package/dist/components/ui/ListItem.d.cts +2 -2
  168. package/dist/components/ui/ListItem.d.ts +2 -2
  169. package/dist/components/ui/ListItem.js +32 -48
  170. package/dist/components/ui/ListItem.js.map +1 -1
  171. package/dist/components/ui/Map/ClusterMarker.cjs +80 -0
  172. package/dist/components/ui/Map/ClusterMarker.cjs.map +1 -0
  173. package/dist/components/ui/Map/ClusterMarker.d.cts +6 -0
  174. package/dist/components/ui/Map/ClusterMarker.d.ts +6 -0
  175. package/dist/components/ui/Map/ClusterMarker.js +56 -0
  176. package/dist/components/ui/Map/ClusterMarker.js.map +1 -0
  177. package/dist/components/ui/Map/FocusCircle.cjs +86 -0
  178. package/dist/components/ui/Map/FocusCircle.cjs.map +1 -0
  179. package/dist/components/ui/Map/FocusCircle.d.cts +5 -0
  180. package/dist/components/ui/Map/FocusCircle.d.ts +5 -0
  181. package/dist/components/ui/Map/FocusCircle.js +62 -0
  182. package/dist/components/ui/Map/FocusCircle.js.map +1 -0
  183. package/dist/components/ui/Map/IndividualMarker.cjs +60 -0
  184. package/dist/components/ui/Map/IndividualMarker.cjs.map +1 -0
  185. package/dist/components/ui/Map/IndividualMarker.d.cts +6 -0
  186. package/dist/components/ui/Map/IndividualMarker.d.ts +6 -0
  187. package/dist/components/ui/Map/IndividualMarker.js +36 -0
  188. package/dist/components/ui/Map/IndividualMarker.js.map +1 -0
  189. package/dist/components/ui/Map/MapComponent.cjs +401 -0
  190. package/dist/components/ui/Map/MapComponent.cjs.map +1 -0
  191. package/dist/components/ui/Map/MapComponent.d.cts +6 -0
  192. package/dist/components/ui/Map/MapComponent.d.ts +6 -0
  193. package/dist/components/ui/Map/MapComponent.js +367 -0
  194. package/dist/components/ui/Map/MapComponent.js.map +1 -0
  195. package/dist/components/ui/Map/MapContent.cjs +279 -0
  196. package/dist/components/ui/Map/MapContent.cjs.map +1 -0
  197. package/dist/components/ui/Map/MapContent.d.cts +6 -0
  198. package/dist/components/ui/Map/MapContent.d.ts +6 -0
  199. package/dist/components/ui/Map/MapContent.js +255 -0
  200. package/dist/components/ui/Map/MapContent.js.map +1 -0
  201. package/dist/components/ui/Map/clustering.cjs +105 -0
  202. package/dist/components/ui/Map/clustering.cjs.map +1 -0
  203. package/dist/components/ui/Map/clustering.d.cts +17 -0
  204. package/dist/components/ui/Map/clustering.d.ts +17 -0
  205. package/dist/components/ui/Map/clustering.js +77 -0
  206. package/dist/components/ui/Map/clustering.js.map +1 -0
  207. package/dist/components/ui/Map/constants.cjs +65 -0
  208. package/dist/components/ui/Map/constants.cjs.map +1 -0
  209. package/dist/components/ui/Map/constants.d.cts +28 -0
  210. package/dist/components/ui/Map/constants.d.ts +28 -0
  211. package/dist/components/ui/Map/constants.js +34 -0
  212. package/dist/components/ui/Map/constants.js.map +1 -0
  213. package/dist/components/ui/Map/hooks.cjs +96 -0
  214. package/dist/components/ui/Map/hooks.cjs.map +1 -0
  215. package/dist/components/ui/Map/hooks.d.cts +17 -0
  216. package/dist/components/ui/Map/hooks.d.ts +17 -0
  217. package/dist/components/ui/Map/hooks.js +59 -0
  218. package/dist/components/ui/Map/hooks.js.map +1 -0
  219. package/dist/components/ui/Map/index.cjs +402 -0
  220. package/dist/components/ui/Map/index.cjs.map +1 -0
  221. package/dist/components/ui/Map/index.d.cts +3 -0
  222. package/dist/components/ui/Map/index.d.ts +3 -0
  223. package/dist/components/ui/Map/index.js +365 -0
  224. package/dist/components/ui/Map/index.js.map +1 -0
  225. package/dist/components/ui/Map/types.cjs +19 -0
  226. package/dist/components/ui/Map/types.cjs.map +1 -0
  227. package/dist/components/ui/Map/types.d.cts +82 -0
  228. package/dist/components/ui/Map/types.d.ts +82 -0
  229. package/dist/components/ui/Map/types.js +1 -0
  230. package/dist/components/ui/Map/types.js.map +1 -0
  231. package/dist/components/ui/Map/utils.cjs +80 -0
  232. package/dist/components/ui/Map/utils.cjs.map +1 -0
  233. package/dist/components/ui/Map/utils.d.cts +9 -0
  234. package/dist/components/ui/Map/utils.d.ts +9 -0
  235. package/dist/components/ui/Map/utils.js +49 -0
  236. package/dist/components/ui/Map/utils.js.map +1 -0
  237. package/dist/components/ui/PlacesQueryInput.cjs +71 -94
  238. package/dist/components/ui/PlacesQueryInput.cjs.map +1 -1
  239. package/dist/components/ui/PlacesQueryInput.d.cts +2 -2
  240. package/dist/components/ui/PlacesQueryInput.d.ts +2 -2
  241. package/dist/components/ui/PlacesQueryInput.js +71 -94
  242. package/dist/components/ui/PlacesQueryInput.js.map +1 -1
  243. package/dist/components/ui/Radio.cjs +49 -69
  244. package/dist/components/ui/Radio.cjs.map +1 -1
  245. package/dist/components/ui/Radio.js +49 -69
  246. package/dist/components/ui/Radio.js.map +1 -1
  247. package/dist/components/ui/ReadMore.cjs +163 -25
  248. package/dist/components/ui/ReadMore.cjs.map +1 -1
  249. package/dist/components/ui/ReadMore.d.cts +2 -2
  250. package/dist/components/ui/ReadMore.d.ts +2 -2
  251. package/dist/components/ui/ReadMore.js +163 -25
  252. package/dist/components/ui/ReadMore.js.map +1 -1
  253. package/dist/components/ui/Select.cjs +139 -160
  254. package/dist/components/ui/Select.cjs.map +1 -1
  255. package/dist/components/ui/Select.d.cts +10 -2
  256. package/dist/components/ui/Select.d.ts +10 -2
  257. package/dist/components/ui/Select.js +133 -154
  258. package/dist/components/ui/Select.js.map +1 -1
  259. package/dist/components/ui/StepTabs.cjs +24 -27
  260. package/dist/components/ui/StepTabs.cjs.map +1 -1
  261. package/dist/components/ui/StepTabs.d.cts +3 -3
  262. package/dist/components/ui/StepTabs.d.ts +3 -3
  263. package/dist/components/ui/StepTabs.js +24 -27
  264. package/dist/components/ui/StepTabs.js.map +1 -1
  265. package/dist/components/ui/Switch.cjs +13 -21
  266. package/dist/components/ui/Switch.cjs.map +1 -1
  267. package/dist/components/ui/Switch.js +13 -21
  268. package/dist/components/ui/Switch.js.map +1 -1
  269. package/dist/components/ui/buttonShadcn.cjs +1 -2
  270. package/dist/components/ui/buttonShadcn.cjs.map +1 -1
  271. package/dist/components/ui/buttonShadcn.js +1 -2
  272. package/dist/components/ui/buttonShadcn.js.map +1 -1
  273. package/dist/components/ui/calendar.cjs +5 -6
  274. package/dist/components/ui/calendar.cjs.map +1 -1
  275. package/dist/components/ui/calendar.d.cts +1 -2
  276. package/dist/components/ui/calendar.d.ts +1 -2
  277. package/dist/components/ui/calendar.js +5 -6
  278. package/dist/components/ui/calendar.js.map +1 -1
  279. package/dist/contexts/WindowHistoryProvider.cjs +1 -2
  280. package/dist/contexts/WindowHistoryProvider.cjs.map +1 -1
  281. package/dist/contexts/WindowHistoryProvider.d.cts +1 -2
  282. package/dist/contexts/WindowHistoryProvider.d.ts +1 -2
  283. package/dist/contexts/WindowHistoryProvider.js +1 -2
  284. package/dist/contexts/WindowHistoryProvider.js.map +1 -1
  285. package/dist/{displayText-DahwdHdi.d.ts → displayText-DIxMXVLl.d.ts} +2 -2
  286. package/dist/{displayText-DW0qiJqh.d.cts → displayText-DRyxjHTZ.d.cts} +2 -2
  287. package/dist/hooks/useDisplayText.d.cts +3 -3
  288. package/dist/hooks/useDisplayText.d.ts +3 -3
  289. package/dist/hooks/useWindowHistory.cjs +0 -1
  290. package/dist/hooks/useWindowHistory.cjs.map +1 -1
  291. package/dist/hooks/useWindowHistory.d.cts +0 -1
  292. package/dist/hooks/useWindowHistory.d.ts +0 -1
  293. package/dist/hooks/useWindowHistory.js +0 -1
  294. package/dist/hooks/useWindowHistory.js.map +1 -1
  295. package/dist/index.cjs +1344 -1099
  296. package/dist/index.cjs.map +1 -1
  297. package/dist/index.d.cts +9 -8
  298. package/dist/index.d.ts +9 -8
  299. package/dist/index.js +1294 -1049
  300. package/dist/index.js.map +1 -1
  301. package/dist/{job_posting_service_latest-C_TEBzCf.d.cts → job_posting_service_latest-7q4A7RpW.d.cts} +1171 -1171
  302. package/dist/{job_posting_service_latest-C_TEBzCf.d.ts → job_posting_service_latest-7q4A7RpW.d.ts} +1171 -1171
  303. package/dist/{job_posting_service_latest-DdgK8Nnz.d.cts → job_posting_service_latest-BrZndMS6.d.cts} +1171 -1171
  304. package/dist/{job_posting_service_latest-DdgK8Nnz.d.ts → job_posting_service_latest-BrZndMS6.d.ts} +1171 -1171
  305. package/dist/{job_posting_service_sanity-BNq-Am9N.d.cts → job_posting_service_sanity-B5NZ-7tI.d.cts} +2126 -2126
  306. package/dist/{job_posting_service_sanity-BKo9TBDT.d.ts → job_posting_service_sanity-LlRkfIpt.d.ts} +2126 -2126
  307. package/dist/lib/locations.d.cts +3 -3
  308. package/dist/lib/locations.d.ts +3 -3
  309. package/dist/lib/mappings.d.cts +3 -3
  310. package/dist/lib/mappings.d.ts +3 -3
  311. package/dist/lib/salaryRange.d.cts +1 -1
  312. package/dist/lib/salaryRange.d.ts +1 -1
  313. package/dist/services/displayText.d.cts +3 -3
  314. package/dist/services/displayText.d.ts +3 -3
  315. package/dist/styles/globals.css +173 -6
  316. package/dist/styles/globals.css.map +1 -1
  317. package/dist/types/data/company_service_latest.d.cts +1 -1
  318. package/dist/types/data/company_service_latest.d.ts +1 -1
  319. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  320. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  321. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  322. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  323. package/dist/types/index.d.cts +6 -6
  324. package/dist/types/index.d.ts +6 -6
  325. package/dist/types/latest/company_service_latest.d.cts +1 -1
  326. package/dist/types/latest/company_service_latest.d.ts +1 -1
  327. package/dist/types/latest/custom/company_service_sanity.d.cts +3 -3
  328. package/dist/types/latest/custom/company_service_sanity.d.ts +3 -3
  329. package/dist/types/latest/custom/job_posting_service_sanity.d.cts +3 -3
  330. package/dist/types/latest/custom/job_posting_service_sanity.d.ts +3 -3
  331. package/dist/types/latest/job_posting_service_latest.d.cts +1 -1
  332. package/dist/types/latest/job_posting_service_latest.d.ts +1 -1
  333. package/dist/types/latest/shared_pickle_output_latest.d.cts +1 -1
  334. package/dist/types/latest/shared_pickle_output_latest.d.ts +1 -1
  335. package/package.json +4 -3
  336. package/dist/components/ui/MapComponent.cjs +0 -61
  337. package/dist/components/ui/MapComponent.cjs.map +0 -1
  338. package/dist/components/ui/MapComponent.d.cts +0 -15
  339. package/dist/components/ui/MapComponent.d.ts +0 -15
  340. package/dist/components/ui/MapComponent.js +0 -41
  341. package/dist/components/ui/MapComponent.js.map +0 -1
  342. package/dist/{company_service_latest-CITz7F53.d.cts → company_service_latest-BwbaqchJ.d.cts} +1220 -1220
  343. package/dist/{company_service_latest-CITz7F53.d.ts → company_service_latest-BwbaqchJ.d.ts} +1220 -1220
  344. package/dist/{company_service_latest-C7Moeufo.d.cts → company_service_latest-FHqG4LjA.d.cts} +1220 -1220
  345. package/dist/{company_service_latest-C7Moeufo.d.ts → company_service_latest-FHqG4LjA.d.ts} +1220 -1220
  346. package/dist/{shared_pickle_output_latest-CXBCG04N.d.cts → shared_pickle_output_latest-CKHNY1lx.d.cts} +42 -42
  347. package/dist/{shared_pickle_output_latest-CXBCG04N.d.ts → shared_pickle_output_latest-CKHNY1lx.d.ts} +42 -42
  348. package/dist/{shared_pickle_output_latest-CtvHTPeX.d.cts → shared_pickle_output_latest-DIPgxUul.d.cts} +42 -42
  349. package/dist/{shared_pickle_output_latest-CtvHTPeX.d.ts → shared_pickle_output_latest-DIPgxUul.d.ts} +42 -42
@@ -41,12 +41,12 @@ var import_react2 = require("react");
41
41
  // src/components/primitives/command.tsx
42
42
  var import_cmdk = require("cmdk");
43
43
  var import_lucide_react2 = require("lucide-react");
44
- var React2 = __toESM(require("react"), 1);
44
+ var React3 = __toESM(require("react"), 1);
45
45
 
46
46
  // src/components/primitives/dialog.tsx
47
47
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
48
48
  var import_lucide_react = require("lucide-react");
49
- var React = __toESM(require("react"), 1);
49
+ var React2 = __toESM(require("react"), 1);
50
50
 
51
51
  // src/lib/utils.ts
52
52
  var import_clsx = require("clsx");
@@ -56,9 +56,8 @@ function cn(...inputs) {
56
56
  }
57
57
 
58
58
  // src/components/primitives/dialog.tsx
59
- var import_jsx_runtime = require("react/jsx-runtime");
60
59
  var DialogPortal = DialogPrimitive.Portal;
61
- var DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
60
+ var DialogOverlay = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
62
61
  DialogPrimitive.Overlay,
63
62
  {
64
63
  ref,
@@ -70,31 +69,23 @@ var DialogOverlay = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
70
69
  }
71
70
  ));
72
71
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
73
- var DialogContent = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogPortal, { children: [
74
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogOverlay, {}),
75
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
76
- DialogPrimitive.Content,
77
- {
78
- ref,
79
- className: cn(
80
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-neutral-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] dark:border-neutral-800 dark:bg-neutral-950 sm:rounded-lg",
81
- className
82
- ),
83
- ...props,
84
- children: [
85
- children,
86
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-neutral-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-500 dark:ring-offset-neutral-950 dark:focus:ring-neutral-300 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-400", children: [
87
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.X, { className: "h-4 w-4" }),
88
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "sr-only", children: "Close" })
89
- ] })
90
- ]
91
- }
92
- )
93
- ] }));
72
+ var DialogContent = React2.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React2.createElement(DialogPortal, null, /* @__PURE__ */ React2.createElement(DialogOverlay, null), /* @__PURE__ */ React2.createElement(
73
+ DialogPrimitive.Content,
74
+ {
75
+ ref,
76
+ className: cn(
77
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-neutral-200 bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] dark:border-neutral-800 dark:bg-neutral-950 sm:rounded-lg",
78
+ className
79
+ ),
80
+ ...props
81
+ },
82
+ children,
83
+ /* @__PURE__ */ React2.createElement(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-white transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-neutral-950 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-neutral-100 data-[state=open]:text-neutral-500 dark:ring-offset-neutral-950 dark:focus:ring-neutral-300 dark:data-[state=open]:bg-neutral-800 dark:data-[state=open]:text-neutral-400" }, /* @__PURE__ */ React2.createElement(import_lucide_react.X, { className: "h-4 w-4" }), /* @__PURE__ */ React2.createElement("span", { className: "sr-only" }, "Close"))
84
+ )));
94
85
  DialogContent.displayName = DialogPrimitive.Content.displayName;
95
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
86
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ React2.createElement("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
96
87
  DialogHeader.displayName = "DialogHeader";
97
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
88
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ React2.createElement(
98
89
  "div",
99
90
  {
100
91
  className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
@@ -102,7 +93,7 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_r
102
93
  }
103
94
  );
104
95
  DialogFooter.displayName = "DialogFooter";
105
- var DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
96
+ var DialogTitle = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
106
97
  DialogPrimitive.Title,
107
98
  {
108
99
  ref,
@@ -111,7 +102,7 @@ var DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE_
111
102
  }
112
103
  ));
113
104
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
114
- var DialogDescription = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
105
+ var DialogDescription = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(
115
106
  DialogPrimitive.Description,
116
107
  {
117
108
  ref,
@@ -122,8 +113,7 @@ var DialogDescription = React.forwardRef(({ className, ...props }, ref) => /* @_
122
113
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
123
114
 
124
115
  // src/components/primitives/command.tsx
125
- var import_jsx_runtime2 = require("react/jsx-runtime");
126
- var Command = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
116
+ var Command = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
127
117
  import_cmdk.Command,
128
118
  {
129
119
  ref,
@@ -135,22 +125,19 @@ var Command = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
135
125
  }
136
126
  ));
137
127
  Command.displayName = import_cmdk.Command.displayName;
138
- var CommandInput = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "m-1 flex items-center rounded-xl border px-3", "cmdk-input-wrapper": "", children: [
139
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_lucide_react2.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
140
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
141
- import_cmdk.Command.Input,
142
- {
143
- ref,
144
- className: cn(
145
- "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-neutral-500 disabled:cursor-not-allowed disabled:opacity-50",
146
- className
147
- ),
148
- ...props
149
- }
150
- )
151
- ] }));
128
+ var CommandInput = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement("div", { className: "m-1 flex items-center rounded-xl border px-3", "cmdk-input-wrapper": "" }, /* @__PURE__ */ React3.createElement(import_lucide_react2.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }), /* @__PURE__ */ React3.createElement(
129
+ import_cmdk.Command.Input,
130
+ {
131
+ ref,
132
+ className: cn(
133
+ "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-neutral-500 disabled:cursor-not-allowed disabled:opacity-50",
134
+ className
135
+ ),
136
+ ...props
137
+ }
138
+ )));
152
139
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
153
- var CommandList = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
140
+ var CommandList = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
154
141
  import_cmdk.Command.List,
155
142
  {
156
143
  ref,
@@ -159,9 +146,9 @@ var CommandList = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE
159
146
  }
160
147
  ));
161
148
  CommandList.displayName = import_cmdk.Command.List.displayName;
162
- var CommandEmpty = React2.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_cmdk.Command.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
149
+ var CommandEmpty = React3.forwardRef((props, ref) => /* @__PURE__ */ React3.createElement(import_cmdk.Command.Empty, { ref, className: "py-6 text-center text-sm", ...props }));
163
150
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
164
- var CommandGroup = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
151
+ var CommandGroup = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
165
152
  import_cmdk.Command.Group,
166
153
  {
167
154
  ref,
@@ -173,7 +160,7 @@ var CommandGroup = React2.forwardRef(({ className, ...props }, ref) => /* @__PUR
173
160
  }
174
161
  ));
175
162
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
176
- var CommandSeparator = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
163
+ var CommandSeparator = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
177
164
  import_cmdk.Command.Separator,
178
165
  {
179
166
  ref,
@@ -182,7 +169,7 @@ var CommandSeparator = React2.forwardRef(({ className, ...props }, ref) => /* @_
182
169
  }
183
170
  ));
184
171
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
185
- var CommandItem = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
172
+ var CommandItem = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
186
173
  import_cmdk.Command.Item,
187
174
  {
188
175
  ref,
@@ -195,7 +182,7 @@ var CommandItem = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE
195
182
  ));
196
183
  CommandItem.displayName = import_cmdk.Command.Item.displayName;
197
184
  var CommandShortcut = ({ className, ...props }) => {
198
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
185
+ return /* @__PURE__ */ React3.createElement(
199
186
  "span",
200
187
  {
201
188
  className: cn("ml-auto text-xs tracking-widest text-neutral-500", className),
@@ -207,11 +194,10 @@ CommandShortcut.displayName = "CommandShortcut";
207
194
 
208
195
  // src/components/primitives/popover.tsx
209
196
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
210
- var React3 = __toESM(require("react"), 1);
211
- var import_jsx_runtime3 = require("react/jsx-runtime");
197
+ var React4 = __toESM(require("react"), 1);
212
198
  var Popover = PopoverPrimitive.Root;
213
199
  var PopoverTrigger = PopoverPrimitive.Trigger;
214
- var PopoverContent = React3.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
200
+ var PopoverContent = React4.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React4.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React4.createElement(
215
201
  PopoverPrimitive.Content,
216
202
  {
217
203
  ref,
@@ -223,14 +209,13 @@ var PopoverContent = React3.forwardRef(({ className, align = "center", sideOffse
223
209
  ),
224
210
  ...props
225
211
  }
226
- ) }));
212
+ )));
227
213
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
228
214
 
229
215
  // src/components/primitives/separator.tsx
230
216
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
231
- var React4 = __toESM(require("react"), 1);
232
- var import_jsx_runtime4 = require("react/jsx-runtime");
233
- var Separator = React4.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
217
+ var React5 = __toESM(require("react"), 1);
218
+ var Separator = React5.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ React5.createElement(
234
219
  SeparatorPrimitive.Root,
235
220
  {
236
221
  ref,
@@ -248,7 +233,7 @@ Separator.displayName = SeparatorPrimitive.Root.displayName;
248
233
 
249
234
  // src/components/ui/Badge.tsx
250
235
  var import_cva = require("cva");
251
- var import_jsx_runtime5 = require("react/jsx-runtime");
236
+ var React6 = __toESM(require("react"), 1);
252
237
  var badgeVariants = (0, import_cva.cva)("rounded-full px-2 py-0.5 text-xs font-semibold", {
253
238
  variants: {
254
239
  variant: {
@@ -262,14 +247,13 @@ var badgeVariants = (0, import_cva.cva)("rounded-full px-2 py-0.5 text-xs font-s
262
247
  }
263
248
  });
264
249
  function Badge({ className, variant, ...props }) {
265
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: cn(badgeVariants({ variant }), className), ...props });
250
+ return /* @__PURE__ */ React6.createElement("div", { className: cn(badgeVariants({ variant }), className), ...props });
266
251
  }
267
252
 
268
253
  // src/components/ui/ErrorMessage.tsx
269
- var import_jsx_runtime6 = require("react/jsx-runtime");
270
254
  function ErrorMessage({ message, className, ...props }) {
271
255
  if (!message) return null;
272
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: cn("px-1 text-xs text-red-600", className), ...props, children: message });
256
+ return /* @__PURE__ */ React.createElement("p", { className: cn("px-1 text-xs text-red-600", className), ...props }, message);
273
257
  }
274
258
  var ErrorMessage_default = ErrorMessage;
275
259
 
@@ -278,12 +262,11 @@ var import_lucide_react3 = require("lucide-react");
278
262
 
279
263
  // src/components/primitives/tooltip.tsx
280
264
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
281
- var React5 = __toESM(require("react"), 1);
282
- var import_jsx_runtime7 = require("react/jsx-runtime");
265
+ var React7 = __toESM(require("react"), 1);
283
266
  var TooltipProvider = TooltipPrimitive.Provider;
284
267
  var Tooltip = TooltipPrimitive.Root;
285
268
  var TooltipTrigger = TooltipPrimitive.Trigger;
286
- var TooltipContent = React5.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
269
+ var TooltipContent = React7.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React7.createElement(
287
270
  TooltipPrimitive.Content,
288
271
  {
289
272
  ref,
@@ -298,29 +281,20 @@ var TooltipContent = React5.forwardRef(({ className, sideOffset = 4, ...props },
298
281
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
299
282
 
300
283
  // src/components/ui/Label.tsx
301
- var import_jsx_runtime8 = require("react/jsx-runtime");
302
284
  function Label({ text, required, description, className, ...props }) {
303
285
  if (!text) return null;
304
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex w-full flex-row gap-1", children: [
305
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
306
- "label",
307
- {
308
- className: cn(
309
- "text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
310
- className
311
- ),
312
- ...props,
313
- children: [
314
- text,
315
- required && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "text-red-600", children: "\xA0*" })
316
- ]
317
- }
318
- ),
319
- !!description && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(Tooltip, { children: [
320
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react3.InfoIcon, { className: "h-4 w-4" }) }),
321
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(TooltipContent, { className: "max-w-48", children: description })
322
- ] }) })
323
- ] });
286
+ return /* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-row gap-1" }, /* @__PURE__ */ React.createElement(
287
+ "label",
288
+ {
289
+ className: cn(
290
+ "text-xs text-grey-80 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
291
+ className
292
+ ),
293
+ ...props
294
+ },
295
+ text,
296
+ required && /* @__PURE__ */ React.createElement("span", { className: "text-red-600" }, "\xA0*")
297
+ ), !!description && /* @__PURE__ */ React.createElement(TooltipProvider, null, /* @__PURE__ */ React.createElement(Tooltip, null, /* @__PURE__ */ React.createElement(TooltipTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(import_lucide_react3.InfoIcon, { className: "h-4 w-4" })), /* @__PURE__ */ React.createElement(TooltipContent, { className: "max-w-48" }, description))));
324
298
  }
325
299
  var Label_default = Label;
326
300
 
@@ -332,8 +306,7 @@ var import_lucide_react6 = require("lucide-react");
332
306
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"), 1);
333
307
  var import_lucide_react4 = require("lucide-react");
334
308
  var import_react = require("react");
335
- var import_jsx_runtime9 = require("react/jsx-runtime");
336
- var CheckboxToggle = (0, import_react.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
309
+ var CheckboxToggle = (0, import_react.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
337
310
  CheckboxPrimitive.Root,
338
311
  {
339
312
  ref,
@@ -362,41 +335,32 @@ var CheckboxToggle = (0, import_react.forwardRef)(({ className, ...props }, ref)
362
335
  props.disabled && "bg-grey-20 data-[state=checked]:bg-grey-20 data-[state=checked]:text-foreground",
363
336
  className
364
337
  ),
365
- ...props,
366
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current", children: [
367
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react4.Check, { className: "hidden h-4 w-4 group-data-[state=checked]:block" }),
368
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react4.Minus, { className: "hidden h-4 w-4 group-data-[state=indeterminate]:block" })
369
- ] })
370
- }
338
+ ...props
339
+ },
340
+ /* @__PURE__ */ React.createElement(CheckboxPrimitive.Indicator, { className: "flex items-center justify-center text-current" }, /* @__PURE__ */ React.createElement(import_lucide_react4.Check, { className: "hidden h-4 w-4 group-data-[state=checked]:block" }), /* @__PURE__ */ React.createElement(import_lucide_react4.Minus, { className: "hidden h-4 w-4 group-data-[state=indeterminate]:block" }))
371
341
  ));
372
342
  CheckboxToggle.displayName = CheckboxPrimitive.Root.displayName;
373
343
  var Checkbox = (0, import_react.forwardRef)(
374
344
  ({ error, classNames, children, ...props }, ref) => {
375
345
  const id = props.id ?? `${props.name ?? props.value?.toString()}-checkbox`;
376
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: cn("flex space-x-2", classNames?.wrapper), children: [
377
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(CheckboxToggle, { id, ref, ...props }),
378
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
379
- "label",
380
- {
381
- htmlFor: id,
382
- className: cn(
383
- "text-sm",
384
- props.disabled && "pointer-events-none text-grey-40",
385
- classNames?.label
386
- ),
387
- children: [
388
- children,
389
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(ErrorMessage_default, { message: error, className: "mt-1" })
390
- ]
391
- }
392
- )
393
- ] });
346
+ return /* @__PURE__ */ React.createElement("div", { className: cn("flex space-x-2", classNames?.wrapper) }, /* @__PURE__ */ React.createElement(CheckboxToggle, { id, ref, ...props }), /* @__PURE__ */ React.createElement(
347
+ "label",
348
+ {
349
+ htmlFor: id,
350
+ className: cn(
351
+ "text-sm",
352
+ props.disabled && "pointer-events-none text-grey-40",
353
+ classNames?.label
354
+ )
355
+ },
356
+ children,
357
+ /* @__PURE__ */ React.createElement(ErrorMessage_default, { message: error, className: "mt-1" })
358
+ ));
394
359
  }
395
360
  );
396
361
  Checkbox.displayName = "Checkbox";
397
362
 
398
363
  // src/components/ui/ListItem.tsx
399
- var import_jsx_runtime10 = require("react/jsx-runtime");
400
364
  function ListItem({
401
365
  icon,
402
366
  hasCheckbox,
@@ -410,12 +374,12 @@ function ListItem({
410
374
  const getIconIfValid = (icon2) => {
411
375
  if (icon2 in import_lucide_react6.icons) {
412
376
  const IconComponent = import_lucide_react6.icons[icon2];
413
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconComponent, { size: 14 });
377
+ return /* @__PURE__ */ React.createElement(IconComponent, { size: 14 });
414
378
  }
415
379
  return null;
416
380
  };
417
381
  const optionIcon = icon ? getIconIfValid(icon) : void 0;
418
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
382
+ return /* @__PURE__ */ React.createElement(
419
383
  "li",
420
384
  {
421
385
  className: cn(
@@ -423,29 +387,23 @@ function ListItem({
423
387
  className
424
388
  ),
425
389
  ...props,
426
- "data-state": isSelected ? "checked" : "unchecked",
427
- children: [
428
- optionIcon && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "mr-2", children: optionIcon }),
429
- hasCheckbox && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Checkbox, { id: value, checked: isSelected, onClick: (e) => e.preventDefault() }),
430
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { children: [
431
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { children: title }),
432
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("p", { className: "text-xs text-grey-80", children: description })
433
- ] }),
434
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
435
- import_lucide_react5.CheckIcon,
436
- {
437
- className: "absolute inset-y-0 right-0 my-auto hidden w-6 text-green-100 group-data-[state=checked]:block",
438
- size: 16
439
- }
440
- )
441
- ]
442
- }
390
+ "data-state": isSelected ? "checked" : "unchecked"
391
+ },
392
+ optionIcon && /* @__PURE__ */ React.createElement("span", { className: "mr-2" }, optionIcon),
393
+ hasCheckbox && /* @__PURE__ */ React.createElement(Checkbox, { id: value, checked: isSelected, onClick: (e) => e.preventDefault() }),
394
+ /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", null, title), /* @__PURE__ */ React.createElement("p", { className: "text-xs text-grey-80" }, description)),
395
+ /* @__PURE__ */ React.createElement(
396
+ import_lucide_react5.CheckIcon,
397
+ {
398
+ className: "absolute inset-y-0 right-0 my-auto hidden w-6 text-green-100 group-data-[state=checked]:block",
399
+ size: 16
400
+ }
401
+ )
443
402
  );
444
403
  }
445
404
  var ListItem_default = ListItem;
446
405
 
447
406
  // src/components/ui/Combobox.tsx
448
- var import_jsx_runtime11 = require("react/jsx-runtime");
449
407
  var Combobox = (0, import_react2.forwardRef)((props, ref) => {
450
408
  const {
451
409
  id,
@@ -516,111 +474,91 @@ var Combobox = (0, import_react2.forwardRef)((props, ref) => {
516
474
  const defaultLabel = !isEmpty ? selected.map((s) => s.title).join(", ") : placeholder;
517
475
  return isDefault ? defaultLabel : label;
518
476
  };
519
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: cn("flex flex-col gap-1", className), children: [
520
- isDefault && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
521
- Label_default,
477
+ return /* @__PURE__ */ React.createElement("div", { className: cn("flex flex-col gap-1", className) }, isDefault && /* @__PURE__ */ React.createElement(
478
+ Label_default,
479
+ {
480
+ text: label,
481
+ htmlFor: name,
482
+ required,
483
+ description,
484
+ className: classNames?.label
485
+ }
486
+ ), /* @__PURE__ */ React.createElement("div", { className: "relative flex" }, /* @__PURE__ */ React.createElement(Popover, { open, onOpenChange: setOpen }, /* @__PURE__ */ React.createElement(
487
+ PopoverTrigger,
488
+ {
489
+ asChild: true,
490
+ disabled: options.length === 0,
491
+ "data-testid": `${id ?? name}-combobox-trigger`
492
+ },
493
+ /* @__PURE__ */ React.createElement(
494
+ "div",
522
495
  {
523
- text: label,
524
- htmlFor: name,
525
- required,
526
- description,
527
- className: classNames?.label
528
- }
529
- ),
530
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "relative flex", children: [
531
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
532
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
533
- PopoverTrigger,
534
- {
535
- asChild: true,
536
- disabled: options.length === 0,
537
- "data-testid": `${id ?? name}-combobox-trigger`,
538
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
539
- "div",
540
- {
541
- ref,
542
- className: cn(
543
- triggerVariants({ variant, size }),
544
- isDefault && !isEmpty && "pr-10",
545
- classNames?.trigger
546
- ),
547
- "aria-expanded": open,
548
- children: [
549
- isDefault && IconComponent && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconComponent, { className: "h-4 w-4 shrink-0" }),
550
- isChip && !isEmpty && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Badge, { variant: "purple", children: selected.length }),
551
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
552
- "span",
553
- {
554
- className: cn(
555
- "w-full truncate leading-normal",
556
- isDefault && isEmpty && "text-grey-40"
557
- ),
558
- children: handleDisplayValue()
559
- }
560
- ),
561
- showChevron && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
562
- import_lucide_react7.ChevronDownIcon,
563
- {
564
- className: "shrink-0 transform group-data-[state=open]:rotate-180",
565
- size: "16"
566
- }
567
- )
568
- ]
569
- }
570
- )
571
- }
496
+ ref,
497
+ className: cn(
498
+ triggerVariants({ variant, size }),
499
+ isDefault && !isEmpty && "pr-10",
500
+ classNames?.trigger
572
501
  ),
573
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
574
- PopoverContent,
575
- {
576
- className: cn(
577
- "flex w-full max-w-xs flex-col overflow-hidden p-0",
578
- "max-h-[--radix-popover-content-available-height]",
579
- classNames?.content
580
- ),
581
- collisionPadding: 8,
582
- sideOffset: 4,
583
- align: "start",
584
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Command, { children: [
585
- !hideSearchBox && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CommandInput, { placeholder: "Search..." }),
586
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(CommandList, { children: [
587
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CommandEmpty, { children: "No results" }),
588
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CommandGroup, { children: options.map(({ id: id2, ...option }) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
589
- CommandItem,
590
- {
591
- value: option.title,
592
- onSelect: () => handleSelect(option.value),
593
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
594
- ListItem_default,
595
- {
596
- className: cn(classNames?.items, "truncate py-1"),
597
- isSelected: selected.some((s) => s.value === option.value),
598
- hasCheckbox: multiselect,
599
- ...option
600
- }
601
- )
602
- },
603
- id2
604
- )) })
605
- ] }),
606
- !!footer && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Separator, {}),
607
- footer && footer({ close })
608
- ] })
609
- }
610
- )
611
- ] }),
612
- isDefault && !isEmpty && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
613
- "button",
502
+ "aria-expanded": open
503
+ },
504
+ isDefault && IconComponent && /* @__PURE__ */ React.createElement(IconComponent, { className: "h-4 w-4 shrink-0" }),
505
+ isChip && !isEmpty && /* @__PURE__ */ React.createElement(Badge, { variant: "purple" }, selected.length),
506
+ /* @__PURE__ */ React.createElement(
507
+ "span",
614
508
  {
615
- type: "button",
616
- className: "absolute inset-y-0 right-1 my-auto flex h-8 w-8 cursor-pointer items-center justify-center rounded-full hover:bg-pickle-20",
617
- onClick: handleClear,
618
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react7.CircleX, { className: "h-4 w-4 text-green-100" })
509
+ className: cn(
510
+ "w-full truncate leading-normal",
511
+ isDefault && isEmpty && "text-grey-40"
512
+ )
513
+ },
514
+ handleDisplayValue()
515
+ ),
516
+ showChevron && /* @__PURE__ */ React.createElement(
517
+ import_lucide_react7.ChevronDownIcon,
518
+ {
519
+ className: "shrink-0 transform group-data-[state=open]:rotate-180",
520
+ size: "16"
619
521
  }
620
522
  )
621
- ] }),
622
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ErrorMessage_default, { message: error })
623
- ] });
523
+ )
524
+ ), /* @__PURE__ */ React.createElement(
525
+ PopoverContent,
526
+ {
527
+ className: cn(
528
+ "flex w-full max-w-xs flex-col overflow-hidden p-0",
529
+ "max-h-[--radix-popover-content-available-height]",
530
+ classNames?.content
531
+ ),
532
+ collisionPadding: 8,
533
+ sideOffset: 4,
534
+ align: "start"
535
+ },
536
+ /* @__PURE__ */ React.createElement(Command, null, !hideSearchBox && /* @__PURE__ */ React.createElement(CommandInput, { placeholder: "Search..." }), /* @__PURE__ */ React.createElement(CommandList, null, /* @__PURE__ */ React.createElement(CommandEmpty, null, "No results"), /* @__PURE__ */ React.createElement(CommandGroup, null, options.map(({ id: id2, ...option }) => /* @__PURE__ */ React.createElement(
537
+ CommandItem,
538
+ {
539
+ key: id2,
540
+ value: option.title,
541
+ onSelect: () => handleSelect(option.value)
542
+ },
543
+ /* @__PURE__ */ React.createElement(
544
+ ListItem_default,
545
+ {
546
+ className: cn(classNames?.items, "truncate py-1"),
547
+ isSelected: selected.some((s) => s.value === option.value),
548
+ hasCheckbox: multiselect,
549
+ ...option
550
+ }
551
+ )
552
+ )))), !!footer && /* @__PURE__ */ React.createElement(Separator, null), footer && footer({ close }))
553
+ )), isDefault && !isEmpty && /* @__PURE__ */ React.createElement(
554
+ "button",
555
+ {
556
+ type: "button",
557
+ className: "absolute inset-y-0 right-1 my-auto flex h-8 w-8 cursor-pointer items-center justify-center rounded-full hover:bg-pickle-20",
558
+ onClick: handleClear
559
+ },
560
+ /* @__PURE__ */ React.createElement(import_lucide_react7.CircleX, { className: "h-4 w-4 text-green-100" })
561
+ )), /* @__PURE__ */ React.createElement(ErrorMessage_default, { message: error }));
624
562
  });
625
563
  Combobox.displayName = "Combobox";
626
564
  var triggerVariants = (0, import_cva2.cva)(