@jbpark/ui-kit 5.2.0 → 5.4.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 (401) hide show
  1. package/dist/Button.d.mts +1 -19
  2. package/dist/Button.d.mts.map +1 -1
  3. package/dist/Button.mjs +2 -4
  4. package/dist/Button.mjs.map +1 -1
  5. package/dist/Card.d.mts +1 -10
  6. package/dist/Card.d.mts.map +1 -1
  7. package/dist/Card.mjs +1 -2
  8. package/dist/Card.mjs.map +1 -1
  9. package/dist/Layout.d.mts +5 -6
  10. package/dist/Layout.d.mts.map +1 -1
  11. package/dist/Layout.mjs +1 -2
  12. package/dist/Layout.mjs.map +1 -1
  13. package/dist/Menu.d.mts +1 -1
  14. package/dist/Menu.mjs +1 -2
  15. package/dist/Reveals.d.mts +2 -3
  16. package/dist/Reveals.d.mts.map +1 -1
  17. package/dist/Reveals.mjs +1 -2
  18. package/dist/Reveals.mjs.map +1 -1
  19. package/dist/Space.d.mts +1 -17
  20. package/dist/Space.d.mts.map +1 -1
  21. package/dist/Space.mjs +1 -2
  22. package/dist/Space.mjs.map +1 -1
  23. package/dist/Tag.d.mts +1 -9
  24. package/dist/Tag.d.mts.map +1 -1
  25. package/dist/Tag.mjs +1 -2
  26. package/dist/Tag.mjs.map +1 -1
  27. package/dist/Typography.d.mts +5 -6
  28. package/dist/Typography.d.mts.map +1 -1
  29. package/dist/Typography.mjs +1 -2
  30. package/dist/Typography.mjs.map +1 -1
  31. package/dist/_virtual/_rolldown/runtime.mjs +6 -11
  32. package/dist/components/atoms/checkbox/checkbox.d.mts +2 -17
  33. package/dist/components/atoms/checkbox/checkbox.d.mts.map +1 -1
  34. package/dist/components/atoms/checkbox/checkbox.mjs +2 -4
  35. package/dist/components/atoms/checkbox/checkbox.mjs.map +1 -1
  36. package/dist/components/atoms/checkbox/group.d.mts +2 -16
  37. package/dist/components/atoms/checkbox/group.d.mts.map +1 -1
  38. package/dist/components/atoms/checkbox/group.mjs +4 -5
  39. package/dist/components/atoms/checkbox/group.mjs.map +1 -1
  40. package/dist/components/atoms/checkbox/index.d.mts +3 -4
  41. package/dist/components/atoms/checkbox/index.d.mts.map +1 -1
  42. package/dist/components/atoms/checkbox/index.mjs +1 -2
  43. package/dist/components/atoms/checkbox/index.mjs.map +1 -1
  44. package/dist/components/atoms/color-picker.d.mts +2 -15
  45. package/dist/components/atoms/color-picker.d.mts.map +1 -1
  46. package/dist/components/atoms/color-picker.mjs +2 -4
  47. package/dist/components/atoms/color-picker.mjs.map +1 -1
  48. package/dist/components/atoms/date-picker.d.mts +2 -11
  49. package/dist/components/atoms/date-picker.d.mts.map +1 -1
  50. package/dist/components/atoms/date-picker.mjs +2 -4
  51. package/dist/components/atoms/date-picker.mjs.map +1 -1
  52. package/dist/components/atoms/float-button/back-top.d.mts +2 -10
  53. package/dist/components/atoms/float-button/back-top.d.mts.map +1 -1
  54. package/dist/components/atoms/float-button/back-top.mjs +4 -5
  55. package/dist/components/atoms/float-button/back-top.mjs.map +1 -1
  56. package/dist/components/atoms/float-button/float-button.d.mts +2 -8
  57. package/dist/components/atoms/float-button/float-button.d.mts.map +1 -1
  58. package/dist/components/atoms/float-button/float-button.mjs +1 -2
  59. package/dist/components/atoms/float-button/float-button.mjs.map +1 -1
  60. package/dist/components/atoms/float-button/index.d.mts +3 -4
  61. package/dist/components/atoms/float-button/index.d.mts.map +1 -1
  62. package/dist/components/atoms/float-button/index.mjs +1 -2
  63. package/dist/components/atoms/float-button/index.mjs.map +1 -1
  64. package/dist/components/atoms/index.d.mts +13 -12
  65. package/dist/components/atoms/input/index.d.mts +4 -5
  66. package/dist/components/atoms/input/index.d.mts.map +1 -1
  67. package/dist/components/atoms/input/index.mjs +2 -3
  68. package/dist/components/atoms/input/index.mjs.map +1 -1
  69. package/dist/components/atoms/input/input.d.mts +2 -7
  70. package/dist/components/atoms/input/input.d.mts.map +1 -1
  71. package/dist/components/atoms/input/input.mjs +1 -2
  72. package/dist/components/atoms/input/input.mjs.map +1 -1
  73. package/dist/components/atoms/input/search.d.mts +2 -15
  74. package/dist/components/atoms/input/search.d.mts.map +1 -1
  75. package/dist/components/atoms/input/search.mjs +2 -4
  76. package/dist/components/atoms/input/search.mjs.map +1 -1
  77. package/dist/components/atoms/input/text-area.d.mts +2 -8
  78. package/dist/components/atoms/input/text-area.d.mts.map +1 -1
  79. package/dist/components/atoms/input/text-area.mjs +1 -2
  80. package/dist/components/atoms/input/text-area.mjs.map +1 -1
  81. package/dist/components/atoms/option-group.d.mts +1 -1
  82. package/dist/components/atoms/option-group.d.mts.map +1 -1
  83. package/dist/components/atoms/option-group.mjs +1 -1
  84. package/dist/components/atoms/option-group.mjs.map +1 -1
  85. package/dist/components/atoms/popover.d.mts +2 -14
  86. package/dist/components/atoms/popover.d.mts.map +1 -1
  87. package/dist/components/atoms/popover.mjs +1 -2
  88. package/dist/components/atoms/popover.mjs.map +1 -1
  89. package/dist/components/atoms/progress.d.mts +2 -10
  90. package/dist/components/atoms/progress.d.mts.map +1 -1
  91. package/dist/components/atoms/progress.mjs +1 -2
  92. package/dist/components/atoms/progress.mjs.map +1 -1
  93. package/dist/components/atoms/radio/context.mjs +2 -4
  94. package/dist/components/atoms/radio/context.mjs.map +1 -1
  95. package/dist/components/atoms/radio/group.d.mts +2 -19
  96. package/dist/components/atoms/radio/group.d.mts.map +1 -1
  97. package/dist/components/atoms/radio/group.mjs +2 -4
  98. package/dist/components/atoms/radio/group.mjs.map +1 -1
  99. package/dist/components/atoms/radio/index.d.mts +3 -4
  100. package/dist/components/atoms/radio/index.d.mts.map +1 -1
  101. package/dist/components/atoms/radio/index.mjs +1 -2
  102. package/dist/components/atoms/radio/index.mjs.map +1 -1
  103. package/dist/components/atoms/radio/radio.d.mts +2 -18
  104. package/dist/components/atoms/radio/radio.d.mts.map +1 -1
  105. package/dist/components/atoms/radio/radio.mjs +2 -4
  106. package/dist/components/atoms/radio/radio.mjs.map +1 -1
  107. package/dist/components/atoms/select.d.mts +2 -10
  108. package/dist/components/atoms/select.d.mts.map +1 -1
  109. package/dist/components/atoms/select.mjs +2 -3
  110. package/dist/components/atoms/select.mjs.map +1 -1
  111. package/dist/components/atoms/skeleton/button.d.mts +2 -7
  112. package/dist/components/atoms/skeleton/button.d.mts.map +1 -1
  113. package/dist/components/atoms/skeleton/button.mjs +1 -2
  114. package/dist/components/atoms/skeleton/button.mjs.map +1 -1
  115. package/dist/components/atoms/skeleton/index.d.mts +4 -5
  116. package/dist/components/atoms/skeleton/index.d.mts.map +1 -1
  117. package/dist/components/atoms/skeleton/index.mjs +2 -3
  118. package/dist/components/atoms/skeleton/index.mjs.map +1 -1
  119. package/dist/components/atoms/skeleton/node.d.mts +2 -7
  120. package/dist/components/atoms/skeleton/node.d.mts.map +1 -1
  121. package/dist/components/atoms/skeleton/node.mjs +1 -2
  122. package/dist/components/atoms/skeleton/node.mjs.map +1 -1
  123. package/dist/components/atoms/skeleton/skeleton.d.mts +2 -20
  124. package/dist/components/atoms/skeleton/skeleton.d.mts.map +1 -1
  125. package/dist/components/atoms/skeleton/skeleton.mjs +2 -4
  126. package/dist/components/atoms/skeleton/skeleton.mjs.map +1 -1
  127. package/dist/components/atoms/spin.d.mts +2 -10
  128. package/dist/components/atoms/spin.d.mts.map +1 -1
  129. package/dist/components/atoms/spin.mjs +2 -4
  130. package/dist/components/atoms/spin.mjs.map +1 -1
  131. package/dist/components/atoms/switch.d.mts +2 -14
  132. package/dist/components/atoms/switch.d.mts.map +1 -1
  133. package/dist/components/atoms/switch.mjs +4 -6
  134. package/dist/components/atoms/switch.mjs.map +1 -1
  135. package/dist/components/atoms/typography/link.d.mts +2 -10
  136. package/dist/components/atoms/typography/link.d.mts.map +1 -1
  137. package/dist/components/atoms/typography/link.mjs +1 -2
  138. package/dist/components/atoms/typography/link.mjs.map +1 -1
  139. package/dist/components/atoms/typography/paragraph.d.mts +2 -8
  140. package/dist/components/atoms/typography/paragraph.d.mts.map +1 -1
  141. package/dist/components/atoms/typography/paragraph.mjs +1 -2
  142. package/dist/components/atoms/typography/paragraph.mjs.map +1 -1
  143. package/dist/components/atoms/typography/text.d.mts +2 -10
  144. package/dist/components/atoms/typography/text.d.mts.map +1 -1
  145. package/dist/components/atoms/typography/text.mjs +1 -2
  146. package/dist/components/atoms/typography/text.mjs.map +1 -1
  147. package/dist/components/atoms/typography/title.d.mts +2 -9
  148. package/dist/components/atoms/typography/title.d.mts.map +1 -1
  149. package/dist/components/atoms/typography/title.mjs +1 -2
  150. package/dist/components/atoms/typography/title.mjs.map +1 -1
  151. package/dist/components/atoms/typography/typography.d.mts +2 -7
  152. package/dist/components/atoms/typography/typography.d.mts.map +1 -1
  153. package/dist/components/atoms/typography/typography.mjs +1 -2
  154. package/dist/components/atoms/typography/typography.mjs.map +1 -1
  155. package/dist/components/molecules/collapse.d.mts +2 -14
  156. package/dist/components/molecules/collapse.d.mts.map +1 -1
  157. package/dist/components/molecules/collapse.mjs +4 -6
  158. package/dist/components/molecules/collapse.mjs.map +1 -1
  159. package/dist/components/molecules/dropdown.d.mts +2 -15
  160. package/dist/components/molecules/dropdown.d.mts.map +1 -1
  161. package/dist/components/molecules/dropdown.mjs +2 -4
  162. package/dist/components/molecules/dropdown.mjs.map +1 -1
  163. package/dist/components/molecules/index.d.mts +7 -7
  164. package/dist/components/molecules/marquees/index.d.mts +3 -4
  165. package/dist/components/molecules/marquees/index.d.mts.map +1 -1
  166. package/dist/components/molecules/marquees/index.mjs +2 -3
  167. package/dist/components/molecules/marquees/index.mjs.map +1 -1
  168. package/dist/components/molecules/marquees/item.d.mts +2 -11
  169. package/dist/components/molecules/marquees/item.d.mts.map +1 -1
  170. package/dist/components/molecules/marquees/item.mjs +14 -19
  171. package/dist/components/molecules/marquees/item.mjs.map +1 -1
  172. package/dist/components/molecules/marquees/marquees.d.mts +2 -11
  173. package/dist/components/molecules/marquees/marquees.d.mts.map +1 -1
  174. package/dist/components/molecules/marquees/marquees.mjs +10 -20
  175. package/dist/components/molecules/marquees/marquees.mjs.map +1 -1
  176. package/dist/components/molecules/marquees/use-pause-on-hover.mjs +26 -0
  177. package/dist/components/molecules/marquees/use-pause-on-hover.mjs.map +1 -0
  178. package/dist/components/molecules/menu/item/item.mjs +2 -4
  179. package/dist/components/molecules/menu/item/item.mjs.map +1 -1
  180. package/dist/components/molecules/menu/item/label.mjs +1 -2
  181. package/dist/components/molecules/menu/item/label.mjs.map +1 -1
  182. package/dist/components/molecules/menu/menu.d.mts +2 -17
  183. package/dist/components/molecules/menu/menu.d.mts.map +1 -1
  184. package/dist/components/molecules/menu/menu.mjs +2 -4
  185. package/dist/components/molecules/menu/menu.mjs.map +1 -1
  186. package/dist/components/molecules/reveals/item.d.mts +2 -15
  187. package/dist/components/molecules/reveals/item.d.mts.map +1 -1
  188. package/dist/components/molecules/reveals/item.mjs +2 -4
  189. package/dist/components/molecules/reveals/item.mjs.map +1 -1
  190. package/dist/components/molecules/reveals/reveals.d.mts +2 -18
  191. package/dist/components/molecules/reveals/reveals.d.mts.map +1 -1
  192. package/dist/components/molecules/reveals/reveals.mjs +2 -3
  193. package/dist/components/molecules/reveals/reveals.mjs.map +1 -1
  194. package/dist/components/molecules/splitter/index.d.mts +3 -4
  195. package/dist/components/molecules/splitter/index.d.mts.map +1 -1
  196. package/dist/components/molecules/splitter/index.mjs +1 -2
  197. package/dist/components/molecules/splitter/index.mjs.map +1 -1
  198. package/dist/components/molecules/splitter/panel.d.mts +2 -8
  199. package/dist/components/molecules/splitter/panel.d.mts.map +1 -1
  200. package/dist/components/molecules/splitter/panel.mjs +1 -2
  201. package/dist/components/molecules/splitter/panel.mjs.map +1 -1
  202. package/dist/components/molecules/splitter/splitter.d.mts +2 -14
  203. package/dist/components/molecules/splitter/splitter.d.mts.map +1 -1
  204. package/dist/components/molecules/splitter/splitter.mjs +2 -4
  205. package/dist/components/molecules/splitter/splitter.mjs.map +1 -1
  206. package/dist/components/molecules/upload.d.mts +2 -15
  207. package/dist/components/molecules/upload.d.mts.map +1 -1
  208. package/dist/components/molecules/upload.mjs +2 -4
  209. package/dist/components/molecules/upload.mjs.map +1 -1
  210. package/dist/components/organisms/drawer.d.mts +2 -25
  211. package/dist/components/organisms/drawer.d.mts.map +1 -1
  212. package/dist/components/organisms/drawer.mjs +2 -4
  213. package/dist/components/organisms/drawer.mjs.map +1 -1
  214. package/dist/components/organisms/imperative-stack.mjs +9 -11
  215. package/dist/components/organisms/imperative-stack.mjs.map +1 -1
  216. package/dist/components/organisms/index.d.mts +6 -5
  217. package/dist/components/organisms/list/index.d.mts +3 -4
  218. package/dist/components/organisms/list/index.d.mts.map +1 -1
  219. package/dist/components/organisms/list/index.mjs +1 -2
  220. package/dist/components/organisms/list/index.mjs.map +1 -1
  221. package/dist/components/organisms/list/item.d.mts +2 -8
  222. package/dist/components/organisms/list/item.d.mts.map +1 -1
  223. package/dist/components/organisms/list/item.mjs +1 -2
  224. package/dist/components/organisms/list/item.mjs.map +1 -1
  225. package/dist/components/organisms/list/list.d.mts +3 -20
  226. package/dist/components/organisms/list/list.d.mts.map +1 -1
  227. package/dist/components/organisms/list/list.mjs +3 -5
  228. package/dist/components/organisms/list/list.mjs.map +1 -1
  229. package/dist/components/organisms/modal.d.mts +2 -22
  230. package/dist/components/organisms/modal.d.mts.map +1 -1
  231. package/dist/components/organisms/modal.mjs +3 -5
  232. package/dist/components/organisms/modal.mjs.map +1 -1
  233. package/dist/components/organisms/swiper/index.d.mts +3 -4
  234. package/dist/components/organisms/swiper/index.d.mts.map +1 -1
  235. package/dist/components/organisms/swiper/index.mjs +2 -3
  236. package/dist/components/organisms/swiper/index.mjs.map +1 -1
  237. package/dist/components/organisms/swiper/slide.d.mts +2 -8
  238. package/dist/components/organisms/swiper/slide.d.mts.map +1 -1
  239. package/dist/components/organisms/swiper/slide.mjs +2 -4
  240. package/dist/components/organisms/swiper/slide.mjs.map +1 -1
  241. package/dist/components/organisms/swiper/swiper.d.mts +2 -15
  242. package/dist/components/organisms/swiper/swiper.d.mts.map +1 -1
  243. package/dist/components/organisms/swiper/swiper.mjs +2 -4
  244. package/dist/components/organisms/swiper/swiper.mjs.map +1 -1
  245. package/dist/components/organisms/toast.d.mts +2 -13
  246. package/dist/components/organisms/toast.d.mts.map +1 -1
  247. package/dist/components/organisms/toast.mjs +2 -4
  248. package/dist/components/organisms/toast.mjs.map +1 -1
  249. package/dist/components/templates/container.d.mts +2 -10
  250. package/dist/components/templates/container.d.mts.map +1 -1
  251. package/dist/components/templates/container.mjs +1 -2
  252. package/dist/components/templates/container.mjs.map +1 -1
  253. package/dist/components/templates/empty.d.mts +2 -11
  254. package/dist/components/templates/empty.d.mts.map +1 -1
  255. package/dist/components/templates/empty.mjs +1 -2
  256. package/dist/components/templates/empty.mjs.map +1 -1
  257. package/dist/components/templates/grid/col.d.mts +2 -17
  258. package/dist/components/templates/grid/col.d.mts.map +1 -1
  259. package/dist/components/templates/grid/col.mjs +2 -4
  260. package/dist/components/templates/grid/col.mjs.map +1 -1
  261. package/dist/components/templates/grid/row-context.mjs +1 -2
  262. package/dist/components/templates/grid/row-context.mjs.map +1 -1
  263. package/dist/components/templates/grid/row.d.mts +2 -13
  264. package/dist/components/templates/grid/row.d.mts.map +1 -1
  265. package/dist/components/templates/grid/row.mjs +2 -4
  266. package/dist/components/templates/grid/row.mjs.map +1 -1
  267. package/dist/components/templates/layout/content.d.mts +2 -9
  268. package/dist/components/templates/layout/content.d.mts.map +1 -1
  269. package/dist/components/templates/layout/content.mjs +1 -2
  270. package/dist/components/templates/layout/content.mjs.map +1 -1
  271. package/dist/components/templates/layout/footer.d.mts +2 -8
  272. package/dist/components/templates/layout/footer.d.mts.map +1 -1
  273. package/dist/components/templates/layout/footer.mjs +1 -2
  274. package/dist/components/templates/layout/footer.mjs.map +1 -1
  275. package/dist/components/templates/layout/header.d.mts +2 -9
  276. package/dist/components/templates/layout/header.d.mts.map +1 -1
  277. package/dist/components/templates/layout/header.mjs +1 -2
  278. package/dist/components/templates/layout/header.mjs.map +1 -1
  279. package/dist/components/templates/layout/layout.d.mts +2 -8
  280. package/dist/components/templates/layout/layout.d.mts.map +1 -1
  281. package/dist/components/templates/layout/layout.mjs +1 -2
  282. package/dist/components/templates/layout/layout.mjs.map +1 -1
  283. package/dist/components/templates/layout/sider-context.mjs +1 -2
  284. package/dist/components/templates/layout/sider-context.mjs.map +1 -1
  285. package/dist/components/templates/layout/sider.d.mts +2 -21
  286. package/dist/components/templates/layout/sider.d.mts.map +1 -1
  287. package/dist/components/templates/layout/sider.mjs +2 -4
  288. package/dist/components/templates/layout/sider.mjs.map +1 -1
  289. package/dist/components/templates/page-header.d.mts +2 -14
  290. package/dist/components/templates/page-header.d.mts.map +1 -1
  291. package/dist/components/templates/page-header.mjs +2 -4
  292. package/dist/components/templates/page-header.mjs.map +1 -1
  293. package/dist/components/templates/result.d.mts +2 -13
  294. package/dist/components/templates/result.d.mts.map +1 -1
  295. package/dist/components/templates/result.mjs +1 -2
  296. package/dist/components/templates/result.mjs.map +1 -1
  297. package/dist/core/accordion.d.mts +5 -22
  298. package/dist/core/accordion.d.mts.map +1 -1
  299. package/dist/core/accordion.mjs +3 -5
  300. package/dist/core/accordion.mjs.map +1 -1
  301. package/dist/core/badge.d.mts +4 -13
  302. package/dist/core/badge.d.mts.map +1 -1
  303. package/dist/core/badge.mjs +2 -3
  304. package/dist/core/badge.mjs.map +1 -1
  305. package/dist/core/button.d.mts +5 -15
  306. package/dist/core/button.d.mts.map +1 -1
  307. package/dist/core/button.mjs +1 -2
  308. package/dist/core/button.mjs.map +1 -1
  309. package/dist/core/calendar.d.mts +4 -21
  310. package/dist/core/calendar.d.mts.map +1 -1
  311. package/dist/core/calendar.mjs +3 -5
  312. package/dist/core/calendar.mjs.map +1 -1
  313. package/dist/core/checkbox.d.mts +2 -8
  314. package/dist/core/checkbox.d.mts.map +1 -1
  315. package/dist/core/checkbox.mjs +3 -5
  316. package/dist/core/checkbox.mjs.map +1 -1
  317. package/dist/core/dialog.d.mts +12 -48
  318. package/dist/core/dialog.d.mts.map +1 -1
  319. package/dist/core/dialog.mjs +3 -5
  320. package/dist/core/dialog.mjs.map +1 -1
  321. package/dist/core/drawer.d.mts +11 -46
  322. package/dist/core/drawer.d.mts.map +1 -1
  323. package/dist/core/drawer.mjs +3 -5
  324. package/dist/core/drawer.mjs.map +1 -1
  325. package/dist/core/field.d.mts +15 -54
  326. package/dist/core/field.d.mts.map +1 -1
  327. package/dist/core/field.mjs +3 -5
  328. package/dist/core/field.mjs.map +1 -1
  329. package/dist/core/input.d.mts +2 -9
  330. package/dist/core/input.d.mts.map +1 -1
  331. package/dist/core/input.mjs +2 -3
  332. package/dist/core/input.mjs.map +1 -1
  333. package/dist/core/label.d.mts +1 -7
  334. package/dist/core/label.d.mts.map +1 -1
  335. package/dist/core/label.mjs +2 -4
  336. package/dist/core/label.mjs.map +1 -1
  337. package/dist/core/popover.d.mts +9 -33
  338. package/dist/core/popover.d.mts.map +1 -1
  339. package/dist/core/popover.mjs +3 -5
  340. package/dist/core/popover.mjs.map +1 -1
  341. package/dist/core/progress.d.mts +2 -11
  342. package/dist/core/progress.d.mts.map +1 -1
  343. package/dist/core/progress.mjs +3 -5
  344. package/dist/core/progress.mjs.map +1 -1
  345. package/dist/core/radio-group.d.mts +4 -15
  346. package/dist/core/radio-group.d.mts.map +1 -1
  347. package/dist/core/radio-group.mjs +3 -5
  348. package/dist/core/radio-group.mjs.map +1 -1
  349. package/dist/core/resizable.d.mts +5 -17
  350. package/dist/core/resizable.d.mts.map +1 -1
  351. package/dist/core/resizable.mjs +3 -5
  352. package/dist/core/resizable.mjs.map +1 -1
  353. package/dist/core/select.d.mts +13 -50
  354. package/dist/core/select.d.mts.map +1 -1
  355. package/dist/core/select.mjs +3 -5
  356. package/dist/core/select.mjs.map +1 -1
  357. package/dist/core/separator.d.mts +2 -10
  358. package/dist/core/separator.d.mts.map +1 -1
  359. package/dist/core/separator.mjs +2 -4
  360. package/dist/core/separator.mjs.map +1 -1
  361. package/dist/core/skeleton.d.mts +2 -8
  362. package/dist/core/skeleton.d.mts.map +1 -1
  363. package/dist/core/skeleton.mjs +2 -3
  364. package/dist/core/skeleton.mjs.map +1 -1
  365. package/dist/core/switch.d.mts +3 -12
  366. package/dist/core/switch.d.mts.map +1 -1
  367. package/dist/core/switch.mjs +3 -5
  368. package/dist/core/switch.mjs.map +1 -1
  369. package/dist/core/textarea.d.mts +2 -8
  370. package/dist/core/textarea.d.mts.map +1 -1
  371. package/dist/core/textarea.mjs +2 -3
  372. package/dist/core/textarea.mjs.map +1 -1
  373. package/dist/core.mjs +1 -2
  374. package/dist/index.d.mts +31 -33
  375. package/dist/index.mjs +2 -3
  376. package/dist/providers/config/config.d.mts +2 -14
  377. package/dist/providers/config/config.d.mts.map +1 -1
  378. package/dist/providers/config/config.mjs +5 -6
  379. package/dist/providers/config/config.mjs.map +1 -1
  380. package/dist/providers/config/context.d.mts +0 -2
  381. package/dist/providers/config/context.d.mts.map +1 -1
  382. package/dist/providers/config/context.mjs +2 -4
  383. package/dist/providers/config/context.mjs.map +1 -1
  384. package/dist/providers/config/registry.d.mts +2 -7
  385. package/dist/providers/config/registry.d.mts.map +1 -1
  386. package/dist/providers/config/registry.mjs +2 -4
  387. package/dist/providers/config/registry.mjs.map +1 -1
  388. package/dist/providers/config/types.d.mts.map +1 -1
  389. package/dist/providers.d.mts +1 -2
  390. package/dist/providers.mjs +1 -2
  391. package/dist/style.css +1013 -1868
  392. package/dist/utils.d.mts +0 -1
  393. package/dist/utils.d.mts.map +1 -1
  394. package/dist/utils.mjs +1 -2
  395. package/dist/utils.mjs.map +1 -1
  396. package/package.json +29 -28
  397. package/dist/components/templates/grid/index.d.mts +0 -2
  398. package/dist/components/templates/index.d.mts +0 -13
  399. package/dist/providers/config/index.d.mts +0 -4
  400. package/dist/style.css.map +0 -1
  401. package/dist/style.mjs +0 -1
