@cdc/dashboard 1.1.2 → 9.22.9

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 (36) hide show
  1. package/dist/cdcdashboard.js +159 -48
  2. package/examples/default-filter-control.json +175 -0
  3. package/examples/default-multi-dataset.json +498 -0
  4. package/examples/default.json +36 -348
  5. package/examples/private/chart-issue.json +3467 -0
  6. package/examples/private/no-issue.json +3467 -0
  7. package/examples/private/totals-two.json +104 -0
  8. package/examples/private/totals.json +103 -0
  9. package/examples/temp-example-data.json +130 -0
  10. package/examples/test-example.json +1 -0
  11. package/package.json +14 -8
  12. package/src/CdcDashboard.js +282 -156
  13. package/src/CdcDashboard.jsx +668 -0
  14. package/src/{context.tsx → ConfigContext.js} +0 -0
  15. package/src/components/{Column.js → Column.jsx} +9 -7
  16. package/src/components/DataTable.tsx +55 -54
  17. package/src/components/EditorPanel.js +207 -45
  18. package/src/components/{Grid.js → Grid.jsx} +5 -4
  19. package/src/components/Header.jsx +242 -0
  20. package/src/components/Row.js +1 -0
  21. package/src/components/Row.jsx +181 -0
  22. package/src/components/Row.jsx~HEAD +212 -0
  23. package/src/components/Widget.js +24 -5
  24. package/src/components/Widget.jsx +191 -0
  25. package/src/index.html +14 -11
  26. package/src/scss/editor-panel.scss +53 -49
  27. package/src/scss/grid.scss +61 -14
  28. package/src/scss/main.scss +73 -9
  29. package/LICENSE +0 -201
  30. package/src/components/Header.js +0 -15
  31. package/src/images/icon-close.svg +0 -1
  32. package/src/images/icon-down.svg +0 -1
  33. package/src/images/icon-edit.svg +0 -1
  34. package/src/images/icon-move.svg +0 -8
  35. package/src/images/icon-up.svg +0 -1
  36. package/src/images/warning.svg +0 -1
