@cdc/core 4.25.10 → 4.25.11
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/_stories/StoryRenderingTests.stories.tsx +164 -0
- package/components/AdvancedEditor/AdvancedEditor.tsx +3 -1
- package/components/CustomColorsEditor/CustomColorsEditor.css +299 -0
- package/components/CustomColorsEditor/CustomColorsEditor.tsx +209 -0
- package/components/CustomColorsEditor/index.ts +1 -0
- package/components/DataTable/DataTableStandAlone.tsx +8 -3
- package/components/DataTable/components/DataTableEditorPanel.tsx +12 -2
- package/components/DataTable/data-table.css +6 -0
- package/components/DataTable/helpers/mapCellMatrix.tsx +14 -3
- package/components/DataTable/helpers/standardizeState.js +2 -2
- package/components/DataTable/helpers/tests/standardizeState.test.js +54 -0
- package/components/EditorPanel/DataTableEditor.tsx +3 -3
- package/components/EditorPanel/EditorPanel.styles.css +423 -0
- package/components/EditorPanel/FootnotesEditor.tsx +44 -37
- package/components/EditorPanel/Inputs.tsx +12 -2
- package/components/EditorPanel/VizFilterEditor/NestedDropdownEditor.tsx +35 -62
- package/components/EditorPanel/VizFilterEditor/VizFilterEditor.tsx +12 -2
- package/components/EditorPanel/components/MarkupVariablesEditor.tsx +61 -22
- package/components/Filters/Filters.tsx +26 -5
- package/components/Filters/components/Dropdown.tsx +6 -1
- package/components/Footnotes/Footnotes.tsx +35 -25
- package/components/Footnotes/FootnotesStandAlone.tsx +42 -6
- package/components/HeaderThemeSelector/HeaderThemeSelector.css +43 -0
- package/components/HeaderThemeSelector/HeaderThemeSelector.stories.tsx +74 -0
- package/components/HeaderThemeSelector/HeaderThemeSelector.tsx +61 -0
- package/components/HeaderThemeSelector/index.ts +2 -0
- package/components/Layout/styles/editor.scss +2 -1
- package/components/Loader/Loader.tsx +1 -1
- package/components/MediaControls.tsx +21 -18
- package/components/PaletteConversionModal.tsx +7 -4
- package/components/PaletteSelector/PaletteSelector.css +49 -6
- package/components/Table/components/Cell.tsx +23 -2
- package/components/Table/components/Row.tsx +5 -3
- package/components/_stories/Filters.stories.tsx +20 -1
- package/components/_stories/Footnotes.CSV.stories.tsx +247 -0
- package/components/_stories/Footnotes.stories.tsx +768 -3
- package/components/_stories/Inputs.stories.tsx +2 -2
- package/components/_stories/styles.scss +0 -1
- package/components/ui/Accordion.jsx +1 -1
- package/components/ui/accordion.styles.css +57 -0
- package/data/chartColorPalettes.ts +1 -1
- package/dist/cove-main.css +49 -3
- package/dist/cove-main.css.map +1 -1
- package/helpers/addValuesToFilters.ts +5 -0
- package/helpers/constants.ts +37 -0
- package/helpers/cove/number.ts +33 -12
- package/helpers/coveUpdateWorker.ts +3 -1
- package/helpers/fetchRemoteData.ts +3 -15
- package/helpers/markupProcessor.ts +27 -12
- package/helpers/mergeCustomOrderValues.ts +37 -0
- package/helpers/parseCsvWithQuotes.ts +65 -0
- package/helpers/testing.ts +17 -4
- package/helpers/ver/4.25.11.ts +13 -0
- package/helpers/viewports.ts +2 -0
- package/package.json +4 -3
- package/styles/_common-components.css +73 -0
- package/styles/_global.scss +25 -5
- package/styles/base.scss +0 -50
- package/styles/cove-main.scss +3 -1
- package/styles/filters.scss +10 -3
- package/styles/v2/base/index.scss +0 -1
- package/styles/v2/components/editor.scss +14 -6
- package/styles/v2/utils/_breakpoints.scss +1 -1
- package/styles/v2/utils/index.scss +0 -1
- package/styles/waiting.scss +1 -1
- package/types/MarkupInclude.ts +4 -3
- package/types/MarkupVariable.ts +1 -1
- package/types/VizFilter.ts +1 -0
- package/styles/_mixins.scss +0 -13
- package/styles/_typography.scss +0 -0
- package/styles/v2/base/_typography.scss +0 -0
- package/styles/v2/components/guidance-block.scss +0 -74
- package/styles/v2/utils/_functions.scss +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
@import '../utils/variables';
|
|
2
|
-
@import '../themes/color-definitions';
|
|
3
|
-
|
|
4
|
-
.cove-guidance-block {
|
|
5
|
-
display: block;
|
|
6
|
-
position: relative;
|
|
7
|
-
padding: 0.75rem 1rem;
|
|
8
|
-
margin-left: 5px;
|
|
9
|
-
color: #444;
|
|
10
|
-
text-decoration: none;
|
|
11
|
-
border: $lightGray 1px solid;
|
|
12
|
-
border-left: none;
|
|
13
|
-
border-radius: 0 0.1875rem 0.1875rem 0;
|
|
14
|
-
transition: all 200ms $transition-expo-out;
|
|
15
|
-
|
|
16
|
-
&:before {
|
|
17
|
-
content: '';
|
|
18
|
-
position: absolute;
|
|
19
|
-
top: -1px;
|
|
20
|
-
left: -5px;
|
|
21
|
-
bottom: -1px;
|
|
22
|
-
width: 5px;
|
|
23
|
-
background: $blue;
|
|
24
|
-
border-radius: 0.1875rem 0 0 0.1875rem;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:hover,
|
|
28
|
-
&:focus,
|
|
29
|
-
&:active {
|
|
30
|
-
background: $lightestGray;
|
|
31
|
-
color: #444;
|
|
32
|
-
transition: 0.2s all;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:after {
|
|
36
|
-
content: '';
|
|
37
|
-
position: absolute;
|
|
38
|
-
inset: 0;
|
|
39
|
-
left: -4px;
|
|
40
|
-
margin: -4px;
|
|
41
|
-
border-radius: 0.1875rem;
|
|
42
|
-
outline: 2px solid transparent;
|
|
43
|
-
transition: outline 200ms $transition-expo-out;
|
|
44
|
-
pointer-events: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&:focus,
|
|
48
|
-
&:active {
|
|
49
|
-
outline: none;
|
|
50
|
-
|
|
51
|
-
&:after {
|
|
52
|
-
outline: 2px solid rgba(161, 161, 161, 0.6);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
svg {
|
|
57
|
-
width: 60px;
|
|
58
|
-
color: $blue;
|
|
59
|
-
margin-right: 1rem;
|
|
60
|
-
|
|
61
|
-
path {
|
|
62
|
-
fill: currentColor;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.cove-guidance-block__header {
|
|
68
|
-
font-weight: bold;
|
|
69
|
-
font-size: 1.125rem;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.cove-guidance-block__content {
|
|
73
|
-
font-size: 0.875rem;
|
|
74
|
-
}
|
|
File without changes
|