@@ -1,68 +1,29 @@
1
1
  import { Label } from "./label.mjs";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types0 from "class-variance-authority/types";
5
-
6
- //#region src/core/field.d.ts
7
3
  declare namespace field_d_exports {
8
4
  export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
9
5
  }
10
- declare function FieldSet({
11
- className,
12
- ...props
13
- }: React.ComponentProps<'fieldset'>): react_jsx_runtime0.JSX.Element;
14
- declare function FieldLegend({
15
- className,
16
- variant,
17
- ...props
18
- }: React.ComponentProps<'legend'> & {
6
+ declare function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>): import("react").JSX.Element;
7
+ declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<'legend'> & {
19
8
  variant?: 'legend' | 'label';
20
- }): react_jsx_runtime0.JSX.Element;
21
- declare function FieldGroup({
22
- className,
23
- ...props
24
- }: React.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
9
+ }): import("react").JSX.Element;
10
+ declare function FieldGroup({ className, ...props }: React.ComponentProps<'div'>): import("react").JSX.Element;
25
11
  declare const fieldVariants: (props?: ({
26
12
  orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
27
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
28
- declare function Field({
29
- className,
30
- orientation,
31
- ...props
32
- }: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime0.JSX.Element;
33
- declare function FieldContent({
34
- className,
35
- ...props
36
- }: React.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
37
- declare function FieldLabel({
38
- className,
39
- ...props
40
- }: React.ComponentProps<typeof Label>): react_jsx_runtime0.JSX.Element;
41
- declare function FieldTitle({
42
- className,
43
- ...props
44
- }: React.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
45
- declare function FieldDescription({
46
- className,
47
- ...props
48
- }: React.ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
49
- declare function FieldSeparator({
50
- children,
51
- className,
52
- ...props
53
- }: React.ComponentProps<'div'> & {
13
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
14
+ declare function Field({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>): import("react").JSX.Element;
15
+ declare function FieldContent({ className, ...props }: React.ComponentProps<'div'>): import("react").JSX.Element;
16
+ declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react").JSX.Element;
17
+ declare function FieldTitle({ className, ...props }: React.ComponentProps<'div'>): import("react").JSX.Element;
18
+ declare function FieldDescription({ className, ...props }: React.ComponentProps<'p'>): import("react").JSX.Element;
19
+ declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<'div'> & {
54
20
  children?: React.ReactNode;
55
- }): react_jsx_runtime0.JSX.Element;
56
- declare function FieldError({
57
- className,
58
- children,
59
- errors,
60
- ...props
61
- }: React.ComponentProps<'div'> & {
21
+ }): import("react").JSX.Element;
22
+ declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<'div'> & {
62
23
  errors?: Array<{
63
24
  message?: string;
64
25
  } | undefined>;
65
- }): react_jsx_runtime0.JSX.Element | null;
26
+ }): import("react").JSX.Element | null;
66
27
  //#endregion
67
- export { field_d_exports };
28
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, field_d_exports };
68
29
  //# sourceMappingURL=field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"field.d.mts","names":[],"sources":["../../src/core/field.tsx"],"mappings":";;;;;;;;;iBAWS,QAAA,CAAA;EAAW,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,eAA0B,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAelE,WAAA,CAAA;EACP,SAAA;EACA,OAAA;EAAA,GACG;AAAA,GACF,KAAA,CAAM,cAAA;EAA6B,OAAA;AAAA,IAA8B,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAgB3D,UAAA,CAAA;EAAa,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,cAclE,aAAA,GAAa,KAAA;;IAsBlB,+BAAA,CAAA,SAAA;AAAA,iBAEQ,KAAA,CAAA;EACP,SAAA;EACA,WAAA;EAAA,GACG;AAAA,GACF,KAAA,CAAM,cAAA,UAAwB,YAAA,QAAoB,aAAA,IAAc,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAY1D,YAAA,CAAA;EAAe,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAajE,UAAA,CAAA;EACP,SAAA;EAAA,GACG;AAAA,GACF,KAAA,CAAM,cAAA,QAAsB,KAAA,IAAM,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAoB5B,UAAA,CAAA;EAAa,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAc/D,gBAAA,CAAA;EAAmB,SAAA;EAAA,GAAc;AAAA,GAAS,KAAA,CAAM,cAAA,QAAmB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAgBnE,cAAA,CAAA;EACP,QAAA;EACA,SAAA;EAAA,GACG;AAAA,GACF,KAAA,CAAM,cAAA;EACP,QAAA,GAAW,KAAA,CAAM,SAAA;AAAA,IAClB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBA0BQ,UAAA,CAAA;EACP,SAAA;EACA,QAAA;EACA,MAAA;EAAA,GACG;AAAA,GACF,KAAA,CAAM,cAAA;EACP,MAAA,GAAS,KAAA;IAAQ,OAAA;EAAA;AAAA,IAClB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"field.d.mts","names":[],"sources":["../../src/core/field.tsx"],"mappings":";;;;;iBAWS,WAAW,cAAc,SAAS,MAAM,6CAA0B,IAAA;iBAelE,cACP,WACA,YACG,SACF,MAAM;EAA6B;oBAA8B,IAAA;iBAgB3D,aAAa,cAAc,SAAS,MAAM,wCAAqB,IAAA;cAclE,gBAAa;;6CAsBlB;iBAEQ,QACP,WACA,gBACG,SACF,MAAM,wBAAwB,oBAAoB,iCAAc,IAAA;iBAY1D,eAAe,cAAc,SAAS,MAAM,wCAAqB,IAAA;iBAajE,aACP,cACG,SACF,MAAM,sBAAsB,yBAAM,IAAA;iBAoB5B,aAAa,cAAc,SAAS,MAAM,wCAAqB,IAAA;iBAc/D,mBAAmB,cAAc,SAAS,MAAM,sCAAmB,IAAA;iBAgBnE,iBACP,UACA,cACG,SACF,MAAM;EACP,WAAW,MAAM;oBAClB,IAAA;iBA0BQ,aACP,WACA,UACA,WACG,SACF,MAAM;EACP,SAAS;IAAQ;;oBAClB,IAAA"}
@@ -1,5 +1,4 @@
1
- 'use client';
2
-
1
+ "use client";
3
2
  import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
4
3
  import { cn } from "../utils.mjs";
5
4
  import { Label } from "./label.mjs";
@@ -7,7 +6,6 @@ import { Separator } from "./separator.mjs";
7
6
  import { useMemo } from "react";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
9
8
  import { cva } from "class-variance-authority";
10
-
11
9
  //#region src/core/field.tsx
12
10
  var field_exports = /* @__PURE__ */ __exportAll({
13
11
  Field: () => Field,
@@ -139,7 +137,7 @@ function FieldError({ className, children, errors, ...props }) {
139
137
  children: content
140
138
  });
141
139
  }
142
-
143
140
  //#endregion
144
- export { field_exports };
141
+ export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, field_exports };
142
+
145
143
  //# sourceMappingURL=field.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"field.mjs","names":[],"sources":["../../src/core/field.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo } from 'react';\n\nimport { type VariantProps, cva } from 'class-variance-authority';\n\nimport { cn } from '@repo/ui/utils';\n\nimport { Label } from './label';\nimport { Separator } from './separator';\n\nfunction FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>) {\n return (\n <fieldset\n data-slot=\"field-set\"\n className={cn(\n 'flex flex-col gap-6',\n `has-[>[data-slot=checkbox-group]]:gap-3\n has-[>[data-slot=radio-group]]:gap-3`,\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldLegend({\n className,\n variant = 'legend',\n ...props\n}: React.ComponentProps<'legend'> & { variant?: 'legend' | 'label' }) {\n return (\n <legend\n data-slot=\"field-legend\"\n data-variant={variant}\n className={cn(\n 'mb-3 font-medium',\n 'data-[variant=legend]:text-base',\n 'data-[variant=label]:text-sm',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldGroup({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"field-group\"\n className={cn(\n `group/field-group @container/field-group flex w-full flex-col gap-7\n data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4`,\n className,\n )}\n {...props}\n />\n );\n}\n\nconst fieldVariants = cva(\n 'group/field flex w-full gap-3 data-[invalid=true]:text-destructive',\n {\n variants: {\n orientation: {\n vertical: ['flex-col [&>*]:w-full [&>.sr-only]:w-auto'],\n horizontal: [\n 'flex-row items-center',\n '[&>[data-slot=field-label]]:flex-auto',\n 'has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n ],\n responsive: [\n 'flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto',\n '@md/field-group:[&>[data-slot=field-label]]:flex-auto',\n '@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n ],\n },\n },\n defaultVariants: {\n orientation: 'vertical',\n },\n },\n);\n\nfunction Field({\n className,\n orientation = 'vertical',\n ...props\n}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"field\"\n data-orientation={orientation}\n className={cn(fieldVariants({ orientation }), className)}\n {...props}\n />\n );\n}\n\nfunction FieldContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"field-content\"\n className={cn(\n 'group/field-content flex flex-1 flex-col gap-1.5 leading-snug',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldLabel({\n className,\n ...props\n}: React.ComponentProps<typeof Label>) {\n return (\n <Label\n data-slot=\"field-label\"\n className={cn(\n `group/field-label peer/field-label flex w-fit gap-2 leading-snug\n group-data-[disabled=true]/field:opacity-50`,\n `has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col\n has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border\n [&>*]:data-[slot=field]:p-4`,\n `has-data-[state=checked]:bg-primary/5\n has-data-[state=checked]:border-primary\n dark:has-data-[state=checked]:bg-primary/10`,\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"field-label\"\n className={cn(\n `flex w-fit items-center gap-2 text-sm leading-snug font-medium\n group-data-[disabled=true]/field:opacity-50`,\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <p\n data-slot=\"field-description\"\n className={cn(\n `text-muted-foreground text-sm leading-normal font-normal\n group-has-[[data-orientation=horizontal]]/field:text-balance`,\n 'last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5',\n '[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldSeparator({\n children,\n className,\n ...props\n}: React.ComponentProps<'div'> & {\n children?: React.ReactNode;\n}) {\n return (\n <div\n data-slot=\"field-separator\"\n data-content={!!children}\n className={cn(\n `relative -my-2 h-5 text-sm\n group-data-[variant=outline]/field-group:-mb-2`,\n className,\n )}\n {...props}\n >\n <Separator className=\"absolute inset-0 top-1/2\" />\n {children && (\n <span\n className=\"bg-background text-muted-foreground relative mx-auto block\n w-fit px-2\"\n data-slot=\"field-separator-content\"\n >\n {children}\n </span>\n )}\n </div>\n );\n}\n\nfunction FieldError({\n className,\n children,\n errors,\n ...props\n}: React.ComponentProps<'div'> & {\n errors?: Array<{ message?: string } | undefined>;\n}) {\n const content = useMemo(() => {\n if (children) {\n return children;\n }\n\n if (!errors?.length) {\n return null;\n }\n\n const uniqueErrors = [\n ...new Map(errors.map(error => [error?.message, error])).values(),\n ];\n\n if (uniqueErrors?.length == 1) {\n return uniqueErrors[0]?.message;\n }\n\n return (\n <ul className=\"ml-4 flex list-disc flex-col gap-1\">\n {uniqueErrors.map(\n (error, index) =>\n error?.message && <li key={index}>{error.message}</li>,\n )}\n </ul>\n );\n }, [children, errors]);\n\n if (!content) {\n return null;\n }\n\n return (\n <div\n role=\"alert\"\n data-slot=\"field-error\"\n className={cn('text-destructive text-sm font-normal', className)}\n {...props}\n >\n {content}\n </div>\n );\n}\n\nexport {\n Field,\n FieldLabel,\n FieldDescription,\n FieldError,\n FieldGroup,\n FieldLegend,\n FieldSeparator,\n FieldSet,\n FieldContent,\n FieldTitle,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAWA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA2C;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,uBACA;+CAEA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,WACA,UAAU,UACV,GAAG,SACiE;AACpE,QACE,oBAAC;EACC,aAAU;EACV,gBAAc;EACd,WAAW,GACT,oBACA,mCACA,gCACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;AACxE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT;6EAEA,UACD;EACD,GAAI;GACJ;;AAIN,MAAM,gBAAgB,IACpB,sEACA;CACE,UAAU,EACR,aAAa;EACX,UAAU,CAAC,4CAA4C;EACvD,YAAY;GACV;GACA;GACA;GACD;EACD,YAAY;GACV;GACA;GACA;GACD;EACF,EACF;CACD,iBAAiB,EACf,aAAa,YACd;CACF,CACF;AAED,SAAS,MAAM,EACb,WACA,cAAc,YACd,GAAG,SACgE;AACnE,QACE,oBAAC;EACC,MAAK;EACL,aAAU;EACV,oBAAkB;EAClB,WAAW,GAAG,cAAc,EAAE,aAAa,CAAC,EAAE,UAAU;EACxD,GAAI;GACJ;;AAIN,SAAS,aAAa,EAAE,WAAW,GAAG,SAAsC;AAC1E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT,iEACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAClB,WACA,GAAG,SACkC;AACrC,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT;sDAEA;;sCAGA;;sDAGA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;AACxE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT;sDAEA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAoC;AAC5E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GACT;uEAEA,gEACA,qEACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,UACA,WACA,GAAG,SAGF;AACD,QACE,qBAAC;EACC,aAAU;EACV,gBAAc,CAAC,CAAC;EAChB,WAAW,GACT;yDAEA,UACD;EACD,GAAI;aAEJ,oBAAC,aAAU,WAAU,6BAA6B,EACjD,YACC,oBAAC;GACC,WAAU;GAEV,aAAU;GAET;IACI;GAEL;;AAIV,SAAS,WAAW,EAClB,WACA,UACA,QACA,GAAG,SAGF;CACD,MAAM,UAAU,cAAc;AAC5B,MAAI,SACF,QAAO;AAGT,MAAI,CAAC,QAAQ,OACX,QAAO;EAGT,MAAM,eAAe,CACnB,GAAG,IAAI,IAAI,OAAO,KAAI,UAAS,CAAC,OAAO,SAAS,MAAM,CAAC,CAAC,CAAC,QAAQ,CAClE;AAED,MAAI,cAAc,UAAU,EAC1B,QAAO,aAAa,IAAI;AAG1B,SACE,oBAAC;GAAG,WAAU;aACX,aAAa,KACX,OAAO,UACN,OAAO,WAAW,oBAAC,kBAAgB,MAAM,WAAd,MAA2B,CACzD;IACE;IAEN,CAAC,UAAU,OAAO,CAAC;AAEtB,KAAI,CAAC,QACH,QAAO;AAGT,QACE,oBAAC;EACC,MAAK;EACL,aAAU;EACV,WAAW,GAAG,wCAAwC,UAAU;EAChE,GAAI;YAEH;GACG"}
1
+ {"version":3,"file":"field.mjs","names":[],"sources":["../../src/core/field.tsx"],"sourcesContent":["'use client';\n\nimport { useMemo } from 'react';\n\nimport { type VariantProps, cva } from 'class-variance-authority';\n\nimport { cn } from '@repo/ui/utils';\n\nimport { Label } from './label';\nimport { Separator } from './separator';\n\nfunction FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>) {\n return (\n <fieldset\n data-slot=\"field-set\"\n className={cn(\n 'flex flex-col gap-6',\n `has-[>[data-slot=checkbox-group]]:gap-3\n has-[>[data-slot=radio-group]]:gap-3`,\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldLegend({\n className,\n variant = 'legend',\n ...props\n}: React.ComponentProps<'legend'> & { variant?: 'legend' | 'label' }) {\n return (\n <legend\n data-slot=\"field-legend\"\n data-variant={variant}\n className={cn(\n 'mb-3 font-medium',\n 'data-[variant=legend]:text-base',\n 'data-[variant=label]:text-sm',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldGroup({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"field-group\"\n className={cn(\n `group/field-group @container/field-group flex w-full flex-col gap-7\n data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4`,\n className,\n )}\n {...props}\n />\n );\n}\n\nconst fieldVariants = cva(\n 'group/field flex w-full gap-3 data-[invalid=true]:text-destructive',\n {\n variants: {\n orientation: {\n vertical: ['flex-col [&>*]:w-full [&>.sr-only]:w-auto'],\n horizontal: [\n 'flex-row items-center',\n '[&>[data-slot=field-label]]:flex-auto',\n 'has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n ],\n responsive: [\n 'flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto',\n '@md/field-group:[&>[data-slot=field-label]]:flex-auto',\n '@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n ],\n },\n },\n defaultVariants: {\n orientation: 'vertical',\n },\n },\n);\n\nfunction Field({\n className,\n orientation = 'vertical',\n ...props\n}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>) {\n return (\n <div\n role=\"group\"\n data-slot=\"field\"\n data-orientation={orientation}\n className={cn(fieldVariants({ orientation }), className)}\n {...props}\n />\n );\n}\n\nfunction FieldContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"field-content\"\n className={cn(\n 'group/field-content flex flex-1 flex-col gap-1.5 leading-snug',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldLabel({\n className,\n ...props\n}: React.ComponentProps<typeof Label>) {\n return (\n <Label\n data-slot=\"field-label\"\n className={cn(\n `group/field-label peer/field-label flex w-fit gap-2 leading-snug\n group-data-[disabled=true]/field:opacity-50`,\n `has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col\n has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border\n [&>*]:data-[slot=field]:p-4`,\n `has-data-[state=checked]:bg-primary/5\n has-data-[state=checked]:border-primary\n dark:has-data-[state=checked]:bg-primary/10`,\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"field-label\"\n className={cn(\n `flex w-fit items-center gap-2 text-sm leading-snug font-medium\n group-data-[disabled=true]/field:opacity-50`,\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <p\n data-slot=\"field-description\"\n className={cn(\n `text-muted-foreground text-sm leading-normal font-normal\n group-has-[[data-orientation=horizontal]]/field:text-balance`,\n 'last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5',\n '[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction FieldSeparator({\n children,\n className,\n ...props\n}: React.ComponentProps<'div'> & {\n children?: React.ReactNode;\n}) {\n return (\n <div\n data-slot=\"field-separator\"\n data-content={!!children}\n className={cn(\n `relative -my-2 h-5 text-sm\n group-data-[variant=outline]/field-group:-mb-2`,\n className,\n )}\n {...props}\n >\n <Separator className=\"absolute inset-0 top-1/2\" />\n {children && (\n <span\n className=\"bg-background text-muted-foreground relative mx-auto block\n w-fit px-2\"\n data-slot=\"field-separator-content\"\n >\n {children}\n </span>\n )}\n </div>\n );\n}\n\nfunction FieldError({\n className,\n children,\n errors,\n ...props\n}: React.ComponentProps<'div'> & {\n errors?: Array<{ message?: string } | undefined>;\n}) {\n const content = useMemo(() => {\n if (children) {\n return children;\n }\n\n if (!errors?.length) {\n return null;\n }\n\n const uniqueErrors = [\n ...new Map(errors.map(error => [error?.message, error])).values(),\n ];\n\n if (uniqueErrors?.length == 1) {\n return uniqueErrors[0]?.message;\n }\n\n return (\n <ul className=\"ml-4 flex list-disc flex-col gap-1\">\n {uniqueErrors.map(\n (error, index) =>\n error?.message && <li key={index}>{error.message}</li>,\n )}\n </ul>\n );\n }, [children, errors]);\n\n if (!content) {\n return null;\n }\n\n return (\n <div\n role=\"alert\"\n data-slot=\"field-error\"\n className={cn('text-destructive text-sm font-normal', className)}\n {...props}\n >\n {content}\n </div>\n );\n}\n\nexport {\n Field,\n FieldLabel,\n FieldDescription,\n FieldError,\n FieldGroup,\n FieldLegend,\n FieldSeparator,\n FieldSet,\n FieldContent,\n FieldTitle,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAWA,SAAS,SAAS,EAAE,WAAW,GAAG,SAA2C;CAC3E,OACE,oBAAC,YAAD;EACE,aAAU;EACV,WAAW,GACT,uBACA;+CAEA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,YAAY,EACnB,WACA,UAAU,UACV,GAAG,SACiE;CACpE,OACE,oBAAC,UAAD;EACE,aAAU;EACV,gBAAc;EACd,WAAW,GACT,oBACA,mCACA,gCACA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;CACxE,OACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GACT;6EAEA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,MAAM,gBAAgB,IACpB,sEACA;CACE,UAAU,EACR,aAAa;EACX,UAAU,CAAC,2CAA2C;EACtD,YAAY;GACV;GACA;GACA;EACF;EACA,YAAY;GACV;GACA;GACA;EACF;CACF,EACF;CACA,iBAAiB,EACf,aAAa,WACf;AACF,CACF;AAEA,SAAS,MAAM,EACb,WACA,cAAc,YACd,GAAG,SACgE;CACnE,OACE,oBAAC,OAAD;EACE,MAAK;EACL,aAAU;EACV,oBAAkB;EAClB,WAAW,GAAG,cAAc,EAAE,YAAY,CAAC,GAAG,SAAS;EACvD,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,aAAa,EAAE,WAAW,GAAG,SAAsC;CAC1E,OACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GACT,iEACA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,WAAW,EAClB,WACA,GAAG,SACkC;CACrC,OACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GACT;sDAEA;;sCAGA;;sDAGA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,WAAW,EAAE,WAAW,GAAG,SAAsC;CACxE,OACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GACT;sDAEA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,iBAAiB,EAAE,WAAW,GAAG,SAAoC;CAC5E,OACE,oBAAC,KAAD;EACE,aAAU;EACV,WAAW,GACT;uEAEA,gEACA,qEACA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,eAAe,EACtB,UACA,WACA,GAAG,SAGF;CACD,OACE,qBAAC,OAAD;EACE,aAAU;EACV,gBAAc,CAAC,CAAC;EAChB,WAAW,GACT;yDAEA,SACF;EACA,GAAI;EARN,UAAA,CAUE,oBAAC,WAAD,EAAW,WAAU,2BAA4B,CAAA,GAChD,YACC,oBAAC,QAAD;GACE,WAAU;GAEV,aAAU;GAET;EACG,CAAA,CAEL;;AAET;AAEA,SAAS,WAAW,EAClB,WACA,UACA,QACA,GAAG,SAGF;CACD,MAAM,UAAU,cAAc;EAC5B,IAAI,UACF,OAAO;EAGT,IAAI,CAAC,QAAQ,QACX,OAAO;EAGT,MAAM,eAAe,CACnB,GAAG,IAAI,IAAI,OAAO,KAAI,UAAS,CAAC,OAAO,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAClE;EAEA,IAAI,cAAc,UAAU,GAC1B,OAAO,aAAa,EAAE,EAAE;EAG1B,OACE,oBAAC,MAAD;GAAI,WAAU;GACX,UAAA,aAAa,KACX,OAAO,UACN,OAAO,WAAW,oBAAC,MAAD,EAAA,UAAiB,MAAM,QAAY,GAA1B,KAA0B,CACzD;EACE,CAAA;CAER,GAAG,CAAC,UAAU,MAAM,CAAC;CAErB,IAAI,CAAC,SACH,OAAO;CAGT,OACE,oBAAC,OAAD;EACE,MAAK;EACL,aAAU;EACV,WAAW,GAAG,wCAAwC,SAAS;EAC/D,GAAI;EAEH,UAAA;CACE,CAAA;AAET"}
@@ -1,15 +1,8 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
-
4
- //#region src/core/input.d.ts
5
2
  declare namespace input_d_exports {
6
3
  export { Input };
7
4
  }
8
- declare function Input({
9
- className,
10
- type,
11
- ...props
12
- }: React$1.ComponentProps<'input'>): react_jsx_runtime0.JSX.Element;
5
+ declare function Input({ className, type, ...props }: React$1.ComponentProps<'input'>): React$1.JSX.Element;
13
6
  //#endregion
14
- export { input_d_exports };
7
+ export { Input, input_d_exports };
15
8
  //# sourceMappingURL=input.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.mts","names":[],"sources":["../../src/core/input.tsx"],"mappings":";;;;;;;iBAIS,KAAA,CAAA;EAAQ,SAAA;EAAW,IAAA;EAAA,GAAS;AAAA,GAAS,OAAA,CAAM,cAAA,YAAuB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"input.d.mts","names":[],"sources":["../../src/core/input.tsx"],"mappings":";;;;iBAIS,QAAQ,WAAW,SAAS,SAAS,QAAM,0BAAuB,QAAA,IAAA"}
@@ -2,7 +2,6 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
2
2
  import { cn } from "../utils.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
-
6
5
  //#region src/core/input.tsx
7
6
  var input_exports = /* @__PURE__ */ __exportAll({ Input: () => Input });
8
7
  function Input({ className, type, ...props }) {
@@ -21,7 +20,7 @@ function Input({ className, type, ...props }) {
21
20
  ...props
22
21
  });
23
22
  }
24
-
25
23
  //#endregion
26
- export { input_exports };
24
+ export { Input, input_exports };
25
+
27
26
  //# sourceMappingURL=input.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.mjs","names":[],"sources":["../../src/core/input.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { cn } from '@repo/ui/utils';\n\nfunction Input({ className, type, ...props }: React.ComponentProps<'input'>) {\n return (\n <input\n type={type}\n data-slot=\"input\"\n className={cn(\n `file:text-foreground placeholder:text-muted-foreground\n selection:bg-primary selection:text-primary-foreground dark:bg-input/30\n border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3\n py-1 text-base shadow-xs transition-[color,box-shadow] outline-none\n file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm\n file:font-medium disabled:pointer-events-none\n disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,\n `focus-visible:border-ring focus-visible:ring-ring/50\n focus-visible:ring-[3px]`,\n `aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40\n aria-invalid:border-destructive`,\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Input };\n"],"mappings":";;;;;;;AAIA,SAAS,MAAM,EAAE,WAAW,MAAM,GAAG,SAAwC;AAC3E,QACE,oBAAC;EACO;EACN,aAAU;EACV,WAAW,GACT;;;;;;qEAOA;mCAEA;0CAEA,UACD;EACD,GAAI;GACJ"}
1
+ {"version":3,"file":"input.mjs","names":[],"sources":["../../src/core/input.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { cn } from '@repo/ui/utils';\n\nfunction Input({ className, type, ...props }: React.ComponentProps<'input'>) {\n return (\n <input\n type={type}\n data-slot=\"input\"\n className={cn(\n `file:text-foreground placeholder:text-muted-foreground\n selection:bg-primary selection:text-primary-foreground dark:bg-input/30\n border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3\n py-1 text-base shadow-xs transition-[color,box-shadow] outline-none\n file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm\n file:font-medium disabled:pointer-events-none\n disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,\n `focus-visible:border-ring focus-visible:ring-ring/50\n focus-visible:ring-[3px]`,\n `aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40\n aria-invalid:border-destructive`,\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Input };\n"],"mappings":";;;;;;AAIA,SAAS,MAAM,EAAE,WAAW,MAAM,GAAG,SAAwC;CAC3E,OACE,oBAAC,SAAD;EACQ;EACN,aAAU;EACV,WAAW,GACT;;;;;;qEAOA;mCAEA;0CAEA,SACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -1,15 +1,9 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { Label } from "radix-ui";
4
-
5
- //#region src/core/label.d.ts
6
3
  declare namespace label_d_exports {
7
4
  export { Label$1 as Label };
8
5
  }
9
- declare function Label$1({
10
- className,
11
- ...props
12
- }: React$1.ComponentProps<typeof Label.Root>): react_jsx_runtime0.JSX.Element;
6
+ declare function Label$1({ className, ...props }: React$1.ComponentProps<typeof Label.Root>): React$1.JSX.Element;
13
7
  //#endregion
14
8
  export { Label$1 as Label, label_d_exports };
15
9
  //# sourceMappingURL=label.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.mts","names":[],"sources":["../../src/core/label.tsx"],"mappings":";;;;;;;;iBAQS,OAAA,CAAA;EACP,SAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,KAAA,CAAe,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"label.d.mts","names":[],"sources":["../../src/core/label.tsx"],"mappings":";;;;;iBAQS,UACP,cACG,SACF,QAAM,sBAAsB,MAAe,QAAK,QAAA,IAAA"}
@@ -1,11 +1,9 @@
1
- 'use client';
2
-
1
+ "use client";
3
2
  import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
4
3
  import { cn } from "../utils.mjs";
5
4
  import "react";
6
5
  import { jsx } from "react/jsx-runtime";
7
6
  import { Label } from "radix-ui";
8
-
9
7
  //#region src/core/label.tsx
10
8
  var label_exports = /* @__PURE__ */ __exportAll({ Label: () => Label$1 });
11
9
  function Label$1({ className, ...props }) {
@@ -18,7 +16,7 @@ function Label$1({ className, ...props }) {
18
16
  ...props
19
17
  });
20
18
  }
21
-
22
19
  //#endregion
23
20
  export { Label$1 as Label, label_exports };
21
+
24
22
  //# sourceMappingURL=label.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.mjs","names":["Label","LabelPrimitive"],"sources":["../../src/core/label.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport { Label as LabelPrimitive } from 'radix-ui';\n\nimport { cn } from '@repo/ui/utils';\n\nfunction Label({\n className,\n ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n return (\n <LabelPrimitive.Root\n data-slot=\"label\"\n className={cn(\n `flex items-center gap-2 text-sm leading-none font-medium select-none\n group-data-[disabled=true]:pointer-events-none\n group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed\n peer-disabled:opacity-50`,\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n"],"mappings":";;;;;;;;;;AAQA,SAASA,QAAM,EACb,WACA,GAAG,SACgD;AACnD,QACE,oBAACC,MAAe;EACd,aAAU;EACV,WAAW,GACT;;;mCAIA,UACD;EACD,GAAI;GACJ"}
1
+ {"version":3,"file":"label.mjs","names":["Label","LabelPrimitive"],"sources":["../../src/core/label.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport { Label as LabelPrimitive } from 'radix-ui';\n\nimport { cn } from '@repo/ui/utils';\n\nfunction Label({\n className,\n ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n return (\n <LabelPrimitive.Root\n data-slot=\"label\"\n className={cn(\n `flex items-center gap-2 text-sm leading-none font-medium select-none\n group-data-[disabled=true]:pointer-events-none\n group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed\n peer-disabled:opacity-50`,\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n"],"mappings":";;;;;;;;AAQA,SAASA,QAAM,EACb,WACA,GAAG,SACgD;CACnD,OACE,oBAACC,MAAe,MAAhB;EACE,aAAU;EACV,WAAW,GACT;;;mCAIA,SACF;EACA,GAAI;CACL,CAAA;AAEL"}
@@ -1,41 +1,17 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import * as PopoverPrimitive from "@radix-ui/react-popover";
4
-
5
- //#region src/core/popover.d.ts
6
3
  declare namespace popover_d_exports {
7
4
  export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
8
5
  }
9
- declare function Popover({
10
- ...props
11
- }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime0.JSX.Element;
12
- declare function PopoverTrigger({
13
- ...props
14
- }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime0.JSX.Element;
15
- declare function PopoverContent({
16
- className,
17
- align,
18
- sideOffset,
19
- container,
20
- ...props
21
- }: React$1.ComponentProps<typeof PopoverPrimitive.Content> & {
6
+ declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): React$1.JSX.Element;
7
+ declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): React$1.JSX.Element;
8
+ declare function PopoverContent({ className, align, sideOffset, container, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content> & {
22
9
  container?: HTMLElement;
23
- }): react_jsx_runtime0.JSX.Element;
24
- declare function PopoverAnchor({
25
- ...props
26
- }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime0.JSX.Element;
27
- declare function PopoverHeader({
28
- className,
29
- ...props
30
- }: React$1.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
31
- declare function PopoverTitle({
32
- className,
33
- ...props
34
- }: React$1.ComponentProps<'h2'>): react_jsx_runtime0.JSX.Element;
35
- declare function PopoverDescription({
36
- className,
37
- ...props
38
- }: React$1.ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
10
+ }): React$1.JSX.Element;
11
+ declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): React$1.JSX.Element;
12
+ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<'div'>): React$1.JSX.Element;
13
+ declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<'h2'>): React$1.JSX.Element;
14
+ declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<'p'>): React$1.JSX.Element;
39
15
  //#endregion
40
- export { popover_d_exports };
16
+ export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, popover_d_exports };
41
17
  //# sourceMappingURL=popover.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.mts","names":[],"sources":["../../src/core/popover.tsx"],"mappings":";;;;;;;;iBASS,OAAA,CAAA;EAAA,GACJ;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,gBAAA,CAAiB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI5C,cAAA,CAAA;EAAA,GACJ;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,gBAAA,CAAiB,OAAA,IAAQ,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI/C,cAAA,CAAA;EACP,SAAA;EACA,KAAA;EACA,UAAA;EACA,SAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,gBAAA,CAAiB,OAAA;EAC9C,SAAA,GAAY,WAAA;AAAA,IACb,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBA2BQ,aAAA,CAAA;EAAA,GACJ;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,gBAAA,CAAiB,MAAA,IAAO,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI9C,aAAA,CAAA;EAAgB,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,UAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUlE,YAAA,CAAA;EAAe,SAAA;EAAA,GAAc;AAAA,GAAS,OAAA,CAAM,cAAA,SAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAUhE,kBAAA,CAAA;EACP,SAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAmB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"popover.d.mts","names":[],"sources":["../../src/core/popover.tsx"],"mappings":";;;;;iBASS,aACJ,SACF,QAAM,sBAAsB,iBAAiB,QAAK,QAAA,IAAA;iBAI5C,oBACJ,SACF,QAAM,sBAAsB,iBAAiB,WAAQ,QAAA,IAAA;iBAI/C,iBACP,WACA,OACA,YACA,cACG,SACF,QAAM,sBAAsB,iBAAiB;EAC9C,YAAY;IACb,QAAA,IAAA;iBA2BQ,mBACJ,SACF,QAAM,sBAAsB,iBAAiB,UAAO,QAAA,IAAA;iBAI9C,gBAAgB,cAAc,SAAS,QAAM,wBAAqB,QAAA,IAAA;iBAUlE,eAAe,cAAc,SAAS,QAAM,uBAAoB,QAAA,IAAA;iBAUhE,qBACP,cACG,SACF,QAAM,sBAAmB,QAAA,IAAA"}
@@ -1,12 +1,10 @@
1
- 'use client';
2
-
1
+ "use client";
3
2
  import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
4
3
  import { cn } from "../utils.mjs";
5
4
  import { useConfig } from "../providers/config/context.mjs";
6
5
  import "react";
7
6
  import { jsx } from "react/jsx-runtime";
8
7
  import * as PopoverPrimitive from "@radix-ui/react-popover";
9
-
10
8
  //#region src/core/popover.tsx
11
9
  var popover_exports = /* @__PURE__ */ __exportAll({
12
10
  Popover: () => Popover,
@@ -77,7 +75,7 @@ function PopoverDescription({ className, ...props }) {
77
75
  ...props
78
76
  });
79
77
  }
80
-
81
78
  //#endregion
82
- export { popover_exports };
79
+ export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, popover_exports };
80
+
83
81
  //# sourceMappingURL=popover.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.mjs","names":[],"sources":["../../src/core/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\n\nimport { useConfig } from '@repo/ui/providers';\nimport { cn } from '@repo/ui/utils';\n\nfunction Popover({\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n container,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content> & {\n container?: HTMLElement;\n}) {\n const { getContainer } = useConfig();\n\n return (\n <PopoverPrimitive.Portal container={container ?? getContainer()}>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n `bg-popover text-popover-foreground data-[state=open]:animate-in\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0\n data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95\n data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2 z-50 w-72\n origin-(--radix-popover-content-transform-origin) rounded-md border\n p-4 shadow-md outline-hidden`,\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"popover-header\"\n className={cn('flex flex-col gap-1 text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return (\n <div\n data-slot=\"popover-title\"\n className={cn('font-medium', className)}\n {...props}\n />\n );\n}\n\nfunction PopoverDescription({\n className,\n ...props\n}: React.ComponentProps<'p'>) {\n return (\n <p\n data-slot=\"popover-description\"\n className={cn('text-muted-foreground', className)}\n {...props}\n />\n );\n}\n\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n PopoverHeader,\n PopoverTitle,\n PopoverDescription,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AASA,SAAS,QAAQ,EACf,GAAG,SACkD;AACrD,QAAO,oBAAC,iBAAiB;EAAK,aAAU;EAAU,GAAI;GAAS;;AAGjE,SAAS,eAAe,EACtB,GAAG,SACqD;AACxD,QAAO,oBAAC,iBAAiB;EAAQ,aAAU;EAAkB,GAAI;GAAS;;AAG5E,SAAS,eAAe,EACtB,WACA,QAAQ,UACR,aAAa,GACb,WACA,GAAG,SAGF;CACD,MAAM,EAAE,iBAAiB,WAAW;AAEpC,QACE,oBAAC,iBAAiB;EAAO,WAAW,aAAa,cAAc;YAC7D,oBAAC,iBAAiB;GAChB,aAAU;GACH;GACK;GACZ,WAAW,GACT;;;;;;;;yCASA,UACD;GACD,GAAI;IACJ;GACsB;;AAI9B,SAAS,cAAc,EACrB,GAAG,SACoD;AACvD,QAAO,oBAAC,iBAAiB;EAAO,aAAU;EAAiB,GAAI;GAAS;;AAG1E,SAAS,cAAc,EAAE,WAAW,GAAG,SAAsC;AAC3E,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,+BAA+B,UAAU;EACvD,GAAI;GACJ;;AAIN,SAAS,aAAa,EAAE,WAAW,GAAG,SAAqC;AACzE,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,eAAe,UAAU;EACvC,GAAI;GACJ;;AAIN,SAAS,mBAAmB,EAC1B,WACA,GAAG,SACyB;AAC5B,QACE,oBAAC;EACC,aAAU;EACV,WAAW,GAAG,yBAAyB,UAAU;EACjD,GAAI;GACJ"}
1
+ {"version":3,"file":"popover.mjs","names":[],"sources":["../../src/core/popover.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\n\nimport { useConfig } from '@repo/ui/providers';\nimport { cn } from '@repo/ui/utils';\n\nfunction Popover({\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nfunction PopoverTrigger({\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {\n return <PopoverPrimitive.Trigger data-slot=\"popover-trigger\" {...props} />;\n}\n\nfunction PopoverContent({\n className,\n align = 'center',\n sideOffset = 4,\n container,\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Content> & {\n container?: HTMLElement;\n}) {\n const { getContainer } = useConfig();\n\n return (\n <PopoverPrimitive.Portal container={container ?? getContainer()}>\n <PopoverPrimitive.Content\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n `bg-popover text-popover-foreground data-[state=open]:animate-in\n data-[state=closed]:animate-out data-[state=closed]:fade-out-0\n data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95\n data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2\n data-[side=left]:slide-in-from-right-2\n data-[side=right]:slide-in-from-left-2\n data-[side=top]:slide-in-from-bottom-2 z-50 w-72\n origin-(--radix-popover-content-transform-origin) rounded-md border\n p-4 shadow-md outline-hidden`,\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n );\n}\n\nfunction PopoverAnchor({\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {\n return <PopoverPrimitive.Anchor data-slot=\"popover-anchor\" {...props} />;\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"popover-header\"\n className={cn('flex flex-col gap-1 text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>) {\n return (\n <div\n data-slot=\"popover-title\"\n className={cn('font-medium', className)}\n {...props}\n />\n );\n}\n\nfunction PopoverDescription({\n className,\n ...props\n}: React.ComponentProps<'p'>) {\n return (\n <p\n data-slot=\"popover-description\"\n className={cn('text-muted-foreground', className)}\n {...props}\n />\n );\n}\n\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n PopoverHeader,\n PopoverTitle,\n PopoverDescription,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AASA,SAAS,QAAQ,EACf,GAAG,SACkD;CACrD,OAAO,oBAAC,iBAAiB,MAAlB;EAAuB,aAAU;EAAU,GAAI;CAAQ,CAAA;AAChE;AAEA,SAAS,eAAe,EACtB,GAAG,SACqD;CACxD,OAAO,oBAAC,iBAAiB,SAAlB;EAA0B,aAAU;EAAkB,GAAI;CAAQ,CAAA;AAC3E;AAEA,SAAS,eAAe,EACtB,WACA,QAAQ,UACR,aAAa,GACb,WACA,GAAG,SAGF;CACD,MAAM,EAAE,iBAAiB,UAAU;CAEnC,OACE,oBAAC,iBAAiB,QAAlB;EAAyB,WAAW,aAAa,aAAa;EAC5D,UAAA,oBAAC,iBAAiB,SAAlB;GACE,aAAU;GACH;GACK;GACZ,WAAW,GACT;;;;;;;;yCASA,SACF;GACA,GAAI;EACL,CAAA;CACsB,CAAA;AAE7B;AAEA,SAAS,cAAc,EACrB,GAAG,SACoD;CACvD,OAAO,oBAAC,iBAAiB,QAAlB;EAAyB,aAAU;EAAiB,GAAI;CAAQ,CAAA;AACzE;AAEA,SAAS,cAAc,EAAE,WAAW,GAAG,SAAsC;CAC3E,OACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GAAG,+BAA+B,SAAS;EACtD,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,aAAa,EAAE,WAAW,GAAG,SAAqC;CACzE,OACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GAAG,eAAe,SAAS;EACtC,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,mBAAmB,EAC1B,WACA,GAAG,SACyB;CAC5B,OACE,oBAAC,KAAD;EACE,aAAU;EACV,WAAW,GAAG,yBAAyB,SAAS;EAChD,GAAI;CACL,CAAA;AAEL"}
@@ -1,8 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import * as ProgressPrimitive from "@radix-ui/react-progress";
4
-
5
- //#region src/core/progress.d.ts
6
3
  declare namespace progress_d_exports {
7
4
  export { Progress };
8
5
  }
@@ -10,13 +7,7 @@ interface CustomProps {
10
7
  barClassName?: string;
11
8
  barStyle?: React$1.CSSProperties;
12
9
  }
13
- declare function Progress({
14
- className,
15
- value,
16
- barClassName,
17
- barStyle,
18
- ...props
19
- }: React$1.ComponentProps<typeof ProgressPrimitive.Root> & CustomProps): react_jsx_runtime0.JSX.Element;
10
+ declare function Progress({ className, value, barClassName, barStyle, ...props }: React$1.ComponentProps<typeof ProgressPrimitive.Root> & CustomProps): React$1.JSX.Element;
20
11
  //#endregion
21
- export { progress_d_exports };
12
+ export { Progress, progress_d_exports };
22
13
  //# sourceMappingURL=progress.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.mts","names":[],"sources":["../../src/core/progress.tsx"],"mappings":";;;;;;;;UAQU,WAAA;EACR,YAAA;EACA,QAAA,GAAW,OAAA,CAAM,aAAA;AAAA;AAAA,iBAGV,QAAA,CAAA;EACP,SAAA;EACA,KAAA;EACA,YAAA;EACA,QAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,iBAAA,CAAkB,IAAA,IAAQ,WAAA,GAAW,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"progress.d.mts","names":[],"sources":["../../src/core/progress.tsx"],"mappings":";;;;;UAQU;EACR;EACA,WAAW,QAAM;;iBAGV,WACP,WACA,OACA,cACA,aACG,SACF,QAAM,sBAAsB,kBAAkB,QAAQ,cAAW,QAAA,IAAA"}
@@ -1,11 +1,9 @@
1
- 'use client';
2
-
1
+ "use client";
3
2
  import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
4
3
  import { cn } from "../utils.mjs";
5
4
  import "react";
6
5
  import { jsx } from "react/jsx-runtime";
7
6
  import * as ProgressPrimitive from "@radix-ui/react-progress";
8
-
9
7
  //#region src/core/progress.tsx
10
8
  var progress_exports = /* @__PURE__ */ __exportAll({ Progress: () => Progress });
11
9
  function Progress({ className, value, barClassName, barStyle, ...props }) {
@@ -23,7 +21,7 @@ function Progress({ className, value, barClassName, barStyle, ...props }) {
23
21
  })
24
22
  });
25
23
  }
