@elastic/charts 51.1.1 → 51.3.0
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/README.md +3 -3
- package/dist/chart_types/flame_chart/flame_api.d.ts +2 -2
- package/dist/chart_types/flame_chart/flame_api.d.ts.map +1 -1
- package/dist/chart_types/goal_chart/specs/constants.d.ts +1 -1
- package/dist/chart_types/goal_chart/specs/constants.d.ts.map +1 -1
- package/dist/chart_types/goal_chart/specs/index.d.ts +3 -3
- package/dist/chart_types/goal_chart/specs/index.d.ts.map +1 -1
- package/dist/chart_types/heatmap/specs/heatmap.d.ts +4 -4
- package/dist/chart_types/heatmap/specs/heatmap.d.ts.map +1 -1
- package/dist/chart_types/index.d.ts +1 -1
- package/dist/chart_types/index.d.ts.map +1 -1
- package/dist/chart_types/metric/specs/index.d.ts +8 -8
- package/dist/chart_types/metric/specs/index.d.ts.map +1 -1
- package/dist/chart_types/partition_chart/layout/config.d.ts +1 -1
- package/dist/chart_types/partition_chart/layout/config.d.ts.map +1 -1
- package/dist/chart_types/partition_chart/layout/types/config_types.d.ts +2 -2
- package/dist/chart_types/partition_chart/layout/types/config_types.d.ts.map +1 -1
- package/dist/chart_types/partition_chart/layout/types/viewmodel_types.d.ts +6 -6
- package/dist/chart_types/partition_chart/layout/types/viewmodel_types.d.ts.map +1 -1
- package/dist/chart_types/partition_chart/layout/utils/group_by_rollup.d.ts +6 -6
- package/dist/chart_types/partition_chart/layout/utils/group_by_rollup.d.ts.map +1 -1
- package/dist/chart_types/partition_chart/layout/utils/highlighted_geoms.d.ts +1 -1
- package/dist/chart_types/partition_chart/layout/utils/highlighted_geoms.d.ts.map +1 -1
- package/dist/chart_types/partition_chart/layout/utils/treemap.d.ts +1 -1
- package/dist/chart_types/partition_chart/layout/utils/treemap.d.ts.map +1 -1
- package/dist/chart_types/partition_chart/specs/index.d.ts +1 -1
- package/dist/chart_types/partition_chart/specs/index.d.ts.map +1 -1
- package/dist/chart_types/timeslip/timeslip/data_fetch.d.ts +1 -1
- package/dist/chart_types/timeslip/timeslip/data_fetch.d.ts.map +1 -1
- package/dist/chart_types/timeslip/timeslip/render/cartesian.d.ts +1 -1
- package/dist/chart_types/timeslip/timeslip/render/cartesian.d.ts.map +1 -1
- package/dist/chart_types/timeslip/timeslip/render/glyphs/boxplot.d.ts +1 -1
- package/dist/chart_types/timeslip/timeslip/render/glyphs/boxplot.d.ts.map +1 -1
- package/dist/chart_types/timeslip/timeslip_api.d.ts +1 -1
- package/dist/chart_types/timeslip/timeslip_api.d.ts.map +1 -1
- package/dist/chart_types/wordcloud/layout/types/viewmodel_types.d.ts +2 -2
- package/dist/chart_types/wordcloud/layout/types/viewmodel_types.d.ts.map +1 -1
- package/dist/chart_types/wordcloud/specs/index.d.ts +1 -1
- package/dist/chart_types/wordcloud/specs/index.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/annotations/types.d.ts +3 -3
- package/dist/chart_types/xy_chart/annotations/types.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/axes/axes_sizes.js +5 -1
- package/dist/chart_types/xy_chart/axes/axes_sizes.js.map +1 -1
- package/dist/chart_types/xy_chart/axes/timeslip/continuous_time_rasters.d.ts +1 -1
- package/dist/chart_types/xy_chart/axes/timeslip/continuous_time_rasters.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/axes/timeslip/continuous_time_rasters.js +1 -1
- package/dist/chart_types/xy_chart/renderer/canvas/animations/animation.d.ts +2 -2
- package/dist/chart_types/xy_chart/renderer/canvas/animations/animation.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/renderer/canvas/panels/title.js +4 -1
- package/dist/chart_types/xy_chart/renderer/canvas/panels/title.js.map +1 -1
- package/dist/chart_types/xy_chart/specs/area_series.d.ts +1 -1
- package/dist/chart_types/xy_chart/specs/area_series.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/specs/axis.d.ts +1 -1
- package/dist/chart_types/xy_chart/specs/axis.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/specs/bar_series.d.ts +1 -1
- package/dist/chart_types/xy_chart/specs/bar_series.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/specs/bubble_series.d.ts +1 -1
- package/dist/chart_types/xy_chart/specs/bubble_series.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/specs/histogram_bar_series.d.ts +1 -1
- package/dist/chart_types/xy_chart/specs/histogram_bar_series.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/specs/line_annotation.d.ts +1 -1
- package/dist/chart_types/xy_chart/specs/line_annotation.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/specs/line_series.d.ts +1 -1
- package/dist/chart_types/xy_chart/specs/line_series.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/specs/rect_annotation.d.ts +1 -1
- package/dist/chart_types/xy_chart/specs/rect_annotation.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/utils/group_data_series.d.ts +2 -2
- package/dist/chart_types/xy_chart/utils/group_data_series.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/utils/specs.d.ts +40 -40
- package/dist/chart_types/xy_chart/utils/specs.d.ts.map +1 -1
- package/dist/common/category.d.ts +3 -1
- package/dist/common/category.d.ts.map +1 -1
- package/dist/common/color_library_wrappers.d.ts +3 -3
- package/dist/common/color_library_wrappers.d.ts.map +1 -1
- package/dist/common/colors.d.ts +1 -1
- package/dist/common/colors.d.ts.map +1 -1
- package/dist/common/geometry.d.ts +8 -8
- package/dist/common/geometry.d.ts.map +1 -1
- package/dist/common/iterables.js +1 -1
- package/dist/common/predicate.d.ts +1 -1
- package/dist/common/predicate.d.ts.map +1 -1
- package/dist/common/series_id.d.ts +2 -2
- package/dist/common/series_id.d.ts.map +1 -1
- package/dist/common/text_utils.d.ts +7 -7
- package/dist/common/text_utils.d.ts.map +1 -1
- package/dist/components/error_boundary/errors.d.ts +1 -1
- package/dist/components/error_boundary/errors.d.ts.map +1 -1
- package/dist/components/legend/custom_legend.d.ts +2 -0
- package/dist/components/legend/custom_legend.d.ts.map +1 -0
- package/dist/components/legend/custom_legend.js +40 -0
- package/dist/components/legend/custom_legend.js.map +1 -0
- package/dist/components/legend/legend.js +30 -3
- package/dist/components/legend/legend.js.map +1 -1
- package/dist/components/portal/types.d.ts +1 -1
- package/dist/components/portal/types.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_actions.js +1 -1
- package/dist/components/tooltip/components/tooltip_footer.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_footer.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_header.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_header.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_metric_row.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_metric_row.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_prompt.js +1 -1
- package/dist/components/tooltip/components/tooltip_prompt.js.map +1 -1
- package/dist/components/tooltip/components/tooltip_table.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_table.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_body.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_table_body.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_cell.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_table_cell.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_color_cell.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_table_color_cell.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_footer.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_table_footer.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_header.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_table_header.d.ts.map +1 -1
- package/dist/components/tooltip/components/tooltip_table_row.d.ts +1 -1
- package/dist/components/tooltip/components/tooltip_table_row.d.ts.map +1 -1
- package/dist/components/tooltip/components/types.d.ts +3 -3
- package/dist/components/tooltip/components/types.d.ts.map +1 -1
- package/dist/components/tooltip/types.d.ts +8 -8
- package/dist/components/tooltip/types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/scales/constants.d.ts +1 -1
- package/dist/scales/constants.d.ts.map +1 -1
- package/dist/scales/index.d.ts +3 -3
- package/dist/scales/index.d.ts.map +1 -1
- package/dist/specs/constants.d.ts +9 -9
- package/dist/specs/constants.d.ts.map +1 -1
- package/dist/specs/group_by.d.ts +4 -4
- package/dist/specs/group_by.d.ts.map +1 -1
- package/dist/specs/settings.d.ts +60 -29
- package/dist/specs/settings.d.ts.map +1 -1
- package/dist/specs/settings.js.map +1 -1
- package/dist/specs/small_multiples.d.ts +2 -2
- package/dist/specs/small_multiples.d.ts.map +1 -1
- package/dist/specs/tooltip.d.ts +6 -18
- package/dist/specs/tooltip.d.ts.map +1 -1
- package/dist/specs/tooltip.js +4 -4
- package/dist/specs/tooltip.js.map +1 -1
- package/dist/state/actions/legend.d.ts +2 -2
- package/dist/state/actions/legend.d.ts.map +1 -1
- package/dist/state/selectors/get_legend_config_selector.js +2 -1
- package/dist/state/selectors/get_legend_config_selector.js.map +1 -1
- package/dist/state/selectors/get_pointer_value.d.ts +2 -0
- package/dist/state/selectors/get_pointer_value.d.ts.map +1 -0
- package/dist/state/selectors/get_pointer_value.js +13 -0
- package/dist/state/selectors/get_pointer_value.js.map +1 -0
- package/dist/state/spec_factory.d.ts +8 -8
- package/dist/state/spec_factory.d.ts.map +1 -1
- package/dist/state/types.d.ts +30 -10
- package/dist/state/types.d.ts.map +1 -1
- package/dist/theme.scss +10 -7
- package/dist/theme_dark.css +1 -1
- package/dist/theme_dark.css.map +1 -1
- package/dist/theme_light.css +1 -1
- package/dist/theme_light.css.map +1 -1
- package/dist/theme_only_dark.css +1 -1
- package/dist/theme_only_dark.css.map +1 -1
- package/dist/theme_only_light.css +1 -1
- package/dist/theme_only_light.css.map +1 -1
- package/dist/utils/accessor.d.ts +9 -9
- package/dist/utils/accessor.d.ts.map +1 -1
- package/dist/utils/chart_size.d.ts +2 -2
- package/dist/utils/chart_size.d.ts.map +1 -1
- package/dist/utils/chrono/elasticsearch.d.ts +2 -2
- package/dist/utils/chrono/elasticsearch.d.ts.map +1 -1
- package/dist/utils/chrono/types.d.ts +1 -1
- package/dist/utils/chrono/types.d.ts.map +1 -1
- package/dist/utils/common.d.ts +17 -17
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/curves.d.ts +1 -1
- package/dist/utils/curves.d.ts.map +1 -1
- package/dist/utils/d3-delaunay/index.d.ts +5 -5
- package/dist/utils/d3-delaunay/index.d.ts.map +1 -1
- package/dist/utils/d3-delaunay/index.js +1 -1
- package/dist/utils/data_generators/data_generator.d.ts +1 -1
- package/dist/utils/data_generators/data_generator.d.ts.map +1 -1
- package/dist/utils/dimensions.d.ts +2 -2
- package/dist/utils/dimensions.d.ts.map +1 -1
- package/dist/utils/domain.d.ts +3 -3
- package/dist/utils/domain.d.ts.map +1 -1
- package/dist/utils/geometry.d.ts +1 -1
- package/dist/utils/geometry.d.ts.map +1 -1
- package/dist/utils/ids.d.ts +4 -4
- package/dist/utils/ids.d.ts.map +1 -1
- package/dist/utils/series_sort.d.ts +1 -1
- package/dist/utils/series_sort.d.ts.map +1 -1
- package/dist/utils/themes/partition.d.ts +1 -1
- package/dist/utils/themes/partition.d.ts.map +1 -1
- package/dist/utils/themes/theme.d.ts +9 -9
- package/dist/utils/themes/theme.d.ts.map +1 -1
- package/dist/utils/time_functions.d.ts +1 -1
- package/dist/utils/time_functions.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { ChartType } from './chart_types';
|
|
|
3
3
|
export { ChartSize, ChartSizeArray, ChartSizeObject } from './utils/chart_size';
|
|
4
4
|
export { SpecId, GroupId, AxisId, AnnotationId } from './utils/ids';
|
|
5
5
|
export * from './specs';
|
|
6
|
-
export { DebugState, DebugStateLine, DebugStateValue, DebugStateAnnotations, DebugStateArea, DebugStateAxes, DebugStateBar, DebugStateLegend, DebugStateLineConfig, DebugStateAxis, DebugStateBase, DebugStateLegendItem, } from './state/types';
|
|
6
|
+
export { DebugState, DebugStateLine, DebugStateValue, DebugStateAnnotations, DebugStateArea, DebugStateAxes, DebugStateBar, DebugStateLegend, DebugStateLineConfig, DebugStateAxis, DebugStateBase, DebugStateLegendItem, PointerValue, } from './state/types';
|
|
7
7
|
export { toEntries } from './utils/common';
|
|
8
8
|
export { CurveType } from './utils/curves';
|
|
9
9
|
export { ContinuousDomain, OrdinalDomain } from './utils/domain';
|
|
@@ -15,7 +15,7 @@ export { XYChartSeriesIdentifier, DataSeriesDatum, FilledValues } from './chart_
|
|
|
15
15
|
export { AnnotationTooltipFormatter, CustomAnnotationTooltip, ComponentWithAnnotationDatum, } from './chart_types/xy_chart/annotations/types';
|
|
16
16
|
export { GeometryValue, BandedAccessorType } from './utils/geometry';
|
|
17
17
|
export { LegendPath, LegendPathElement } from './state/actions/legend';
|
|
18
|
-
export { CategoryKey } from './common/category';
|
|
18
|
+
export { CategoryKey, CategoryLabel } from './common/category';
|
|
19
19
|
export { Layer as PartitionLayer, PartitionProps } from './chart_types/partition_chart/specs/index';
|
|
20
20
|
export { FillLabelConfig as PartitionFillLabel, PartitionStyle } from './utils/themes/partition';
|
|
21
21
|
export { PartitionLayout } from './chart_types/partition_chart/layout/types/config_types';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGpE,cAAc,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oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAQA,+CAA6B;AAC7B,6CAA0C;AAAjC,wGAAA,SAAS,OAAA;AAMlB,0CAAwB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAQA,+CAA6B;AAC7B,6CAA0C;AAAjC,wGAAA,SAAS,OAAA;AAMlB,0CAAwB;AAgBxB,yCAA2C;AAAlC,mGAAA,SAAS,OAAA;AAClB,yCAA2C;AAAlC,mGAAA,SAAS,OAAA;AAGlB,sDAAgG;AAAvF,2GAAA,aAAa,OAAA;AAAE,+GAAA,iBAAiB,OAAA;AAAE,iHAAA,mBAAmB,OAAA;AAS9D,6CAAqE;AAA7C,8GAAA,kBAAkB,OAAA;AAK1C,wFAA0F;AAAjF,+GAAA,eAAe,OAAA;AACxB,uEAAqD;AACrD,sEAAoD;AAGpD,oFAAkE;AAUlE,uDAAqC;AAGrC,gDAA+C;AAAtC,sGAAA,SAAS,OAAA;AAIlB,yFAIqE;AADnE,2GAAA,cAAc,OAAA;AAIhB,uDAAqC;AACrC,8DAA4C;AAC5C,0DAAyD;AAAhD,0GAAA,WAAW,OAAA;AACpB,wDAAuD;AAA9C,wGAAA,UAAU,OAAA;AAMnB,6FAA2E;AAC3E,6FAA2E;AAQ3E,yCAiBwB;AAftB,kGAAA,QAAQ,OAAA;AAGR,2GAAA,iBAAiB,OAAA;AACjB,6GAAA,mBAAmB,OAAA;AAKnB,sGAAA,YAAY,OAAA;AAKZ,yGAAA,eAAe,OAAA;AAEjB,yEAAuE;AAA9D,+GAAA,aAAa,OAAA;AACtB,6DAA2C;AAC3C,4DAA0C;AAC1C,sEAAwG;AAA/F,mGAAA,SAAS,OAAA;AAAE,wHAAA,8BAA8B,OAAA;AAClD,kGAA8F;AAArF,mHAAA,cAAc,OAAA;AAGvB,kDAA6D;AAAzC,yGAAA,WAAW,OAAA;AAG/B,gDAA+C;AAAtC,sGAAA,SAAS,OAAA;AASlB,8DAAqE;AAA5D,sHAAA,qBAAqB,OAAA;AAI9B,gEAAoE;AAA3D,uHAAA,oBAAoB,OAAA;AAC7B,yDAAsD;AAA7C,8GAAA,YAAY,OAAA;AACrB,sEAAoD;AACpD,sEAAoD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/scales/constants.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;GAGG;AACH,eAAO,MAAM,SAAS;IACpB;;OAEG;;;;;;;;;;EAUH,CAAC;AAEH;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/scales/constants.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;GAGG;AACH,eAAO,MAAM,SAAS;IACpB;;OAEG;;;;;;;;;;EAUH,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
package/dist/scales/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ScaleType } from './constants';
|
|
2
2
|
/** @public */
|
|
3
|
-
export
|
|
3
|
+
export type ScaleContinuousType = typeof ScaleType.LinearBinary | typeof ScaleType.Linear | typeof ScaleType.Time | typeof ScaleType.Log | typeof ScaleType.Sqrt;
|
|
4
4
|
/** @public */
|
|
5
|
-
export
|
|
5
|
+
export type ScaleOrdinalType = typeof ScaleType.Ordinal;
|
|
6
6
|
/** @public */
|
|
7
|
-
export
|
|
7
|
+
export type ScaleBandType = ScaleOrdinalType;
|
|
8
8
|
export { LogScaleOptions } from './types';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scales/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAc;AACd,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scales/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,cAAc;AACd,MAAM,MAAM,mBAAmB,GAC3B,OAAO,SAAS,CAAC,YAAY,GAC7B,OAAO,SAAS,CAAC,MAAM,GACvB,OAAO,SAAS,CAAC,IAAI,GACrB,OAAO,SAAS,CAAC,GAAG,GACpB,OAAO,SAAS,CAAC,IAAI,CAAC;AAE1B,cAAc;AACd,MAAM,MAAM,gBAAgB,GAAG,OAAO,SAAS,CAAC,OAAO,CAAC;AAExD,cAAc;AACd,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC;AAQ7C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const SpecType: Readonly<{
|
|
|
11
11
|
SmallMultiples: "small_multiples";
|
|
12
12
|
}>;
|
|
13
13
|
/** @public */
|
|
14
|
-
export
|
|
14
|
+
export type SpecType = $Values<typeof SpecType>;
|
|
15
15
|
/**
|
|
16
16
|
* Type of bin aggregations
|
|
17
17
|
* @public
|
|
@@ -27,7 +27,7 @@ export declare const BinAgg: Readonly<{
|
|
|
27
27
|
None: "none";
|
|
28
28
|
}>;
|
|
29
29
|
/** @public */
|
|
30
|
-
export
|
|
30
|
+
export type BinAgg = $Values<typeof BinAgg>;
|
|
31
31
|
/**
|
|
32
32
|
* Direction of sorting
|
|
33
33
|
* @public
|
|
@@ -43,14 +43,14 @@ export declare const Direction: Readonly<{
|
|
|
43
43
|
Descending: "descending";
|
|
44
44
|
}>;
|
|
45
45
|
/** @public */
|
|
46
|
-
export
|
|
46
|
+
export type Direction = $Values<typeof Direction>;
|
|
47
47
|
/** @public */
|
|
48
48
|
export declare const PointerEventType: Readonly<{
|
|
49
49
|
Over: "Over";
|
|
50
50
|
Out: "Out";
|
|
51
51
|
}>;
|
|
52
52
|
/** @public */
|
|
53
|
-
export
|
|
53
|
+
export type PointerEventType = $Values<typeof PointerEventType>;
|
|
54
54
|
/**
|
|
55
55
|
* This enums provides the available tooltip types
|
|
56
56
|
* @public
|
|
@@ -69,7 +69,7 @@ export declare const TooltipType: Readonly<{
|
|
|
69
69
|
* The TooltipType
|
|
70
70
|
* @public
|
|
71
71
|
*/
|
|
72
|
-
export
|
|
72
|
+
export type TooltipType = $Values<typeof TooltipType>;
|
|
73
73
|
/** @public */
|
|
74
74
|
export declare const BrushAxis: Readonly<{
|
|
75
75
|
X: "x";
|
|
@@ -77,7 +77,7 @@ export declare const BrushAxis: Readonly<{
|
|
|
77
77
|
Both: "both";
|
|
78
78
|
}>;
|
|
79
79
|
/** @public */
|
|
80
|
-
export
|
|
80
|
+
export type BrushAxis = $Values<typeof BrushAxis>;
|
|
81
81
|
/**
|
|
82
82
|
* pointer update trigger
|
|
83
83
|
* @public
|
|
@@ -88,7 +88,7 @@ export declare const PointerUpdateTrigger: Readonly<{
|
|
|
88
88
|
Both: "both";
|
|
89
89
|
}>;
|
|
90
90
|
/** @public */
|
|
91
|
-
export
|
|
91
|
+
export type PointerUpdateTrigger = $Values<typeof PointerUpdateTrigger>;
|
|
92
92
|
/**
|
|
93
93
|
* The position to stick the tooltip to
|
|
94
94
|
* @public
|
|
@@ -103,9 +103,9 @@ export declare const TooltipStickTo: Readonly<{
|
|
|
103
103
|
MousePosition: "MousePosition";
|
|
104
104
|
}>;
|
|
105
105
|
/** @public */
|
|
106
|
-
export
|
|
106
|
+
export type TooltipStickTo = $Values<typeof TooltipStickTo>;
|
|
107
107
|
/** @public */
|
|
108
|
-
export declare const settingsBuildProps: import("../state/spec_factory").BuildProps<SettingsSpec, "id" | "chartType" | "specType", "rotation" | "debug" | "legendPosition" | "legendMaxDepth" | "legendSize" | "showLegend" | "showLegendExtra" | "baseTheme" | "rendering" | "animateData" | "externalPointerEvents" | "pointBuffer" | "resizeDebounce" | "pointerUpdateTrigger" | "brushAxis" | "minBrushDelta" | "allowBrushingLastHistogramBin" | "ariaLabelHeadingLevel" | "ariaUseDefaultSummary", "ariaLabel" | "tooltip" | "theme" | "onBrushEnd" | "flatLegend" | "legendAction" | "legendColorPicker" | "legendStrategy" | "onLegendItemClick" | "
|
|
108
|
+
export declare const settingsBuildProps: import("../state/spec_factory").BuildProps<SettingsSpec, "id" | "chartType" | "specType", "rotation" | "debug" | "legendPosition" | "legendMaxDepth" | "legendSize" | "showLegend" | "showLegendExtra" | "baseTheme" | "rendering" | "animateData" | "externalPointerEvents" | "pointBuffer" | "resizeDebounce" | "pointerUpdateTrigger" | "brushAxis" | "minBrushDelta" | "allowBrushingLastHistogramBin" | "ariaLabelHeadingLevel" | "ariaUseDefaultSummary", "ariaLabel" | "tooltip" | "theme" | "xDomain" | "onBrushEnd" | "flatLegend" | "legendAction" | "legendColorPicker" | "legendStrategy" | "onLegendItemClick" | "customLegend" | "onLegendItemMinusClick" | "onLegendItemOut" | "onLegendItemOver" | "onLegendItemPlusClick" | "orderOrdinalBinsBy" | "debugState" | "onProjectionClick" | "onElementClick" | "onElementOver" | "onElementOut" | "onPointerUpdate" | "onRenderChange" | "onProjectionAreaChange" | "onAnnotationClick" | "pointerUpdateDebounce" | "roundHistogramBrushValues" | "noResults" | "ariaLabelledBy" | "ariaDescription" | "ariaDescribedBy" | "ariaTableCaption" | "legendSort", never>;
|
|
109
109
|
/** @public */
|
|
110
110
|
export declare const DEFAULT_SETTINGS_SPEC: SettingsSpec;
|
|
111
111
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/specs/constants.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAOxC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,cAAc;AACd,eAAO,MAAM,QAAQ;;;;;;;;EAQnB,CAAC;AACH,cAAc;AACd,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/specs/constants.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAOxC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,cAAc;AACd,eAAO,MAAM,QAAQ;;;;;;;;EAQnB,CAAC;AACH,cAAc;AACd,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,MAAM;IACjB;;OAEG;;IAEH;;OAEG;;EAEH,CAAC;AACH,cAAc;AACd,MAAM,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,MAAM,CAAC,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,SAAS;IACpB;;OAEG;;IAEH;;OAEG;;EAEH,CAAC;AACH,cAAc;AACd,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,cAAc;AACd,eAAO,MAAM,gBAAgB;;;EAG3B,CAAC;AACH,cAAc;AACd,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,WAAW;IACtB,yCAAyC;;IAEzC,sCAAsC;;IAEtC,mCAAmC;;IAEnC,yBAAyB;;EAEzB,CAAC;AACH;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,cAAc;AACd,eAAO,MAAM,SAAS;;;;EAIpB,CAAC;AACH,cAAc;AACd,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;EAI/B,CAAC;AACH,cAAc;AACd,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;EAQzB,CAAC;AACH,cAAc;AACd,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,cAAc,CAAC,CAAC;AAc5D,cAAc;AACd,eAAO,MAAM,kBAAkB,mkCA2B9B,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,qBAAqB,EAAE,YAGnC,CAAC"}
|
package/dist/specs/group_by.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ import { BaseDatum, Spec } from '.';
|
|
|
3
3
|
import { Predicate } from '../common/predicate';
|
|
4
4
|
import { SFProps } from '../state/spec_factory';
|
|
5
5
|
/** @public */
|
|
6
|
-
export
|
|
6
|
+
export type GroupByAccessor<D extends BaseDatum = any> = (spec: Spec, datum: D) => string | number;
|
|
7
7
|
/** @alpha */
|
|
8
|
-
export
|
|
8
|
+
export type GroupBySort = Predicate;
|
|
9
9
|
/**
|
|
10
10
|
* Title formatter that handles any value returned from the GroupByAccessor
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type GroupByFormatter<D extends BaseDatum = any> = (value: ReturnType<GroupByAccessor<D>>) => string;
|
|
14
14
|
/** @alpha */
|
|
15
15
|
export interface GroupBySpec<D extends BaseDatum = any> extends Spec {
|
|
16
16
|
/**
|
|
@@ -35,6 +35,6 @@ declare const buildProps: import("../state/spec_factory").BuildProps<GroupBySpec
|
|
|
35
35
|
*/
|
|
36
36
|
export declare const GroupBy: <D extends BaseDatum = any>(props: SFProps<GroupBySpec<D>, "chartType" | "specType", never, "format", "id" | "sort" | "by">) => null;
|
|
37
37
|
/** @public */
|
|
38
|
-
export
|
|
38
|
+
export type GroupByProps = ComponentProps<typeof GroupBy>;
|
|
39
39
|
export {};
|
|
40
40
|
//# sourceMappingURL=group_by.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group_by.d.ts","sourceRoot":"","sources":["../../src/specs/group_by.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAgB,OAAO,EAAkB,MAAM,uBAAuB,CAAC;AAI9E,cAAc;AACd,
|
|
1
|
+
{"version":3,"file":"group_by.d.ts","sourceRoot":"","sources":["../../src/specs/group_by.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAgB,OAAO,EAAkB,MAAM,uBAAuB,CAAC;AAI9E,cAAc;AACd,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,SAAS,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC;AACnG,aAAa;AACb,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AAEpC;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,SAAS,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;AAE5G,aAAa;AACb,MAAM,WAAW,WAAW,CAAC,CAAC,SAAS,SAAS,GAAG,GAAG,CAAE,SAAQ,IAAI;IAClE;;OAEG;IACH,EAAE,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IACvB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,UAAU,+HAMf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,sIAYnB,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC"}
|
package/dist/specs/settings.d.ts
CHANGED
|
@@ -3,21 +3,23 @@ import { CustomXDomain, GroupByAccessor, Spec } from '.';
|
|
|
3
3
|
import { Cell } from '../chart_types/heatmap/layout/types/viewmodel_types';
|
|
4
4
|
import { PrimitiveValue } from '../chart_types/partition_chart/layout/utils/group_by_rollup';
|
|
5
5
|
import { LegendStrategy } from '../chart_types/partition_chart/layout/utils/highlighted_geoms';
|
|
6
|
-
import { LineAnnotationDatum, RectAnnotationDatum } from '../chart_types/specs';
|
|
6
|
+
import { LineAnnotationDatum, RectAnnotationDatum, SeriesType } from '../chart_types/specs';
|
|
7
7
|
import { WordModel } from '../chart_types/wordcloud/layout/types/viewmodel_types';
|
|
8
8
|
import { XYChartSeriesIdentifier } from '../chart_types/xy_chart/utils/series';
|
|
9
|
+
import { CategoryLabel } from '../common/category';
|
|
9
10
|
import { Color } from '../common/colors';
|
|
10
11
|
import { SeriesIdentifier } from '../common/series_id';
|
|
11
12
|
import { TooltipPortalSettings } from '../components';
|
|
12
13
|
import { ScaleContinuousType, ScaleOrdinalType } from '../scales';
|
|
13
14
|
import { LegendPath } from '../state/actions/legend';
|
|
14
15
|
import { SFProps } from '../state/spec_factory';
|
|
16
|
+
import { PointerValue } from '../state/types';
|
|
15
17
|
import { HorizontalAlignment, LayoutDirection, Position, Rendering, Rotation, VerticalAlignment } from '../utils/common';
|
|
16
18
|
import { Dimensions } from '../utils/dimensions';
|
|
17
19
|
import { GeometryValue } from '../utils/geometry';
|
|
18
20
|
import { GroupId, SpecId } from '../utils/ids';
|
|
19
21
|
import { SeriesCompareFn } from '../utils/series_sort';
|
|
20
|
-
import { PartialTheme, Theme } from '../utils/themes/theme';
|
|
22
|
+
import { PartialTheme, PointStyle, Theme } from '../utils/themes/theme';
|
|
21
23
|
import { BinAgg, BrushAxis, Direction, PointerEventType, PointerUpdateTrigger, settingsBuildProps } from './constants';
|
|
22
24
|
import { TooltipSettings } from './tooltip';
|
|
23
25
|
/** @public */
|
|
@@ -70,21 +72,21 @@ export interface XYBrushEvent {
|
|
|
70
72
|
y?: Array<GroupBrushExtent>;
|
|
71
73
|
}
|
|
72
74
|
/** @public */
|
|
73
|
-
export
|
|
75
|
+
export type XYChartElementEvent = [GeometryValue, XYChartSeriesIdentifier];
|
|
74
76
|
/** @public */
|
|
75
|
-
export
|
|
77
|
+
export type PartitionElementEvent = [Array<LayerValue>, SeriesIdentifier];
|
|
76
78
|
/** @public */
|
|
77
|
-
export
|
|
79
|
+
export type FlameElementEvent = FlameLayerValue;
|
|
78
80
|
/** @public */
|
|
79
|
-
export
|
|
81
|
+
export type HeatmapElementEvent = [Cell, SeriesIdentifier];
|
|
80
82
|
/** @public */
|
|
81
|
-
export
|
|
83
|
+
export type WordCloudElementEvent = [WordModel, SeriesIdentifier];
|
|
82
84
|
/**
|
|
83
85
|
* Describes a Metric element that is the subject of an interaction.
|
|
84
86
|
* In particular, it reports the index of the metric within the two-dimensional data array
|
|
85
87
|
* @public
|
|
86
88
|
*/
|
|
87
|
-
export
|
|
89
|
+
export type MetricElementEvent = {
|
|
88
90
|
type: 'metricElementEvent';
|
|
89
91
|
rowIndex: number;
|
|
90
92
|
columnIndex: number;
|
|
@@ -99,7 +101,7 @@ export declare function isMetricElementEvent(e: Parameters<ElementClickListener>
|
|
|
99
101
|
* the current chart configuration.
|
|
100
102
|
* @public
|
|
101
103
|
*/
|
|
102
|
-
export
|
|
104
|
+
export type ProjectedValues = {
|
|
103
105
|
/**
|
|
104
106
|
* The independent variable of the chart
|
|
105
107
|
*/
|
|
@@ -126,55 +128,55 @@ export declare type ProjectedValues = {
|
|
|
126
128
|
* @public
|
|
127
129
|
* The listener type for click on the projection area.
|
|
128
130
|
*/
|
|
129
|
-
export
|
|
131
|
+
export type ProjectionClickListener = (values: ProjectedValues) => void;
|
|
130
132
|
/** @public */
|
|
131
|
-
export
|
|
133
|
+
export type ElementClickListener = (elements: Array<XYChartElementEvent | PartitionElementEvent | FlameElementEvent | HeatmapElementEvent | WordCloudElementEvent | MetricElementEvent>) => void;
|
|
132
134
|
/** @public */
|
|
133
|
-
export
|
|
135
|
+
export type ElementOverListener = (elements: Array<XYChartElementEvent | PartitionElementEvent | FlameElementEvent | HeatmapElementEvent | WordCloudElementEvent | MetricElementEvent>) => void;
|
|
134
136
|
/** @public */
|
|
135
|
-
export
|
|
137
|
+
export type BrushEvent = XYBrushEvent | HeatmapBrushEvent;
|
|
136
138
|
/** @public */
|
|
137
|
-
export
|
|
139
|
+
export type BrushEndListener = (brushAreaEvent: BrushEvent) => void;
|
|
138
140
|
/** @public */
|
|
139
|
-
export
|
|
141
|
+
export type ProjectionAreaChangeListener = (areas: {
|
|
140
142
|
projection: Dimensions;
|
|
141
143
|
parent: Dimensions;
|
|
142
144
|
}) => void;
|
|
143
145
|
/** @public */
|
|
144
|
-
export
|
|
146
|
+
export type HeatmapBrushEvent = {
|
|
145
147
|
cells: Cell[];
|
|
146
148
|
x: (string | number)[];
|
|
147
149
|
y: (string | number)[];
|
|
148
150
|
};
|
|
149
151
|
/** @public */
|
|
150
|
-
export
|
|
152
|
+
export type LegendItemListener = (series: SeriesIdentifier[]) => void;
|
|
151
153
|
/**
|
|
152
154
|
* The listener type for generic mouse move
|
|
153
155
|
*
|
|
154
156
|
* @public
|
|
155
157
|
*/
|
|
156
|
-
export
|
|
158
|
+
export type PointerUpdateListener = (event: PointerEvent) => void;
|
|
157
159
|
/**
|
|
158
160
|
* Listener to be called when chart render state changes
|
|
159
161
|
*
|
|
160
162
|
* `isRendered` value is `true` when rendering is complete and `false` otherwise
|
|
161
163
|
* @public
|
|
162
164
|
*/
|
|
163
|
-
export
|
|
165
|
+
export type RenderChangeListener = (isRendered: boolean) => void;
|
|
164
166
|
/** @public */
|
|
165
|
-
export
|
|
167
|
+
export type BasicListener = () => undefined | void;
|
|
166
168
|
/** @public */
|
|
167
|
-
export
|
|
169
|
+
export type RectAnnotationEvent = {
|
|
168
170
|
id: SpecId;
|
|
169
171
|
datum: RectAnnotationDatum;
|
|
170
172
|
};
|
|
171
173
|
/** @public */
|
|
172
|
-
export
|
|
174
|
+
export type LineAnnotationEvent = {
|
|
173
175
|
id: SpecId;
|
|
174
176
|
datum: LineAnnotationDatum<any>;
|
|
175
177
|
};
|
|
176
178
|
/** @public */
|
|
177
|
-
export
|
|
179
|
+
export type AnnotationClickListener = (annotations: {
|
|
178
180
|
rects: RectAnnotationEvent[];
|
|
179
181
|
lines: LineAnnotationEvent[];
|
|
180
182
|
}) => void;
|
|
@@ -203,7 +205,7 @@ export interface PointerOutEvent extends BasePointerEvent {
|
|
|
203
205
|
type: typeof PointerEventType.Out;
|
|
204
206
|
}
|
|
205
207
|
/** @public */
|
|
206
|
-
export
|
|
208
|
+
export type PointerEvent = PointerOverEvent | PointerOutEvent;
|
|
207
209
|
/**
|
|
208
210
|
* The settings for handling external events.
|
|
209
211
|
* TODO consider moving this to Tooltip spec
|
|
@@ -248,7 +250,7 @@ export interface LegendActionProps {
|
|
|
248
250
|
*
|
|
249
251
|
* @public
|
|
250
252
|
*/
|
|
251
|
-
export
|
|
253
|
+
export type LegendAction = ComponentType<LegendActionProps>;
|
|
252
254
|
/** @public */
|
|
253
255
|
export interface LegendColorPickerProps {
|
|
254
256
|
/**
|
|
@@ -273,17 +275,17 @@ export interface LegendColorPickerProps {
|
|
|
273
275
|
seriesIdentifiers: SeriesIdentifier[];
|
|
274
276
|
}
|
|
275
277
|
/** @public */
|
|
276
|
-
export
|
|
278
|
+
export type LegendColorPicker = ComponentType<LegendColorPickerProps>;
|
|
277
279
|
/**
|
|
278
280
|
* Buffer between cursor and point to trigger interaction
|
|
279
281
|
* @public
|
|
280
282
|
*/
|
|
281
|
-
export
|
|
283
|
+
export type MarkBuffer = number | ((radius: number) => number);
|
|
282
284
|
/**
|
|
283
285
|
* The legend position configuration.
|
|
284
286
|
* @public
|
|
285
287
|
*/
|
|
286
|
-
export
|
|
288
|
+
export type LegendPositionConfig = {
|
|
287
289
|
/**
|
|
288
290
|
* The vertical alignment of the legend
|
|
289
291
|
*/
|
|
@@ -309,6 +311,31 @@ export declare type LegendPositionConfig = {
|
|
|
309
311
|
*/
|
|
310
312
|
floatingColumns?: number;
|
|
311
313
|
};
|
|
314
|
+
/**
|
|
315
|
+
* The props for {@link CustomLegend}
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
export interface CustomLegendProps {
|
|
319
|
+
pointerValue?: PointerValue;
|
|
320
|
+
items: {
|
|
321
|
+
seriesIdentifiers: SeriesIdentifier[];
|
|
322
|
+
path: LegendPath;
|
|
323
|
+
color: Color;
|
|
324
|
+
label: CategoryLabel;
|
|
325
|
+
seriesType?: SeriesType;
|
|
326
|
+
pointStyle?: PointStyle;
|
|
327
|
+
extraValue?: PrimitiveValue;
|
|
328
|
+
isSeriesHidden?: boolean;
|
|
329
|
+
onItemOverActon: () => void;
|
|
330
|
+
onItemOutAction: () => void;
|
|
331
|
+
onItemClickAction: (negate: boolean) => void;
|
|
332
|
+
}[];
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* The react component used to render a custom legend
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
export type CustomLegend = ComponentType<CustomLegendProps>;
|
|
312
339
|
/**
|
|
313
340
|
* The legend configuration
|
|
314
341
|
* @public
|
|
@@ -362,6 +389,10 @@ export interface LegendSpec {
|
|
|
362
389
|
* A SeriesSortFn to sort the legend values (top-bottom)
|
|
363
390
|
*/
|
|
364
391
|
legendSort?: SeriesCompareFn;
|
|
392
|
+
/**
|
|
393
|
+
* Override the legend with a custom component.
|
|
394
|
+
*/
|
|
395
|
+
customLegend?: CustomLegend;
|
|
365
396
|
}
|
|
366
397
|
/**
|
|
367
398
|
* The Spec used for Chart settings
|
|
@@ -564,5 +595,5 @@ export interface OrderBy {
|
|
|
564
595
|
*/
|
|
565
596
|
export declare const Settings: (props: SFProps<SettingsSpec, keyof (typeof settingsBuildProps)['overrides'], keyof (typeof settingsBuildProps)['defaults'], keyof (typeof settingsBuildProps)['optionals'], keyof (typeof settingsBuildProps)['requires']>) => null;
|
|
566
597
|
/** @public */
|
|
567
|
-
export
|
|
598
|
+
export type SettingsProps = ComponentProps<typeof Settings>;
|
|
568
599
|
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/specs/settings.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/specs/settings.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,E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WAAW,kBAAkB;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,UACZ,QACL,YAAY,EACZ,MAAM,CAAA,yBAAyB,EAAC,WAAW,CAAC,EAC5C,MAAM,CAAA,yBAAyB,EAAC,UAAU,CAAC,EAC3C,MAAM,CAAA,yBAAyB,EAAC,WAAW,CAAC,EAC5C,MAAM,CAAA,yBAAyB,EAAC,UAAU,CAAC,CAC5C,SAKF,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/specs/settings.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/specs/settings.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAuBA,sDAAgE;AAEhE,0CAQyB;AAMzB,yCAAuH;AAoFvH,SAAgB,oBAAoB,CAAC,CAAyC;IAC5E,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,oBAAoB,CAAC;AACxD,CAAC;AAFD,oDAEC;AA0hBM,IAAM,QAAQ,GAAG,UACtB,KAMC;IAEO,IAAA,QAAQ,GAAgB,8BAAkB,SAAlC,EAAE,SAAS,GAAK,8BAAkB,UAAvB,CAAwB;IACnD,IAAA,6BAAc,iCAAoB,QAAQ,GAAK,IAAA,uBAAc,EAAC,KAAK,CAAC,GAAK,SAAS,EAAG,CAAC;IACtF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAZW,QAAA,QAAQ,YAYnB;AAMF,SAAgB,iBAAiB,CAAC,KAAsC;IACtE,OAAO,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,MAAK,4BAAgB,CAAC,GAAG,CAAC;AAC9C,CAAC;AAFD,8CAEC;AAGD,SAAgB,kBAAkB,CAAC,KAAsC;IACvE,OAAO,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,MAAK,4BAAgB,CAAC,IAAI,CAAC;AAC/C,CAAC;AAFD,gDAEC"}
|
|
@@ -6,7 +6,7 @@ import { Ratio } from '../common/geometry';
|
|
|
6
6
|
* Todo: this will soon change to `{outer, inner}` for explicit specification
|
|
7
7
|
* @alpha
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type RelativeBandsPadding = {
|
|
10
10
|
/**
|
|
11
11
|
* Outer padding specifies the padding size *next to* a small multiples panel that's on the edge of the small
|
|
12
12
|
* multiples grid, expressed as a proportion (ratio) of the panel size
|
|
@@ -57,5 +57,5 @@ export interface SmallMultiplesSpec extends Spec {
|
|
|
57
57
|
*/
|
|
58
58
|
export declare const SmallMultiples: import("react").FC<import("../state/spec_factory").SFProps<SmallMultiplesSpec, "chartType" | "specType", "id", "style" | "splitHorizontally" | "splitVertically" | "splitZigzag", never>>;
|
|
59
59
|
/** @public */
|
|
60
|
-
export
|
|
60
|
+
export type SmallMultiplesProps = ComponentProps<typeof SmallMultiples>;
|
|
61
61
|
//# sourceMappingURL=small_multiples.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"small_multiples.d.ts","sourceRoot":"","sources":["../../src/specs/small_multiples.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEzB,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAI3C;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"small_multiples.d.ts","sourceRoot":"","sources":["../../src/specs/small_multiples.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEzB,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAI3C;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC;IACb;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAKF;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,sBAAsB,EAAE,oBAAoB,CAAC;IAC7C;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C;AAED,aAAa;AACb,MAAM,WAAW,kBAAmB,SAAQ,IAAI;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACtC;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,2LAQ1B,CAAC;AAEF,cAAc;AACd,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/dist/specs/tooltip.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { SeriesIdentifier } from '../common/series_id';
|
|
|
5
5
|
import { TooltipPortalSettings } from '../components/portal';
|
|
6
6
|
import { CustomTooltip } from '../components/tooltip';
|
|
7
7
|
import { SFProps } from '../state/spec_factory';
|
|
8
|
-
import {
|
|
8
|
+
import { PointerValue } from '../state/types';
|
|
9
9
|
import { Datum } from '../utils/common';
|
|
10
10
|
import { TooltipStickTo, TooltipType } from './constants';
|
|
11
11
|
import { Spec } from './index';
|
|
@@ -13,19 +13,11 @@ import { Spec } from './index';
|
|
|
13
13
|
* This interface describe the properties of single value shown in the tooltip
|
|
14
14
|
* @public
|
|
15
15
|
*/
|
|
16
|
-
export interface TooltipValue<D extends BaseDatum = Datum, SI extends SeriesIdentifier = SeriesIdentifier> {
|
|
16
|
+
export interface TooltipValue<D extends BaseDatum = Datum, SI extends SeriesIdentifier = SeriesIdentifier> extends PointerValue<D> {
|
|
17
17
|
/**
|
|
18
18
|
* The label of the tooltip value
|
|
19
19
|
*/
|
|
20
20
|
label: string;
|
|
21
|
-
/**
|
|
22
|
-
* The value
|
|
23
|
-
*/
|
|
24
|
-
value: any;
|
|
25
|
-
/**
|
|
26
|
-
* The formatted value to display
|
|
27
|
-
*/
|
|
28
|
-
formattedValue: string;
|
|
29
21
|
/**
|
|
30
22
|
* The mark value
|
|
31
23
|
*/
|
|
@@ -50,10 +42,6 @@ export interface TooltipValue<D extends BaseDatum = Datum, SI extends SeriesIden
|
|
|
50
42
|
* The identifier of the related series
|
|
51
43
|
*/
|
|
52
44
|
seriesIdentifier: SI;
|
|
53
|
-
/**
|
|
54
|
-
* The accessor linked to the current tooltip value
|
|
55
|
-
*/
|
|
56
|
-
valueAccessor?: Accessor<D>;
|
|
57
45
|
/**
|
|
58
46
|
* The datum associated with the current tooltip value
|
|
59
47
|
* Maybe not available
|
|
@@ -64,18 +52,18 @@ export interface TooltipValue<D extends BaseDatum = Datum, SI extends SeriesIden
|
|
|
64
52
|
* A value formatter of a {@link TooltipValue}
|
|
65
53
|
* @public
|
|
66
54
|
*/
|
|
67
|
-
export
|
|
55
|
+
export type TooltipValueFormatter<D extends BaseDatum = Datum, SI extends SeriesIdentifier = SeriesIdentifier> = (data: TooltipValue<D, SI>) => JSX.Element | string;
|
|
68
56
|
/**
|
|
69
57
|
* Either a {@link (TooltipProps:type)} or an {@link (TooltipProps:type)} configuration
|
|
70
58
|
* @public
|
|
71
59
|
* @deprecated use new Tooltip spec to set tooltip type and other options
|
|
72
60
|
*/
|
|
73
|
-
export
|
|
61
|
+
export type TooltipSettings = TooltipType | TooltipProps;
|
|
74
62
|
/**
|
|
75
63
|
* Tooltip action parameters
|
|
76
64
|
* @public
|
|
77
65
|
*/
|
|
78
|
-
export
|
|
66
|
+
export type TooltipAction<D extends BaseDatum = Datum, SI extends SeriesIdentifier = SeriesIdentifier> = {
|
|
79
67
|
/**
|
|
80
68
|
* Clickable label to display action
|
|
81
69
|
*/
|
|
@@ -211,5 +199,5 @@ export declare const Tooltip: <D extends BaseDatum = any, SI extends SeriesIdent
|
|
|
211
199
|
* This interface describe the properties of single value shown in the tooltip
|
|
212
200
|
* @public
|
|
213
201
|
*/
|
|
214
|
-
export
|
|
202
|
+
export type TooltipProps<D extends BaseDatum = Datum, SI extends SeriesIdentifier = SeriesIdentifier> = SFProps<TooltipSpec<D, SI>, keyof typeof tooltipBuildProps['overrides'], keyof typeof tooltipBuildProps['defaults'], keyof typeof tooltipBuildProps['optionals'], keyof typeof tooltipBuildProps['requires']>;
|
|
215
203
|
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/specs/tooltip.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAgB,OAAO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EAAE,MAAM,GAAG,aAAa,CAAC;QAAE,QAAQ,EAAE,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAA;KAAE,CAAC,CAAC;IAE7E;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,YAA6B,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,sdAmB7B,CAAC;AAEF,cAAc;AACd,eAAO,MAAM,oBAAoB,EAAE,WAGlC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,+fAiBnB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,SAAS,GAAG,KAAK,EAAE,EAAE,SAAS,gBAAgB,GAAG,gBAAgB,IAAI,OAAO,CAC7G,WAAW,CAAC,CAAC,EAAE,EAAE,CAAC,EAClB,MAAM,OAAO,iBAAiB,CAAC,WAAW,CAAC,EAC3C,MAAM,OAAO,iBAAiB,CAAC,UAAU,CAAC,EAC1C,MAAM,OAAO,iBAAiB,CAAC,WAAW,CAAC,EAC3C,MAAM,OAAO,iBAAiB,CAAC,UAAU,CAAC,CAC3C,CAAC"}
|
package/dist/specs/tooltip.js
CHANGED
|
@@ -43,13 +43,13 @@ exports.tooltipBuildProps = (0, spec_factory_1.buildSFProps)()({
|
|
|
43
43
|
snap: true,
|
|
44
44
|
showNullValues: false,
|
|
45
45
|
actions: [],
|
|
46
|
-
actionPrompt: 'Right
|
|
47
|
-
pinningPrompt: 'Right
|
|
46
|
+
actionPrompt: 'Right-click to show actions',
|
|
47
|
+
pinningPrompt: 'Right-click to pin tooltip',
|
|
48
48
|
selectionPrompt: 'Please select a series',
|
|
49
49
|
actionsLoading: 'Loading Actions...',
|
|
50
50
|
noActionsLoaded: 'No actions available',
|
|
51
|
-
maxTooltipItems:
|
|
52
|
-
maxVisibleTooltipItems:
|
|
51
|
+
maxTooltipItems: 10,
|
|
52
|
+
maxVisibleTooltipItems: 10,
|
|
53
53
|
});
|
|
54
54
|
exports.DEFAULT_TOOLTIP_SPEC = __assign(__assign({}, exports.tooltipBuildProps.defaults), exports.tooltipBuildProps.overrides);
|
|
55
55
|
var Tooltip = function (props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../src/specs/tooltip.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAUA,8CAA2C;AAM3C,sDAA8E;AAE9E,0CAAwD;AACxD,yCAAoE;
|
|
1
|
+
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../src/specs/tooltip.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAUA,8CAA2C;AAM3C,sDAA8E;AAE9E,0CAAwD;AACxD,yCAAoE;AAmEpE,SAAgB,sBAAsB,CAAC,IAAiB;IACtD,OAAO,IAAI,KAAK,uBAAW,CAAC,cAAc,IAAI,IAAI,KAAK,uBAAW,CAAC,UAAU,CAAC;AAChF,CAAC;AAFD,wDAEC;AAGD,SAAgB,mBAAmB,CAAC,IAAiB;IACnD,OAAO,IAAI,KAAK,uBAAW,CAAC,MAAM,CAAC;AACrC,CAAC;AAFD,kDAEC;AAGD,SAAgB,cAAc,CAAC,OAAoB,EAAE,QAAsB,EAAE,eAAuB;IAAvB,gCAAA,EAAA,uBAAuB;IAClG,IAAI,CAAC,eAAe;QAAE,OAAO,OAAO,CAAC,IAAI,CAAC;IAClC,IAAA,OAAO,GAAK,QAAQ,CAAC,qBAAqB,CAAC,OAAO,QAA3C,CAA4C;IAC3D,OAAO,OAAO,CAAC,CAAC,CAAC,uB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