@yamada-ui/react 2.2.9-dev-20260924070156 → 2.2.9-dev-20260926080741

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 (28) hide show
  1. package/dist/cjs/components/carousel/use-carousel.cjs.map +1 -1
  2. package/dist/cjs/components/chart/polar-chart.cjs.map +1 -1
  3. package/dist/cjs/utils/index.cjs.map +1 -1
  4. package/dist/esm/components/carousel/use-carousel.js.map +1 -1
  5. package/dist/esm/components/chart/polar-chart.js.map +1 -1
  6. package/dist/esm/utils/index.js.map +1 -1
  7. package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
  8. package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +1 -1
  9. package/dist/types/components/calendar/calendar.style.d.ts +2 -2
  10. package/dist/types/components/carousel/carousel.style.d.ts +2 -2
  11. package/dist/types/components/chart/polar-chart.style.d.ts +1 -1
  12. package/dist/types/components/date-picker/date-picker.style.d.ts +1 -1
  13. package/dist/types/components/field/use-field-props.d.ts +1 -1
  14. package/dist/types/components/file-button/use-file-button.d.ts +2 -2
  15. package/dist/types/components/file-input/use-file-input.d.ts +2 -2
  16. package/dist/types/components/menu/menu.style.d.ts +2 -2
  17. package/dist/types/components/progress/use-progress.d.ts +6 -6
  18. package/dist/types/components/rating/rating.style.d.ts +2 -2
  19. package/dist/types/components/select/select.style.d.ts +1 -1
  20. package/dist/types/components/steps/steps.style.d.ts +1 -1
  21. package/dist/types/components/tabs/tabs.style.d.ts +1 -1
  22. package/dist/types/components/tree/tree.style.d.ts +1 -1
  23. package/dist/types/components/tree/use-tree.d.ts +2 -2
  24. package/dist/types/hooks/use-clickable/index.d.ts +2 -2
  25. package/dist/types/index.d.ts +3 -3
  26. package/dist/types/providers/i18n-provider/i18n-provider.d.ts +1 -1
  27. package/dist/types/utils/index.d.ts +3 -3
  28. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"polar-chart.js","names":["isNumber","runIfFn","isObject","cx","isFunction","splitObject"],"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;CACA,MAAM,mBAAmB,eAChB;EACI;EAC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SAAS,IAAI,YAAY,CAAC;GACzC,CAAA,IACC,IACK;;CACD,CAAA;AAEhB,GACA,QACF,CAAC,CAAC"}
1
+ {"version":3,"file":"polar-chart.js","names":["isNumber","runIfFn","isObject","cx","isFunction","splitObject"],"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, FunctionOf, 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 = useCallback<FunctionOf<UseChartPieProps[\"shape\"]>>(\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 = useCallback<FunctionOf<UseChartRadialProps<Y>[\"shape\"]>>(\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;EAC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;EACnC,UAAA,qBAAC,WAAD;GAAW,GAAI,eAAe;GAA9B,UAAA,CACG,UAEA,YACC,oBAAC,gBAAD;IACE,SAAS;IACT,QAAQ;IACR,UAAS;IACT,IAAA,GAAKD,cAAAA,SAAAA,CAAS,SAAS,IAAI,YAAY,CAAC;GACzC,CAAA,IACC,IACK;;CACD,CAAA;AAEhB,GACA,QACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/index.ts"],"sourcesContent":["export * from \"./children\"\nexport * from \"./context\"\nexport * from \"./dom\"\nexport * from \"./effect\"\nexport type * from \"./index.types\"\nexport * from \"./ref\"\nexport * from \"./ssr\"\nexport * from \"./store\"\nexport * from \"@yamada-ui/utils\"\nexport type {\n AnyPointerEvent,\n AnyString,\n Booleanish,\n ColorFormat,\n DeepMerge,\n DeepPartial,\n Dict,\n EventType,\n FlattenObjectOptions,\n FunctionOrValue,\n Length,\n Merge,\n MergeOptions,\n Path,\n Point,\n Prettify,\n Primitive,\n Value,\n} from \"@yamada-ui/utils\"\n"],"mappings":""}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/index.ts"],"sourcesContent":["export * from \"./children\"\nexport * from \"./context\"\nexport * from \"./dom\"\nexport * from \"./effect\"\nexport type * from \"./index.types\"\nexport * from \"./ref\"\nexport * from \"./ssr\"\nexport * from \"./store\"\nexport * from \"@yamada-ui/utils\"\nexport type {\n AnyPointerEvent,\n AnyString,\n Booleanish,\n ColorFormat,\n DeepMerge,\n DeepPartial,\n Dict,\n EventType,\n FlattenObjectOptions,\n FunctionOf,\n FunctionOrValue,\n Length,\n Merge,\n MergeOptions,\n Path,\n Point,\n Prettify,\n Primitive,\n Value,\n} from \"@yamada-ui/utils\"\n"],"mappings":""}
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  import "../../index.js";
4
4
  //#region src/components/autocomplete/autocomplete.style.d.ts
