@yamada-ui/react 2.2.3 → 2.2.4-dev-20260706063021

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 (429) hide show
  1. package/dist/cjs/components/accordion/accordion.cjs +1 -0
  2. package/dist/cjs/components/accordion/namespace.cjs +13 -0
  3. package/dist/cjs/components/action-bar/namespace.cjs +7 -0
  4. package/dist/cjs/components/alert/namespace.cjs +7 -0
  5. package/dist/cjs/components/alpha-slider/alpha-slider.cjs +1 -0
  6. package/dist/cjs/components/alpha-slider/namespace.cjs +6 -0
  7. package/dist/cjs/components/autocomplete/namespace.cjs +6 -0
  8. package/dist/cjs/components/avatar/namespace.cjs +4 -0
  9. package/dist/cjs/components/blockquote/namespace.cjs +7 -0
  10. package/dist/cjs/components/breadcrumb/namespace.cjs +5 -0
  11. package/dist/cjs/components/button/namespace.cjs +7 -0
  12. package/dist/cjs/components/calendar/namespace.cjs +10 -0
  13. package/dist/cjs/components/card/namespace.cjs +6 -0
  14. package/dist/cjs/components/carousel/namespace.cjs +9 -0
  15. package/dist/cjs/components/chart/area-chart.namespace.cjs +14 -0
  16. package/dist/cjs/components/chart/bar-chart.namespace.cjs +13 -0
  17. package/dist/cjs/components/chart/composed-chart.namespace.cjs +15 -0
  18. package/dist/cjs/components/chart/donut-chart.namespace.cjs +10 -0
  19. package/dist/cjs/components/chart/line-chart.namespace.cjs +13 -0
  20. package/dist/cjs/components/chart/pie-chart.namespace.cjs +10 -0
  21. package/dist/cjs/components/chart/polar-chart.cjs.map +1 -1
  22. package/dist/cjs/components/chart/radar-chart.namespace.cjs +13 -0
  23. package/dist/cjs/components/chart/radial-chart.namespace.cjs +13 -0
  24. package/dist/cjs/components/chart/use-cartesian-chart.cjs +1 -3
  25. package/dist/cjs/components/chart/use-cartesian-chart.cjs.map +1 -1
  26. package/dist/cjs/components/checkbox/checkbox-group.cjs +1 -0
  27. package/dist/cjs/components/checkbox/namespace.cjs +4 -0
  28. package/dist/cjs/components/checkbox-card/checkbox-card-group.cjs +1 -0
  29. package/dist/cjs/components/checkbox-card/checkbox-card-group.namespace.cjs +7 -0
  30. package/dist/cjs/components/checkbox-card/checkbox-card.namespace.cjs +6 -0
  31. package/dist/cjs/components/circle-progress/namespace.cjs +4 -0
  32. package/dist/cjs/components/color-selector/namespace.cjs +10 -0
  33. package/dist/cjs/components/color-swatch/color-swatch.cjs +1 -0
  34. package/dist/cjs/components/container/namespace.cjs +6 -0
  35. package/dist/cjs/components/data-list/namespace.cjs +6 -0
  36. package/dist/cjs/components/date-picker/use-date-picker.cjs +1 -1
  37. package/dist/cjs/components/drawer/drawer.cjs +1 -0
  38. package/dist/cjs/components/drawer/namespace.cjs +13 -0
  39. package/dist/cjs/components/dropzone/namespace.cjs +16 -0
  40. package/dist/cjs/components/editable/namespace.cjs +12 -0
  41. package/dist/cjs/components/empty-state/namespace.cjs +7 -0
  42. package/dist/cjs/components/field/field.cjs +1 -0
  43. package/dist/cjs/components/field/namespace.cjs +6 -0
  44. package/dist/cjs/components/fieldset/namespace.cjs +8 -0
  45. package/dist/cjs/components/focus-lock/focus-lock.cjs +1 -1
  46. package/dist/cjs/components/form/namespace.cjs +10 -0
  47. package/dist/cjs/components/format/namespace.cjs +17 -0
  48. package/dist/cjs/components/hue-slider/namespace.cjs +6 -0
  49. package/dist/cjs/components/icon/icons/ad-icon.cjs +14 -0
  50. package/dist/cjs/components/icon/icons/ad-icon.cjs.map +1 -0
  51. package/dist/cjs/components/icon/icons/banknote-check-icon.cjs +14 -0
  52. package/dist/cjs/components/icon/icons/banknote-check-icon.cjs.map +1 -0
  53. package/dist/cjs/components/icon/icons/bone-fracture-icon.cjs +14 -0
  54. package/dist/cjs/components/icon/icons/bone-fracture-icon.cjs.map +1 -0
  55. package/dist/cjs/components/icon/icons/clock-arrow-left-icon.cjs +14 -0
  56. package/dist/cjs/components/icon/icons/clock-arrow-left-icon.cjs.map +1 -0
  57. package/dist/cjs/components/icon/icons/clock-arrow-right-icon.cjs +14 -0
  58. package/dist/cjs/components/icon/icons/clock-arrow-right-icon.cjs.map +1 -0
  59. package/dist/cjs/components/icon/icons/database-arrow-down-icon.cjs +14 -0
  60. package/dist/cjs/components/icon/icons/database-arrow-down-icon.cjs.map +1 -0
  61. package/dist/cjs/components/icon/icons/database-arrow-up-icon.cjs +14 -0
  62. package/dist/cjs/components/icon/icons/database-arrow-up-icon.cjs.map +1 -0
  63. package/dist/cjs/components/icon/icons/database-check-icon.cjs +14 -0
  64. package/dist/cjs/components/icon/icons/database-check-icon.cjs.map +1 -0
  65. package/dist/cjs/components/icon/icons/database-minus-icon.cjs +14 -0
  66. package/dist/cjs/components/icon/icons/database-minus-icon.cjs.map +1 -0
  67. package/dist/cjs/components/icon/icons/database-plus-icon.cjs +14 -0
  68. package/dist/cjs/components/icon/icons/database-plus-icon.cjs.map +1 -0
  69. package/dist/cjs/components/icon/icons/database-x-icon.cjs +14 -0
  70. package/dist/cjs/components/icon/icons/database-x-icon.cjs.map +1 -0
  71. package/dist/cjs/components/icon/icons/eye-dashed-icon.cjs +14 -0
  72. package/dist/cjs/components/icon/icons/eye-dashed-icon.cjs.map +1 -0
  73. package/dist/cjs/components/icon/icons/index.cjs +87 -0
  74. package/dist/cjs/components/icon/icons/index.cjs.map +1 -1
  75. package/dist/cjs/components/icon/icons/list-sort-ascending-icon.cjs +14 -0
  76. package/dist/cjs/components/icon/icons/list-sort-ascending-icon.cjs.map +1 -0
  77. package/dist/cjs/components/icon/icons/list-sort-descending-icon.cjs +14 -0
  78. package/dist/cjs/components/icon/icons/list-sort-descending-icon.cjs.map +1 -0
  79. package/dist/cjs/components/icon/icons/pencil-sparkles-icon.cjs +14 -0
  80. package/dist/cjs/components/icon/icons/pencil-sparkles-icon.cjs.map +1 -0
  81. package/dist/cjs/components/icon/icons/phi-icon.cjs +14 -0
  82. package/dist/cjs/components/icon/icons/phi-icon.cjs.map +1 -0
  83. package/dist/cjs/components/icon/icons/podium-icon.cjs +14 -0
  84. package/dist/cjs/components/icon/icons/podium-icon.cjs.map +1 -0
  85. package/dist/cjs/components/icon/icons/save-check-icon.cjs +14 -0
  86. package/dist/cjs/components/icon/icons/save-check-icon.cjs.map +1 -0
  87. package/dist/cjs/components/icon/icons/save-pen-icon.cjs +14 -0
  88. package/dist/cjs/components/icon/icons/save-pen-icon.cjs.map +1 -0
  89. package/dist/cjs/components/icon/icons/save-plus-icon.cjs +14 -0
  90. package/dist/cjs/components/icon/icons/save-plus-icon.cjs.map +1 -0
  91. package/dist/cjs/components/icon/icons/star-check-icon.cjs +14 -0
  92. package/dist/cjs/components/icon/icons/star-check-icon.cjs.map +1 -0
  93. package/dist/cjs/components/icon/icons/star-minus-icon.cjs +14 -0
  94. package/dist/cjs/components/icon/icons/star-minus-icon.cjs.map +1 -0
  95. package/dist/cjs/components/icon/icons/star-plus-icon.cjs +14 -0
  96. package/dist/cjs/components/icon/icons/star-plus-icon.cjs.map +1 -0
  97. package/dist/cjs/components/icon/icons/star-x-icon.cjs +14 -0
  98. package/dist/cjs/components/icon/icons/star-x-icon.cjs.map +1 -0
  99. package/dist/cjs/components/icon/icons/summary-icon.cjs +14 -0
  100. package/dist/cjs/components/icon/icons/summary-icon.cjs.map +1 -0
  101. package/dist/cjs/components/icon/icons/tag-plus-icon.cjs +14 -0
  102. package/dist/cjs/components/icon/icons/tag-plus-icon.cjs.map +1 -0
  103. package/dist/cjs/components/icon/icons/tag-x-icon.cjs +14 -0
  104. package/dist/cjs/components/icon/icons/tag-x-icon.cjs.map +1 -0
  105. package/dist/cjs/components/icon/icons/user-round-arrow-left-icon.cjs +14 -0
  106. package/dist/cjs/components/icon/icons/user-round-arrow-left-icon.cjs.map +1 -0
  107. package/dist/cjs/components/icon/icons/wrench-off-icon.cjs +14 -0
  108. package/dist/cjs/components/icon/icons/wrench-off-icon.cjs.map +1 -0
  109. package/dist/cjs/components/icon/index.cjs +58 -0
  110. package/dist/cjs/components/input/namespace.cjs +7 -0
  111. package/dist/cjs/components/link-box/namespace.cjs +4 -0
  112. package/dist/cjs/components/list/namespace.cjs +5 -0
  113. package/dist/cjs/components/loading/namespace.cjs +8 -0
  114. package/dist/cjs/components/menu/namespace.cjs +17 -0
  115. package/dist/cjs/components/modal/modal.cjs +1 -0
  116. package/dist/cjs/components/modal/namespace.cjs +12 -0
  117. package/dist/cjs/components/native-accordion/namespace.cjs +7 -0
  118. package/dist/cjs/components/native-popover/namespace.cjs +10 -0
  119. package/dist/cjs/components/native-select/namespace.cjs +6 -0
  120. package/dist/cjs/components/native-table/namespace.cjs +12 -0
  121. package/dist/cjs/components/notice/notice.cjs +2 -0
  122. package/dist/cjs/components/pagination/namespace.cjs +10 -0
  123. package/dist/cjs/components/pin-input/namespace.cjs +7 -0
  124. package/dist/cjs/components/popover/namespace.cjs +10 -0
  125. package/dist/cjs/components/qr-code/namespace.cjs +6 -0
  126. package/dist/cjs/components/radio/namespace.cjs +4 -0
  127. package/dist/cjs/components/radio/radio-group.cjs +1 -0
  128. package/dist/cjs/components/radio-card/radio-card-group.cjs +1 -0
  129. package/dist/cjs/components/radio-card/radio-card-group.namespace.cjs +7 -0
  130. package/dist/cjs/components/radio-card/radio-card.namespace.cjs +6 -0
  131. package/dist/cjs/components/reorder/namespace.cjs +9 -0
  132. package/dist/cjs/components/resizable/namespace.cjs +8 -0
  133. package/dist/cjs/components/resizable/use-resizable.cjs +1 -0
  134. package/dist/cjs/components/saturation-slider/namespace.cjs +5 -0
  135. package/dist/cjs/components/segmented-control/namespace.cjs +9 -0
  136. package/dist/cjs/components/select/namespace.cjs +7 -0
  137. package/dist/cjs/components/sidebar/namespace.cjs +30 -0
  138. package/dist/cjs/components/slider/namespace.cjs +9 -0
  139. package/dist/cjs/components/stat/namespace.cjs +8 -0
  140. package/dist/cjs/components/steps/namespace.cjs +21 -0
  141. package/dist/cjs/components/tabs/namespace.cjs +15 -0
  142. package/dist/cjs/components/timeline/namespace.cjs +9 -0
  143. package/dist/cjs/components/toggle/namespace.cjs +4 -0
  144. package/dist/cjs/components/tree/namespace.cjs +10 -0
  145. package/dist/cjs/components/tree/use-tree.cjs +1 -1
  146. package/dist/cjs/components/tree/use-tree.cjs.map +1 -1
  147. package/dist/cjs/core/components/props.cjs +1 -1
  148. package/dist/cjs/core/components/props.cjs.map +1 -1
  149. package/dist/cjs/core/css/styles.cjs.map +1 -1
  150. package/dist/cjs/core/css/utils.cjs +1 -1
  151. package/dist/cjs/core/css/utils.cjs.map +1 -1
  152. package/dist/cjs/core/system/styled.cjs +1 -1
  153. package/dist/cjs/core/system/use-system-color-mode.cjs.map +1 -1
  154. package/dist/cjs/hooks/use-breakpoint/use-breakpoint.cjs.map +1 -1
  155. package/dist/cjs/hooks/use-combobox/index.cjs +1 -1
  156. package/dist/cjs/index.cjs +87 -0
  157. package/dist/cjs/providers/i18n-provider/i18n-provider.cjs +1 -1
  158. package/dist/cjs/utils/children.cjs +1 -1
  159. package/dist/esm/components/accordion/accordion.js +1 -1
  160. package/dist/esm/components/accordion/namespace.js +1 -1
  161. package/dist/esm/components/action-bar/namespace.js +1 -1
  162. package/dist/esm/components/alert/namespace.js +1 -1
  163. package/dist/esm/components/alpha-slider/alpha-slider.js +1 -1
  164. package/dist/esm/components/alpha-slider/namespace.js +1 -1
  165. package/dist/esm/components/autocomplete/namespace.js +1 -1
  166. package/dist/esm/components/avatar/namespace.js +1 -1
  167. package/dist/esm/components/blockquote/namespace.js +1 -1
  168. package/dist/esm/components/breadcrumb/namespace.js +1 -1
  169. package/dist/esm/components/button/namespace.js +1 -1
  170. package/dist/esm/components/calendar/namespace.js +1 -1
  171. package/dist/esm/components/card/namespace.js +1 -1
  172. package/dist/esm/components/carousel/namespace.js +1 -1
  173. package/dist/esm/components/chart/area-chart.namespace.js +1 -1
  174. package/dist/esm/components/chart/bar-chart.namespace.js +1 -1
  175. package/dist/esm/components/chart/composed-chart.namespace.js +1 -1
  176. package/dist/esm/components/chart/donut-chart.namespace.js +1 -1
  177. package/dist/esm/components/chart/line-chart.namespace.js +1 -1
  178. package/dist/esm/components/chart/pie-chart.namespace.js +1 -1
  179. package/dist/esm/components/chart/polar-chart.js.map +1 -1
  180. package/dist/esm/components/chart/radar-chart.namespace.js +1 -1
  181. package/dist/esm/components/chart/radial-chart.namespace.js +1 -1
  182. package/dist/esm/components/chart/use-cartesian-chart.js +1 -3
  183. package/dist/esm/components/chart/use-cartesian-chart.js.map +1 -1
  184. package/dist/esm/components/checkbox/checkbox-group.js +1 -1
  185. package/dist/esm/components/checkbox/namespace.js +1 -1
  186. package/dist/esm/components/checkbox-card/checkbox-card-group.js +1 -1
  187. package/dist/esm/components/checkbox-card/checkbox-card-group.namespace.js +1 -1
  188. package/dist/esm/components/checkbox-card/checkbox-card.namespace.js +1 -1
  189. package/dist/esm/components/circle-progress/namespace.js +1 -1
  190. package/dist/esm/components/color-selector/namespace.js +1 -1
  191. package/dist/esm/components/color-swatch/color-swatch.js +1 -1
  192. package/dist/esm/components/container/namespace.js +1 -1
  193. package/dist/esm/components/data-list/namespace.js +1 -1
  194. package/dist/esm/components/drawer/drawer.js +1 -1
  195. package/dist/esm/components/drawer/namespace.js +1 -1
  196. package/dist/esm/components/dropzone/namespace.js +1 -1
  197. package/dist/esm/components/editable/namespace.js +1 -1
  198. package/dist/esm/components/empty-state/namespace.js +1 -1
  199. package/dist/esm/components/field/field.js +1 -1
  200. package/dist/esm/components/field/namespace.js +1 -1
  201. package/dist/esm/components/fieldset/namespace.js +1 -1
  202. package/dist/esm/components/form/namespace.js +1 -1
  203. package/dist/esm/components/format/namespace.js +1 -1
  204. package/dist/esm/components/hue-slider/namespace.js +1 -1
  205. package/dist/esm/components/icon/icons/ad-icon.js +14 -0
  206. package/dist/esm/components/icon/icons/ad-icon.js.map +1 -0
  207. package/dist/esm/components/icon/icons/banknote-check-icon.js +14 -0
  208. package/dist/esm/components/icon/icons/banknote-check-icon.js.map +1 -0
  209. package/dist/esm/components/icon/icons/bone-fracture-icon.js +14 -0
  210. package/dist/esm/components/icon/icons/bone-fracture-icon.js.map +1 -0
  211. package/dist/esm/components/icon/icons/clock-arrow-left-icon.js +14 -0
  212. package/dist/esm/components/icon/icons/clock-arrow-left-icon.js.map +1 -0
  213. package/dist/esm/components/icon/icons/clock-arrow-right-icon.js +14 -0
  214. package/dist/esm/components/icon/icons/clock-arrow-right-icon.js.map +1 -0
  215. package/dist/esm/components/icon/icons/database-arrow-down-icon.js +14 -0
  216. package/dist/esm/components/icon/icons/database-arrow-down-icon.js.map +1 -0
  217. package/dist/esm/components/icon/icons/database-arrow-up-icon.js +14 -0
  218. package/dist/esm/components/icon/icons/database-arrow-up-icon.js.map +1 -0
  219. package/dist/esm/components/icon/icons/database-check-icon.js +14 -0
  220. package/dist/esm/components/icon/icons/database-check-icon.js.map +1 -0
  221. package/dist/esm/components/icon/icons/database-minus-icon.js +14 -0
  222. package/dist/esm/components/icon/icons/database-minus-icon.js.map +1 -0
  223. package/dist/esm/components/icon/icons/database-plus-icon.js +14 -0
  224. package/dist/esm/components/icon/icons/database-plus-icon.js.map +1 -0
  225. package/dist/esm/components/icon/icons/database-x-icon.js +14 -0
  226. package/dist/esm/components/icon/icons/database-x-icon.js.map +1 -0
  227. package/dist/esm/components/icon/icons/eye-dashed-icon.js +14 -0
  228. package/dist/esm/components/icon/icons/eye-dashed-icon.js.map +1 -0
  229. package/dist/esm/components/icon/icons/index.js +59 -1
  230. package/dist/esm/components/icon/icons/index.js.map +1 -1
  231. package/dist/esm/components/icon/icons/list-sort-ascending-icon.js +14 -0
  232. package/dist/esm/components/icon/icons/list-sort-ascending-icon.js.map +1 -0
  233. package/dist/esm/components/icon/icons/list-sort-descending-icon.js +14 -0
  234. package/dist/esm/components/icon/icons/list-sort-descending-icon.js.map +1 -0
  235. package/dist/esm/components/icon/icons/pencil-sparkles-icon.js +14 -0
  236. package/dist/esm/components/icon/icons/pencil-sparkles-icon.js.map +1 -0
  237. package/dist/esm/components/icon/icons/phi-icon.js +14 -0
  238. package/dist/esm/components/icon/icons/phi-icon.js.map +1 -0
  239. package/dist/esm/components/icon/icons/podium-icon.js +14 -0
  240. package/dist/esm/components/icon/icons/podium-icon.js.map +1 -0
  241. package/dist/esm/components/icon/icons/save-check-icon.js +14 -0
  242. package/dist/esm/components/icon/icons/save-check-icon.js.map +1 -0
  243. package/dist/esm/components/icon/icons/save-pen-icon.js +14 -0
  244. package/dist/esm/components/icon/icons/save-pen-icon.js.map +1 -0
  245. package/dist/esm/components/icon/icons/save-plus-icon.js +14 -0
  246. package/dist/esm/components/icon/icons/save-plus-icon.js.map +1 -0
  247. package/dist/esm/components/icon/icons/star-check-icon.js +14 -0
  248. package/dist/esm/components/icon/icons/star-check-icon.js.map +1 -0
  249. package/dist/esm/components/icon/icons/star-minus-icon.js +14 -0
  250. package/dist/esm/components/icon/icons/star-minus-icon.js.map +1 -0
  251. package/dist/esm/components/icon/icons/star-plus-icon.js +14 -0
  252. package/dist/esm/components/icon/icons/star-plus-icon.js.map +1 -0
  253. package/dist/esm/components/icon/icons/star-x-icon.js +14 -0
  254. package/dist/esm/components/icon/icons/star-x-icon.js.map +1 -0
  255. package/dist/esm/components/icon/icons/summary-icon.js +14 -0
  256. package/dist/esm/components/icon/icons/summary-icon.js.map +1 -0
  257. package/dist/esm/components/icon/icons/tag-plus-icon.js +14 -0
  258. package/dist/esm/components/icon/icons/tag-plus-icon.js.map +1 -0
  259. package/dist/esm/components/icon/icons/tag-x-icon.js +14 -0
  260. package/dist/esm/components/icon/icons/tag-x-icon.js.map +1 -0
  261. package/dist/esm/components/icon/icons/user-round-arrow-left-icon.js +14 -0
  262. package/dist/esm/components/icon/icons/user-round-arrow-left-icon.js.map +1 -0
  263. package/dist/esm/components/icon/icons/wrench-off-icon.js +14 -0
  264. package/dist/esm/components/icon/icons/wrench-off-icon.js.map +1 -0
  265. package/dist/esm/components/icon/index.js +30 -1
  266. package/dist/esm/components/input/namespace.js +1 -1
  267. package/dist/esm/components/link-box/namespace.js +1 -1
  268. package/dist/esm/components/list/namespace.js +1 -1
  269. package/dist/esm/components/loading/namespace.js +1 -1
  270. package/dist/esm/components/menu/namespace.js +1 -1
  271. package/dist/esm/components/modal/modal.js +1 -1
  272. package/dist/esm/components/modal/namespace.js +1 -1
  273. package/dist/esm/components/native-accordion/namespace.js +1 -1
  274. package/dist/esm/components/native-popover/namespace.js +1 -1
  275. package/dist/esm/components/native-select/namespace.js +1 -1
  276. package/dist/esm/components/native-table/namespace.js +1 -1
  277. package/dist/esm/components/notice/notice.js +1 -1
  278. package/dist/esm/components/pagination/namespace.js +1 -1
  279. package/dist/esm/components/pin-input/namespace.js +1 -1
  280. package/dist/esm/components/popover/namespace.js +1 -1
  281. package/dist/esm/components/qr-code/namespace.js +1 -1
  282. package/dist/esm/components/radio/namespace.js +1 -1
  283. package/dist/esm/components/radio/radio-group.js +1 -1
  284. package/dist/esm/components/radio-card/radio-card-group.js +1 -1
  285. package/dist/esm/components/radio-card/radio-card-group.namespace.js +1 -1
  286. package/dist/esm/components/radio-card/radio-card.namespace.js +1 -1
  287. package/dist/esm/components/reorder/namespace.js +1 -1
  288. package/dist/esm/components/resizable/namespace.js +1 -1
  289. package/dist/esm/components/saturation-slider/namespace.js +1 -1
  290. package/dist/esm/components/segmented-control/namespace.js +1 -1
  291. package/dist/esm/components/select/namespace.js +1 -1
  292. package/dist/esm/components/sidebar/namespace.js +1 -1
  293. package/dist/esm/components/slider/namespace.js +1 -1
  294. package/dist/esm/components/stat/namespace.js +1 -1
  295. package/dist/esm/components/steps/namespace.js +1 -1
  296. package/dist/esm/components/tabs/namespace.js +1 -1
  297. package/dist/esm/components/timeline/namespace.js +1 -1
  298. package/dist/esm/components/toggle/namespace.js +1 -1
  299. package/dist/esm/components/tree/namespace.js +1 -1
  300. package/dist/esm/components/tree/use-tree.js +1 -1
  301. package/dist/esm/components/tree/use-tree.js.map +1 -1
  302. package/dist/esm/core/components/props.js +1 -1
  303. package/dist/esm/core/components/props.js.map +1 -1
  304. package/dist/esm/core/css/styles.js.map +1 -1
  305. package/dist/esm/core/css/utils.js +1 -1
  306. package/dist/esm/core/css/utils.js.map +1 -1
  307. package/dist/esm/core/system/use-system-color-mode.js.map +1 -1
  308. package/dist/esm/hooks/use-breakpoint/use-breakpoint.js.map +1 -1
  309. package/dist/esm/index.js +59 -1
  310. package/dist/types/components/accordion/namespace.d.ts +1 -1
  311. package/dist/types/components/action-bar/namespace.d.ts +1 -1
  312. package/dist/types/components/alert/namespace.d.ts +1 -1
  313. package/dist/types/components/alpha-slider/namespace.d.ts +1 -1
  314. package/dist/types/components/autocomplete/namespace.d.ts +1 -1
  315. package/dist/types/components/avatar/namespace.d.ts +1 -1
  316. package/dist/types/components/blockquote/namespace.d.ts +1 -1
  317. package/dist/types/components/breadcrumb/namespace.d.ts +1 -1
  318. package/dist/types/components/button/namespace.d.ts +1 -1
  319. package/dist/types/components/calendar/calendar.style.d.ts +2 -2
  320. package/dist/types/components/calendar/namespace.d.ts +1 -1
  321. package/dist/types/components/card/namespace.d.ts +1 -1
  322. package/dist/types/components/carousel/namespace.d.ts +1 -1
  323. package/dist/types/components/chart/area-chart.namespace.d.ts +1 -1
  324. package/dist/types/components/chart/bar-chart.namespace.d.ts +1 -1
  325. package/dist/types/components/chart/cartesian-chart.d.ts +1 -1
  326. package/dist/types/components/chart/composed-chart.namespace.d.ts +1 -1
  327. package/dist/types/components/chart/donut-chart.namespace.d.ts +1 -1
  328. package/dist/types/components/chart/line-chart.namespace.d.ts +1 -1
  329. package/dist/types/components/chart/pie-chart.namespace.d.ts +1 -1
  330. package/dist/types/components/chart/polar-chart.d.ts +4 -4
  331. package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
  332. package/dist/types/components/chart/radar-chart.namespace.d.ts +1 -1
  333. package/dist/types/components/chart/radial-chart.namespace.d.ts +1 -1
  334. package/dist/types/components/chart/use-cartesian-chart.d.ts +1 -2
  335. package/dist/types/components/checkbox/checkbox-group.d.ts +1 -1
  336. package/dist/types/components/checkbox/namespace.d.ts +1 -1
  337. package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +1 -1
  338. package/dist/types/components/checkbox-card/checkbox-card-group.namespace.d.ts +1 -1
  339. package/dist/types/components/checkbox-card/checkbox-card.namespace.d.ts +1 -1
  340. package/dist/types/components/circle-progress/namespace.d.ts +1 -1
  341. package/dist/types/components/color-selector/namespace.d.ts +1 -1
  342. package/dist/types/components/container/namespace.d.ts +1 -1
  343. package/dist/types/components/data-list/namespace.d.ts +1 -1
  344. package/dist/types/components/drawer/namespace.d.ts +1 -1
  345. package/dist/types/components/dropzone/namespace.d.ts +1 -1
  346. package/dist/types/components/editable/namespace.d.ts +1 -1
  347. package/dist/types/components/empty-state/namespace.d.ts +1 -1
  348. package/dist/types/components/field/namespace.d.ts +1 -1
  349. package/dist/types/components/fieldset/namespace.d.ts +1 -1
  350. package/dist/types/components/form/namespace.d.ts +1 -1
  351. package/dist/types/components/format/format-date-time.style.d.ts +1 -1
  352. package/dist/types/components/format/namespace.d.ts +1 -1
  353. package/dist/types/components/hue-slider/namespace.d.ts +1 -1
  354. package/dist/types/components/icon/icon.d.ts +1 -1
  355. package/dist/types/components/icon/icons/ad-icon.d.ts +13 -0
  356. package/dist/types/components/icon/icons/banknote-check-icon.d.ts +13 -0
  357. package/dist/types/components/icon/icons/bone-fracture-icon.d.ts +13 -0
  358. package/dist/types/components/icon/icons/clock-arrow-left-icon.d.ts +13 -0
  359. package/dist/types/components/icon/icons/clock-arrow-right-icon.d.ts +13 -0
  360. package/dist/types/components/icon/icons/database-arrow-down-icon.d.ts +13 -0
  361. package/dist/types/components/icon/icons/database-arrow-up-icon.d.ts +13 -0
  362. package/dist/types/components/icon/icons/database-check-icon.d.ts +13 -0
  363. package/dist/types/components/icon/icons/database-minus-icon.d.ts +13 -0
  364. package/dist/types/components/icon/icons/database-plus-icon.d.ts +13 -0
  365. package/dist/types/components/icon/icons/database-x-icon.d.ts +13 -0
  366. package/dist/types/components/icon/icons/eye-dashed-icon.d.ts +13 -0
  367. package/dist/types/components/icon/icons/index.d.ts +31 -2
  368. package/dist/types/components/icon/icons/index.types.d.ts +1 -1
  369. package/dist/types/components/icon/icons/list-sort-ascending-icon.d.ts +13 -0
  370. package/dist/types/components/icon/icons/list-sort-descending-icon.d.ts +13 -0
  371. package/dist/types/components/icon/icons/pencil-sparkles-icon.d.ts +13 -0
  372. package/dist/types/components/icon/icons/phi-icon.d.ts +13 -0
  373. package/dist/types/components/icon/icons/podium-icon.d.ts +13 -0
  374. package/dist/types/components/icon/icons/save-check-icon.d.ts +13 -0
  375. package/dist/types/components/icon/icons/save-pen-icon.d.ts +13 -0
  376. package/dist/types/components/icon/icons/save-plus-icon.d.ts +13 -0
  377. package/dist/types/components/icon/icons/star-check-icon.d.ts +13 -0
  378. package/dist/types/components/icon/icons/star-minus-icon.d.ts +13 -0
  379. package/dist/types/components/icon/icons/star-plus-icon.d.ts +13 -0
  380. package/dist/types/components/icon/icons/star-x-icon.d.ts +13 -0
  381. package/dist/types/components/icon/icons/summary-icon.d.ts +13 -0
  382. package/dist/types/components/icon/icons/tag-plus-icon.d.ts +13 -0
  383. package/dist/types/components/icon/icons/tag-x-icon.d.ts +13 -0
  384. package/dist/types/components/icon/icons/user-round-arrow-left-icon.d.ts +13 -0
  385. package/dist/types/components/icon/icons/wrench-off-icon.d.ts +13 -0
  386. package/dist/types/components/icon/index.d.ts +30 -1
  387. package/dist/types/components/input/namespace.d.ts +1 -1
  388. package/dist/types/components/link-box/namespace.d.ts +1 -1
  389. package/dist/types/components/list/namespace.d.ts +1 -1
  390. package/dist/types/components/loading/loading.d.ts +1 -1
  391. package/dist/types/components/loading/namespace.d.ts +1 -1
  392. package/dist/types/components/menu/namespace.d.ts +1 -1
  393. package/dist/types/components/modal/namespace.d.ts +1 -1
  394. package/dist/types/components/native-accordion/namespace.d.ts +1 -1
  395. package/dist/types/components/native-popover/namespace.d.ts +1 -1
  396. package/dist/types/components/native-select/namespace.d.ts +1 -1
  397. package/dist/types/components/native-table/namespace.d.ts +1 -1
  398. package/dist/types/components/notice/notice.style.d.ts +1 -1
  399. package/dist/types/components/pagination/namespace.d.ts +1 -1
  400. package/dist/types/components/pin-input/namespace.d.ts +1 -1
  401. package/dist/types/components/popover/namespace.d.ts +1 -1
  402. package/dist/types/components/qr-code/namespace.d.ts +1 -1
  403. package/dist/types/components/radio/namespace.d.ts +1 -1
  404. package/dist/types/components/radio/radio-group.d.ts +1 -1
  405. package/dist/types/components/radio-card/radio-card-group.d.ts +1 -1
  406. package/dist/types/components/radio-card/radio-card-group.namespace.d.ts +1 -1
  407. package/dist/types/components/radio-card/radio-card.namespace.d.ts +1 -1
  408. package/dist/types/components/reorder/namespace.d.ts +1 -1
  409. package/dist/types/components/resizable/namespace.d.ts +1 -1
  410. package/dist/types/components/ripple/ripple.style.d.ts +1 -1
  411. package/dist/types/components/saturation-slider/namespace.d.ts +1 -1
  412. package/dist/types/components/segmented-control/namespace.d.ts +1 -1
  413. package/dist/types/components/select/namespace.d.ts +1 -1
  414. package/dist/types/components/sidebar/namespace.d.ts +1 -1
  415. package/dist/types/components/sidebar/sidebar.d.ts +1 -1
  416. package/dist/types/components/slider/namespace.d.ts +1 -1
  417. package/dist/types/components/snacks/use-snacks.d.ts +1 -1
  418. package/dist/types/components/stat/namespace.d.ts +1 -1
  419. package/dist/types/components/steps/namespace.d.ts +1 -1
  420. package/dist/types/components/table/table.d.ts +1 -1
  421. package/dist/types/components/tabs/namespace.d.ts +1 -1
  422. package/dist/types/components/timeline/namespace.d.ts +1 -1
  423. package/dist/types/components/toggle/namespace.d.ts +1 -1
  424. package/dist/types/components/tree/namespace.d.ts +1 -1
  425. package/dist/types/core/css/styles.d.ts +136 -49
  426. package/dist/types/index.d.ts +31 -2
  427. package/dist/types/providers/i18n-provider/intl/en-US.d.ts +1 -1
  428. package/dist/types/providers/i18n-provider/intl/index.d.ts +1 -1
  429. package/package.json +8 -8
