@fluentui/react-charting 5.18.18 → 5.19.1
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.json +43 -1
- package/CHANGELOG.md +22 -2
- package/dist/react-charting.d.ts +17 -6
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/etc/react-charting.api.md +3 -1
- package/lib/components/Legends/Legends.base.d.ts +1 -2
- package/lib/components/Legends/Legends.base.js +42 -24
- package/lib/components/Legends/Legends.base.js.map +1 -1
- package/lib/components/Legends/Legends.types.d.ts +17 -6
- package/lib/components/Legends/Legends.types.js.map +1 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +4 -4
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-amd/components/Legends/Legends.base.d.ts +1 -2
- package/lib-amd/components/Legends/Legends.base.js +42 -24
- package/lib-amd/components/Legends/Legends.base.js.map +1 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +17 -6
- package/lib-amd/components/Legends/Legends.types.js.map +1 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +4 -4
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-amd/version.js +1 -1
- package/lib-amd/version.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.base.d.ts +1 -2
- package/lib-commonjs/components/Legends/Legends.base.js +42 -24
- package/lib-commonjs/components/Legends/Legends.base.js.map +1 -1
- package/lib-commonjs/components/Legends/Legends.types.d.ts +17 -6
- package/lib-commonjs/components/Legends/Legends.types.js.map +1 -1
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js +4 -4
- package/lib-commonjs/components/StackedBarChart/MultiStackedBarChart.base.js.map +1 -1
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +3 -3
- package/src/components/Legends/Legends.types.ts +20 -7
package/lib-commonjs/version.js
CHANGED
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
// Do not modify this file; it is generated as part of publish.
|
|
4
4
|
// The checked in version is a placeholder only and will not be updated.
|
|
5
5
|
var set_version_1 = require("@fluentui/set-version");
|
|
6
|
-
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.
|
|
6
|
+
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.19.1');
|
|
7
7
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,qDAAmD;AACnD,IAAA,wBAAU,EAAC,0BAA0B,EAAE,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,qDAAmD;AACnD,IAAA,wBAAU,EAAC,0BAA0B,EAAE,QAAQ,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.19.1');"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-charting",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.19.1",
|
|
4
4
|
"description": "Experimental React charting components for building experiences for Microsoft 365.",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@fluentui/react-focus": "^8.8.34",
|
|
42
|
-
"@fluentui/theme-samples": "^8.7.
|
|
42
|
+
"@fluentui/theme-samples": "^8.7.123",
|
|
43
43
|
"@microsoft/load-themed-styles": "^1.10.26",
|
|
44
44
|
"@types/d3-array": "2.12.1",
|
|
45
45
|
"@types/d3-axis": "1.0.10",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"tslib": "^2.1.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@fluentui/react": "^8.112.
|
|
68
|
+
"@fluentui/react": "^8.112.9",
|
|
69
69
|
"@types/react": ">=16.8.0 <19.0.0",
|
|
70
70
|
"@types/react-dom": ">=16.8.0 <19.0.0",
|
|
71
71
|
"react": ">=16.8.0 <19.0.0",
|
|
@@ -201,11 +201,6 @@ export interface ILegendsProps {
|
|
|
201
201
|
*/
|
|
202
202
|
overflowText?: string;
|
|
203
203
|
|
|
204
|
-
/**
|
|
205
|
-
* Prop that takes the active legend
|
|
206
|
-
*/
|
|
207
|
-
selectedLegend?: string;
|
|
208
|
-
|
|
209
204
|
/**
|
|
210
205
|
* prop that decides if legends are focusable
|
|
211
206
|
* @default true
|
|
@@ -220,10 +215,28 @@ export interface ILegendsProps {
|
|
|
220
215
|
|
|
221
216
|
/**
|
|
222
217
|
* Defines the function that is executed upon hiding of hover card
|
|
223
|
-
* make sure to send prop when the prop is canSelectMultipleLegends is set to
|
|
224
|
-
* and empty the
|
|
218
|
+
* make sure to send prop when the prop is canSelectMultipleLegends is set to true
|
|
219
|
+
* and empty the selected state legends
|
|
225
220
|
*/
|
|
226
221
|
onLegendHoverCardLeave?: VoidFunction;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Callback issued when the selected option changes.
|
|
225
|
+
*/
|
|
226
|
+
onChange?: (selectedLegends: string[], event: React.MouseEvent<HTMLButtonElement>, currentLegend?: ILegend) => void;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Keys (title) that will be initially used to set selected items.
|
|
230
|
+
* This prop is used for multiSelect scenarios.
|
|
231
|
+
* In other cases, defaultSelectedLegend should be used.
|
|
232
|
+
*/
|
|
233
|
+
defaultSelectedLegends?: string[];
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Key that will be initially used to set selected item.
|
|
237
|
+
* This prop is used for singleSelect scenarios.
|
|
238
|
+
*/
|
|
239
|
+
defaultSelectedLegend?: string;
|
|
227
240
|
}
|
|
228
241
|
|
|
229
242
|
/**
|