26
-
27
24
  //#endregion
28
- export { progress_exports };
25
+ export { Progress, progress_exports };
26
+
29
27
  //# sourceMappingURL=progress.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.mjs","names":[],"sources":["../../src/core/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\n\nimport { cn } from '@repo/ui/utils';\n\ninterface CustomProps {\n barClassName?: string;\n barStyle?: React.CSSProperties;\n}\n\nfunction Progress({\n className,\n value,\n barClassName,\n barStyle,\n ...props\n}: React.ComponentProps<typeof ProgressPrimitive.Root> & CustomProps) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n className={cn(\n 'bg-primary/20 relative h-2 w-full overflow-hidden rounded-full',\n className,\n )}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className={cn(\n 'bg-primary h-full w-full flex-1 transition-all',\n barClassName,\n )}\n style={{\n transform: `translateX(-${100 - (value || 0)}%)`,\n ...barStyle,\n }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n"],"mappings":";;;;;;;;;;AAaA,SAAS,SAAS,EAChB,WACA,OACA,cACA,UACA,GAAG,SACiE;AACpE,QACE,oBAAC,kBAAkB;EACjB,aAAU;EACV,WAAW,GACT,kEACA,UACD;EACD,GAAI;YAEJ,oBAAC,kBAAkB;GACjB,aAAU;GACV,WAAW,GACT,kDACA,aACD;GACD,OAAO;IACL,WAAW,eAAe,OAAO,SAAS,GAAG;IAC7C,GAAG;IACJ;IACD;GACqB"}
