@yamada-ui/react 2.2.9 → 2.2.10-dev-20261007040639

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 (35) hide show
  1. package/dist/cjs/components/chart/cartesian-chart.cjs +3 -2
  2. package/dist/cjs/components/chart/cartesian-chart.cjs.map +1 -1
  3. package/dist/cjs/components/chart/cartesian-chart.style.cjs +2 -2
  4. package/dist/cjs/components/chart/cartesian-chart.style.cjs.map +1 -1
  5. package/dist/cjs/components/chart/polar-chart.cjs +3 -2
  6. package/dist/cjs/components/chart/polar-chart.cjs.map +1 -1
  7. package/dist/cjs/components/chart/polar-chart.style.cjs +2 -2
  8. package/dist/cjs/components/chart/polar-chart.style.cjs.map +1 -1
  9. package/dist/cjs/components/group/use-group.cjs.map +1 -1
  10. package/dist/cjs/hooks/use-animation/index.cjs +3 -3
  11. package/dist/cjs/hooks/use-animation/index.cjs.map +1 -1
  12. package/dist/cjs/hooks/use-clickable/index.cjs.map +1 -1
  13. package/dist/cjs/hooks/use-pan-event/index.cjs.map +1 -1
  14. package/dist/esm/components/chart/cartesian-chart.js +3 -2
  15. package/dist/esm/components/chart/cartesian-chart.js.map +1 -1
  16. package/dist/esm/components/chart/cartesian-chart.style.js +2 -2
  17. package/dist/esm/components/chart/cartesian-chart.style.js.map +1 -1
  18. package/dist/esm/components/chart/polar-chart.js +3 -2
  19. package/dist/esm/components/chart/polar-chart.js.map +1 -1
  20. package/dist/esm/components/chart/polar-chart.style.js +2 -2
  21. package/dist/esm/components/chart/polar-chart.style.js.map +1 -1
  22. package/dist/esm/components/group/use-group.js.map +1 -1
  23. package/dist/esm/hooks/use-animation/index.js +3 -3
  24. package/dist/esm/hooks/use-animation/index.js.map +1 -1
  25. package/dist/esm/hooks/use-clickable/index.js.map +1 -1
  26. package/dist/esm/hooks/use-pan-event/index.js.map +1 -1
  27. package/dist/types/components/chart/cartesian-chart.style.d.ts +1 -1
  28. package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
  29. package/dist/types/components/group/index.d.ts +2 -2
  30. package/dist/types/components/group/use-group.d.ts +2 -2
  31. package/dist/types/hooks/use-animation/index.d.ts +6 -5
  32. package/dist/types/hooks/use-clickable/index.d.ts +3 -3
  33. package/dist/types/hooks/use-pan-event/index.d.ts +3 -3
  34. package/dist/types/index.d.ts +6 -6
  35. package/package.json +1 -1
@@ -4,6 +4,7 @@ const require_var = require("../../core/system/var.cjs");
4
4
  const require_system_provider = require("../../core/system/system-provider.cjs");
5
5
  const require_theme_provider = require("../../core/system/theme-provider.cjs");
6
6
  const require_factory = require("../../core/system/factory.cjs");
7
+ const require_config = require("../../core/css/config.cjs");
7
8
  const require_use_css = require("../../core/css/use-css.cjs");
8
9
  const require_props = require("../../core/components/props.cjs");
9
10
  const require_create_component = require("../../core/components/create-component.cjs");
