@cdc/map 4.25.3 → 4.25.6

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.
Files changed (119) hide show
  1. package/.idea/map.iml +12 -0
  2. package/.idea/modules.xml +8 -0
  3. package/.idea/vcs.xml +6 -0
  4. package/dist/cdcmap.js +31254 -32242
  5. package/examples/hex-colors.json +3 -3
  6. package/examples/m2.json +32904 -0
  7. package/examples/private/test.json +470 -1457
  8. package/examples/private/{mmr.json → wastewatermap.json} +86 -115
  9. package/index.html +36 -63
  10. package/package.json +7 -19
  11. package/src/CdcMap.tsx +56 -1552
  12. package/src/CdcMapComponent.tsx +608 -0
  13. package/src/_stories/CdcMap.Legend.Gradient.stories.tsx +10 -0
  14. package/src/_stories/CdcMap.Legend.stories.tsx +67 -0
  15. package/src/_stories/CdcMap.Table.stories.tsx +19 -0
  16. package/src/_stories/CdcMap.stories.tsx +12 -1
  17. package/src/_stories/UsaMap.NoData.stories.tsx +4 -4
  18. package/src/_stories/_mock/default-patterns.json +8 -5
  19. package/src/_stories/_mock/legend-bins.json +428 -0
  20. package/{examples/private/default-patterns.json → src/_stories/_mock/legends/legend-tests.json} +36 -131
  21. package/src/cdcMapComponent.styles.css +9 -0
  22. package/src/components/Annotation/Annotation.Draggable.tsx +27 -26
  23. package/src/components/Annotation/AnnotationDropdown.tsx +5 -6
  24. package/src/components/BubbleList.tsx +135 -49
  25. package/src/components/CityList.tsx +89 -87
  26. package/src/components/DataTable.tsx +8 -8
  27. package/src/components/EditorPanel/components/EditorPanel.tsx +823 -885
  28. package/src/components/EditorPanel/components/Error.tsx +9 -2
  29. package/src/components/EditorPanel/components/HexShapeSettings.tsx +127 -141
  30. package/src/components/EditorPanel/components/Panels/Panel.Annotate.tsx +55 -86
  31. package/src/components/EditorPanel/components/Panels/Panel.PatternSettings.tsx +89 -75
  32. package/src/components/EditorPanel/components/editorPanel.styles.css +95 -0
  33. package/src/components/Geo.tsx +9 -1
  34. package/src/components/GoogleMap/components/GoogleMap.tsx +1 -1
  35. package/src/components/Legend/components/Legend.tsx +92 -87
  36. package/src/components/Legend/components/LegendGroup/Legend.Group.tsx +128 -0
  37. package/src/components/Legend/components/LegendGroup/legend.group.css +27 -0
  38. package/src/components/Legend/components/LegendItem.Hex.tsx +4 -1
  39. package/src/components/Legend/components/index.scss +74 -17
  40. package/src/components/Modal.tsx +17 -7
  41. package/src/components/NavigationMenu.tsx +11 -9
  42. package/src/components/UsaMap/components/SingleState/SingleState.CountyOutput.tsx +12 -8
  43. package/src/components/UsaMap/components/SingleState/SingleState.StateOutput.tsx +4 -4
  44. package/src/components/UsaMap/components/TerritoriesSection.tsx +33 -10
  45. package/src/components/UsaMap/components/Territory/Territory.Hexagon.tsx +12 -10
  46. package/src/components/UsaMap/components/Territory/Territory.Rectangle.tsx +12 -14
  47. package/src/components/UsaMap/components/Territory/TerritoryShape.ts +2 -1
  48. package/src/components/UsaMap/components/UsaMap.County.tsx +138 -96
  49. package/src/components/UsaMap/components/UsaMap.Region.styles.css +72 -0
  50. package/src/components/UsaMap/components/UsaMap.Region.tsx +56 -103
  51. package/src/components/UsaMap/components/UsaMap.SingleState.styles.css +10 -0
  52. package/src/components/UsaMap/components/UsaMap.SingleState.tsx +65 -74
  53. package/src/components/UsaMap/components/UsaMap.State.tsx +112 -91
  54. package/src/components/UsaMap/helpers/map.ts +1 -1
  55. package/src/components/UsaMap/helpers/shapes.ts +20 -7
  56. package/src/components/WorldMap/WorldMap.tsx +64 -118
  57. package/src/components/WorldMap/worldMap.styles.css +28 -0
  58. package/src/components/ZoomControls.tsx +15 -13
  59. package/src/components/zoomControls.styles.css +53 -0
  60. package/src/context.ts +17 -9
  61. package/src/data/initial-state.js +5 -2
  62. package/src/helpers/addUIDs.ts +150 -0
  63. package/src/helpers/applyColorToLegend.ts +39 -64
  64. package/src/helpers/applyLegendToRow.ts +51 -0
  65. package/src/helpers/colorDistributions.ts +12 -0
  66. package/src/helpers/constants.ts +44 -0
  67. package/src/helpers/displayGeoName.ts +9 -2
  68. package/src/helpers/formatLegendLocation.ts +3 -2
  69. package/src/helpers/generateColorsArray.ts +2 -1
  70. package/src/helpers/generateRuntimeData.ts +78 -0
  71. package/src/helpers/generateRuntimeFilters.ts +63 -0
  72. package/src/helpers/generateRuntimeLegend.ts +566 -0
  73. package/src/helpers/generateRuntimeLegendHash.ts +16 -15
  74. package/src/helpers/getColumnNames.ts +19 -0
  75. package/src/helpers/getMapContainerClasses.ts +23 -0
  76. package/src/helpers/getStatePicked.ts +8 -0
  77. package/src/helpers/handleMapTabbing.ts +31 -0
  78. package/src/helpers/hashObj.ts +1 -1
  79. package/src/helpers/index.ts +22 -0
  80. package/src/helpers/navigationHandler.ts +3 -3
  81. package/src/helpers/resetLegendToggles.ts +13 -0
  82. package/src/helpers/setBinNumbers.ts +5 -0
  83. package/src/helpers/sortSpecialClassesLast.ts +7 -0
  84. package/src/helpers/tests/getColumnNames.test.ts +52 -0
  85. package/src/helpers/titleCase.ts +1 -1
  86. package/src/helpers/toggleLegendActive.ts +25 -0
  87. package/src/hooks/useApplyTooltipsToGeo.tsx +51 -0
  88. package/src/hooks/useColumnsRequiredChecker.ts +51 -0
  89. package/src/hooks/useGeoClickHandler.ts +45 -0
  90. package/src/hooks/useLegendSeparators.ts +26 -0
  91. package/src/hooks/useMapLayers.tsx +34 -60
  92. package/src/hooks/useModal.ts +22 -0
  93. package/src/hooks/useResizeObserver.ts +4 -5
  94. package/src/hooks/useStateZoom.tsx +52 -75
  95. package/src/hooks/useTooltip.ts +2 -3
  96. package/src/index.jsx +3 -9
  97. package/src/scss/editor-panel.scss +3 -99
  98. package/src/scss/main.scss +1 -19
  99. package/src/scss/map.scss +15 -220
  100. package/src/store/map.actions.ts +46 -0
  101. package/src/store/map.reducer.ts +96 -0
  102. package/src/types/Annotations.ts +24 -0
  103. package/src/types/MapConfig.ts +23 -3
  104. package/src/types/MapContext.ts +36 -35
  105. package/src/types/Modal.ts +1 -0
  106. package/src/types/RuntimeData.ts +3 -0
  107. package/examples/private/DEV-9644.json +0 -184
  108. package/examples/private/DEV-9989.json +0 -229
  109. package/examples/private/ardi.json +0 -180
  110. package/examples/private/colors 2.json +0 -416
  111. package/examples/private/colors.json +0 -416
  112. package/examples/private/colors.json.zip +0 -0
  113. package/examples/private/customColors.json +0 -45348
  114. package/examples/test.json +0 -183
  115. package/src/helpers/closeModal.ts +0 -9
  116. package/src/scss/btn.scss +0 -69
  117. package/src/scss/filters.scss +0 -27
  118. package/src/scss/variables.scss +0 -1
  119. /package/src/hooks/{useActiveElement.js → useActiveElement.ts} +0 -0
