eurostat-map 4.11.2 → 4.11.3

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.11.2",
3
+ "version": "4.11.3",
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",
@@ -60,12 +60,32 @@ export interface LabelsConfig {
60
60
  backgroundFill?: string
61
61
 
62
62
  /**
63
- * Fill/stroke color for label text - applies to statistical value labels and to
64
- * geographic labels (country names, country codes, seas) alike.
63
+ * Fill/stroke color for statistical value label text only (the labels shown when
64
+ * `values` is enabled, and the value labels inside proportional symbols). Does not affect
65
+ * geographic labels (country names, country codes, seas) - see countryLabelTextColor,
66
+ * countryCodeLabelTextColor and seaLabelTextColor for those.
65
67
  * @default '#111111'
66
68
  */
67
69
  statLabelTextColor?: string
68
70
 
71
+ /**
72
+ * Fill/stroke color for country name labels (`class: 'countries'`).
73
+ * @default '#111111'
74
+ */
75
+ countryLabelTextColor?: string
76
+
77
+ /**
78
+ * Fill/stroke color for country code labels (`class: 'cc'`).
79
+ * @default '#000000'
80
+ */
81
+ countryCodeLabelTextColor?: string
82
+
83
+ /**
84
+ * Fill/stroke color for sea/ocean labels (`class: 'seas'`).
85
+ * @default '#2a58b3'
86
+ */
87
+ seaLabelTextColor?: string
88
+
69
89
  /**
70
90
  * Padding between statistical label text and its background edge, in pixels.
71
91
  * A number applies equal padding on both axes; an object controls each axis.
@@ -69,4 +69,5 @@ export interface LegendConfig {
69
69
  maxMin?: boolean
70
70
  /** Text affixes for min/max labels as [minSuffix, maxSuffix]. */
71
71
  maxMinLabels?: [string, string]
72
+ layer?: any
72
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eurostat-map",
3
- "version": "4.11.2",
3
+ "version": "4.11.3",
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",