@cdc/core 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 (68) hide show
  1. package/components/DataTable/DataTable.tsx +26 -36
  2. package/components/DataTable/DataTableStandAlone.tsx +3 -3
  3. package/components/DataTable/components/ChartHeader.tsx +3 -2
  4. package/components/DataTable/components/ExpandCollapse.tsx +1 -4
  5. package/components/DataTable/data-table.css +2 -7
  6. package/components/DataTable/helpers/customSort.ts +2 -2
  7. package/components/DataTable/helpers/mapCellMatrix.tsx +83 -60
  8. package/components/DataTable/types/TableConfig.ts +0 -1
  9. package/components/EditorPanel/FootnotesEditor.tsx +49 -7
  10. package/components/EditorPanel/VizFilterEditor/VizFilterEditor.tsx +15 -2
  11. package/components/Filters/Filters.tsx +42 -36
  12. package/components/Filters/helpers/handleSorting.ts +5 -0
  13. package/components/Footnotes/Footnotes.tsx +1 -1
  14. package/components/Layout/components/Visualization/index.tsx +18 -4
  15. package/components/Layout/components/Visualization/visualizations.scss +1 -1
  16. package/components/Legend/Legend.Gradient.tsx +1 -4
  17. package/components/Legend/index.tsx +1 -1
  18. package/components/LegendShape.tsx +2 -3
  19. package/components/MediaControls.jsx +32 -8
  20. package/components/NestedDropdown/NestedDropdown.tsx +7 -12
  21. package/components/NestedDropdown/nesteddropdown.styles.css +11 -5
  22. package/components/Table/Table.tsx +0 -6
  23. package/components/Table/components/Row.tsx +2 -5
  24. package/components/_stories/DataTable.stories.tsx +1 -2
  25. package/components/elements/Button.jsx +38 -19
  26. package/components/elements/Confirm.tsx +45 -0
  27. package/components/elements/Error.tsx +24 -0
  28. package/components/managers/DataDesigner.tsx +198 -143
  29. package/components/ui/Title/Title.scss +12 -5
  30. package/components/ui/Title/index.tsx +1 -1
  31. package/dist/cove-main.css +77 -591
  32. package/dist/cove-main.css.map +1 -1
  33. package/helpers/DataTransform.ts +55 -63
  34. package/helpers/addValuesToFilters.ts +45 -16
  35. package/helpers/cove/accessibility.ts +24 -0
  36. package/helpers/cove/fontSettings.ts +1 -1
  37. package/helpers/cove/number.ts +1 -7
  38. package/helpers/coveUpdateWorker.ts +5 -1
  39. package/helpers/displayDataAsText.ts +64 -0
  40. package/helpers/filterVizData.ts +2 -2
  41. package/helpers/formatConfigBeforeSave.ts +16 -1
  42. package/helpers/isOlderVersion.ts +20 -0
  43. package/helpers/missingRequiredSections.ts +20 -0
  44. package/helpers/tests/addValuesToFilters.test.ts +19 -1
  45. package/helpers/useDataVizClasses.ts +8 -4
  46. package/helpers/ver/4.24.10.ts +12 -0
  47. package/helpers/ver/4.24.11.ts +18 -0
  48. package/helpers/ver/4.25.1.ts +18 -0
  49. package/package.json +2 -2
  50. package/styles/_button-section.scss +2 -5
  51. package/styles/_global-variables.scss +17 -7
  52. package/styles/_global.scss +8 -12
  53. package/styles/_reset.scss +4 -5
  54. package/styles/_typography.scss +0 -20
  55. package/styles/_variables.scss +0 -3
  56. package/styles/base.scss +44 -5
  57. package/styles/cove-main.scss +1 -1
  58. package/styles/filters.scss +5 -6
  59. package/styles/v2/base/_general.scss +3 -2
  60. package/styles/v2/components/button.scss +0 -1
  61. package/styles/v2/main.scss +3 -4
  62. package/styles/v2/utils/index.scss +0 -1
  63. package/types/BoxPlot.ts +1 -0
  64. package/types/Runtime.ts +1 -0
  65. package/types/Table.ts +0 -1
  66. package/types/Version.ts +1 -1
  67. package/types/VizFilter.ts +2 -1
  68. package/styles/v2/utils/_spacers.scss +0 -31