1
+ {"version":3,"file":"progress.mjs","names":[],"sources":["../../src/core/progress.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\n\nimport { cn } from '@repo/ui/utils';\n\ninterface CustomProps {\n barClassName?: string;\n barStyle?: React.CSSProperties;\n}\n\nfunction Progress({\n className,\n value,\n barClassName,\n barStyle,\n ...props\n}: React.ComponentProps<typeof ProgressPrimitive.Root> & CustomProps) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n className={cn(\n 'bg-primary/20 relative h-2 w-full overflow-hidden rounded-full',\n className,\n )}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className={cn(\n 'bg-primary h-full w-full flex-1 transition-all',\n barClassName,\n )}\n style={{\n transform: `translateX(-${100 - (value || 0)}%)`,\n ...barStyle,\n }}\n />\n </ProgressPrimitive.Root>\n );\n}\n\nexport { Progress };\n"],"mappings":";;;;;;;;AAaA,SAAS,SAAS,EAChB,WACA,OACA,cACA,UACA,GAAG,SACiE;CACpE,OACE,oBAAC,kBAAkB,MAAnB;EACE,aAAU;EACV,WAAW,GACT,kEACA,SACF;EACA,GAAI;EAEJ,UAAA,oBAAC,kBAAkB,WAAnB;GACE,aAAU;GACV,WAAW,GACT,kDACA,YACF;GACA,OAAO;IACL,WAAW,eAAe,OAAO,SAAS,GAAG;IAC7C,GAAG;GACL;EACD,CAAA;CACqB,CAAA;AAE5B"}
@@ -1,23 +1,12 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { RadioGroup } from "radix-ui";
4
-
5
- //#region src/core/radio-group.d.ts
6
3
  declare namespace radio_group_d_exports {
7
4
  export { RadioGroup$1 as RadioGroup, RadioGroupItem };
8
5
  }
