@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.
- package/components/DataTable/DataTable.tsx +43 -44
- package/components/DataTable/components/ChartHeader.tsx +23 -11
- package/components/DataTable/components/ExpandCollapse.tsx +2 -1
- package/components/DataTable/components/SortIcon/sort-icon.css +21 -27
- package/components/DataTable/data-table.css +33 -4
- package/components/DataTable/helpers/customSort.ts +4 -2
- package/components/Table/components/Row.tsx +15 -12
- package/dist/cove-main.css +0 -8
- package/dist/cove-main.css.map +1 -1
- package/helpers/coveUpdateWorker.ts +3 -1
- package/helpers/isRightAlignedTableValue.js +1 -1
- package/helpers/vegaConfig.ts +647 -0
- package/helpers/ver/4.25.7.ts +26 -0
- package/package.json +6 -4
- package/styles/_accessibility.scss +8 -0
- package/styles/_global.scss +0 -4
- package/styles/filters.scss +0 -4
- package/types/ForecastingSeriesKey.ts +16 -0
- package/types/Runtime.ts +1 -7
|
@@ -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
|
+
}
|
package/styles/_global.scss
CHANGED
package/styles/filters.scss
CHANGED
|
@@ -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[]
|