@cdc/dashboard 4.23.11 → 4.24.2
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.
- package/dist/cdcdashboard.js +109007 -98738
- package/examples/DEV-6574.json +2224 -0
- package/examples/filters/Alabama.json +72 -0
- package/examples/filters/Alaska.json +1737 -0
- package/examples/filters/Arkansas.json +4713 -0
- package/examples/filters/California.json +212 -0
- package/examples/filters/Colorado.json +1500 -0
- package/examples/filters/Connecticut.json +559 -0
- package/examples/filters/Delaware.json +63 -0
- package/examples/filters/DistrictofColumbia.json +63 -0
- package/examples/filters/Florida.json +4217 -0
- package/examples/filters/States.json +146 -0
- package/examples/test.json +752 -0
- package/examples/zika.json +2274 -0
- package/index.html +5 -3
- package/package.json +9 -9
- package/src/CdcDashboard.tsx +124 -963
- package/src/CdcDashboardComponent.tsx +903 -0
- package/src/_stories/Dashboard.stories.tsx +2 -2
- package/src/components/Column.tsx +15 -12
- package/src/components/Header/Header.tsx +694 -0
- package/src/components/Header/index.tsx +1 -676
- package/src/components/MultiConfigTabs/MultiConfigTabs.tsx +106 -0
- package/src/components/MultiConfigTabs/MultiTabs.tsx +30 -0
- package/src/components/MultiConfigTabs/index.tsx +8 -0
- package/src/components/MultiConfigTabs/multiconfigtabs.styles.css +32 -0
- package/src/components/Widget.tsx +25 -9
- package/src/helpers/filterData.ts +73 -73
- package/src/helpers/generateValuesForFilter.ts +25 -29
- package/src/helpers/getUpdateConfig.ts +6 -2
- package/src/helpers/processData.ts +13 -0
- package/src/helpers/processDataLegacy.ts +14 -0
- package/src/{index.jsx → index.tsx} +2 -2
- package/src/scss/editor-panel.scss +14 -11
- package/src/scss/grid.scss +4 -6
- package/src/scss/main.scss +2 -8
- package/src/store/dashboard.actions.ts +10 -4
- package/src/store/dashboard.reducer.ts +74 -3
- package/src/types/ConfigRow.ts +6 -0
- package/src/types/Dashboard.ts +11 -0
- package/src/types/DashboardConfig.ts +23 -0
- package/src/types/InitialState.ts +10 -0
- package/src/types/MultiDashboard.ts +11 -0
- package/src/types/SharedFilter.ts +31 -20
- package/src/types/Config.ts +0 -27
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"geography": "Alabama"
|
|
4
|
+
},
|
|
5
|
+
{
|
|
6
|
+
"geography": "Alaska"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"geography": "Arizona"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"geography": "Arkansas"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"geography": "California"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"geography": "Colorado"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"geography": "Connecticut"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"geography": "Delaware"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"geography": "District of Columbia"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"geography": "Florida"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"geography": "Georgia"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"geography": "Hawaii"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"geography": "Idaho"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"geography": "Illinois"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"geography": "Indiana"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"geography": "Iowa"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"geography": "Kansas"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"geography": "Kentucky"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"geography": "Louisiana"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"geography": "Maine"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"geography": "Maryland"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"geography": "Massachusetts"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"geography": "Michigan"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"geography": "Minnesota"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"geography": "Mississippi"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"geography": "Montana"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"geography": "Nebraska"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"geography": "Nevada"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"geography": "New Jersey"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"geography": "New Mexico"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"geography": "New York"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"geography": "North Carolina"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"geography": "North Dakota"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"geography": "Ohio"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"geography": "Oklahoma"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"geography": "Oregon"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"geography": "Pennsylvania"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"geography": "Rhode Island"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"geography": "South Carolina"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"geography": "Tennessee"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"geography": "Texas"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"geography": "United States"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"geography": "Utah"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"geography": "Vermont"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"geography": "Virginia"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"geography": "West Virginia"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"geography": "Wisconsin"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"geography": "Wyoming"
|
|
145
|
+
}
|
|
146
|
+
]
|