import { createCustomCachedSelector } from '../../../../state/create_selector' ; import { getChartContainerDimensionsSelector } from '../../../../state/selectors/get_chart_container_dimensions' ; import { getChartThemeSelector } from '../../../../state/selectors/get_chart_theme' ; import { getSmallMultiplesSpec } from '../../../../state/selectors/get_small_multiples_spec' ; import { computeChartDimensions } from '../../utils/dimensions' ; import { computeAxisTicksDimensionsSelector } from './compute_axis_ticks_dimensions' ; import { getAxesStylesSelector } from './get_axis_styles' ; import { getAxisSpecsSelector } from './get_specs' ; internal export const computeChartDimensionsSelector = createCustomCachedSelector ( [ getChartContainerDimensionsSelector , getChartThemeSelector , computeAxisTicksDimensionsSelector , getAxesStylesSelector , getAxisSpecsSelector , getSmallMultiplesSpec , ] , computeChartDimensions ) ;