@@ -10,6 +10,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
10
10
  usePropsContext: () => useAlphaSliderPropsContext
11
11
  });
12
12
  //#endregion
13
- export { namespace_exports };
13
+ export { AlphaSliderOverlay as Overlay, AlphaSliderPropsContext as PropsContext, AlphaSliderRoot as Root, AlphaSliderThumb as Thumb, AlphaSliderTrack as Track, namespace_exports, useAlphaSliderPropsContext as usePropsContext };
14
14
 
15
15
  //# sourceMappingURL=namespace.js.map
@@ -10,6 +10,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
10
10
  usePropsContext: () => useAutocompletePropsContext
11
11
  });
12
12
  //#endregion
13
- export { namespace_exports };
13
+ export { AutocompleteGroup as Group, AutocompleteLabel as Label, AutocompleteOption as Option, AutocompletePropsContext as PropsContext, AutocompleteRoot as Root, namespace_exports, useAutocompletePropsContext as usePropsContext };
14
14
 
15
15
  //# sourceMappingURL=namespace.js.map
@@ -9,6 +9,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
9
9
  usePropsContext: () => useAvatarPropsContext
10
10
  });
11
11
  //#endregion
12
- export { namespace_exports };
12
+ export { Avatar as Item, AvatarPropsContext as PropsContext, AvatarGroupRoot as Root, namespace_exports, useAvatarPropsContext as usePropsContext };
13
13
 
