@cdc/core 4.25.6 → 4.25.7

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.
@@ -0,0 +1,8 @@
1
+ // Only frontend styles are applied in WCMS/TP
2
+ // This helps match those styles when viewing in the editor
3
+ .modal.cdc-cove-editor *:focus-visible,
4
+ .cdc-open-viz-module *:focus-visible {
5
+ outline: dashed 2px rgb(0, 122, 153) !important;
6
+ outline-offset: 3px !important;
7
+ border-radius: 6px !important;
8
+ }
@@ -193,8 +193,4 @@ section.footnotes {
193
193
  -webkit-appearance: none;
194
194
  -moz-appearance: none;
195
195
  cursor: pointer;
196
- &:focus-visible {
197
- outline: 2px dashed var(--colors-blue-vivid-60, #005ea2) !important;
198
- outline-offset: 2px;
199
- }
200
196
  }
@@ -93,10 +93,6 @@ div.single-filters {
93
93
  &:focus:not(:focus-visible) {
94
94
  outline: none !important;
95
95
  }
96
- &:focus-visible {
97
- outline: 2px dashed var(--colors-blue-vivid-60, #005ea2) !important;
98
- outline-offset: 3px;
99
- }
100
96
 
101
97
  &.tab--active {
102
98
  font-weight: 500;
@@ -0,0 +1,16 @@
1
+ export type ForecastingSeriesKey = {
2
+ dataKey: string
3
+ axis: 'Left'
4
+ tooltip: boolean
5
+ type: 'Forecasting'
6
+ confidenceIntervals: {
7
+ high: string
8
+ low: string
9
+ showInTooltip: boolean
10
+ }[]
11
+ stageColumn: string
12
+ stages: {
13
+ key: string
14
+ color: string
15
+ }[]
16
+ }
package/types/Runtime.ts CHANGED
@@ -1,13 +1,7 @@
1
1
  import { Axis } from './Axis'
2
+ import { ForecastingSeriesKey } from './ForecastingSeriesKey'
2
3
  import { Series } from './Series'
3
4
 
4
- export type ForecastingSeriesKey = {
5
- stages: {
6
- key: string
7
- color: string
8
- }[]
9
- }
10
-
11
5
  export type Runtime = {
12
6
  barSeriesKeys?: string[]
13
7
  areaSeriesKeys: object[]