@@ -1,55 +1,55 @@
1
1
  {
2
2
  "annotations": [],
3
3
  "general": {
4
- "noStateFoundMessage": "Map Unavailable",
5
- "annotationDropdownText": "Annotations",
6
4
  "geoBorderColor": "darkGray",
7
5
  "headerColor": "theme-blue",
8
6
  "title": "",
9
7
  "showTitle": true,
10
8
  "showSidebar": true,
11
- "showDownloadButton": true,
9
+ "showDownloadButton": false,
12
10
  "showDownloadMediaButton": false,
13
11
  "displayAsHex": false,
14
- "displayStateLabels": false,
15
- "territoriesLabel": "Territories",
16
- "territoriesAlwaysShow": false,
12
+ "displayStateLabels": true,
13
+ "territoriesAlwaysShow": true,
17
14
  "language": "en",
18
15
  "geoType": "us",
19
- "geoLabelOverride": "",
16
+ "geoLabelOverride": "State/Territory",
20
17
  "hasRegions": false,
21
18
  "fullBorder": false,
22
19
  "type": "map",
23
20
  "convertFipsCodes": true,
24
21
  "palette": {
25
- "isReversed": false
22
+ "isReversed": true
26
23
  },
27
- "allowMapZoom": false,
28
- "hideGeoColumnInTooltip": true,
24
+ "allowMapZoom": true,
25
+ "hideGeoColumnInTooltip": false,
29
26
  "hidePrimaryColumnInTooltip": false,
30
27
  "statePicked": {
31
28
  "fipsCode": "01",
32
29
  "stateName": "Alabama"
33
30
  },
34
31
  "expandDataTable": false,
35
- "footnotes": "Note: Alabama, Florida, Georgia, Iowa, Mississippi, New Hampshire, and New Jersey did not assess coverage for individual vaccines. Estimates shown are the percentage of kindergartners who received all doses of all vaccines required for school entry."
32
+ "annotationDropdownText": "Annotations",
33
+ "noStateFoundMessage": "Map Unavailable",
34
+ "subtext": "<div class=\"text-left\">Data last updated on <span data-timestamp=\"nwss_rsv_sc2_flua_combined_state_map:Data_as_of\"></span> and presented through <span data-timestamp=\"nwss_rsv_sc2_flua_combined_state_map:Data_Presented_Through\"></span>. ",
35
+ "navigationTarget": "_self"
36
36
  },
37
37
  "type": "map",
38
- "color": "pinkpurple",
38
+ "color": "greenbluereverse",
39
39
  "columns": {
40
40
  "geo": {
41
- "name": "geography",
41
+ "name": "State",
42
42
  "label": "Location",
43
43
  "tooltip": false,
44
44
  "dataTable": true
45
45
  },
46
46
  "primary": {
47
47
  "dataTable": true,
48
- "tooltip": false,
48
+ "tooltip": true,
49
49
  "prefix": "",
50
50
  "suffix": "",
51
- "name": "categories",
52
- "label": "Category",
51
+ "name": "activity_level_label",
52
+ "label": "Viral Activity Level",
53
53
  "roundToPlace": 0
54
54
  },
55
55
  "navigate": {
@@ -62,127 +62,81 @@
62
62
  "name": ""
63
63
  },
64
64
  "additionalColumn1": {
65
- "label": "Estimated Percent Vaccinated",
65
+ "label": "Sites Currently Reporting",
66
66
  "dataTable": true,
67
67
  "tooltips": false,
68
68
  "prefix": "",
69
69
  "suffix": "",
70
- "name": "estimate_pct",
70
+ "name": "num_sites",
71
71
  "tooltip": true
72
72
  },
73
73
  "additionalColumn2": {
74
- "label": "School Year",
74
+ "label": "Limited Coverage",
75
75
  "dataTable": true,
76
76
  "tooltips": false,
77
77
  "prefix": "",
78
78
  "suffix": "",
79
- "name": "school_year",
80
- "tooltip": true
79
+ "tooltip": false,
80
+ "name": "hatch"
81
81
  },
82
82
  "additionalColumn3": {
83
- "label": "Population Size",
84
- "dataTable": true,
83
+ "label": "",
84
+ "dataTable": false,
85
85
  "tooltips": false,
86
86
  "prefix": "",
87
87
  "suffix": "",
88
- "name": "population_size",
88
+ "tooltip": true,
89
89
  "useCommas": true,
90
- "tooltip": false
91
- },
92
- "additionalColumn4": {
93
- "label": "Percent Surveyed",
94
- "dataTable": true,
95
- "tooltips": false,
96
- "prefix": "",
97
- "suffix": "%",
98
- "name": "percent_surveyed",
99
- "tooltip": false
100
- },
101
- "additionalColumn5": {
102
- "label": "Survey Type",
103
- "dataTable": true,
104
- "tooltips": false,
105
- "prefix": "",
106
- "suffix": "",
107
- "name": "survey_type",
108
- "tooltip": false
90
+ "name": "hatch"
109
91
  }
110
92
  },
111
93
  "legend": {
112
94
  "descriptions": {},
113
- "specialClasses": [
114
- {
115
- "key": "categories",
116
- "value": "NA",
117
- "label": "Not available"
118
- },
119
- {
120
- "key": "estimate_pct",
121
- "value": "NA",
122
- "label": "Not available"
123
- },
124
- {}
125
- ],
126
- "unified": true,
95
+ "specialClasses": [],
96
+ "unified": false,
127
97
  "singleColumn": false,
128
- "singleRow": false,
98
+ "singleRow": true,
129
99
  "verticalSorted": false,
130
100
  "showSpecialClassesLast": true,
131
101
  "dynamicDescription": false,
132
102
  "type": "category",
133
- "numberOfItems": 3,
134
- "position": "bottom",
135
- "title": "Percent Vaccinated",
136
- "style": "circles",
103
+ "numberOfItems": 8,
104
+ "position": "top",
105
+ "title": "Wastewater Viral Activity Level",
106
+ "categoryValuesOrder": ["Very Low", "Low", "Moderate", "High", "Very High", "No Data", "Minimal"],
107
+ "additionalCategories": ["No Data", "Very Low", "Low", "Moderate", "High", "Very High"],
108
+ "description": "",
109
+ "style": "gradient",
137
110
  "subStyle": "linear blocks",
138
111
  "tickRotation": "",
139
112
  "singleColumnLegend": false,
140
- "hideBorder": false,
141
- "categoryValuesOrder": [
142
- "Less than 90%",
143
- "90-94.9%",
144
- "95%+",
145
- "NA"
146
- ]
113
+ "hideBorder": true
147
114
  },
148
115
  "filters": [
149
116
  {
150
- "order": "desc",
151
- "label": "",
152
- "columnName": "school_year",
153
- "values": [
154
- "2009-10",
155
- "2010-11",
156
- "2011-12",
157
- "2012-13",
158
- "2013-14",
159
- "2014-15",
160
- "2015-16",
161
- "2016-17",
162
- "2017-18",
163
- "2018-19",
164
- "2019-20",
165
- "2020-21",
166
- "2021-22",
167
- "2022-23",
168
- "2023-24"
169
- ],
170
- "filterStyle": "dropdown"
117
+ "order": "asc",
118
+ "label": "Select a virus:",
119
+ "columnName": "pathogen",
120
+ "values": ["COVID-19", "Influenza A", "RSV"],
121
+ "active": "COVID-19",
122
+ "filterStyle": "dropdown",
123
+ "orderedValues": ["COVID-19", "Influenza A", "RSV"]
171
124
  }
172
125
  ],
173
126
  "table": {
174
- "wrapColumns": true,
175
127
  "label": "Data Table",
176
128
  "expanded": false,
177
- "limitHeight": false,
178
- "height": "",
129
+ "limitHeight": true,
130
+ "height": "500",
179
131
  "caption": "",
180
132
  "showDownloadUrl": false,
181
133
  "showDataTableLink": true,
182
134
  "showFullGeoNameInCSV": false,
183
135
  "forceDisplay": true,
184
136
  "download": true,
185
- "indexLabel": ""
137
+ "indexLabel": "State/Territory",
138
+ "wrapColumns": false,
139
+ "showDownloadLinkBelow": true
186
140
  },
187
141
  "tooltips": {
188
142
  "appearanceType": "hover",
@@ -195,21 +149,26 @@
195
149
  "maxBubbleSize": 20,
196
150
  "extraBubbleBorder": false,
197
151
  "cityStyle": "circle",
198
- "cityStyleLabel": "",
152
+ "geoCodeCircleSize": 2,
199
153
  "showBubbleZeros": false,
200
- "additionalCityStyles": [],
201
- "geoCodeCircleSize": 8
154
+ "cityStyleLabel": "",
155
+ "additionalCityStyles": []
202
156
  },
203
157
  "mapPosition": {
204
- "coordinates": [
205
- 0,
206
- 30
207
- ],
158
+ "coordinates": [0, 30],
208
159
  "zoom": 1
209
160
  },
210
161
  "map": {
211
162
  "layers": [],
212
- "patterns": []
163
+ "patterns": [
164
+ {
165
+ "dataKey": "hatch",
166
+ "pattern": "lines",
167
+ "dataValue": "Limited Coverage",
168
+ "label": "Limited Coverage*",
169
+ "size": "medium"
170
+ }
171
+ ]
213
172
  },
214
173
  "hexMap": {
215
174
  "type": "",
@@ -230,17 +189,29 @@
230
189
  ]
231
190
  },