14
14
  //# sourceMappingURL=namespace.js.map
@@ -11,6 +11,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
11
11
  usePropsContext: () => useBlockquotePropsContext
12
12
  });
13
13
  //#endregion
14
- export { namespace_exports };
14
+ export { BlockquoteCaption as Caption, BlockquoteCite as Cite, BlockquoteContent as Content, BlockquoteIcon as Icon, BlockquotePropsContext as PropsContext, BlockquoteRoot as Root, namespace_exports, useBlockquotePropsContext as usePropsContext };
15
15
 
16
16
  //# sourceMappingURL=namespace.js.map
@@ -9,6 +9,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
9
9
  usePropsContext: () => useBreadcrumbPropsContext
10
10
  });
11
11
  //#endregion
12
- export { namespace_exports };
12
+ export { BreadcrumbEllipsis as Ellipsis, BreadcrumbLink as Link, BreadcrumbPropsContext as PropsContext, BreadcrumbRoot as Root, namespace_exports, useBreadcrumbPropsContext as usePropsContext };
13
13
 
14
14
  //# sourceMappingURL=namespace.js.map
@@ -13,6 +13,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
13
13
  usePropsContext: () => useButtonPropsContext
14
14
  });
15
15
  //#endregion
16
- export { namespace_exports };
16
+ export { IconButton as IconItem, IconButtonPropsContext as IconPropsContext, Button as Item, ButtonPropsContext as PropsContext, ButtonGroupRoot as Root, namespace_exports, useIconButtonPropsContext as useIconPropsContext, useButtonPropsContext as usePropsContext };
17
17
 
18
18
  //# sourceMappingURL=namespace.js.map
@@ -14,6 +14,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
14
14
  usePropsContext: () => useCalendarPropsContext
15
15
  });
16
16
  //#endregion
17
- export { namespace_exports };
17
+ export { CalendarControl as Control, CalendarMonth as Month, CalendarMonthSelect as MonthSelect, CalendarNavigation as Navigation, CalendarNextButton as NextButton, CalendarPrevButton as PrevButton, CalendarPropsContext as PropsContext, CalendarRoot as Root, CalendarYearSelect as YearSelect, namespace_exports, useCalendarPropsContext as usePropsContext };
18
18
 
19
19
  //# sourceMappingURL=namespace.js.map
@@ -10,6 +10,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
10
10
  usePropsContext: () => useCardPropsContext
11
11
  });
12
12
  //#endregion
13
- export { namespace_exports };
13
+ export { CardBody as Body, CardFooter as Footer, CardHeader as Header, CardPropsContext as PropsContext, CardRoot as Root, namespace_exports, useCardPropsContext as usePropsContext };
14
14
 
15
15
  //# sourceMappingURL=namespace.js.map
@@ -13,6 +13,6 @@ var namespace_exports = /* @__PURE__ */ __exportAll({
13
13
  usePropsContext: () => useCarouselPropsContext
14
14
  });
15
15
  //#endregion
16
- export { namespace_exports };
16
+ export { CarouselIndicator as Indicator, CarouselIndicators as Indicators, CarouselItem as Item, CarouselList as List, CarouselNextTrigger as NextTrigger, CarouselPrevTrigger as PrevTrigger, CarouselPropsContext as PropsContext, CarouselRoot as Root, namespace_exports, useCarouselPropsContext as usePropsContext };
17
17
 
18
18
  //# sourceMappingURL=namespace.js.map
@@ -20,6 +20,6 @@ var area_chart_namespace_exports = /* @__PURE__ */ __exportAll({
20
20
  usePropsContext: () => useAreaChartPropsContext
21
21
  });
22
22
  //#endregion
23
- export { area_chart_namespace_exports };
23
+ export { ChartArea as Area, ChartGrid as Grid, ChartLabel as Label, ChartLabelList as LabelList, ChartLegend as Legend, AreaChartPropsContext as PropsContext, ChartReferenceLine as ReferenceLine, AreaChart as Root, ChartTooltip as Tooltip, ChartXAxis as XAxis, ChartYAxis as YAxis, area_chart_namespace_exports, gradients, mergeSeries, useAreaChartPropsContext as usePropsContext };
24
24
 
25
25
  //# sourceMappingURL=area-chart.namespace.js.map
@@ -19,6 +19,6 @@ var bar_chart_namespace_exports = /* @__PURE__ */ __exportAll({
19
19
  usePropsContext: () => useBarChartPropsContext
20
20
  });
21
21
  //#endregion
22
- export { bar_chart_namespace_exports };
22
+ export { ChartBar as Bar, ChartGrid as Grid, ChartLabel as Label, ChartLabelList as LabelList, ChartLegend as Legend, BarChartPropsContext as PropsContext, ChartReferenceLine as ReferenceLine, BarChart as Root, ChartTooltip as Tooltip, ChartXAxis as XAxis, ChartYAxis as YAxis, bar_chart_namespace_exports, mergeSeries, useBarChartPropsContext as usePropsContext };
23
23
 
24
24
  //# sourceMappingURL=bar-chart.namespace.js.map
@@ -21,6 +21,6 @@ var composed_chart_namespace_exports = /* @__PURE__ */ __exportAll({
21
21
  usePropsContext: () => useComposedChartPropsContext
22
22
  });
23
23
  //#endregion
24
- export { composed_chart_namespace_exports };
24
+ export { ChartArea as Area, ChartBar as Bar, ChartGrid as Grid, ChartLabel as Label, ChartLabelList as LabelList, ChartLegend as Legend, ChartLine as Line, ComposedChartPropsContext as PropsContext, ChartReferenceLine as ReferenceLine, ComposedChart as Root, ChartTooltip as Tooltip, ChartXAxis as XAxis, ChartYAxis as YAxis, composed_chart_namespace_exports, mergeSeries, useComposedChartPropsContext as usePropsContext };
25
25
 
26
26
  //# sourceMappingURL=composed-chart.namespace.js.map
@@ -16,6 +16,6 @@ var donut_chart_namespace_exports = /* @__PURE__ */ __exportAll({
16
16
  usePropsContext: () => useDonutChartPropsContext
17
17
  });
18
18
  //#endregion
19
- export { donut_chart_namespace_exports };
19
+ export { ChartDonut as Donut, ChartLabel as Label, ChartLabelList as LabelList, ChartLegend as Legend, DonutChartPropsContext as PropsContext, DonutChart as Root, ChartTooltip as Tooltip, donut_chart_namespace_exports, gradients, mergeData, useDonutChartPropsContext as usePropsContext };
20
20
 
21
21
  //# sourceMappingURL=donut-chart.namespace.js.map
@@ -19,6 +19,6 @@ var line_chart_namespace_exports = /* @__PURE__ */ __exportAll({
19
19
  usePropsContext: () => useLineChartPropsContext
20
20
  });
21
21
  //#endregion
22
- export { line_chart_namespace_exports };
22
+ export { ChartGrid as Grid, ChartLabel as Label, ChartLabelList as LabelList, ChartLegend as Legend, ChartLine as Line, LineChartPropsContext as PropsContext, ChartReferenceLine as ReferenceLine, LineChart as Root, ChartTooltip as Tooltip, ChartXAxis as XAxis, ChartYAxis as YAxis, line_chart_namespace_exports, mergeSeries, useLineChartPropsContext as usePropsContext };
23
23
 
24
24
  //# sourceMappingURL=line-chart.namespace.js.map
@@ -16,6 +16,6 @@ var pie_chart_namespace_exports = /* @__PURE__ */ __exportAll({
16
16
  usePropsContext: () => usePieChartPropsContext
17
17
  });
18
18
  //#endregion
19
- export { pie_chart_namespace_exports };
19
+ export { ChartLabel as Label, ChartLabelList as LabelList, ChartLegend as Legend, ChartPie as Pie, PieChartPropsContext as PropsContext, PieChart as Root, ChartTooltip as Tooltip, gradients, mergeData, pie_chart_namespace_exports, usePieChartPropsContext as usePropsContext };
20
20
 
