eurostat-map 4.9.3 → 4.9.4

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eurostat-map",
3
- "version": "4.9.3",
3
+ "version": "4.9.4",
4
4
  "description": "Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.",
5
5
  "keywords": [
6
6
  "eurostat",
@@ -1,7 +1,7 @@
1
1
  import type { StatConfig } from './stat/StatConfig'
2
2
  import type { CompositionStatConfig } from '../layers/composition/CompositionStatConfig'
3
3
  import type { LegendConfig } from '../legend/LegendConfig'
4
- import type { RankedBarChartConfig } from '../legend/choropleth/RankedBarChartConfig'
4
+ import type { RankedBarChartConfig } from './decoration/RankedBarChartConfig'
5
5
  import type { TooltipConfig } from './TooltipConfig'
6
6
  import type { InsetConfig } from './InsetConfig'
7
7
  import type { MapInstance as EurostatMap } from './MapInstance'
@@ -4,7 +4,7 @@ import type { Layer } from './layer/Layer'
4
4
  import type { LayerConfig } from './layer/LayerConfig'
5
5
  import type { CompositionStatConfig } from '../layers/composition/CompositionStatConfig'
6
6
  import type { LegendConfig } from '../legend/LegendConfig'
7
- import type { RankedBarChartConfig } from '../legend/choropleth/RankedBarChartConfig'
7
+ import type { RankedBarChartConfig } from './decoration/RankedBarChartConfig'
8
8
  import type { TooltipConfig } from './TooltipConfig'
9
9
  import type { InsetConfig } from './InsetConfig'
10
10
  import type { CoastalMarginSettings } from './decoration/CoastalMarginSettings'
@@ -1,11 +1,12 @@
1
1
  /**
2
- * Configuration for the ranked bar chart element on choropleth-classified maps: one horizontal
3
- * bar per region, sorted by value, colored by the region's own class color, labeled with its id
4
- * and value. Above an internal region-count threshold, falls back automatically to the histogram
5
- * distribution view instead of drawing one bar per region.
2
+ * Configuration for the ranked bar chart map element: one horizontal bar per region, sorted by
3
+ * value, labeled with its id and value. Colored by the region's own class color on map/layer types
4
+ * that classify regions into colored classes (choropleth, proportional symbols' color encoding),
5
+ * or a flat fallback color otherwise. Above an internal region-count threshold, falls back
6
+ * automatically to the histogram distribution view instead of drawing one bar per region.
6
7
  *
7
- * A standalone element, independent of the legend - not a sub-feature of it, and deliberately not
8
- * an extension of LegendConfig: it has its own container/positioning and doesn't carry the
8
+ * A standalone chart element - not a legend and not a sub-feature of one, and deliberately not an
9
+ * extension of LegendConfig: it has its own container/positioning and doesn't carry the
9
10
  * legend-only concepts (no-data swatch, max/min labels, etc.) that don't apply to it. Set via
10
11
  * `map.rankedBarChart(config)`, separately from `map.legend(config)`.
11
12
  */
@@ -65,6 +65,7 @@ export type { CoastalMarginSettings } from './core/decoration/CoastalMarginSetti
65
65
  export type { ScalebarConfig } from './core/decoration/ScalebarConfig'
66
66
  export type { StampConfig } from './core/decoration/StampConfig'
67
67
  export type { LabelsConfig, Label } from './core/decoration/LabelsConfig'
68
+ export type { RankedBarChartConfig } from './core/decoration/RankedBarChartConfig'
68
69
  export type { GridCartogramSettings, GridCartogramMargins } from './core/GridCartogramSettings'
69
70
  export type { DorlingSettings, DorlingStrength } from './core/DorlingSettings'
70
71
  export type { MinimapConfig } from './core/minimaps'
@@ -87,7 +88,6 @@ export type { ChoroplethLegendConfig } from './legend/choropleth/ChoroplethLegen
87
88
  export type { BivariateLegendConfig } from './legend/choropleth/BivariateLegendConfig'
88
89
  export type { HistogramLegendConfig } from './legend/choropleth/HistogramLegendConfig'
89
90
  export type { TrivariateLegendConfig } from './legend/choropleth/TrivariateLegendConfig'
90
- export type { RankedBarChartConfig } from './legend/choropleth/RankedBarChartConfig'
91
91
 
92
92
  // Composition legend types
93
93
  export type { BarChartLegendConfig } from './legend/composition/BarChartLegendConfig'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eurostat-map",
3
- "version": "4.9.3",
3
+ "version": "4.9.4",
4
4
  "description": "Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.",
5
5
  "keywords": [
6
6
  "cartography",