232
191
  "filterBehavior": "Filter Change",
233
- "dataUrl": "https://www.cdc.gov/wcms/vizdata/measles/MeaslesKindergartenVaxcovExemptions.json",
234
- "dataFileName": "/wcms/vizdata/measles/MeaslesKindergartenVaxcovExemptions.json",
235
- "dataFileSourceType": "url",
236
- "version": "4.24.9",
192
+ "filterIntro": "",
237
193
  "customColors": [
238
- "#EB7723",
239
- "#EB7723",
240
- "#F2A46C",
241
- "#F2A46C",
242
- "#9BBFDC",
243
- "#9BBFDC",
244
- "#9BBFDC"
245
- ]
246
- }
194
+ "#C8EFDA",
195
+ "#9FDAD0",
196
+ "#9FDAD0",
197
+ "#6BB0BD",
198
+ "#4B7F9B",
199
+ "#34547B",
200
+ "#B4B4B4",
201
+ "#B4B4B4",
202
+ "#B4B4B4",
203
+ "#B4B4B4"
204
+ ],
205
+ "datasets": {},
206
+ "dataFileName": "https://www.cdc.gov/wcms/vizdata/ncezid_didri/NWSSStateMapCombined.json",
207
+ "dataFileSourceType": "url",
208
+ "dataDescription": {
209
+ "horizontal": false,
210
+ "series": false
211
+ },
212
+ "version": "4.25.1",
213
+ "dataUrl": "https://www.cdc.gov/wcms/vizdata/ncezid_didri/NWSSStateMapCombined.json",
214
+ "migrations": {
215
+ "addColorMigration": true
216
+ }
217
+ }
package/index.html CHANGED
@@ -1,66 +1,39 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
6
- <style type="text/css">
7
- body {
8
- margin: 0;
9
- border-top: none !important;
10
- }
11
3
 