21
21
  //# sourceMappingURL=pie-chart.namespace.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"polar-chart.js","names":[],"sources":["../../../../src/components/chart/polar-chart.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\n\nimport type {\n ActiveDotProps,\n BaseTickContentProps,\n DataKey,\n DotProps,\n LabelListProps,\n LabelProps,\n PieLabelRenderProps,\n PieSectorShapeProps,\n SectorProps,\n} from \"recharts\"\nimport type { PolarChartProps as OriginalPolarChartProps } from \"recharts/types/util/types\"\nimport type {\n CSSObject,\n CSSProps,\n GenericsComponent,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { Dict, Merge } from \"../../utils\"\nimport type {\n ChartActiveDot,\n ChartDot,\n ChartLabel,\n ChartLabelListProps,\n ChartLabelList as ChartLabelListType,\n ChartProps,\n ChartTickLine,\n} from \"./chart\"\nimport type { PolarChartStyle } from \"./polar-chart.style\"\nimport type {\n UseAngleAxisProps,\n UseChartPieLabelLineProps,\n UseChartPieLabelProps,\n UseChartPieProps,\n UseChartRadarProps,\n UseChartRadialProps,\n UseChartSectorProps,\n UsePolarChartProps,\n UsePolarGridProps,\n UseRadiusAxisProps,\n} from \"./use-polar-chart\"\nimport {\n cloneElement,\n isValidElement,\n useCallback,\n useId,\n useMemo,\n} from \"react\"\nimport {\n Curve,\n Pie,\n PolarAngleAxis,\n PolarGrid,\n PolarRadiusAxis,\n Radar,\n RadialBar,\n Sector,\n Text,\n} from \"recharts\"\nimport {\n createShouldForwardProp,\n createSlotComponent,\n getCSS,\n mergeProps,\n styled,\n useSystem,\n useTheme,\n varAttr,\n} from \"../../core\"\nimport {\n assignRef,\n cx,\n isFunction,\n isNumber,\n isObject,\n runIfFn,\n splitObject,\n} from \"../../utils\"\nimport { Chart, ChartLabelList, useChartComponentContext } from \"./chart\"\nimport { polarChartStyle } from \"./polar-chart.style\"\nimport {\n useAngleAxis,\n useChartPie,\n useChartPieLabel,\n useChartPieLabelLine,\n useChartRadar,\n useChartRadial,\n useChartSector,\n usePolarChart,\n usePolarGrid,\n useRadiusAxis,\n} from \"./use-polar-chart\"\n\nconst shouldForwardProp = createShouldForwardProp()\n\ninterface ComponentContext extends Pick<\n PolarChartProps,\n | \"angleAxisProps\"\n | \"gridProps\"\n | \"nameKey\"\n | \"pieProps\"\n | \"radarProps\"\n | \"radialProps\"\n | \"radiusAxisProps\"\n | \"sectorProps\"\n> {}\n\nexport interface PolarChartProps<Y extends Dict = Dict>\n extends\n Omit<ChartProps, \"cx\" | \"cy\">,\n UsePolarChartProps<Y>,\n ThemeProps<PolarChartStyle> {\n /**\n * The fill of the active dot.\n */\n activeDotFill?: CSSProps[\"fill\"]\n /**\n * The radius of the active dot.\n */\n activeDotRadius?: CSSProps[\"r\"]\n /**\n * The stroke of the active dot.\n */\n activeDotStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the active dot stroke.\n */\n activeDotStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The stroke of the angle axis line.\n */\n angleAxisLineStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the angle axis line stroke.\n */\n angleAxisLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The color of the angle axis text.\n */\n angleAxisTextColor?: CSSProps[\"color\"]\n /**\n * The fill of the angle axis text.\n */\n angleAxisTextFill?: CSSProps[\"fill\"]\n /**\n * The fill of the dot.\n */\n dotFill?: CSSProps[\"fill\"]\n /**\n * The radius of the dot.\n */\n dotRadius?: CSSProps[\"r\"]\n /**\n * The stroke of the dot.\n */\n dotStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the dot stroke.\n */\n dotStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The stroke of the grid.\n */\n gridStroke?: CSSProps[\"stroke\"]\n /**\n * The opacity of the inactive label line.\n */\n inactiveLabelLineOpacity?: CSSProps[\"opacity\"]\n /**\n * The opacity of the inactive label.\n */\n inactiveLabelOpacity?: CSSProps[\"opacity\"]\n /**\n * The opacity of the inactive radar.\n */\n inactiveRadarOpacity?: CSSProps[\"opacity\"]\n /**\n * The opacity of the inactive sector.\n */\n inactiveSectorOpacity?: CSSProps[\"opacity\"]\n /**\n * The color of the label.\n */\n labelColor?: CSSProps[\"color\"]\n /**\n * The fill of the label.\n */\n labelFill?: CSSProps[\"fill\"]\n /**\n * The stroke of the label line.\n */\n labelLineStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the label line stroke.\n */\n labelLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The key to use for the angle axis.\n */\n nameKey?: keyof Y\n /**\n * The color of the radar.\n */\n radarColor?: CSSProps[\"color\"]\n /**\n * The fill opacity of the radar.\n */\n radarFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The stroke of the radar.\n */\n radarStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the radar stroke.\n */\n radarStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The color of the radial background.\n */\n radialBackgroundColor?: CSSProps[\"color\"]\n /**\n * The fill of the radial background.\n */\n radialBackgroundFill?: CSSProps[\"fill\"]\n /**\n * The stroke of the radial background.\n */\n radialBackgroundStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the radial background stroke.\n */\n radialBackgroundStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The stroke of the radius axis line.\n */\n radiusAxisLineStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the radius axis line stroke.\n */\n radiusAxisLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The color of the radius axis text.\n */\n radiusAxisTextColor?: CSSProps[\"color\"]\n /**\n * The fill of the radius axis text.\n */\n radiusAxisTextFill?: CSSProps[\"fill\"]\n /**\n * The color of the sector.\n */\n sectorColor?: CSSProps[\"color\"]\n /**\n * The fill of the sector.\n */\n sectorFill?: CSSProps[\"fill\"]\n /**\n * The stroke of the sector.\n */\n sectorStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the sector stroke.\n */\n sectorStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * If `true`, angle axis is visible.\n *\n * @default true\n */\n withAngleAxis?: boolean\n /**\n * If `true`, grid is visible.\n *\n * @default true\n */\n withGrid?: boolean\n /**\n * If `true`, radius axis is visible.\n *\n * @default false\n */\n withRadiusAxis?: boolean\n /**\n * Props for the angle axis component.\n */\n angleAxisProps?: UseAngleAxisProps\n /**\n * Props for the polar chart component.\n */\n chartProps?: Omit<OriginalPolarChartProps, \"data\">\n /**\n * Props for the donut component.\n */\n donutProps?: Omit<ChartPieProps, \"data\" | \"dataKey\" | \"nameKey\">\n /**\n * Props for the grid component.\n */\n gridProps?: ChartPolarGridProps\n /**\n * Props for the pie component.\n */\n pieProps?: Omit<ChartPieProps, \"data\" | \"dataKey\" | \"nameKey\">\n /**\n * Props for the radar component.\n */\n radarProps?: Omit<ChartRadarProps, \"data\" | \"dataKey\">\n /**\n * Props for the radial component.\n */\n radialProps?: Omit<ChartRadialProps, \"dataKey\" | \"nameKey\">\n /**\n * Props for the radius axis component.\n */\n radiusAxisProps?: UseRadiusAxisProps\n /**\n * Props for the sector component.\n */\n sectorProps?: ChartSectorProps\n}\n\nconst {\n component,\n ComponentContext,\n PropsContext: PolarChartPropsContext,\n useComponentContext,\n usePropsContext: usePolarChartPropsContext,\n withContext,\n withProvider,\n useSlotComponentProps,\n} = createSlotComponent<PolarChartProps, PolarChartStyle, ComponentContext>(\n \"polar-chart\",\n polarChartStyle,\n)\n\nexport { PolarChartPropsContext, usePolarChartPropsContext }\n\nexport const PolarChart = withProvider(\n <Y extends Dict>({\n components: componentsProp,\n nameKey,\n render,\n withAngleAxis = false,\n withGrid = false,\n withRadiusAxis = false,\n angleAxisProps,\n chartProps,\n donutProps,\n gridProps,\n pieProps = donutProps,\n radarProps,\n radialProps,\n radiusAxisProps,\n sectorProps,\n ...rest\n }: PolarChartProps<Y>) => {\n const { getChartProps, getRootProps } = usePolarChart(rest)\n const components = useMemo(\n () => [\n {\n component: ChartPolarGrid,\n fallback: withGrid ? <ChartPolarGrid /> : null,\n },\n {\n component: ChartAngleAxis,\n fallback: withAngleAxis ? <ChartAngleAxis /> : null,\n },\n {\n component: ChartRadiusAxis,\n fallback: withRadiusAxis ? <ChartRadiusAxis /> : null,\n },\n ...componentsProp,\n ],\n [componentsProp, withGrid, withAngleAxis, withRadiusAxis],\n )\n const componentContext = useMemo(\n () => ({\n nameKey: nameKey as string | undefined,\n angleAxisProps,\n gridProps,\n pieProps,\n radarProps,\n radialProps,\n radiusAxisProps,\n sectorProps,\n }),\n [\n pieProps,\n radarProps,\n sectorProps,\n angleAxisProps,\n radiusAxisProps,\n gridProps,\n nameKey,\n radialProps,\n ],\n )\n\n return (\n <ComponentContext value={componentContext}>\n <Chart\n components={components}\n render={(props) => render(getChartProps({ ...props, ...chartProps }))}\n {...getRootProps()}\n />\n </ComponentContext>\n )\n },\n \"root\",\n)(\n undefined,\n ({\n activeDotFill,\n activeDotRadius,\n activeDotStroke,\n activeDotStrokeWidth,\n angleAxisLineStroke,\n angleAxisLineStrokeWidth,\n angleAxisTextColor,\n angleAxisTextFill,\n dotFill,\n dotRadius,\n dotStroke,\n dotStrokeWidth,\n gridStroke,\n inactiveLabelLineOpacity,\n inactiveLabelOpacity,\n inactiveRadarOpacity,\n inactiveSectorOpacity,\n labelColor,\n labelFill,\n labelLineStroke,\n labelLineStrokeWidth,\n radarColor,\n radarFillOpacity,\n radarStroke,\n radarStrokeWidth,\n radialBackgroundColor,\n radialBackgroundFill,\n radialBackgroundStroke,\n radialBackgroundStrokeWidth,\n radiusAxisLineStroke,\n radiusAxisLineStrokeWidth,\n radiusAxisTextColor,\n radiusAxisTextFill,\n sectorColor,\n sectorFill,\n sectorStroke,\n sectorStrokeWidth,\n ...rest\n }) => ({\n \"--active-dot-fill\": varAttr(activeDotFill, \"colors\"),\n \"--active-dot-r\": activeDotRadius,\n \"--active-dot-stroke\": varAttr(activeDotStroke, \"colors\"),\n \"--active-dot-stroke-width\": activeDotStrokeWidth,\n \"--angle-axis-line-stroke\": varAttr(angleAxisLineStroke, \"colors\"),\n \"--angle-axis-line-stroke-width\": angleAxisLineStrokeWidth,\n \"--angle-axis-text-color\": varAttr(angleAxisTextColor, \"colors\"),\n \"--angle-axis-text-fill\": varAttr(angleAxisTextFill, \"colors\"),\n \"--dot-fill\": varAttr(dotFill, \"colors\"),\n \"--dot-r\": dotRadius,\n \"--dot-stroke\": varAttr(dotStroke, \"colors\"),\n \"--dot-stroke-width\": dotStrokeWidth,\n \"--grid-stroke\": varAttr(gridStroke, \"colors\"),\n \"--inactive-label-line-opacity\": inactiveLabelLineOpacity,\n \"--inactive-label-opacity\": inactiveLabelOpacity,\n \"--inactive-radar-opacity\": inactiveRadarOpacity,\n \"--inactive-sector-opacity\": inactiveSectorOpacity,\n \"--label-color\": varAttr(labelColor, \"colors\"),\n \"--label-fill\": varAttr(labelFill, \"colors\"),\n \"--label-line-stroke\": varAttr(labelLineStroke, \"colors\"),\n \"--label-line-stroke-width\": labelLineStrokeWidth,\n \"--radar-color\": varAttr(radarColor, \"colors\"),\n \"--radar-fill-opacity\": radarFillOpacity,\n \"--radar-stroke\": varAttr(radarStroke, \"colors\"),\n \"--radar-stroke-width\": radarStrokeWidth,\n \"--radial-background-color\": varAttr(radialBackgroundColor, \"colors\"),\n \"--radial-background-fill\": varAttr(radialBackgroundFill, \"colors\"),\n \"--radial-background-stroke\": varAttr(radialBackgroundStroke, \"colors\"),\n \"--radial-background-stroke-width\": radialBackgroundStrokeWidth,\n \"--radius-axis-line-stroke\": varAttr(radiusAxisLineStroke, \"colors\"),\n \"--radius-axis-line-stroke-width\": radiusAxisLineStrokeWidth,\n \"--radius-axis-text-color\": varAttr(radiusAxisTextColor, \"colors\"),\n \"--radius-axis-text-fill\": varAttr(radiusAxisTextFill, \"colors\"),\n \"--sector-color\": varAttr(sectorColor, \"colors\"),\n \"--sector-fill\": varAttr(sectorFill, \"colors\"),\n \"--sector-stroke\": varAttr(sectorStroke, \"colors\"),\n \"--sector-stroke-width\": sectorStrokeWidth,\n ...rest,\n }),\n) as GenericsComponent<{\n <Y extends Dict>(props: PolarChartProps<Y>): ReactElement\n}>\n\nexport type ChartPieLabel =\n | ((props: PieLabelRenderProps) => Partial<ChartPieLabelProps>)\n | boolean\n | Partial<ChartPieLabelProps>\n\nexport type ChartPieLabelLine =\n | ((props: any) => ChartPieLabelLineProps)\n | boolean\n | ChartPieLabelLineProps\n\nexport type ChartPieLabelList = boolean | ChartLabelListProps\n\nexport interface ChartPieProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"svg\">,\n Omit<UseChartPieProps, \"data\" | \"dataKey\" | \"label\" | \"labelLine\" | \"nameKey\">\n> {\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey: Exclude<keyof Y, \"fill\">\n /**\n * The key of the name of the data.\n */\n nameKey: Exclude<keyof Y, \"fill\">\n /**\n * The active index of the sector.\n */\n activeIndex?: number\n /**\n * The data to use for the pie.\n */\n data?: Y[]\n /**\n * The label to use for the pie.\n */\n label?: ChartPieLabel\n /**\n * The label line to use for the pie.\n *\n * @default false\n */\n labelLine?: ChartPieLabelLine\n /**\n * If `true`, the label list is visible.\n *\n * @default false\n */\n labelList?: ChartPieLabelList\n /**\n * Props for the sector component.\n */\n sectorProps?:\n | ((props: PieSectorShapeProps, index: number) => ChartSectorProps)\n | ChartSectorProps\n}\n\nexport const ChartPie = withContext<\"svg\", ChartPieProps>((props) => {\n const { pieProps } = useComponentContext()\n const {\n activeIndex,\n children,\n label: labelProp,\n labelLine: labelLineProp = false,\n labelList = false,\n nameKey,\n sectorProps,\n ...rest\n } = mergeProps(pieProps, props)()\n const shape = useCallback(\n (props: any, index: number) => {\n if (isNumber(activeIndex)) props.isActive = index === activeIndex\n\n return (\n <ChartSector\n {...mergeProps(props, runIfFn(sectorProps, props, index))()}\n />\n )\n },\n [activeIndex, sectorProps],\n )\n const label = useMemo<UseChartPieProps[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const Component = (props: any) => (\n <ChartPieLabel\n {...mergeProps(\n props,\n labelProp !== true ? runIfFn(labelProp, props) : {},\n )()}\n />\n )\n\n return Component\n }, [labelProp])\n const labelLine = useMemo<UseChartPieProps[\"labelLine\"]>(() => {\n if (!labelLineProp) return labelLineProp\n\n const Component = ({ key: _, ...rest }: any) => (\n <ChartPieLabelLine\n {...mergeProps(\n rest,\n labelLineProp !== true ? runIfFn(labelLineProp, rest) : {},\n )()}\n />\n )\n\n return Component\n }, [labelLineProp])\n const { getPieProps, getRootProps } = useChartPie({\n label,\n labelLine,\n nameKey,\n shape,\n ...rest,\n })\n\n return (\n <styled.svg asChild {...getRootProps()}>\n <Pie {...getPieProps()}>\n {children}\n\n {labelList ? (\n <ChartLabelList\n dataKey={nameKey}\n {...(isObject(labelList) ? labelList : {})}\n />\n ) : null}\n </Pie>\n </styled.svg>\n )\n}, \"pie\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartPieProps<Y>): ReactElement\n}>\n\ninterface ChartSectorProps extends Merge<\n HTMLStyledProps<\"path\">,\n UseChartSectorProps\n> {}\n\nconst ChartSector = withContext<\"path\", ChartSectorProps>((props) => {\n const { sectorProps } = useComponentContext()\n const { getRootProps, getSectorProps } = useChartSector({\n ...sectorProps,\n ...props,\n })\n\n return (\n <styled.path asChild {...getRootProps()}>\n <Sector {...getSectorProps()} />\n </styled.path>\n )\n}, \"sector\")()\n\ninterface ChartPieLabelProps extends Merge<\n HTMLStyledProps<\"text\">,\n UseChartPieLabelProps\n> {}\n\nconst ChartPieLabel = withContext<\"text\", ChartPieLabelProps>((props) => {\n const { getRootProps, getTextProps } = useChartPieLabel(props)\n\n return (\n <styled.text asChild {...getRootProps()}>\n <Text {...getTextProps()} />\n </styled.text>\n )\n}, \"label\")()\n\ninterface ChartPieLabelLineProps extends Merge<\n HTMLStyledProps<\"path\">,\n UseChartPieLabelLineProps\n> {}\n\nconst ChartPieLabelLine = withContext<\"path\", ChartPieLabelLineProps>(\n (props) => {\n const { getCurveProps, getRootProps } = useChartPieLabelLine(props)\n\n return (\n <styled.path asChild {...getRootProps()}>\n <Curve {...getCurveProps()} />\n </styled.path>\n )\n },\n \"labelLine\",\n)()\n\nexport interface ChartDonutProps<\n Y extends Dict = Dict,\n> extends ChartPieProps<Y> {}\n\nexport const ChartDonut = component<\"svg\", ChartDonutProps>(ChartPie, \"donut\")(\n undefined,\n (props) => {\n const { pieProps } = useComponentContext()\n\n return mergeProps(pieProps, props)()\n },\n ({ label, ...rest }) => ({ innerRadius: !label ? \"70%\" : \"50%\", ...rest }),\n) as GenericsComponent<{\n <Y extends Dict>(props: ChartDonutProps<Y>): ReactElement\n}>\n\nexport interface ChartRadarProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"path\">,\n Omit<UseChartRadarProps, \"activeDot\" | \"dataKey\" | \"dot\" | \"label\" | \"stroke\">\n> {\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey: keyof Y\n /**\n * The active dot to use for the line.\n *\n * @default true\n */\n activeDot?: ChartActiveDot\n /**\n * The dot to use for the line.\n *\n * @default false\n */\n dot?: ChartDot\n /**\n * The label to use for the line.\n *\n * @default false\n */\n label?: ChartLabelListType\n}\n\nexport const ChartRadar = withContext<\"path\", ChartRadarProps>((props) => {\n const { radarProps } = useComponentContext()\n const {\n activeDot: activeDotProp = true,\n children,\n dataKey,\n dot: dotProp = false,\n label: labelProp = false,\n stroke: strokeProp,\n ...rest\n } = mergeProps(radarProps, props)()\n const id = useId()\n const system = useSystem()\n const { theme } = useTheme()\n const color = strokeProp ?? rest.fill ?? rest.color\n const stroke = JSON.stringify(color)\n const dotProps = useSlotComponentProps({}, \"dot\")\n const activeDotProps = useSlotComponentProps({}, \"activeDot\")\n const labelProps = useSlotComponentProps({}, \"labelList\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const dot = useMemo<UseChartRadarProps[\"dot\"]>(() => {\n if (!dotProp) return dotProp\n\n const className = cx(\n dotProps.className,\n css(dotProps.css),\n css({ fill: color, stroke: color }),\n )\n\n if (isFunction(dotProp)) {\n return (props) =>\n dotProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(dotProp)) {\n return cloneElement<any>(dotProp, { className })\n } else if (isObject(dotProp)) {\n const [omittedProps, styleProps] = splitObject<DotProps, CSSObject>(\n dotProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [dotProp, dotProps.className, dotProps.css, css, color])\n const activeDot = useMemo<UseChartRadarProps[\"activeDot\"]>(() => {\n if (!activeDotProp) return activeDotProp\n\n const className = cx(\n activeDotProps.className,\n css(activeDotProps.css),\n css({ fill: color, stroke: color }),\n )\n\n if (isFunction(activeDotProp)) {\n return (props) =>\n activeDotProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(activeDotProp)) {\n return cloneElement<any>(activeDotProp, { className })\n } else if (isObject(activeDotProp)) {\n const [omittedProps, styleProps] = splitObject<ActiveDotProps, CSSObject>(\n activeDotProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [activeDotProp, activeDotProps.className, activeDotProps.css, css, color])\n const label = useMemo<UseChartRadarProps[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const className = cx(labelProps.className, css(labelProps.css))\n\n if (isFunction(labelProp)) {\n return (props) =>\n labelProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(labelProp)) {\n return cloneElement<any>(labelProp, { className })\n } else if (isObject(labelProp)) {\n const [omittedProps, styleProps] = splitObject<LabelListProps, CSSObject>(\n labelProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [labelProp, labelProps.className, labelProps.css, css])\n const { getRadarProps, getRootProps } = useChartRadar({\n activeDot,\n dataKey,\n dot,\n fill: color ? `url(#${id})` : \"\",\n label,\n stroke,\n ...rest,\n })\n\n return (\n <>\n <styled.path asChild {...getRootProps()}>\n <Radar {...getRadarProps()}>{children}</Radar>\n </styled.path>\n\n <linearGradient id={id} x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">\n <styled.stop\n stopColor={color}\n stopOpacity={rest.fillOpacity ?? \"{radar-fill-opacity}\"}\n />\n </linearGradient>\n </>\n )\n}, \"radar\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartRadarProps<Y>): ReactElement\n}>\n\nexport type ChartPolarAxisTick =\n | ((props: BaseTickContentProps) => ReactNode)\n | boolean\n | HTMLStyledProps<\"text\">\n | ReactElement\n\nexport type ChartAxisLine = boolean | HTMLStyledProps<\"line\">\n\nexport interface ChartAngleAxisProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"text\">,\n Omit<\n UseAngleAxisProps,\n \"axisLine\" | \"dataKey\" | \"label\" | \"tick\" | \"tickLine\"\n >\n> {\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n axisLine?: ChartAxisLine\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey?: keyof Y\n /**\n * The label to use for the axis.\n *\n * @default false\n */\n label?: ChartLabel\n /**\n * The tick to use for the axis.\n *\n * @default true\n */\n tick?: ChartPolarAxisTick\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n tickLine?: ChartTickLine\n}\n\nexport const ChartAngleAxis = withContext<\"text\", ChartAngleAxisProps>(\n (props) => {\n const { nameKey, angleAxisProps } = useComponentContext()\n const {\n axisLine: axisLineProp = false,\n children,\n label: labelProp = false,\n tick: tickProp = true,\n tickLine: tickLineProp = false,\n ...rest\n } = mergeProps(angleAxisProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const tickProps = useSlotComponentProps({}, \"angleAxisTick\")\n const labelProps = useSlotComponentProps({}, \"angleAxisLabel\")\n const tickLineProps = useSlotComponentProps({}, \"angleAxisTickLine\")\n const axisLineProps = useSlotComponentProps({}, \"angleAxisLine\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const tick = useMemo<UseAngleAxisProps[\"tick\"]>(() => {\n if (!tickProp) return tickProp\n\n const className = cx(tickProps.className, css(tickProps.css))\n\n if (isFunction(tickProp)) {\n return (props) =>\n tickProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(tickProp)) {\n return cloneElement<any>(tickProp, { className })\n } else if (isObject(tickProp)) {\n const [omittedProps, styleProps] = splitObject<\n BaseTickContentProps,\n CSSObject\n >(tickProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [tickProp, tickProps.className, tickProps.css, css])\n const tickLine = useMemo<UseAngleAxisProps[\"tickLine\"]>(() => {\n if (!tickLineProp) return tickLineProp\n\n const className = cx(tickLineProps.className, css(tickLineProps.css))\n\n if (isObject(tickLineProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"line\">,\n CSSObject\n >(tickLineProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [tickLineProp, tickLineProps.className, tickLineProps.css, css])\n const axisLine = useMemo<UseAngleAxisProps[\"axisLine\"]>(() => {\n if (!axisLineProp) return axisLineProp\n\n const className = cx(axisLineProps.className, css(axisLineProps.css))\n\n if (isObject(axisLineProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"line\">,\n CSSObject\n >(axisLineProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [axisLineProp, axisLineProps.className, axisLineProps.css, css])\n const label = useMemo<UseAngleAxisProps[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const className = cx(labelProps.className, css(labelProps.css))\n\n if (isFunction(labelProp)) {\n return (props) =>\n labelProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(labelProp)) {\n return cloneElement<any>(labelProp, { className })\n } else if (isObject(labelProp)) {\n const [omittedProps, styleProps] = splitObject<LabelProps, CSSObject>(\n labelProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className, children: labelProp }\n }\n }, [labelProp, labelProps.className, labelProps.css, css])\n const { getAngleAxisProps, getRootProps } = useAngleAxis({\n axisLine,\n dataKey: nameKey,\n label,\n tick,\n tickLine,\n ...rest,\n })\n\n return (\n <styled.text asChild {...getRootProps()}>\n <PolarAngleAxis {...getAngleAxisProps()}>{children}</PolarAngleAxis>\n </styled.text>\n )\n },\n \"angleAxis\",\n)() as GenericsComponent<{\n <Y extends Dict>(props: ChartAngleAxisProps<Y>): ReactElement\n}>\n\nexport interface ChartRadiusAxisProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"text\">,\n Omit<\n UseRadiusAxisProps,\n \"axisLine\" | \"dataKey\" | \"label\" | \"tick\" | \"tickLine\"\n >\n> {\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n axisLine?: ChartAxisLine\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey?: keyof Y\n /**\n * The label to use for the axis.\n *\n * @default false\n */\n label?: ChartLabel\n /**\n * The tick to use for the axis.\n *\n * @default true\n */\n tick?: ChartPolarAxisTick\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n tickLine?: ChartTickLine\n}\n\nexport const ChartRadiusAxis = withContext<\"text\", ChartRadiusAxisProps>(\n (props) => {\n const { radiusAxisProps } = useComponentContext()\n const {\n axisLine: axisLineProp = false,\n children,\n label: labelProp = false,\n tick: tickProp = true,\n tickLine: tickLineProp = false,\n ...rest\n } = mergeProps(radiusAxisProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const tickProps = useSlotComponentProps({}, \"radiusAxisTick\")\n const labelProps = useSlotComponentProps({}, \"radiusAxisLabel\")\n const tickLineProps = useSlotComponentProps({}, \"radiusAxisTickLine\")\n const axisLineProps = useSlotComponentProps({}, \"radiusAxisLine\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const tick = useMemo<UseRadiusAxisProps[\"tick\"]>(() => {\n if (!tickProp) return tickProp\n\n const className = cx(tickProps.className, css(tickProps.css))\n\n if (isFunction(tickProp)) {\n return (props) =>\n tickProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(tickProp)) {\n return cloneElement<any>(tickProp, { className })\n } else if (isObject(tickProp)) {\n const [omittedProps, styleProps] = splitObject<\n BaseTickContentProps,\n CSSObject\n >(tickProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [tickProp, tickProps.className, tickProps.css, css])\n const tickLine = useMemo<UseRadiusAxisProps[\"tickLine\"]>(() => {\n if (!tickLineProp) return tickLineProp\n\n const className = cx(tickLineProps.className, css(tickLineProps.css))\n\n if (isObject(tickLineProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"line\">,\n CSSObject\n >(tickLineProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [tickLineProp, tickLineProps.className, tickLineProps.css, css])\n const axisLine = useMemo<UseRadiusAxisProps[\"axisLine\"]>(() => {\n if (!axisLineProp) return axisLineProp\n\n const className = cx(axisLineProps.className, css(axisLineProps.css))\n\n if (isObject(axisLineProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"line\">,\n CSSObject\n >(axisLineProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [axisLineProp, axisLineProps.className, axisLineProps.css, css])\n const label = useMemo<UseRadiusAxisProps[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const className = cx(labelProps.className, css(labelProps.css))\n\n if (isFunction(labelProp)) {\n return (props) =>\n labelProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(labelProp)) {\n return cloneElement<any>(labelProp, { className })\n } else if (isObject(labelProp)) {\n const [omittedProps, styleProps] = splitObject<LabelProps, CSSObject>(\n labelProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className, children: labelProp }\n }\n }, [labelProp, labelProps.className, labelProps.css, css])\n const { getRadiusAxisProps, getRootProps } = useRadiusAxis({\n axisLine,\n label,\n tick,\n tickLine,\n ...rest,\n })\n\n return (\n <styled.text asChild {...getRootProps()}>\n <PolarRadiusAxis {...getRadiusAxisProps()}>{children}</PolarRadiusAxis>\n </styled.text>\n )\n },\n \"radiusAxis\",\n)() as GenericsComponent<{\n <Y extends Dict>(props: ChartRadiusAxisProps<Y>): ReactElement\n}>\n\nexport interface ChartPolarGridProps extends Merge<\n HTMLStyledProps<\"line\">,\n UsePolarGridProps\n> {}\n\nexport const ChartPolarGrid = withContext<\"line\", ChartPolarGridProps>(\n (props) => {\n const { gridProps } = useComponentContext()\n const { getPolarGridProps, getRootProps } = usePolarGrid({\n ...gridProps,\n ...props,\n })\n\n return (\n <styled.line asChild {...getRootProps()}>\n <PolarGrid {...getPolarGridProps()} />\n </styled.line>\n )\n },\n \"grid\",\n)()\n\nexport type ChartRadialBackground =\n | ((props: SectorProps) => null | ReactElement | undefined)\n | boolean\n | HTMLStyledProps<\"svg\">\n | ReactElement\n\nexport interface ChartRadialProps<Y extends Dict = Dict> extends Merge<\n Omit<HTMLStyledProps<\"svg\">, \"background\">,\n Omit<UseChartRadialProps<Y>, \"background\" | \"dataKey\" | \"label\">\n> {\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey: keyof Y\n /**\n * The background to use for the radial chart.\n */\n background?: ChartRadialBackground\n /**\n * The label to use for the radial.\n *\n * @default false\n */\n label?: ChartLabelListType\n /**\n * If `true`, the label list is visible.\n *\n * @default false\n */\n labelList?: ChartPieLabelList\n /**\n * Props for the sector component.\n */\n sectorProps?:\n | ((props: PieSectorShapeProps) => ChartSectorProps)\n | ChartSectorProps\n}\n\nexport const ChartRadial = withContext<\"svg\", ChartRadialProps>(\n <Y extends Dict>(props: ChartRadialProps<Y>) => {\n const { radialProps } = useComponentContext()\n const {\n background: backgroundProp = true,\n children,\n dataKey,\n label: labelProp = false,\n labelList = false,\n nameKey,\n sectorProps,\n ...rest\n } = mergeProps(radialProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const { nameKeyRef } = useChartComponentContext()\n const labelProps = useSlotComponentProps({}, \"labelList\")\n const backgroundProps = useSlotComponentProps({}, \"radialBackground\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const shape = useCallback(\n (props: any) => {\n const color = rest.fill ?? rest.color\n\n return (\n <ChartSector\n color={color}\n {...mergeProps(props, runIfFn(sectorProps, props))()}\n />\n )\n },\n [rest.fill, rest.color, sectorProps],\n )\n const label = useMemo<UseChartRadialProps<Y>[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const className = cx(labelProps.className, css(labelProps.css))\n\n if (isFunction(labelProp)) {\n return (props) =>\n labelProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(labelProp)) {\n return cloneElement<any>(labelProp, { className })\n } else if (isObject(labelProp)) {\n const [omittedProps, styleProps] = splitObject<\n LabelListProps,\n CSSObject\n >(labelProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [labelProp, labelProps.className, labelProps.css, css])\n const background = useMemo<UseChartRadialProps<Y>[\"background\"]>(() => {\n if (!backgroundProp) return backgroundProp\n\n const className = cx(backgroundProps.className, css(backgroundProps.css))\n\n if (isFunction(backgroundProp)) {\n return (props) =>\n backgroundProp({\n ...props,\n className: cx(className, props.className),\n })\n } else if (isValidElement(backgroundProp)) {\n return cloneElement<any>(backgroundProp, { className })\n } else if (isObject(backgroundProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"svg\">,\n CSSObject\n >(backgroundProp, shouldForwardProp)\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [backgroundProp, backgroundProps.className, backgroundProps.css, css])\n const { getRadialProps, getRootProps } = useChartRadial({\n background,\n dataKey: dataKey as DataKey<any>,\n label,\n nameKey,\n shape,\n ...rest,\n })\n\n assignRef(nameKeyRef, nameKey)\n\n return (\n <styled.svg asChild {...getRootProps()}>\n <RadialBar {...getRadialProps()}>\n {children}\n\n {labelList ? (\n <ChartLabelList\n dataKey={nameKey as DataKey<any>}\n offset={4}\n position=\"insideStart\"\n {...(isObject(labelList) ? labelList : {})}\n />\n ) : null}\n </RadialBar>\n </styled.svg>\n )\n },\n \"radial\",\n)() as GenericsComponent<{\n <Y extends Dict>(props: ChartRadialProps<Y>): ReactElement\n}>\n"],"mappings":";;;;;;;;;;;;;;;;;AAmGA,MAAM,oBAAoB,wBAAwB;AAmOlD,MAAM,EACJ,WACA,kBACA,cAAc,wBACd,qBACA,iBAAiB,2BACjB,aACA,cACA,0BACE,oBACF,eACA,eACF;AAIA,MAAa,aAAa,cACP,EACf,YAAY,gBACZ,SACA,QACA,gBAAgB,OAChB,WAAW,OACX,iBAAiB,OACjB,gBACA,YACA,YACA,WACA,WAAW,YACX,YACA,aACA,iBACA,aACA,GAAG,WACqB;CACxB,MAAM,EAAE,eAAe,iBAAiB,cAAc,IAAI;CAC1D,MAAM,aAAa,cACX;EACJ;GACE,WAAW;GACX,UAAU,WAAW,oBAAC,gBAAD,CAAiB,CAAA,IAAI;EAC5C;EACA;GACE,WAAW;GACX,UAAU,gBAAgB,oBAAC,gBAAD,CAAiB,CAAA,IAAI;EACjD;EACA;GACE,WAAW;GACX,UAAU,iBAAiB,oBAAC,iBAAD,CAAkB,CAAA,IAAI;EACnD;EACA,GAAG;CACL,GACA;EAAC;EAAgB;EAAU;EAAe;CAAc,CAC1D;CAwBA,OACE,oBAAC,kBAAD;EAAkB,OAxBK,eAChB;GACI;GACT;GACA;GACA;GACA;GACA;GACA;GACA;EACF,IACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAIwC;YACtC,oBAAC,OAAD;GACc;GACZ,SAAS,UAAU,OAAO,cAAc;IAAE,GAAG;IAAO,GAAG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aAAkB,gBAAgB,EAAE,UAAU,CAAC;QACjD,KAAA,GAAA,cAAA,SAAA,CAAa,cAAc,GAAG;IACnC,MAAM,CAAC,cAAc,eAAA,GAAA,cAAA,YAAA,CAGnB,gBAAgB,iBAAiB;IACnC,OAAO;KACL,GAAG;KACH,YAAA,GAAA,cAAA,GAAA,CAAc,WAAW,aAAa,WAAW,IAAI,UAAU,CAAC;IAClE;GACF,OACE,OAAO,EAAE,UAAU;EAEvB,GAAG;GAAC;GAAgB,gBAAgB;GAAW,gBAAgB;GAAK;EAAG,CAE5D;EACA;EACT;EACA;EACA;EACA,GAAG;CACL,CAAC;CAED,UAAU,YAAY,OAAO;CAE7B,OACE,oBAAC,OAAO,KAAR;EAAY,SAAA;EAAQ,GAAI,aAAa;YACnC,qBAAC,WAAD;GAAW,GAAI,eAAe;aAA9B,CACG,UAEA,YACC,oBAAC,gBAAD;IACE,SAAS;IACT,QAAQ;IACR,UAAS;IACT,IAAA,GAAA,cAAA,SAAA,CAAc,SAAS,IAAI,YAAY,CAAC;GACzC,CAAA,IACC,IACK;;CACD,CAAA;AAEhB,GACA,QACF,CAAC,CAAC"}