@@ -0,0 +1,104 @@
1
+ {
2
+ "dashboard": {
3
+ "theme": "theme-blue",
4
+ "title": "Total Vaccine Doses Administered",
5
+ "description": "Total vaccine doses administered data are updated every Wednesday as soon as they are reviewed and verified.\n<br>\nInformation about the number of vials shipped is posted on <a href=\"https://aspr.hhs.gov/SNS/Pages/JYNNEOS-Distribution.aspx\">https://aspr.hhs.gov/SNS/Pages/JYNNEOS-Distribution.aspx</a>, and is updated every Monday, Wednesday, and Friday.\n"
6
+ },
7
+ "rows": [
8
+ [
9
+ {
10
+ "width": 12,
11
+ "widget": "data-bite1661201913029"
12
+ },
13
+ {},
14
+ {}
15
+ ]
16
+ ],
17
+ "visualizations": {
18
+ "data-bite1661201911110": {
19
+ "type": "data-bite",
20
+ "dataBite": "",
21
+ "dataFunction": "Sum",
22
+ "dataColumn": "Vaccines Distributed",
23
+ "bitePosition": "Left",
24
+ "biteFontSize": 24,
25
+ "fontSize": "small",
26
+ "biteBody": "<br><span class=\"h5\">Vials Shipped to all U.S. Jurisdictions</span>",
27
+ "imageData": {
28
+ "display": "none",
29
+ "url": "",
30
+ "alt": "",
31
+ "options": []
32
+ },
33
+ "dataFormat": {
34
+ "roundToPlace": 0,
35
+ "commas": true,
36
+ "prefix": "",
37
+ "suffix": ""
38
+ },
39
+ "biteStyle": "body",
40
+ "filters": [],
41
+ "subtext": "",
42
+ "title": "",
43
+ "theme": "theme-blue",
44
+ "shadow": false,
45
+ "newViz": true,
46
+ "uid": "data-bite1661201911110",
47
+ "visualizationType": "data-bite"
48
+ },
49
+ "data-bite1661201913029": {
50
+ "type": "data-bite",
51
+ "dataBite": "",
52
+ "dataFunction": "Sum",
53
+ "dataColumn": "Vaccines Administered",
54
+ "bitePosition": "Left",
55
+ "biteFontSize": 24,
56
+ "fontSize": "small",
57
+ "biteBody": "<br><span class=\"h5\">Doses Administered in the 54 U.S. Jurisdictions Reporting Data<span id=\"administered_date\"> as of October 4, 2022.",
58
+ "imageData": {
59
+ "display": "none",
60
+ "url": "",
61
+ "alt": "",
62
+ "options": []
63
+ },
64
+ "dataFormat": {
65
+ "roundToPlace": 0,
66
+ "commas": true,
67
+ "prefix": "",
68
+ "suffix": ""
69
+ },
70
+ "biteStyle": "body",
71
+ "filters": [],
72
+ "subtext": "",
73
+ "title": "",
74
+ "theme": "theme-blue",
75
+ "shadow": false,
76
+ "visual": {
77
+ "border": false,
78
+ "accent": false,
79
+ "background": false,
80
+ "hideBackgroundColor": false,
81
+ "borderColorTheme": false
82
+ },
83
+ "general": {
84
+ "isCompactStyle": false
85
+ },
86
+ "newViz": true,
87
+ "uid": "data-bite1661201913029",
88
+ "visualizationType": "data-bite",
89
+ "editing": true
90
+ }
91
+ },
92
+ "table": {
93
+ "label": "Data Table",
94
+ "show": false
95
+ },
96
+ "dataFileName": "https://www.cdc.gov/wcms/vizdata/poxvirus/monkeypox/data/vaccines/mpx_vaccine_databites.csv",
97
+ "dataFileSourceType": "url",
98
+ "dataUrl": "https://www.cdc.gov/wcms/vizdata/poxvirus/monkeypox/data/vaccines/mpx_vaccine_databites.csv",
99
+ "type": "dashboard",
100
+ "orientation": null,
101
+ "visualizationSubType": null,
102
+ "runtime": {},
103
+ "uuid": 1661454522321
104
+ }
@@ -0,0 +1,103 @@
1
+ {
2
+ "dashboard": {
3
+ "theme": "theme-blue",
4
+ "title": "Total Vaccine Doses Administered",
5
+ "description": "Total vaccine doses administered data are updated every Wednesday as soon as they are reviewed and verified.\n<br>\nInformation about the number of vials shipped is posted on <a href=\"https://aspr.hhs.gov/SNS/Pages/JYNNEOS-Distribution.aspx\">https://aspr.hhs.gov/SNS/Pages/JYNNEOS-Distribution.aspx</a>, and is updated every Monday, Wednesday, and Friday.\n"
6
+ },
7
+ "rows": [
8
+ [
9
+ {
10
+ "width": 12,
11
+ "widget": "data-bite1661201913029"
12
+ },
13
+ {},
14
+ {}
15
+ ]
16
+ ],
17
+ "visualizations": {
18
+ "data-bite1661201911110": {
19
+ "type": "data-bite",
20
+ "dataBite": "",
21
+ "dataFunction": "Sum",
22
+ "dataColumn": "Vaccines Distributed",
23
+ "bitePosition": "Left",
24
+ "biteFontSize": 24,
25
+ "fontSize": "small",
26
+ "biteBody": "<br><span class=\"h5\">Vials Shipped to all U.S. Jurisdictions</span>",
27
+ "imageData": {
28
+ "display": "none",
29
+ "url": "",
30
+ "alt": "",
31
+ "options": []
32
+ },
33
+ "dataFormat": {
34
+ "roundToPlace": 0,
35
+ "commas": true,
36
+ "prefix": "",
37
+ "suffix": ""
38
+ },
39
+ "biteStyle": "body",
40
+ "filters": [],
41
+ "subtext": "",
42
+ "title": "",
43
+ "theme": "theme-blue",
44
+ "shadow": false,
45
+ "newViz": true,
46
+ "uid": "data-bite1661201911110",
47
+ "visualizationType": "data-bite"
48
+ },
49
+ "data-bite1661201913029": {
50
+ "type": "data-bite",
51
+ "dataBite": "",
52
+ "dataFunction": "Sum",
53
+ "dataColumn": "Vaccines Administered",
54
+ "bitePosition": "Left",
55
+ "biteFontSize": 24,
56
+ "fontSize": "small",
57
+ "biteBody": "<br><span class=\"h5\">Doses Administered in the 54 U.S. Jurisdictions Reporting Data<span id=\"administered_date\"> as of October 4, 2022.",
58
+ "imageData": {
59
+ "display": "none",
60
+ "url": "",
61
+ "alt": "",
62
+ "options": []
63
+ },
64
+ "dataFormat": {
65
+ "roundToPlace": 0,
66
+ "commas": true,
67
+ "prefix": "",
68
+ "suffix": ""
69
+ },
70
+ "biteStyle": "body",
71
+ "filters": [],
72
+ "subtext": "",
73
+ "title": "",
74
+ "theme": "theme-blue",
75
+ "shadow": false,
76
+ "visual": {
77
+ "border": false,
78
+ "accent": false,
79
+ "background": false,
80
+ "hideBackgroundColor": false,
81
+ "borderColorTheme": false
82
+ },
83
+ "general": {
84
+ "isCompactStyle": false
85
+ },
86
+ "newViz": true,
87
+ "uid": "data-bite1661201913029",
88
+ "visualizationType": "data-bite",
89
+ "editing": true
90
+ }
91
+ },
92
+ "table": {
93
+ "label": "Data Table",
94
+ "show": false
95
+ },
96
+ "dataFileSourceType": "url",
97
+ "dataUrl": "https://www.cdc.gov/wcms/vizdata/poxvirus/monkeypox/data/vaccines/mpx_vaccine_databites.csv",
98
+ "type": "dashboard",
99
+ "orientation": null,
100
+ "visualizationSubType": null,
101
+ "runtime": {},
102
+ "uuid": 1661454522321
103
+ }
@@ -0,0 +1,130 @@
1
+ [
2
+ {
3
+ "date": "2011-10-01",
4
+ "New York": "89.4",
5
+ "San Francisco": "26.7",
6
+ "Austin": "34.2",
7
+ "wind": "Include Wind",
8
+ "humidity": "Include Humidiy"
9
+ },
10
+ {
11
+ "date": "2011-10-02",
12
+ "New York": "54.0",
13
+ "San Francisco": "59.9",
14
+ "Austin": "68.7",
15
+ "wind": "Include Wind",
16
+ "humidity": "Include Humidiy"
17
+ },
18
+ {
19
+ "date": "2011-10-03",
20
+ "New York": "51.3",
21
+ "San Francisco": "53.1",
22
+ "Austin": "64.4",
23
+ "wind": "Include Wind",
24
+ "humidity": "Include Humidiy"
25
+ },
26
+ {
27
+ "date": "2011-10-04",
28
+ "New York": "34.7",
29
+ "San Francisco": "56.8",
30
+ "Austin": "98.0",
31
+ "wind": "Include Wind",
32
+ "humidity": "Include Humidiy"
33
+ },
34
+ {
35
+ "date": "2011-10-01",
36
+ "New York": "32.4",
37
+ "San Francisco": "43.7",
38
+ "Austin": "54.2",
39
+ "wind": "Don't Include Wind",
40
+ "humidity": "Include Humidiy"
41
+ },
42
+ {
43
+ "date": "2011-10-02",
44
+ "New York": "65.0",
45
+ "San Francisco": "76.9",
46
+ "Austin": "87.7",
47
+ "wind": "Don't Include Wind",
48
+ "humidity": "Include Humidiy"
49
+ },
50
+ {
51
+ "date": "2011-10-03",
52
+ "New York": "53.3",
53
+ "San Francisco": "59.1",
54
+ "Austin": "69.4",
55
+ "wind": "Don't Include Wind",
56
+ "humidity": "Include Humidiy"
57
+ },
58
+ {
59
+ "date": "2011-10-04",
60
+ "New York": "55.7",
61
+ "San Francisco": "58.8",
62
+ "Austin": "68.0",
63
+ "wind": "Don't Include Wind",
64
+ "humidity": "Include Humidiy"
65
+ },
66
+ {
67
+ "date": "2011-10-01",
68
+ "New York": "63.4",
69
+ "San Francisco": "62.7",
70
+ "Austin": "72.2",
71
+ "wind": "Include Wind",
72
+ "humidity": "Don't Include Humidiy"
73
+ },
74
+ {
75
+ "date": "2011-10-02",
76
+ "New York": "58.0",
77
+ "San Francisco": "59.9",
78
+ "Austin": "67.7",
79
+ "wind": "Include Wind",
80
+ "humidity": "Don't Include Humidiy"
81
+ },
82
+ {
83
+ "date": "2011-10-03",
84
+ "New York": "53.3",
85
+ "San Francisco": "59.1",
86
+ "Austin": "69.4",
87
+ "wind": "Include Wind",
88
+ "humidity": "Don't Include Humidiy"
89
+ },
90
+ {
91
+ "date": "2011-10-04",
92
+ "New York": "55.7",
93
+ "San Francisco": "58.8",
94
+ "Austin": "68.0",
95
+ "wind": "Include Wind",
96
+ "humidity": "Don't Include Humidiy"
97
+ },
98
+ {
99
+ "date": "2011-10-01",
100
+ "New York": "63.4",
101
+ "San Francisco": "62.7",
102
+ "Austin": "87.2",
103
+ "wind": "Don't Include Wind",
104
+ "humidity": "Don't Include Humidiy"
105
+ },
106
+ {
107
+ "date": "2011-10-02",
108
+ "New York": "98.0",
109
+ "San Francisco": "59.9",
110
+ "Austin": "67.7",
111
+ "wind": "Don't Include Wind",
112
+ "humidity": "Don't Include Humidiy"
113
+ },
114
+ {
115
+ "date": "2011-10-03",
116
+ "New York": "53.3",
117
+ "San Francisco": "59.1",
118
+ "Austin": "69.4",
119
+ "wind": "Don't Include Wind",
120
+ "humidity": "Don't Include Humidiy"
121
+ },
122
+ {
123
+ "date": "2011-10-04",
124
+ "New York": "55.7",
125
+ "San Francisco": "54.8",
126
+ "Austin": "68.0",
127
+ "wind": "Don't Include Wind",
128
+ "humidity": "Don't Include Humidiy"
129
+ }
130
+ ]
@@ -0,0 +1 @@
1
+ {"dashboard":{"theme":"theme-blue"},"rows":[[{"width":12,"widget":"waffle-chart1661970401264"},{},{}]],"visualizations":{"waffle-chart1661970401264":{"title":"Waffle Chart","content":"","subtext":"","orientation":"horizontal","data":[{"STATE":"Alabama","Rate":"130","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Alaska","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"American Samoa","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Arizona","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Arkansas","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"California","Rate":"30","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Colorado","Rate":"40","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Connecticut","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Deleware","Rate":"57","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"DC","Rate":"60","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Florida","Rate":"30","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Georgia","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Guam","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Hawaii","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Idaho","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Illinois","Rate":"30","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Indiana","Rate":"40","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Iowa","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Kansas","Rate":"57","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Kentucky","Rate":"60","Location":"NA","URL":"https://www.cdc.gov/"},{"STATE":"Louisiana","Rate":"30","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Maine","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Marshall Islands","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Maryland","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Massachusetts","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Michigan","Rate":"12","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Micronesia","Rate":"65","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Minnesota","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Mississippi","Rate":"57","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Montana","Rate":"60","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Montana","Rate":"30","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Nebraska","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Nevada","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"New Hampshire","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"New Jersey","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"New Mexico","Rate":"12","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"New York","Rate":"40","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"North Carolina","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"North Dakota","Rate":"57","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Northern Mariana Islands","Rate":"60","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Ohio","Rate":"88","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Oklahoma","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Oregon","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Palau","Rate":"15","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Pennsylvania","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Puerto Rico","Rate":"30","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Rhode Island","Rate":"40","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"South Carolina","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"South Dakota","Rate":"86","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Tennessee","Rate":"60","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Texas","Rate":"30","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Utah","Rate":"54","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Vermont","Rate":"40","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Virgin Islands","Rate":"55","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Virginia","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Washington","Rate":"62","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"West Virginia","Rate":"25","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Wyoming","Rate":"43","Location":"Vehicle","URL":"https://www.cdc.gov/"}],"filters":[],"fontSize":"","overallFontSize":"medium","dataColumn":"Rate","dataFunction":"Count","dataConditionalColumn":"","dataConditionalOperator":"","dataConditionalComparate":"","invalidComparate":false,"customDenom":false,"dataDenom":"100","dataDenomColumn":"","dataDenomFunction":"","suffix":"","roundToPlace":"0","shape":"circle","nodeWidth":"10","nodeSpacer":"2","theme":"theme-blue","type":"waffle-chart","uid":"waffle-chart1661970401264","visualizationType":"waffle-chart","editing":true}},"table":{"label":"Data Table","show":true},"data":[{"STATE":"Alabama","Rate":"130","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Alaska","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"American Samoa","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Arizona","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Arkansas","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"California","Rate":"30","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Colorado","Rate":"40","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Connecticut","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Deleware","Rate":"57","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"DC","Rate":"60","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Florida","Rate":"30","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Georgia","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Guam","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Hawaii","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Idaho","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Illinois","Rate":"30","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Indiana","Rate":"40","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Iowa","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Kansas","Rate":"57","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Kentucky","Rate":"60","Location":"NA","URL":"https://www.cdc.gov/"},{"STATE":"Louisiana","Rate":"30","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Maine","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Marshall Islands","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Maryland","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Massachusetts","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Michigan","Rate":"12","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Micronesia","Rate":"65","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Minnesota","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Mississippi","Rate":"57","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Montana","Rate":"60","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Montana","Rate":"30","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Nebraska","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Nevada","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"New Hampshire","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"New Jersey","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"New Mexico","Rate":"12","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"New York","Rate":"40","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"North Carolina","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"North Dakota","Rate":"57","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Northern Mariana Islands","Rate":"60","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Ohio","Rate":"88","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Oklahoma","Rate":"40","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Oregon","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Palau","Rate":"15","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Pennsylvania","Rate":"60","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Puerto Rico","Rate":"30","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Rhode Island","Rate":"40","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"South Carolina","Rate":"55","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"South Dakota","Rate":"86","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Tennessee","Rate":"60","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Texas","Rate":"30","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Utah","Rate":"54","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"Vermont","Rate":"40","Location":"Home","URL":"https://www.cdc.gov/"},{"STATE":"Virgin Islands","Rate":"55","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Virginia","Rate":"57","Location":"School","URL":"https://www.cdc.gov/"},{"STATE":"Washington","Rate":"62","Location":"Work","URL":"https://www.cdc.gov/"},{"STATE":"West Virginia","Rate":"25","Location":"Vehicle","URL":"https://www.cdc.gov/"},{"STATE":"Wyoming","Rate":"43","Location":"Vehicle","URL":"https://www.cdc.gov/"}],"dataFileName":"valid-data-map.csv","dataFileSourceType":"file","newViz":true,"type":"dashboard","orientation":null,"visualizationSubType":null,"runtime":{}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdc/dashboard",
3
- "version": "1.1.2",
3
+ "version": "9.22.9",
4
4
  "description": "React component for combining multiple visualizations into a single dashboard",
5
5
  "main": "dist/cdcdashboard",
6
6
  "scripts": {
@@ -18,12 +18,15 @@
18
18
  "url": "https://github.com/CDCgov/cdc-open-viz/issues"
19
19
  },
20
20
  "license": "Apache-2.0",
21
- "devDependencies": {
22
- "@cdc/chart": "^1.3.2",
23
- "@cdc/core": "^1.1.2",
24
- "@cdc/data-bite": "^1.1.2",
25
- "@cdc/map": "^2.6.2",
26
- "html-react-parser": "^0.14.0",
21
+ "dependencies": {
22
+ "@cdc/chart": "^9.22.9",
23
+ "@cdc/core": "^9.22.9",
24
+ "@cdc/data-bite": "^9.22.9",
25
+ "@cdc/filtered-text": "^0.0.1",
26
+ "@cdc/map": "^9.22.9",
27
+ "@cdc/markup-include": "^9.22.9",
28
+ "@cdc/waffle-chart": "^9.22.9",
29
+ "html-react-parser": "1.4.9",
27
30
  "js-base64": "^2.5.2",
28
31
  "papaparse": "^5.3.0",
29
32
  "react-accessible-accordion": "^3.3.4",
@@ -38,5 +41,8 @@
38
41
  "react": ">=16.8",
39
42
  "react-dom": ">=16"
40
43
  },
41
- "gitHead": "8790a2336ff2453d0d6f09ecec56b5e4beaa7377"
44
+ "resolutions": {
45
+ "@types/react": "17.x"
46
+ },
47
+ "gitHead": "90faf22c91ca0062432607e4599598f9e67c848a"
42
48
  }