@fluentui/react-charting 5.16.22 → 5.16.23
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 +34 -1
- package/CHANGELOG.md +14 -2
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +6 -6
- package/dist/react-charting.js +0 -1
- package/dist/react-charting.min.js +0 -1
- package/lib/AreaChart.d.ts +0 -1
- package/lib/AreaChart.js +0 -2
- package/lib/AreaChart.js.map +0 -1
- package/lib/CartesianChart.d.ts +0 -1
- package/lib/CartesianChart.js +0 -2
- package/lib/CartesianChart.js.map +0 -1
- package/lib/DonutChart.d.ts +0 -1
- package/lib/DonutChart.js +0 -2
- package/lib/DonutChart.js.map +0 -1
- package/lib/GroupedVerticalBarChart.d.ts +0 -1
- package/lib/GroupedVerticalBarChart.js +0 -2
- package/lib/GroupedVerticalBarChart.js.map +0 -1
- package/lib/HeatMapChart.d.ts +0 -1
- package/lib/HeatMapChart.js +0 -2
- package/lib/HeatMapChart.js.map +0 -1
- package/lib/HorizontalBarChart.d.ts +0 -1
- package/lib/HorizontalBarChart.js +0 -2
- package/lib/HorizontalBarChart.js.map +0 -1
- package/lib/Legends.d.ts +0 -1
- package/lib/Legends.js +0 -2
- package/lib/Legends.js.map +0 -1
- package/lib/LineChart.d.ts +0 -1
- package/lib/LineChart.js +0 -2
- package/lib/LineChart.js.map +0 -1
- package/lib/PieChart.d.ts +0 -1
- package/lib/PieChart.js +0 -2
- package/lib/PieChart.js.map +0 -1
- package/lib/SankeyChart.d.ts +0 -1
- package/lib/SankeyChart.js +0 -2
- package/lib/SankeyChart.js.map +0 -1
- package/lib/Sparkline.d.ts +0 -1
- package/lib/Sparkline.js +0 -2
- package/lib/Sparkline.js.map +0 -1
- package/lib/StackedBarChart.d.ts +0 -1
- package/lib/StackedBarChart.js +0 -2
- package/lib/StackedBarChart.js.map +0 -1
- package/lib/Styling.d.ts +0 -2
- package/lib/Styling.js +0 -8
- package/lib/Styling.js.map +0 -1
- package/lib/TreeChart.d.ts +0 -1
- package/lib/TreeChart.js +0 -2
- package/lib/TreeChart.js.map +0 -1
- package/lib/Utilities.d.ts +0 -2
- package/lib/Utilities.js +0 -20
- package/lib/Utilities.js.map +0 -1
- package/lib/VerticalBarChart.d.ts +0 -1
- package/lib/VerticalBarChart.js +0 -2
- package/lib/VerticalBarChart.js.map +0 -1
- package/lib/VerticalStackedBarChart.d.ts +0 -1
- package/lib/VerticalStackedBarChart.js +0 -2
- package/lib/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.base.d.ts +0 -92
- package/lib/components/AreaChart/AreaChart.base.js +0 -562
- package/lib/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.d.ts +0 -3
- package/lib/components/AreaChart/AreaChart.js +0 -6
- package/lib/components/AreaChart/AreaChart.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib/components/AreaChart/AreaChart.styles.js +0 -7
- package/lib/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib/components/AreaChart/AreaChart.types.d.ts +0 -37
- package/lib/components/AreaChart/AreaChart.types.js +0 -2
- package/lib/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib/components/AreaChart/index.d.ts +0 -2
- package/lib/components/AreaChart/index.js +0 -3
- package/lib/components/AreaChart/index.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.base.d.ts +0 -43
- package/lib/components/CommonComponents/CartesianChart.base.js +0 -331
- package/lib/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.d.ts +0 -3
- package/lib/components/CommonComponents/CartesianChart.js +0 -5
- package/lib/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib/components/CommonComponents/CartesianChart.styles.js +0 -163
- package/lib/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib/components/CommonComponents/CartesianChart.types.d.ts +0 -428
- package/lib/components/CommonComponents/CartesianChart.types.js +0 -2
- package/lib/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib/components/CommonComponents/index.d.ts +0 -2
- package/lib/components/CommonComponents/index.js +0 -3
- package/lib/components/CommonComponents/index.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.d.ts +0 -21
- package/lib/components/DonutChart/Arc/Arc.js +0 -86
- package/lib/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib/components/DonutChart/Arc/Arc.styles.js +0 -28
- package/lib/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/DonutChart/Arc/Arc.types.d.ts +0 -124
- package/lib/components/DonutChart/Arc/Arc.types.js +0 -2
- package/lib/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib/components/DonutChart/Arc/index.js +0 -3
- package/lib/components/DonutChart/Arc/index.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.base.d.ts +0 -50
- package/lib/components/DonutChart/DonutChart.base.js +0 -211
- package/lib/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.d.ts +0 -3
- package/lib/components/DonutChart/DonutChart.js +0 -6
- package/lib/components/DonutChart/DonutChart.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib/components/DonutChart/DonutChart.styles.js +0 -30
- package/lib/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib/components/DonutChart/DonutChart.types.d.ts +0 -63
- package/lib/components/DonutChart/DonutChart.types.js +0 -2
- package/lib/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib/components/DonutChart/Pie/Pie.js +0 -71
- package/lib/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/DonutChart/Pie/Pie.styles.js +0 -19
- package/lib/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/DonutChart/Pie/Pie.types.d.ts +0 -96
- package/lib/components/DonutChart/Pie/Pie.types.js +0 -2
- package/lib/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib/components/DonutChart/Pie/index.js +0 -3
- package/lib/components/DonutChart/Pie/index.js.map +0 -1
- package/lib/components/DonutChart/index.d.ts +0 -3
- package/lib/components/DonutChart/index.js +0 -4
- package/lib/components/DonutChart/index.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -381
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -6
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -17
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -2
- package/lib/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib/components/GroupedVerticalBarChart/index.js +0 -3
- package/lib/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
- package/lib/components/HeatMapChart/HeatMapChart.base.js +0 -498
- package/lib/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.d.ts +0 -3
- package/lib/components/HeatMapChart/HeatMapChart.js +0 -5
- package/lib/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib/components/HeatMapChart/HeatMapChart.styles.js +0 -24
- package/lib/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
- package/lib/components/HeatMapChart/HeatMapChart.types.js +0 -2
- package/lib/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib/components/HeatMapChart/index.d.ts +0 -2
- package/lib/components/HeatMapChart/index.js +0 -3
- package/lib/components/HeatMapChart/index.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -237
- package/lib/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js +0 -6
- package/lib/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -69
- package/lib/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -6
- package/lib/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib/components/HorizontalBarChart/index.js +0 -4
- package/lib/components/HorizontalBarChart/index.js.map +0 -1
- package/lib/components/Legends/Legends.base.d.ts +0 -44
- package/lib/components/Legends/Legends.base.js +0 -293
- package/lib/components/Legends/Legends.base.js.map +0 -1
- package/lib/components/Legends/Legends.d.ts +0 -3
- package/lib/components/Legends/Legends.js +0 -5
- package/lib/components/Legends/Legends.js.map +0 -1
- package/lib/components/Legends/Legends.styles.d.ts +0 -2
- package/lib/components/Legends/Legends.styles.js +0 -103
- package/lib/components/Legends/Legends.styles.js.map +0 -1
- package/lib/components/Legends/Legends.types.d.ts +0 -169
- package/lib/components/Legends/Legends.types.js +0 -2
- package/lib/components/Legends/Legends.types.js.map +0 -1
- package/lib/components/Legends/index.d.ts +0 -3
- package/lib/components/Legends/index.js +0 -4
- package/lib/components/Legends/index.js.map +0 -1
- package/lib/components/Legends/shape.d.ts +0 -9
- package/lib/components/Legends/shape.js +0 -24
- package/lib/components/Legends/shape.js.map +0 -1
- package/lib/components/LineChart/LineChart.base.d.ts +0 -84
- package/lib/components/LineChart/LineChart.base.js +0 -815
- package/lib/components/LineChart/LineChart.base.js.map +0 -1
- package/lib/components/LineChart/LineChart.d.ts +0 -3
- package/lib/components/LineChart/LineChart.js +0 -6
- package/lib/components/LineChart/LineChart.js.map +0 -1
- package/lib/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib/components/LineChart/LineChart.styles.js +0 -7
- package/lib/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib/components/LineChart/LineChart.types.d.ts +0 -72
- package/lib/components/LineChart/LineChart.types.js +0 -2
- package/lib/components/LineChart/LineChart.types.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js +0 -93
- package/lib/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
- package/lib/components/LineChart/eventAnnotation/LabelLink.js +0 -37
- package/lib/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib/components/LineChart/eventAnnotation/Textbox.js +0 -37
- package/lib/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib/components/LineChart/index.d.ts +0 -3
- package/lib/components/LineChart/index.js +0 -4
- package/lib/components/LineChart/index.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.d.ts +0 -12
- package/lib/components/PieChart/Arc/Arc.js +0 -57
- package/lib/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.styles.d.ts +0 -2
- package/lib/components/PieChart/Arc/Arc.styles.js +0 -8
- package/lib/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib/components/PieChart/Arc/Arc.types.d.ts +0 -60
- package/lib/components/PieChart/Arc/Arc.types.js +0 -2
- package/lib/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib/components/PieChart/Arc/index.d.ts +0 -2
- package/lib/components/PieChart/Arc/index.js +0 -3
- package/lib/components/PieChart/Arc/index.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib/components/PieChart/Pie/Pie.js +0 -35
- package/lib/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib/components/PieChart/Pie/Pie.styles.js +0 -6
- package/lib/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib/components/PieChart/Pie/Pie.types.d.ts +0 -46
- package/lib/components/PieChart/Pie/Pie.types.js +0 -2
- package/lib/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib/components/PieChart/Pie/index.d.ts +0 -2
- package/lib/components/PieChart/Pie/index.js +0 -3
- package/lib/components/PieChart/Pie/index.js.map +0 -1
- package/lib/components/PieChart/PieChart.base.d.ts +0 -7
- package/lib/components/PieChart/PieChart.base.js +0 -34
- package/lib/components/PieChart/PieChart.base.js.map +0 -1
- package/lib/components/PieChart/PieChart.d.ts +0 -3
- package/lib/components/PieChart/PieChart.js +0 -6
- package/lib/components/PieChart/PieChart.js.map +0 -1
- package/lib/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib/components/PieChart/PieChart.styles.js +0 -29
- package/lib/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib/components/PieChart/PieChart.types.d.ts +0 -63
- package/lib/components/PieChart/PieChart.types.js +0 -2
- package/lib/components/PieChart/PieChart.types.js.map +0 -1
- package/lib/components/PieChart/index.d.ts +0 -2
- package/lib/components/PieChart/index.js +0 -3
- package/lib/components/PieChart/index.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.base.d.ts +0 -95
- package/lib/components/SankeyChart/SankeyChart.base.js +0 -674
- package/lib/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.d.ts +0 -3
- package/lib/components/SankeyChart/SankeyChart.js +0 -6
- package/lib/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib/components/SankeyChart/SankeyChart.styles.js +0 -58
- package/lib/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib/components/SankeyChart/SankeyChart.types.d.ts +0 -83
- package/lib/components/SankeyChart/SankeyChart.types.js +0 -2
- package/lib/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib/components/SankeyChart/index.d.ts +0 -2
- package/lib/components/SankeyChart/index.js +0 -3
- package/lib/components/SankeyChart/index.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.base.d.ts +0 -20
- package/lib/components/Sparkline/Sparkline.base.js +0 -76
- package/lib/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.d.ts +0 -3
- package/lib/components/Sparkline/Sparkline.js +0 -6
- package/lib/components/Sparkline/Sparkline.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib/components/Sparkline/Sparkline.styles.js +0 -10
- package/lib/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib/components/Sparkline/Sparkline.types.d.ts +0 -51
- package/lib/components/Sparkline/Sparkline.types.js +0 -2
- package/lib/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib/components/Sparkline/index.d.ts +0 -2
- package/lib/components/Sparkline/index.js +0 -3
- package/lib/components/Sparkline/index.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js +0 -356
- package/lib/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
- package/lib/components/StackedBarChart/MultiStackedBarChart.js +0 -6
- package/lib/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -90
- package/lib/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js +0 -6
- package/lib/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
- package/lib/components/StackedBarChart/StackedBarChart.base.js +0 -311
- package/lib/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.d.ts +0 -3
- package/lib/components/StackedBarChart/StackedBarChart.js +0 -6
- package/lib/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib/components/StackedBarChart/StackedBarChart.styles.js +0 -104
- package/lib/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
- package/lib/components/StackedBarChart/StackedBarChart.types.js +0 -2
- package/lib/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib/components/StackedBarChart/index.d.ts +0 -5
- package/lib/components/StackedBarChart/index.js +0 -6
- package/lib/components/StackedBarChart/index.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib/components/TreeChart/TreeChart.base.js +0 -316
- package/lib/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.d.ts +0 -3
- package/lib/components/TreeChart/TreeChart.js +0 -5
- package/lib/components/TreeChart/TreeChart.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib/components/TreeChart/TreeChart.styles.js +0 -29
- package/lib/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib/components/TreeChart/TreeChart.types.d.ts +0 -197
- package/lib/components/TreeChart/TreeChart.types.js +0 -23
- package/lib/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib/components/TreeChart/index.d.ts +0 -2
- package/lib/components/TreeChart/index.js +0 -3
- package/lib/components/TreeChart/index.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js +0 -536
- package/lib/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
- package/lib/components/VerticalBarChart/VerticalBarChart.js +0 -6
- package/lib/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js +0 -28
- package/lib/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js +0 -2
- package/lib/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib/components/VerticalBarChart/index.d.ts +0 -2
- package/lib/components/VerticalBarChart/index.js +0 -3
- package/lib/components/VerticalBarChart/index.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -666
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -6
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -18
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -2
- package/lib/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib/components/VerticalStackedBarChart/index.js +0 -3
- package/lib/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib/index.d.ts +0 -19
- package/lib/index.js +0 -20
- package/lib/index.js.map +0 -1
- package/lib/types/IDataPoint.d.ts +0 -545
- package/lib/types/IDataPoint.js +0 -2
- package/lib/types/IDataPoint.js.map +0 -1
- package/lib/types/IEventAnnotation.d.ts +0 -6
- package/lib/types/IEventAnnotation.js +0 -2
- package/lib/types/IEventAnnotation.js.map +0 -1
- package/lib/types/ILegendDataItem.d.ts +0 -10
- package/lib/types/ILegendDataItem.js +0 -2
- package/lib/types/ILegendDataItem.js.map +0 -1
- package/lib/types/index.d.ts +0 -2
- package/lib/types/index.js +0 -3
- package/lib/types/index.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -38
- package/lib/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js +0 -6
- package/lib/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -82
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib/utilities/ChartHoverCard/index.js +0 -4
- package/lib/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib/utilities/FocusableTooltipText.js +0 -54
- package/lib/utilities/FocusableTooltipText.js.map +0 -1
- package/lib/utilities/colors.d.ts +0 -51
- package/lib/utilities/colors.js +0 -132
- package/lib/utilities/colors.js.map +0 -1
- package/lib/utilities/index.d.ts +0 -3
- package/lib/utilities/index.js +0 -4
- package/lib/utilities/index.js.map +0 -1
- package/lib/utilities/utilities.d.ts +0 -377
- package/lib/utilities/utilities.js +0 -864
- package/lib/utilities/utilities.js.map +0 -1
- package/lib/version.d.ts +0 -1
- package/lib/version.js +0 -5
- package/lib/version.js.map +0 -1
- package/lib-amd/AreaChart.d.ts +0 -1
- package/lib-amd/AreaChart.js +0 -6
- package/lib-amd/AreaChart.js.map +0 -1
- package/lib-amd/CartesianChart.d.ts +0 -1
- package/lib-amd/CartesianChart.js +0 -6
- package/lib-amd/CartesianChart.js.map +0 -1
- package/lib-amd/DonutChart.d.ts +0 -1
- package/lib-amd/DonutChart.js +0 -6
- package/lib-amd/DonutChart.js.map +0 -1
- package/lib-amd/GroupedVerticalBarChart.d.ts +0 -1
- package/lib-amd/GroupedVerticalBarChart.js +0 -6
- package/lib-amd/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/HeatMapChart.d.ts +0 -1
- package/lib-amd/HeatMapChart.js +0 -6
- package/lib-amd/HeatMapChart.js.map +0 -1
- package/lib-amd/HorizontalBarChart.d.ts +0 -1
- package/lib-amd/HorizontalBarChart.js +0 -6
- package/lib-amd/HorizontalBarChart.js.map +0 -1
- package/lib-amd/Legends.d.ts +0 -1
- package/lib-amd/Legends.js +0 -6
- package/lib-amd/Legends.js.map +0 -1
- package/lib-amd/LineChart.d.ts +0 -1
- package/lib-amd/LineChart.js +0 -6
- package/lib-amd/LineChart.js.map +0 -1
- package/lib-amd/PieChart.d.ts +0 -1
- package/lib-amd/PieChart.js +0 -6
- package/lib-amd/PieChart.js.map +0 -1
- package/lib-amd/SankeyChart.d.ts +0 -1
- package/lib-amd/SankeyChart.js +0 -6
- package/lib-amd/SankeyChart.js.map +0 -1
- package/lib-amd/Sparkline.d.ts +0 -1
- package/lib-amd/Sparkline.js +0 -6
- package/lib-amd/Sparkline.js.map +0 -1
- package/lib-amd/StackedBarChart.d.ts +0 -1
- package/lib-amd/StackedBarChart.js +0 -6
- package/lib-amd/StackedBarChart.js.map +0 -1
- package/lib-amd/Styling.d.ts +0 -2
- package/lib-amd/Styling.js +0 -75
- package/lib-amd/Styling.js.map +0 -1
- package/lib-amd/TreeChart.d.ts +0 -1
- package/lib-amd/TreeChart.js +0 -6
- package/lib-amd/TreeChart.js.map +0 -1
- package/lib-amd/Utilities.d.ts +0 -2
- package/lib-amd/Utilities.js +0 -183
- package/lib-amd/Utilities.js.map +0 -1
- package/lib-amd/VerticalBarChart.d.ts +0 -1
- package/lib-amd/VerticalBarChart.js +0 -6
- package/lib-amd/VerticalBarChart.js.map +0 -1
- package/lib-amd/VerticalStackedBarChart.d.ts +0 -1
- package/lib-amd/VerticalStackedBarChart.js +0 -6
- package/lib-amd/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.base.d.ts +0 -92
- package/lib-amd/components/AreaChart/AreaChart.base.js +0 -555
- package/lib-amd/components/AreaChart/AreaChart.base.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.d.ts +0 -3
- package/lib-amd/components/AreaChart/AreaChart.js +0 -8
- package/lib-amd/components/AreaChart/AreaChart.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.styles.d.ts +0 -2
- package/lib-amd/components/AreaChart/AreaChart.styles.js +0 -12
- package/lib-amd/components/AreaChart/AreaChart.styles.js.map +0 -1
- package/lib-amd/components/AreaChart/AreaChart.types.d.ts +0 -37
- package/lib-amd/components/AreaChart/AreaChart.types.js +0 -5
- package/lib-amd/components/AreaChart/AreaChart.types.js.map +0 -1
- package/lib-amd/components/AreaChart/index.d.ts +0 -2
- package/lib-amd/components/AreaChart/index.js +0 -7
- package/lib-amd/components/AreaChart/index.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.base.d.ts +0 -43
- package/lib-amd/components/CommonComponents/CartesianChart.base.js +0 -329
- package/lib-amd/components/CommonComponents/CartesianChart.base.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.d.ts +0 -3
- package/lib-amd/components/CommonComponents/CartesianChart.js +0 -7
- package/lib-amd/components/CommonComponents/CartesianChart.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.styles.d.ts +0 -2
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js +0 -166
- package/lib-amd/components/CommonComponents/CartesianChart.styles.js.map +0 -1
- package/lib-amd/components/CommonComponents/CartesianChart.types.d.ts +0 -428
- package/lib-amd/components/CommonComponents/CartesianChart.types.js +0 -5
- package/lib-amd/components/CommonComponents/CartesianChart.types.js.map +0 -1
- package/lib-amd/components/CommonComponents/index.d.ts +0 -2
- package/lib-amd/components/CommonComponents/index.js +0 -7
- package/lib-amd/components/CommonComponents/index.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.d.ts +0 -21
- package/lib-amd/components/DonutChart/Arc/Arc.js +0 -85
- package/lib-amd/components/DonutChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js +0 -33
- package/lib-amd/components/DonutChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/Arc.types.d.ts +0 -124
- package/lib-amd/components/DonutChart/Arc/Arc.types.js +0 -5
- package/lib-amd/components/DonutChart/Arc/Arc.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Arc/index.d.ts +0 -2
- package/lib-amd/components/DonutChart/Arc/index.js +0 -7
- package/lib-amd/components/DonutChart/Arc/index.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.base.d.ts +0 -50
- package/lib-amd/components/DonutChart/DonutChart.base.js +0 -208
- package/lib-amd/components/DonutChart/DonutChart.base.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.d.ts +0 -3
- package/lib-amd/components/DonutChart/DonutChart.js +0 -8
- package/lib-amd/components/DonutChart/DonutChart.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/DonutChart.styles.js +0 -36
- package/lib-amd/components/DonutChart/DonutChart.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/DonutChart.types.d.ts +0 -63
- package/lib-amd/components/DonutChart/DonutChart.types.js +0 -5
- package/lib-amd/components/DonutChart/DonutChart.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.d.ts +0 -15
- package/lib-amd/components/DonutChart/Pie/Pie.js +0 -69
- package/lib-amd/components/DonutChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js +0 -24
- package/lib-amd/components/DonutChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/Pie.types.d.ts +0 -96
- package/lib-amd/components/DonutChart/Pie/Pie.types.js +0 -5
- package/lib-amd/components/DonutChart/Pie/Pie.types.js.map +0 -1
- package/lib-amd/components/DonutChart/Pie/index.d.ts +0 -2
- package/lib-amd/components/DonutChart/Pie/index.js +0 -7
- package/lib-amd/components/DonutChart/Pie/index.js.map +0 -1
- package/lib-amd/components/DonutChart/index.d.ts +0 -3
- package/lib-amd/components/DonutChart/index.js +0 -8
- package/lib-amd/components/DonutChart/index.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.d.ts +0 -62
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js +0 -375
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.d.ts +0 -3
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js +0 -8
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js +0 -21
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.d.ts +0 -83
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js +0 -5
- package/lib-amd/components/GroupedVerticalBarChart/GroupedVerticalBarChart.types.js.map +0 -1
- package/lib-amd/components/GroupedVerticalBarChart/index.d.ts +0 -2
- package/lib-amd/components/GroupedVerticalBarChart/index.js +0 -7
- package/lib-amd/components/GroupedVerticalBarChart/index.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.d.ts +0 -147
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js +0 -492
- package/lib-amd/components/HeatMapChart/HeatMapChart.base.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.d.ts +0 -3
- package/lib-amd/components/HeatMapChart/HeatMapChart.js +0 -7
- package/lib-amd/components/HeatMapChart/HeatMapChart.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.d.ts +0 -2
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js +0 -29
- package/lib-amd/components/HeatMapChart/HeatMapChart.styles.js.map +0 -1
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.d.ts +0 -110
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js +0 -5
- package/lib-amd/components/HeatMapChart/HeatMapChart.types.js.map +0 -1
- package/lib-amd/components/HeatMapChart/index.d.ts +0 -2
- package/lib-amd/components/HeatMapChart/index.js +0 -7
- package/lib-amd/components/HeatMapChart/index.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.d.ts +0 -36
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js +0 -233
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.base.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.d.ts +0 -3
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js +0 -8
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js +0 -72
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.styles.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.d.ts +0 -172
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js +0 -11
- package/lib-amd/components/HorizontalBarChart/HorizontalBarChart.types.js.map +0 -1
- package/lib-amd/components/HorizontalBarChart/index.d.ts +0 -3
- package/lib-amd/components/HorizontalBarChart/index.js +0 -8
- package/lib-amd/components/HorizontalBarChart/index.js.map +0 -1
- package/lib-amd/components/Legends/Legends.base.d.ts +0 -44
- package/lib-amd/components/Legends/Legends.base.js +0 -290
- package/lib-amd/components/Legends/Legends.base.js.map +0 -1
- package/lib-amd/components/Legends/Legends.d.ts +0 -3
- package/lib-amd/components/Legends/Legends.js +0 -7
- package/lib-amd/components/Legends/Legends.js.map +0 -1
- package/lib-amd/components/Legends/Legends.styles.d.ts +0 -2
- package/lib-amd/components/Legends/Legends.styles.js +0 -107
- package/lib-amd/components/Legends/Legends.styles.js.map +0 -1
- package/lib-amd/components/Legends/Legends.types.d.ts +0 -169
- package/lib-amd/components/Legends/Legends.types.js +0 -5
- package/lib-amd/components/Legends/Legends.types.js.map +0 -1
- package/lib-amd/components/Legends/index.d.ts +0 -3
- package/lib-amd/components/Legends/index.js +0 -8
- package/lib-amd/components/Legends/index.js.map +0 -1
- package/lib-amd/components/Legends/shape.d.ts +0 -9
- package/lib-amd/components/Legends/shape.js +0 -27
- package/lib-amd/components/Legends/shape.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.base.d.ts +0 -84
- package/lib-amd/components/LineChart/LineChart.base.js +0 -809
- package/lib-amd/components/LineChart/LineChart.base.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.d.ts +0 -3
- package/lib-amd/components/LineChart/LineChart.js +0 -8
- package/lib-amd/components/LineChart/LineChart.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.styles.d.ts +0 -2
- package/lib-amd/components/LineChart/LineChart.styles.js +0 -12
- package/lib-amd/components/LineChart/LineChart.styles.js.map +0 -1
- package/lib-amd/components/LineChart/LineChart.types.d.ts +0 -72
- package/lib-amd/components/LineChart/LineChart.types.js +0 -5
- package/lib-amd/components/LineChart/LineChart.types.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.d.ts +0 -10
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js +0 -95
- package/lib-amd/components/LineChart/eventAnnotation/EventAnnotation.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.d.ts +0 -22
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js +0 -40
- package/lib-amd/components/LineChart/eventAnnotation/LabelLink.js.map +0 -1
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.d.ts +0 -13
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js +0 -40
- package/lib-amd/components/LineChart/eventAnnotation/Textbox.js.map +0 -1
- package/lib-amd/components/LineChart/index.d.ts +0 -3
- package/lib-amd/components/LineChart/index.js +0 -8
- package/lib-amd/components/LineChart/index.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.d.ts +0 -12
- package/lib-amd/components/PieChart/Arc/Arc.js +0 -56
- package/lib-amd/components/PieChart/Arc/Arc.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/Arc/Arc.styles.js +0 -13
- package/lib-amd/components/PieChart/Arc/Arc.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/Arc.types.d.ts +0 -60
- package/lib-amd/components/PieChart/Arc/Arc.types.js +0 -5
- package/lib-amd/components/PieChart/Arc/Arc.types.js.map +0 -1
- package/lib-amd/components/PieChart/Arc/index.d.ts +0 -2
- package/lib-amd/components/PieChart/Arc/index.js +0 -7
- package/lib-amd/components/PieChart/Arc/index.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.d.ts +0 -10
- package/lib-amd/components/PieChart/Pie/Pie.js +0 -35
- package/lib-amd/components/PieChart/Pie/Pie.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/Pie/Pie.styles.js +0 -12
- package/lib-amd/components/PieChart/Pie/Pie.styles.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/Pie.types.d.ts +0 -46
- package/lib-amd/components/PieChart/Pie/Pie.types.js +0 -5
- package/lib-amd/components/PieChart/Pie/Pie.types.js.map +0 -1
- package/lib-amd/components/PieChart/Pie/index.d.ts +0 -2
- package/lib-amd/components/PieChart/Pie/index.js +0 -7
- package/lib-amd/components/PieChart/Pie/index.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.base.d.ts +0 -7
- package/lib-amd/components/PieChart/PieChart.base.js +0 -35
- package/lib-amd/components/PieChart/PieChart.base.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.d.ts +0 -3
- package/lib-amd/components/PieChart/PieChart.js +0 -8
- package/lib-amd/components/PieChart/PieChart.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.styles.d.ts +0 -2
- package/lib-amd/components/PieChart/PieChart.styles.js +0 -34
- package/lib-amd/components/PieChart/PieChart.styles.js.map +0 -1
- package/lib-amd/components/PieChart/PieChart.types.d.ts +0 -63
- package/lib-amd/components/PieChart/PieChart.types.js +0 -5
- package/lib-amd/components/PieChart/PieChart.types.js.map +0 -1
- package/lib-amd/components/PieChart/index.d.ts +0 -2
- package/lib-amd/components/PieChart/index.js +0 -7
- package/lib-amd/components/PieChart/index.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.base.d.ts +0 -95
- package/lib-amd/components/SankeyChart/SankeyChart.base.js +0 -669
- package/lib-amd/components/SankeyChart/SankeyChart.base.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.d.ts +0 -3
- package/lib-amd/components/SankeyChart/SankeyChart.js +0 -8
- package/lib-amd/components/SankeyChart/SankeyChart.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.styles.d.ts +0 -2
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js +0 -62
- package/lib-amd/components/SankeyChart/SankeyChart.styles.js.map +0 -1
- package/lib-amd/components/SankeyChart/SankeyChart.types.d.ts +0 -83
- package/lib-amd/components/SankeyChart/SankeyChart.types.js +0 -5
- package/lib-amd/components/SankeyChart/SankeyChart.types.js.map +0 -1
- package/lib-amd/components/SankeyChart/index.d.ts +0 -2
- package/lib-amd/components/SankeyChart/index.js +0 -7
- package/lib-amd/components/SankeyChart/index.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.base.d.ts +0 -20
- package/lib-amd/components/Sparkline/Sparkline.base.js +0 -74
- package/lib-amd/components/Sparkline/Sparkline.base.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.d.ts +0 -3
- package/lib-amd/components/Sparkline/Sparkline.js +0 -8
- package/lib-amd/components/Sparkline/Sparkline.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.styles.d.ts +0 -2
- package/lib-amd/components/Sparkline/Sparkline.styles.js +0 -15
- package/lib-amd/components/Sparkline/Sparkline.styles.js.map +0 -1
- package/lib-amd/components/Sparkline/Sparkline.types.d.ts +0 -51
- package/lib-amd/components/Sparkline/Sparkline.types.js +0 -5
- package/lib-amd/components/Sparkline/Sparkline.types.js.map +0 -1
- package/lib-amd/components/Sparkline/index.d.ts +0 -2
- package/lib-amd/components/Sparkline/index.js +0 -7
- package/lib-amd/components/Sparkline/index.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.d.ts +0 -56
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js +0 -351
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.d.ts +0 -3
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js +0 -8
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js +0 -93
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.d.ts +0 -198
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js +0 -11
- package/lib-amd/components/StackedBarChart/MultiStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.d.ts +0 -51
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js +0 -308
- package/lib-amd/components/StackedBarChart/StackedBarChart.base.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.d.ts +0 -3
- package/lib-amd/components/StackedBarChart/StackedBarChart.js +0 -8
- package/lib-amd/components/StackedBarChart/StackedBarChart.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js +0 -108
- package/lib-amd/components/StackedBarChart/StackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.d.ts +0 -210
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js +0 -5
- package/lib-amd/components/StackedBarChart/StackedBarChart.types.js.map +0 -1
- package/lib-amd/components/StackedBarChart/index.d.ts +0 -5
- package/lib-amd/components/StackedBarChart/index.js +0 -10
- package/lib-amd/components/StackedBarChart/index.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.base.d.ts +0 -18
- package/lib-amd/components/TreeChart/TreeChart.base.js +0 -314
- package/lib-amd/components/TreeChart/TreeChart.base.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.d.ts +0 -3
- package/lib-amd/components/TreeChart/TreeChart.js +0 -7
- package/lib-amd/components/TreeChart/TreeChart.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.styles.d.ts +0 -2
- package/lib-amd/components/TreeChart/TreeChart.styles.js +0 -34
- package/lib-amd/components/TreeChart/TreeChart.styles.js.map +0 -1
- package/lib-amd/components/TreeChart/TreeChart.types.d.ts +0 -197
- package/lib-amd/components/TreeChart/TreeChart.types.js +0 -28
- package/lib-amd/components/TreeChart/TreeChart.types.js.map +0 -1
- package/lib-amd/components/TreeChart/index.d.ts +0 -2
- package/lib-amd/components/TreeChart/index.js +0 -7
- package/lib-amd/components/TreeChart/index.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.d.ts +0 -74
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js +0 -529
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.d.ts +0 -3
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js +0 -8
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js +0 -32
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.d.ts +0 -114
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js +0 -5
- package/lib-amd/components/VerticalBarChart/VerticalBarChart.types.js.map +0 -1
- package/lib-amd/components/VerticalBarChart/index.d.ts +0 -2
- package/lib-amd/components/VerticalBarChart/index.js +0 -7
- package/lib-amd/components/VerticalBarChart/index.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.d.ts +0 -85
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js +0 -659
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.base.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.d.ts +0 -3
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js +0 -8
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js +0 -22
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.styles.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.d.ts +0 -142
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js +0 -5
- package/lib-amd/components/VerticalStackedBarChart/VerticalStackedBarChart.types.js.map +0 -1
- package/lib-amd/components/VerticalStackedBarChart/index.d.ts +0 -2
- package/lib-amd/components/VerticalStackedBarChart/index.js +0 -7
- package/lib-amd/components/VerticalStackedBarChart/index.js.map +0 -1
- package/lib-amd/index.d.ts +0 -19
- package/lib-amd/index.js +0 -23
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/types/IDataPoint.d.ts +0 -545
- package/lib-amd/types/IDataPoint.js +0 -5
- package/lib-amd/types/IDataPoint.js.map +0 -1
- package/lib-amd/types/IEventAnnotation.d.ts +0 -6
- package/lib-amd/types/IEventAnnotation.js +0 -5
- package/lib-amd/types/IEventAnnotation.js.map +0 -1
- package/lib-amd/types/ILegendDataItem.d.ts +0 -10
- package/lib-amd/types/ILegendDataItem.js +0 -5
- package/lib-amd/types/ILegendDataItem.js.map +0 -1
- package/lib-amd/types/index.d.ts +0 -2
- package/lib-amd/types/index.js +0 -7
- package/lib-amd/types/index.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.d.ts +0 -6
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js +0 -39
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.base.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.d.ts +0 -2
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +0 -87
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.d.ts +0 -105
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js +0 -5
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.types.js.map +0 -1
- package/lib-amd/utilities/ChartHoverCard/index.d.ts +0 -3
- package/lib-amd/utilities/ChartHoverCard/index.js +0 -8
- package/lib-amd/utilities/ChartHoverCard/index.js.map +0 -1
- package/lib-amd/utilities/FocusableTooltipText.d.ts +0 -27
- package/lib-amd/utilities/FocusableTooltipText.js +0 -54
- package/lib-amd/utilities/FocusableTooltipText.js.map +0 -1
- package/lib-amd/utilities/colors.d.ts +0 -51
- package/lib-amd/utilities/colors.js +0 -139
- package/lib-amd/utilities/colors.js.map +0 -1
- package/lib-amd/utilities/index.d.ts +0 -3
- package/lib-amd/utilities/index.js +0 -8
- package/lib-amd/utilities/index.js.map +0 -1
- package/lib-amd/utilities/utilities.d.ts +0 -377
- package/lib-amd/utilities/utilities.js +0 -888
- package/lib-amd/utilities/utilities.js.map +0 -1
- package/lib-amd/version.d.ts +0 -1
- package/lib-amd/version.js +0 -6
- package/lib-amd/version.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChartHoverCard.base.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.base.tsx"],"names":[],"mappings":";;;;IAKA,IAAM,aAAa,GAAG,0BAAkB,EAAoD,CAAC;IAC7F;QAAwC,8CAAyC;QAAjF;;QAmCA,CAAC;QAjCQ,mCAAM,GAAb;YACQ,IAAA,KAAuF,IAAI,CAAC,KAAK,EAA/F,KAAK,WAAA,EAAE,MAAM,YAAA,EAAE,MAAM,YAAA,EAAE,MAAM,YAAA,EAAE,MAAM,YAAA,EAAE,KAAK,WAAA,EAAE,KAAK,WAAA,EAAE,kBAAkB,wBAAA,EAAE,OAAO,aAAe,CAAC;YACxG,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC,MAAO,EAAE;gBACxC,KAAK,EAAE,KAAM;gBACb,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,MAAM;gBACd,cAAc,EAAE,CAAC,CAAC,KAAK;aACxB,CAAC,CAAC;YACH,OAAO,CACL,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,kBAAkB;gBACjD,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,wBAAwB;oBACvD,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,eAAe;wBAAG,MAAM;4BAAQ,CAG7D;gBACN,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,oBAAoB;oBACnD,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,qBAAqB;wBACpD,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,iBAAiB,IAAG,6BAAqB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAO;wBAClG,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,eAAe,IAAG,6BAAqB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAO,CAC5F;oBACL,CAAC,CAAC,KAAK,IAAI,CACV,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK;wBACpC;4BACE,8BAAM,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,SAAS,IAAG,6BAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAQ;;4BAC9F,8BAAM,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,WAAW,IAAG,6BAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAQ,CAC/F,CACC,CACP,CACG;gBACL,CAAC,CAAC,kBAAkB,IAAI,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,kBAAkB,IAAG,kBAAkB,CAAO,CACpG,CACP,CAAC;QACJ,CAAC;QACH,yBAAC;IAAD,CAAC,AAnCD,CAAwC,KAAK,CAAC,SAAS,GAmCtD;IAnCY,gDAAkB","sourcesContent":["import * as React from 'react';\nimport { IChartHoverCardStyles, IChartHoverCardStyleProps, IChartHoverCardProps } from './ChartHoverCard.types';\nimport { classNamesFunction, IProcessedStyleSet } from '@fluentui/react';\nimport { convertToLocaleString } from '../index';\n\nconst getClassNames = classNamesFunction<IChartHoverCardStyleProps, IChartHoverCardStyles>();\nexport class ChartHoverCardBase extends React.Component<IChartHoverCardProps, {}> {\n private _classNames: IProcessedStyleSet<IChartHoverCardStyles>;\n public render(): React.ReactNode {\n const { color, Legend, XValue, YValue, styles, theme, ratio, descriptionMessage, culture } = this.props;\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n color: color,\n XValue: XValue,\n isRatioPresent: !!ratio,\n });\n return (\n <div className={this._classNames.calloutContentRoot}>\n <div className={this._classNames.calloutDateTimeContainer}>\n <div className={this._classNames.calloutContentX}>{XValue} </div>\n {/*TO DO if we add time for callout then will use this */}\n {/* <div className={this._classNames.calloutContentX}>07:00am</div> */}\n </div>\n <div className={this._classNames.calloutInfoContainer}>\n <div className={this._classNames.calloutBlockContainer}>\n <div className={this._classNames.calloutlegendText}>{convertToLocaleString(Legend, culture)}</div>\n <div className={this._classNames.calloutContentY}>{convertToLocaleString(YValue, culture)}</div>\n </div>\n {!!ratio && (\n <div className={this._classNames.ratio}>\n <>\n <span className={this._classNames.numerator}>{convertToLocaleString(ratio[0], culture)}</span>/\n <span className={this._classNames.denominator}>{convertToLocaleString(ratio[1], culture)}</span>\n </>\n </div>\n )}\n </div>\n {!!descriptionMessage && <div className={this._classNames.descriptionMessage}>{descriptionMessage}</div>}\n </div>\n );\n }\n}\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "../../Utilities", "./ChartHoverCard.base", "./ChartHoverCard.styles"], function (require, exports, Utilities_1, ChartHoverCard_base_1, ChartHoverCard_styles_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ChartHoverCard = void 0;
|
|
5
|
-
// Create a ChartHoverCard variant which uses these default styles and this styled subcomponent.
|
|
6
|
-
exports.ChartHoverCard = Utilities_1.styled(ChartHoverCard_base_1.ChartHoverCardBase, ChartHoverCard_styles_1.getChartHoverCardStyles);
|
|
7
|
-
});
|
|
8
|
-
//# sourceMappingURL=ChartHoverCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChartHoverCard.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.tsx"],"names":[],"mappings":";;;;IAMA,iGAAiG;IACpF,QAAA,cAAc,GAAkD,kBAAM,CAIjF,wCAAkB,EAAE,+CAAuB,CAAC,CAAC","sourcesContent":["import { styled } from '../../Utilities';\nimport * as React from 'react';\nimport { ChartHoverCardBase } from './ChartHoverCard.base';\nimport { getChartHoverCardStyles } from './ChartHoverCard.styles';\nimport { IChartHoverCardStyles, IChartHoverCardStyleProps, IChartHoverCardProps } from './ChartHoverCard.types';\n\n// Create a ChartHoverCard variant which uses these default styles and this styled subcomponent.\nexport const ChartHoverCard: React.FunctionComponent<IChartHoverCardProps> = styled<\n IChartHoverCardProps,\n IChartHoverCardStyleProps,\n IChartHoverCardStyles\n>(ChartHoverCardBase, getChartHoverCardStyles);\n"]}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "@fluentui/react/lib/Styling"], function (require, exports, Styling_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.getChartHoverCardStyles = void 0;
|
|
5
|
-
var getChartHoverCardStyles = function (props) {
|
|
6
|
-
var color = props.color, XValue = props.XValue, theme = props.theme, _a = props.isRatioPresent, isRatioPresent = _a === void 0 ? false : _a;
|
|
7
|
-
return {
|
|
8
|
-
calloutContentRoot: [
|
|
9
|
-
{
|
|
10
|
-
display: 'grid',
|
|
11
|
-
overflow: 'hidden',
|
|
12
|
-
padding: '11px 16px 10px 16px',
|
|
13
|
-
backgroundColor: theme.semanticColors.bodyBackground,
|
|
14
|
-
backgroundBlendMode: 'normal, luminosity',
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
calloutDateTimeContainer: {
|
|
18
|
-
display: 'flex',
|
|
19
|
-
flexDirection: 'row',
|
|
20
|
-
justifyContent: 'space-between',
|
|
21
|
-
},
|
|
22
|
-
calloutContentX: [
|
|
23
|
-
theme.fonts.small,
|
|
24
|
-
{
|
|
25
|
-
lineHeight: '16px',
|
|
26
|
-
opacity: '0.8',
|
|
27
|
-
color: theme.semanticColors.bodySubtext,
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
calloutBlockContainer: [
|
|
31
|
-
theme.fonts.xxLarge,
|
|
32
|
-
{
|
|
33
|
-
marginTop: XValue ? '13px' : 'unset',
|
|
34
|
-
paddingLeft: '8px',
|
|
35
|
-
lineHeight: '22px',
|
|
36
|
-
color: theme.semanticColors.bodyText,
|
|
37
|
-
borderLeft: "4px solid " + color,
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
calloutlegendText: [
|
|
41
|
-
theme.fonts.small,
|
|
42
|
-
{
|
|
43
|
-
lineHeight: '16px',
|
|
44
|
-
color: theme.semanticColors.bodyText,
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
calloutContentY: [
|
|
48
|
-
theme.fonts.xxLarge,
|
|
49
|
-
{
|
|
50
|
-
color: color ? color : theme.semanticColors.bodyText,
|
|
51
|
-
fontWeight: 'bold',
|
|
52
|
-
lineHeight: '36px',
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
calloutInfoContainer: [
|
|
56
|
-
isRatioPresent && {
|
|
57
|
-
display: 'flex',
|
|
58
|
-
alignItems: 'flex-end',
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
ratio: [
|
|
62
|
-
theme.fonts.small,
|
|
63
|
-
{
|
|
64
|
-
marginLeft: '6px',
|
|
65
|
-
color: theme.semanticColors.bodyText,
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
numerator: {
|
|
69
|
-
fontWeight: Styling_1.FontWeights.bold,
|
|
70
|
-
},
|
|
71
|
-
denominator: {
|
|
72
|
-
fontWeight: Styling_1.FontWeights.semibold,
|
|
73
|
-
},
|
|
74
|
-
descriptionMessage: [
|
|
75
|
-
theme.fonts.small,
|
|
76
|
-
{
|
|
77
|
-
color: theme.semanticColors.bodyText,
|
|
78
|
-
marginTop: '10px',
|
|
79
|
-
paddingTop: '10px',
|
|
80
|
-
borderTop: "1px solid " + theme.semanticColors.menuDivider,
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
exports.getChartHoverCardStyles = getChartHoverCardStyles;
|
|
86
|
-
});
|
|
87
|
-
//# sourceMappingURL=ChartHoverCard.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChartHoverCard.styles.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.styles.ts"],"names":[],"mappings":";;;;IAGO,IAAM,uBAAuB,GAAG,UAAC,KAAgC;QAC9D,IAAA,KAAK,GAA4C,KAAK,MAAjD,EAAE,MAAM,GAAoC,KAAK,OAAzC,EAAE,KAAK,GAA6B,KAAK,MAAlC,EAAE,KAA2B,KAAK,eAAV,EAAtB,cAAc,mBAAG,KAAK,KAAA,CAAW;QAC/D,OAAO;YACL,kBAAkB,EAAE;gBAClB;oBACE,OAAO,EAAE,MAAM;oBACf,QAAQ,EAAE,QAAQ;oBAClB,OAAO,EAAE,qBAAqB;oBAC9B,eAAe,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc;oBACpD,mBAAmB,EAAE,oBAAoB;iBAC1C;aACF;YACD,wBAAwB,EAAE;gBACxB,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,KAAK;gBACpB,cAAc,EAAE,eAAe;aAChC;YACD,eAAe,EAAE;gBACf,KAAK,CAAC,KAAK,CAAC,KAAK;gBACjB;oBACE,UAAU,EAAE,MAAM;oBAClB,OAAO,EAAE,KAAK;oBACd,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW;iBACxC;aACF;YACD,qBAAqB,EAAE;gBACrB,KAAK,CAAC,KAAK,CAAC,OAAO;gBACnB;oBACE,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;oBACpC,WAAW,EAAE,KAAK;oBAClB,UAAU,EAAE,MAAM;oBAClB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;oBACpC,UAAU,EAAE,eAAa,KAAO;iBACjC;aACF;YACD,iBAAiB,EAAE;gBACjB,KAAK,CAAC,KAAK,CAAC,KAAK;gBACjB;oBACE,UAAU,EAAE,MAAM;oBAClB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;iBACrC;aACF;YACD,eAAe,EAAE;gBACf,KAAK,CAAC,KAAK,CAAC,OAAO;gBACnB;oBACE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ;oBACpD,UAAU,EAAE,MAAM;oBAClB,UAAU,EAAE,MAAM;iBACnB;aACF;YACD,oBAAoB,EAAE;gBACpB,cAAc,IAAI;oBAChB,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,UAAU;iBACvB;aACF;YACD,KAAK,EAAE;gBACL,KAAK,CAAC,KAAK,CAAC,KAAK;gBACjB;oBACE,UAAU,EAAE,KAAK;oBACjB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;iBACrC;aACF;YACD,SAAS,EAAE;gBACT,UAAU,EAAE,qBAAW,CAAC,IAAI;aAC7B;YACD,WAAW,EAAE;gBACX,UAAU,EAAE,qBAAW,CAAC,QAAQ;aACjC;YACD,kBAAkB,EAAE;gBAClB,KAAK,CAAC,KAAK,CAAC,KAAK;gBACjB;oBACE,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;oBACpC,SAAS,EAAE,MAAM;oBACjB,UAAU,EAAE,MAAM;oBAClB,SAAS,EAAE,eAAa,KAAK,CAAC,cAAc,CAAC,WAAa;iBAC3D;aACF;SACF,CAAC;IACJ,CAAC,CAAC;IA/EW,QAAA,uBAAuB,2BA+ElC","sourcesContent":["import { IChartHoverCardStyles, IChartHoverCardStyleProps } from './ChartHoverCard.types';\nimport { FontWeights } from '@fluentui/react/lib/Styling';\n\nexport const getChartHoverCardStyles = (props: IChartHoverCardStyleProps): IChartHoverCardStyles => {\n const { color, XValue, theme, isRatioPresent = false } = props;\n return {\n calloutContentRoot: [\n {\n display: 'grid',\n overflow: 'hidden',\n padding: '11px 16px 10px 16px',\n backgroundColor: theme.semanticColors.bodyBackground,\n backgroundBlendMode: 'normal, luminosity',\n },\n ],\n calloutDateTimeContainer: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n calloutContentX: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n opacity: '0.8',\n color: theme.semanticColors.bodySubtext,\n },\n ],\n calloutBlockContainer: [\n theme.fonts.xxLarge,\n {\n marginTop: XValue ? '13px' : 'unset',\n paddingLeft: '8px',\n lineHeight: '22px',\n color: theme.semanticColors.bodyText,\n borderLeft: `4px solid ${color}`,\n },\n ],\n calloutlegendText: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n color: theme.semanticColors.bodyText,\n },\n ],\n calloutContentY: [\n theme.fonts.xxLarge,\n {\n color: color ? color : theme.semanticColors.bodyText,\n fontWeight: 'bold',\n lineHeight: '36px',\n },\n ],\n calloutInfoContainer: [\n isRatioPresent && {\n display: 'flex',\n alignItems: 'flex-end',\n },\n ],\n ratio: [\n theme.fonts.small,\n {\n marginLeft: '6px',\n color: theme.semanticColors.bodyText,\n },\n ],\n numerator: {\n fontWeight: FontWeights.bold,\n },\n denominator: {\n fontWeight: FontWeights.semibold,\n },\n descriptionMessage: [\n theme.fonts.small,\n {\n color: theme.semanticColors.bodyText,\n marginTop: '10px',\n paddingTop: '10px',\n borderTop: `1px solid ${theme.semanticColors.menuDivider}`,\n },\n ],\n };\n};\n"]}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { ITheme, IStyle, IStyleFunctionOrObject } from '@fluentui/react';
|
|
2
|
-
export interface IChartHoverCardProps {
|
|
3
|
-
/**
|
|
4
|
-
* X value for hover card
|
|
5
|
-
*/
|
|
6
|
-
XValue?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Y value for hover card
|
|
9
|
-
*/
|
|
10
|
-
YValue?: string | number | Date;
|
|
11
|
-
/**
|
|
12
|
-
* Legend value for hover card
|
|
13
|
-
*/
|
|
14
|
-
Legend?: string | number | Date;
|
|
15
|
-
/**
|
|
16
|
-
* color for hover card
|
|
17
|
-
*/
|
|
18
|
-
color?: string;
|
|
19
|
-
/**
|
|
20
|
-
* ratio to show
|
|
21
|
-
* first number is numerator
|
|
22
|
-
* and second number is denominator
|
|
23
|
-
*/
|
|
24
|
-
ratio?: [number, number];
|
|
25
|
-
/**
|
|
26
|
-
* Theme (provided through customization.)
|
|
27
|
-
*/
|
|
28
|
-
theme?: ITheme;
|
|
29
|
-
/**
|
|
30
|
-
* description message in the callout
|
|
31
|
-
*/
|
|
32
|
-
descriptionMessage?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Call to provide customized styling that will layer on top of the variant rules.
|
|
35
|
-
*/
|
|
36
|
-
styles?: IStyleFunctionOrObject<IChartHoverCardStyleProps, IChartHoverCardStyles>;
|
|
37
|
-
/**
|
|
38
|
-
* The prop used to define the culture to localized the numbers
|
|
39
|
-
*/
|
|
40
|
-
culture?: string;
|
|
41
|
-
}
|
|
42
|
-
export interface IChartHoverCardStyles {
|
|
43
|
-
/**
|
|
44
|
-
* styles for callout root-content
|
|
45
|
-
*/
|
|
46
|
-
calloutContentRoot?: IStyle;
|
|
47
|
-
/**
|
|
48
|
-
* styles for callout Date time container
|
|
49
|
-
*/
|
|
50
|
-
calloutDateTimeContainer?: IStyle;
|
|
51
|
-
/**
|
|
52
|
-
* styles for callout Date time container
|
|
53
|
-
*/
|
|
54
|
-
calloutInfoContainer?: IStyle;
|
|
55
|
-
/**
|
|
56
|
-
* styles for callout Date time container
|
|
57
|
-
*/
|
|
58
|
-
calloutBlockContainer?: IStyle;
|
|
59
|
-
/**
|
|
60
|
-
* styles for callout y-content
|
|
61
|
-
*/
|
|
62
|
-
calloutlegendText?: IStyle;
|
|
63
|
-
/**
|
|
64
|
-
* styles for callout x-content
|
|
65
|
-
*/
|
|
66
|
-
calloutContentX?: IStyle;
|
|
67
|
-
/**
|
|
68
|
-
* styles for callout y-content
|
|
69
|
-
*/
|
|
70
|
-
calloutContentY?: IStyle;
|
|
71
|
-
/**
|
|
72
|
-
* styles for denomination
|
|
73
|
-
*/
|
|
74
|
-
ratio?: IStyle;
|
|
75
|
-
/**
|
|
76
|
-
* styles for numerator
|
|
77
|
-
*/
|
|
78
|
-
numerator?: IStyle;
|
|
79
|
-
/**
|
|
80
|
-
* styles for denominator
|
|
81
|
-
*/
|
|
82
|
-
denominator?: IStyle;
|
|
83
|
-
/**
|
|
84
|
-
* styles for the description
|
|
85
|
-
*/
|
|
86
|
-
descriptionMessage?: IStyle;
|
|
87
|
-
}
|
|
88
|
-
export interface IChartHoverCardStyleProps {
|
|
89
|
-
/**
|
|
90
|
-
* Theme (provided through customization.)
|
|
91
|
-
*/
|
|
92
|
-
theme: ITheme;
|
|
93
|
-
/**
|
|
94
|
-
* color for hover card
|
|
95
|
-
*/
|
|
96
|
-
color?: string;
|
|
97
|
-
/**
|
|
98
|
-
* X value for hover card
|
|
99
|
-
*/
|
|
100
|
-
XValue?: string;
|
|
101
|
-
/**
|
|
102
|
-
* indicate if denomination is present
|
|
103
|
-
*/
|
|
104
|
-
isRatioPresent?: boolean;
|
|
105
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChartHoverCard.types.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ITheme, IStyle, IStyleFunctionOrObject } from '@fluentui/react';\nexport interface IChartHoverCardProps {\n /**\n * X value for hover card\n */\n XValue?: string;\n\n /**\n * Y value for hover card\n */\n YValue?: string | number | Date;\n\n /**\n * Legend value for hover card\n */\n Legend?: string | number | Date;\n\n /**\n * color for hover card\n */\n color?: string;\n /**\n * ratio to show\n * first number is numerator\n * and second number is denominator\n */\n ratio?: [number, number];\n /**\n * Theme (provided through customization.)\n */\n theme?: ITheme;\n /**\n * description message in the callout\n */\n descriptionMessage?: string;\n /**\n * Call to provide customized styling that will layer on top of the variant rules.\n */\n styles?: IStyleFunctionOrObject<IChartHoverCardStyleProps, IChartHoverCardStyles>;\n\n /**\n * The prop used to define the culture to localized the numbers\n */\n culture?: string;\n}\n\nexport interface IChartHoverCardStyles {\n /**\n * styles for callout root-content\n */\n calloutContentRoot?: IStyle;\n\n /**\n * styles for callout Date time container\n */\n calloutDateTimeContainer?: IStyle;\n\n /**\n * styles for callout Date time container\n */\n calloutInfoContainer?: IStyle;\n\n /**\n * styles for callout Date time container\n */\n calloutBlockContainer?: IStyle;\n\n /**\n * styles for callout y-content\n */\n calloutlegendText?: IStyle;\n\n /**\n * styles for callout x-content\n */\n calloutContentX?: IStyle;\n /**\n * styles for callout y-content\n */\n calloutContentY?: IStyle;\n /**\n * styles for denomination\n */\n ratio?: IStyle;\n /**\n * styles for numerator\n */\n numerator?: IStyle;\n /**\n * styles for denominator\n */\n denominator?: IStyle;\n /**\n * styles for the description\n */\n descriptionMessage?: IStyle;\n}\n\nexport interface IChartHoverCardStyleProps {\n /**\n * Theme (provided through customization.)\n */\n theme: ITheme;\n\n /**\n * color for hover card\n */\n color?: string;\n\n /**\n * X value for hover card\n */\n XValue?: string;\n\n /**\n * indicate if denomination is present\n */\n isRatioPresent?: boolean;\n}\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib", "./ChartHoverCard", "./ChartHoverCard.styles", "./ChartHoverCard.types"], function (require, exports, tslib_1, ChartHoverCard_1, ChartHoverCard_styles_1, ChartHoverCard_types_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
tslib_1.__exportStar(ChartHoverCard_1, exports);
|
|
5
|
-
tslib_1.__exportStar(ChartHoverCard_styles_1, exports);
|
|
6
|
-
tslib_1.__exportStar(ChartHoverCard_types_1, exports);
|
|
7
|
-
});
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/index.ts"],"names":[],"mappings":";;;IAAA,gDAAiC;IACjC,uDAAwC;IACxC,sDAAuC","sourcesContent":["export * from './ChartHoverCard';\nexport * from './ChartHoverCard.styles';\nexport * from './ChartHoverCard.types';\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ITooltipHostProps } from '@fluentui/react';
|
|
3
|
-
import { IAccessibilityProps } from '../types/index';
|
|
4
|
-
interface IFocusableTooltipTextProps {
|
|
5
|
-
className?: ITooltipHostProps['hostClassName'];
|
|
6
|
-
content?: ITooltipHostProps['content'];
|
|
7
|
-
accessibilityData?: IAccessibilityProps;
|
|
8
|
-
}
|
|
9
|
-
interface IFocusableTooltipTextState {
|
|
10
|
-
textOverflow: boolean;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Component to make the text focusable when the overflowed content is clipped
|
|
14
|
-
* because of the CSS text-overflow property.
|
|
15
|
-
*/
|
|
16
|
-
export declare class FocusableTooltipText extends React.Component<IFocusableTooltipTextProps, IFocusableTooltipTextState> {
|
|
17
|
-
private _tooltipChild;
|
|
18
|
-
private _resizeObserver?;
|
|
19
|
-
private _async;
|
|
20
|
-
constructor(props: IFocusableTooltipTextProps);
|
|
21
|
-
render(): React.ReactNode;
|
|
22
|
-
componentDidMount(): void;
|
|
23
|
-
componentWillUnmount(): void;
|
|
24
|
-
private _checkTextOverflow;
|
|
25
|
-
private _getTargetElement;
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib", "react", "@fluentui/react", "./index", "../Utilities"], function (require, exports, tslib_1, React, react_1, index_1, Utilities_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.FocusableTooltipText = void 0;
|
|
5
|
-
/**
|
|
6
|
-
* Component to make the text focusable when the overflowed content is clipped
|
|
7
|
-
* because of the CSS text-overflow property.
|
|
8
|
-
*/
|
|
9
|
-
var FocusableTooltipText = /** @class */ (function (_super) {
|
|
10
|
-
tslib_1.__extends(FocusableTooltipText, _super);
|
|
11
|
-
function FocusableTooltipText(props) {
|
|
12
|
-
var _this = _super.call(this, props) || this;
|
|
13
|
-
_this._tooltipChild = React.createRef();
|
|
14
|
-
_this._checkTextOverflow = function () {
|
|
15
|
-
var overflowElement = _this._getTargetElement();
|
|
16
|
-
var textOverflow = !!overflowElement && react_1.hasOverflow(overflowElement);
|
|
17
|
-
if (textOverflow !== _this.state.textOverflow) {
|
|
18
|
-
_this.setState({ textOverflow: textOverflow });
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
_this._getTargetElement = function () {
|
|
22
|
-
if (!_this._tooltipChild.current || !_this._tooltipChild.current.parentElement) {
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
25
|
-
return _this._tooltipChild.current.parentElement;
|
|
26
|
-
};
|
|
27
|
-
_this.state = {
|
|
28
|
-
textOverflow: false,
|
|
29
|
-
};
|
|
30
|
-
_this._async = new Utilities_1.Async(_this);
|
|
31
|
-
return _this;
|
|
32
|
-
}
|
|
33
|
-
FocusableTooltipText.prototype.render = function () {
|
|
34
|
-
var _a = this.props, className = _a.className, content = _a.content, accessibilityData = _a.accessibilityData;
|
|
35
|
-
return (React.createElement(react_1.TooltipHost, { overflowMode: react_1.TooltipOverflowMode.Self, hostClassName: className, content: content },
|
|
36
|
-
React.createElement("span", tslib_1.__assign({}, index_1.getAccessibleDataObject(accessibilityData), { ref: this._tooltipChild, "data-is-focusable": this.state.textOverflow }), content)));
|
|
37
|
-
};
|
|
38
|
-
FocusableTooltipText.prototype.componentDidMount = function () {
|
|
39
|
-
var overflowElement = this._getTargetElement();
|
|
40
|
-
if (window.ResizeObserver && overflowElement) {
|
|
41
|
-
this._resizeObserver = new ResizeObserver(this._async.debounce(this._checkTextOverflow, 500));
|
|
42
|
-
this._resizeObserver.observe(overflowElement);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
FocusableTooltipText.prototype.componentWillUnmount = function () {
|
|
46
|
-
var _a;
|
|
47
|
-
(_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
48
|
-
this._async.dispose();
|
|
49
|
-
};
|
|
50
|
-
return FocusableTooltipText;
|
|
51
|
-
}(React.Component));
|
|
52
|
-
exports.FocusableTooltipText = FocusableTooltipText;
|
|
53
|
-
});
|
|
54
|
-
//# sourceMappingURL=FocusableTooltipText.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FocusableTooltipText.js","sourceRoot":"../src/","sources":["utilities/FocusableTooltipText.tsx"],"names":[],"mappings":";;;;IAgBA;;;OAGG;IACH;QAA0C,gDAAuE;QAK/G,8BAAY,KAAiC;YAA7C,YACE,kBAAM,KAAK,CAAC,SAOb;YAZO,mBAAa,GAAG,KAAK,CAAC,SAAS,EAAmB,CAAC;YA2CnD,wBAAkB,GAAG;gBAC3B,IAAM,eAAe,GAAG,KAAI,CAAC,iBAAiB,EAAE,CAAC;gBACjD,IAAM,YAAY,GAAG,CAAC,CAAC,eAAe,IAAI,mBAAW,CAAC,eAAe,CAAC,CAAC;gBACvE,IAAI,YAAY,KAAK,KAAI,CAAC,KAAK,CAAC,YAAY,EAAE;oBAC5C,KAAI,CAAC,QAAQ,CAAC,EAAE,YAAY,cAAA,EAAE,CAAC,CAAC;iBACjC;YACH,CAAC,CAAC;YAEM,uBAAiB,GAAG;gBAC1B,IAAI,CAAC,KAAI,CAAC,aAAa,CAAC,OAAO,IAAI,CAAC,KAAI,CAAC,aAAa,CAAC,OAAO,CAAC,aAAa,EAAE;oBAC5E,OAAO,SAAS,CAAC;iBAClB;gBAED,OAAO,KAAI,CAAC,aAAa,CAAC,OAAO,CAAC,aAAa,CAAC;YAClD,CAAC,CAAC;YAlDA,KAAI,CAAC,KAAK,GAAG;gBACX,YAAY,EAAE,KAAK;aACpB,CAAC;YAEF,KAAI,CAAC,MAAM,GAAG,IAAI,iBAAK,CAAC,KAAI,CAAC,CAAC;;QAChC,CAAC;QAEM,qCAAM,GAAb;YACQ,IAAA,KAA4C,IAAI,CAAC,KAAK,EAApD,SAAS,eAAA,EAAE,OAAO,aAAA,EAAE,iBAAiB,uBAAe,CAAC;YAE7D,OAAO,CACL,oBAAC,mBAAW,IAAC,YAAY,EAAE,2BAAmB,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO;gBAC7F,iDACM,+BAAuB,CAAC,iBAAiB,CAAC,IAC9C,GAAG,EAAE,IAAI,CAAC,aAAa,uBACJ,IAAI,CAAC,KAAK,CAAC,YAAY,KAEzC,OAAO,CACH,CACK,CACf,CAAC;QACJ,CAAC;QAEM,gDAAiB,GAAxB;YACE,IAAM,eAAe,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACjD,IAAI,MAAM,CAAC,cAAc,IAAI,eAAe,EAAE;gBAC5C,IAAI,CAAC,eAAe,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,CAAC;gBAC9F,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;aAC/C;QACH,CAAC;QAEM,mDAAoB,GAA3B;;YACE,MAAA,IAAI,CAAC,eAAe,0CAAE,UAAU,EAAE,CAAC;YACnC,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACxB,CAAC;QAiBH,2BAAC;IAAD,CAAC,AA3DD,CAA0C,KAAK,CAAC,SAAS,GA2DxD;IA3DY,oDAAoB","sourcesContent":["import * as React from 'react';\nimport { hasOverflow, ITooltipHostProps, TooltipHost, TooltipOverflowMode } from '@fluentui/react';\nimport { getAccessibleDataObject } from './index';\nimport { IAccessibilityProps } from '../types/index';\nimport { Async } from '../Utilities';\n\ninterface IFocusableTooltipTextProps {\n className?: ITooltipHostProps['hostClassName'];\n content?: ITooltipHostProps['content'];\n accessibilityData?: IAccessibilityProps;\n}\n\ninterface IFocusableTooltipTextState {\n textOverflow: boolean;\n}\n\n/**\n * Component to make the text focusable when the overflowed content is clipped\n * because of the CSS text-overflow property.\n */\nexport class FocusableTooltipText extends React.Component<IFocusableTooltipTextProps, IFocusableTooltipTextState> {\n private _tooltipChild = React.createRef<HTMLSpanElement>();\n private _resizeObserver?: ResizeObserver;\n private _async: Async;\n\n constructor(props: IFocusableTooltipTextProps) {\n super(props);\n\n this.state = {\n textOverflow: false,\n };\n\n this._async = new Async(this);\n }\n\n public render(): React.ReactNode {\n const { className, content, accessibilityData } = this.props;\n\n return (\n <TooltipHost overflowMode={TooltipOverflowMode.Self} hostClassName={className} content={content}>\n <span\n {...getAccessibleDataObject(accessibilityData)}\n ref={this._tooltipChild}\n data-is-focusable={this.state.textOverflow}\n >\n {content}\n </span>\n </TooltipHost>\n );\n }\n\n public componentDidMount(): void {\n const overflowElement = this._getTargetElement();\n if (window.ResizeObserver && overflowElement) {\n this._resizeObserver = new ResizeObserver(this._async.debounce(this._checkTextOverflow, 500));\n this._resizeObserver.observe(overflowElement);\n }\n }\n\n public componentWillUnmount(): void {\n this._resizeObserver?.disconnect();\n this._async.dispose();\n }\n\n private _checkTextOverflow = (): void => {\n const overflowElement = this._getTargetElement();\n const textOverflow = !!overflowElement && hasOverflow(overflowElement);\n if (textOverflow !== this.state.textOverflow) {\n this.setState({ textOverflow });\n }\n };\n\n private _getTargetElement = (): HTMLElement | undefined => {\n if (!this._tooltipChild.current || !this._tooltipChild.current.parentElement) {\n return undefined;\n }\n\n return this._tooltipChild.current.parentElement;\n };\n}\n"]}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export declare const DataVizPalette: {
|
|
2
|
-
color1: string;
|
|
3
|
-
color2: string;
|
|
4
|
-
color3: string;
|
|
5
|
-
color4: string;
|
|
6
|
-
color5: string;
|
|
7
|
-
color6: string;
|
|
8
|
-
color7: string;
|
|
9
|
-
color8: string;
|
|
10
|
-
color9: string;
|
|
11
|
-
color10: string;
|
|
12
|
-
color11: string;
|
|
13
|
-
color12: string;
|
|
14
|
-
color13: string;
|
|
15
|
-
color14: string;
|
|
16
|
-
color15: string;
|
|
17
|
-
color16: string;
|
|
18
|
-
color17: string;
|
|
19
|
-
color18: string;
|
|
20
|
-
color19: string;
|
|
21
|
-
color20: string;
|
|
22
|
-
color21: string;
|
|
23
|
-
color22: string;
|
|
24
|
-
color23: string;
|
|
25
|
-
color24: string;
|
|
26
|
-
color25: string;
|
|
27
|
-
color26: string;
|
|
28
|
-
color27: string;
|
|
29
|
-
color28: string;
|
|
30
|
-
color29: string;
|
|
31
|
-
color30: string;
|
|
32
|
-
color31: string;
|
|
33
|
-
color32: string;
|
|
34
|
-
color33: string;
|
|
35
|
-
color34: string;
|
|
36
|
-
color35: string;
|
|
37
|
-
color36: string;
|
|
38
|
-
color37: string;
|
|
39
|
-
color38: string;
|
|
40
|
-
color39: string;
|
|
41
|
-
color40: string;
|
|
42
|
-
info: string;
|
|
43
|
-
disabled: string;
|
|
44
|
-
highError: string;
|
|
45
|
-
error: string;
|
|
46
|
-
warning: string;
|
|
47
|
-
success: string;
|
|
48
|
-
highSuccess: string;
|
|
49
|
-
};
|
|
50
|
-
export declare const getNextColor: (index: number, offset?: number, isDarkTheme?: boolean) => string;
|
|
51
|
-
export declare const getColorFromToken: (token: string, isDarkTheme?: boolean) => string;
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
define(["require", "exports"], function (require, exports) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.getColorFromToken = exports.getNextColor = exports.DataVizPalette = void 0;
|
|
5
|
-
exports.DataVizPalette = {
|
|
6
|
-
color1: 'qualitative.1',
|
|
7
|
-
color2: 'qualitative.2',
|
|
8
|
-
color3: 'qualitative.3',
|
|
9
|
-
color4: 'qualitative.4',
|
|
10
|
-
color5: 'qualitative.5',
|
|
11
|
-
color6: 'qualitative.6',
|
|
12
|
-
color7: 'qualitative.7',
|
|
13
|
-
color8: 'qualitative.8',
|
|
14
|
-
color9: 'qualitative.9',
|
|
15
|
-
color10: 'qualitative.10',
|
|
16
|
-
color11: 'qualitative.11',
|
|
17
|
-
color12: 'qualitative.12',
|
|
18
|
-
color13: 'qualitative.13',
|
|
19
|
-
color14: 'qualitative.14',
|
|
20
|
-
color15: 'qualitative.15',
|
|
21
|
-
color16: 'qualitative.16',
|
|
22
|
-
color17: 'qualitative.17',
|
|
23
|
-
color18: 'qualitative.18',
|
|
24
|
-
color19: 'qualitative.19',
|
|
25
|
-
color20: 'qualitative.20',
|
|
26
|
-
color21: 'qualitative.21',
|
|
27
|
-
color22: 'qualitative.22',
|
|
28
|
-
color23: 'qualitative.23',
|
|
29
|
-
color24: 'qualitative.24',
|
|
30
|
-
color25: 'qualitative.25',
|
|
31
|
-
color26: 'qualitative.26',
|
|
32
|
-
color27: 'qualitative.27',
|
|
33
|
-
color28: 'qualitative.28',
|
|
34
|
-
color29: 'qualitative.29',
|
|
35
|
-
color30: 'qualitative.30',
|
|
36
|
-
color31: 'qualitative.31',
|
|
37
|
-
color32: 'qualitative.32',
|
|
38
|
-
color33: 'qualitative.33',
|
|
39
|
-
color34: 'qualitative.34',
|
|
40
|
-
color35: 'qualitative.35',
|
|
41
|
-
color36: 'qualitative.36',
|
|
42
|
-
color37: 'qualitative.37',
|
|
43
|
-
color38: 'qualitative.38',
|
|
44
|
-
color39: 'qualitative.39',
|
|
45
|
-
color40: 'qualitative.40',
|
|
46
|
-
info: 'semantic.info',
|
|
47
|
-
disabled: 'semantic.disabled',
|
|
48
|
-
highError: 'semantic.highError',
|
|
49
|
-
error: 'semantic.error',
|
|
50
|
-
warning: 'semantic.warning',
|
|
51
|
-
success: 'semantic.success',
|
|
52
|
-
highSuccess: 'semantic.highSuccess',
|
|
53
|
-
};
|
|
54
|
-
var QualitativePalette = {
|
|
55
|
-
'1': ['#637cef'],
|
|
56
|
-
'2': ['#e3008c'],
|
|
57
|
-
'3': ['#2aa0a4'],
|
|
58
|
-
'4': ['#9373c0'],
|
|
59
|
-
'5': ['#13a10e'],
|
|
60
|
-
'6': ['#3a96dd'],
|
|
61
|
-
'7': ['#ca5010'],
|
|
62
|
-
'8': ['#57811b'],
|
|
63
|
-
'9': ['#b146c2'],
|
|
64
|
-
'10': ['#ae8c00'],
|
|
65
|
-
'11': ['#3c51b4', '#93a4f4'],
|
|
66
|
-
'12': ['#ad006a', '#ee5fb7'],
|
|
67
|
-
'13': ['#026467', '#4cb4b7'],
|
|
68
|
-
'14': ['#674c8c', '#a083c9'],
|
|
69
|
-
'15': ['#0e7a0b', '#27ac22'],
|
|
70
|
-
'16': ['#2c72a8', '#4fa1e1'],
|
|
71
|
-
'17': ['#9a3d0c', '#d77440'],
|
|
72
|
-
'18': ['#405f14', '#73aa24'],
|
|
73
|
-
'19': ['#863593', '#c36bd1'],
|
|
74
|
-
'20': ['#6d5700', '#d0b232'],
|
|
75
|
-
'21': ['#4f6bed'],
|
|
76
|
-
'22': ['#ea38a6'],
|
|
77
|
-
'23': ['#038387'],
|
|
78
|
-
'24': ['#8764b8'],
|
|
79
|
-
'25': ['#11910d'],
|
|
80
|
-
'26': ['#3487c7'],
|
|
81
|
-
'27': ['#d06228'],
|
|
82
|
-
'28': ['#689920'],
|
|
83
|
-
'29': ['#ba58c9'],
|
|
84
|
-
'30': ['#937700', '#c19c00'],
|
|
85
|
-
'31': ['#2c3c85', '#c8d1fa'],
|
|
86
|
-
'32': ['#7f004e', '#f7adda'],
|
|
87
|
-
'33': ['#02494c', '#9bd9db'],
|
|
88
|
-
'34': ['#4c3867', '#b29ad4'],
|
|
89
|
-
'35': ['#0b5a08', '#a7e3a5'],
|
|
90
|
-
'36': ['#20547c', '#83bdeb'],
|
|
91
|
-
'37': ['#712d09', '#df8e64'],
|
|
92
|
-
'38': ['#23330b', '#a4cc6c'],
|
|
93
|
-
'39': ['#63276d', '#cf87da'],
|
|
94
|
-
'40': ['#3a2f00', '#dac157'], // [gold.shade40, gold.tint30],
|
|
95
|
-
};
|
|
96
|
-
var SemanticPalette = {
|
|
97
|
-
info: ['#015cda'],
|
|
98
|
-
disabled: ['#dbdbdb', '#4d4d4d'],
|
|
99
|
-
highError: ['#6e0811', '#cc2635'],
|
|
100
|
-
error: ['#c50f1f', '#dc626d'],
|
|
101
|
-
warning: ['#f7630c', '#f87528'],
|
|
102
|
-
success: ['#107c10', '#54b054'],
|
|
103
|
-
highSuccess: ['#094509', '#218c21'], // [green.shade30, green.tint10],
|
|
104
|
-
};
|
|
105
|
-
var Colors = {
|
|
106
|
-
qualitative: QualitativePalette,
|
|
107
|
-
semantic: SemanticPalette,
|
|
108
|
-
};
|
|
109
|
-
var QUALITATIVE_COLORS = Object.values(QualitativePalette);
|
|
110
|
-
var TOKENS = Object.values(exports.DataVizPalette);
|
|
111
|
-
var getThemeSpecificColor = function (colors, isDarkTheme) {
|
|
112
|
-
if (colors.length === 0) {
|
|
113
|
-
return '';
|
|
114
|
-
}
|
|
115
|
-
var colorIdx = Number(isDarkTheme);
|
|
116
|
-
if (colorIdx < colors.length) {
|
|
117
|
-
return colors[colorIdx];
|
|
118
|
-
}
|
|
119
|
-
return colors[0];
|
|
120
|
-
};
|
|
121
|
-
var getNextColor = function (index, offset, isDarkTheme) {
|
|
122
|
-
if (offset === void 0) { offset = 0; }
|
|
123
|
-
if (isDarkTheme === void 0) { isDarkTheme = false; }
|
|
124
|
-
var colors = QUALITATIVE_COLORS[(index + offset) % QUALITATIVE_COLORS.length];
|
|
125
|
-
return getThemeSpecificColor(colors, isDarkTheme);
|
|
126
|
-
};
|
|
127
|
-
exports.getNextColor = getNextColor;
|
|
128
|
-
var getColorFromToken = function (token, isDarkTheme) {
|
|
129
|
-
if (isDarkTheme === void 0) { isDarkTheme = false; }
|
|
130
|
-
if (TOKENS.indexOf(token) >= 0) {
|
|
131
|
-
var _a = token.split('.'), paletteName = _a[0], colorCode = _a[1];
|
|
132
|
-
var colors = Colors[paletteName][colorCode];
|
|
133
|
-
return getThemeSpecificColor(colors, isDarkTheme);
|
|
134
|
-
}
|
|
135
|
-
return token;
|
|
136
|
-
};
|
|
137
|
-
exports.getColorFromToken = getColorFromToken;
|
|
138
|
-
});
|
|
139
|
-
//# sourceMappingURL=colors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","sourceRoot":"../src/","sources":["utilities/colors.ts"],"names":[],"mappings":";;;;IAAa,QAAA,cAAc,GAAG;QAC5B,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,eAAe;QACvB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,OAAO,EAAE,gBAAgB;QACzB,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,mBAAmB;QAC7B,SAAS,EAAE,oBAAoB;QAC/B,KAAK,EAAE,gBAAgB;QACvB,OAAO,EAAE,kBAAkB;QAC3B,OAAO,EAAE,kBAAkB;QAC3B,WAAW,EAAE,sBAAsB;KACpC,CAAC;IAUF,IAAM,kBAAkB,GAAY;QAClC,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,GAAG,EAAE,CAAC,SAAS,CAAC;QAChB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,+BAA+B;KAC9D,CAAC;IAEF,IAAM,eAAe,GAAY;QAC/B,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAChC,SAAS,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QACjC,KAAK,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC7B,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC/B,OAAO,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;QAC/B,WAAW,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,iCAAiC;KACvE,CAAC;IAEF,IAAM,MAAM,GAA+B;QACzC,WAAW,EAAE,kBAAkB;QAC/B,QAAQ,EAAE,eAAe;KAC1B,CAAC;IAEF,IAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAC7D,IAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,sBAAc,CAAC,CAAC;IAE7C,IAAM,qBAAqB,GAAG,UAAC,MAAgB,EAAE,WAAoB;QACnE,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;YACvB,OAAO,EAAE,CAAC;SACX;QACD,IAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;QACrC,IAAI,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE;YAC5B,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAC;SACzB;QACD,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC,CAAC;IAEK,IAAM,YAAY,GAAG,UAAC,KAAa,EAAE,MAAkB,EAAE,WAA4B;QAAhD,uBAAA,EAAA,UAAkB;QAAE,4BAAA,EAAA,mBAA4B;QAC1F,IAAM,MAAM,GAAG,kBAAkB,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;QAChF,OAAO,qBAAqB,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACpD,CAAC,CAAC;IAHW,QAAA,YAAY,gBAGvB;IAEK,IAAM,iBAAiB,GAAG,UAAC,KAAa,EAAE,WAA4B;QAA5B,4BAAA,EAAA,mBAA4B;QAC3E,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;YACxB,IAAA,KAA2B,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAA1C,WAAW,QAAA,EAAE,SAAS,QAAoB,CAAC;YAClD,IAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;YAC9C,OAAO,qBAAqB,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;SACnD;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IAPW,QAAA,iBAAiB,qBAO5B","sourcesContent":["export const DataVizPalette = {\n color1: 'qualitative.1',\n color2: 'qualitative.2',\n color3: 'qualitative.3',\n color4: 'qualitative.4',\n color5: 'qualitative.5',\n color6: 'qualitative.6',\n color7: 'qualitative.7',\n color8: 'qualitative.8',\n color9: 'qualitative.9',\n color10: 'qualitative.10',\n color11: 'qualitative.11',\n color12: 'qualitative.12',\n color13: 'qualitative.13',\n color14: 'qualitative.14',\n color15: 'qualitative.15',\n color16: 'qualitative.16',\n color17: 'qualitative.17',\n color18: 'qualitative.18',\n color19: 'qualitative.19',\n color20: 'qualitative.20',\n color21: 'qualitative.21',\n color22: 'qualitative.22',\n color23: 'qualitative.23',\n color24: 'qualitative.24',\n color25: 'qualitative.25',\n color26: 'qualitative.26',\n color27: 'qualitative.27',\n color28: 'qualitative.28',\n color29: 'qualitative.29',\n color30: 'qualitative.30',\n color31: 'qualitative.31',\n color32: 'qualitative.32',\n color33: 'qualitative.33',\n color34: 'qualitative.34',\n color35: 'qualitative.35',\n color36: 'qualitative.36',\n color37: 'qualitative.37',\n color38: 'qualitative.38',\n color39: 'qualitative.39',\n color40: 'qualitative.40',\n info: 'semantic.info',\n disabled: 'semantic.disabled',\n highError: 'semantic.highError',\n error: 'semantic.error',\n warning: 'semantic.warning',\n success: 'semantic.success',\n highSuccess: 'semantic.highSuccess',\n};\n\n/**\n * Key: Color code.\n * Value:\n * Index 0 - Default color / Color for light theme,\n * Index 1 - Color for dark theme\n */\ntype Palette = { [key: string]: string[] };\n\nconst QualitativePalette: Palette = {\n '1': ['#637cef'], // [cornflower.tint10],\n '2': ['#e3008c'], // [hotPink.primary],\n '3': ['#2aa0a4'], // [teal.tint20],\n '4': ['#9373c0'], // [orchid.tint10],\n '5': ['#13a10e'], // [lightGreen.primary],\n '6': ['#3a96dd'], // [lightBlue.primary],\n '7': ['#ca5010'], // [pumpkin.primary],\n '8': ['#57811b'], // [lime.shade20],\n '9': ['#b146c2'], // [lilac.primary],\n '10': ['#ae8c00'], // [gold.shade10],\n '11': ['#3c51b4', '#93a4f4'], // [cornflower.shade20, cornflower.tint30],\n '12': ['#ad006a', '#ee5fb7'], // [hotPink.shade20, hotPink.tint30],\n '13': ['#026467', '#4cb4b7'], // [teal.shade20, teal.tint30],\n '14': ['#674c8c', '#a083c9'], // [orchid.shade20, orchid.tint20],\n '15': ['#0e7a0b', '#27ac22'], // [lightGreen.shade20, lightGreen.tint10],\n '16': ['#2c72a8', '#4fa1e1'], // [lightBlue.shade20, lightBlue.tint10],\n '17': ['#9a3d0c', '#d77440'], // [pumpkin.shade20, pumpkin.tint20],\n '18': ['#405f14', '#73aa24'], // [lime.shade30, lime.primary],\n '19': ['#863593', '#c36bd1'], // [lilac.shade20, lilac.tint20],\n '20': ['#6d5700', '#d0b232'], // [gold.shade30, gold.tint20],\n '21': ['#4f6bed'], // [cornflower.primary],\n '22': ['#ea38a6'], // [hotPink.tint20],\n '23': ['#038387'], // [teal.primary],\n '24': ['#8764b8'], // [orchid.primary],\n '25': ['#11910d'], // [lightGreen.shade10],\n '26': ['#3487c7'], // [lightBlue.shade10],\n '27': ['#d06228'], // [pumpkin.tint10],\n '28': ['#689920'], // [lime.shade10],\n '29': ['#ba58c9'], // [lilac.tint10],\n '30': ['#937700', '#c19c00'], // [gold.shade20, gold.primary],\n '31': ['#2c3c85', '#c8d1fa'], // [cornflower.shade30, cornflower.tint40],\n '32': ['#7f004e', '#f7adda'], // [hotPink.shade30, hotPink.tint40],\n '33': ['#02494c', '#9bd9db'], // [teal.shade30, teal.tint40],\n '34': ['#4c3867', '#b29ad4'], // [orchid.shade30, orchid.tint30],\n '35': ['#0b5a08', '#a7e3a5'], // [lightGreen.shade30, lightGreen.tint40],\n '36': ['#20547c', '#83bdeb'], // [lightBlue.shade30, lightBlue.tint30],\n '37': ['#712d09', '#df8e64'], // [pumpkin.shade30, pumpkin.tint30],\n '38': ['#23330b', '#a4cc6c'], // [lime.shade40, lime.tint30],\n '39': ['#63276d', '#cf87da'], // [lilac.shade30, lilac.tint30],\n '40': ['#3a2f00', '#dac157'], // [gold.shade40, gold.tint30],\n};\n\nconst SemanticPalette: Palette = {\n info: ['#015cda'],\n disabled: ['#dbdbdb', '#4d4d4d'], // [grey[86], grey[30]]\n highError: ['#6e0811', '#cc2635'], // [cranberry.shade30, cranberry.tint10],\n error: ['#c50f1f', '#dc626d'], // [cranberry.primary, cranberry.tint30],\n warning: ['#f7630c', '#f87528'], // [orange.primary, orange.tint10],\n success: ['#107c10', '#54b054'], // [green.primary, green.tint30],\n highSuccess: ['#094509', '#218c21'], // [green.shade30, green.tint10],\n};\n\nconst Colors: { [key: string]: Palette } = {\n qualitative: QualitativePalette,\n semantic: SemanticPalette,\n};\n\nconst QUALITATIVE_COLORS = Object.values(QualitativePalette);\nconst TOKENS = Object.values(DataVizPalette);\n\nconst getThemeSpecificColor = (colors: string[], isDarkTheme: boolean): string => {\n if (colors.length === 0) {\n return '';\n }\n const colorIdx = Number(isDarkTheme);\n if (colorIdx < colors.length) {\n return colors[colorIdx];\n }\n return colors[0];\n};\n\nexport const getNextColor = (index: number, offset: number = 0, isDarkTheme: boolean = false): string => {\n const colors = QUALITATIVE_COLORS[(index + offset) % QUALITATIVE_COLORS.length];\n return getThemeSpecificColor(colors, isDarkTheme);\n};\n\nexport const getColorFromToken = (token: string, isDarkTheme: boolean = false): string => {\n if (TOKENS.indexOf(token) >= 0) {\n const [paletteName, colorCode] = token.split('.');\n const colors = Colors[paletteName][colorCode];\n return getThemeSpecificColor(colors, isDarkTheme);\n }\n return token;\n};\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "tslib", "./ChartHoverCard/index", "./utilities", "./colors"], function (require, exports, tslib_1, index_1, utilities_1, colors_1) {
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
|
5
|
-
tslib_1.__exportStar(utilities_1, exports);
|
|
6
|
-
tslib_1.__exportStar(colors_1, exports);
|
|
7
|
-
});
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["utilities/index.ts"],"names":[],"mappings":";;;IAAA,uCAAuC;IACvC,2CAA4B;IAC5B,wCAAyB","sourcesContent":["export * from './ChartHoverCard/index';\nexport * from './utilities';\nexport * from './colors';\n"]}
|