1
+ {"version":3,"file":"polar-chart.js","names":[],"sources":["../../../../src/components/chart/polar-chart.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\n\nimport type {\n ActiveDotProps,\n BaseTickContentProps,\n DataKey,\n DotProps,\n LabelListProps,\n LabelProps,\n PieLabelRenderProps,\n PieSectorShapeProps,\n RadialBarSectorProps,\n SectorProps,\n} from \"recharts\"\nimport type { PolarChartProps as OriginalPolarChartProps } from \"recharts/types/util/types\"\nimport type {\n CSSObject,\n CSSProps,\n GenericsComponent,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { Dict, Merge } from \"../../utils\"\nimport type {\n ChartActiveDot,\n ChartDot,\n ChartLabel,\n ChartLabelListProps,\n ChartLabelList as ChartLabelListType,\n ChartProps,\n ChartTickLine,\n} from \"./chart\"\nimport type { PolarChartStyle } from \"./polar-chart.style\"\nimport type {\n UseAngleAxisProps,\n UseChartPieLabelLineProps,\n UseChartPieLabelProps,\n UseChartPieProps,\n UseChartRadarProps,\n UseChartRadialProps,\n UseChartSectorProps,\n UsePolarChartProps,\n UsePolarGridProps,\n UseRadiusAxisProps,\n} from \"./use-polar-chart\"\nimport {\n cloneElement,\n isValidElement,\n useCallback,\n useId,\n useMemo,\n} from \"react\"\nimport {\n Curve,\n Pie,\n PolarAngleAxis,\n PolarGrid,\n PolarRadiusAxis,\n Radar,\n RadialBar,\n Sector,\n Text,\n} from \"recharts\"\nimport {\n createShouldForwardProp,\n createSlotComponent,\n getCSS,\n mergeProps,\n styled,\n useSystem,\n useTheme,\n varAttr,\n} from \"../../core\"\nimport {\n assignRef,\n cx,\n isFunction,\n isNumber,\n isObject,\n runIfFn,\n splitObject,\n} from \"../../utils\"\nimport { Chart, ChartLabelList, useChartComponentContext } from \"./chart\"\nimport { polarChartStyle } from \"./polar-chart.style\"\nimport {\n useAngleAxis,\n useChartPie,\n useChartPieLabel,\n useChartPieLabelLine,\n useChartRadar,\n useChartRadial,\n useChartSector,\n usePolarChart,\n usePolarGrid,\n useRadiusAxis,\n} from \"./use-polar-chart\"\n\nconst shouldForwardProp = createShouldForwardProp()\n\ninterface ComponentContext extends Pick<\n PolarChartProps,\n | \"angleAxisProps\"\n | \"gridProps\"\n | \"nameKey\"\n | \"pieProps\"\n | \"radarProps\"\n | \"radialProps\"\n | \"radiusAxisProps\"\n | \"sectorProps\"\n> {}\n\nexport interface PolarChartProps<Y extends Dict = Dict>\n extends\n Omit<ChartProps, \"cx\" | \"cy\">,\n UsePolarChartProps<Y>,\n ThemeProps<PolarChartStyle> {\n /**\n * The fill of the active dot.\n */\n activeDotFill?: CSSProps[\"fill\"]\n /**\n * The radius of the active dot.\n */\n activeDotRadius?: CSSProps[\"r\"]\n /**\n * The stroke of the active dot.\n */\n activeDotStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the active dot stroke.\n */\n activeDotStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The stroke of the angle axis line.\n */\n angleAxisLineStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the angle axis line stroke.\n */\n angleAxisLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The color of the angle axis text.\n */\n angleAxisTextColor?: CSSProps[\"color\"]\n /**\n * The fill of the angle axis text.\n */\n angleAxisTextFill?: CSSProps[\"fill\"]\n /**\n * The fill of the dot.\n */\n dotFill?: CSSProps[\"fill\"]\n /**\n * The radius of the dot.\n */\n dotRadius?: CSSProps[\"r\"]\n /**\n * The stroke of the dot.\n */\n dotStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the dot stroke.\n */\n dotStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The stroke of the grid.\n */\n gridStroke?: CSSProps[\"stroke\"]\n /**\n * The opacity of the inactive label line.\n */\n inactiveLabelLineOpacity?: CSSProps[\"opacity\"]\n /**\n * The opacity of the inactive label.\n */\n inactiveLabelOpacity?: CSSProps[\"opacity\"]\n /**\n * The opacity of the inactive radar.\n */\n inactiveRadarOpacity?: CSSProps[\"opacity\"]\n /**\n * The opacity of the inactive sector.\n */\n inactiveSectorOpacity?: CSSProps[\"opacity\"]\n /**\n * The color of the label.\n */\n labelColor?: CSSProps[\"color\"]\n /**\n * The fill of the label.\n */\n labelFill?: CSSProps[\"fill\"]\n /**\n * The stroke of the label line.\n */\n labelLineStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the label line stroke.\n */\n labelLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The key to use for the angle axis.\n */\n nameKey?: keyof Y\n /**\n * The color of the radar.\n */\n radarColor?: CSSProps[\"color\"]\n /**\n * The fill opacity of the radar.\n */\n radarFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The stroke of the radar.\n */\n radarStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the radar stroke.\n */\n radarStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The color of the radial background.\n */\n radialBackgroundColor?: CSSProps[\"color\"]\n /**\n * The fill of the radial background.\n */\n radialBackgroundFill?: CSSProps[\"fill\"]\n /**\n * The stroke of the radial background.\n */\n radialBackgroundStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the radial background stroke.\n */\n radialBackgroundStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The stroke of the radius axis line.\n */\n radiusAxisLineStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the radius axis line stroke.\n */\n radiusAxisLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The color of the radius axis text.\n */\n radiusAxisTextColor?: CSSProps[\"color\"]\n /**\n * The fill of the radius axis text.\n */\n radiusAxisTextFill?: CSSProps[\"fill\"]\n /**\n * The color of the sector.\n */\n sectorColor?: CSSProps[\"color\"]\n /**\n * The fill of the sector.\n */\n sectorFill?: CSSProps[\"fill\"]\n /**\n * The stroke of the sector.\n */\n sectorStroke?: CSSProps[\"stroke\"]\n /**\n * The width of the sector stroke.\n */\n sectorStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * If `true`, angle axis is visible.\n *\n * @default true\n */\n withAngleAxis?: boolean\n /**\n * If `true`, grid is visible.\n *\n * @default true\n */\n withGrid?: boolean\n /**\n * If `true`, radius axis is visible.\n *\n * @default false\n */\n withRadiusAxis?: boolean\n /**\n * Props for the angle axis component.\n */\n angleAxisProps?: UseAngleAxisProps\n /**\n * Props for the polar chart component.\n */\n chartProps?: Omit<OriginalPolarChartProps, \"data\">\n /**\n * Props for the donut component.\n */\n donutProps?: Omit<ChartPieProps, \"data\" | \"dataKey\" | \"nameKey\">\n /**\n * Props for the grid component.\n */\n gridProps?: ChartPolarGridProps\n /**\n * Props for the pie component.\n */\n pieProps?: Omit<ChartPieProps, \"data\" | \"dataKey\" | \"nameKey\">\n /**\n * Props for the radar component.\n */\n radarProps?: Omit<ChartRadarProps, \"data\" | \"dataKey\">\n /**\n * Props for the radial component.\n */\n radialProps?: Omit<ChartRadialProps, \"dataKey\" | \"nameKey\">\n /**\n * Props for the radius axis component.\n */\n radiusAxisProps?: UseRadiusAxisProps\n /**\n * Props for the sector component.\n */\n sectorProps?: ChartSectorProps\n}\n\nconst {\n component,\n ComponentContext,\n PropsContext: PolarChartPropsContext,\n useComponentContext,\n usePropsContext: usePolarChartPropsContext,\n withContext,\n withProvider,\n useSlotComponentProps,\n} = createSlotComponent<PolarChartProps, PolarChartStyle, ComponentContext>(\n \"polar-chart\",\n polarChartStyle,\n)\n\nexport { PolarChartPropsContext, usePolarChartPropsContext }\n\nexport const PolarChart = withProvider(\n <Y extends Dict>({\n components: componentsProp,\n nameKey,\n render,\n withAngleAxis = false,\n withGrid = false,\n withRadiusAxis = false,\n angleAxisProps,\n chartProps,\n donutProps,\n gridProps,\n pieProps = donutProps,\n radarProps,\n radialProps,\n radiusAxisProps,\n sectorProps,\n ...rest\n }: PolarChartProps<Y>) => {\n const { getChartProps, getRootProps } = usePolarChart(rest)\n const components = useMemo(\n () => [\n {\n component: ChartPolarGrid,\n fallback: withGrid ? <ChartPolarGrid /> : null,\n },\n {\n component: ChartAngleAxis,\n fallback: withAngleAxis ? <ChartAngleAxis /> : null,\n },\n {\n component: ChartRadiusAxis,\n fallback: withRadiusAxis ? <ChartRadiusAxis /> : null,\n },\n ...componentsProp,\n ],\n [componentsProp, withGrid, withAngleAxis, withRadiusAxis],\n )\n const componentContext = useMemo(\n () => ({\n nameKey: nameKey as string | undefined,\n angleAxisProps,\n gridProps,\n pieProps,\n radarProps,\n radialProps,\n radiusAxisProps,\n sectorProps,\n }),\n [\n pieProps,\n radarProps,\n sectorProps,\n angleAxisProps,\n radiusAxisProps,\n gridProps,\n nameKey,\n radialProps,\n ],\n )\n\n return (\n <ComponentContext value={componentContext}>\n <Chart\n components={components}\n render={(props) => render(getChartProps({ ...props, ...chartProps }))}\n {...getRootProps()}\n />\n </ComponentContext>\n )\n },\n \"root\",\n)(\n undefined,\n ({\n activeDotFill,\n activeDotRadius,\n activeDotStroke,\n activeDotStrokeWidth,\n angleAxisLineStroke,\n angleAxisLineStrokeWidth,\n angleAxisTextColor,\n angleAxisTextFill,\n dotFill,\n dotRadius,\n dotStroke,\n dotStrokeWidth,\n gridStroke,\n inactiveLabelLineOpacity,\n inactiveLabelOpacity,\n inactiveRadarOpacity,\n inactiveSectorOpacity,\n labelColor,\n labelFill,\n labelLineStroke,\n labelLineStrokeWidth,\n radarColor,\n radarFillOpacity,\n radarStroke,\n radarStrokeWidth,\n radialBackgroundColor,\n radialBackgroundFill,\n radialBackgroundStroke,\n radialBackgroundStrokeWidth,\n radiusAxisLineStroke,\n radiusAxisLineStrokeWidth,\n radiusAxisTextColor,\n radiusAxisTextFill,\n sectorColor,\n sectorFill,\n sectorStroke,\n sectorStrokeWidth,\n ...rest\n }) => ({\n \"--active-dot-fill\": varAttr(activeDotFill, \"colors\"),\n \"--active-dot-r\": activeDotRadius,\n \"--active-dot-stroke\": varAttr(activeDotStroke, \"colors\"),\n \"--active-dot-stroke-width\": activeDotStrokeWidth,\n \"--angle-axis-line-stroke\": varAttr(angleAxisLineStroke, \"colors\"),\n \"--angle-axis-line-stroke-width\": angleAxisLineStrokeWidth,\n \"--angle-axis-text-color\": varAttr(angleAxisTextColor, \"colors\"),\n \"--angle-axis-text-fill\": varAttr(angleAxisTextFill, \"colors\"),\n \"--dot-fill\": varAttr(dotFill, \"colors\"),\n \"--dot-r\": dotRadius,\n \"--dot-stroke\": varAttr(dotStroke, \"colors\"),\n \"--dot-stroke-width\": dotStrokeWidth,\n \"--grid-stroke\": varAttr(gridStroke, \"colors\"),\n \"--inactive-label-line-opacity\": inactiveLabelLineOpacity,\n \"--inactive-label-opacity\": inactiveLabelOpacity,\n \"--inactive-radar-opacity\": inactiveRadarOpacity,\n \"--inactive-sector-opacity\": inactiveSectorOpacity,\n \"--label-color\": varAttr(labelColor, \"colors\"),\n \"--label-fill\": varAttr(labelFill, \"colors\"),\n \"--label-line-stroke\": varAttr(labelLineStroke, \"colors\"),\n \"--label-line-stroke-width\": labelLineStrokeWidth,\n \"--radar-color\": varAttr(radarColor, \"colors\"),\n \"--radar-fill-opacity\": radarFillOpacity,\n \"--radar-stroke\": varAttr(radarStroke, \"colors\"),\n \"--radar-stroke-width\": radarStrokeWidth,\n \"--radial-background-color\": varAttr(radialBackgroundColor, \"colors\"),\n \"--radial-background-fill\": varAttr(radialBackgroundFill, \"colors\"),\n \"--radial-background-stroke\": varAttr(radialBackgroundStroke, \"colors\"),\n \"--radial-background-stroke-width\": radialBackgroundStrokeWidth,\n \"--radius-axis-line-stroke\": varAttr(radiusAxisLineStroke, \"colors\"),\n \"--radius-axis-line-stroke-width\": radiusAxisLineStrokeWidth,\n \"--radius-axis-text-color\": varAttr(radiusAxisTextColor, \"colors\"),\n \"--radius-axis-text-fill\": varAttr(radiusAxisTextFill, \"colors\"),\n \"--sector-color\": varAttr(sectorColor, \"colors\"),\n \"--sector-fill\": varAttr(sectorFill, \"colors\"),\n \"--sector-stroke\": varAttr(sectorStroke, \"colors\"),\n \"--sector-stroke-width\": sectorStrokeWidth,\n ...rest,\n }),\n) as GenericsComponent<{\n <Y extends Dict>(props: PolarChartProps<Y>): ReactElement\n}>\n\nexport type ChartPieLabel =\n | ((props: PieLabelRenderProps) => Partial<ChartPieLabelProps>)\n | boolean\n | Partial<ChartPieLabelProps>\n\nexport type ChartPieLabelLine =\n | ((props: any) => ChartPieLabelLineProps)\n | boolean\n | ChartPieLabelLineProps\n\nexport type ChartPieLabelList = boolean | ChartLabelListProps\n\nexport interface ChartPieProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"svg\">,\n Omit<UseChartPieProps, \"data\" | \"dataKey\" | \"label\" | \"labelLine\" | \"nameKey\">\n> {\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey: Exclude<keyof Y, \"fill\">\n /**\n * The key of the name of the data.\n */\n nameKey: Exclude<keyof Y, \"fill\">\n /**\n * The active index of the sector.\n */\n activeIndex?: number\n /**\n * The data to use for the pie.\n */\n data?: Y[]\n /**\n * The label to use for the pie.\n */\n label?: ChartPieLabel\n /**\n * The label line to use for the pie.\n *\n * @default false\n */\n labelLine?: ChartPieLabelLine\n /**\n * If `true`, the label list is visible.\n *\n * @default false\n */\n labelList?: ChartPieLabelList\n /**\n * Props for the sector component.\n */\n sectorProps?:\n | ((\n props: PieSectorShapeProps,\n index: number | string | undefined,\n ) => ChartSectorProps)\n | ChartSectorProps\n}\n\nexport const ChartPie = withContext<\"svg\", ChartPieProps>((props) => {\n const { pieProps } = useComponentContext()\n const {\n activeIndex,\n children,\n label: labelProp,\n labelLine: labelLineProp = false,\n labelList = false,\n nameKey,\n sectorProps,\n ...rest\n } = mergeProps(pieProps, props)()\n const shape: UseChartPieProps[\"shape\"] = useCallback(\n (props, index) => {\n if (isNumber(activeIndex)) props.isActive = index === activeIndex\n\n return (\n <ChartSector\n {...mergeProps(props, runIfFn(sectorProps, props, index))()}\n />\n )\n },\n [activeIndex, sectorProps],\n )\n const label = useMemo<UseChartPieProps[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const Component = (props: any) => (\n <ChartPieLabel\n {...mergeProps(\n props,\n labelProp !== true ? runIfFn(labelProp, props) : {},\n )()}\n />\n )\n\n return Component\n }, [labelProp])\n const labelLine = useMemo<UseChartPieProps[\"labelLine\"]>(() => {\n if (!labelLineProp) return labelLineProp\n\n const Component = ({ key: _, ...rest }: any) => (\n <ChartPieLabelLine\n {...mergeProps(\n rest,\n labelLineProp !== true ? runIfFn(labelLineProp, rest) : {},\n )()}\n />\n )\n\n return Component\n }, [labelLineProp])\n const { getPieProps, getRootProps } = useChartPie({\n label,\n labelLine,\n nameKey,\n shape,\n ...rest,\n })\n\n return (\n <styled.svg asChild {...getRootProps()}>\n <Pie {...getPieProps()}>\n {children}\n\n {labelList ? (\n <ChartLabelList\n dataKey={nameKey}\n {...(isObject(labelList) ? labelList : {})}\n />\n ) : null}\n </Pie>\n </styled.svg>\n )\n}, \"pie\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartPieProps<Y>): ReactElement\n}>\n\ninterface ChartSectorProps extends Merge<\n HTMLStyledProps<\"path\">,\n UseChartSectorProps\n> {}\n\nconst ChartSector = withContext<\"path\", ChartSectorProps>((props) => {\n const { sectorProps } = useComponentContext()\n const { getRootProps, getSectorProps } = useChartSector({\n ...sectorProps,\n ...props,\n })\n\n return (\n <styled.path asChild {...getRootProps()}>\n <Sector {...getSectorProps()} />\n </styled.path>\n )\n}, \"sector\")()\n\ninterface ChartPieLabelProps extends Merge<\n HTMLStyledProps<\"text\">,\n UseChartPieLabelProps\n> {}\n\nconst ChartPieLabel = withContext<\"text\", ChartPieLabelProps>((props) => {\n const { getRootProps, getTextProps } = useChartPieLabel(props)\n\n return (\n <styled.text asChild {...getRootProps()}>\n <Text {...getTextProps()} />\n </styled.text>\n )\n}, \"label\")()\n\ninterface ChartPieLabelLineProps extends Merge<\n HTMLStyledProps<\"path\">,\n UseChartPieLabelLineProps\n> {}\n\nconst ChartPieLabelLine = withContext<\"path\", ChartPieLabelLineProps>(\n (props) => {\n const { getCurveProps, getRootProps } = useChartPieLabelLine(props)\n\n return (\n <styled.path asChild {...getRootProps()}>\n <Curve {...getCurveProps()} />\n </styled.path>\n )\n },\n \"labelLine\",\n)()\n\nexport interface ChartDonutProps<\n Y extends Dict = Dict,\n> extends ChartPieProps<Y> {}\n\nexport const ChartDonut = component<\"svg\", ChartDonutProps>(ChartPie, \"donut\")(\n undefined,\n (props) => {\n const { pieProps } = useComponentContext()\n\n return mergeProps(pieProps, props)()\n },\n ({ label, ...rest }) => ({ innerRadius: !label ? \"70%\" : \"50%\", ...rest }),\n) as GenericsComponent<{\n <Y extends Dict>(props: ChartDonutProps<Y>): ReactElement\n}>\n\nexport interface ChartRadarProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"path\">,\n Omit<UseChartRadarProps, \"activeDot\" | \"dataKey\" | \"dot\" | \"label\" | \"stroke\">\n> {\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey: keyof Y\n /**\n * The active dot to use for the line.\n *\n * @default true\n */\n activeDot?: ChartActiveDot\n /**\n * The dot to use for the line.\n *\n * @default false\n */\n dot?: ChartDot\n /**\n * The label to use for the line.\n *\n * @default false\n */\n label?: ChartLabelListType\n}\n\nexport const ChartRadar = withContext<\"path\", ChartRadarProps>((props) => {\n const { radarProps } = useComponentContext()\n const {\n activeDot: activeDotProp = true,\n children,\n dataKey,\n dot: dotProp = false,\n label: labelProp = false,\n stroke: strokeProp,\n ...rest\n } = mergeProps(radarProps, props)()\n const id = useId()\n const system = useSystem()\n const { theme } = useTheme()\n const color = strokeProp ?? rest.fill ?? rest.color\n const stroke = JSON.stringify(color)\n const dotProps = useSlotComponentProps({}, \"dot\")\n const activeDotProps = useSlotComponentProps({}, \"activeDot\")\n const labelProps = useSlotComponentProps({}, \"labelList\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const dot = useMemo<UseChartRadarProps[\"dot\"]>(() => {\n if (!dotProp) return dotProp\n\n const className = cx(\n dotProps.className,\n css(dotProps.css),\n css({ fill: color, stroke: color }),\n )\n\n if (isFunction(dotProp)) {\n return (props) =>\n dotProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(dotProp)) {\n return cloneElement<any>(dotProp, { className })\n } else if (isObject(dotProp)) {\n const [omittedProps, styleProps] = splitObject<DotProps, CSSObject>(\n dotProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [dotProp, dotProps.className, dotProps.css, css, color])\n const activeDot = useMemo<UseChartRadarProps[\"activeDot\"]>(() => {\n if (!activeDotProp) return activeDotProp\n\n const className = cx(\n activeDotProps.className,\n css(activeDotProps.css),\n css({ fill: color, stroke: color }),\n )\n\n if (isFunction(activeDotProp)) {\n return (props) =>\n activeDotProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(activeDotProp)) {\n return cloneElement<any>(activeDotProp, { className })\n } else if (isObject(activeDotProp)) {\n const [omittedProps, styleProps] = splitObject<ActiveDotProps, CSSObject>(\n activeDotProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [activeDotProp, activeDotProps.className, activeDotProps.css, css, color])\n const label = useMemo<UseChartRadarProps[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const className = cx(labelProps.className, css(labelProps.css))\n\n if (isFunction(labelProp)) {\n return (props) =>\n labelProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(labelProp)) {\n return cloneElement<any>(labelProp, { className })\n } else if (isObject(labelProp)) {\n const [omittedProps, styleProps] = splitObject<LabelListProps, CSSObject>(\n labelProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [labelProp, labelProps.className, labelProps.css, css])\n const { getRadarProps, getRootProps } = useChartRadar({\n activeDot,\n dataKey,\n dot,\n fill: color ? `url(#${id})` : \"\",\n label,\n stroke,\n ...rest,\n })\n\n return (\n <>\n <styled.path asChild {...getRootProps()}>\n <Radar {...getRadarProps()}>{children}</Radar>\n </styled.path>\n\n <linearGradient id={id} x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">\n <styled.stop\n stopColor={color}\n stopOpacity={rest.fillOpacity ?? \"{radar-fill-opacity}\"}\n />\n </linearGradient>\n </>\n )\n}, \"radar\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartRadarProps<Y>): ReactElement\n}>\n\nexport type ChartPolarAxisTick =\n | ((props: BaseTickContentProps) => ReactNode)\n | boolean\n | HTMLStyledProps<\"text\">\n | ReactElement\n\nexport type ChartAxisLine = boolean | HTMLStyledProps<\"line\">\n\nexport interface ChartAngleAxisProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"text\">,\n Omit<\n UseAngleAxisProps,\n \"axisLine\" | \"dataKey\" | \"label\" | \"tick\" | \"tickLine\"\n >\n> {\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n axisLine?: ChartAxisLine\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey?: keyof Y\n /**\n * The label to use for the axis.\n *\n * @default false\n */\n label?: ChartLabel\n /**\n * The tick to use for the axis.\n *\n * @default true\n */\n tick?: ChartPolarAxisTick\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n tickLine?: ChartTickLine\n}\n\nexport const ChartAngleAxis = withContext<\"text\", ChartAngleAxisProps>(\n (props) => {\n const { nameKey, angleAxisProps } = useComponentContext()\n const {\n axisLine: axisLineProp = false,\n children,\n label: labelProp = false,\n tick: tickProp = true,\n tickLine: tickLineProp = false,\n ...rest\n } = mergeProps(angleAxisProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const tickProps = useSlotComponentProps({}, \"angleAxisTick\")\n const labelProps = useSlotComponentProps({}, \"angleAxisLabel\")\n const tickLineProps = useSlotComponentProps({}, \"angleAxisTickLine\")\n const axisLineProps = useSlotComponentProps({}, \"angleAxisLine\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const tick = useMemo<UseAngleAxisProps[\"tick\"]>(() => {\n if (!tickProp) return tickProp\n\n const className = cx(tickProps.className, css(tickProps.css))\n\n if (isFunction(tickProp)) {\n return (props) =>\n tickProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(tickProp)) {\n return cloneElement<any>(tickProp, { className })\n } else if (isObject(tickProp)) {\n const [omittedProps, styleProps] = splitObject<\n BaseTickContentProps,\n CSSObject\n >(tickProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [tickProp, tickProps.className, tickProps.css, css])\n const tickLine = useMemo<UseAngleAxisProps[\"tickLine\"]>(() => {\n if (!tickLineProp) return tickLineProp\n\n const className = cx(tickLineProps.className, css(tickLineProps.css))\n\n if (isObject(tickLineProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"line\">,\n CSSObject\n >(tickLineProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [tickLineProp, tickLineProps.className, tickLineProps.css, css])\n const axisLine = useMemo<UseAngleAxisProps[\"axisLine\"]>(() => {\n if (!axisLineProp) return axisLineProp\n\n const className = cx(axisLineProps.className, css(axisLineProps.css))\n\n if (isObject(axisLineProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"line\">,\n CSSObject\n >(axisLineProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [axisLineProp, axisLineProps.className, axisLineProps.css, css])\n const label = useMemo<UseAngleAxisProps[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const className = cx(labelProps.className, css(labelProps.css))\n\n if (isFunction(labelProp)) {\n return (props) =>\n labelProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(labelProp)) {\n return cloneElement<any>(labelProp, { className })\n } else if (isObject(labelProp)) {\n const [omittedProps, styleProps] = splitObject<LabelProps, CSSObject>(\n labelProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className, children: labelProp }\n }\n }, [labelProp, labelProps.className, labelProps.css, css])\n const { getAngleAxisProps, getRootProps } = useAngleAxis({\n axisLine,\n dataKey: nameKey,\n label,\n tick,\n tickLine,\n ...rest,\n })\n\n return (\n <styled.text asChild {...getRootProps()}>\n <PolarAngleAxis {...getAngleAxisProps()}>{children}</PolarAngleAxis>\n </styled.text>\n )\n },\n \"angleAxis\",\n)() as GenericsComponent<{\n <Y extends Dict>(props: ChartAngleAxisProps<Y>): ReactElement\n}>\n\nexport interface ChartRadiusAxisProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"text\">,\n Omit<\n UseRadiusAxisProps,\n \"axisLine\" | \"dataKey\" | \"label\" | \"tick\" | \"tickLine\"\n >\n> {\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n axisLine?: ChartAxisLine\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey?: keyof Y\n /**\n * The label to use for the axis.\n *\n * @default false\n */\n label?: ChartLabel\n /**\n * The tick to use for the axis.\n *\n * @default true\n */\n tick?: ChartPolarAxisTick\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n tickLine?: ChartTickLine\n}\n\nexport const ChartRadiusAxis = withContext<\"text\", ChartRadiusAxisProps>(\n (props) => {\n const { radiusAxisProps } = useComponentContext()\n const {\n axisLine: axisLineProp = false,\n children,\n label: labelProp = false,\n tick: tickProp = true,\n tickLine: tickLineProp = false,\n ...rest\n } = mergeProps(radiusAxisProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const tickProps = useSlotComponentProps({}, \"radiusAxisTick\")\n const labelProps = useSlotComponentProps({}, \"radiusAxisLabel\")\n const tickLineProps = useSlotComponentProps({}, \"radiusAxisTickLine\")\n const axisLineProps = useSlotComponentProps({}, \"radiusAxisLine\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const tick = useMemo<UseRadiusAxisProps[\"tick\"]>(() => {\n if (!tickProp) return tickProp\n\n const className = cx(tickProps.className, css(tickProps.css))\n\n if (isFunction(tickProp)) {\n return (props) =>\n tickProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(tickProp)) {\n return cloneElement<any>(tickProp, { className })\n } else if (isObject(tickProp)) {\n const [omittedProps, styleProps] = splitObject<\n BaseTickContentProps,\n CSSObject\n >(tickProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [tickProp, tickProps.className, tickProps.css, css])\n const tickLine = useMemo<UseRadiusAxisProps[\"tickLine\"]>(() => {\n if (!tickLineProp) return tickLineProp\n\n const className = cx(tickLineProps.className, css(tickLineProps.css))\n\n if (isObject(tickLineProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"line\">,\n CSSObject\n >(tickLineProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [tickLineProp, tickLineProps.className, tickLineProps.css, css])\n const axisLine = useMemo<UseRadiusAxisProps[\"axisLine\"]>(() => {\n if (!axisLineProp) return axisLineProp\n\n const className = cx(axisLineProps.className, css(axisLineProps.css))\n\n if (isObject(axisLineProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"line\">,\n CSSObject\n >(axisLineProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [axisLineProp, axisLineProps.className, axisLineProps.css, css])\n const label = useMemo<UseRadiusAxisProps[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const className = cx(labelProps.className, css(labelProps.css))\n\n if (isFunction(labelProp)) {\n return (props) =>\n labelProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(labelProp)) {\n return cloneElement<any>(labelProp, { className })\n } else if (isObject(labelProp)) {\n const [omittedProps, styleProps] = splitObject<LabelProps, CSSObject>(\n labelProp,\n shouldForwardProp,\n )\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className, children: labelProp }\n }\n }, [labelProp, labelProps.className, labelProps.css, css])\n const { getRadiusAxisProps, getRootProps } = useRadiusAxis({\n axisLine,\n label,\n tick,\n tickLine,\n ...rest,\n })\n\n return (\n <styled.text asChild {...getRootProps()}>\n <PolarRadiusAxis {...getRadiusAxisProps()}>{children}</PolarRadiusAxis>\n </styled.text>\n )\n },\n \"radiusAxis\",\n)() as GenericsComponent<{\n <Y extends Dict>(props: ChartRadiusAxisProps<Y>): ReactElement\n}>\n\nexport interface ChartPolarGridProps extends Merge<\n HTMLStyledProps<\"line\">,\n UsePolarGridProps\n> {}\n\nexport const ChartPolarGrid = withContext<\"line\", ChartPolarGridProps>(\n (props) => {\n const { gridProps } = useComponentContext()\n const { getPolarGridProps, getRootProps } = usePolarGrid({\n ...gridProps,\n ...props,\n })\n\n return (\n <styled.line asChild {...getRootProps()}>\n <PolarGrid {...getPolarGridProps()} />\n </styled.line>\n )\n },\n \"grid\",\n)()\n\nexport type ChartRadialBackground =\n | ((props: SectorProps) => ReactNode)\n | boolean\n | HTMLStyledProps<\"path\">\n | ReactElement\n\nexport interface ChartRadialProps<Y extends Dict = Dict> extends Merge<\n Omit<HTMLStyledProps<\"svg\">, \"background\">,\n Omit<UseChartRadialProps<Y>, \"background\" | \"dataKey\" | \"label\">\n> {\n /**\n * The key of a group of data which should be unique in an chart.\n */\n dataKey: keyof Y\n /**\n * The background to use for the radial chart.\n */\n background?: ChartRadialBackground\n /**\n * The label to use for the radial.\n *\n * @default false\n */\n label?: ChartLabelListType\n /**\n * If `true`, the label list is visible.\n *\n * @default false\n */\n labelList?: ChartPieLabelList\n /**\n * Props for the sector component.\n */\n sectorProps?:\n | ((props: RadialBarSectorProps) => ChartSectorProps)\n | ChartSectorProps\n}\n\nexport const ChartRadial = withContext<\"svg\", ChartRadialProps>(\n <Y extends Dict>(props: ChartRadialProps<Y>) => {\n const { radialProps } = useComponentContext()\n const {\n background: backgroundProp = true,\n children,\n dataKey,\n label: labelProp = false,\n labelList = false,\n nameKey,\n sectorProps,\n ...rest\n } = mergeProps(radialProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const { nameKeyRef } = useChartComponentContext()\n const labelProps = useSlotComponentProps({}, \"labelList\")\n const backgroundProps = useSlotComponentProps({}, \"radialBackground\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const shape: UseChartRadialProps<Y>[\"shape\"] = useCallback(\n (props) => {\n const color = rest.fill ?? rest.color\n\n return (\n <ChartSector\n color={color}\n {...mergeProps(props, runIfFn(sectorProps, props))()}\n />\n )\n },\n [rest.fill, rest.color, sectorProps],\n )\n const label = useMemo<UseChartRadialProps<Y>[\"label\"]>(() => {\n if (!labelProp) return labelProp\n\n const className = cx(labelProps.className, css(labelProps.css))\n\n if (isFunction(labelProp)) {\n return (props) =>\n labelProp({ ...props, className: cx(className, props.className) })\n } else if (isValidElement(labelProp)) {\n return cloneElement<any>(labelProp, { className })\n } else if (isObject(labelProp)) {\n const [omittedProps, styleProps] = splitObject<\n LabelListProps,\n CSSObject\n >(labelProp, shouldForwardProp)\n\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [labelProp, labelProps.className, labelProps.css, css])\n const background = useMemo<UseChartRadialProps<Y>[\"background\"]>(() => {\n if (!backgroundProp) return backgroundProp\n\n const className = cx(backgroundProps.className, css(backgroundProps.css))\n\n if (isFunction(backgroundProp)) {\n return (props) =>\n backgroundProp({\n ...props,\n className: cx(className, props.className),\n })\n } else if (isValidElement(backgroundProp)) {\n return cloneElement<any>(backgroundProp, { className })\n } else if (isObject(backgroundProp)) {\n const [omittedProps, styleProps] = splitObject<\n HTMLProps<\"path\">,\n CSSObject\n >(backgroundProp, shouldForwardProp)\n return {\n ...omittedProps,\n className: cx(className, omittedProps.className, css(styleProps)),\n }\n } else {\n return { className }\n }\n }, [backgroundProp, backgroundProps.className, backgroundProps.css, css])\n const { getRadialProps, getRootProps } = useChartRadial({\n background,\n dataKey: dataKey as DataKey<any>,\n label,\n nameKey,\n shape,\n ...rest,\n })\n\n assignRef(nameKeyRef, nameKey)\n\n return (\n <styled.svg asChild {...getRootProps()}>\n <RadialBar {...getRadialProps()}>\n {children}\n\n {labelList ? (\n <ChartLabelList\n dataKey={nameKey as DataKey<any>}\n offset={4}\n position=\"insideStart\"\n {...(isObject(labelList) ? labelList : {})}\n />\n ) : null}\n </RadialBar>\n </styled.svg>\n )\n },\n \"radial\",\n)() as GenericsComponent<{\n <Y extends Dict>(props: ChartRadialProps<Y>): ReactElement\n}>\n"],"mappings":";;;;;;;;;;;;;;;;;AAoGA,MAAM,oBAAoB,wBAAwB;AAmOlD,MAAM,EACJ,WACA,kBACA,cAAc,wBACd,qBACA,iBAAiB,2BACjB,aACA,cACA,0BACE,oBACF,eACA,eACF;AAIA,MAAa,aAAa,cACP,EACf,YAAY,gBACZ,SACA,QACA,gBAAgB,OAChB,WAAW,OACX,iBAAiB,OACjB,gBACA,YACA,YACA,WACA,WAAW,YACX,YACA,aACA,iBACA,aACA,GAAG,WACqB;CACxB,MAAM,EAAE,eAAe,iBAAiB,cAAc,IAAI;CAC1D,MAAM,aAAa,cACX;EACJ;GACE,WAAW;GACX,UAAU,WAAW,oBAAC,gBAAD,CAAiB,CAAA,IAAI;EAC5C;EACA;GACE,WAAW;GACX,UAAU,gBAAgB,oBAAC,gBAAD,CAAiB,CAAA,IAAI;EACjD;EACA;GACE,WAAW;GACX,UAAU,iBAAiB,oBAAC,iBAAD,CAAkB,CAAA,IAAI;EACnD;EACA,GAAG;CACL,GACA;EAAC;EAAgB;EAAU;EAAe;CAAc,CAC1D;CAwBA,OACE,oBAAC,kBAAD;EAAkB,OAxBK,eAChB;GACI;GACT;GACA;GACA;GACA;GACA;GACA;GACA;EACF,IACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAIwC;YACtC,oBAAC,OAAD;GACc;GACZ,SAAS,UAAU,OAAO,cAAc;IAAE,GAAG;IAAO,GAAG;GAAW,CAAC,CAAC;GACpE,GAAI,aAAa;EAClB,CAAA;CACe,CAAA;AAEtB,GACA,MACF,CAAC,CACC,KAAA,IACC,EACC,eACA,iBACA,iBACA,sBACA,qBACA,0BACA,oBACA,mBACA,SACA,WACA,WACA,gBACA,YACA,0BACA,sBACA,sBACA,uBACA,YACA,WACA,iBACA,sBACA,YACA,kBACA,aACA,kBACA,uBACA,sBACA,wBACA,6BACA,sBACA,2BACA,qBACA,oBACA,aACA,YACA,cACA,mBACA,GAAG,YACE;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,gBAAgB;GAAK;EAAG,CAE5D;EACA;EACT;EACA;EACA;EACA,GAAG;CACL,CAAC;CAED,UAAU,YAAY,OAAO;CAE7B,OACE,oBAAC,OAAO,KAAR;EAAY,SAAA;EAAQ,GAAI,aAAa;YACnC,qBAAC,WAAD;GAAW,GAAI,eAAe;aAA9B,CACG,UAEA,YACC,oBAAC,gBAAD;IACE,SAAS;IACT,QAAQ;IACR,UAAS;IACT,IAAA,GAAA,cAAA,SAAA,CAAc,SAAS,IAAI,YAAY,CAAC;GACzC,CAAA,IACC,IACK;;CACD,CAAA;AAEhB,GACA,QACF,CAAC,CAAC"}
@@ -19,6 +19,6 @@ var radar_chart_namespace_exports = /* @__PURE__ */ __exportAll({
19
19
  usePropsContext: () => useRadarChartPropsContext
20
20
  });
21
21
  //#endregion
22
- export { radar_chart_namespace_exports };
22
+ export { ChartAngleAxis as AngleAxis, ChartPolarGrid as Grid, ChartLabel as Label, ChartLabelList as LabelList, ChartLegend as Legend, RadarChartPropsContext as PropsContext, ChartRadar as Radar, ChartRadiusAxis as RadiusAxis, RadarChart as Root, ChartTooltip as Tooltip, gradients, mergeSeries, radar_chart_namespace_exports, useRadarChartPropsContext as usePropsContext };
23
23
 
24
24
  //# sourceMappingURL=radar-chart.namespace.js.map
@@ -19,6 +19,6 @@ var radial_chart_namespace_exports = /* @__PURE__ */ __exportAll({
19
19
  usePropsContext: () => useRadialChartPropsContext
20
20
  });
21
21
  //#endregion
22
- export { radial_chart_namespace_exports };
22
+ export { ChartAngleAxis as AngleAxis, ChartPolarGrid as Grid, ChartLabel as Label, ChartLabelList as LabelList, ChartLegend as Legend, RadialChartPropsContext as PropsContext, ChartRadial as Radial, ChartRadiusAxis as RadiusAxis, RadialChart as Root, ChartTooltip as Tooltip, gradients, mergeData, radial_chart_namespace_exports, useRadialChartPropsContext as usePropsContext };
23
23
 
24
24
  //# sourceMappingURL=radial-chart.namespace.js.map
@@ -325,7 +325,7 @@ const useChartLine = ({ type = "monotone", name, activeDot: activeDotProp, anima
325
325
  getRootProps
326
326
  };
327
327
  };
328
- const useChartArea = ({ type = "monotone", name, activeDot: activeDotProp, animationBegin, animationDuration, animationEasing, baseLine, baseValue, children, connectNulls, data, dataKey: dataKeyProp, dot: dotProp, hide, isAnimationActive = false, label: labelProp = false, legendType, stackId, stroke = "", tooltipType, unit, xAxisId, yAxisId, zIndex, onAnimationEnd, onAnimationStart, ...rest }) => {
328
+ const useChartArea = ({ type = "monotone", name, activeDot: activeDotProp, animationBegin, animationDuration, animationEasing, baseValue, children, connectNulls, data, dataKey: dataKeyProp, dot: dotProp, hide, isAnimationActive = false, label: labelProp = false, legendType, stackId, stroke = "", tooltipType, unit, xAxisId, yAxisId, zIndex, onAnimationEnd, onAnimationStart, ...rest }) => {
329
329
  const { highlightedDataKey } = useChartContext();
330
330
  const label = useMemo(() => {
331
331
  if (!labelProp) return labelProp;
@@ -366,7 +366,6 @@ const useChartArea = ({ type = "monotone", name, activeDot: activeDotProp, anima
366
366
  animationBegin,
367
367
  animationDuration,
368
368
  animationEasing,
369
- baseLine,
370
369
  baseValue,
371
370
  children,
372
371
  connectNulls,
@@ -395,7 +394,6 @@ const useChartArea = ({ type = "monotone", name, activeDot: activeDotProp, anima
395
394
  animationBegin,
396
395
  animationDuration,
397
396
  animationEasing,
398
- baseLine,
399
397
  baseValue,
400
398
  children,
401
399
  connectNulls,