9
- declare function RadioGroup$1({
10
- className,
11
- ...props
12
- }: React$1.ComponentProps<typeof RadioGroup.Root>): react_jsx_runtime0.JSX.Element;
13
- declare function RadioGroupItem({
14
- className,
15
- asChild,
16
- children,
17
- ...props
18
- }: React$1.ComponentProps<typeof RadioGroup.Item> & {
6
+ declare function RadioGroup$1({ className, ...props }: React$1.ComponentProps<typeof RadioGroup.Root>): React$1.JSX.Element;
7
+ declare function RadioGroupItem({ className, asChild, children, ...props }: React$1.ComponentProps<typeof RadioGroup.Item> & {
19
8
  asChild?: boolean;
20
- }): react_jsx_runtime0.JSX.Element;
9
+ }): React$1.JSX.Element;
21
10
  //#endregion
22
- export { RadioGroup$1 as RadioGroup, radio_group_d_exports };
11
+ export { RadioGroup$1 as RadioGroup, RadioGroupItem, radio_group_d_exports };
23
12
  //# sourceMappingURL=radio-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.d.mts","names":[],"sources":["../../src/core/radio-group.tsx"],"mappings":";;;;;;;;iBASS,YAAA,CAAA;EACP,SAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,UAAA,CAAoB,IAAA,IAAK,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAU/C,cAAA,CAAA;EACP,SAAA;EACA,OAAA;EACA,QAAA;EAAA,GACG;AAAA,GACF,OAAA,CAAM,cAAA,QAAsB,UAAA,CAAoB,IAAA;EACjD,OAAA;AAAA,IACD,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"radio-group.d.mts","names":[],"sources":["../../src/core/radio-group.tsx"],"mappings":";;;;;iBASS,eACP,cACG,SACF,QAAM,sBAAsB,WAAoB,QAAK,QAAA,IAAA;iBAU/C,iBACP,WACA,SACA,aACG,SACF,QAAM,sBAAsB,WAAoB;EACjD;IACD,QAAA,IAAA"}
