@cdc/map 4.22.11 → 4.23.1

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 (49) hide show
  1. package/dist/495.js +3 -0
  2. package/dist/703.js +1 -0
  3. package/dist/856.js +3 -0
  4. package/dist/cdcmap.js +724 -120
  5. package/examples/bubble-us.json +362 -362
  6. package/examples/bubble-world.json +426 -426
  7. package/examples/{private/city-state2.json → city-state.json} +2 -2
  8. package/examples/example-city-state.json +202 -25
  9. package/package.json +3 -4
  10. package/src/CdcMap.js +142 -232
  11. package/src/components/BubbleList.js +2 -3
  12. package/src/components/CityList.js +1 -2
  13. package/src/components/DataTable.js +31 -3
  14. package/src/components/EditorPanel.js +73 -16
  15. package/src/components/Filters.js +114 -0
  16. package/src/components/Sidebar.js +0 -6
  17. package/src/components/UsaMap.js +4 -4
  18. package/src/context.js +5 -0
  19. package/src/data/initial-state.js +19 -15
  20. package/src/data/supported-geos.js +3201 -3175
  21. package/src/index.html +32 -28
  22. package/src/scss/datatable.scss +1 -2
  23. package/src/scss/filters.scss +42 -0
  24. package/src/scss/main.scss +4 -3
  25. package/examples/private/atsdr.json +0 -429
  26. package/examples/private/atsdr_new.json +0 -436
  27. package/examples/private/bubble.json +0 -283
  28. package/examples/private/city-state.json +0 -428
  29. package/examples/private/cty-issue.json +0 -42765
  30. package/examples/private/default-usa.json +0 -457
  31. package/examples/private/default-world-data.json +0 -1444
  32. package/examples/private/default.json +0 -968
  33. package/examples/private/diff.json +0 -226
  34. package/examples/private/filters.json +0 -1
  35. package/examples/private/legend-issue.json +0 -3271
  36. package/examples/private/map-issue.json +0 -166
  37. package/examples/private/map-rounding-error.json +0 -42756
  38. package/examples/private/map.csv +0 -60
  39. package/examples/private/mdx.json +0 -210
  40. package/examples/private/monkeypox.json +0 -376
  41. package/examples/private/regions.json +0 -52
  42. package/examples/private/valid-data-map.csv +0 -59
  43. package/examples/private/wcmsrd-13881-data.json +0 -2858
  44. package/examples/private/wcmsrd-13881.json +0 -5819
  45. package/examples/private/wcmsrd-14492-data.json +0 -292
  46. package/examples/private/wcmsrd-14492.json +0 -104
  47. package/examples/private/wcmsrd-test.json +0 -265
  48. package/examples/private/world.json +0 -1580
  49. package/examples/private/worldmap.json +0 -1490