@@ -1,12 +1,12 @@
1
1
  @charset "UTF-8";
2
2
  .cdc-open-viz-module {
3
3
  margin: 0;
4
- font: 1em/1.6 system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Fira Sans, sans-serif;
4
+ font-family: var(--app-font-main);
5
+ font-size: 1em;
6
+ line-height: 1.5;
5
7
  font-weight: 400;
6
8
  font-style: normal;
7
9
  text-rendering: optimizeLegibility;
8
- -webkit-font-smoothing: antialiased;
9
- color: #111;
10
10
  }
11
11
  .cdc-open-viz-module :focus,
12
12
  .cdc-open-viz-module [tabindex]:focus-visible {
@@ -87,7 +87,7 @@
87
87
  margin: 0;
88
88
  padding: 0;
89
89
  border: 0;
90
- font-family: sans-serif;
90
+ font-family: var(--app-font-main);
91
91
  font-weight: normal;
92
92
  vertical-align: baseline;
93
93
  }
@@ -182,31 +182,36 @@
182
182
  :root {
183
183
  --editorContentPadding: 30px;
184
184
  --editorWidth: 350px;
185
+ --space-between-legend-item-rows: 1rem;
186
+ --space-between-legend-item-columns: 1.5rem;
185
187
  --breakpoint-xs: 480px;
186
188
  --breakpoint-sm: 768px;
187
189
  --breakpoint-md: 960px;
188
190
  --breakpoint-lg: 1170px;
189
191
  --breakpoint-xl: 1280px;
190
- --font-size: 17px;
192
+ --app-font-main: "Nunito", sans-serif;
193
+ --app-font-secondary: "Poppins", sans-serif;
194
+ --legend-title-font-size: 1rem;
195
+ --legend-description-font-size: 1rem;
196
+ --legend-item-font-size: 0.889rem;
197
+ --download-link-font-size: 0.772rem;
198
+ --filter-select-font-size: 0.833rem;
199
+ --filter-label-font-size: 0.889rem;
200
+ --filter-buttons-font-size: 0.889rem;
201
+ --superTitle-font-size: 0.833rem;
202
+ --title-font-size: 1.222rem;
191
203
  }
192
204
 
193
- @media (max-width: 576px) {
194
- :root {
195
- --font-size: 13px;
196
- }
197
- }
198
205
  .filters-section__wrapper {
199
206
  flex-wrap: wrap;
200
207
  display: flex;
201
- gap: 7px 15px;
202
- margin-top: 15px;
203
- margin-bottom: 15px;
208
+ gap: 18px 27px;
204
209
  }
205
210
  .filters-section__wrapper label {
206
211
  display: inherit;
207
212
  margin-bottom: 5px;
208
- font-weight: 600;
209
- font-size: 16px;
213
+ font-weight: 700;
214
+ font-size: var(--filter-label-font-size);
210
215
  }
211
216
  .filters-section__intro-text {
212
217
  display: block;
@@ -214,6 +219,7 @@
214
219
  }
215
220
  .filters-section__buttons {
216
221
  width: 100%;
222
+ font-size: var(--filter-buttons-font-size);
217
223
  }