@@ -1,12 +1,10 @@
1
- 'use client';
2
-
1
+ "use client";
3
2
  import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
4
3
  import { cn } from "../utils.mjs";
5
4
  import { CircleIcon } from "lucide-react";
6
5
  import "react";
7
6
  import { jsx } from "react/jsx-runtime";
8
7
  import { RadioGroup } from "radix-ui";
9
-
10
8
  //#region src/core/radio-group.tsx
11
9
  var radio_group_exports = /* @__PURE__ */ __exportAll({
12
10
  RadioGroup: () => RadioGroup$1,
@@ -43,7 +41,7 @@ function RadioGroupItem({ className, asChild, children, ...props }) {
43
41
  })
44
42
  });
45
43
  }
46
-
47
44
  //#endregion
48
- export { radio_group_exports };
45
+ export { RadioGroup$1 as RadioGroup, RadioGroupItem, radio_group_exports };
46
+
49
47
  //# sourceMappingURL=radio-group.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.mjs","names":["RadioGroup","RadioGroupPrimitive"],"sources":["../../src/core/radio-group.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport { CircleIcon } from 'lucide-react';\nimport { RadioGroup as RadioGroupPrimitive } from 'radix-ui';\n\nimport { cn } from '@repo/ui/utils';\n\nfunction RadioGroup({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root\n data-slot=\"radio-group\"\n className={cn('grid gap-3', className)}\n {...props}\n />\n );\n}\n\nfunction RadioGroupItem({\n className,\n asChild,\n children,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item> & {\n asChild?: boolean;\n}) {\n // `asChild` hands the rendered element to `children` entirely (e.g. a\n // `Button`), so the default dot indicator doesn't apply — Radix clones\n // its own role/aria-checked/keyboard handling onto that single child\n // instead of onto its own `<button>`.\n if (asChild) {\n return (\n <RadioGroupPrimitive.Item asChild data-slot=\"radio-group-item\" {...props}>\n {children}\n </RadioGroupPrimitive.Item>\n );\n }\n\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n `border-input text-primary focus-visible:border-ring\n focus-visible:ring-ring/50 aria-invalid:ring-destructive/20\n dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\n dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border\n shadow-xs transition-[color,box-shadow] outline-none\n focus-visible:ring-[3px] disabled:cursor-not-allowed\n disabled:opacity-50`,\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"relative flex items-center justify-center\"\n >\n <CircleIcon\n className=\"fill-primary absolute top-1/2 left-1/2 size-2\n -translate-x-1/2 -translate-y-1/2\"\n />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n}\n\nexport { RadioGroup, RadioGroupItem };\n"],"mappings":";;;;;;;;;;;;;;AASA,SAASA,aAAW,EAClB,WACA,GAAG,SACqD;AACxD,QACE,oBAACC,WAAoB;EACnB,aAAU;EACV,WAAW,GAAG,cAAc,UAAU;EACtC,GAAI;GACJ;;AAIN,SAAS,eAAe,EACtB,WACA,SACA,UACA,GAAG,SAGF;AAKD,KAAI,QACF,QACE,oBAACA,WAAoB;EAAK;EAAQ,aAAU;EAAmB,GAAI;EAChE;GACwB;AAI/B,QACE,oBAACA,WAAoB;EACnB,aAAU;EACV,WAAW,GACT;;;;;;8BAOA,UACD;EACD,GAAI;YAEJ,oBAACA,WAAoB;GACnB,aAAU;GACV,WAAU;aAEV,oBAAC,cACC,WAAU,iGAEV;IAC4B;GACP"}
