@cdc/dashboard 4.25.3 → 4.25.5-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 (54) hide show
  1. package/Dynamic_Data.md +79 -0
  2. package/Override_Data.md +39 -0
  3. package/dist/cdcdashboard.js +67657 -70123
  4. package/examples/legend-issue-data.json +1874 -0
  5. package/examples/legend-issue.json +749 -0
  6. package/examples/map.json +628 -0
  7. package/index.html +1 -26
  8. package/package.json +10 -15
  9. package/src/CdcDashboardComponent.tsx +32 -5
  10. package/src/_stories/Dashboard.stories.tsx +2 -0
  11. package/src/_stories/_mock/api-filter-map.json +42 -1
  12. package/src/components/CollapsibleVisualizationRow.tsx +2 -2
  13. package/src/components/DashboardFilters/DashboardFilters.tsx +1 -1
  14. package/src/components/DashboardFilters/DashboardFiltersEditor/components/APIModal.tsx +129 -0
  15. package/src/components/DashboardFilters/DashboardFiltersEditor/components/FilterEditor.tsx +680 -652
  16. package/src/components/DataDesignerModal.tsx +33 -14
  17. package/src/components/MultiConfigTabs/multiconfigtabs.styles.css +3 -0
  18. package/src/components/Row.tsx +2 -1
  19. package/src/components/VisualizationRow.tsx +1 -1
  20. package/src/helpers/reloadURLHelpers.ts +10 -2
  21. package/src/helpers/shouldLoadAllFilters.ts +30 -30
  22. package/src/index.tsx +2 -1
  23. package/src/scss/main.scss +0 -5
  24. package/src/store/dashboard.actions.ts +2 -0
  25. package/src/store/dashboard.reducer.ts +15 -0
  26. package/src/types/DataSet.ts +1 -0
  27. package/src/types/SharedFilter.ts +2 -0
  28. package/LICENSE +0 -201
  29. package/examples/private/DEV-10120.json +0 -1294
  30. package/examples/private/DEV-10527.json +0 -845
  31. package/examples/private/DEV-10586.json +0 -54319
  32. package/examples/private/DEV-10856.json +0 -54319
  33. package/examples/private/DEV-9199.json +0 -606
  34. package/examples/private/DEV-9644.json +0 -20092
  35. package/examples/private/DEV-9684.json +0 -2135
  36. package/examples/private/DEV-9932.json +0 -95
  37. package/examples/private/DEV-9989.json +0 -229
  38. package/examples/private/art-dashboard.json +0 -18174
  39. package/examples/private/art-scratch.json +0 -2406
  40. package/examples/private/bird-flu-2.json +0 -440
  41. package/examples/private/bird-flu.json +0 -413
  42. package/examples/private/dashboard-config-ehdi.json +0 -29915
  43. package/examples/private/dashboard-map-filter.json +0 -815
  44. package/examples/private/dashboard-margins.js +0 -15
  45. package/examples/private/dataset.json +0 -1452
  46. package/examples/private/dev-10856-2.json +0 -1348
  47. package/examples/private/ehdi-data.json +0 -29502
  48. package/examples/private/exposure-source-h5-data.csv +0 -26
  49. package/examples/private/fatal-data.csv +0 -3159
  50. package/examples/private/feelings.json +0 -1
  51. package/examples/private/gaza-issue.json +0 -1214
  52. package/examples/private/markup.json +0 -115
  53. package/examples/private/nhis.json +0 -1792
  54. package/examples/private/workforce.json +0 -2041
@@ -1,115 +0,0 @@
1
- {
2
- "dashboard": {
3
- "theme": "theme-blue",
4
- "sharedFilters": []
5
- },
6
- "rows": [
7
- {
8
- "columns": [
9
- {
10
- "width": 12,
11
- "widget": "markup-include1741277548423"
12
- },
13
- {},
14
- {}
15
- ]
16
- }
17
- ],
18
- "visualizations": {
19
- "markup-include1741277548423": {
20
- "filters": [],
21
- "filterBehavior": "Filter Change",
22
- "openModal": false,
23
- "uid": "markup-include1741277548423",
24
- "type": "markup-include",
25
- "contentEditor": {
26
- "inlineHTML": "<h2>Inline HTML</h2>",
27
- "markupVariables": [],
28
- "showHeader": true,
29
- "srcUrl": "#example",
30
- "title": "Markup Include",
31
- "useInlineHTML": true
32
- },
33
- "theme": "theme-purple",
34
- "visual": {
35
- "border": false,
36
- "accent": false,
37
- "background": false,
38
- "hideBackgroundColor": false,
39
- "borderColorTheme": false
40
- },
41
- "showEditorPanel": true,
42
- "visualizationType": "markup-include",
43
- "dataDescription": {
44
- "horizontal": false,
45
- "series": false
46
- },
47
- "dataKey": "valid-data-chart.csv",
48
- "version": "4.25.1",
49
- "migrations": {
50
- "addColorMigration": true
51
- }
52
- }
53
- },
54
- "table": {
55
- "label": "Data Table",
56
- "show": true,
57
- "showDownloadUrl": false,
58
- "showDownloadLinkBelow": true,
59
- "showVertical": true
60
- },
61
- "errors": [],
62
- "currentViewport": "lg",
63
- "id": 15,
64
- "category": "General",
65
- "label": "Dashboard",
66
- "type": "dashboard",
67
- "subType": null,
68
- "orientation": null,
69
- "icon": {
70
- "key": null,
71
- "ref": null,
72
- "props": {},
73
- "_owner": null,
74
- "_store": {}
75
- },
76
- "content": "Present multiple data visualizations with shared filter controls.",
77
- "datasets": {
78
- "valid-data-chart.csv": {
79
- "data": [
80
- {
81
- "Race": "Hispanic or Latino",
82
- "Age-adjusted rate": "644.2"
83
- },
84
- {
85
- "Race": "Non-Hispanic American Indian",
86
- "Age-adjusted rate": "636.1"
87
- },
88
- {
89
- "Race": "Non-Hispanic Black",
90
- "Age-adjusted rate": "563.7"
91
- },
92
- {
93
- "Race": "Non-Hispanic Asian or Pacific Islander",
94
- "Age-adjusted rate": "202.5"
95
- },
96
- {
97
- "Race": "Non-Hispanic White",
98
- "Age-adjusted rate": "183.6"
99
- }
100
- ],
101
- "dataFileSize": 178,
102
- "dataFileName": "valid-data-chart.csv",
103
- "dataFileSourceType": "file",
104
- "dataFileFormat": "CSV",
105
- "preview": true
106
- }
107
- },
108
- "visualizationType": null,
109
- "activeVizButtonID": 15,
110
- "version": "4.25.1",
111
- "migrations": {
112
- "addColorMigration": true
113
- },
114
- "runtime": {}
115
- }