5
- declare const autocompleteStyle: ComponentSlotStyle<"input" | "label" | "option" | "content" | "group" | "separator" | "icon" | "root" | "indicator" | "field" | "empty" | "valueText", CSSPropObject<CSSSlotObject<"input" | "label" | "option" | "content" | "group" | "separator" | "icon" | "root" | "indicator" | "field" | "empty" | "valueText">>, {
5
+ declare const autocompleteStyle: ComponentSlotStyle<"input" | "label" | "option" | "content" | "icon" | "separator" | "group" | "root" | "indicator" | "field" | "empty" | "valueText", CSSPropObject<CSSSlotObject<"input" | "label" | "option" | "content" | "icon" | "separator" | "group" | "root" | "indicator" | "field" | "empty" | "valueText">>, {
6
6
  xs: {
7
7
  empty: {
8
8
  gap: "1.5";
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  import "../../index.js";
4
4
  //#region src/components/breadcrumb/breadcrumb.style.d.ts
5
- declare const breadcrumbStyle: ComponentSlotStyle<"link" | "list" | "separator" | "ellipsis" | "root" | "item", CSSPropObject<CSSSlotObject<"link" | "list" | "separator" | "ellipsis" | "root" | "item">>, {
5
+ declare const breadcrumbStyle: ComponentSlotStyle<"link" | "ellipsis" | "separator" | "list" | "root" | "item", CSSPropObject<CSSSlotObject<"link" | "ellipsis" | "separator" | "list" | "root" | "item">>, {
6
6
  sm: {
7
7
  list: {
8
8
  fontSize: "sm";
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  import "../../index.js";
4
4
  //#region src/components/calendar/calendar.style.d.ts
5
- declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "control" | "weekday" | "day" | "months" | "years" | "weeks" | "prev", {
5
+ declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "cell" | "row" | "next" | "separator" | "navigation" | "root" | "month" | "week" | "control" | "weekday" | "day" | "months" | "years" | "weeks" | "prev", {
6
6
  /**
7
7
  * If `true`, the calendar will be fixed rows.
8
8
  *
@@ -74,7 +74,7 @@ declare const calendarStyle: ComponentSlotStyle<"button" | "select" | "cell" | "
74
74
  "--font-size": "fontSizes.xl";
75
75
  };
76
76
  };
77
- }, CSSModifierObject<CSSSlotObject<"button" | "select" | "cell" | "navigation" | "row" | "separator" | "next" | "root" | "month" | "week" | "control" | "weekday" | "day" | "months" | "years" | "weeks" | "prev">>>;
77
+ }, CSSModifierObject<CSSSlotObject<"button" | "select" | "cell" | "row" | "next" | "separator" | "navigation" | "root" | "month" | "week" | "control" | "weekday" | "day" | "months" | "years" | "weeks" | "prev">>>;
78
78
  type CalendarStyle = typeof calendarStyle;
79
79
  //#endregion
80
80
  export { CalendarStyle, calendarStyle };
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  import "../../index.js";
4
4
  //#region src/components/carousel/carousel.style.d.ts
5
- declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators", CSSPropObject<CSSSlotObject<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators">>, {
5
+ declare const carouselStyle: ComponentSlotStyle<"next" | "list" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators", CSSPropObject<CSSSlotObject<"next" | "list" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators">>, {
6
6
  sm: {
7
7
  root: {
8
8
  h: "sm";
@@ -18,7 +18,7 @@ declare const carouselStyle: ComponentSlotStyle<"list" | "next" | "root" | "indi
18
18
  h: "lg";
19
19
  };
20
20
  };
21
- }, CSSModifierObject<CSSSlotObject<"list" | "next" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators">>>;
21
+ }, CSSModifierObject<CSSSlotObject<"next" | "list" | "root" | "indicator" | "item" | "trigger" | "prev" | "indicators">>>;
22
22
  type CarouselStyle = typeof carouselStyle;
23
23
  //#endregion
24
24
  export { CarouselStyle, carouselStyle };
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  import "../../index.js";
4
4
  //#region src/components/chart/polar-chart.style.d.ts
5
- declare const polarChartStyle: ComponentSlotStyle<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "labelLine" | "pie" | "radar" | "radial" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector", CSSPropObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "labelLine" | "pie" | "radar" | "radial" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "labelLine" | "pie" | "radar" | "radial" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "labelLine" | "pie" | "radar" | "radial" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>>;
5
+ declare const polarChartStyle: ComponentSlotStyle<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "radial" | "labelLine" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector", CSSPropObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "radial" | "labelLine" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "radial" | "labelLine" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>, CSSModifierObject<CSSSlotObject<"label" | "grid" | "dot" | "root" | "labelList" | "activeDot" | "radial" | "labelLine" | "angleAxis" | "angleAxisLabel" | "angleAxisLine" | "angleAxisTick" | "angleAxisTickLine" | "pie" | "radar" | "radialBackground" | "radiusAxis" | "radiusAxisLabel" | "radiusAxisLine" | "radiusAxisTick" | "radiusAxisTickLine" | "sector">>>;
6
6
  type PolarChartStyle = typeof polarChartStyle;
7
7
  //#endregion
8
8
  export { PolarChartStyle, polarChartStyle };
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  import "../../index.js";
4
4
  //#region src/components/date-picker/date-picker.style.d.ts
5
- declare const datePickerStyle: ComponentSlotStyle<"input" | "content" | "separator" | "icon" | "root" | "field" | "adjust", CSSPropObject<CSSSlotObject<"input" | "content" | "separator" | "icon" | "root" | "field" | "adjust">>, {
5
+ declare const datePickerStyle: ComponentSlotStyle<"input" | "content" | "icon" | "separator" | "root" | "field" | "adjust", CSSPropObject<CSSSlotObject<"input" | "content" | "icon" | "separator" | "root" | "field" | "adjust">>, {
6
6
  xs: {
7
7
  field: {
8
8
  fontSize: "1em";
@@ -17,7 +17,7 @@ declare const useFieldProps: <Y extends HTMLElement, M extends Dict>({ id, name,
17
17
  disabled: boolean | undefined;
18
18
  readOnly: boolean | undefined;
19
19
  required: boolean | undefined;
20
- } & Omit<M & UseFieldProps<Y>, "disabled" | "readOnly" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "invalid" | "name" | "required" | "notSupportReadOnly">;
20
+ } & Omit<M & UseFieldProps<Y>, "disabled" | "readOnly" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "name" | "invalid" | "required" | "notSupportReadOnly">;
21
21
  ariaProps: {
22
22
  "aria-describedby": any;
23
23
  "aria-disabled": (boolean | "true" | "false") | undefined;
@@ -9,7 +9,7 @@ import "../../index.js";
9
9
  //#region src/components/file-button/use-file-button.d.ts
10
10
  interface UseFileButtonProps extends UseFileInputProps<"button">, FieldProps {}
11
11
  declare const useFileButton: (props?: UseFileButtonProps) => {
12
- clickableProps: (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
12
+ clickableProps: (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "focusable" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusOnClick"> & {
13
13
  ref: (node: any) => void;
14
14
  type: "button";
15
15
  "aria-disabled": boolean | undefined;
@@ -21,7 +21,7 @@ declare const useFileButton: (props?: UseFileButtonProps) => {
21
21
  onMouseLeave: import("react").MouseEventHandler<HTMLElement> | undefined;
22
22
  onMouseOver: import("react").MouseEventHandler<HTMLElement> | undefined;
23
23
  onMouseUp: import("react").MouseEventHandler<HTMLElement> | undefined;
24
- }) | (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
24
+ }) | (Omit<UseClickableProps<HTMLElement, import("@yamada-ui/utils").Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "focusable" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusOnClick"> & {
25
25
  ref: (node: any) => void;
26
26
  "aria-disabled": "true" | undefined;
27
27
  "data-active": string | undefined;
@@ -31,7 +31,7 @@ declare const useFileInput: <Y extends "button" | "input" = "input">(props: UseF
31
31
  readOnly: boolean | undefined;
32
32
  required: boolean | undefined;
33
33
  values: File[] | undefined;
34
- clickableProps: (Omit<UseClickableProps<HTMLElement, Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
34
+ clickableProps: (Omit<UseClickableProps<HTMLElement, Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "focusable" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusOnClick"> & {
35
35
  ref: (node: any) => void;
36
36
  type: "button";
37
37
  "aria-disabled": boolean | undefined;
@@ -43,7 +43,7 @@ declare const useFileInput: <Y extends "button" | "input" = "input">(props: UseF
43
43
  onMouseLeave: import("react").MouseEventHandler<HTMLElement> | undefined;
44
44
  onMouseOver: import("react").MouseEventHandler<HTMLElement> | undefined;
45
45
  onMouseUp: import("react").MouseEventHandler<HTMLElement> | undefined;
46
- }) | (Omit<UseClickableProps<HTMLElement, Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusable" | "focusOnClick"> & {
46
+ }) | (Omit<UseClickableProps<HTMLElement, Dict<any>>, "disabled" | "ref" | "tabIndex" | "onKeyDown" | "onKeyUp" | "onClick" | "onMouseDown" | "onMouseLeave" | "onMouseOver" | "onMouseUp" | "focusable" | "clickOnEnter" | "clickOnSpace" | "disableTouchBehavior" | "focusOnClick"> & {
47
47
  ref: (node: any) => void;
48
48
  "aria-disabled": "true" | undefined;
49
49
  "data-active": string | undefined;
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  import "../../index.js";
4
4
  //#region src/components/menu/menu.style.d.ts
5
- declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item", CSSPropObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item">>, {
5
+ declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "content" | "command" | "separator" | "group" | "indicator" | "item", CSSPropObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "separator" | "group" | "indicator" | "item">>, {
6
6
  sm: {
7
7
  command: {
8
8
  fontSize: "2xs";
@@ -87,7 +87,7 @@ declare const menuStyle: ComponentSlotStyle<"footer" | "header" | "label" | "con
87
87
  px: "2";
88
88
  };
89
89
  };
90
- }, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "group" | "separator" | "indicator" | "item">>>;
90
+ }, CSSModifierObject<CSSSlotObject<"footer" | "header" | "label" | "content" | "command" | "separator" | "group" | "indicator" | "item">>>;
91
91
  type MenuStyle = typeof menuStyle;
92
92
  //#endregion
93
93
  export { MenuStyle, menuStyle };
@@ -26,10 +26,11 @@ declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min, value }
26
26
  getRangeProps: (props?: HTMLProps<Y extends "svg" ? "circle" : "div">) => {
27
27
  slot?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["slot"] | undefined;
28
28
  style?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["style"] | undefined;
29
+ id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
30
+ key?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["key"] | undefined;
29
31
  ref?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["ref"] | undefined;
30
32
  suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["suppressHydrationWarning"] | undefined;
31
33
  className?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["className"] | undefined;
32
- id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
33
34
  lang?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["lang"] | undefined;
34
35
  nonce?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["nonce"] | undefined;
35
36
  tabIndex?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["tabIndex"] | undefined;
@@ -258,16 +259,16 @@ declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min, value }
258
259
  onTransitionRunCapture?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionRunCapture"] | undefined;
259
260
  onTransitionStart?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionStart"] | undefined;
260
261
  onTransitionStartCapture?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionStartCapture"] | undefined;
261
- key?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["key"] | undefined;
262
262
  "data-indeterminate": string | undefined;
263
263
  };
264
264
  getRootProps: (props?: HTMLProps<Y>) => {
265
265
  slot?: import("react").JSX.IntrinsicElements[Y]["slot"] | undefined;
266
266
  style?: import("react").JSX.IntrinsicElements[Y]["style"] | undefined;
267
+ id?: import("react").JSX.IntrinsicElements[Y]["id"] | undefined;
268
+ key?: import("react").JSX.IntrinsicElements[Y]["key"] | undefined;
267
269
  ref?: import("react").JSX.IntrinsicElements[Y]["ref"] | undefined;
268
270
  suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y]["suppressHydrationWarning"] | undefined;
269
271
  className?: import("react").JSX.IntrinsicElements[Y]["className"] | undefined;
270
- id?: import("react").JSX.IntrinsicElements[Y]["id"] | undefined;
271
272
  lang?: import("react").JSX.IntrinsicElements[Y]["lang"] | undefined;
272
273
  nonce?: import("react").JSX.IntrinsicElements[Y]["nonce"] | undefined;
273
274
  tabIndex?: import("react").JSX.IntrinsicElements[Y]["tabIndex"] | undefined;
@@ -496,16 +497,16 @@ declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min, value }
496
497
  onTransitionRunCapture?: import("react").JSX.IntrinsicElements[Y]["onTransitionRunCapture"] | undefined;
497
498
  onTransitionStart?: import("react").JSX.IntrinsicElements[Y]["onTransitionStart"] | undefined;
498
499
  onTransitionStartCapture?: import("react").JSX.IntrinsicElements[Y]["onTransitionStartCapture"] | undefined;
499
- key?: import("react").JSX.IntrinsicElements[Y]["key"] | undefined;
500
500
  "data-indeterminate": string | undefined;
501
501
  };
502
502
  getTrackProps: (props?: HTMLProps<Y extends "svg" ? "circle" : "div">) => {
503
503
  slot?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["slot"] | undefined;
504
504
  style?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["style"] | undefined;
505
+ id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
506
+ key?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["key"] | undefined;
505
507
  ref?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["ref"] | undefined;
506
508
  suppressHydrationWarning?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["suppressHydrationWarning"] | undefined;
507
509
  className?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["className"] | undefined;
508
- id?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["id"] | undefined;
509
510
  lang?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["lang"] | undefined;
510
511
  nonce?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["nonce"] | undefined;
511
512
  tabIndex?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["tabIndex"] | undefined;
@@ -734,7 +735,6 @@ declare const useProgress: <Y extends "div" | "svg" = "div">({ max, min, value }
734
735
  onTransitionRunCapture?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionRunCapture"] | undefined;
735
736
  onTransitionStart?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionStart"] | undefined;
736
737
  onTransitionStartCapture?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["onTransitionStartCapture"] | undefined;
737
- key?: import("react").JSX.IntrinsicElements[Y extends "svg" ? "circle" : "div"]["key"] | undefined;
738
738
  "data-indeterminate": string | undefined;
739
739
  };
740
740
  };
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/index.types.js";
3
3
  import "../../index.js";
4
4
  //#region src/components/rating/rating.style.d.ts
5
- declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "root" | "item", CSSPropObject<CSSSlotObject<"group" | "icon" | "root" | "item">>, {
5
+ declare const ratingStyle: ComponentSlotStyle<"icon" | "group" | "root" | "item", CSSPropObject<CSSSlotObject<"icon" | "group" | "root" | "item">>, {
6
6
  xs: {
7
7
  icon: {
8
8
  fontSize: "md";
@@ -28,7 +28,7 @@ declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "root" | "item"
28
28
  fontSize: "3xl";
29
29
  };
30
30
  };
31
- }, CSSModifierObject<CSSSlotObject<"group" | "icon" | "root" | "item">>>;
31
+ }, CSSModifierObject<CSSSlotObject<"icon" | "group" | "root" | "item">>>;
32
32
  type RatingStyle = typeof ratingStyle;
33
33
  //#endregion
34
34
  export { RatingStyle, ratingStyle };
@@ -1,7 +1,7 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import "../../index.js";
3
3
  //#region src/components/select/select.style.d.ts
4
- declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "group" | "separator" | "icon" | "root" | "indicator" | "field" | "valueText", {
4
+ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "icon" | "separator" | "group" | "root" | "indicator" | "field" | "valueText", {
5
5
  /**
6
6
  * If `true`, wrap the value text.
7
7
  *
@@ -1,7 +1,7 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import "../../index.js";
3
3
  //#region src/components/steps/steps.style.d.ts
4
- declare const stepsStyle: ComponentSlotStyle<"title" | "list" | "separator" | "root" | "indicator" | "item" | "description", {
4
+ declare const stepsStyle: ComponentSlotStyle<"title" | "separator" | "list" | "root" | "indicator" | "item" | "description", {
5
5
  /**
6
6
  * The orientation of the steps.
7
7
  *
@@ -1,7 +1,7 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import "../../index.js";
3
3
  //#region src/components/tabs/tabs.style.d.ts
4
- declare const tabsStyle: ComponentSlotStyle<"panel" | "list" | "tab" | "root", {
4
+ declare const tabsStyle: ComponentSlotStyle<"panel" | "tab" | "list" | "root", {
5
5
  /**
6
6
  * The alignment of the tabs.
7
7
  *
@@ -1,7 +1,7 @@
1
1
  import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import "../../index.js";
3
3
  //#region src/components/tree/tree.style.d.ts
4
- declare const treeStyle: ComponentSlotStyle<"label" | "checkbox" | "group" | "end" | "start" | "element" | "root" | "indicator" | "item", {
4
+ declare const treeStyle: ComponentSlotStyle<"label" | "end" | "start" | "checkbox" | "element" | "group" | "root" | "indicator" | "item", {
5
5
  /**
6
6
  * The shape of the component
7
7
  *