1
+ {"version":3,"file":"radio-group.mjs","names":["RadioGroup","RadioGroupPrimitive"],"sources":["../../src/core/radio-group.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nimport { CircleIcon } from 'lucide-react';\nimport { RadioGroup as RadioGroupPrimitive } from 'radix-ui';\n\nimport { cn } from '@repo/ui/utils';\n\nfunction RadioGroup({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root\n data-slot=\"radio-group\"\n className={cn('grid gap-3', className)}\n {...props}\n />\n );\n}\n\nfunction RadioGroupItem({\n className,\n asChild,\n children,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item> & {\n asChild?: boolean;\n}) {\n // `asChild` hands the rendered element to `children` entirely (e.g. a\n // `Button`), so the default dot indicator doesn't apply — Radix clones\n // its own role/aria-checked/keyboard handling onto that single child\n // instead of onto its own `<button>`.\n if (asChild) {\n return (\n <RadioGroupPrimitive.Item asChild data-slot=\"radio-group-item\" {...props}>\n {children}\n </RadioGroupPrimitive.Item>\n );\n }\n\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n `border-input text-primary focus-visible:border-ring\n focus-visible:ring-ring/50 aria-invalid:ring-destructive/20\n dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\n dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border\n shadow-xs transition-[color,box-shadow] outline-none\n focus-visible:ring-[3px] disabled:cursor-not-allowed\n disabled:opacity-50`,\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"relative flex items-center justify-center\"\n >\n <CircleIcon\n className=\"fill-primary absolute top-1/2 left-1/2 size-2\n -translate-x-1/2 -translate-y-1/2\"\n />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n );\n}\n\nexport { RadioGroup, RadioGroupItem };\n"],"mappings":";;;;;;;;;;;;AASA,SAASA,aAAW,EAClB,WACA,GAAG,SACqD;CACxD,OACE,oBAACC,WAAoB,MAArB;EACE,aAAU;EACV,WAAW,GAAG,cAAc,SAAS;EACrC,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,eAAe,EACtB,WACA,SACA,UACA,GAAG,SAGF;CAKD,IAAI,SACF,OACE,oBAACA,WAAoB,MAArB;EAA0B,SAAA;EAAQ,aAAU;EAAmB,GAAI;EAChE;CACuB,CAAA;CAI9B,OACE,oBAACA,WAAoB,MAArB;EACE,aAAU;EACV,WAAW,GACT;;;;;;8BAOA,SACF;EACA,GAAI;EAEJ,UAAA,oBAACA,WAAoB,WAArB;GACE,aAAU;GACV,WAAU;GAEV,UAAA,oBAAC,YAAD,EACE,WAAU,+FAEX,CAAA;EAC4B,CAAA;CACP,CAAA;AAE9B"}
@@ -1,24 +1,12 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import * as ResizablePrimitive from "react-resizable-panels";
3
-
4
- //#region src/core/resizable.d.ts
5
2
  declare namespace resizable_d_exports {
6
3
  export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
7
4
  }
