@cdc/data-bite 4.24.4 → 4.24.5
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/dist/cdcdatabite.js +1917 -1905
- package/package.json +3 -3
- package/src/CdcDataBite.tsx +1 -1
- package/src/scss/bite.scss +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cdc/data-bite",
|
|
3
|
-
"version": "4.24.
|
|
3
|
+
"version": "4.24.5",
|
|
4
4
|
"description": "React component for displaying a single piece of data in a card module",
|
|
5
5
|
"moduleName": "CdcDataBite",
|
|
6
6
|
"main": "dist/cdcdatabite",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"homepage": "https://github.com/CDCgov/cdc-open-viz#readme",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@cdc/core": "^4.24.
|
|
29
|
+
"@cdc/core": "^4.24.5",
|
|
30
30
|
"chroma": "0.0.1",
|
|
31
31
|
"chroma-js": "^2.1.0",
|
|
32
32
|
"html-react-parser": "^3.0.8",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"react": "^18.2.0",
|
|
40
40
|
"react-dom": "^18.2.0"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "def85aaf4cd9dc1983e80f2900199f35de82af95"
|
|
43
43
|
}
|
package/src/CdcDataBite.tsx
CHANGED
|
@@ -515,7 +515,7 @@ const CdcDataBite = (props: CdcDataBiteProps) => {
|
|
|
515
515
|
<>
|
|
516
516
|
{isEditor && <EditorPanel />}
|
|
517
517
|
<Layout.Responsive isEditor={isEditor}>
|
|
518
|
-
<div className={
|
|
518
|
+
<div className={`cove-component__content`}>
|
|
519
519
|
{!config.newViz && config.runtime && config.runtime.editorErrorMessage && <Error />}
|
|
520
520
|
{(!config.dataColumn || !config.dataFunction) && <Confirm />}
|
|
521
521
|
<Title config={config} title={title} isDashboard={isDashboard} classes={['bite-header', `${config.theme}`]} />
|
package/src/scss/bite.scss
CHANGED
|
@@ -69,9 +69,11 @@
|
|
|
69
69
|
// TODO after v2 refactor remove header reference colors
|
|
70
70
|
// Use .font-color/.bg-color, etc. in color definitions or something similar
|
|
71
71
|
// Remove box shadows if we're no longer using them
|
|
72
|
-
.sidebar + .cove-component__content
|
|
73
|
-
margin: 3em auto 0;
|
|
74
|
-
max-width: 35em;
|
|
72
|
+
&.cdc-open-viz-module.isEditor .sidebar + .cove-component__content {
|
|
73
|
+
margin: 3em auto 0 !important;
|
|
74
|
+
max-width: 35em !important;
|
|
75
|
+
background-color: initial;
|
|
76
|
+
height: fit-content;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
.sidebar + .cove-component__content .bite-content-container:not(.component--hide-background-color) {
|