@mittwald/flow-react-components 0.2.0-alpha.674 → 0.2.0-alpha.675
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 +6 -0
- package/dist/assets/doc-properties.json +122 -122
- package/dist/css/all.css +1 -1
- package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs +36 -188
- package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs.map +1 -1
- package/dist/js/components/src/components/CartesianChart/CartesianChart.module.scss.mjs +4 -2
- package/dist/js/components/src/components/CartesianChart/CartesianChart.module.scss.mjs.map +1 -1
- package/dist/js/components/src/components/CartesianChart/hooks/useChartClipRect.mjs +71 -0
- package/dist/js/components/src/components/CartesianChart/hooks/useChartClipRect.mjs.map +1 -0
- package/dist/js/flr-universal.mjs +2 -0
- package/dist/js/flr-universal.mjs.map +1 -1
- package/dist/types/components/CartesianChart/CartesianChart.d.ts +6 -5
- package/dist/types/components/CartesianChart/CartesianChart.d.ts.map +1 -1
- package/dist/types/components/CartesianChart/hooks/useChartClipRect.d.ts +2 -0
- package/dist/types/components/CartesianChart/hooks/useChartClipRect.d.ts.map +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.2.0-alpha.675](https://github.com/mittwald/flow/compare/0.2.0-alpha.674...0.2.0-alpha.675) (2026-02-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **CartesianChart:** refactor chart ([#2309](https://github.com/mittwald/flow/issues/2309)) ([dbf2adb](https://github.com/mittwald/flow/commit/dbf2adbc9f230af565e6603b9f2e2fae8bb715a6))
|
|
11
|
+
|
|
6
12
|
# [0.2.0-alpha.674](https://github.com/mittwald/flow/compare/0.2.0-alpha.673...0.2.0-alpha.674) (2026-02-10)
|
|
7
13
|
|
|
8
14
|
### Features
|
|
@@ -219689,7 +219689,7 @@
|
|
|
219689
219689
|
],
|
|
219690
219690
|
"required": false,
|
|
219691
219691
|
"type": {
|
|
219692
|
-
"name": "
|
|
219692
|
+
"name": "ReactNode"
|
|
219693
219693
|
}
|
|
219694
219694
|
},
|
|
219695
219695
|
"flexGrow": {
|
|
@@ -222180,7 +222180,7 @@
|
|
|
222180
222180
|
},
|
|
222181
222181
|
{
|
|
222182
222182
|
"tags": {},
|
|
222183
|
-
"filePath": "
|
|
222183
|
+
"filePath": "src/components/BrowserOnly/BrowserOnly.tsx",
|
|
222184
222184
|
"description": "",
|
|
222185
222185
|
"displayName": "BrowserOnly",
|
|
222186
222186
|
"methods": [],
|
|
@@ -222206,7 +222206,7 @@
|
|
|
222206
222206
|
"tags": {
|
|
222207
222207
|
"flr-generate": "all"
|
|
222208
222208
|
},
|
|
222209
|
-
"filePath": "
|
|
222209
|
+
"filePath": "src/components/Breadcrumb/Breadcrumb.tsx",
|
|
222210
222210
|
"description": "",
|
|
222211
222211
|
"displayName": "Breadcrumb",
|
|
222212
222212
|
"methods": [],
|
|
@@ -222218,12 +222218,12 @@
|
|
|
222218
222218
|
"description": "The color of the breadcrumb.",
|
|
222219
222219
|
"name": "color",
|
|
222220
222220
|
"parent": {
|
|
222221
|
-
"fileName": "
|
|
222221
|
+
"fileName": "src/components/Breadcrumb/Breadcrumb.tsx",
|
|
222222
222222
|
"name": "BreadcrumbProps"
|
|
222223
222223
|
},
|
|
222224
222224
|
"declarations": [
|
|
222225
222225
|
{
|
|
222226
|
-
"fileName": "
|
|
222226
|
+
"fileName": "src/components/Breadcrumb/Breadcrumb.tsx",
|
|
222227
222227
|
"name": "BreadcrumbProps"
|
|
222228
222228
|
}
|
|
222229
222229
|
],
|
|
@@ -223794,7 +223794,7 @@
|
|
|
223794
223794
|
"tags": {
|
|
223795
223795
|
"flr-generate": "all"
|
|
223796
223796
|
},
|
|
223797
|
-
"filePath": "
|
|
223797
|
+
"filePath": "src/components/BigNumber/BigNumber.tsx",
|
|
223798
223798
|
"description": "",
|
|
223799
223799
|
"displayName": "BigNumber",
|
|
223800
223800
|
"methods": [],
|
|
@@ -224038,7 +224038,7 @@
|
|
|
224038
224038
|
"tags": {
|
|
224039
224039
|
"flr-generate": "all"
|
|
224040
224040
|
},
|
|
224041
|
-
"filePath": "
|
|
224041
|
+
"filePath": "src/components/AvatarStack/AvatarStack.tsx",
|
|
224042
224042
|
"description": "",
|
|
224043
224043
|
"displayName": "AvatarStack",
|
|
224044
224044
|
"methods": [],
|
|
@@ -224048,12 +224048,12 @@
|
|
|
224048
224048
|
"description": "The total count of items, as avatars should only be displayed for the first\nview",
|
|
224049
224049
|
"name": "totalCount",
|
|
224050
224050
|
"parent": {
|
|
224051
|
-
"fileName": "
|
|
224051
|
+
"fileName": "src/components/AvatarStack/AvatarStack.tsx",
|
|
224052
224052
|
"name": "AvatarStackProps"
|
|
224053
224053
|
},
|
|
224054
224054
|
"declarations": [
|
|
224055
224055
|
{
|
|
224056
|
-
"fileName": "
|
|
224056
|
+
"fileName": "src/components/AvatarStack/AvatarStack.tsx",
|
|
224057
224057
|
"name": "AvatarStackProps"
|
|
224058
224058
|
}
|
|
224059
224059
|
],
|
|
@@ -224067,12 +224067,12 @@
|
|
|
224067
224067
|
"description": "The onPress action of the additional items count element",
|
|
224068
224068
|
"name": "onCountPress",
|
|
224069
224069
|
"parent": {
|
|
224070
|
-
"fileName": "
|
|
224070
|
+
"fileName": "src/components/AvatarStack/AvatarStack.tsx",
|
|
224071
224071
|
"name": "AvatarStackProps"
|
|
224072
224072
|
},
|
|
224073
224073
|
"declarations": [
|
|
224074
224074
|
{
|
|
224075
|
-
"fileName": "
|
|
224075
|
+
"fileName": "src/components/AvatarStack/AvatarStack.tsx",
|
|
224076
224076
|
"name": "AvatarStackProps"
|
|
224077
224077
|
}
|
|
224078
224078
|
],
|
|
@@ -224088,12 +224088,12 @@
|
|
|
224088
224088
|
"description": "The size of the avatars inside the stack.",
|
|
224089
224089
|
"name": "size",
|
|
224090
224090
|
"parent": {
|
|
224091
|
-
"fileName": "
|
|
224091
|
+
"fileName": "src/components/AvatarStack/AvatarStack.tsx",
|
|
224092
224092
|
"name": "AvatarStackProps"
|
|
224093
224093
|
},
|
|
224094
224094
|
"declarations": [
|
|
224095
224095
|
{
|
|
224096
|
-
"fileName": "
|
|
224096
|
+
"fileName": "src/components/AvatarStack/AvatarStack.tsx",
|
|
224097
224097
|
"name": "AvatarStackProps"
|
|
224098
224098
|
}
|
|
224099
224099
|
],
|
|
@@ -295812,9 +295812,9 @@
|
|
|
295812
295812
|
"tags": {
|
|
295813
295813
|
"flr-generate": "all"
|
|
295814
295814
|
},
|
|
295815
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/RadioGroup/components/
|
|
295815
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/RadioGroup/components/Radio/Radio.tsx",
|
|
295816
295816
|
"description": "",
|
|
295817
|
-
"displayName": "
|
|
295817
|
+
"displayName": "Radio",
|
|
295818
295818
|
"methods": [],
|
|
295819
295819
|
"props": {
|
|
295820
295820
|
"className": {
|
|
@@ -297702,9 +297702,9 @@
|
|
|
297702
297702
|
"tags": {
|
|
297703
297703
|
"flr-generate": "all"
|
|
297704
297704
|
},
|
|
297705
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/RadioGroup/components/
|
|
297705
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/RadioGroup/components/RadioButton/RadioButton.tsx",
|
|
297706
297706
|
"description": "",
|
|
297707
|
-
"displayName": "
|
|
297707
|
+
"displayName": "RadioButton",
|
|
297708
297708
|
"methods": [],
|
|
297709
297709
|
"props": {
|
|
297710
297710
|
"className": {
|
|
@@ -299726,6 +299726,34 @@
|
|
|
299726
299726
|
}
|
|
299727
299727
|
}
|
|
299728
299728
|
},
|
|
299729
|
+
{
|
|
299730
|
+
"tags": {},
|
|
299731
|
+
"filePath": "src/components/Popover/components/PopoverTip/PopoverTip.tsx",
|
|
299732
|
+
"description": "",
|
|
299733
|
+
"displayName": "PopoverTip",
|
|
299734
|
+
"methods": [],
|
|
299735
|
+
"props": {
|
|
299736
|
+
"className": {
|
|
299737
|
+
"defaultValue": null,
|
|
299738
|
+
"description": "The elements class name.",
|
|
299739
|
+
"name": "className",
|
|
299740
|
+
"parent": {
|
|
299741
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
299742
|
+
"name": "PropsWithClassName"
|
|
299743
|
+
},
|
|
299744
|
+
"declarations": [
|
|
299745
|
+
{
|
|
299746
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
299747
|
+
"name": "PropsWithClassName"
|
|
299748
|
+
}
|
|
299749
|
+
],
|
|
299750
|
+
"required": false,
|
|
299751
|
+
"type": {
|
|
299752
|
+
"name": "string"
|
|
299753
|
+
}
|
|
299754
|
+
}
|
|
299755
|
+
}
|
|
299756
|
+
},
|
|
299729
299757
|
{
|
|
299730
299758
|
"tags": {
|
|
299731
299759
|
"flr-generate": "all"
|
|
@@ -299904,34 +299932,6 @@
|
|
|
299904
299932
|
}
|
|
299905
299933
|
}
|
|
299906
299934
|
},
|
|
299907
|
-
{
|
|
299908
|
-
"tags": {},
|
|
299909
|
-
"filePath": "src/components/Popover/components/PopoverTip/PopoverTip.tsx",
|
|
299910
|
-
"description": "",
|
|
299911
|
-
"displayName": "PopoverTip",
|
|
299912
|
-
"methods": [],
|
|
299913
|
-
"props": {
|
|
299914
|
-
"className": {
|
|
299915
|
-
"defaultValue": null,
|
|
299916
|
-
"description": "The elements class name.",
|
|
299917
|
-
"name": "className",
|
|
299918
|
-
"parent": {
|
|
299919
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
299920
|
-
"name": "PropsWithClassName"
|
|
299921
|
-
},
|
|
299922
|
-
"declarations": [
|
|
299923
|
-
{
|
|
299924
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
299925
|
-
"name": "PropsWithClassName"
|
|
299926
|
-
}
|
|
299927
|
-
],
|
|
299928
|
-
"required": false,
|
|
299929
|
-
"type": {
|
|
299930
|
-
"name": "string"
|
|
299931
|
-
}
|
|
299932
|
-
}
|
|
299933
|
-
}
|
|
299934
|
-
},
|
|
299935
299935
|
{
|
|
299936
299936
|
"tags": {
|
|
299937
299937
|
"internal": ""
|
|
@@ -305948,14 +305948,6 @@
|
|
|
305948
305948
|
}
|
|
305949
305949
|
}
|
|
305950
305950
|
},
|
|
305951
|
-
{
|
|
305952
|
-
"tags": {},
|
|
305953
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Modal/components/OffCanvasSuspenseFallback/OffCanvasSuspenseFallback.tsx",
|
|
305954
|
-
"description": "",
|
|
305955
|
-
"displayName": "OffCanvasSuspenseFallback",
|
|
305956
|
-
"methods": [],
|
|
305957
|
-
"props": {}
|
|
305958
|
-
},
|
|
305959
305951
|
{
|
|
305960
305952
|
"tags": {},
|
|
305961
305953
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Modal/components/ModalTrigger/ModalTrigger.tsx",
|
|
@@ -306094,6 +306086,14 @@
|
|
|
306094
306086
|
}
|
|
306095
306087
|
}
|
|
306096
306088
|
},
|
|
306089
|
+
{
|
|
306090
|
+
"tags": {},
|
|
306091
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Modal/components/OffCanvasSuspenseFallback/OffCanvasSuspenseFallback.tsx",
|
|
306092
|
+
"description": "",
|
|
306093
|
+
"displayName": "OffCanvasSuspenseFallback",
|
|
306094
|
+
"methods": [],
|
|
306095
|
+
"props": {}
|
|
306096
|
+
},
|
|
306097
306097
|
{
|
|
306098
306098
|
"tags": {
|
|
306099
306099
|
"flr-generate": "all"
|
|
@@ -311474,9 +311474,9 @@
|
|
|
311474
311474
|
"tags": {
|
|
311475
311475
|
"flr-generate": "all"
|
|
311476
311476
|
},
|
|
311477
|
-
"filePath": "
|
|
311477
|
+
"filePath": "src/components/CartesianChart/components/XAxis/XAxis.tsx",
|
|
311478
311478
|
"description": "",
|
|
311479
|
-
"displayName": "
|
|
311479
|
+
"displayName": "XAxis",
|
|
311480
311480
|
"methods": [],
|
|
311481
311481
|
"props": {
|
|
311482
311482
|
"className": {
|
|
@@ -311557,16 +311557,16 @@
|
|
|
311557
311557
|
},
|
|
311558
311558
|
"scale": {
|
|
311559
311559
|
"defaultValue": null,
|
|
311560
|
-
"description": "Scale function determines how data values are mapped to visual values.\nIn other words, decided the mapping between data domain and coordinate range.\n\nIf undefined, or 'auto', the scale function is created internally according to the type of axis and data.\n\nYou can define a custom scale, either as a string shortcut to a d3 scale, or as a complete scale definition object.\n@defaultValue auto\n@example <
|
|
311560
|
+
"description": "Scale function determines how data values are mapped to visual values.\nIn other words, decided the mapping between data domain and coordinate range.\n\nIf undefined, or 'auto', the scale function is created internally according to the type of axis and data.\n\nYou can define a custom scale, either as a string shortcut to a d3 scale, or as a complete scale definition object.\n@defaultValue auto\n@example <XAxis scale=\"log\" />\n@example import { scaleLog } from 'd3-scale';\nconst scale = scaleLog().base(Math.E);\n<XAxis scale={scale} />",
|
|
311561
311561
|
"name": "scale",
|
|
311562
311562
|
"parent": {
|
|
311563
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311564
|
-
"name": "
|
|
311563
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/XAxis.d.ts",
|
|
311564
|
+
"name": "XAxisProps"
|
|
311565
311565
|
},
|
|
311566
311566
|
"declarations": [
|
|
311567
311567
|
{
|
|
311568
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311569
|
-
"name": "
|
|
311568
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/XAxis.d.ts",
|
|
311569
|
+
"name": "XAxisProps"
|
|
311570
311570
|
}
|
|
311571
311571
|
],
|
|
311572
311572
|
"required": false,
|
|
@@ -311612,18 +311612,37 @@
|
|
|
311612
311612
|
"name": "boolean"
|
|
311613
311613
|
}
|
|
311614
311614
|
},
|
|
311615
|
+
"allowDataOverflow": {
|
|
311616
|
+
"defaultValue": null,
|
|
311617
|
+
"description": "When domain of the axis is specified and the type of the axis is 'number',\nif allowDataOverflow is set to be false,\nthe domain will be adjusted when the minimum value of data is smaller than domain[0] or\nthe maximum value of data is greater than domain[1] so that the axis displays all data values.\nIf set to true, graphic elements (line, area, bars) will be clipped to conform to the specified domain.\n@defaultValue false",
|
|
311618
|
+
"name": "allowDataOverflow",
|
|
311619
|
+
"parent": {
|
|
311620
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/util/types.d.ts",
|
|
311621
|
+
"name": "RenderableAxisProps"
|
|
311622
|
+
},
|
|
311623
|
+
"declarations": [
|
|
311624
|
+
{
|
|
311625
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/util/types.d.ts",
|
|
311626
|
+
"name": "RenderableAxisProps"
|
|
311627
|
+
}
|
|
311628
|
+
],
|
|
311629
|
+
"required": false,
|
|
311630
|
+
"type": {
|
|
311631
|
+
"name": "boolean"
|
|
311632
|
+
}
|
|
311633
|
+
},
|
|
311615
311634
|
"interval": {
|
|
311616
311635
|
"defaultValue": null,
|
|
311617
|
-
"description": "If set 0, all the ticks will be shown. If set
|
|
311636
|
+
"description": "If set 0, all the ticks will be shown. If set preserveStart\", \"preserveEnd\" or \"preserveStartEnd\", the ticks which is to be shown or hidden will be calculated automatically.\n@defaultValue preserveEnd",
|
|
311618
311637
|
"name": "interval",
|
|
311619
311638
|
"parent": {
|
|
311620
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311621
|
-
"name": "
|
|
311639
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/XAxis.d.ts",
|
|
311640
|
+
"name": "XAxisProps"
|
|
311622
311641
|
},
|
|
311623
311642
|
"declarations": [
|
|
311624
311643
|
{
|
|
311625
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311626
|
-
"name": "
|
|
311644
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/XAxis.d.ts",
|
|
311645
|
+
"name": "XAxisProps"
|
|
311627
311646
|
}
|
|
311628
311647
|
],
|
|
311629
311648
|
"required": false,
|
|
@@ -311636,13 +311655,13 @@
|
|
|
311636
311655
|
"description": "The minimum gap between two adjacent tick labels\n@defaultValue 5",
|
|
311637
311656
|
"name": "minTickGap",
|
|
311638
311657
|
"parent": {
|
|
311639
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311640
|
-
"name": "
|
|
311658
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/XAxis.d.ts",
|
|
311659
|
+
"name": "XAxisProps"
|
|
311641
311660
|
},
|
|
311642
311661
|
"declarations": [
|
|
311643
311662
|
{
|
|
311644
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311645
|
-
"name": "
|
|
311663
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/XAxis.d.ts",
|
|
311664
|
+
"name": "XAxisProps"
|
|
311646
311665
|
}
|
|
311647
311666
|
],
|
|
311648
311667
|
"required": false,
|
|
@@ -311652,16 +311671,16 @@
|
|
|
311652
311671
|
},
|
|
311653
311672
|
"domain": {
|
|
311654
311673
|
"defaultValue": null,
|
|
311655
|
-
"description": "Specify the domain of axis when the axis is a number axis.\n\nIf undefined, then the domain is calculated based on the data and dataKeys.\n\nThe length of domain should be 2, and we will validate the values in domain.\n\nEach element in the array can be a number, 'auto', 'dataMin', 'dataMax', a string like 'dataMin - 20', 'dataMax + 100',\nor a function that accepts a single argument and returns a number.\n\nIf any element of domain is set to be 'auto', comprehensible scale ticks will be calculated, and the final domain of axis is generated by the ticks.\nIf a function, receives '[dataMin, dataMax]', and must return a computed domain as '[min, max]'.\n@example <
|
|
311674
|
+
"description": "Specify the domain of axis when the axis is a number axis.\n\nIf undefined, then the domain is calculated based on the data and dataKeys.\n\nThe length of domain should be 2, and we will validate the values in domain.\n\nEach element in the array can be a number, 'auto', 'dataMin', 'dataMax', a string like 'dataMin - 20', 'dataMax + 100',\nor a function that accepts a single argument and returns a number.\n\nIf any element of domain is set to be 'auto', comprehensible scale ticks will be calculated, and the final domain of axis is generated by the ticks.\nIf a function, receives '[dataMin, dataMax]', and must return a computed domain as '[min, max]'.\n@example <XAxis type=\"number\" domain={['dataMin', 'dataMax']} />\n@example <XAxis type=\"number\" domain={[0, 'dataMax']} />\n@example <XAxis type=\"number\" domain={['auto', 'auto']} />\n@example <XAxis type=\"number\" domain={[0, 'dataMax + 1000']} />\n@example <XAxis type=\"number\" domain={['dataMin - 100', 'dataMax + 100']} />\n@example <XAxis type=\"number\" domain={[dataMin => (0 - Math.abs(dataMin)), dataMax => (dataMax * 2)]} />\n@example <XAxis type=\"number\" domain={([dataMin, dataMax]) => { const absMax = Math.max(Math.abs(dataMin), Math.abs(dataMax)); return [-absMax, absMax]; }} />\n@example <XAxis type=\"number\" domain={[0, 100]} allowDataOverflow />",
|
|
311656
311675
|
"name": "domain",
|
|
311657
311676
|
"parent": {
|
|
311658
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311659
|
-
"name": "
|
|
311677
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/XAxis.d.ts",
|
|
311678
|
+
"name": "XAxisProps"
|
|
311660
311679
|
},
|
|
311661
311680
|
"declarations": [
|
|
311662
311681
|
{
|
|
311663
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311664
|
-
"name": "
|
|
311682
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/XAxis.d.ts",
|
|
311683
|
+
"name": "XAxisProps"
|
|
311665
311684
|
}
|
|
311666
311685
|
],
|
|
311667
311686
|
"required": false,
|
|
@@ -311713,9 +311732,9 @@
|
|
|
311713
311732
|
"tags": {
|
|
311714
311733
|
"flr-generate": "all"
|
|
311715
311734
|
},
|
|
311716
|
-
"filePath": "
|
|
311735
|
+
"filePath": "src/components/CartesianChart/components/YAxis/YAxis.tsx",
|
|
311717
311736
|
"description": "",
|
|
311718
|
-
"displayName": "
|
|
311737
|
+
"displayName": "YAxis",
|
|
311719
311738
|
"methods": [],
|
|
311720
311739
|
"props": {
|
|
311721
311740
|
"className": {
|
|
@@ -311796,16 +311815,16 @@
|
|
|
311796
311815
|
},
|
|
311797
311816
|
"scale": {
|
|
311798
311817
|
"defaultValue": null,
|
|
311799
|
-
"description": "Scale function determines how data values are mapped to visual values.\nIn other words, decided the mapping between data domain and coordinate range.\n\nIf undefined, or 'auto', the scale function is created internally according to the type of axis and data.\n\nYou can define a custom scale, either as a string shortcut to a d3 scale, or as a complete scale definition object.\n@defaultValue auto\n@example <
|
|
311818
|
+
"description": "Scale function determines how data values are mapped to visual values.\nIn other words, decided the mapping between data domain and coordinate range.\n\nIf undefined, or 'auto', the scale function is created internally according to the type of axis and data.\n\nYou can define a custom scale, either as a string shortcut to a d3 scale, or as a complete scale definition object.\n@defaultValue auto\n@example <YAxis scale=\"log\" />\n@example import { scaleLog } from 'd3-scale';\nconst scale = scaleLog().base(Math.E);\n<YAxis scale={scale} />",
|
|
311800
311819
|
"name": "scale",
|
|
311801
311820
|
"parent": {
|
|
311802
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311803
|
-
"name": "
|
|
311821
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/YAxis.d.ts",
|
|
311822
|
+
"name": "YAxisProps"
|
|
311804
311823
|
},
|
|
311805
311824
|
"declarations": [
|
|
311806
311825
|
{
|
|
311807
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311808
|
-
"name": "
|
|
311826
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/YAxis.d.ts",
|
|
311827
|
+
"name": "YAxisProps"
|
|
311809
311828
|
}
|
|
311810
311829
|
],
|
|
311811
311830
|
"required": false,
|
|
@@ -311853,16 +311872,16 @@
|
|
|
311853
311872
|
},
|
|
311854
311873
|
"interval": {
|
|
311855
311874
|
"defaultValue": null,
|
|
311856
|
-
"description": "If set 0, all the ticks will be shown. If set preserveStart\", \"preserveEnd\" or \"preserveStartEnd\"
|
|
311875
|
+
"description": "If set 0, all the ticks will be shown. If set \"preserveStart\", \"preserveEnd\" or \"preserveStartEnd\",\nthe ticks which is to be shown or hidden will be calculated automatically.\n@defaultValue preserveEnd",
|
|
311857
311876
|
"name": "interval",
|
|
311858
311877
|
"parent": {
|
|
311859
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311860
|
-
"name": "
|
|
311878
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/YAxis.d.ts",
|
|
311879
|
+
"name": "YAxisProps"
|
|
311861
311880
|
},
|
|
311862
311881
|
"declarations": [
|
|
311863
311882
|
{
|
|
311864
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311865
|
-
"name": "
|
|
311883
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/YAxis.d.ts",
|
|
311884
|
+
"name": "YAxisProps"
|
|
311866
311885
|
}
|
|
311867
311886
|
],
|
|
311868
311887
|
"required": false,
|
|
@@ -311875,13 +311894,13 @@
|
|
|
311875
311894
|
"description": "The minimum gap between two adjacent tick labels\n@defaultValue 5",
|
|
311876
311895
|
"name": "minTickGap",
|
|
311877
311896
|
"parent": {
|
|
311878
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311879
|
-
"name": "
|
|
311897
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/YAxis.d.ts",
|
|
311898
|
+
"name": "YAxisProps"
|
|
311880
311899
|
},
|
|
311881
311900
|
"declarations": [
|
|
311882
311901
|
{
|
|
311883
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311884
|
-
"name": "
|
|
311902
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/YAxis.d.ts",
|
|
311903
|
+
"name": "YAxisProps"
|
|
311885
311904
|
}
|
|
311886
311905
|
],
|
|
311887
311906
|
"required": false,
|
|
@@ -311891,16 +311910,16 @@
|
|
|
311891
311910
|
},
|
|
311892
311911
|
"domain": {
|
|
311893
311912
|
"defaultValue": null,
|
|
311894
|
-
"description": "Specify the domain of axis when the axis is a number axis.\n\nIf undefined, then the domain is calculated based on the data and dataKeys.\n\nThe length of domain should be 2, and we will validate the values in domain.\n\nEach element in the array can be a number, 'auto', 'dataMin', 'dataMax', a string like 'dataMin - 20', 'dataMax + 100',\nor a function that accepts a single argument and returns a number.\n\nIf any element of domain is set to be 'auto', comprehensible scale ticks will be calculated, and the final domain of axis is generated by the ticks.\nIf a function, receives '[dataMin, dataMax]', and must return a computed domain as '[min, max]'.\n@example <
|
|
311913
|
+
"description": "Specify the domain of axis when the axis is a number axis.\n\nIf undefined, then the domain is calculated based on the data and dataKeys.\n\nThe length of domain should be 2, and we will validate the values in domain.\n\nEach element in the array can be a number, 'auto', 'dataMin', 'dataMax', a string like 'dataMin - 20', 'dataMax + 100',\nor a function that accepts a single argument and returns a number.\n\nIf any element of domain is set to be 'auto', comprehensible scale ticks will be calculated, and the final domain of axis is generated by the ticks.\nIf a function, receives '[dataMin, dataMax]', and must return a computed domain as '[min, max]'.\n@example <YAxis type=\"number\" domain={['dataMin', 'dataMax']} />\n@example <YAxis type=\"number\" domain={[0, 'dataMax']} />\n@example <YAxis type=\"number\" domain={['auto', 'auto']} />\n@example <YAxis type=\"number\" domain={[0, 'dataMax + 1000']} />\n@example <YAxis type=\"number\" domain={['dataMin - 100', 'dataMax + 100']} />\n@example <YAxis type=\"number\" domain={[dataMin => (0 - Math.abs(dataMin)), dataMax => (dataMax * 2)]} />\n@example <YAxis type=\"number\" domain={([dataMin, dataMax]) => { const absMax = Math.max(Math.abs(dataMin), Math.abs(dataMax)); return [-absMax, absMax]; }} />\n@example <YAxis type=\"number\" domain={[0, 100]} allowDataOverflow />",
|
|
311895
311914
|
"name": "domain",
|
|
311896
311915
|
"parent": {
|
|
311897
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311898
|
-
"name": "
|
|
311916
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/YAxis.d.ts",
|
|
311917
|
+
"name": "YAxisProps"
|
|
311899
311918
|
},
|
|
311900
311919
|
"declarations": [
|
|
311901
311920
|
{
|
|
311902
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/
|
|
311903
|
-
"name": "
|
|
311921
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/cartesian/YAxis.d.ts",
|
|
311922
|
+
"name": "YAxisProps"
|
|
311904
311923
|
}
|
|
311905
311924
|
],
|
|
311906
311925
|
"required": false,
|
|
@@ -311945,25 +311964,6 @@
|
|
|
311945
311964
|
"type": {
|
|
311946
311965
|
"name": "((value: any, index: number) => string)"
|
|
311947
311966
|
}
|
|
311948
|
-
},
|
|
311949
|
-
"allowDataOverflow": {
|
|
311950
|
-
"defaultValue": null,
|
|
311951
|
-
"description": "When domain of the axis is specified and the type of the axis is 'number',\nif allowDataOverflow is set to be false,\nthe domain will be adjusted when the minimum value of data is smaller than domain[0] or\nthe maximum value of data is greater than domain[1] so that the axis displays all data values.\nIf set to true, graphic elements (line, area, bars) will be clipped to conform to the specified domain.\n@defaultValue false",
|
|
311952
|
-
"name": "allowDataOverflow",
|
|
311953
|
-
"parent": {
|
|
311954
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/util/types.d.ts",
|
|
311955
|
-
"name": "RenderableAxisProps"
|
|
311956
|
-
},
|
|
311957
|
-
"declarations": [
|
|
311958
|
-
{
|
|
311959
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.7.0_@types+react@19.2.10_react-dom@19.2.4_react@19.2.4__react-is@19.2.0_react@19.2.4_redux@5.0.1/node_modules/recharts/types/util/types.d.ts",
|
|
311960
|
-
"name": "RenderableAxisProps"
|
|
311961
|
-
}
|
|
311962
|
-
],
|
|
311963
|
-
"required": false,
|
|
311964
|
-
"type": {
|
|
311965
|
-
"name": "boolean"
|
|
311966
|
-
}
|
|
311967
311967
|
}
|
|
311968
311968
|
}
|
|
311969
311969
|
},
|
|
@@ -311971,7 +311971,7 @@
|
|
|
311971
311971
|
"tags": {
|
|
311972
311972
|
"flr-generate": "all"
|
|
311973
311973
|
},
|
|
311974
|
-
"filePath": "
|
|
311974
|
+
"filePath": "src/components/CartesianChart/components/Line/Line.tsx",
|
|
311975
311975
|
"description": "",
|
|
311976
311976
|
"displayName": "Line",
|
|
311977
311977
|
"methods": [],
|
|
@@ -311983,12 +311983,12 @@
|
|
|
311983
311983
|
"description": "The color of the line.",
|
|
311984
311984
|
"name": "color",
|
|
311985
311985
|
"parent": {
|
|
311986
|
-
"fileName": "
|
|
311986
|
+
"fileName": "src/components/CartesianChart/components/Line/Line.tsx",
|
|
311987
311987
|
"name": "LineProps"
|
|
311988
311988
|
},
|
|
311989
311989
|
"declarations": [
|
|
311990
311990
|
{
|
|
311991
|
-
"fileName": "
|
|
311991
|
+
"fileName": "src/components/CartesianChart/components/Line/Line.tsx",
|
|
311992
311992
|
"name": "LineProps"
|
|
311993
311993
|
}
|
|
311994
311994
|
],
|
|
@@ -312140,7 +312140,7 @@
|
|
|
312140
312140
|
"tags": {
|
|
312141
312141
|
"internal": ""
|
|
312142
312142
|
},
|
|
312143
|
-
"filePath": "
|
|
312143
|
+
"filePath": "src/components/CartesianChart/components/ChartTooltip/TooltipLegendItem.tsx",
|
|
312144
312144
|
"description": "",
|
|
312145
312145
|
"displayName": "TooltipLegendItem",
|
|
312146
312146
|
"methods": [],
|
|
@@ -312150,12 +312150,12 @@
|
|
|
312150
312150
|
"description": "",
|
|
312151
312151
|
"name": "item",
|
|
312152
312152
|
"parent": {
|
|
312153
|
-
"fileName": "
|
|
312153
|
+
"fileName": "src/components/CartesianChart/components/ChartTooltip/TooltipLegendItem.tsx",
|
|
312154
312154
|
"name": "LegendItemLabelProps"
|
|
312155
312155
|
},
|
|
312156
312156
|
"declarations": [
|
|
312157
312157
|
{
|
|
312158
|
-
"fileName": "
|
|
312158
|
+
"fileName": "src/components/CartesianChart/components/ChartTooltip/TooltipLegendItem.tsx",
|
|
312159
312159
|
"name": "LegendItemLabelProps"
|
|
312160
312160
|
}
|
|
312161
312161
|
],
|
|
@@ -312169,12 +312169,12 @@
|
|
|
312169
312169
|
"description": "",
|
|
312170
312170
|
"name": "index",
|
|
312171
312171
|
"parent": {
|
|
312172
|
-
"fileName": "
|
|
312172
|
+
"fileName": "src/components/CartesianChart/components/ChartTooltip/TooltipLegendItem.tsx",
|
|
312173
312173
|
"name": "LegendItemLabelProps"
|
|
312174
312174
|
},
|
|
312175
312175
|
"declarations": [
|
|
312176
312176
|
{
|
|
312177
|
-
"fileName": "
|
|
312177
|
+
"fileName": "src/components/CartesianChart/components/ChartTooltip/TooltipLegendItem.tsx",
|
|
312178
312178
|
"name": "LegendItemLabelProps"
|
|
312179
312179
|
}
|
|
312180
312180
|
],
|