@cdc/waffle-chart 4.24.12-2 → 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.
- package/dist/cdcwafflechart.js +1689 -1645
- package/index.html +1 -2
- package/package.json +3 -3
- package/src/CdcWaffleChart.tsx +1 -1
- package/src/index.jsx +2 -0
- package/src/types/Config.ts +2 -0
package/index.html
CHANGED
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
margin-top: 3rem;
|
|
22
22
|
}
|
|
23
23
|
</style>
|
|
24
|
-
<link rel="stylesheet prefetch" href="https://www.cdc.gov/TemplatePackage/
|
|
25
|
-
<link rel="stylesheet prefetch" href="https://www.cdc.gov/TemplatePackage/4.0/assets/css/app.min.css?_=39423" />
|
|
24
|
+
<link rel="stylesheet prefetch" href="https://www.cdc.gov/TemplatePackage/5.0/css/app.min.css?_=71669" />
|
|
26
25
|
</head>
|
|
27
26
|
<body>
|
|
28
27
|
<!-- Original -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cdc/waffle-chart",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.25.1",
|
|
4
4
|
"description": "React component for displaying a single piece of data in a card module",
|
|
5
5
|
"moduleName": "CdcWaffleChart",
|
|
6
6
|
"main": "dist/cdcwafflechart",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"homepage": "https://github.com/CDCgov/cdc-open-viz#readme",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@cdc/core": "^4.
|
|
30
|
+
"@cdc/core": "^4.25.1",
|
|
31
31
|
"@visx/group": "^3.0.0",
|
|
32
32
|
"@visx/scale": "^3.0.0",
|
|
33
33
|
"@visx/shape": "^3.0.0",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"react": "^18.2.0",
|
|
43
43
|
"react-dom": "^18.2.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "c32d727f516fe3525178e3a6480abbe70b2a20d6"
|
|
46
46
|
}
|
package/src/CdcWaffleChart.tsx
CHANGED
package/src/index.jsx
CHANGED
package/src/types/Config.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentStyles } from '@cdc/core/types/ComponentStyles'
|
|
2
2
|
import { ComponentThemes } from '@cdc/core/types/ComponentThemes'
|
|
3
|
+
import { Version } from '@cdc/core/types/Version'
|
|
3
4
|
|
|
4
5
|
export type Config = {
|
|
5
6
|
// supporting text in the box
|
|
@@ -37,4 +38,5 @@ export type Config = {
|
|
|
37
38
|
visual: ComponentStyles
|
|
38
39
|
visualizationSubType: 'linear' | ''
|
|
39
40
|
visualizationType: 'Gauge' | 'Waffle'
|
|
41
|
+
version: Version
|
|
40
42
|
}
|