12
- .cdc-map-outer-container {
13
- min-height: 100vh;
14
- }
15
- </style>
16
- <link rel="stylesheet prefetch" href="https://www.cdc.gov/TemplatePackage/5.0/css/app.min.css?_=71669" />
17
- </head>
18
-
19
- <body>
20
- <!-- DEFAULT EXAMPLES -->
21
- <!-- <div class="react-container" data-config="/examples/private/nhis.json"></div> -->
22
- <!-- <div class="react-container" data-config="/examples/hex-colors.json"></div> -->
23
- <!-- <div class="react-container react-container--maps" data-config="/examples/annotation/index.json">/</div> -->
24
-
25
- <!-- <div class="react-container react-container--maps" data-config="/examples/private/tooltip-issue.json"></div> -->
26
- <!-- <div class="react-container react-container--maps" data-config="/examples/test.json"></div> -->
27
- <!-- <div class="react-container react-container--maps" data-config="/examples/test.json"></div> -->
28
- <!-- <div class="react-container react-container--maps" data-config="/examples/private/map-text-wrap.json"></div> -->
29
- <!-- <div class="react-container react-container--maps" data-config="/examples/private/tooltip-issue.json"></div> -->
30
- <!-- <div class="react-container react-container--maps" data-config="/examples/test.json"></div> -->
31
- <!-- <div class="react-container react-container--maps" data-config="/examples/default-usa-regions.json"></div> -->
32
- <!-- <div class="react-container react-container--maps" data-config="/examples/default-usa.json"></div> -->
33
- <!-- <div
34
- class="react-container react-container--maps"
35
- data-config="https://www.cdc.gov/wcms/4.0/cdc-wp/data-presentation/examples/US-County-Level-Map.json"
36
- ></div> -->
37
- <!-- <div class="react-container react-container&#45;&#45;maps" data-config="/examples/default-geocode.json"></div> -->
38
- <!-- <div class="react-container react-container&#45;&#45;maps" data-config="/examples/default-single-state.json"></div> -->
39
- <!-- <div class="react-container react-container&#45;&#45;maps" data-config="/examples/bubble-us.json"></div> -->
40
- <!-- <div class="react-container react-container&#45;&#45;maps" data-config="/examples/bubble-world.json"></div> -->
41
-
42
- <!-- TESTS DATA TABLE SORT-->
43
- <!-- <div class="react-container" data-config="/examples/private/wastewater.json"></div> -->
44
-
45
- <!-- TP4 EXAMPLES -->
46
- <!-- <div class="react-container react-container--maps" data-config="/examples/custom-map-layers.json"></div> -->
47
- <!-- <div class="react-container react-container--maps" data-config="/examples/private/world-map.json"></div> -->
48
- <!-- <div class="react-container react-container--maps" data-config="/examples/default-hex.json"></div> -->
49
- <!-- <div class="react-container react-container--maps" data-config="/examples/default-hex.json"></div> -->
50
- <!-- <div class="react-container react-container--maps" data-config="/examples/hex-with-arrows.json"></div> -->
51
-
52
- <!-- TP4 EXAMPLES -->
53
- <div class="react-container react-container&#45;&#45;maps" data-config="/examples/example-city-state.json"></div>
54
- <!-- <div
55
- class="react-container react-container--maps"
56
- data-config="/examples/example-city-state-no-territories.json"
57
- ></div> -->
58
- <!-- <div class="react-container react-container--maps" data-config="/examples/example-world-map.json"></div> -->
59
- <!-- <div class="react-container react-container--maps" data-config="/examples/default-hex.json"></div> -->
60
-
61
- <!-- <div class="react-container" data-config="/examples/example-hex-map-with-filter.json"></div> -->
62
-
63
- <noscript>You need to enable JavaScript to run this app.</noscript>
64
- <script type="module" src="./src/index.jsx"></script>
65
- </body>
66
- </html>
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
7
+ <style type="text/css">
8
+ body {
9
+ margin: 0;
10
+ border-top: none !important;
11
+ }
12
+
13
+ .cdc-map-outer-container {
14
+ min-height: 100vh;
15
+ }
16
+ </style>
17
+ <link rel="stylesheet prefetch" href="https://www.cdc.gov/TemplatePackage/5.0/css/app.min.css?_=71669" />
18
+
19
+ <!-- This is temporary and for testing until Nunito/900 is added to TP -->
20
+ <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@900&display=swap" rel="stylesheet" />
21
+ <style type="text/css">
22
+ @font-face {
23
+ font-family: 'Nunito';
24
+ font-weight: 900;
25
+ font-display: swap;
26
+ src: url('https://app.unpkg.com/@fontsource/nunito@5.0.18/files/files/nunito-latin-900-normal.woff2') format('woff2');
27
+ }
28
+ </style>
29
+ </head>
30
+
31
+ <body>
32
+ <!-- DEFAULT EXAMPLES -->
33
+ <div class="react-container" data-config="/examples/default-hex.json"></div>
34
+
35
+ <noscript>You need to enable JavaScript to run this app.</noscript>
36
+ <script type="module" src="./src/index.jsx"></script>
37
+ </body>
38
+
39
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdc/map",
3
- "version": "4.25.3",
3
+ "version": "4.25.6",
4
4
  "description": "React component for visualizing tabular data on a map of the United States or the world.",