@@ -68,7 +69,7 @@ const CartesianChart = withProvider(({ components: componentsProp, render, withG
68
69
  });
69
70
  }, "root")(void 0, ({ activeDotFill, activeDotRadius, activeDotStroke, activeDotStrokeWidth, areaEndFillOpacity, areaFillOpacity, areaStartFillOpacity, barColor, barFill, barFillOpacity, barStroke, barStrokeWidth, dotFill, dotRadius, dotStroke, dotStrokeWidth, gridStroke, inactiveBarOpacity, inactiveLineOpacity, lineColor, lineStroke, lineStrokeWidth, referenceLineColor, referenceLineStroke, referenceLineStrokeWidth, referenceLineTextColor, referenceLineTextFill, xAxisLineStroke, xAxisLineStrokeWidth, xAxisTextColor, xAxisTextFill, yAxisLineStroke, yAxisLineStrokeWidth, yAxisTextColor, yAxisTextFill, ...rest }) => ({
70
71
  "--active-dot-fill": require_var.varAttr(activeDotFill, "colors"),
71
- "--active-dot-r": activeDotRadius,
72
+ "--active-dot-r": (0, require_utils_index.utils_exports.replaceObject)(activeDotRadius, require_config.transforms.px),
72
73
  "--active-dot-stroke": require_var.varAttr(activeDotStroke, "colors"),
73
74
  "--active-dot-stroke-width": activeDotStrokeWidth,
74
75
  "--area-end-fill-opacity": areaEndFillOpacity,
@@ -80,7 +81,7 @@ const CartesianChart = withProvider(({ components: componentsProp, render, withG
80
81
  "--bar-stroke": require_var.varAttr(barStroke, "colors"),
81
82
  "--bar-stroke-width": barStrokeWidth,
82
83
  "--dot-fill": require_var.varAttr(dotFill, "colors"),
83
- "--dot-r": dotRadius,
84
+ "--dot-r": (0, require_utils_index.utils_exports.replaceObject)(dotRadius, require_config.transforms.px),
84
85
  "--dot-stroke": require_var.varAttr(dotStroke, "colors"),
85
86
  "--dot-stroke-width": dotStrokeWidth,
86
87
  "--grid-stroke": require_var.varAttr(gridStroke, "colors"),
@@ -1 +1 @@
1
- {"version":3,"file":"cartesian-chart.cjs","names":["createShouldForwardProp","createSlotComponent","cartesianChartStyle","useCartesianChart","useMemo","Chart","varAttr","mergeProps","useSystem","useTheme","getCSS","isValidElement","cloneElement","useChartXAxis","styled","XAxis","useChartYAxis","YAxis","useChartGrid","CartesianGrid","useChartLine","Line","useId","useChartArea","Area","useChartBar","Bar","useChartReferenceLine","ReferenceLine"],"sources":["../../../../src/components/chart/cartesian-chart.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type {\n ActiveDotProps,\n DotProps,\n LabelListProps,\n LabelProps,\n} from \"recharts\"\nimport type {\n CartesianChartProps as OriginalCartesianChartProps,\n XAxisTickContentProps,\n YAxisTickContentProps,\n} 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 { CartesianChartStyle } from \"./cartesian-chart.style\"\nimport type {\n ChartActiveDot,\n ChartDot,\n ChartLabel,\n ChartLabelList,\n ChartProps,\n ChartTickLine,\n} from \"./chart\"\nimport type {\n UseCartesianChartProps,\n UseChartAreaProps,\n UseChartBarProps,\n UseChartGridProps,\n UseChartLineProps,\n UseChartReferenceLineProps,\n UseChartXAxisProps,\n UseChartYAxisProps,\n} from \"./use-cartesian-chart\"\nimport { cloneElement, isValidElement, useId, useMemo } from \"react\"\nimport {\n Area,\n Bar,\n CartesianGrid,\n Line,\n ReferenceLine,\n XAxis,\n YAxis,\n} from \"recharts\"\nimport {\n createShouldForwardProp,\n createSlotComponent,\n getCSS,\n mergeProps,\n styled,\n useSystem,\n useTheme,\n varAttr,\n} from \"../../core\"\nimport { cx, isFunction, isObject, splitObject } from \"../../utils\"\nimport { cartesianChartStyle } from \"./cartesian-chart.style\"\nimport { Chart } from \"./chart\"\nimport {\n useCartesianChart,\n useChartArea,\n useChartBar,\n useChartGrid,\n useChartLine,\n useChartReferenceLine,\n useChartXAxis,\n useChartYAxis,\n} from \"./use-cartesian-chart\"\n\nconst shouldForwardProp = createShouldForwardProp()\n\ninterface ComponentContext extends Pick<\n CartesianChartProps,\n | \"areaProps\"\n | \"barProps\"\n | \"gridProps\"\n | \"lineProps\"\n | \"referenceLineProps\"\n | \"xAxisProps\"\n | \"yAxisProps\"\n> {}\n\nexport interface CartesianChartProps<Y extends Dict = Dict>\n extends\n ChartProps,\n UseCartesianChartProps<Y>,\n ThemeProps<CartesianChartStyle> {\n /**\n * The fill color of the active dots.\n */\n activeDotFill?: CSSProps[\"fill\"]\n /**\n * The radius of the active dots.\n */\n activeDotRadius?: CSSProps[\"r\"]\n /**\n * The stroke color of the active dots.\n */\n activeDotStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the active dots.\n */\n activeDotStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The fill opacity of the area end.\n */\n areaEndFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The fill opacity of the area.\n */\n areaFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The fill opacity of the area start.\n */\n areaStartFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The color of the bars.\n */\n barColor?: CSSProps[\"color\"]\n /**\n * The fill color of the bars.\n */\n barFill?: CSSProps[\"fill\"]\n /**\n * The fill opacity of the bars.\n */\n barFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The stroke color of the bars.\n */\n barStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the bars.\n */\n barStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The fill color of the dots.\n */\n dotFill?: CSSProps[\"fill\"]\n /**\n * The radius of the dots.\n */\n dotRadius?: CSSProps[\"r\"]\n /**\n * The stroke color of the dots.\n */\n dotStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the dots.\n */\n dotStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The stroke color of the grid.\n */\n gridStroke?: CSSProps[\"stroke\"]\n /**\n * The opacity of the inactive bars.\n */\n inactiveBarOpacity?: CSSProps[\"opacity\"]\n /**\n * The opacity of the inactive lines.\n */\n inactiveLineOpacity?: CSSProps[\"opacity\"]\n /**\n * The color of the lines.\n */\n lineColor?: CSSProps[\"color\"]\n /**\n * The stroke color of the lines.\n */\n lineStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the lines.\n */\n lineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The color of the reference lines.\n */\n referenceLineColor?: CSSProps[\"color\"]\n /**\n * The stroke color of the reference lines.\n */\n referenceLineStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the reference lines.\n */\n referenceLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The text color of the reference lines.\n */\n referenceLineTextColor?: CSSProps[\"color\"]\n /**\n * The text fill color of the reference lines.\n */\n referenceLineTextFill?: CSSProps[\"fill\"]\n /**\n * If `true`, grid is visible.\n *\n * @default true\n */\n withGrid?: boolean\n /**\n * If `true`, X axis is visible.\n *\n * @default true\n */\n withXAxis?: boolean\n /**\n * If `true`, Y axis is visible.\n *\n * @default false\n */\n withYAxis?: boolean\n /**\n * The stroke color of the x-axis lines.\n */\n xAxisLineStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the x-axis lines.\n */\n xAxisLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The text color of the x-axis.\n */\n xAxisTextColor?: CSSProps[\"color\"]\n /**\n * The text fill color of the x-axis.\n */\n xAxisTextFill?: CSSProps[\"fill\"]\n /**\n * The stroke color of the y-axis lines.\n */\n yAxisLineStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the y-axis lines.\n */\n yAxisLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The text color of the y-axis.\n */\n yAxisTextColor?: CSSProps[\"color\"]\n /**\n * The text fill color of the y-axis.\n */\n yAxisTextFill?: CSSProps[\"fill\"]\n /**\n * Props for the area component.\n */\n areaProps?: Omit<ChartAreaProps, \"data\" | \"dataKey\">\n /**\n * Props for the bar component.\n */\n barProps?: Omit<ChartBarProps, \"dataKey\">\n /**\n * Props for the line chart component.\n */\n chartProps?: Omit<OriginalCartesianChartProps, \"data\">\n /**\n * Props for the grid component.\n */\n gridProps?: ChartGridProps\n /**\n * Props for the line component.\n */\n lineProps?: Omit<ChartLineProps, \"data\" | \"dataKey\">\n /**\n * Props for the reference line component.\n */\n referenceLineProps?: ChartReferenceLineProps\n /**\n * Props for the x axis component.\n */\n xAxisProps?: ChartXAxisProps\n /**\n * Props for the y axis component.\n */\n yAxisProps?: ChartYAxisProps\n}\n\nconst {\n ComponentContext,\n PropsContext: CartesianChartPropsContext,\n useComponentContext,\n usePropsContext: useCartesianChartPropsContext,\n withContext,\n withProvider,\n useSlotComponentProps,\n} = createSlotComponent<\n CartesianChartProps,\n CartesianChartStyle,\n ComponentContext\n>(\"cartesian-chart\", cartesianChartStyle)\n\nexport { CartesianChartPropsContext, useCartesianChartPropsContext }\n\nexport const CartesianChart = withProvider(\n <Y extends Dict = Dict>({\n components: componentsProp,\n render,\n withGrid = true,\n withXAxis = true,\n withYAxis = false,\n areaProps,\n barProps,\n chartProps,\n gridProps,\n lineProps,\n referenceLineProps,\n xAxisProps,\n yAxisProps,\n ...rest\n }: CartesianChartProps<Y>) => {\n const { getChartProps, getRootProps } = useCartesianChart(rest)\n const components = useMemo(\n () => [\n {\n component: ChartGrid,\n fallback: withGrid ? <ChartGrid /> : null,\n },\n {\n component: ChartXAxis,\n fallback: <ChartXAxis hide={!withXAxis} />,\n },\n {\n component: ChartYAxis,\n fallback: <ChartYAxis hide={!withYAxis} />,\n },\n ...componentsProp,\n ],\n [componentsProp, withGrid, withXAxis, withYAxis],\n )\n const componentContext = useMemo(\n () => ({\n areaProps,\n barProps,\n gridProps,\n lineProps,\n referenceLineProps,\n xAxisProps,\n yAxisProps,\n }),\n [\n areaProps,\n barProps,\n gridProps,\n lineProps,\n referenceLineProps,\n xAxisProps,\n yAxisProps,\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 areaEndFillOpacity,\n areaFillOpacity,\n areaStartFillOpacity,\n barColor,\n barFill,\n barFillOpacity,\n barStroke,\n barStrokeWidth,\n dotFill,\n dotRadius,\n dotStroke,\n dotStrokeWidth,\n gridStroke,\n inactiveBarOpacity,\n inactiveLineOpacity,\n lineColor,\n lineStroke,\n lineStrokeWidth,\n referenceLineColor,\n referenceLineStroke,\n referenceLineStrokeWidth,\n referenceLineTextColor,\n referenceLineTextFill,\n xAxisLineStroke,\n xAxisLineStrokeWidth,\n xAxisTextColor,\n xAxisTextFill,\n yAxisLineStroke,\n yAxisLineStrokeWidth,\n yAxisTextColor,\n yAxisTextFill,\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 \"--area-end-fill-opacity\": areaEndFillOpacity,\n \"--area-fill-opacity\": areaFillOpacity,\n \"--area-start-fill-opacity\": areaStartFillOpacity,\n \"--bar-color\": varAttr(barColor, \"colors\"),\n \"--bar-fill\": varAttr(barFill, \"colors\"),\n \"--bar-fill-opacity\": barFillOpacity,\n \"--bar-stroke\": varAttr(barStroke, \"colors\"),\n \"--bar-stroke-width\": barStrokeWidth,\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-bar-opacity\": inactiveBarOpacity,\n \"--inactive-line-opacity\": inactiveLineOpacity,\n \"--line-color\": varAttr(lineColor, \"colors\"),\n \"--line-stroke\": varAttr(lineStroke, \"colors\"),\n \"--line-stroke-width\": lineStrokeWidth,\n \"--reference-line-color\": varAttr(referenceLineColor, \"colors\"),\n \"--reference-line-stroke\": varAttr(referenceLineStroke, \"colors\"),\n \"--reference-line-stroke-width\": referenceLineStrokeWidth,\n \"--reference-line-text-color\": varAttr(referenceLineTextColor, \"colors\"),\n \"--reference-line-text-fill\": varAttr(referenceLineTextFill, \"colors\"),\n \"--x-axis-line-stroke\": varAttr(xAxisLineStroke, \"colors\"),\n \"--x-axis-line-stroke-width\": xAxisLineStrokeWidth,\n \"--x-axis-text-color\": varAttr(xAxisTextColor, \"colors\"),\n \"--x-axis-text-fill\": varAttr(xAxisTextFill, \"colors\"),\n \"--y-axis-line-stroke\": varAttr(yAxisLineStroke, \"colors\"),\n \"--y-axis-line-stroke-width\": yAxisLineStrokeWidth,\n \"--y-axis-text-color\": varAttr(yAxisTextColor, \"colors\"),\n \"--y-axis-text-fill\": varAttr(yAxisTextFill, \"colors\"),\n ...rest,\n }),\n) as GenericsComponent<{\n <Y extends Dict = Dict>(props: CartesianChartProps<Y>): ReactElement\n}>\n\nexport type ChartXAxisTick =\n | ((props: XAxisTickContentProps) => ReactNode)\n | boolean\n | HTMLStyledProps<\"text\">\n | ReactElement\n\nexport interface ChartXAxisProps extends Merge<\n HTMLStyledProps<\"svg\">,\n Omit<UseChartXAxisProps, \"label\" | \"tick\" | \"tickLine\">\n> {\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?: ChartXAxisTick\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n tickLine?: ChartTickLine\n}\n\nexport const ChartXAxis = withContext<\"svg\", ChartXAxisProps>((props) => {\n const { xAxisProps } = useComponentContext()\n const {\n children,\n label: labelProp = false,\n tick: tickProp = true,\n tickLine: tickLineProp = false,\n ...rest\n } = mergeProps(xAxisProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const tickProps = useSlotComponentProps({}, \"xAxisTick\")\n const labelProps = useSlotComponentProps({}, \"xAxisLabel\")\n const tickLineProps = useSlotComponentProps({}, \"xAxisTickLine\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const tick = useMemo<UseChartXAxisProps[\"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 XAxisTickContentProps,\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<UseChartXAxisProps[\"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 label = useMemo<UseChartXAxisProps[\"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 { getRootProps, getXAxisProps } = useChartXAxis({\n label,\n tick,\n tickLine,\n ...rest,\n })\n\n return (\n <styled.svg asChild {...getRootProps()}>\n <XAxis {...getXAxisProps()}>{children}</XAxis>\n </styled.svg>\n )\n}, \"xAxis\")()\n\nexport type ChartYAxisTick =\n | ((props: YAxisTickContentProps) => ReactNode)\n | boolean\n | HTMLStyledProps<\"text\">\n | ReactElement\n\nexport interface ChartYAxisProps extends Merge<\n HTMLStyledProps<\"svg\">,\n Omit<UseChartYAxisProps, \"label\" | \"tick\" | \"tickLine\">\n> {\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?: ChartYAxisTick\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n tickLine?: ChartTickLine\n}\n\nexport const ChartYAxis = withContext<\"svg\", ChartYAxisProps>((props) => {\n const { yAxisProps } = useComponentContext()\n const {\n children,\n label: labelProp = false,\n tick: tickProp = true,\n tickLine: tickLineProp = false,\n ...rest\n } = mergeProps(yAxisProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const tickProps = useSlotComponentProps({}, \"yAxisTick\")\n const labelProps = useSlotComponentProps({}, \"yAxisLabel\")\n const tickLineProps = useSlotComponentProps({}, \"yAxisTickLine\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const tick = useMemo<UseChartYAxisProps[\"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 YAxisTickContentProps,\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<UseChartXAxisProps[\"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 label = useMemo<UseChartYAxisProps[\"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 { getRootProps, getYAxisProps } = useChartYAxis({\n label,\n tick,\n tickLine,\n ...rest,\n })\n\n return (\n <styled.svg asChild {...getRootProps()}>\n <YAxis {...getYAxisProps()}>{children}</YAxis>\n </styled.svg>\n )\n}, \"yAxis\")()\n\nexport interface ChartGridProps extends Merge<\n HTMLStyledProps<\"line\">,\n UseChartGridProps\n> {}\n\nexport const ChartGrid = withContext<\"line\", ChartGridProps>((props) => {\n const { gridProps } = useComponentContext()\n const { getGridProps, getRootProps } = useChartGrid({\n ...gridProps,\n ...props,\n })\n\n return (\n <styled.line asChild {...getRootProps()}>\n <CartesianGrid {...getGridProps()} />\n </styled.line>\n )\n}, \"grid\")()\n\nexport interface ChartLineProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"line\">,\n Omit<\n UseChartLineProps,\n \"activeDot\" | \"data\" | \"dataKey\" | \"dot\" | \"label\" | \"stroke\"\n >\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 data to use for the line.\n */\n data?: Y[]\n /**\n * The dot to use for the line.\n *\n * @default false\n */\n dot?: ChartDot\n /**\n * The label list to use for the line.\n *\n * @default false\n */\n label?: ChartLabelList\n}\n\nexport const ChartLine = withContext<\"line\", ChartLineProps>((props) => {\n const { lineProps } = 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(lineProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const color = strokeProp ?? 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<UseChartLineProps[\"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<UseChartLineProps[\"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<UseChartLineProps[\"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 { getLineProps, getRootProps } = useChartLine({\n activeDot,\n dataKey,\n dot,\n label,\n stroke,\n ...rest,\n })\n\n return (\n <styled.line asChild {...getRootProps()}>\n <Line {...getLineProps()}>{children}</Line>\n </styled.line>\n )\n}, \"line\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartLineProps<Y>): ReactElement\n}>\n\nexport interface ChartAreaGradient {\n end?: CSSProps[\"stopColor\"]\n start?: CSSProps[\"stopColor\"]\n}\n\nexport interface ChartAreaProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"line\">,\n Omit<\n UseChartAreaProps,\n \"activeDot\" | \"data\" | \"dataKey\" | \"dot\" | \"label\" | \"stroke\"\n >\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 data to use for the area.\n */\n data?: Y[]\n /**\n * The dot to use for the line.\n *\n * @default false\n */\n dot?: ChartDot\n /**\n * The gradient to use for the area.\n */\n gradient?: ChartAreaGradient\n /**\n * The label list to use for the line.\n *\n * @default false\n */\n label?: ChartLabelList\n /**\n * Determines whether the chart area should be represented with a gradient instead of the solid color.\n */\n withGradient?: boolean\n}\n\nexport const ChartArea = withContext<\"line\", ChartAreaProps>((props) => {\n const { areaProps } = useComponentContext()\n const {\n activeDot: activeDotProp = true,\n children,\n dataKey,\n dot: dotProp = false,\n gradient,\n label: labelProp = false,\n stroke: strokeProp,\n withGradient,\n ...rest\n } = mergeProps(areaProps, 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<UseChartLineProps[\"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({\n ...props,\n className: cx(className, props.className),\n })\n } else if (isValidElement(dotProp)) {\n return cloneElement<any>(dotProp, {\n className,\n })\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<UseChartLineProps[\"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<UseChartLineProps[\"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 { getAreaProps, getRootProps } = useChartArea({\n activeDot,\n dataKey,\n dot,\n fill: color ? `url(#${id})` : \"\",\n label,\n stroke,\n ...rest,\n })\n\n return (\n <>\n <styled.line asChild {...getRootProps()}>\n <Area {...getAreaProps()}>{children}</Area>\n </styled.line>\n\n <defs>\n {withGradient ? (\n <linearGradient id={id} x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">\n <styled.stop\n asChild\n stopColor={color}\n stopOpacity={gradient?.start ?? \"{area-start-fill-opacity}\"}\n >\n <stop offset=\"5%\" />\n </styled.stop>\n <styled.stop\n asChild\n stopColor={color}\n stopOpacity={gradient?.end ?? \"{area-end-fill-opacity}\"}\n >\n <stop offset=\"95%\" />\n </styled.stop>\n </linearGradient>\n ) : (\n <linearGradient id={id} x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">\n <styled.stop\n stopColor={color}\n stopOpacity={rest.fillOpacity ?? \"{area-fill-opacity}\"}\n />\n </linearGradient>\n )}\n </defs>\n </>\n )\n}, \"area\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartAreaProps<Y>): ReactElement\n}>\n\nexport interface ChartBarProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"path\">,\n Omit<UseChartBarProps, \"dataKey\" | \"fill\" | \"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 label list to use for the bar.\n *\n * @default false\n */\n label?: ChartLabelList\n}\n\nexport const ChartBar = withContext<\"path\", ChartBarProps>((props) => {\n const { barProps } = useComponentContext()\n const {\n children,\n dataKey,\n fill: fillProp,\n label: labelProp = false,\n ...rest\n } = mergeProps(barProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const color = fillProp ?? rest.color\n const fill = JSON.stringify(color)\n const labelProps = useSlotComponentProps({}, \"labelList\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const label = useMemo<UseChartBarProps[\"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 { getBarProps, getRootProps } = useChartBar({\n dataKey,\n fill,\n label,\n ...rest,\n })\n\n return (\n <styled.path asChild {...getRootProps()}>\n <Bar {...getBarProps()}>{children}</Bar>\n </styled.path>\n )\n}, \"bar\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartBarProps<Y>): ReactElement\n}>\n\nexport interface ChartReferenceLineProps extends Omit<\n Merge<HTMLStyledProps<\"line\">, UseChartReferenceLineProps>,\n \"label\"\n> {\n /**\n * The label to use for the reference line.\n *\n * @default false\n */\n label?: ChartLabel\n}\n\nexport const ChartReferenceLine = withContext<\"line\", ChartReferenceLineProps>(\n (props) => {\n const { referenceLineProps } = useComponentContext()\n const { label: labelProp = false, ...rest } = {\n ...referenceLineProps,\n ...props,\n }\n const system = useSystem()\n const { theme } = useTheme()\n const labelProps = useSlotComponentProps({}, \"referenceLineLabel\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const label = useMemo<UseChartReferenceLineProps[\"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 { getReferenceLineProps, getRootProps } = useChartReferenceLine({\n label,\n ...rest,\n })\n\n return (\n <styled.line asChild {...getRootProps()}>\n <ReferenceLine {...getReferenceLineProps()} />\n </styled.line>\n )\n },\n \"referenceLine\",\n)()\n"],"mappings":";;;;;;;;;;;;;;;;AA4EA,MAAM,oBAAoBA,cAAAA,wBAAwB;AAkNlD,MAAM,EACJ,kBACA,cAAc,4BACd,qBACA,iBAAiB,+BACjB,aACA,cACA,0BACEC,yBAAAA,oBAIF,mBAAmBC,8BAAAA,mBAAmB;AAIxC,MAAa,iBAAiB,cACJ,EACtB,YAAY,gBACZ,QACA,WAAW,MACX,YAAY,MACZ,YAAY,OACZ,WACA,UACA,YACA,WACA,WACA,oBACA,YACA,YACA,GAAG,WACyB;CAC5B,MAAM,EAAE,eAAe,iBAAiBC,4BAAAA,kBAAkB,IAAI;CAC9D,MAAM,cAAA,GAAaC,MAAAA,QAAAA,OACX;EACJ;GACE,WAAW;GACX,UAAU,WAAW,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD,CAAY,CAAA,IAAI;EACvC;EACA;GACE,WAAW;GACX,UAAU,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD,EAAY,MAAM,CAAC,UAAY,CAAA;EAC3C;EACA;GACE,WAAW;GACX,UAAU,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD,EAAY,MAAM,CAAC,UAAY,CAAA;EAC3C;EACA,GAAG;CACL,GACA;EAAC;EAAgB;EAAU;EAAW;CAAS,CACjD;CACA,MAAM,oBAAA,GAAmBA,MAAAA,QAAAA,QAChB;EACL;EACA;EACA;EACA;EACA;EACA;EACA;CACF,IACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CACF;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,kBAAD;EAAkB,OAAO;EACvB,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,cAAAA,OAAD;GACc;GACZ,SAAS,UAAU,OAAO,cAAc;IAAE,GAAG;IAAO,GAAG;GAAW,CAAC,CAAC;GACpE,GAAI,aAAa;EAClB,CAAA;CACe,CAAA;AAEtB,GACA,MACF,C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O,YAAA,GAAA,oBAAA,cAAW,GAAA,CAAG,WAAW,MAAM,SAAS;EAAE,CAAC;OAC9D,KAAA,GAAIO,MAAAA,eAAAA,CAAe,SAAS,GACjC,QAAA,GAAOC,MAAAA,aAAAA,CAAkB,WAAW,EAAE,UAAU,CAAC;OAC5C,KAAA,GAAA,oBAAA,cAAI,SAAA,CAAS,SAAS,GAAG;GAC9B,MAAM,CAAC,cAAc,eAAA,GAAA,oBAAA,cAAc,YAAA,CACjC,WACA,iBACF;GAEA,OAAO;IACL,GAAG;IACH,YAAA,GAAA,oBAAA,cAAW,GAAA,CAAG,WAAW,aAAa,WAAW,IAAI,UAAU,CAAC;GAClE;EACF,OACE,OAAO;GAAE;GAAW,UAAU;EAAU;CAE5C,GAAG;EAAC;EAAW,WAAW;EAAW,WAAW;EAAK;CAAG,CAAC;CACzD,MAAM,EAAE,uBAAuB,iBAAiBe,4BAAAA,sBAAsB;EACpE;EACA,GAAG;CACL,CAAC;CAED,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACb,gBAAAA,OAAO,MAAR;EAAa,SAAA;EAAQ,GAAI,aAAa;EACpC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACc,SAAAA,eAAD,EAAe,GAAI,sBAAsB,EAAI,CAAA;CAClC,CAAA;AAEjB,GACA,eACF,CAAC,CAAC"}
1
+ {"version":3,"file":"cartesian-chart.cjs","names":["createShouldForwardProp","createSlotComponent","cartesianChartStyle","useCartesianChart","useMemo","Chart","varAttr","transforms","mergeProps","useSystem","useTheme","getCSS","isValidElement","cloneElement","useChartXAxis","styled","XAxis","useChartYAxis","YAxis","useChartGrid","CartesianGrid","useChartLine","Line","useId","useChartArea","Area","useChartBar","Bar","useChartReferenceLine","ReferenceLine"],"sources":["../../../../src/components/chart/cartesian-chart.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ReactElement, ReactNode } from \"react\"\nimport type {\n ActiveDotProps,\n DotProps,\n LabelListProps,\n LabelProps,\n} from \"recharts\"\nimport type {\n CartesianChartProps as OriginalCartesianChartProps,\n XAxisTickContentProps,\n YAxisTickContentProps,\n} 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 { CartesianChartStyle } from \"./cartesian-chart.style\"\nimport type {\n ChartActiveDot,\n ChartDot,\n ChartLabel,\n ChartLabelList,\n ChartProps,\n ChartTickLine,\n} from \"./chart\"\nimport type {\n UseCartesianChartProps,\n UseChartAreaProps,\n UseChartBarProps,\n UseChartGridProps,\n UseChartLineProps,\n UseChartReferenceLineProps,\n UseChartXAxisProps,\n UseChartYAxisProps,\n} from \"./use-cartesian-chart\"\nimport { cloneElement, isValidElement, useId, useMemo } from \"react\"\nimport {\n Area,\n Bar,\n CartesianGrid,\n Line,\n ReferenceLine,\n XAxis,\n YAxis,\n} from \"recharts\"\nimport {\n createShouldForwardProp,\n createSlotComponent,\n getCSS,\n mergeProps,\n styled,\n transforms,\n useSystem,\n useTheme,\n varAttr,\n} from \"../../core\"\nimport {\n cx,\n isFunction,\n isObject,\n replaceObject,\n splitObject,\n} from \"../../utils\"\nimport { cartesianChartStyle } from \"./cartesian-chart.style\"\nimport { Chart } from \"./chart\"\nimport {\n useCartesianChart,\n useChartArea,\n useChartBar,\n useChartGrid,\n useChartLine,\n useChartReferenceLine,\n useChartXAxis,\n useChartYAxis,\n} from \"./use-cartesian-chart\"\n\nconst shouldForwardProp = createShouldForwardProp()\n\ninterface ComponentContext extends Pick<\n CartesianChartProps,\n | \"areaProps\"\n | \"barProps\"\n | \"gridProps\"\n | \"lineProps\"\n | \"referenceLineProps\"\n | \"xAxisProps\"\n | \"yAxisProps\"\n> {}\n\nexport interface CartesianChartProps<Y extends Dict = Dict>\n extends\n ChartProps,\n UseCartesianChartProps<Y>,\n ThemeProps<CartesianChartStyle> {\n /**\n * The fill color of the active dots.\n */\n activeDotFill?: CSSProps[\"fill\"]\n /**\n * The radius of the active dots.\n */\n activeDotRadius?: CSSProps[\"r\"]\n /**\n * The stroke color of the active dots.\n */\n activeDotStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the active dots.\n */\n activeDotStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The fill opacity of the area end.\n */\n areaEndFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The fill opacity of the area.\n */\n areaFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The fill opacity of the area start.\n */\n areaStartFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The color of the bars.\n */\n barColor?: CSSProps[\"color\"]\n /**\n * The fill color of the bars.\n */\n barFill?: CSSProps[\"fill\"]\n /**\n * The fill opacity of the bars.\n */\n barFillOpacity?: CSSProps[\"fillOpacity\"]\n /**\n * The stroke color of the bars.\n */\n barStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the bars.\n */\n barStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The fill color of the dots.\n */\n dotFill?: CSSProps[\"fill\"]\n /**\n * The radius of the dots.\n */\n dotRadius?: CSSProps[\"r\"]\n /**\n * The stroke color of the dots.\n */\n dotStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the dots.\n */\n dotStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The stroke color of the grid.\n */\n gridStroke?: CSSProps[\"stroke\"]\n /**\n * The opacity of the inactive bars.\n */\n inactiveBarOpacity?: CSSProps[\"opacity\"]\n /**\n * The opacity of the inactive lines.\n */\n inactiveLineOpacity?: CSSProps[\"opacity\"]\n /**\n * The color of the lines.\n */\n lineColor?: CSSProps[\"color\"]\n /**\n * The stroke color of the lines.\n */\n lineStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the lines.\n */\n lineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The color of the reference lines.\n */\n referenceLineColor?: CSSProps[\"color\"]\n /**\n * The stroke color of the reference lines.\n */\n referenceLineStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the reference lines.\n */\n referenceLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The text color of the reference lines.\n */\n referenceLineTextColor?: CSSProps[\"color\"]\n /**\n * The text fill color of the reference lines.\n */\n referenceLineTextFill?: CSSProps[\"fill\"]\n /**\n * If `true`, grid is visible.\n *\n * @default true\n */\n withGrid?: boolean\n /**\n * If `true`, X axis is visible.\n *\n * @default true\n */\n withXAxis?: boolean\n /**\n * If `true`, Y axis is visible.\n *\n * @default false\n */\n withYAxis?: boolean\n /**\n * The stroke color of the x-axis lines.\n */\n xAxisLineStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the x-axis lines.\n */\n xAxisLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The text color of the x-axis.\n */\n xAxisTextColor?: CSSProps[\"color\"]\n /**\n * The text fill color of the x-axis.\n */\n xAxisTextFill?: CSSProps[\"fill\"]\n /**\n * The stroke color of the y-axis lines.\n */\n yAxisLineStroke?: CSSProps[\"stroke\"]\n /**\n * The stroke width of the y-axis lines.\n */\n yAxisLineStrokeWidth?: CSSProps[\"strokeWidth\"]\n /**\n * The text color of the y-axis.\n */\n yAxisTextColor?: CSSProps[\"color\"]\n /**\n * The text fill color of the y-axis.\n */\n yAxisTextFill?: CSSProps[\"fill\"]\n /**\n * Props for the area component.\n */\n areaProps?: Omit<ChartAreaProps, \"data\" | \"dataKey\">\n /**\n * Props for the bar component.\n */\n barProps?: Omit<ChartBarProps, \"dataKey\">\n /**\n * Props for the line chart component.\n */\n chartProps?: Omit<OriginalCartesianChartProps, \"data\">\n /**\n * Props for the grid component.\n */\n gridProps?: ChartGridProps\n /**\n * Props for the line component.\n */\n lineProps?: Omit<ChartLineProps, \"data\" | \"dataKey\">\n /**\n * Props for the reference line component.\n */\n referenceLineProps?: ChartReferenceLineProps\n /**\n * Props for the x axis component.\n */\n xAxisProps?: ChartXAxisProps\n /**\n * Props for the y axis component.\n */\n yAxisProps?: ChartYAxisProps\n}\n\nconst {\n ComponentContext,\n PropsContext: CartesianChartPropsContext,\n useComponentContext,\n usePropsContext: useCartesianChartPropsContext,\n withContext,\n withProvider,\n useSlotComponentProps,\n} = createSlotComponent<\n CartesianChartProps,\n CartesianChartStyle,\n ComponentContext\n>(\"cartesian-chart\", cartesianChartStyle)\n\nexport { CartesianChartPropsContext, useCartesianChartPropsContext }\n\nexport const CartesianChart = withProvider(\n <Y extends Dict = Dict>({\n components: componentsProp,\n render,\n withGrid = true,\n withXAxis = true,\n withYAxis = false,\n areaProps,\n barProps,\n chartProps,\n gridProps,\n lineProps,\n referenceLineProps,\n xAxisProps,\n yAxisProps,\n ...rest\n }: CartesianChartProps<Y>) => {\n const { getChartProps, getRootProps } = useCartesianChart(rest)\n const components = useMemo(\n () => [\n {\n component: ChartGrid,\n fallback: withGrid ? <ChartGrid /> : null,\n },\n {\n component: ChartXAxis,\n fallback: <ChartXAxis hide={!withXAxis} />,\n },\n {\n component: ChartYAxis,\n fallback: <ChartYAxis hide={!withYAxis} />,\n },\n ...componentsProp,\n ],\n [componentsProp, withGrid, withXAxis, withYAxis],\n )\n const componentContext = useMemo(\n () => ({\n areaProps,\n barProps,\n gridProps,\n lineProps,\n referenceLineProps,\n xAxisProps,\n yAxisProps,\n }),\n [\n areaProps,\n barProps,\n gridProps,\n lineProps,\n referenceLineProps,\n xAxisProps,\n yAxisProps,\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 areaEndFillOpacity,\n areaFillOpacity,\n areaStartFillOpacity,\n barColor,\n barFill,\n barFillOpacity,\n barStroke,\n barStrokeWidth,\n dotFill,\n dotRadius,\n dotStroke,\n dotStrokeWidth,\n gridStroke,\n inactiveBarOpacity,\n inactiveLineOpacity,\n lineColor,\n lineStroke,\n lineStrokeWidth,\n referenceLineColor,\n referenceLineStroke,\n referenceLineStrokeWidth,\n referenceLineTextColor,\n referenceLineTextFill,\n xAxisLineStroke,\n xAxisLineStrokeWidth,\n xAxisTextColor,\n xAxisTextFill,\n yAxisLineStroke,\n yAxisLineStrokeWidth,\n yAxisTextColor,\n yAxisTextFill,\n ...rest\n }) => ({\n \"--active-dot-fill\": varAttr(activeDotFill, \"colors\"),\n \"--active-dot-r\": replaceObject(activeDotRadius, transforms.px),\n \"--active-dot-stroke\": varAttr(activeDotStroke, \"colors\"),\n \"--active-dot-stroke-width\": activeDotStrokeWidth,\n \"--area-end-fill-opacity\": areaEndFillOpacity,\n \"--area-fill-opacity\": areaFillOpacity,\n \"--area-start-fill-opacity\": areaStartFillOpacity,\n \"--bar-color\": varAttr(barColor, \"colors\"),\n \"--bar-fill\": varAttr(barFill, \"colors\"),\n \"--bar-fill-opacity\": barFillOpacity,\n \"--bar-stroke\": varAttr(barStroke, \"colors\"),\n \"--bar-stroke-width\": barStrokeWidth,\n \"--dot-fill\": varAttr(dotFill, \"colors\"),\n \"--dot-r\": replaceObject(dotRadius, transforms.px),\n \"--dot-stroke\": varAttr(dotStroke, \"colors\"),\n \"--dot-stroke-width\": dotStrokeWidth,\n \"--grid-stroke\": varAttr(gridStroke, \"colors\"),\n \"--inactive-bar-opacity\": inactiveBarOpacity,\n \"--inactive-line-opacity\": inactiveLineOpacity,\n \"--line-color\": varAttr(lineColor, \"colors\"),\n \"--line-stroke\": varAttr(lineStroke, \"colors\"),\n \"--line-stroke-width\": lineStrokeWidth,\n \"--reference-line-color\": varAttr(referenceLineColor, \"colors\"),\n \"--reference-line-stroke\": varAttr(referenceLineStroke, \"colors\"),\n \"--reference-line-stroke-width\": referenceLineStrokeWidth,\n \"--reference-line-text-color\": varAttr(referenceLineTextColor, \"colors\"),\n \"--reference-line-text-fill\": varAttr(referenceLineTextFill, \"colors\"),\n \"--x-axis-line-stroke\": varAttr(xAxisLineStroke, \"colors\"),\n \"--x-axis-line-stroke-width\": xAxisLineStrokeWidth,\n \"--x-axis-text-color\": varAttr(xAxisTextColor, \"colors\"),\n \"--x-axis-text-fill\": varAttr(xAxisTextFill, \"colors\"),\n \"--y-axis-line-stroke\": varAttr(yAxisLineStroke, \"colors\"),\n \"--y-axis-line-stroke-width\": yAxisLineStrokeWidth,\n \"--y-axis-text-color\": varAttr(yAxisTextColor, \"colors\"),\n \"--y-axis-text-fill\": varAttr(yAxisTextFill, \"colors\"),\n ...rest,\n }),\n) as GenericsComponent<{\n <Y extends Dict = Dict>(props: CartesianChartProps<Y>): ReactElement\n}>\n\nexport type ChartXAxisTick =\n | ((props: XAxisTickContentProps) => ReactNode)\n | boolean\n | HTMLStyledProps<\"text\">\n | ReactElement\n\nexport interface ChartXAxisProps extends Merge<\n HTMLStyledProps<\"svg\">,\n Omit<UseChartXAxisProps, \"label\" | \"tick\" | \"tickLine\">\n> {\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?: ChartXAxisTick\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n tickLine?: ChartTickLine\n}\n\nexport const ChartXAxis = withContext<\"svg\", ChartXAxisProps>((props) => {\n const { xAxisProps } = useComponentContext()\n const {\n children,\n label: labelProp = false,\n tick: tickProp = true,\n tickLine: tickLineProp = false,\n ...rest\n } = mergeProps(xAxisProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const tickProps = useSlotComponentProps({}, \"xAxisTick\")\n const labelProps = useSlotComponentProps({}, \"xAxisLabel\")\n const tickLineProps = useSlotComponentProps({}, \"xAxisTickLine\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const tick = useMemo<UseChartXAxisProps[\"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 XAxisTickContentProps,\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<UseChartXAxisProps[\"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 label = useMemo<UseChartXAxisProps[\"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 { getRootProps, getXAxisProps } = useChartXAxis({\n label,\n tick,\n tickLine,\n ...rest,\n })\n\n return (\n <styled.svg asChild {...getRootProps()}>\n <XAxis {...getXAxisProps()}>{children}</XAxis>\n </styled.svg>\n )\n}, \"xAxis\")()\n\nexport type ChartYAxisTick =\n | ((props: YAxisTickContentProps) => ReactNode)\n | boolean\n | HTMLStyledProps<\"text\">\n | ReactElement\n\nexport interface ChartYAxisProps extends Merge<\n HTMLStyledProps<\"svg\">,\n Omit<UseChartYAxisProps, \"label\" | \"tick\" | \"tickLine\">\n> {\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?: ChartYAxisTick\n /**\n * The tick line to use for the axis.\n *\n * @default false\n */\n tickLine?: ChartTickLine\n}\n\nexport const ChartYAxis = withContext<\"svg\", ChartYAxisProps>((props) => {\n const { yAxisProps } = useComponentContext()\n const {\n children,\n label: labelProp = false,\n tick: tickProp = true,\n tickLine: tickLineProp = false,\n ...rest\n } = mergeProps(yAxisProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const tickProps = useSlotComponentProps({}, \"yAxisTick\")\n const labelProps = useSlotComponentProps({}, \"yAxisLabel\")\n const tickLineProps = useSlotComponentProps({}, \"yAxisTickLine\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const tick = useMemo<UseChartYAxisProps[\"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 YAxisTickContentProps,\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<UseChartXAxisProps[\"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 label = useMemo<UseChartYAxisProps[\"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 { getRootProps, getYAxisProps } = useChartYAxis({\n label,\n tick,\n tickLine,\n ...rest,\n })\n\n return (\n <styled.svg asChild {...getRootProps()}>\n <YAxis {...getYAxisProps()}>{children}</YAxis>\n </styled.svg>\n )\n}, \"yAxis\")()\n\nexport interface ChartGridProps extends Merge<\n HTMLStyledProps<\"line\">,\n UseChartGridProps\n> {}\n\nexport const ChartGrid = withContext<\"line\", ChartGridProps>((props) => {\n const { gridProps } = useComponentContext()\n const { getGridProps, getRootProps } = useChartGrid({\n ...gridProps,\n ...props,\n })\n\n return (\n <styled.line asChild {...getRootProps()}>\n <CartesianGrid {...getGridProps()} />\n </styled.line>\n )\n}, \"grid\")()\n\nexport interface ChartLineProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"line\">,\n Omit<\n UseChartLineProps,\n \"activeDot\" | \"data\" | \"dataKey\" | \"dot\" | \"label\" | \"stroke\"\n >\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 data to use for the line.\n */\n data?: Y[]\n /**\n * The dot to use for the line.\n *\n * @default false\n */\n dot?: ChartDot\n /**\n * The label list to use for the line.\n *\n * @default false\n */\n label?: ChartLabelList\n}\n\nexport const ChartLine = withContext<\"line\", ChartLineProps>((props) => {\n const { lineProps } = 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(lineProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const color = strokeProp ?? 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<UseChartLineProps[\"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<UseChartLineProps[\"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<UseChartLineProps[\"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 { getLineProps, getRootProps } = useChartLine({\n activeDot,\n dataKey,\n dot,\n label,\n stroke,\n ...rest,\n })\n\n return (\n <styled.line asChild {...getRootProps()}>\n <Line {...getLineProps()}>{children}</Line>\n </styled.line>\n )\n}, \"line\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartLineProps<Y>): ReactElement\n}>\n\nexport interface ChartAreaGradient {\n end?: CSSProps[\"stopColor\"]\n start?: CSSProps[\"stopColor\"]\n}\n\nexport interface ChartAreaProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"line\">,\n Omit<\n UseChartAreaProps,\n \"activeDot\" | \"data\" | \"dataKey\" | \"dot\" | \"label\" | \"stroke\"\n >\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 data to use for the area.\n */\n data?: Y[]\n /**\n * The dot to use for the line.\n *\n * @default false\n */\n dot?: ChartDot\n /**\n * The gradient to use for the area.\n */\n gradient?: ChartAreaGradient\n /**\n * The label list to use for the line.\n *\n * @default false\n */\n label?: ChartLabelList\n /**\n * Determines whether the chart area should be represented with a gradient instead of the solid color.\n */\n withGradient?: boolean\n}\n\nexport const ChartArea = withContext<\"line\", ChartAreaProps>((props) => {\n const { areaProps } = useComponentContext()\n const {\n activeDot: activeDotProp = true,\n children,\n dataKey,\n dot: dotProp = false,\n gradient,\n label: labelProp = false,\n stroke: strokeProp,\n withGradient,\n ...rest\n } = mergeProps(areaProps, 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<UseChartLineProps[\"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({\n ...props,\n className: cx(className, props.className),\n })\n } else if (isValidElement(dotProp)) {\n return cloneElement<any>(dotProp, {\n className,\n })\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<UseChartLineProps[\"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<UseChartLineProps[\"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 { getAreaProps, getRootProps } = useChartArea({\n activeDot,\n dataKey,\n dot,\n fill: color ? `url(#${id})` : \"\",\n label,\n stroke,\n ...rest,\n })\n\n return (\n <>\n <styled.line asChild {...getRootProps()}>\n <Area {...getAreaProps()}>{children}</Area>\n </styled.line>\n\n <defs>\n {withGradient ? (\n <linearGradient id={id} x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">\n <styled.stop\n asChild\n stopColor={color}\n stopOpacity={gradient?.start ?? \"{area-start-fill-opacity}\"}\n >\n <stop offset=\"5%\" />\n </styled.stop>\n <styled.stop\n asChild\n stopColor={color}\n stopOpacity={gradient?.end ?? \"{area-end-fill-opacity}\"}\n >\n <stop offset=\"95%\" />\n </styled.stop>\n </linearGradient>\n ) : (\n <linearGradient id={id} x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">\n <styled.stop\n stopColor={color}\n stopOpacity={rest.fillOpacity ?? \"{area-fill-opacity}\"}\n />\n </linearGradient>\n )}\n </defs>\n </>\n )\n}, \"area\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartAreaProps<Y>): ReactElement\n}>\n\nexport interface ChartBarProps<Y extends Dict = Dict> extends Merge<\n HTMLStyledProps<\"path\">,\n Omit<UseChartBarProps, \"dataKey\" | \"fill\" | \"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 label list to use for the bar.\n *\n * @default false\n */\n label?: ChartLabelList\n}\n\nexport const ChartBar = withContext<\"path\", ChartBarProps>((props) => {\n const { barProps } = useComponentContext()\n const {\n children,\n dataKey,\n fill: fillProp,\n label: labelProp = false,\n ...rest\n } = mergeProps(barProps, props)()\n const system = useSystem()\n const { theme } = useTheme()\n const color = fillProp ?? rest.color\n const fill = JSON.stringify(color)\n const labelProps = useSlotComponentProps({}, \"labelList\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const label = useMemo<UseChartBarProps[\"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 { getBarProps, getRootProps } = useChartBar({\n dataKey,\n fill,\n label,\n ...rest,\n })\n\n return (\n <styled.path asChild {...getRootProps()}>\n <Bar {...getBarProps()}>{children}</Bar>\n </styled.path>\n )\n}, \"bar\")() as GenericsComponent<{\n <Y extends Dict>(props: ChartBarProps<Y>): ReactElement\n}>\n\nexport interface ChartReferenceLineProps extends Omit<\n Merge<HTMLStyledProps<\"line\">, UseChartReferenceLineProps>,\n \"label\"\n> {\n /**\n * The label to use for the reference line.\n *\n * @default false\n */\n label?: ChartLabel\n}\n\nexport const ChartReferenceLine = withContext<\"line\", ChartReferenceLineProps>(\n (props) => {\n const { referenceLineProps } = useComponentContext()\n const { label: labelProp = false, ...rest } = {\n ...referenceLineProps,\n ...props,\n }\n const system = useSystem()\n const { theme } = useTheme()\n const labelProps = useSlotComponentProps({}, \"referenceLineLabel\")\n const css = useMemo(() => getCSS(system, theme), [system, theme])\n const label = useMemo<UseChartReferenceLineProps[\"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 { getReferenceLineProps, getRootProps } = useChartReferenceLine({\n label,\n ...rest,\n })\n\n return (\n <styled.line asChild {...getRootProps()}>\n <ReferenceLine {...getReferenceLineProps()} />\n </styled.line>\n )\n },\n \"referenceLine\",\n)()\n"],"mappings":";;;;;;;;;;;;;;;;;AAmFA,MAAM,oBAAoBA,cAAAA,wBAAwB;AAkNlD,MAAM,EACJ,kBACA,cAAc,4BACd,qBACA,iBAAiB,+BACjB,aACA,cACA,0BACEC,yBAAAA,oBAIF,mBAAmBC,8BAAAA,mBAAmB;AAIxC,MAAa,iBAAiB,cACJ,EACtB,YAAY,gBACZ,QACA,WAAW,MACX,YAAY,MACZ,YAAY,OACZ,WACA,UACA,YACA,WACA,WACA,oBACA,YACA,YACA,GAAG,WACyB;CAC5B,MAAM,EAAE,eAAe,iBAAiBC,4BAAAA,kBAAkB,IAAI;CAC9D,MAAM,cAAA,GAAaC,MAAAA,QAAAA,OACX;EACJ;GACE,WAAW;GACX,UAAU,WAAW,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD,CAAY,CAAA,IAAI;EACvC;EACA;GACE,WAAW;GACX,UAAU,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD,EAAY,MAAM,CAAC,UAAY,CAAA;EAC3C;EACA;GACE,WAAW;GACX,UAAU,iBAAA,GAAA,kBAA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A,GAAG;CACL,CAAC;CAED,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACb,gBAAAA,OAAO,MAAR;EAAa,SAAA;EAAQ,GAAI,aAAa;EACpC,UAAA,iBAAA,GAAA,kBAAA,IAAA,CAACc,SAAAA,eAAD,EAAe,GAAI,sBAAsB,EAAI,CAAA;CAClC,CAAA;AAEjB,GACA,eACF,CAAC,CAAC"}
@@ -52,7 +52,7 @@ const cartesianChartStyle = require_config.defineComponentSlotStyle({ base: {
52
52
  },
53
53
  root: {
54
54
  "--active-dot-fill": "{line-color}",
55
- "--active-dot-r": "4",
55
+ "--active-dot-r": "4px",
56
56
  "--active-dot-stroke": "{line-color}",
57
57
  "--active-dot-stroke-width": "0",
58
58
  "--area-end-fill-opacity": "0.1",
@@ -64,7 +64,7 @@ const cartesianChartStyle = require_config.defineComponentSlotStyle({ base: {
64
64
  "--bar-stroke": "currentColor",
65
65
  "--bar-stroke-width": "2",
66
66
  "--dot-fill": "{line-stroke}",
67
- "--dot-r": "4",
67
+ "--dot-r": "4px",
68
68
  "--dot-stroke": "{line-stroke}",
69
69
  "--dot-stroke-width": "0",
70
70
  "--grid-stroke": "colors.border",
@@ -1 +1 @@
1
- {"version":3,"file":"cartesian-chart.style.cjs","names":["defineComponentSlotStyle","chartStyle"],"sources":["../../../../src/components/chart/cartesian-chart.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\nimport { chartStyle } from \"./chart.style\"\n\nexport const cartesianChartStyle = defineComponentSlotStyle({\n base: {\n activeDot: {\n fill: \"{active-dot-fill}\",\n r: \"{active-dot-r}\",\n stroke: \"{active-dot-stroke}\",\n strokeWidth: \"{active-dot-stroke-width}\",\n },\n area: {\n \"&:has(path[data-inactive])\": {\n opacity: \"{inactive-line-opacity}\",\n },\n color: \"{line-color}\",\n fill: \"{line-stroke}\",\n fillOpacity: \"{area-fill-opacity}\",\n stroke: \"{line-stroke}\",\n strokeWidth: \"{line-stroke-width}\",\n },\n bar: {\n \"&:has(path[data-inactive])\": {\n opacity: \"{inactive-bar-opacity}\",\n },\n color: \"{bar-color}\",\n fill: \"{bar-fill}\",\n fillOpacity: \"{bar-fill-opacity}\",\n stroke: \"{bar-stroke}\",\n strokeWidth: \"{bar-stroke-width}\",\n },\n dot: {\n fill: \"{dot-fill}\",\n r: \"{dot-r}\",\n stroke: \"{dot-stroke}\",\n strokeWidth: \"{dot-stroke-width}\",\n },\n grid: { stroke: \"{grid-stroke}\" },\n labelList: chartStyle.base?.labelList,\n line: {\n \"&:has(> path[data-inactive])\": {\n opacity: \"{inactive-line-opacity}\",\n },\n color: \"{line-color}\",\n stroke: \"{line-stroke}\",\n strokeWidth: \"{line-stroke-width}\",\n },\n referenceLine: {\n color: \"{reference-line-color}\",\n stroke: \"{reference-line-stroke}\",\n strokeWidth: \"{reference-line-stroke-width}\",\n },\n referenceLineLabel: {\n color: \"{reference-line-text-color}\",\n fill: \"{reference-line-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n stroke: \"none\",\n },\n root: {\n \"--active-dot-fill\": \"{line-color}\",\n \"--active-dot-r\": \"4\",\n \"--active-dot-stroke\": \"{line-color}\",\n \"--active-dot-stroke-width\": \"0\",\n \"--area-end-fill-opacity\": \"0.1\",\n \"--area-fill-opacity\": \"0.4\",\n \"--area-start-fill-opacity\": \"0.8\",\n \"--bar-color\": \"colorScheme.solid\",\n \"--bar-fill\": \"currentColor\",\n \"--bar-fill-opacity\": \"1\",\n \"--bar-stroke\": \"currentColor\",\n \"--bar-stroke-width\": \"2\",\n \"--dot-fill\": \"{line-stroke}\",\n \"--dot-r\": \"4\",\n \"--dot-stroke\": \"{line-stroke}\",\n \"--dot-stroke-width\": \"0\",\n \"--grid-stroke\": \"colors.border\",\n \"--inactive-bar-opacity\": \"0.4\",\n \"--inactive-line-opacity\": \"0.4\",\n \"--line-color\": \"colorScheme.solid\",\n \"--line-stroke\": \"currentColor\",\n \"--line-stroke-width\": \"2\",\n \"--reference-line-color\": \"colors.fg.error\",\n \"--reference-line-stroke\": \"currentColor\",\n \"--reference-line-stroke-width\": \"1\",\n \"--reference-line-text-color\": \"colors.fg.error\",\n \"--reference-line-text-fill\": \"currentColor\",\n \"--x-axis-line-stroke\": \"currentColor\",\n \"--x-axis-line-stroke-width\": \"1\",\n \"--x-axis-text-color\": \"colors.fg.muted\",\n \"--x-axis-text-fill\": \"currentColor\",\n \"--y-axis-line-stroke\": \"currentColor\",\n \"--y-axis-line-stroke-width\": \"1\",\n \"--y-axis-text-color\": \"colors.fg.muted\",\n \"--y-axis-text-fill\": \"currentColor\",\n },\n xAxis: {},\n xAxisLabel: {\n color: \"{x-axis-text-color}\",\n fill: \"{x-axis-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n },\n xAxisTick: {\n color: \"{x-axis-text-color}\",\n fill: \"{x-axis-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n },\n xAxisTickLine: {\n color: \"{x-axis-text-color}\",\n stroke: \"{x-axis-line-stroke}\",\n strokeWidth: \"{x-axis-line-stroke-width}\",\n },\n yAxis: {},\n yAxisLabel: {\n color: \"{y-axis-text-color}\",\n fill: \"{y-axis-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n },\n yAxisTick: {\n color: \"{y-axis-text-color}\",\n fill: \"{y-axis-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n },\n yAxisTickLine: {\n color: \"{x-axis-text-color}\",\n stroke: \"{y-axis-line-stroke}\",\n strokeWidth: \"{y-axis-line-stroke-width}\",\n },\n },\n})\n\nexport type CartesianChartStyle = typeof cartesianChartStyle\n"],"mappings":";;;AAGA,MAAa,sBAAsBA,eAAAA,yBAAyB,EAC1D,MAAM;CACJ,WAAW;EACT,MAAM;EACN,GAAG;EACH,QAAQ;EACR,aAAa;CACf;CACA,MAAM;EACJ,8BAA8B,EAC5B,SAAS,0BACX;EACA,OAAO;EACP,MAAM;EACN,aAAa;EACb,QAAQ;EACR,aAAa;CAC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W;EACT,OAAO;EACP,MAAM;EACN,UAAU;EACV,YAAY;CACd;CACA,eAAe;EACb,OAAO;EACP,QAAQ;EACR,aAAa;CACf;AACF,EACF,CAAC"}
1
+ {"version":3,"file":"cartesian-chart.style.cjs","names":["defineComponentSlotStyle","chartStyle"],"sources":["../../../../src/components/chart/cartesian-chart.style.ts"],"sourcesContent":["import { defineComponentSlotStyle } from \"../../core\"\nimport { chartStyle } from \"./chart.style\"\n\nexport const cartesianChartStyle = defineComponentSlotStyle({\n base: {\n activeDot: {\n fill: \"{active-dot-fill}\",\n r: \"{active-dot-r}\",\n stroke: \"{active-dot-stroke}\",\n strokeWidth: \"{active-dot-stroke-width}\",\n },\n area: {\n \"&:has(path[data-inactive])\": {\n opacity: \"{inactive-line-opacity}\",\n },\n color: \"{line-color}\",\n fill: \"{line-stroke}\",\n fillOpacity: \"{area-fill-opacity}\",\n stroke: \"{line-stroke}\",\n strokeWidth: \"{line-stroke-width}\",\n },\n bar: {\n \"&:has(path[data-inactive])\": {\n opacity: \"{inactive-bar-opacity}\",\n },\n color: \"{bar-color}\",\n fill: \"{bar-fill}\",\n fillOpacity: \"{bar-fill-opacity}\",\n stroke: \"{bar-stroke}\",\n strokeWidth: \"{bar-stroke-width}\",\n },\n dot: {\n fill: \"{dot-fill}\",\n r: \"{dot-r}\",\n stroke: \"{dot-stroke}\",\n strokeWidth: \"{dot-stroke-width}\",\n },\n grid: { stroke: \"{grid-stroke}\" },\n labelList: chartStyle.base?.labelList,\n line: {\n \"&:has(> path[data-inactive])\": {\n opacity: \"{inactive-line-opacity}\",\n },\n color: \"{line-color}\",\n stroke: \"{line-stroke}\",\n strokeWidth: \"{line-stroke-width}\",\n },\n referenceLine: {\n color: \"{reference-line-color}\",\n stroke: \"{reference-line-stroke}\",\n strokeWidth: \"{reference-line-stroke-width}\",\n },\n referenceLineLabel: {\n color: \"{reference-line-text-color}\",\n fill: \"{reference-line-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n stroke: \"none\",\n },\n root: {\n \"--active-dot-fill\": \"{line-color}\",\n \"--active-dot-r\": \"4px\",\n \"--active-dot-stroke\": \"{line-color}\",\n \"--active-dot-stroke-width\": \"0\",\n \"--area-end-fill-opacity\": \"0.1\",\n \"--area-fill-opacity\": \"0.4\",\n \"--area-start-fill-opacity\": \"0.8\",\n \"--bar-color\": \"colorScheme.solid\",\n \"--bar-fill\": \"currentColor\",\n \"--bar-fill-opacity\": \"1\",\n \"--bar-stroke\": \"currentColor\",\n \"--bar-stroke-width\": \"2\",\n \"--dot-fill\": \"{line-stroke}\",\n \"--dot-r\": \"4px\",\n \"--dot-stroke\": \"{line-stroke}\",\n \"--dot-stroke-width\": \"0\",\n \"--grid-stroke\": \"colors.border\",\n \"--inactive-bar-opacity\": \"0.4\",\n \"--inactive-line-opacity\": \"0.4\",\n \"--line-color\": \"colorScheme.solid\",\n \"--line-stroke\": \"currentColor\",\n \"--line-stroke-width\": \"2\",\n \"--reference-line-color\": \"colors.fg.error\",\n \"--reference-line-stroke\": \"currentColor\",\n \"--reference-line-stroke-width\": \"1\",\n \"--reference-line-text-color\": \"colors.fg.error\",\n \"--reference-line-text-fill\": \"currentColor\",\n \"--x-axis-line-stroke\": \"currentColor\",\n \"--x-axis-line-stroke-width\": \"1\",\n \"--x-axis-text-color\": \"colors.fg.muted\",\n \"--x-axis-text-fill\": \"currentColor\",\n \"--y-axis-line-stroke\": \"currentColor\",\n \"--y-axis-line-stroke-width\": \"1\",\n \"--y-axis-text-color\": \"colors.fg.muted\",\n \"--y-axis-text-fill\": \"currentColor\",\n },\n xAxis: {},\n xAxisLabel: {\n color: \"{x-axis-text-color}\",\n fill: \"{x-axis-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n },\n xAxisTick: {\n color: \"{x-axis-text-color}\",\n fill: \"{x-axis-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n },\n xAxisTickLine: {\n color: \"{x-axis-text-color}\",\n stroke: \"{x-axis-line-stroke}\",\n strokeWidth: \"{x-axis-line-stroke-width}\",\n },\n yAxis: {},\n yAxisLabel: {\n color: \"{y-axis-text-color}\",\n fill: \"{y-axis-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n },\n yAxisTick: {\n color: \"{y-axis-text-color}\",\n fill: \"{y-axis-text-fill}\",\n fontSize: \"xs\",\n fontWeight: \"medium\",\n },\n yAxisTickLine: {\n color: \"{x-axis-text-color}\",\n stroke: \"{y-axis-line-stroke}\",\n strokeWidth: \"{y-axis-line-stroke-width}\",\n },\n },\n})\n\nexport type CartesianChartStyle = typeof cartesianChartStyle\n"],"mappings":";;;AAGA,MAAa,sBAAsBA,eAAAA,yBAAyB,EAC1D,MAAM;CACJ,WAAW;EACT,MAAM;EACN,GAAG;EACH,QAAQ;EACR,aAAa;CACf;CACA,MAAM;EACJ,8BAA8B,EAC5B,SAAS,0BACX;EACA,OAAO;EACP,MAAM;EACN,aAAa;EACb,QAAQ;EACR,aAAa;CACf;CACA,KAAK;EACH,8BAA8B,EAC5B,SAAS,yBACX;EACA,OAAO;EACP,MAAM;EACN,aAAa;EACb,QAAQ;EACR,aAAa;CACf;CACA,KAAK;EACH,MAAM;EACN,GAAG;EACH,QAAQ;EACR,aAAa;CACf;CACA,MAAM,EAAE,QAAQ,gBAAgB;CAChC,WAAWC,oBAAAA,WAAW,MAAM;CAC5B,MAAM;EACJ,gCAAgC,EAC9B,SAAS,0BACX;EACA,OAAO;EACP,QAAQ;EACR,aAAa;CACf;CACA,eAAe;EACb,OAAO;EACP,QAAQ;EACR,aAAa;CACf;CACA,oBAAoB;EAClB,OAAO;EACP,MAAM;EACN,UAAU;EACV,YAAY;EACZ,QAAQ;CACV;CACA,MAAM;EACJ,qBAAqB;EACrB,kBAAkB;EAClB,uBAAuB;EACvB,6BAA6B;EAC7B,2BAA2B;EAC3B,uBAAuB;EACvB,6BAA6B;EAC7B,eAAe;EACf,cAAc;EACd,sBAAsB;EACtB,gBAAgB;EAChB,sBAAsB;EACtB,cAAc;EACd,WAAW;EACX,gBAAgB;EAChB,sBAAsB;EACtB,iBAAiB;EACjB,0BAA0B;EAC1B,2BAA2B;EAC3B,gBAAgB;EAChB,iBAAiB;EACjB,uBAAuB;EACvB,0BAA0B;EAC1B,2BAA2B;EAC3B,iCAAiC;EACjC,+BAA+B;EAC/B,8BAA8B;EAC9B,wBAAwB;EACxB,8BAA8B;EAC9B,uBAAuB;EACvB,sBAAsB;EACtB,wBAAwB;EACxB,8BAA8B;EAC9B,uBAAuB;EACvB,sBAAsB;CACxB;CACA,OAAO,CAAC;CACR,YAAY;EACV,OAAO;EACP,MAAM;EACN,UAAU;EACV,YAAY;CACd;CACA,WAAW;EACT,OAAO;EACP,MAAM;EACN,UAAU;EACV,YAAY;CACd;CACA,eAAe;EACb,OAAO;EACP,QAAQ;EACR,aAAa;CACf;CACA,OAAO,CAAC;CACR,YAAY;EACV,OAAO;EACP,MAAM;EACN,UAAU;EACV,YAAY;CACd;CACA,WAAW;EACT,OAAO;EACP,MAAM;EACN,UAAU;EACV,YAAY;CACd;CACA,eAAe;EACb,OAAO;EACP,QAAQ;EACR,aAAa;CACf;AACF,EACF,CAAC"}
@@ -5,6 +5,7 @@ const require_var = require("../../core/system/var.cjs");
5
5
  const require_system_provider = require("../../core/system/system-provider.cjs");
6
6
  const require_theme_provider = require("../../core/system/theme-provider.cjs");
7
7
  const require_factory = require("../../core/system/factory.cjs");
8
+ const require_config = require("../../core/css/config.cjs");
8
9
  const require_use_css = require("../../core/css/use-css.cjs");
9
10
  const require_props = require("../../core/components/props.cjs");
10
11
  const require_create_component = require("../../core/components/create-component.cjs");
@@ -71,7 +72,7 @@ const PolarChart = withProvider(({ components: componentsProp, nameKey, render,
71
72
  });
72
73
  }, "root")(void 0, ({ activeDotFill, activeDotRadius, activeDotStroke, activeDotStrokeWidth, angleAxisLineStroke, angleAxisLineStrokeWidth, angleAxisTextColor, angleAxisTextFill, dotFill, dotRadius, dotStroke, dotStrokeWidth, gridStroke, inactiveLabelLineOpacity, inactiveLabelOpacity, inactiveRadarOpacity, inactiveSectorOpacity, labelColor, labelFill, labelLineStroke, labelLineStrokeWidth, radarColor, radarFillOpacity, radarStroke, radarStrokeWidth, radialBackgroundColor, radialBackgroundFill, radialBackgroundStroke, radialBackgroundStrokeWidth, radiusAxisLineStroke, radiusAxisLineStrokeWidth, radiusAxisTextColor, radiusAxisTextFill, sectorColor, sectorFill, sectorStroke, sectorStrokeWidth, ...rest }) => ({
73
74
  "--active-dot-fill": require_var.varAttr(activeDotFill, "colors"),
74
- "--active-dot-r": activeDotRadius,
75
+ "--active-dot-r": (0, require_utils_index.utils_exports.replaceObject)(activeDotRadius, require_config.transforms.px),
75
76
  "--active-dot-stroke": require_var.varAttr(activeDotStroke, "colors"),
76
77
  "--active-dot-stroke-width": activeDotStrokeWidth,
77
78
  "--angle-axis-line-stroke": require_var.varAttr(angleAxisLineStroke, "colors"),
@@ -79,7 +80,7 @@ const PolarChart = withProvider(({ components: componentsProp, nameKey, render,
79
80
  "--angle-axis-text-color": require_var.varAttr(angleAxisTextColor, "colors"),
80
81
  "--angle-axis-text-fill": require_var.varAttr(angleAxisTextFill, "colors"),
81
82
  "--dot-fill": require_var.varAttr(dotFill, "colors"),
82
- "--dot-r": dotRadius,
83
+ "--dot-r": (0, require_utils_index.utils_exports.replaceObject)(dotRadius, require_config.transforms.px),
83
84
  "--dot-stroke": require_var.varAttr(dotStroke, "colors"),
84
85
  "--dot-stroke-width": dotStrokeWidth,
85
86
  "--grid-stroke": require_var.varAttr(gridStroke, "colors"),