8
- declare function ResizablePanelGroup({
9
- className,
10
- ...props
11
- }: ResizablePrimitive.GroupProps): react_jsx_runtime0.JSX.Element;
12
- declare function ResizablePanel({
13
- ...props
14
- }: ResizablePrimitive.PanelProps): react_jsx_runtime0.JSX.Element;
15
- declare function ResizableHandle({
16
- withHandle,
17
- className,
18
- ...props
19
- }: ResizablePrimitive.SeparatorProps & {
5
+ declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): import("react").JSX.Element;
6
+ declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): import("react").JSX.Element;
7
+ declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
20
8
  withHandle?: boolean;
21
- }): react_jsx_runtime0.JSX.Element;
9
+ }): import("react").JSX.Element;
22
10
  //#endregion
23
- export { ResizablePanel, ResizablePanelGroup, resizable_d_exports };
11
+ export { ResizableHandle, ResizablePanel, ResizablePanelGroup, resizable_d_exports };
24
12
  //# sourceMappingURL=resizable.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.d.mts","names":[],"sources":["../../src/core/resizable.tsx"],"mappings":";;;;;;;iBAQS,mBAAA,CAAA;EACP,SAAA;EAAA,GACG;AAAA,GACF,kBAAA,CAAmB,UAAA,GAAU,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAavB,cAAA,CAAA;EAAA,GAAoB;AAAA,GAAS,kBAAA,CAAmB,UAAA,GAAU,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAI1D,eAAA,CAAA;EACP,UAAA;EACA,SAAA;EAAA,GACG;AAAA,GACF,kBAAA,CAAmB,cAAA;EACpB,UAAA;AAAA,IACD,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"resizable.d.mts","names":[],"sources":["../../src/core/resizable.tsx"],"mappings":";;;;iBAQS,sBACP,cACG,SACF,mBAAmB,6BAAU,IAAA;iBAavB,oBAAoB,SAAS,mBAAmB,6BAAU,IAAA;iBAI1D,kBACP,YACA,cACG,SACF,mBAAmB;EACpB;oBACD,IAAA"}
@@ -1,11 +1,9 @@
1
- 'use client';
2
-
1
+ "use client";
3
2
  import { __exportAll } from "../_virtual/_rolldown/runtime.mjs";
4
3
  import { cn } from "../utils.mjs";
5
4
  import { GripVerticalIcon } from "lucide-react";
6
5
  import { jsx } from "react/jsx-runtime";
7
6
  import * as ResizablePrimitive from "react-resizable-panels";
8
-
9
7
  //#region src/core/resizable.tsx
10
8
  var resizable_exports = /* @__PURE__ */ __exportAll({
11
9
  ResizableHandle: () => ResizableHandle,
@@ -46,7 +44,7 @@ function ResizableHandle({ withHandle, className, ...props }) {
46
44
  })
47
45
  });
48
46
  }
49
-
50
47
  //#endregion
51
- export { resizable_exports };
48
+ export { ResizableHandle, ResizablePanel, ResizablePanelGroup, resizable_exports };
49
+
52
50
  //# sourceMappingURL=resizable.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.mjs","names":[],"sources":["../../src/core/resizable.tsx"],"sourcesContent":["'use client';\n\nimport * as ResizablePrimitive from 'react-resizable-panels';\n\nimport { GripVerticalIcon } from 'lucide-react';\n\nimport { cn } from '@repo/ui/utils';\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: ResizablePrimitive.GroupProps) {\n return (\n <ResizablePrimitive.Group\n data-slot=\"resizable-panel-group\"\n className={cn(\n 'flex h-full w-full aria-[orientation=vertical]:flex-col',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {\n return <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />;\n}\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: ResizablePrimitive.SeparatorProps & {\n withHandle?: boolean;\n}) {\n return (\n <ResizablePrimitive.Separator\n data-slot=\"resizable-handle\"\n className={cn(\n `bg-border focus-visible:ring-ring relative flex w-px items-center\n justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1\n after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1\n focus-visible:outline-hidden aria-[orientation=horizontal]:h-px\n aria-[orientation=horizontal]:w-full\n aria-[orientation=horizontal]:after:left-0\n aria-[orientation=horizontal]:after:h-1\n aria-[orientation=horizontal]:after:w-full\n aria-[orientation=horizontal]:after:translate-x-0\n aria-[orientation=horizontal]:after:-translate-y-1/2\n [&[aria-orientation=horizontal]>div]:rotate-90`,\n className,\n )}\n {...props}\n >\n {withHandle && (\n <div\n className=\"bg-border z-10 flex h-4 w-3 items-center justify-center\n rounded-xs border\"\n >\n <GripVerticalIcon className=\"size-2.5\" />\n </div>\n )}\n </ResizablePrimitive.Separator>\n );\n}\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\n"],"mappings":";;;;;;;;;;;;;;AAQA,SAAS,oBAAoB,EAC3B,WACA,GAAG,SAC6B;AAChC,QACE,oBAAC,mBAAmB;EAClB,aAAU;EACV,WAAW,GACT,2DACA,UACD;EACD,GAAI;GACJ;;AAIN,SAAS,eAAe,EAAE,GAAG,SAAwC;AACnE,QAAO,oBAAC,mBAAmB;EAAM,aAAU;EAAkB,GAAI;GAAS;;AAG5E,SAAS,gBAAgB,EACvB,YACA,WACA,GAAG,SAGF;AACD,QACE,oBAAC,mBAAmB;EAClB,aAAU;EACV,WAAW,GACT;;;;;;;;;;yDAWA,UACD;EACD,GAAI;YAEH,cACC,oBAAC;GACC,WAAU;aAGV,oBAAC,oBAAiB,WAAU,aAAa;IACrC;GAEqB"}
1
+ {"version":3,"file":"resizable.mjs","names":[],"sources":["../../src/core/resizable.tsx"],"sourcesContent":["'use client';\n\nimport * as ResizablePrimitive from 'react-resizable-panels';\n\nimport { GripVerticalIcon } from 'lucide-react';\n\nimport { cn } from '@repo/ui/utils';\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: ResizablePrimitive.GroupProps) {\n return (\n <ResizablePrimitive.Group\n data-slot=\"resizable-panel-group\"\n className={cn(\n 'flex h-full w-full aria-[orientation=vertical]:flex-col',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {\n return <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />;\n}\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: ResizablePrimitive.SeparatorProps & {\n withHandle?: boolean;\n}) {\n return (\n <ResizablePrimitive.Separator\n data-slot=\"resizable-handle\"\n className={cn(\n `bg-border focus-visible:ring-ring relative flex w-px items-center\n justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1\n after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1\n focus-visible:outline-hidden aria-[orientation=horizontal]:h-px\n aria-[orientation=horizontal]:w-full\n aria-[orientation=horizontal]:after:left-0\n aria-[orientation=horizontal]:after:h-1\n aria-[orientation=horizontal]:after:w-full\n aria-[orientation=horizontal]:after:translate-x-0\n aria-[orientation=horizontal]:after:-translate-y-1/2\n [&[aria-orientation=horizontal]>div]:rotate-90`,\n className,\n )}\n {...props}\n >\n {withHandle && (\n <div\n className=\"bg-border z-10 flex h-4 w-3 items-center justify-center\n rounded-xs border\"\n >\n <GripVerticalIcon className=\"size-2.5\" />\n </div>\n )}\n </ResizablePrimitive.Separator>\n );\n}\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\n"],"mappings":";;;;;;;;;;;;AAQA,SAAS,oBAAoB,EAC3B,WACA,GAAG,SAC6B;CAChC,OACE,oBAAC,mBAAmB,OAApB;EACE,aAAU;EACV,WAAW,GACT,2DACA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AAEA,SAAS,eAAe,EAAE,GAAG,SAAwC;CACnE,OAAO,oBAAC,mBAAmB,OAApB;EAA0B,aAAU;EAAkB,GAAI;CAAQ,CAAA;AAC3E;AAEA,SAAS,gBAAgB,EACvB,YACA,WACA,GAAG,SAGF;CACD,OACE,oBAAC,mBAAmB,WAApB;EACE,aAAU;EACV,WAAW,GACT;;;;;;;;;;yDAWA,SACF;EACA,GAAI;EAEH,UAAA,cACC,oBAAC,OAAD;GACE,WAAU;GAGV,UAAA,oBAAC,kBAAD,EAAkB,WAAU,WAAY,CAAA;EACrC,CAAA;CAEqB,CAAA;AAElC"}