@cdc/dashboard 4.24.12 → 4.25.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 (38) hide show
  1. package/dist/cdcdashboard.js +68752 -67417
  2. package/examples/private/DEV-10120.json +1294 -0
  3. package/examples/private/DEV-9989.json +229 -0
  4. package/examples/private/art-dashboard.json +2 -2
  5. package/examples/private/bird-flu-2.json +440 -0
  6. package/examples/private/bird-flu.json +413 -0
  7. package/examples/private/dashboard-config-ehdi.json +29915 -0
  8. package/examples/private/dashboard-margins.js +15 -0
  9. package/examples/private/dataset.json +1452 -0
  10. package/examples/private/ehdi-data.json +29502 -0
  11. package/examples/private/exposure-source-h5-data.csv +26 -0
  12. package/examples/private/workforce.json +2041 -0
  13. package/index.html +2 -6
  14. package/package.json +9 -9
  15. package/src/CdcDashboardComponent.tsx +12 -4
  16. package/src/_stories/Dashboard.stories.tsx +32 -0
  17. package/src/_stories/_mock/data-bite-dash-test.json +1 -0
  18. package/src/_stories/_mock/data-bite-dash-test_1.json +1 -0
  19. package/src/_stories/_mock/data-bite-dash-test_1_1.json +1 -0
  20. package/src/_stories/_mock/data-bite-dash-test_1_1_1.json +1 -0
  21. package/src/components/CollapsibleVisualizationRow.tsx +2 -2
  22. package/src/components/Column.tsx +12 -1
  23. package/src/components/DashboardFilters/DashboardFilters.tsx +4 -4
  24. package/src/components/DashboardFilters/DashboardFiltersEditor/DashboardFiltersEditor.tsx +1 -3
  25. package/src/components/DashboardFilters/DashboardFiltersEditor/components/FilterEditor.tsx +1 -1
  26. package/src/components/DashboardFilters/dashboardfilter.styles.css +2 -0
  27. package/src/components/ExpandCollapseButtons.tsx +1 -1
  28. package/src/components/Header/Header.tsx +1 -2
  29. package/src/components/MultiConfigTabs/MultiConfigTabs.tsx +2 -2
  30. package/src/components/MultiConfigTabs/MultiTabs.tsx +1 -1
  31. package/src/components/VisualizationRow.tsx +2 -2
  32. package/src/components/Widget.tsx +9 -3
  33. package/src/helpers/apiFilterHelpers.ts +1 -1
  34. package/src/index.tsx +1 -0
  35. package/src/scss/main.scss +1 -12
  36. package/src/store/dashboard.actions.ts +2 -2
  37. package/src/store/dashboard.reducer.ts +17 -8
  38. package/src/types/DashboardConfig.ts +2 -0
@@ -0,0 +1,15 @@
1
+ $('.cdc-open-viz-module .row > div').each(function () {
2
+ $(this).removeClass('mt-5')
3
+ })
4
+
5
+ // Remove top margin from dashboard inner container
6
+ $('.cdc-dashboard-inner-container').each(function () {
7
+ $(this).css('marginTop', 0)
8
+ })
9
+
10
+ // Remove DFE block padding on blocks that have the open viz module
11
+ $('.dfe-block')
12
+ .has('.cdc-open-viz-module')
13
+ .each(function () {
14
+ $(this).css('paddingTop', 0)
15
+ })