@mittwald/flow-react-components 0.2.0-alpha.360 → 0.2.0-alpha.362
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.
- package/CHANGELOG.md +8 -0
- package/dist/assets/doc-properties.json +28872 -29092
- package/dist/css/all.css +1 -1
- package/dist/js/components/src/components/{AreaChart/AreaChart.mjs → CartesianChart/CartesianChart.mjs} +6 -6
- package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs.map +1 -0
- package/dist/js/components/src/components/CartesianChart/CartesianChart.module.scss.mjs +11 -0
- package/dist/js/components/src/components/CartesianChart/CartesianChart.module.scss.mjs.map +1 -0
- package/dist/js/components/src/components/CartesianChart/components/Area/Area.mjs.map +1 -0
- package/dist/js/components/src/components/CartesianChart/components/AreaDot/AreaDot.mjs.map +1 -0
- package/dist/js/components/src/components/{CartesianGrid → CartesianChart/components/CartesianGrid}/CartesianGrid.mjs +1 -1
- package/dist/js/components/src/components/CartesianChart/components/CartesianGrid/CartesianGrid.mjs.map +1 -0
- package/dist/js/components/src/components/{ChartLegend → CartesianChart/components/ChartLegend}/ChartLegend.mjs +1 -1
- package/dist/js/components/src/components/CartesianChart/components/ChartLegend/ChartLegend.mjs.map +1 -0
- package/dist/js/components/src/components/CartesianChart/components/ChartLegend/LegendContent.mjs.map +1 -0
- package/dist/js/components/src/components/{ChartTooltip → CartesianChart/components/ChartTooltip}/ChartTooltip.mjs +1 -1
- package/dist/js/components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.mjs.map +1 -0
- package/dist/js/components/src/components/{ChartTooltip/components → CartesianChart/components/ChartTooltip}/TooltipContent.mjs +3 -3
- package/dist/js/components/src/components/CartesianChart/components/ChartTooltip/TooltipContent.mjs.map +1 -0
- package/dist/js/components/src/components/CartesianChart/components/Line/Line.mjs.map +1 -0
- package/dist/js/components/src/components/{XAxis → CartesianChart/components/XAxis}/XAxis.mjs +1 -1
- package/dist/js/components/src/components/CartesianChart/components/XAxis/XAxis.mjs.map +1 -0
- package/dist/js/components/src/components/{YAxis → CartesianChart/components/YAxis}/YAxis.mjs +1 -1
- package/dist/js/components/src/components/CartesianChart/components/YAxis/YAxis.mjs.map +1 -0
- package/dist/js/default.mjs +8 -8
- package/dist/js/flr-universal.mjs +3 -3
- package/dist/types/components/{AreaChart/AreaChart.d.ts → CartesianChart/CartesianChart.d.ts} +6 -6
- package/dist/types/components/CartesianChart/CartesianChart.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/Area/Area.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/Area/index.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/Area/view.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/AreaDot/AreaDot.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/AreaDot/index.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/CartesianGrid/CartesianGrid.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/CartesianGrid/index.d.ts +2 -0
- package/dist/types/components/CartesianChart/components/CartesianGrid/index.d.ts.map +1 -0
- package/dist/types/components/{CartesianGrid → CartesianChart/components/CartesianGrid}/view.d.ts +1 -1
- package/dist/types/components/CartesianChart/components/CartesianGrid/view.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/ChartLegend/ChartLegend.d.ts.map +1 -0
- package/dist/types/components/{ChartLegend/components/LegendContent → CartesianChart/components/ChartLegend}/LegendContent.d.ts +1 -1
- package/dist/types/components/CartesianChart/components/ChartLegend/LegendContent.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/ChartLegend/index.d.ts +2 -0
- package/dist/types/components/CartesianChart/components/ChartLegend/index.d.ts.map +1 -0
- package/dist/types/components/{ChartLegend → CartesianChart/components/ChartLegend}/view.d.ts +1 -1
- package/dist/types/components/CartesianChart/components/ChartLegend/view.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/ChartTooltip/ChartTooltip.d.ts.map +1 -0
- package/dist/types/components/{ChartTooltip/components → CartesianChart/components/ChartTooltip}/TooltipContent.d.ts +1 -1
- package/dist/types/components/CartesianChart/components/ChartTooltip/TooltipContent.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/ChartTooltip/index.d.ts +2 -0
- package/dist/types/components/CartesianChart/components/ChartTooltip/index.d.ts.map +1 -0
- package/dist/types/components/{ChartTooltip → CartesianChart/components/ChartTooltip}/view.d.ts +1 -1
- package/dist/types/components/CartesianChart/components/ChartTooltip/view.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/Line/Line.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/Line/index.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/Line/view.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/XAxis/XAxis.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/XAxis/index.d.ts +2 -0
- package/dist/types/components/CartesianChart/components/XAxis/index.d.ts.map +1 -0
- package/dist/types/components/{XAxis → CartesianChart/components/XAxis}/view.d.ts +1 -1
- package/dist/types/components/CartesianChart/components/XAxis/view.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/YAxis/YAxis.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/components/YAxis/index.d.ts +2 -0
- package/dist/types/components/CartesianChart/components/YAxis/index.d.ts.map +1 -0
- package/dist/types/components/{YAxis → CartesianChart/components/YAxis}/view.d.ts +1 -1
- package/dist/types/components/CartesianChart/components/YAxis/view.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/index.d.ts +10 -0
- package/dist/types/components/CartesianChart/index.d.ts.map +1 -0
- package/dist/types/components/{AreaChart → CartesianChart}/stories/Default.stories.d.ts +3 -3
- package/dist/types/components/CartesianChart/stories/Default.stories.d.ts.map +1 -0
- package/dist/types/components/CartesianChart/view.d.ts +8 -0
- package/dist/types/components/CartesianChart/view.d.ts.map +1 -0
- package/dist/types/components/public.d.ts +1 -6
- package/dist/types/components/public.d.ts.map +1 -1
- package/dist/types/views/AreaView.d.ts +1 -1
- package/dist/types/views/AreaView.d.ts.map +1 -1
- package/dist/types/views/CartesianChartView.d.ts +5 -0
- package/dist/types/views/CartesianChartView.d.ts.map +1 -0
- package/dist/types/views/CartesianGridView.d.ts +1 -1
- package/dist/types/views/CartesianGridView.d.ts.map +1 -1
- package/dist/types/views/ChartLegendView.d.ts +1 -1
- package/dist/types/views/ChartLegendView.d.ts.map +1 -1
- package/dist/types/views/ChartTooltipView.d.ts +1 -1
- package/dist/types/views/ChartTooltipView.d.ts.map +1 -1
- package/dist/types/views/LineView.d.ts +1 -1
- package/dist/types/views/LineView.d.ts.map +1 -1
- package/dist/types/views/XAxisView.d.ts +1 -1
- package/dist/types/views/XAxisView.d.ts.map +1 -1
- package/dist/types/views/YAxisView.d.ts +1 -1
- package/dist/types/views/YAxisView.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/js/components/src/components/AreaChart/AreaChart.mjs.map +0 -1
- package/dist/js/components/src/components/AreaChart/AreaChart.module.scss.mjs +0 -11
- package/dist/js/components/src/components/AreaChart/AreaChart.module.scss.mjs.map +0 -1
- package/dist/js/components/src/components/AreaChart/components/Area/Area.mjs.map +0 -1
- package/dist/js/components/src/components/AreaChart/components/AreaDot/AreaDot.mjs.map +0 -1
- package/dist/js/components/src/components/AreaChart/components/Line/Line.mjs.map +0 -1
- package/dist/js/components/src/components/CartesianGrid/CartesianGrid.mjs.map +0 -1
- package/dist/js/components/src/components/ChartLegend/ChartLegend.mjs.map +0 -1
- package/dist/js/components/src/components/ChartLegend/components/LegendContent/LegendContent.mjs.map +0 -1
- package/dist/js/components/src/components/ChartTooltip/ChartTooltip.mjs.map +0 -1
- package/dist/js/components/src/components/ChartTooltip/components/TooltipContent.mjs.map +0 -1
- package/dist/js/components/src/components/XAxis/XAxis.mjs.map +0 -1
- package/dist/js/components/src/components/YAxis/YAxis.mjs.map +0 -1
- package/dist/types/components/AreaChart/AreaChart.d.ts.map +0 -1
- package/dist/types/components/AreaChart/components/Area/Area.d.ts.map +0 -1
- package/dist/types/components/AreaChart/components/Area/index.d.ts.map +0 -1
- package/dist/types/components/AreaChart/components/Area/view.d.ts.map +0 -1
- package/dist/types/components/AreaChart/components/AreaDot/AreaDot.d.ts.map +0 -1
- package/dist/types/components/AreaChart/components/AreaDot/index.d.ts.map +0 -1
- package/dist/types/components/AreaChart/components/Line/Line.d.ts.map +0 -1
- package/dist/types/components/AreaChart/components/Line/index.d.ts.map +0 -1
- package/dist/types/components/AreaChart/components/Line/view.d.ts.map +0 -1
- package/dist/types/components/AreaChart/index.d.ts +0 -5
- package/dist/types/components/AreaChart/index.d.ts.map +0 -1
- package/dist/types/components/AreaChart/stories/Default.stories.d.ts.map +0 -1
- package/dist/types/components/AreaChart/view.d.ts +0 -8
- package/dist/types/components/AreaChart/view.d.ts.map +0 -1
- package/dist/types/components/CartesianGrid/CartesianGrid.d.ts.map +0 -1
- package/dist/types/components/CartesianGrid/index.d.ts +0 -3
- package/dist/types/components/CartesianGrid/index.d.ts.map +0 -1
- package/dist/types/components/CartesianGrid/view.d.ts.map +0 -1
- package/dist/types/components/ChartLegend/ChartLegend.d.ts.map +0 -1
- package/dist/types/components/ChartLegend/components/LegendContent/LegendContent.d.ts.map +0 -1
- package/dist/types/components/ChartLegend/components/LegendContent/index.d.ts +0 -2
- package/dist/types/components/ChartLegend/components/LegendContent/index.d.ts.map +0 -1
- package/dist/types/components/ChartLegend/index.d.ts +0 -3
- package/dist/types/components/ChartLegend/index.d.ts.map +0 -1
- package/dist/types/components/ChartLegend/view.d.ts.map +0 -1
- package/dist/types/components/ChartTooltip/ChartTooltip.d.ts.map +0 -1
- package/dist/types/components/ChartTooltip/components/TooltipContent.d.ts.map +0 -1
- package/dist/types/components/ChartTooltip/components/index.d.ts +0 -2
- package/dist/types/components/ChartTooltip/components/index.d.ts.map +0 -1
- package/dist/types/components/ChartTooltip/index.d.ts +0 -3
- package/dist/types/components/ChartTooltip/index.d.ts.map +0 -1
- package/dist/types/components/ChartTooltip/view.d.ts.map +0 -1
- package/dist/types/components/XAxis/XAxis.d.ts.map +0 -1
- package/dist/types/components/XAxis/index.d.ts +0 -3
- package/dist/types/components/XAxis/index.d.ts.map +0 -1
- package/dist/types/components/XAxis/view.d.ts.map +0 -1
- package/dist/types/components/YAxis/YAxis.d.ts.map +0 -1
- package/dist/types/components/YAxis/index.d.ts +0 -3
- package/dist/types/components/YAxis/index.d.ts.map +0 -1
- package/dist/types/components/YAxis/view.d.ts.map +0 -1
- package/dist/types/views/AreaChartView.d.ts +0 -5
- package/dist/types/views/AreaChartView.d.ts.map +0 -1
- /package/dist/js/components/src/components/{AreaChart → CartesianChart}/components/Area/Area.mjs +0 -0
- /package/dist/js/components/src/components/{AreaChart → CartesianChart}/components/AreaDot/AreaDot.mjs +0 -0
- /package/dist/js/components/src/components/{ChartLegend/components/LegendContent → CartesianChart/components/ChartLegend}/LegendContent.mjs +0 -0
- /package/dist/js/components/src/components/{AreaChart → CartesianChart}/components/Line/Line.mjs +0 -0
- /package/dist/types/components/{AreaChart → CartesianChart}/components/Area/Area.d.ts +0 -0
- /package/dist/types/components/{AreaChart → CartesianChart}/components/Area/index.d.ts +0 -0
- /package/dist/types/components/{AreaChart → CartesianChart}/components/Area/view.d.ts +0 -0
- /package/dist/types/components/{AreaChart → CartesianChart}/components/AreaDot/AreaDot.d.ts +0 -0
- /package/dist/types/components/{AreaChart → CartesianChart}/components/AreaDot/index.d.ts +0 -0
- /package/dist/types/components/{CartesianGrid → CartesianChart/components/CartesianGrid}/CartesianGrid.d.ts +0 -0
- /package/dist/types/components/{ChartLegend → CartesianChart/components/ChartLegend}/ChartLegend.d.ts +0 -0
- /package/dist/types/components/{ChartTooltip → CartesianChart/components/ChartTooltip}/ChartTooltip.d.ts +0 -0
- /package/dist/types/components/{AreaChart → CartesianChart}/components/Line/Line.d.ts +0 -0
- /package/dist/types/components/{AreaChart → CartesianChart}/components/Line/index.d.ts +0 -0
- /package/dist/types/components/{AreaChart → CartesianChart}/components/Line/view.d.ts +0 -0
- /package/dist/types/components/{XAxis → CartesianChart/components/XAxis}/XAxis.d.ts +0 -0
- /package/dist/types/components/{YAxis → CartesianChart/components/YAxis}/YAxis.d.ts +0 -0
|
@@ -4,12 +4,12 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
4
4
|
import * as Recharts from 'recharts';
|
|
5
5
|
import { Children, cloneElement, useRef, useState, useEffect } from 'react';
|
|
6
6
|
import { Area } from './components/Area/Area.mjs';
|
|
7
|
-
import { CartesianGrid } from '../CartesianGrid/CartesianGrid.mjs';
|
|
8
7
|
import clsx from 'clsx';
|
|
9
|
-
import styles from './
|
|
8
|
+
import styles from './CartesianChart.module.scss.mjs';
|
|
10
9
|
import { Wrap } from '../Wrap/Wrap.mjs';
|
|
10
|
+
import { CartesianGrid } from './components/CartesianGrid/CartesianGrid.mjs';
|
|
11
11
|
|
|
12
|
-
const
|
|
12
|
+
const CartesianChart = (props) => {
|
|
13
13
|
const {
|
|
14
14
|
children,
|
|
15
15
|
data,
|
|
@@ -19,7 +19,7 @@ const AreaChart = (props) => {
|
|
|
19
19
|
emptyView: EmptyView,
|
|
20
20
|
...rest
|
|
21
21
|
} = props;
|
|
22
|
-
const rootClassName = clsx(styles.
|
|
22
|
+
const rootClassName = clsx(styles.cartesianChart, className);
|
|
23
23
|
const areasWithoutDots = [];
|
|
24
24
|
const areasWithDots = [];
|
|
25
25
|
const otherChildren = [];
|
|
@@ -90,5 +90,5 @@ const AreaChart = (props) => {
|
|
|
90
90
|
) });
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
-
export {
|
|
94
|
-
//# sourceMappingURL=
|
|
93
|
+
export { CartesianChart, CartesianChart as default };
|
|
94
|
+
//# sourceMappingURL=CartesianChart.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartesianChart.mjs","sources":["../../../../../../src/components/CartesianChart/CartesianChart.tsx"],"sourcesContent":["import * as Recharts from \"recharts\";\nimport type { CategoricalChartProps } from \"recharts/types/chart/generateCategoricalChart\";\nimport React, {\n Children,\n cloneElement,\n useEffect,\n useRef,\n useState,\n type FC,\n type PropsWithChildren,\n type ReactElement,\n type SVGProps,\n} from \"react\";\nimport { Area, type AreaProps } from \"./components/Area\";\nimport clsx from \"clsx\";\nimport styles from \"./CartesianChart.module.scss\";\nimport Wrap from \"../Wrap\";\nimport { CartesianGrid } from \"@/components/CartesianChart/components/CartesianGrid\";\n\nexport interface CartesianChartEmptyViewProps {\n data?: CategoricalChartProps[\"data\"];\n}\n\nexport interface CartesianChartProps\n extends Pick<\n CategoricalChartProps,\n \"data\" | \"className\" | \"syncId\" | \"syncMethod\"\n >,\n PropsWithChildren {\n height?: string;\n /** View that is provided when data is empty/undefined */\n emptyView?: React.ComponentType<CartesianChartEmptyViewProps>;\n /**\n * Allow the height controlling container to set flex-grow: 1. Can only be\n * used in combination with `height`\n */\n flexGrow?: boolean;\n}\n\n/** @flr-generate all */\nexport const CartesianChart: FC<CartesianChartProps> = (props) => {\n const {\n children,\n data,\n className,\n height,\n flexGrow,\n emptyView: EmptyView,\n ...rest\n } = props;\n const rootClassName = clsx(styles.cartesianChart, className);\n\n // render order: grid, areas without dots, other children, areas with dots\n // this is needed to ensure that the dots will always overlay the areas\n const areasWithoutDots: ReactElement[] = [];\n const areasWithDots: ReactElement[] = [];\n const otherChildren: ReactElement[] = [];\n const gridChildren: ReactElement[] = [];\n\n Children.forEach(children, (child, index) => {\n if (!child) return;\n const element = child as ReactElement;\n\n if (element.type === CartesianGrid) {\n gridChildren.push(element);\n } else if (element.type === Area) {\n areasWithoutDots.push(\n cloneElement(element as ReactElement<AreaProps>, {\n onlyDots: false,\n key: `area-${index}`,\n }),\n );\n areasWithDots.push(\n cloneElement(element as ReactElement<AreaProps>, {\n onlyDots: true,\n key: `area-dots-${index}`,\n }),\n );\n } else {\n otherChildren.push(element);\n }\n });\n\n const showEmptyView = (!data || data.length === 0) && EmptyView;\n\n const chartContainerRef = useRef<HTMLDivElement>(null);\n const [viewDimensions, setViewDimensions] = useState<Partial<\n SVGProps<SVGForeignObjectElement>\n > | null>(null);\n\n // resizing the foreignObject for the EmptyView on size changes\n useEffect(() => {\n if (showEmptyView) {\n const updateDimensions = () => {\n const svg = chartContainerRef.current?.querySelector(\n \"svg\",\n ) as SVGSVGElement | null;\n if (!svg) return;\n\n const clip = svg.querySelector(\"clipPath rect\");\n if (clip) {\n const x = parseFloat(clip.getAttribute(\"x\") ?? \"0\");\n const y = parseFloat(clip.getAttribute(\"y\") ?? \"0\");\n const width = parseFloat(clip.getAttribute(\"width\") ?? \"0\");\n const height = parseFloat(clip.getAttribute(\"height\") ?? \"0\");\n setViewDimensions({ x, y, width, height });\n }\n };\n\n updateDimensions();\n\n const container = chartContainerRef.current;\n const observer = new ResizeObserver(updateDimensions);\n if (container) observer.observe(container);\n\n return () => {\n observer.disconnect();\n };\n }\n }, []);\n\n return (\n <Wrap if={height}>\n <div\n style={{ height, flex: flexGrow ? 1 : undefined }}\n ref={chartContainerRef}\n >\n <Recharts.ResponsiveContainer>\n <Recharts.AreaChart data={data} className={rootClassName} {...rest}>\n {!showEmptyView && gridChildren}\n {areasWithoutDots}\n {otherChildren}\n {areasWithDots}\n {showEmptyView && viewDimensions && (\n <foreignObject {...viewDimensions}>\n <div className={styles.emptyViewContainer}>\n <EmptyView data={data} />\n </div>\n </foreignObject>\n )}\n </Recharts.AreaChart>\n </Recharts.ResponsiveContainer>\n </div>\n </Wrap>\n );\n};\n\nexport default CartesianChart;\n"],"names":["height"],"mappings":";;;;;;;;;AAwCa,MAAA,cAAA,GAA0C,CAAC,KAAU,KAAA;AAChE,EAAM,MAAA;AAAA,IACJ,QAAA;AAAA,IACA,IAAA;AAAA,IACA,SAAA;AAAA,IACA,MAAA;AAAA,IACA,QAAA;AAAA,IACA,SAAW,EAAA,SAAA;AAAA,IACX,GAAG;AAAA,GACD,GAAA,KAAA;AACJ,EAAA,MAAM,aAAgB,GAAA,IAAA,CAAK,MAAO,CAAA,cAAA,EAAgB,SAAS,CAAA;AAI3D,EAAA,MAAM,mBAAmC,EAAC;AAC1C,EAAA,MAAM,gBAAgC,EAAC;AACvC,EAAA,MAAM,gBAAgC,EAAC;AACvC,EAAA,MAAM,eAA+B,EAAC;AAEtC,EAAA,QAAA,CAAS,OAAQ,CAAA,QAAA,EAAU,CAAC,KAAA,EAAO,KAAU,KAAA;AAC3C,IAAA,IAAI,CAAC,KAAO,EAAA;AACZ,IAAA,MAAM,OAAU,GAAA,KAAA;AAEhB,IAAI,IAAA,OAAA,CAAQ,SAAS,aAAe,EAAA;AAClC,MAAA,YAAA,CAAa,KAAK,OAAO,CAAA;AAAA,KAC3B,MAAA,IAAW,OAAQ,CAAA,IAAA,KAAS,IAAM,EAAA;AAChC,MAAiB,gBAAA,CAAA,IAAA;AAAA,QACf,aAAa,OAAoC,EAAA;AAAA,UAC/C,QAAU,EAAA,KAAA;AAAA,UACV,GAAA,EAAK,QAAQ,KAAK,CAAA;AAAA,SACnB;AAAA,OACH;AACA,MAAc,aAAA,CAAA,IAAA;AAAA,QACZ,aAAa,OAAoC,EAAA;AAAA,UAC/C,QAAU,EAAA,IAAA;AAAA,UACV,GAAA,EAAK,aAAa,KAAK,CAAA;AAAA,SACxB;AAAA,OACH;AAAA,KACK,MAAA;AACL,MAAA,aAAA,CAAc,KAAK,OAAO,CAAA;AAAA;AAC5B,GACD,CAAA;AAED,EAAA,MAAM,aAAiB,GAAA,CAAA,CAAC,IAAQ,IAAA,IAAA,CAAK,WAAW,CAAM,KAAA,SAAA;AAEtD,EAAM,MAAA,iBAAA,GAAoB,OAAuB,IAAI,CAAA;AACrD,EAAA,MAAM,CAAC,cAAA,EAAgB,iBAAiB,CAAA,GAAI,SAElC,IAAI,CAAA;AAGd,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,IAAI,aAAe,EAAA;AACjB,MAAA,MAAM,mBAAmB,MAAM;AAC7B,QAAM,MAAA,GAAA,GAAM,kBAAkB,OAAS,EAAA,aAAA;AAAA,UACrC;AAAA,SACF;AACA,QAAA,IAAI,CAAC,GAAK,EAAA;AAEV,QAAM,MAAA,IAAA,GAAO,GAAI,CAAA,aAAA,CAAc,eAAe,CAAA;AAC9C,QAAA,IAAI,IAAM,EAAA;AACR,UAAA,MAAM,IAAI,UAAW,CAAA,IAAA,CAAK,YAAa,CAAA,GAAG,KAAK,GAAG,CAAA;AAClD,UAAA,MAAM,IAAI,UAAW,CAAA,IAAA,CAAK,YAAa,CAAA,GAAG,KAAK,GAAG,CAAA;AAClD,UAAA,MAAM,QAAQ,UAAW,CAAA,IAAA,CAAK,YAAa,CAAA,OAAO,KAAK,GAAG,CAAA;AAC1D,UAAA,MAAMA,UAAS,UAAW,CAAA,IAAA,CAAK,YAAa,CAAA,QAAQ,KAAK,GAAG,CAAA;AAC5D,UAAA,iBAAA,CAAkB,EAAE,CAAG,EAAA,CAAA,EAAG,KAAO,EAAA,MAAA,EAAAA,SAAQ,CAAA;AAAA;AAC3C,OACF;AAEA,MAAiB,gBAAA,EAAA;AAEjB,MAAA,MAAM,YAAY,iBAAkB,CAAA,OAAA;AACpC,MAAM,MAAA,QAAA,GAAW,IAAI,cAAA,CAAe,gBAAgB,CAAA;AACpD,MAAI,IAAA,SAAA,EAAoB,QAAA,CAAA,OAAA,CAAQ,SAAS,CAAA;AAEzC,MAAA,OAAO,MAAM;AACX,QAAA,QAAA,CAAS,UAAW,EAAA;AAAA,OACtB;AAAA;AACF,GACF,EAAG,EAAE,CAAA;AAEL,EACE,uBAAA,GAAA,CAAC,IAAK,EAAA,EAAA,EAAA,EAAI,MACR,EAAA,QAAA,kBAAA,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,OAAO,EAAE,MAAA,EAAQ,IAAM,EAAA,QAAA,GAAW,IAAI,MAAU,EAAA;AAAA,MAChD,GAAK,EAAA,iBAAA;AAAA,MAEL,QAAC,kBAAA,GAAA,CAAA,QAAA,CAAS,mBAAT,EAAA,EACC,QAAC,kBAAA,IAAA,CAAA,QAAA,CAAS,SAAT,EAAA,EAAmB,IAAY,EAAA,SAAA,EAAW,aAAgB,EAAA,GAAG,IAC3D,EAAA,QAAA,EAAA;AAAA,QAAA,CAAC,aAAiB,IAAA,YAAA;AAAA,QAClB,gBAAA;AAAA,QACA,aAAA;AAAA,QACA,aAAA;AAAA,QACA,aAAiB,IAAA,cAAA,oBACf,GAAA,CAAA,eAAA,EAAA,EAAe,GAAG,cACjB,EAAA,QAAA,kBAAA,GAAA,CAAC,KAAI,EAAA,EAAA,SAAA,EAAW,OAAO,kBACrB,EAAA,QAAA,kBAAA,GAAA,CAAC,SAAU,EAAA,EAAA,IAAA,EAAY,GACzB,CACF,EAAA;AAAA,OAAA,EAEJ,CACF,EAAA;AAAA;AAAA,GAEJ,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
const cartesianChart = "flow--cartesian-chart";
|
|
4
|
+
const emptyViewContainer = "flow--cartesian-chart--empty-view-container";
|
|
5
|
+
const styles = {
|
|
6
|
+
cartesianChart: cartesianChart,
|
|
7
|
+
emptyViewContainer: emptyViewContainer
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { cartesianChart, styles as default, emptyViewContainer };
|
|
11
|
+
//# sourceMappingURL=CartesianChart.module.scss.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartesianChart.module.scss.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Area.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/Area/Area.tsx"],"sourcesContent":["import { type FC } from \"react\";\nimport * as Recharts from \"recharts\";\nimport tokens from \"@mittwald/flow-design-tokens/variables.json\";\nimport { AreaDot } from \"../AreaDot\";\nimport type { CategoricalColors } from \"@/lib/tokens/CategoricalColors\";\nimport { getCategoricalColorValue } from \"@/lib/tokens/getCategoricalColorValue\";\n\nexport interface AreaProps\n extends Pick<\n Recharts.AreaProps,\n | \"className\"\n | \"dataKey\"\n | \"stackId\"\n | \"fillOpacity\"\n | \"key\"\n | \"xAxisId\"\n | \"yAxisId\"\n | \"type\"\n | \"unit\"\n > {\n /** The color of the area. @default \"sea-green\" */\n color?: CategoricalColors;\n /** @internal */\n onlyDots?: boolean;\n}\n\n/** @flr-generate all */\nexport const Area: FC<AreaProps> = (props) => {\n const {\n color = \"sea-green\",\n stackId = 1,\n fillOpacity = 1,\n onlyDots = true,\n ...rest\n } = props;\n\n return (\n <Recharts.Area\n stackId={stackId}\n fillOpacity={fillOpacity}\n {...rest}\n activeDot={\n onlyDots ? <AreaDot color={getCategoricalColorValue(color)} /> : false\n }\n fill={onlyDots ? \"none\" : getCategoricalColorValue(color)}\n stroke={onlyDots ? \"none\" : tokens.area[\"border-color\"].value}\n strokeWidth={onlyDots ? undefined : tokens.area[\"border-width\"].value}\n />\n );\n};\n\nexport default Area;\n"],"names":[],"mappings":";;;;;;;AA2Ba,MAAA,IAAA,GAAsB,CAAC,KAAU,KAAA;AAC5C,EAAM,MAAA;AAAA,IACJ,KAAQ,GAAA,WAAA;AAAA,IACR,OAAU,GAAA,CAAA;AAAA,IACV,WAAc,GAAA,CAAA;AAAA,IACd,QAAW,GAAA,IAAA;AAAA,IACX,GAAG;AAAA,GACD,GAAA,KAAA;AAEJ,EACE,uBAAA,GAAA;AAAA,IAAC,QAAS,CAAA,IAAA;AAAA,IAAT;AAAA,MACC,OAAA;AAAA,MACA,WAAA;AAAA,MACC,GAAG,IAAA;AAAA,MACJ,SAAA,EACE,2BAAY,GAAA,CAAA,OAAA,EAAA,EAAQ,OAAO,wBAAyB,CAAA,KAAK,GAAG,CAAK,GAAA,KAAA;AAAA,MAEnE,IAAM,EAAA,QAAA,GAAW,MAAS,GAAA,wBAAA,CAAyB,KAAK,CAAA;AAAA,MACxD,QAAQ,QAAW,GAAA,MAAA,GAAS,MAAO,CAAA,IAAA,CAAK,cAAc,CAAE,CAAA,KAAA;AAAA,MACxD,aAAa,QAAW,GAAA,MAAA,GAAY,MAAO,CAAA,IAAA,CAAK,cAAc,CAAE,CAAA;AAAA;AAAA,GAClE;AAEJ;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AreaDot.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/AreaDot/AreaDot.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport type * as Recharts from \"recharts\";\n\nexport const AreaDot: FC<Recharts.DotProps & { color: string }> = ({\n cx,\n cy,\n color,\n}) => {\n if (cx === undefined || cy === undefined) return null;\n\n return (\n <svg\n x={cx - 7}\n y={cy - 7}\n width={14}\n height={14}\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <circle cx=\"7\" cy=\"7\" r=\"7\" fill=\"white\" />\n <circle cx=\"7\" cy=\"7\" r=\"4\" stroke={color} strokeWidth=\"2\" fill=\"white\" />\n </svg>\n );\n};\n"],"names":[],"mappings":";;AAGO,MAAM,UAAqD,CAAC;AAAA,EACjE,EAAA;AAAA,EACA,EAAA;AAAA,EACA;AACF,CAAM,KAAA;AACJ,EAAA,IAAI,EAAO,KAAA,MAAA,IAAa,EAAO,KAAA,MAAA,EAAkB,OAAA,IAAA;AAEjD,EACE,uBAAA,IAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,GAAG,EAAK,GAAA,CAAA;AAAA,MACR,GAAG,EAAK,GAAA,CAAA;AAAA,MACR,KAAO,EAAA,EAAA;AAAA,MACP,MAAQ,EAAA,EAAA;AAAA,MACR,OAAQ,EAAA,WAAA;AAAA,MACR,IAAK,EAAA,MAAA;AAAA,MACL,KAAM,EAAA,4BAAA;AAAA,MAEN,QAAA,EAAA;AAAA,wBAAC,GAAA,CAAA,QAAA,EAAA,EAAO,IAAG,GAAI,EAAA,EAAA,EAAG,KAAI,CAAE,EAAA,GAAA,EAAI,MAAK,OAAQ,EAAA,CAAA;AAAA,wBACxC,GAAA,CAAA,QAAA,EAAA,EAAO,EAAG,EAAA,GAAA,EAAI,EAAG,EAAA,GAAA,EAAI,CAAE,EAAA,GAAA,EAAI,MAAQ,EAAA,KAAA,EAAO,WAAY,EAAA,GAAA,EAAI,MAAK,OAAQ,EAAA;AAAA;AAAA;AAAA,GAC1E;AAEJ;;;;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as Recharts from 'recharts';
|
|
5
|
-
import tokens from '
|
|
5
|
+
import tokens from '../../../../../../design-tokens/dist/variables.json.mjs';
|
|
6
6
|
|
|
7
7
|
const CartesianGrid = (props) => {
|
|
8
8
|
const { vertical = false, ...rest } = props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartesianGrid.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/CartesianGrid/CartesianGrid.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport * as Recharts from \"recharts\";\nimport tokens from \"@mittwald/flow-design-tokens/variables.json\";\n\nexport type CartesianGridProps = Pick<\n Recharts.CartesianGridProps,\n \"className\" | \"vertical\" | \"horizontal\" | \"strokeDasharray\"\n>;\n\n/** @flr-generate all */\nexport const CartesianGrid: FC<CartesianGridProps> = (props) => {\n const { vertical = false, ...rest } = props;\n\n return (\n <Recharts.CartesianGrid\n vertical={vertical}\n {...rest}\n stroke={tokens[\"cartesian-grid\"].color.value}\n strokeWidth={tokens[\"cartesian-grid\"][\"stroke-width\"].value}\n />\n );\n};\n\nexport default CartesianGrid;\n"],"names":[],"mappings":";;;;AAUa,MAAA,aAAA,GAAwC,CAAC,KAAU,KAAA;AAC9D,EAAA,MAAM,EAAE,QAAA,GAAW,KAAO,EAAA,GAAG,MAAS,GAAA,KAAA;AAEtC,EACE,uBAAA,GAAA;AAAA,IAAC,QAAS,CAAA,aAAA;AAAA,IAAT;AAAA,MACC,QAAA;AAAA,MACC,GAAG,IAAA;AAAA,MACJ,MAAQ,EAAA,MAAA,CAAO,gBAAgB,CAAA,CAAE,KAAM,CAAA,KAAA;AAAA,MACvC,WAAa,EAAA,MAAA,CAAO,gBAAgB,CAAA,CAAE,cAAc,CAAE,CAAA;AAAA;AAAA,GACxD;AAEJ;;;;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as Recharts from 'recharts';
|
|
5
|
-
import LegendContent from './
|
|
5
|
+
import LegendContent from './LegendContent.mjs';
|
|
6
6
|
|
|
7
7
|
const ChartLegend = (props) => {
|
|
8
8
|
const { formatter, ...rest } = props;
|
package/dist/js/components/src/components/CartesianChart/components/ChartLegend/ChartLegend.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartLegend.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/ChartLegend/ChartLegend.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport * as Recharts from \"recharts\";\nimport LegendContent from \"./LegendContent\";\n\nexport type ChartLegendFormatter = (text: string) => string;\n\nexport interface WithChartLegendFormatters {\n /**\n * A formatter function for the texts of the Legend. Can be used for purposes\n * like translations.\n */\n formatter?: ChartLegendFormatter;\n}\n\nexport type ChartLegendProps = Pick<\n Recharts.LegendProps,\n \"className\" | \"verticalAlign\"\n> &\n WithChartLegendFormatters;\n\n/** @flr-generate all */\nexport const ChartLegend: FC<ChartLegendProps> = (props) => {\n const { formatter, ...rest } = props;\n\n return (\n <Recharts.Legend\n {...rest}\n content={<LegendContent formatter={formatter} />}\n />\n );\n};\n\nexport default ChartLegend;\n"],"names":[],"mappings":";;;;AAqBa,MAAA,WAAA,GAAoC,CAAC,KAAU,KAAA;AAC1D,EAAA,MAAM,EAAE,SAAA,EAAW,GAAG,IAAA,EAAS,GAAA,KAAA;AAE/B,EACE,uBAAA,GAAA;AAAA,IAAC,QAAS,CAAA,MAAA;AAAA,IAAT;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,OAAA,kBAAU,GAAA,CAAA,aAAA,EAAA,EAAc,SAAsB,EAAA;AAAA;AAAA,GAChD;AAEJ;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendContent.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/ChartLegend/LegendContent.tsx"],"sourcesContent":["import type { Props } from \"recharts/types/component/DefaultLegendContent\";\nimport type { WithChartLegendFormatters } from \"./ChartLegend\";\nimport type { FC } from \"react\";\nimport tokens from \"@mittwald/flow-design-tokens/variables.json\";\nimport Legend, { LegendItem } from \"@/components/Legend\";\n\ntype LegendContentType = Omit<Props, \"formatter\"> & WithChartLegendFormatters;\n\nconst LegendContent: FC<LegendContentType> = (props) => {\n const { formatter, payload } = props;\n\n return (\n <Legend>\n {payload\n ?.filter(\n (entry) =>\n entry.payload &&\n \"fill\" in entry.payload &&\n entry.payload?.fill !== \"none\",\n )\n .map((entry, index) => {\n return (\n <LegendItem\n key={`legendItem-${index}`}\n color={\n entry.payload && \"fill\" in entry.payload\n ? (entry.payload?.fill as string)\n : tokens.color.gray[100].value\n }\n >\n {entry.dataKey\n ? formatter\n ? formatter(entry.dataKey?.toString())\n : entry.dataKey.toString()\n : \"\"}\n </LegendItem>\n );\n })}\n </Legend>\n );\n};\n\nexport default LegendContent;\n"],"names":[],"mappings":";;;;;AAQM,MAAA,aAAA,GAAuC,CAAC,KAAU,KAAA;AACtD,EAAM,MAAA,EAAE,SAAW,EAAA,OAAA,EAAY,GAAA,KAAA;AAE/B,EACE,uBAAA,GAAA,CAAC,UACE,QACG,EAAA,OAAA,EAAA,MAAA;AAAA,IACA,CAAC,UACC,KAAM,CAAA,OAAA,IACN,UAAU,KAAM,CAAA,OAAA,IAChB,KAAM,CAAA,OAAA,EAAS,IAAS,KAAA;AAAA,GAE3B,CAAA,GAAA,CAAI,CAAC,KAAA,EAAO,KAAU,KAAA;AACrB,IACE,uBAAA,GAAA;AAAA,MAAC,UAAA;AAAA,MAAA;AAAA,QAEC,KACE,EAAA,KAAA,CAAM,OAAW,IAAA,MAAA,IAAU,KAAM,CAAA,OAAA,GAC5B,KAAM,CAAA,OAAA,EAAS,IAChB,GAAA,MAAA,CAAO,KAAM,CAAA,IAAA,CAAK,GAAG,CAAE,CAAA,KAAA;AAAA,QAG5B,QAAM,EAAA,KAAA,CAAA,OAAA,GACH,SACE,GAAA,SAAA,CAAU,KAAM,CAAA,OAAA,EAAS,QAAS,EAAC,CACnC,GAAA,KAAA,CAAM,OAAQ,CAAA,QAAA,EAChB,GAAA;AAAA,OAAA;AAAA,MAXC,cAAc,KAAK,CAAA;AAAA,KAY1B;AAAA,GAEH,CACL,EAAA,CAAA;AAEJ;;;;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as Recharts from 'recharts';
|
|
5
|
-
import { TooltipContent } from './
|
|
5
|
+
import { TooltipContent } from './TooltipContent.mjs';
|
|
6
6
|
|
|
7
7
|
const ChartTooltip = (props) => {
|
|
8
8
|
const { formatter, headingFormatter, ...rest } = props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartTooltip.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport * as Recharts from \"recharts\";\nimport type {\n NameType,\n ValueType,\n} from \"recharts/types/component/DefaultTooltipContent\";\nimport { TooltipContent } from \"./TooltipContent\";\n\nexport type TooltipLineFormatter = (\n value: ValueType,\n name: NameType,\n index: number,\n unit?: string | number,\n) => string;\n\nexport type TooltipHeadingFormatter = (\n title: string | number | undefined,\n) => string;\n\nexport interface WithTooltipFormatters {\n /**\n * A formatter function for the lines in the tooltip. Can be used for purposes\n * like translations.\n */\n formatter?: TooltipLineFormatter;\n /**\n * A formatter function for the heading of the tooltip. Can be used for\n * purposes like translations.\n */\n headingFormatter?: TooltipHeadingFormatter;\n}\n\nexport interface ChartTooltipProps\n extends Pick<\n Recharts.TooltipProps<ValueType, NameType>,\n \"wrapperClassName\" | \"allowEscapeViewBox\"\n >,\n WithTooltipFormatters {}\n\n/** @flr-generate all */\nexport const ChartTooltip: FC<ChartTooltipProps> = (props) => {\n const { formatter, headingFormatter, ...rest } = props;\n return (\n <Recharts.Tooltip\n {...rest}\n content={(props) => {\n const {\n formatter: ignoredFormatter,\n labelFormatter: ignoredLabelFormatter,\n ...rest\n } = props;\n\n return (\n <TooltipContent\n formatter={formatter}\n headingFormatter={headingFormatter}\n {...rest}\n />\n );\n }}\n cursor={false}\n />\n );\n};\n\nexport default ChartTooltip;\n"],"names":["props","rest"],"mappings":";;;;AAwCa,MAAA,YAAA,GAAsC,CAAC,KAAU,KAAA;AAC5D,EAAA,MAAM,EAAE,SAAA,EAAW,gBAAkB,EAAA,GAAG,MAAS,GAAA,KAAA;AACjD,EACE,uBAAA,GAAA;AAAA,IAAC,QAAS,CAAA,OAAA;AAAA,IAAT;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,OAAA,EAAS,CAACA,MAAU,KAAA;AAClB,QAAM,MAAA;AAAA,UACJ,SAAW,EAAA,gBAAA;AAAA,UACX,cAAgB,EAAA,qBAAA;AAAA,UAChB,GAAGC;AAAA,SACDD,GAAAA,MAAAA;AAEJ,QACE,uBAAA,GAAA;AAAA,UAAC,cAAA;AAAA,UAAA;AAAA,YACC,SAAA;AAAA,YACA,gBAAA;AAAA,YACC,GAAGC;AAAA;AAAA,SACN;AAAA,OAEJ;AAAA,MACA,MAAQ,EAAA;AAAA;AAAA,GACV;AAEJ;;;;"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
-
import styles from '
|
|
6
|
-
import { Heading } from '
|
|
7
|
-
import { LegendItem } from '
|
|
5
|
+
import styles from '../../../Popover/Popover.module.scss.mjs';
|
|
6
|
+
import { Heading } from '../../../Heading/Heading.mjs';
|
|
7
|
+
import { LegendItem } from '../../../Legend/components/LegendItem/LegendItem.mjs';
|
|
8
8
|
|
|
9
9
|
const TooltipContent = (props) => {
|
|
10
10
|
const {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipContent.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/ChartTooltip/TooltipContent.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport popoverStyles from \"../../../Popover/Popover.module.scss\";\nimport Heading from \"@/components/Heading\";\nimport { LegendItem } from \"@/components/Legend/components/LegendItem\";\nimport type * as Recharts from \"recharts\";\nimport type {\n NameType,\n ValueType,\n} from \"recharts/types/component/DefaultTooltipContent\";\nimport type { WithTooltipFormatters } from \"./ChartTooltip\";\n\ninterface TooltipContentProps\n extends Pick<\n Recharts.TooltipContentProps<ValueType, NameType>,\n \"active\" | \"payload\" | \"label\" | \"wrapperClassName\"\n >,\n WithTooltipFormatters {}\n\nexport const TooltipContent = (props: TooltipContentProps) => {\n const {\n active,\n payload,\n formatter,\n headingFormatter,\n label,\n wrapperClassName,\n } = props;\n const className = clsx(wrapperClassName, popoverStyles.popover);\n\n if (active && payload && payload.length) {\n return (\n <div className={className}>\n <div className={popoverStyles.content}>\n <Heading level={3}>\n {headingFormatter && typeof label === \"string\"\n ? headingFormatter(label)\n : label}\n </Heading>\n {payload\n .filter((i) => i.fill !== \"none\")\n .map((i, index) => (\n <LegendItem color={i.fill} key={i.dataKey}>\n {formatter\n ? formatter(i.value, i.dataKey, index, i.unit)\n : `${i.dataKey} ${i.value}${i.unit ? ` ${i.unit}` : \"\"}`}\n </LegendItem>\n ))}\n </div>\n </div>\n );\n }\n\n return null;\n};\n"],"names":["popoverStyles"],"mappings":";;;;;;AAkBa,MAAA,cAAA,GAAiB,CAAC,KAA+B,KAAA;AAC5D,EAAM,MAAA;AAAA,IACJ,MAAA;AAAA,IACA,OAAA;AAAA,IACA,SAAA;AAAA,IACA,gBAAA;AAAA,IACA,KAAA;AAAA,IACA;AAAA,GACE,GAAA,KAAA;AACJ,EAAA,MAAM,SAAY,GAAA,IAAA,CAAK,gBAAkB,EAAAA,MAAA,CAAc,OAAO,CAAA;AAE9D,EAAI,IAAA,MAAA,IAAU,OAAW,IAAA,OAAA,CAAQ,MAAQ,EAAA;AACvC,IAAA,2BACG,KAAI,EAAA,EAAA,SAAA,EACH,+BAAC,KAAI,EAAA,EAAA,SAAA,EAAWA,OAAc,OAC5B,EAAA,QAAA,EAAA;AAAA,sBAAC,GAAA,CAAA,OAAA,EAAA,EAAQ,KAAO,EAAA,CAAA,EACb,QAAoB,EAAA,gBAAA,IAAA,OAAO,UAAU,QAClC,GAAA,gBAAA,CAAiB,KAAK,CAAA,GACtB,KACN,EAAA,CAAA;AAAA,MACC,OAAA,CACE,OAAO,CAAC,CAAA,KAAM,EAAE,IAAS,KAAA,MAAM,EAC/B,GAAI,CAAA,CAAC,GAAG,KACP,qBAAA,GAAA,CAAC,cAAW,KAAO,EAAA,CAAA,CAAE,MAClB,QACG,EAAA,SAAA,GAAA,SAAA,CAAU,EAAE,KAAO,EAAA,CAAA,CAAE,SAAS,KAAO,EAAA,CAAA,CAAE,IAAI,CAC3C,GAAA,CAAA,EAAG,EAAE,OAAO,CAAA,CAAA,EAAI,EAAE,KAAK,CAAA,EAAG,EAAE,IAAO,GAAA,CAAA,CAAA,EAAI,EAAE,IAAI,CAAA,CAAA,GAAK,EAAE,CAH1B,CAAA,EAAA,EAAA,CAAA,CAAE,OAIlC,CACD;AAAA,KAAA,EACL,CACF,EAAA,CAAA;AAAA;AAIJ,EAAO,OAAA,IAAA;AACT;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Line.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/Line/Line.tsx"],"sourcesContent":["import { type FC } from \"react\";\nimport * as Recharts from \"recharts\";\nimport tokens from \"@mittwald/flow-design-tokens/variables.json\";\nimport { AreaDot } from \"../AreaDot\";\nimport type { CategoricalColors } from \"@/lib/tokens/CategoricalColors\";\nimport { getCategoricalColorValue } from \"@/lib/tokens/getCategoricalColorValue\";\n\nexport interface LineProps\n extends Pick<\n Recharts.LineProps,\n \"className\" | \"dataKey\" | \"key\" | \"xAxisId\" | \"yAxisId\" | \"type\" | \"unit\"\n > {\n /** The color of the line. @default \"sea-green\" */\n color?: CategoricalColors;\n}\n\n/** @flr-generate all */\nexport const Line: FC<LineProps> = (props) => {\n const { color = \"sea-green\", ...rest } = props;\n\n return (\n <Recharts.Line\n {...rest}\n fill={getCategoricalColorValue(color)}\n activeDot={<AreaDot color={getCategoricalColorValue(color)} />}\n dot={false}\n stroke={getCategoricalColorValue(color)}\n strokeWidth={tokens.line[\"border-width\"].value}\n />\n );\n};\n\nexport default Line;\n"],"names":[],"mappings":";;;;;;;AAiBa,MAAA,IAAA,GAAsB,CAAC,KAAU,KAAA;AAC5C,EAAA,MAAM,EAAE,KAAA,GAAQ,WAAa,EAAA,GAAG,MAAS,GAAA,KAAA;AAEzC,EACE,uBAAA,GAAA;AAAA,IAAC,QAAS,CAAA,IAAA;AAAA,IAAT;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,IAAA,EAAM,yBAAyB,KAAK,CAAA;AAAA,MACpC,2BAAY,GAAA,CAAA,OAAA,EAAA,EAAQ,KAAO,EAAA,wBAAA,CAAyB,KAAK,CAAG,EAAA,CAAA;AAAA,MAC5D,GAAK,EAAA,KAAA;AAAA,MACL,MAAA,EAAQ,yBAAyB,KAAK,CAAA;AAAA,MACtC,WAAa,EAAA,MAAA,CAAO,IAAK,CAAA,cAAc,CAAE,CAAA;AAAA;AAAA,GAC3C;AAEJ;;;;"}
|
package/dist/js/components/src/components/{XAxis → CartesianChart/components/XAxis}/XAxis.mjs
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as Recharts from 'recharts';
|
|
5
|
-
import tokens from '
|
|
5
|
+
import tokens from '../../../../../../design-tokens/dist/variables.json.mjs';
|
|
6
6
|
|
|
7
7
|
const XAxis = (props) => {
|
|
8
8
|
return /* @__PURE__ */ jsx(
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"XAxis.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/XAxis/XAxis.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport * as Recharts from \"recharts\";\nimport tokens from \"@mittwald/flow-design-tokens/variables.json\";\n\nexport type XAxisProps = Pick<\n Recharts.XAxisProps,\n | \"className\"\n | \"dataKey\"\n | \"orientation\"\n | \"allowDecimals\"\n | \"allowDataOverflow\"\n | \"interval\"\n | \"minTickGap\"\n | \"scale\"\n | \"type\"\n | \"domain\"\n | \"hide\"\n | \"unit\"\n>;\n\n/** @flr-generate all */\nexport const XAxis: FC<XAxisProps> = (props) => {\n return (\n <Recharts.XAxis\n {...props}\n fontSize={tokens.axis[\"font-size\"].value}\n tick={{\n fill: tokens.axis[\"text-color\"].value,\n }}\n tickMargin={parseInt(tokens.axis.spacing.value)}\n tickSize={parseInt(tokens.axis[\"tick-size\"].value)}\n />\n );\n};\n\nexport default XAxis;\n"],"names":[],"mappings":";;;;AAqBa,MAAA,KAAA,GAAwB,CAAC,KAAU,KAAA;AAC9C,EACE,uBAAA,GAAA;AAAA,IAAC,QAAS,CAAA,KAAA;AAAA,IAAT;AAAA,MACE,GAAG,KAAA;AAAA,MACJ,QAAU,EAAA,MAAA,CAAO,IAAK,CAAA,WAAW,CAAE,CAAA,KAAA;AAAA,MACnC,IAAM,EAAA;AAAA,QACJ,IAAM,EAAA,MAAA,CAAO,IAAK,CAAA,YAAY,CAAE,CAAA;AAAA,OAClC;AAAA,MACA,UAAY,EAAA,QAAA,CAAS,MAAO,CAAA,IAAA,CAAK,QAAQ,KAAK,CAAA;AAAA,MAC9C,UAAU,QAAS,CAAA,MAAA,CAAO,IAAK,CAAA,WAAW,EAAE,KAAK;AAAA;AAAA,GACnD;AAEJ;;;;"}
|
package/dist/js/components/src/components/{YAxis → CartesianChart/components/YAxis}/YAxis.mjs
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import * as Recharts from 'recharts';
|
|
5
|
-
import tokens from '
|
|
5
|
+
import tokens from '../../../../../../design-tokens/dist/variables.json.mjs';
|
|
6
6
|
|
|
7
7
|
const YAxis = (props) => {
|
|
8
8
|
const { domain = [0, (dataMax) => dataMax / 2], ...rest } = props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YAxis.mjs","sources":["../../../../../../../../src/components/CartesianChart/components/YAxis/YAxis.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport * as Recharts from \"recharts\";\nimport tokens from \"@mittwald/flow-design-tokens/variables.json\";\n\nexport type YAxisProps = Pick<\n Recharts.YAxisProps,\n | \"className\"\n | \"dataKey\"\n | \"orientation\"\n | \"allowDecimals\"\n | \"interval\"\n | \"minTickGap\"\n | \"scale\"\n | \"type\"\n | \"domain\"\n | \"hide\"\n | \"unit\"\n>;\n\n/** @flr-generate all */\nexport const YAxis: FC<YAxisProps> = (props) => {\n const { domain = [0, (dataMax) => dataMax / 2], ...rest } = props;\n\n return (\n <Recharts.YAxis\n {...rest}\n allowDataOverflow\n domain={domain}\n fontSize={tokens.axis[\"font-size\"].value}\n tick={{\n fill: tokens.axis[\"text-color\"].value,\n }}\n tickMargin={parseInt(tokens.axis.spacing.value)}\n tickSize={parseInt(tokens.axis[\"tick-size\"].value)}\n />\n );\n};\n\nexport default YAxis;\n"],"names":[],"mappings":";;;;AAoBa,MAAA,KAAA,GAAwB,CAAC,KAAU,KAAA;AAC9C,EAAM,MAAA,EAAE,MAAS,GAAA,CAAC,CAAG,EAAA,CAAC,OAAY,KAAA,OAAA,GAAU,CAAC,CAAA,EAAG,GAAG,IAAA,EAAS,GAAA,KAAA;AAE5D,EACE,uBAAA,GAAA;AAAA,IAAC,QAAS,CAAA,KAAA;AAAA,IAAT;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,iBAAiB,EAAA,IAAA;AAAA,MACjB,MAAA;AAAA,MACA,QAAU,EAAA,MAAA,CAAO,IAAK,CAAA,WAAW,CAAE,CAAA,KAAA;AAAA,MACnC,IAAM,EAAA;AAAA,QACJ,IAAM,EAAA,MAAA,CAAO,IAAK,CAAA,YAAY,CAAE,CAAA;AAAA,OAClC;AAAA,MACA,UAAY,EAAA,QAAA,CAAS,MAAO,CAAA,IAAA,CAAK,QAAQ,KAAK,CAAA;AAAA,MAC9C,UAAU,QAAS,CAAA,MAAA,CAAO,IAAK,CAAA,WAAW,EAAE,KAAK;AAAA;AAAA,GACnD;AAEJ;;;;"}
|
package/dist/js/default.mjs
CHANGED
|
@@ -9,9 +9,14 @@ export { Alert } from './components/src/components/Alert/Alert.mjs';
|
|
|
9
9
|
export { AlertBadge } from './components/src/components/AlertBadge/AlertBadge.mjs';
|
|
10
10
|
export { AlertIcon } from './components/src/components/AlertIcon/AlertIcon.mjs';
|
|
11
11
|
export { Align } from './components/src/components/Align/Align.mjs';
|
|
12
|
-
export {
|
|
13
|
-
export { Area } from './components/src/components/
|
|
14
|
-
export { Line } from './components/src/components/
|
|
12
|
+
export { CartesianChart } from './components/src/components/CartesianChart/CartesianChart.mjs';
|
|
13
|
+
export { Area } from './components/src/components/CartesianChart/components/Area/Area.mjs';
|
|
14
|
+
export { Line } from './components/src/components/CartesianChart/components/Line/Line.mjs';
|
|
15
|
+
export { ChartTooltip } from './components/src/components/CartesianChart/components/ChartTooltip/ChartTooltip.mjs';
|
|
16
|
+
export { CartesianGrid } from './components/src/components/CartesianChart/components/CartesianGrid/CartesianGrid.mjs';
|
|
17
|
+
export { ChartLegend } from './components/src/components/CartesianChart/components/ChartLegend/ChartLegend.mjs';
|
|
18
|
+
export { YAxis } from './components/src/components/CartesianChart/components/YAxis/YAxis.mjs';
|
|
19
|
+
export { XAxis } from './components/src/components/CartesianChart/components/XAxis/XAxis.mjs';
|
|
15
20
|
export { Autocomplete } from './components/src/components/Autocomplete/Autocomplete.mjs';
|
|
16
21
|
export { Avatar } from './components/src/components/Avatar/Avatar.mjs';
|
|
17
22
|
export { AvatarStack } from './components/src/components/AvatarStack/AvatarStack.mjs';
|
|
@@ -20,9 +25,6 @@ export { BigNumber } from './components/src/components/BigNumber/BigNumber.mjs';
|
|
|
20
25
|
export { Breadcrumb } from './components/src/components/Breadcrumb/Breadcrumb.mjs';
|
|
21
26
|
export { BrowserOnly } from './components/src/components/BrowserOnly/BrowserOnly.mjs';
|
|
22
27
|
export { Button } from './components/src/components/Button/Button.mjs';
|
|
23
|
-
export { CartesianGrid } from './components/src/components/CartesianGrid/CartesianGrid.mjs';
|
|
24
|
-
export { ChartLegend } from './components/src/components/ChartLegend/ChartLegend.mjs';
|
|
25
|
-
export { ChartTooltip } from './components/src/components/ChartTooltip/ChartTooltip.mjs';
|
|
26
28
|
export { Chat } from './components/src/components/Chat/Chat.mjs';
|
|
27
29
|
export { Checkbox } from './components/src/components/Checkbox/Checkbox.mjs';
|
|
28
30
|
export { CheckboxButton } from './components/src/components/CheckboxButton/CheckboxButton.mjs';
|
|
@@ -257,8 +259,6 @@ export { TooltipTrigger } from './components/src/components/Tooltip/components/T
|
|
|
257
259
|
export { Tooltip } from './components/src/components/Tooltip/Tooltip.mjs';
|
|
258
260
|
export { TunnelEntry } from './components/src/components/TunnelEntry/TunnelEntry.mjs';
|
|
259
261
|
export { Wrap } from './components/src/components/Wrap/Wrap.mjs';
|
|
260
|
-
export { XAxis } from './components/src/components/XAxis/XAxis.mjs';
|
|
261
|
-
export { YAxis } from './components/src/components/YAxis/YAxis.mjs';
|
|
262
262
|
export { Render } from './components/src/lib/react/components/Render/Render.mjs';
|
|
263
263
|
export { OverlayController } from './components/src/lib/controller/overlay/OverlayController.mjs';
|
|
264
264
|
export { useOverlayController } from './components/src/lib/controller/overlay/useOverlayController.mjs';
|
|
@@ -132,14 +132,14 @@ import './components/src/components/Alert/Alert.mjs';
|
|
|
132
132
|
import './components/src/components/AlertBadge/AlertBadge.mjs';
|
|
133
133
|
import './components/src/components/Align/Align.mjs';
|
|
134
134
|
import 'recharts';
|
|
135
|
+
import './components/src/components/Heading/Heading.mjs';
|
|
136
|
+
import './components/src/components/Text/Text.mjs';
|
|
137
|
+
import './components/src/lib/tokens/CategoricalColors.mjs';
|
|
135
138
|
import './components/src/components/Autocomplete/Autocomplete.mjs';
|
|
136
139
|
import './components/src/components/Avatar/Avatar.mjs';
|
|
137
140
|
import './components/src/components/Badge/Badge.mjs';
|
|
138
141
|
import 'react-aria-components';
|
|
139
142
|
export { BrowserOnly } from './components/src/components/BrowserOnly/BrowserOnly.mjs';
|
|
140
|
-
import './components/src/components/Text/Text.mjs';
|
|
141
|
-
import './components/src/lib/tokens/CategoricalColors.mjs';
|
|
142
|
-
import './components/src/components/Heading/Heading.mjs';
|
|
143
143
|
import './components/src/components/Checkbox/Checkbox.mjs';
|
|
144
144
|
import './components/src/components/CheckboxButton/CheckboxButton.mjs';
|
|
145
145
|
import './components/src/components/CheckboxGroup/CheckboxGroup.mjs';
|
package/dist/types/components/{AreaChart/AreaChart.d.ts → CartesianChart/CartesianChart.d.ts}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CategoricalChartProps } from 'recharts/types/chart/generateCategoricalChart';
|
|
2
2
|
import { default as React, FC, PropsWithChildren } from 'react';
|
|
3
|
-
export interface
|
|
3
|
+
export interface CartesianChartEmptyViewProps {
|
|
4
4
|
data?: CategoricalChartProps["data"];
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface CartesianChartProps extends Pick<CategoricalChartProps, "data" | "className" | "syncId" | "syncMethod">, PropsWithChildren {
|
|
7
7
|
height?: string;
|
|
8
8
|
/** View that is provided when data is empty/undefined */
|
|
9
|
-
emptyView?: React.ComponentType<
|
|
9
|
+
emptyView?: React.ComponentType<CartesianChartEmptyViewProps>;
|
|
10
10
|
/**
|
|
11
11
|
* Allow the height controlling container to set flex-grow: 1. Can only be
|
|
12
12
|
* used in combination with `height`
|
|
@@ -14,6 +14,6 @@ export interface AreaChartProps extends Pick<CategoricalChartProps, "data" | "cl
|
|
|
14
14
|
flexGrow?: boolean;
|
|
15
15
|
}
|
|
16
16
|
/** @flr-generate all */
|
|
17
|
-
export declare const
|
|
18
|
-
export default
|
|
19
|
-
//# sourceMappingURL=
|
|
17
|
+
export declare const CartesianChart: FC<CartesianChartProps>;
|
|
18
|
+
export default CartesianChart;
|
|
19
|
+
//# sourceMappingURL=CartesianChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartesianChart.d.ts","sourceRoot":"","sources":["../../../../src/components/CartesianChart/CartesianChart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,KAAK,EAAE,EAMZ,KAAK,EAAE,EACP,KAAK,iBAAiB,EAGvB,MAAM,OAAO,CAAC;AAOf,MAAM,WAAW,4BAA4B;IAC3C,IAAI,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,mBACf,SAAQ,IAAI,CACR,qBAAqB,EACrB,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,YAAY,CAC/C,EACD,iBAAiB;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAAC;IAC9D;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAwB;AACxB,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAyGlD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Area.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Area/Area.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAGxE,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,QAAQ,CAAC,SAAS,EAChB,WAAW,GACX,SAAS,GACT,SAAS,GACT,aAAa,GACb,KAAK,GACL,SAAS,GACT,SAAS,GACT,MAAM,GACN,MAAM,CACT;IACD,kDAAkD;IAClD,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAG3B;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAsB9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Area/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Area/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,IAAI,EAAE,aAAa,CAAC,OAAO,IAAI,CAAC,CAAC;KAClC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AreaDot.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/AreaDot/AreaDot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,KAAK,QAAQ,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,QAAQ,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAqB7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/AreaDot/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartesianGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/CartesianGrid/CartesianGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,QAAQ,CAAC,kBAAkB,EAC3B,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,iBAAiB,CAC5D,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAWhD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/CartesianGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
package/dist/types/components/{CartesianGrid → CartesianChart/components/CartesianGrid}/view.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CartesianGrid } from './CartesianGrid';
|
|
2
|
-
import { ViewComponent } from '
|
|
2
|
+
import { ViewComponent } from '../../../../lib/viewComponentContext';
|
|
3
3
|
declare global {
|
|
4
4
|
interface FlowViewComponents {
|
|
5
5
|
CartesianGrid: ViewComponent<typeof CartesianGrid>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/CartesianGrid/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,aAAa,EAAE,aAAa,CAAC,OAAO,aAAa,CAAC,CAAC;KACpD;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartLegend/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,MAAM,MAAM,oBAAoB,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;AAE5D,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,SAAS,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,QAAQ,CAAC,WAAW,EACpB,WAAW,GAAG,eAAe,CAC9B,GACC,yBAAyB,CAAC;AAE5B,wBAAwB;AACxB,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAS5C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Props } from 'recharts/types/component/DefaultLegendContent';
|
|
2
|
-
import { WithChartLegendFormatters } from '
|
|
2
|
+
import { WithChartLegendFormatters } from './ChartLegend';
|
|
3
3
|
import { FC } from 'react';
|
|
4
4
|
type LegendContentType = Omit<Props, "formatter"> & WithChartLegendFormatters;
|
|
5
5
|
declare const LegendContent: FC<LegendContentType>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartLegend/LegendContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+CAA+C,CAAC;AAC3E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,KAAK,iBAAiB,GAAG,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,yBAAyB,CAAC;AAE9E,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAgCxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartLegend/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
package/dist/types/components/{ChartLegend → CartesianChart/components/ChartLegend}/view.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChartLegend } from './ChartLegend';
|
|
2
|
-
import { ViewComponent } from '
|
|
2
|
+
import { ViewComponent } from '../../../../lib/viewComponentContext';
|
|
3
3
|
declare global {
|
|
4
4
|
interface FlowViewComponents {
|
|
5
5
|
ChartLegend: ViewComponent<typeof ChartLegend>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartLegend/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,WAAW,EAAE,aAAa,CAAC,OAAO,WAAW,CAAC,CAAC;KAChD;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartTooltip/ChartTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACV,MAAM,gDAAgD,CAAC;AAGxD,MAAM,MAAM,oBAAoB,GAAG,CACjC,KAAK,EAAE,SAAS,EAChB,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,MAAM,EACb,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,KACnB,MAAM,CAAC;AAEZ,MAAM,MAAM,uBAAuB,GAAG,CACpC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,KAC/B,MAAM,CAAC;AAEZ,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,uBAAuB,CAAC;CAC5C;AAED,MAAM,WAAW,iBACf,SAAQ,IAAI,CACR,QAAQ,CAAC,YAAY,CAAC,SAAS,EAAE,QAAQ,CAAC,EAC1C,kBAAkB,GAAG,oBAAoB,CAC1C,EACD,qBAAqB;CAAG;AAE5B,wBAAwB;AACxB,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAuB9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
2
|
-
import { WithTooltipFormatters } from '
|
|
2
|
+
import { WithTooltipFormatters } from './ChartTooltip';
|
|
3
3
|
import type * as Recharts from "recharts";
|
|
4
4
|
interface TooltipContentProps extends Pick<Recharts.TooltipContentProps<ValueType, NameType>, "active" | "payload" | "label" | "wrapperClassName">, WithTooltipFormatters {
|
|
5
5
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartTooltip/TooltipContent.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,QAAQ,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACV,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,UAAU,mBACR,SAAQ,IAAI,CACR,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,QAAQ,CAAC,EACjD,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,kBAAkB,CACpD,EACD,qBAAqB;CAAG;AAE5B,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,mDAmCxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartTooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
package/dist/types/components/{ChartTooltip → CartesianChart/components/ChartTooltip}/view.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChartTooltip } from './ChartTooltip';
|
|
2
|
-
import { ViewComponent } from '
|
|
2
|
+
import { ViewComponent } from '../../../../lib/viewComponentContext';
|
|
3
3
|
declare global {
|
|
4
4
|
interface FlowViewComponents {
|
|
5
5
|
ChartTooltip: ViewComponent<typeof ChartTooltip>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/ChartTooltip/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,YAAY,EAAE,aAAa,CAAC,OAAO,YAAY,CAAC,CAAC;KAClD;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Line/Line.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAGxE,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,QAAQ,CAAC,SAAS,EAClB,WAAW,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAC1E;IACD,kDAAkD;IAClD,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED,wBAAwB;AACxB,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAa9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Line/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/Line/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,IAAI,EAAE,aAAa,CAAC,OAAO,IAAI,CAAC,CAAC;KAClC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"XAxis.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/XAxis/XAxis.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,QAAQ,CAAC,UAAU,EACjB,WAAW,GACX,SAAS,GACT,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,UAAU,GACV,YAAY,GACZ,OAAO,GACP,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,CACT,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAYhC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/XAxis/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/XAxis/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,KAAK,EAAE,aAAa,CAAC,OAAO,KAAK,CAAC,CAAC;KACpC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"YAxis.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/YAxis/YAxis.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAGrC,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,QAAQ,CAAC,UAAU,EACjB,WAAW,GACX,SAAS,GACT,aAAa,GACb,eAAe,GACf,UAAU,GACV,YAAY,GACZ,OAAO,GACP,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,CACT,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAgBhC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/YAxis/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CartesianChart/components/YAxis/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,KAAK,EAAE,aAAa,CAAC,OAAO,KAAK,CAAC,CAAC;KACpC;CACF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default } from './CartesianChart';
|
|
2
|
+
export { type CartesianChartProps, CartesianChart, type CartesianChartEmptyViewProps, } from './CartesianChart';
|
|
3
|
+
export * from './components/Area';
|
|
4
|
+
export * from './components/Line';
|
|
5
|
+
export * from './components/ChartTooltip';
|
|
6
|
+
export * from './components/CartesianGrid';
|
|
7
|
+
export * from './components/ChartLegend';
|
|
8
|
+
export * from './components/YAxis';
|
|
9
|
+
export * from './components/XAxis';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CartesianChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EACL,KAAK,mBAAmB,EACxB,cAAc,EACd,KAAK,4BAA4B,GAClC,MAAM,kBAAkB,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { default as
|
|
3
|
-
type Story = StoryObj<typeof
|
|
4
|
-
declare const meta: Meta<typeof
|
|
2
|
+
import { default as CartesianChart } from '../CartesianChart';
|
|
3
|
+
type Story = StoryObj<typeof CartesianChart>;
|
|
4
|
+
declare const meta: Meta<typeof CartesianChart>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const MultipleSynced: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/CartesianChart/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAwD/C,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAUrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAyB5B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAsB3B,CAAC;AA8BF,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CartesianChart } from './CartesianChart';
|
|
2
|
+
import { ViewComponent } from '../../lib/viewComponentContext';
|
|
3
|
+
declare global {
|
|
4
|
+
interface FlowViewComponents {
|
|
5
|
+
CartesianChart: ViewComponent<typeof CartesianChart>;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/components/CartesianChart/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,cAAc,EAAE,aAAa,CAAC,OAAO,cAAc,CAAC,CAAC;KACtD;CACF"}
|
|
@@ -7,7 +7,7 @@ export * from './Alert';
|
|
|
7
7
|
export * from './AlertBadge';
|
|
8
8
|
export * from './AlertIcon';
|
|
9
9
|
export * from './Align';
|
|
10
|
-
export * from './
|
|
10
|
+
export * from './CartesianChart';
|
|
11
11
|
export * from './Autocomplete';
|
|
12
12
|
export * from './Avatar';
|
|
13
13
|
export * from './AvatarStack';
|
|
@@ -16,9 +16,6 @@ export * from './BigNumber';
|
|
|
16
16
|
export * from './Breadcrumb';
|
|
17
17
|
export * from './BrowserOnly';
|
|
18
18
|
export * from './Button';
|
|
19
|
-
export * from './CartesianGrid';
|
|
20
|
-
export * from './ChartLegend';
|
|
21
|
-
export * from './ChartTooltip';
|
|
22
19
|
export * from './Chat';
|
|
23
20
|
export * from './Checkbox';
|
|
24
21
|
export * from './CheckboxButton';
|
|
@@ -100,7 +97,5 @@ export * from './TranslationProvider';
|
|
|
100
97
|
export * from './Tooltip';
|
|
101
98
|
export * from './TunnelEntry';
|
|
102
99
|
export * from './Wrap';
|
|
103
|
-
export * from './XAxis';
|
|
104
|
-
export * from './YAxis';
|
|
105
100
|
export * from '../lib/react/components/Render';
|
|
106
101
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/public.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/components/public.ts"],"names":[],"mappings":"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"}
|