5
5
  "moduleName": "CdcMap",
6
6
  "main": "dist/cdcmap",
@@ -25,37 +25,25 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@cdc/core": "^4.25.3",
29
- "@emotion/core": "^10.0.28",
30
- "@emotion/react": "^11.1.5",
28
+ "@cdc/core": "^4.25.6",
31
29
  "@googlemaps/markerclusterer": "^2.5.3",
32
30
  "@hello-pangea/dnd": "^16.2.0",
33
- "@react-google-maps/api": "^2.20.3",
34
- "@visx/geo": "^1.13.0",
31
+ "@react-google-maps/api": "^2.20.6",
32
+ "@visx/geo": "^3.12.0",
35
33
  "chroma": "0.0.1",
36
- "chroma-js": "^2.1.0",
37
- "d3": "^7.8.2",
34
+ "d3": "^7.9.0",
38
35
  "d3-composite-projections": "^1.4.0",
39
36
  "d3-selection": "^3.0.0",
40
37
  "d3-zoom": "^3.0.0",
41
- "html-react-parser": "^3.0.8",
42
- "html2canvas": "^1.0.0-rc.7",
43
38
  "leaflet": "^1.9.4",
44
39
  "lodash.debounce": "^4.0.8",
45
- "papaparse": "^5.3.0",
46
40
  "react-accessible-accordion": "^3.0.1",
47
- "react-leaflet": "^4.2.1",
48
- "react-leaflet-markercluster": "^4.1.1",
49
- "react-table": "^7.5.0",
50
- "react-tag-autocomplete": "^6.0.0",
51
- "react-tooltip": "5.8.2-beta.3",
52
41
  "topojson-client": "^3.1.0",
53
- "use-debounce": "^5.2.0",
54
- "whatwg-fetch": "^3.6.2"
42
+ "use-debounce": "^10.0.5"
55
43
  },
56
44
  "peerDependencies": {
57
45
  "react": "^18.2.0",
58
46
  "react-dom": "^18.2.0"
59
47
  },
60
- "gitHead": "b09566f5a7d57c8d0109e5f407257729d6b36846"
48
+ "gitHead": "6097de1ff814001880d9ac64bd66becdc092d63c"
61
49
  }