218
224
  .filters-section__buttons .apply {
219
225
  margin-right: 10px;
@@ -221,6 +227,7 @@
221
227
 
222
228
  div.single-filters label {
223
229
  width: 100%;
230
+ font-weight: 700;
224
231
  }
225
232
  div.single-filters__tab-bar:first-child {
226
233
  border-top-left-radius: 15px;
@@ -297,16 +304,11 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
297
304
 
298
305
  .cdc-open-viz-module {
299
306
  position: relative;
300
- color: #333;
301
- font-size: 14px !important;
302
307
  line-height: 1.4;
303
308
  -webkit-print-color-adjust: exact !important; /* Chrome, Safari 6 – 15.3, Edge */
304
309
  color-adjust: exact !important; /* Firefox 48 – 96 */
305
310
  print-color-adjust: exact !important; /* Firefox 97+, Safari 15.4+ */
306
311
  }
307
- .cdc-open-viz-module.md, .cdc-open-viz-module.lg {
308
- font-size: 16px !important;
309
- }
310
312
  .cdc-open-viz-module strong {
311
313
  font-weight: 600;
312
314
  }
@@ -462,15 +464,10 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
462
464
  }
463
465
  .cdc-open-viz-module section.introText {
464
466
  width: 100%;
465
- margin-bottom: 25px;
466
467
  }
467
468
  .cdc-open-viz-module section.footnotes {
468
- border-top: 1px solid #ddd;
469
- margin-top: 20px;
470
- padding: 15px;
471
- }
472
- .cdc-open-viz-module .cdc-chart-inner-container .subtext {
473
- margin-top: 20px;
469
+ border-top: 1px solid var(--cool-gray-10);
470
+ width: 100%;
474
471
  }
475
472
  .cdc-open-viz-module .margin-left-href {
476
473
  margin-left: 15px;
@@ -484,12 +481,15 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
484
481
  border-color: rgb(0, 79.9, 144.5);
485
482
  }
486
483
  .cdc-open-viz-module .cove-form-select {
484
+ font-family: var(--app-font-secondary);
485
+ font-weight: 300;
486
+ font-size: var(--filter-select-font-size);
487
487
  display: block;
488
488
  width: 100%;
489
489
  padding: 0.375rem 0.75rem;
490
490
  border-radius: 0.25rem;
491
- border: 1px solid var(--lightGray);
492
- color: var(--darkGray);
491
+ border: 1px solid var(--cool-gray-10);
492
+ color: var(--cool-gray-90);
493
493
  }
494
494
  .cdc-open-viz-module .download-buttons {
495
495
  display: flex;
@@ -506,7 +506,7 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
506
506
  display: flex;
507
507
  justify-content: flex-end;
508
508
  width: 100%;
509
- margin-top: 20px;
509
+ line-height: 1;
510
510
  }
511
511
  .cdc-open-viz-module .download-links.brush-active {
512
512
  margin-top: 2em;
@@ -515,10 +515,7 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
515
515
  margin-right: 10px;
516
516
  }
517
517
  .cdc-open-viz-module .download-links a {
518
- font-size: 16px;
519
- }
520
- .cdc-open-viz-module .download-links.below-table {
521
- margin-top: 5px;
518
+ font-size: var(--download-link-font-size);
522
519
  }
523
520
  .cdc-open-viz-module .cdc-dashboard-inner-container .download-links {
524
521
  padding: unset;
@@ -600,21 +597,50 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
600
597
  .cdc-open-viz-module.cdc-map-outer-container .editor-panel .series-item--chart:last-child, .cdc-open-viz-module.type-chart .editor-panel .series-item--chart:last-child {
601
598
  padding-bottom: 5px;
602
599
  }
603
- .cdc-open-viz-module.font-small .chart-container {
604
- font-size: 0.9em !important;
600
+ .cdc-open-viz-module input[type=range] {
601
+ appearance: auto !important;
602
+ }
603
+ .cdc-open-viz-module .me-0 {
604
+ margin-right: 0 !important;
605
605
  }
606
- .cdc-open-viz-module.font-medium {
607
- font-size: 1em !important;
606
+ .cdc-open-viz-module .me-1 {
607
+ margin-right: 0.25rem !important;
608
608
  }
609
- .cdc-open-viz-module.font-large .chart-container {
610
- font-size: 1.1em !important;
609
+ .cdc-open-viz-module .me-2 {
610
+ margin-right: 0.5rem !important;
611
611
  }
612
- .cdc-open-viz-module .subtext {
613
- font-style: italic;
614
- font-size: 0.9em !important;
612
+ .cdc-open-viz-module .me-3 {
613
+ margin-right: 1rem !important;
615
614
  }
616
- .cdc-open-viz-module input[type=range] {
617
- appearance: auto !important;
615
+ .cdc-open-viz-module .me-4 {
616
+ margin-right: 1.5rem !important;
617
+ }
618
+ .cdc-open-viz-module .me-5 {
619
+ margin-right: 3rem !important;
620
+ }
621
+ .cdc-open-viz-module .me-auto {
622
+ margin-right: auto !important;
623
+ }
624
+ .cdc-open-viz-module .ms-0 {
625
+ margin-left: 0 !important;
626
+ }
627
+ .cdc-open-viz-module .ms-1 {
628
+ margin-left: 0.25rem !important;
629
+ }
630
+ .cdc-open-viz-module .ms-2 {
631
+ margin-left: 0.5rem !important;
632
+ }
633
+ .cdc-open-viz-module .ms-3 {
634
+ margin-left: 1rem !important;
635
+ }
636
+ .cdc-open-viz-module .ms-4 {
637
+ margin-left: 1.5rem !important;
638
+ }
639
+ .cdc-open-viz-module .ms-5 {
640
+ margin-left: 3rem !important;
641
+ }
642
+ .cdc-open-viz-module .ms-auto {
643
+ margin-left: auto !important;
618
644
  }
619
645
 
620
646
  .color-palette li.theme-purple,
@@ -3002,546 +3028,6 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
3002
3028
  grid-row-start: 13;
3003
3029
  }
3004
3030
  }
3005
- .p-0 {
3006
- padding: 0px !important;
3007
- }
3008
-
3009
- .p-1 {
3010
- padding: 8px !important;
3011
- }
3012
-
3013
- .p-2 {
3014
- padding: 16px !important;
3015
- }
3016
-
3017
- .p-3 {
3018
- padding: 24px !important;
3019
- }
3020
-
3021
- .p-4 {
3022
- padding: 32px !important;
3023
- }
3024
-
3025
- .p-5 {
3026
- padding: 40px !important;
3027
- }
3028
-
3029
- .p-6 {
3030
- padding: 48px !important;
3031
- }
3032
-
3033
- .p-7 {
3034
- padding: 56px !important;
3035
- }
3036
-
3037
- .p-8 {
3038
- padding: 64px !important;
3039
- }
3040
-
3041
- .pt-0 {
3042
- padding-top: 0px !important;
3043
- }
3044
-
3045
- .pt-1 {
3046
- padding-top: 8px !important;
3047
- }
3048
-
3049
- .pt-2 {
3050
- padding-top: 16px !important;
3051
- }
3052
-
3053
- .pt-3 {
3054
- padding-top: 24px !important;
3055
- }
3056
-
3057
- .pt-4 {
3058
- padding-top: 32px !important;
3059
- }
3060
-
3061
- .pt-5 {
3062
- padding-top: 40px !important;
3063
- }
3064
-
3065
- .pt-6 {
3066
- padding-top: 48px !important;
3067
- }
3068
-
3069
- .pt-7 {
3070
- padding-top: 56px !important;
3071
- }
3072
-
3073
- .pt-8 {
3074
- padding-top: 64px !important;
3075
- }
3076
-
3077
- .pr-0 {
3078
- padding-right: 0px !important;
3079
- }
3080
-
3081
- .pr-1 {
3082
- padding-right: 8px !important;
3083
- }
3084
-
3085
- .pr-2 {
3086
- padding-right: 16px !important;
3087
- }
3088
-
3089
- .pr-3 {
3090
- padding-right: 24px !important;
3091
- }
3092
-
3093
- .pr-4 {
3094
- padding-right: 32px !important;
3095
- }
3096
-
3097
- .pr-5 {
3098
- padding-right: 40px !important;
3099
- }
3100
-
3101
- .pr-6 {
3102
- padding-right: 48px !important;
3103
- }
3104
-
3105
- .pr-7 {
3106
- padding-right: 56px !important;
3107
- }
3108
-
3109
- .pr-8 {
3110
- padding-right: 64px !important;
3111
- }
3112
-
3113
- .pb-0 {
3114
- padding-bottom: 0px !important;
3115
- }
3116
-
3117
- .pb-1 {
3118
- padding-bottom: 8px !important;
3119
- }
3120
-
3121
- .pb-2 {
3122
- padding-bottom: 16px !important;
3123
- }
3124
-
3125
- .pb-3 {
3126
- padding-bottom: 24px !important;
3127
- }
3128
-
3129
- .pb-4 {
3130
- padding-bottom: 32px !important;
3131
- }
3132
-
3133
- .pb-5 {
3134
- padding-bottom: 40px !important;
3135
- }
3136
-
3137
- .pb-6 {
3138
- padding-bottom: 48px !important;
3139
- }
3140
-
3141
- .pb-7 {
3142
- padding-bottom: 56px !important;
3143
- }
3144
-
3145
- .pb-8 {
3146
- padding-bottom: 64px !important;
3147
- }
3148
-
3149
- .pl-0 {
3150
- padding-left: 0px !important;
3151
- }
3152
-
3153
- .pl-1 {
3154
- padding-left: 8px !important;
3155
- }
3156
-
3157
- .pl-2 {
3158
- padding-left: 16px !important;
3159
- }
3160
-
3161
- .pl-3 {
3162
- padding-left: 24px !important;
3163
- }
3164
-
3165
- .pl-4 {
3166
- padding-left: 32px !important;
3167
- }
3168
-
3169
- .pl-5 {
3170
- padding-left: 40px !important;
3171
- }
3172
-
3173
- .pl-6 {
3174
- padding-left: 48px !important;
3175
- }
3176
-
3177
- .pl-7 {
3178
- padding-left: 56px !important;
3179
- }
3180
-
3181
- .pl-8 {
3182
- padding-left: 64px !important;
3183
- }
3184
-
3185
- .px-0 {
3186
- padding-left: 0px !important;
3187
- padding-right: 0px !important;
3188
- }
3189
-
3190
- .px-1 {
3191
- padding-left: 8px !important;
3192
- padding-right: 8px !important;
3193
- }
3194
-
3195
- .px-2 {
3196
- padding-left: 16px !important;
3197
- padding-right: 16px !important;
3198
- }
3199
-
3200
- .px-3 {
3201
- padding-left: 24px !important;
3202
- padding-right: 24px !important;
3203
- }
3204
-
3205
- .px-4 {
3206
- padding-left: 32px !important;
3207
- padding-right: 32px !important;
3208
- }
3209
-
3210
- .px-5 {
3211
- padding-left: 40px !important;
3212
- padding-right: 40px !important;
3213
- }
3214
-
3215
- .px-6 {
3216
- padding-left: 48px !important;
3217
- padding-right: 48px !important;
3218
- }
3219
-
3220
- .px-7 {
3221
- padding-left: 56px !important;
3222
- padding-right: 56px !important;
3223
- }
3224
-
3225
- .px-8 {
3226
- padding-left: 64px !important;
3227
- padding-right: 64px !important;
3228
- }
3229
-
3230
- .py-0 {
3231
- padding-top: 0px !important;
3232
- padding-bottom: 0px !important;
3233
- }
3234
-
3235
- .py-1 {
3236
- padding-top: 8px !important;
3237
- padding-bottom: 8px !important;
3238
- }
3239
-
3240
- .py-2 {
3241
- padding-top: 16px !important;
3242
- padding-bottom: 16px !important;
3243
- }
3244
-
3245
- .py-3 {
3246
- padding-top: 24px !important;
3247
- padding-bottom: 24px !important;
3248
- }
3249
-
3250
- .py-4 {
3251
- padding-top: 32px !important;
3252
- padding-bottom: 32px !important;
3253
- }
3254
-
3255
- .py-5 {
3256
- padding-top: 40px !important;
3257
- padding-bottom: 40px !important;
3258
- }
3259
-
3260
- .py-6 {
3261
- padding-top: 48px !important;
3262
- padding-bottom: 48px !important;
3263
- }
3264
-
3265
- .py-7 {
3266
- padding-top: 56px !important;
3267
- padding-bottom: 56px !important;
3268
- }
3269
-
3270
- .py-8 {
3271
- padding-top: 64px !important;
3272
- padding-bottom: 64px !important;
3273
- }
3274
-
3275
- .m-0 {
3276
- margin: 0px !important;
3277
- }
3278
-
3279
- .m-1 {
3280
- margin: 8px !important;
3281
- }
3282
-
3283
- .m-2 {
3284
- margin: 16px !important;
3285
- }
3286
-
3287
- .m-3 {
3288
- margin: 24px !important;
3289
- }
3290
-
3291
- .m-4 {
3292
- margin: 32px !important;
3293
- }
3294
-
3295
- .m-5 {
3296
- margin: 40px !important;
3297
- }
3298
-
3299
- .m-6 {
3300
- margin: 48px !important;
3301
- }
3302
-
3303
- .m-7 {
3304
- margin: 56px !important;
3305
- }
3306
-
3307
- .m-8 {
3308
- margin: 64px !important;
3309
- }
3310
-
3311
- .mt-0 {
3312
- margin-top: 0px !important;
3313
- }
3314
-
3315
- .mt-1 {
3316
- margin-top: 8px !important;
3317
- }
3318
-
3319
- .mt-2 {
3320
- margin-top: 16px !important;
3321
- }
3322
-
3323
- .mt-3 {
3324
- margin-top: 24px !important;
3325
- }
3326
-
3327
- .mt-4 {
3328
- margin-top: 32px !important;
3329
- }
3330
-
3331
- .mt-5 {
3332
- margin-top: 40px !important;
3333
- }
3334
-
3335
- .mt-6 {
3336
- margin-top: 48px !important;
3337
- }
3338
-
3339
- .mt-7 {
3340
- margin-top: 56px !important;
3341
- }
3342
-
3343
- .mt-8 {
3344
- margin-top: 64px !important;
3345
- }
3346
-
3347
- .mr-0 {
3348
- margin-right: 0px !important;
3349
- }
3350
-
3351
- .mr-1 {
3352
- margin-right: 8px !important;
3353
- }
3354
-
3355
- .mr-2 {
3356
- margin-right: 16px !important;
3357
- }
3358
-
3359
- .mr-3 {
3360
- margin-right: 24px !important;
3361
- }
3362
-
3363
- .mr-4 {
3364
- margin-right: 32px !important;
3365
- }
3366
-
3367
- .mr-5 {
3368
- margin-right: 40px !important;
3369
- }
3370
-
3371
- .mr-6 {
3372
- margin-right: 48px !important;
3373
- }
3374
-
3375
- .mr-7 {
3376
- margin-right: 56px !important;
3377
- }
3378
-
3379
- .mr-8 {
3380
- margin-right: 64px !important;
3381
- }
3382
-
3383
- .mb-0 {
3384
- margin-bottom: 0px !important;
3385
- }
3386
-
3387
- .mb-1 {
3388
- margin-bottom: 8px !important;
3389
- }
3390
-
3391
- .mb-2 {
3392
- margin-bottom: 16px !important;
3393
- }
3394
-
3395
- .mb-3 {
3396
- margin-bottom: 24px !important;
3397
- }
3398
-
3399
- .mb-4 {
3400
- margin-bottom: 32px !important;
3401
- }
3402
-
3403
- .mb-5 {
3404
- margin-bottom: 40px !important;
3405
- }
3406
-
3407
- .mb-6 {
3408
- margin-bottom: 48px !important;
3409
- }
3410
-
3411
- .mb-7 {
3412
- margin-bottom: 56px !important;
3413
- }
3414
-
3415
- .mb-8 {
3416
- margin-bottom: 64px !important;
3417
- }
3418
-
3419
- .ml-0 {
3420
- margin-left: 0px !important;
3421
- }
3422
-
3423
- .ml-1 {
3424
- margin-left: 8px !important;
3425
- }
3426
-
3427
- .ml-2 {
3428
- margin-left: 16px !important;
3429
- }
3430
-
3431
- .ml-3 {
3432
- margin-left: 24px !important;
3433
- }
3434
-
3435
- .ml-4 {
3436
- margin-left: 32px !important;
3437
- }
3438
-
3439
- .ml-5 {
3440
- margin-left: 40px !important;
3441
- }
3442
-
3443
- .ml-6 {
3444
- margin-left: 48px !important;
3445
- }
3446
-
3447
- .ml-7 {
3448
- margin-left: 56px !important;
3449
- }
3450
-
3451
- .ml-8 {
3452
- margin-left: 64px !important;
3453
- }
3454
-
3455
- .mx-0 {
3456
- margin-left: 0px !important;
3457
- margin-right: 0px !important;
3458
- }
3459
-
3460
- .mx-1 {
3461
- margin-left: 8px !important;
3462
- margin-right: 8px !important;
3463
- }
3464
-
3465
- .mx-2 {
3466
- margin-left: 16px !important;
3467
- margin-right: 16px !important;
3468
- }
3469
-
3470
- .mx-3 {
3471
- margin-left: 24px !important;
3472
- margin-right: 24px !important;
3473
- }
3474
-
3475
- .mx-4 {
3476
- margin-left: 32px !important;
3477
- margin-right: 32px !important;
3478
- }
3479
-
3480
- .mx-5 {
3481
- margin-left: 40px !important;
3482
- margin-right: 40px !important;
3483
- }
3484
-
3485
- .mx-6 {
3486
- margin-left: 48px !important;
3487
- margin-right: 48px !important;
3488
- }
3489
-
3490
- .mx-7 {
3491
- margin-left: 56px !important;
3492
- margin-right: 56px !important;
3493
- }
3494
-
3495
- .mx-8 {
3496
- margin-left: 64px !important;
3497
- margin-right: 64px !important;
3498
- }
3499
-
3500
- .mx-0 {
3501
- margin-top: 0px !important;
3502
- margin-bottom: 0px !important;
3503
- }
3504
-
3505
- .mx-1 {
3506
- margin-top: 8px !important;
3507
- margin-bottom: 8px !important;
3508
- }
3509
-
3510
- .mx-2 {
3511
- margin-top: 16px !important;
3512
- margin-bottom: 16px !important;
3513
- }
3514
-
3515
- .mx-3 {
3516
- margin-top: 24px !important;
3517
- margin-bottom: 24px !important;
3518
- }
3519
-
3520
- .mx-4 {
3521
- margin-top: 32px !important;
3522
- margin-bottom: 32px !important;
3523
- }
3524
-
3525
- .mx-5 {
3526
- margin-top: 40px !important;
3527
- margin-bottom: 40px !important;
3528
- }
3529
-
3530
- .mx-6 {
3531
- margin-top: 48px !important;
3532
- margin-bottom: 48px !important;
3533
- }
3534
-
3535
- .mx-7 {
3536
- margin-top: 56px !important;
3537
- margin-bottom: 56px !important;
3538
- }
3539
-
3540
- .mx-8 {
3541
- margin-top: 64px !important;
3542
- margin-bottom: 64px !important;
3543
- }
3544
-
3545
3031
  .markup-include .theme-amber,
3546
3032
  .type-waffle-chart .theme-amber,
3547
3033
  .type-data-bite .theme-amber,
@@ -4645,16 +4131,15 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
4645
4131
  }
4646
4132
 
4647
4133
  .cove {
4648
- color: #333;
4649
4134
  font-size: 16px;
4650
4135
  line-height: 1.4;
4651
4136
  margin: 0;
4652
- font: 1em/1.6 system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Fira Sans, sans-serif;
4137
+ font-family: var(--app-font-main);
4138
+ font-size: 1em;
4139
+ line-height: 1.5;
4653
4140
  font-weight: 400;
4654
4141
  font-style: normal;
4655
4142
  text-rendering: optimizeLegibility;
4656
- -webkit-font-smoothing: antialiased;
4657
- color: #111;
4658
4143
  }
4659
4144
  .cove .markup-include .theme-amber,
4660
4145
  .cove .type-waffle-chart .theme-amber,
@@ -5758,13 +5243,14 @@ body.post-type-cdc_visualization .cdc-editor .configure .editor-panel {
5758
5243
  }
5759
5244
  .cove .cove {
5760
5245
  margin: 0;
5761
- font: 1em/1.6 system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Droid Sans, Helvetica Neue, Fira Sans, sans-serif;
5246
+ font-family: var(--app-font-main);
5247
+ font-size: 1em;
5248
+ line-height: 1.5;
5762
5249
  font-weight: 400;
5763
5250
  font-style: normal;
5764
5251
  line-height: 1.4;
5765
5252
  color: #333;
5766
5253
  text-rendering: optimizeLegibility;
5767
- -webkit-font-smoothing: antialiased;
5768
5254
  }
5769
5255
  .cove .cove small {
5770
5256
  display: block;