@@ -1,436 +0,0 @@
1
- {
2
- "general": {
3
- "title": "Find a Publication - Hover over location to view state or territory name",
4
- "subtext": "",
5
- "territoriesLabel": "Territories",
6
- "type": "data",
7
- "geoType": "us",
8
- "headerColor": "theme-cyan",
9
- "showSidebar": false,
10
- "showTitle": true,
11
- "showDownloadButton": false,
12
- "expandDataTable": false,
13
- "backgroundColor": "#f5f5f5",
14
- "geoBorderColor": "darkGray",
15
- "modalOpen": false,
16
- "modalContent": null,
17
- "showDownloadMediaButton": false,
18
- "displayAsHex": false,
19
- "displayStateLabels": false,
20
- "language": "en",
21
- "hasRegions": false,
22
- "fullBorder": false,
23
- "palette": {
24
- "isReversed": false
25
- }
26
- },
27
- "type": "map",
28
- "color": "greenbluereverse",
29
- "columns": {
30
- "geo": {
31
- "dataTable": true,
32
- "label": "",
33
- "name": "State",
34
- "tooltip": false
35
- },
36
- "primary": {
37
- "dataTable": false,
38
- "label": "",
39
- "name": "Documents",
40
- "prefix": "",
41
- "suffix": "",
42
- "tooltip": false
43
- },
44
- "navigate": {
45
- "dataTable": false,
46
- "name": "URL",
47
- "tooltip": false
48
- }
49
- },
50
- "legend": {
51
- "numberOfItems": 1,
52
- "position": "side",
53
- "title": "Legend Title",
54
- "description": "Legend Text",
55
- "type": "equalnumber",
56
- "specialClasses": [],
57
- "descriptions": {},
58
- "unified": false,
59
- "singleColumn": false,
60
- "dynamicDescription": false,
61
- "geosPerColor": {},
62
- "data": []
63
- },
64
- "filters": [],
65
- "dataTable": {
66
- "title": "Public Heatlh Assessment State Listing",
67
- "forceDisplay": true
68
- },
69
- "tooltips": {
70
- "appearanceType": "hover",
71
- "linkLabel": "Learn More",
72
- "capitalizeLabels": false
73
- },
74
- "data": [
75
- {
76
- "State": "Alabama",
77
- "Abbreviation": "AL",
78
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=AL",
79
- "Documents": 31
80
- },
81
- {
82
- "State": "Alaska",
83
- "Abbreviation": "AK",
84
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=AK",
85
- "Documents": 37
86
- },
87
- {
88
- "State": "American Samoa",
89
- "Abbreviation": "AS",
90
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=AS",
91
- "Documents": 0
92
- },
93
- {
94
- "State": "Arizona",
95
- "Abbreviation": "AZ",
96
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=AZ",
97
- "Documents": 71
98
- },
99
- {
100
- "State": "Arkansas",
101
- "Abbreviation": "AR",
102
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=AR",
103
- "Documents": 55
104
- },
105
- {
106
- "State": "California",
107
- "Abbreviation": "CA",
108
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=CA",
109
- "Documents": 120
110
- },
111
- {
112
- "State": "Colorado",
113
- "Abbreviation": "CO",
114
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=CO",
115
- "Documents": 60
116
- },
117
- {
118
- "State": "Commonwealth of Northern Marianas",
119
- "Abbreviation": "NI",
120
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=NI",
121
- "Documents": 0
122
- },
123
- {
124
- "State": "Connecticut",
125
- "Abbreviation": "CT",
126
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=CT",
127
- "Documents": 69
128
- },
129
- {
130
- "State": "Delaware",
131
- "Abbreviation": "DE",
132
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=DE",
133
- "Documents": 7
134
- },
135
- {
136
- "State": "District of Columbia",
137
- "Abbreviation": "DC",
138
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=DC",
139
- "Documents": 9
140
- },
141
- {
142
- "State": "Florida",
143
- "Abbreviation": "FL",
144
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=FL",
145
- "Documents": 162
146
- },
147
- {
148
- "State": "Georgia",
149
- "Abbreviation": "GA",
150
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=GA",
151
- "Documents": 82
152
- },
153
- {
154
- "State": "Guam",
155
- "Abbreviation": "GU",
156
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=GU",
157
- "Documents": 3
158
- },
159
- {
160
- "State": "Hawaii",
161
- "Abbreviation": "HI",
162
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=HI",
163
- "Documents": 10
164
- },
165
- {
166
- "State": "Idaho",
167
- "Abbreviation": "ID",
168
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=ID",
169
- "Documents": 55
170
- },
171
- {
172
- "State": "Illinois",
173
- "Abbreviation": "IL",
174
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=IL",
175
- "Documents": 191
176
- },
177
- {
178
- "State": "Indiana",
179
- "Abbreviation": "IN",
180
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=IN",
181
- "Documents": 35
182
- },
183
- {
184
- "Condition": "Generic v2.0",
185
- "State": "CNMI",
186
- "Status": "Onboarding",
187
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=IN"
188
- },
189
- {
190
- "Condition": "Generic v2.0",
191
- "State": "GU",
192
- "Abbreviation": "GU",
193
- "Status": "Production",
194
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=IN"
195
- },
196
- {
197
- "State": "Iowa",
198
- "Abbreviation": "IA",
199
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=IA",
200
- "Documents": 50
201
- },
202
- {
203
- "State": "Kansas",
204
- "Abbreviation": "KS",
205
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=KS",
206
- "Documents": 19
207
- },
208
- {
209
- "State": "Kentucky",
210
- "Abbreviation": "KY",
211
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=KY",
212
- "Documents": 17
213
- },
214
- {
215
- "State": "Louisiana",
216
- "Abbreviation": "LA",
217
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=LA",
218
- "Documents": 108
219
- },
220
- {
221
- "State": "Maine",
222
- "Abbreviation": "ME",
223
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=ME",
224
- "Documents": 22
225
- },
226
- {
227
- "State": "Maryland",
228
- "Abbreviation": "MD",
229
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=MD",
230
- "Documents": 38
231
- },
232
- {
233
- "State": "Massachusetts",
234
- "Abbreviation": "MA",
235
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=MA",
236
- "Documents": 101
237
- },
238
- {
239
- "State": "Michigan",
240
- "Abbreviation": "MI",
241
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=MI",
242
- "Documents": 148
243
- },
244
- {
245
- "State": "Minnesota",
246
- "Abbreviation": "MN",
247
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=MN",
248
- "Documents": 74
249
- },
250
- {
251
- "State": "Mississippi",
252
- "Abbreviation": "MS",
253
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=MS",
254
- "Documents": 19
255
- },
256
- {
257
- "State": "Missouri",
258
- "Abbreviation": "MO",
259
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=MO",
260
- "Documents": 73
261
- },
262
- {
263
- "State": "Montana",
264
- "Abbreviation": "MT",
265
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=MT",
266
- "Documents": 25
267
- },
268
- {
269
- "State": "Nebraska",
270
- "Abbreviation": "NE",
271
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=NE",
272
- "Documents": 21
273
- },
274
- {
275
- "State": "Nevada",
276
- "Abbreviation": "NV",
277
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=NV",
278
- "Documents": 6
279
- },
280
- {
281
- "State": "New Hampshire",
282
- "Abbreviation": "NH",
283
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=NH",
284
- "Documents": 55
285
- },
286
- {
287
- "State": "New Jersey",
288
- "Abbreviation": "NJ",
289
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=NJ",
290
- "Documents": 130
291
- },
292
- {
293
- "State": "New Mexico",
294
- "Abbreviation": "NM",
295
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=NM",
296
- "Documents": 22
297
- },
298
- {
299
- "State": "New York",
300
- "Abbreviation": "NY",
301
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=NY",
302
- "Documents": 151
303
- },
304
- {
305
- "State": "North Carolina",
306
- "Abbreviation": "NC",
307
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=NC",
308
- "Documents": 47
309
- },
310
- {
311
- "State": "North Dakota",
312
- "Abbreviation": "ND",
313
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=ND",
314
- "Documents": 0
315
- },
316
- {
317
- "State": "Ohio",
318
- "Abbreviation": "OH",
319
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=OH",
320
- "Documents": 110
321
- },
322
- {
323
- "State": "Oklahoma",
324
- "Abbreviation": "OK",
325
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=OK",
326
- "Documents": 12
327
- },
328
- {
329
- "State": "Oregon",
330
- "Abbreviation": "OR",
331
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=OR",
332
- "Documents": 50
333
- },
334
- {
335
- "State": "Pennsylvania",
336
- "Abbreviation": "PA",
337
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=PA",
338
- "Documents": 144
339
- },
340
- {
341
- "State": "Puerto Rico",
342
- "Abbreviation": "PR",
343
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=PR",
344
- "Documents": 33
345
- },
346
- {
347
- "State": "Rhode Island",
348
- "Abbreviation": "RI",
349
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=RI",
350
- "Documents": 11
351
- },
352
- {
353
- "State": "South Carolina",
354
- "Abbreviation": "SC",
355
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=SC",
356
- "Documents": 41
357
- },
358
- {
359
- "State": "South Dakota",
360
- "Abbreviation": "SD",
361
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=SD",
362
- "Documents": 5
363
- },
364
- {
365
- "State": "Tennessee",
366
- "Abbreviation": "TN",
367
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=TN",
368
- "Documents": 105
369
- },
370
- {
371
- "State": "Texas",
372
- "Abbreviation": "TX",
373
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=TX",
374
- "Documents": 134
375
- },
376
- {
377
- "State": "Trust Territories",
378
- "Abbreviation": "TT",
379
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=TT",
380
- "Documents": 0
381
- },
382
- {
383
- "State": "Utah",
384
- "Abbreviation": "UT",
385
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=UT",
386
- "Documents": 42
387
- },
388
- {
389
- "State": "Vermont",
390
- "Abbreviation": "VT",
391
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=VT",
392
- "Documents": 10
393
- },
394
- {
395
- "State": "Virgin Islands",
396
- "Abbreviation": "VI",
397
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=VI",
398
- "Documents": 3
399
- },
400
- {
401
- "State": "Virginia",
402
- "Abbreviation": "VA",
403
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=VA",
404
- "Documents": 38
405
- },
406
- {
407
- "State": "Washington",
408
- "Abbreviation": "WA",
409
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=WA",
410
- "Documents": 152
411
- },
412
- {
413
- "State": "West Virginia",
414
- "Abbreviation": "WV",
415
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=WV",
416
- "Documents": 31
417
- },
418
- {
419
- "State": "Wisconsin",
420
- "Abbreviation": "WI",
421
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=WI",
422
- "Documents": 106
423
- },
424
- {
425
- "State": "Wyoming",
426
- "Abbreviation": "WY",
427
- "URL": "https://wwwndev.cdc.gov/TSP/PHA/PHAListing.aspx?StateIndicator=WY",
428
- "Documents": 4
429
- }
430
- ],
431
- "sharing": {
432
- "enabled": false,
433
- "dataHost": "wcms-wp-test.cdc.gov",
434
- "configUrl": "/newtest/lewisc/ATSDR_Map.json"
435
- }
436
- }