@cdc/filtered-text 4.26.1 → 4.26.2

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,7 @@
1
+ {
2
+ "type": "filtered-text",
3
+ "title": "Filtered Text",
4
+ "theme": "theme-blue",
5
+ "dataUrl": "examples/sex-ageGroup-with-values.json",
6
+ "textColumn": "age-group"
7
+ }
package/index.html CHANGED
@@ -1,24 +1 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
6
- <style type="text/css">
7
- body {
8
- margin: 0;
9
- border-top: none !important;
10
- }
11
-
12
- /* Add 1rem padding to mimic DFE when editor is not visible */
13
- .cdc-open-viz-module:not(.isEditor) {
14
- padding: 1rem;
15
- }
16
- </style>
17
- <link rel="stylesheet prefetch" href="https://www.cdc.gov/TemplatePackage/5.0/css/app.min.css?_=71669" />
18
- </head>
19
-
20
- <body>
21
- <div class="react-container" data-config="/examples/example-config.json"></div>
22
- <script type="module" src="./src/index.jsx"></script>
23
- </body>
24
- </html>
1
+ <!-- index.html is generated by @cdc/core/generateViteConfig.js using the files in @cdc/core/devTemplate/ -->
package/package.json CHANGED
@@ -1,45 +1,40 @@
1
1
  {
2
2
  "name": "@cdc/filtered-text",
3
- "version": "4.26.1",
3
+ "version": "4.26.2",
4
4
  "description": "React component for adding filtered text on dashboards.",
5
- "moduleName": "CdcFilteredText",
6
- "main": "dist/cdcfilteredtext",
7
- "type": "module",
8
- "scripts": {
9
- "start": "vite --open",
10
- "build": "vite build",
11
- "preview": "vite preview",
12
- "graph": "nx graph",
13
- "prepublishOnly": "lerna run --scope @cdc/filtered-text build",
14
- "test": "vitest run --reporter verbose",
15
- "test-watch": "vitest watch --reporter verbose",
16
- "test-watch:ui": "vitest --ui"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "git+https://github.com/CDCgov/cdc-open-viz.git"
21
- },
22
- "author": "Adam Doe <rsq2@cdc.gov>",
23
- "bugs": {
24
- "url": "https://github.com/CDCgov/cdc-open-viz/issues"
25
- },
26
5
  "license": "Apache-2.0",
27
- "homepage": "https://github.com/CDCgov/cdc-open-viz#readme",
6
+ "author": "Adam Doe <rsq2@cdc.gov>",
7
+ "bugs": "https://github.com/CDCgov/cdc-open-viz/issues",
28
8
  "dependencies": {
29
- "@cdc/core": "^4.26.1",
30
- "html-react-parser": "5.2.3",
31
- "lodash": "^4.17.21"
32
- },
33
- "peerDependencies": {
34
- "react": "^18.2.0",
35
- "react-dom": "^18.2.0"
9
+ "@cdc/core": "^4.26.2",
10
+ "html-react-parser": "^5.2.3",
11
+ "lodash": "^4.17.23"
36
12
  },
37
13
  "devDependencies": {
38
14
  "@rollup/plugin-dsv": "^3.0.2",
39
- "@vitejs/plugin-react": "^4.3.4",
15
+ "@vitejs/plugin-react": "^5.1.2",
40
16
  "sass": "^1.89.2",
41
17
  "vite-plugin-css-injected-by-js": "^2.4.0",
42
18
  "vite-plugin-svgr": "^4.2.0"
43
19
  },
44
- "gitHead": "7e3b27098c4eb7a24bc9c3654ad53f88d6419f16"
20
+ "gitHead": "be3413e8e1149abf94225108f86a7910f56e0616",
21
+ "homepage": "https://github.com/CDCgov/cdc-open-viz#readme",
22
+ "main": "dist/cdcfilteredtext",
23
+ "moduleName": "CdcFilteredText",
24
+ "peerDependencies": {
25
+ "react": "^18.2.0",
26
+ "react-dom": "^18.2.0"
27
+ },
28
+ "repository": "CDCgov/cdc-open-viz.git",
29
+ "scripts": {
30
+ "build": "vite build",
31
+ "graph": "nx graph",
32
+ "prepublishOnly": "lerna run --scope @cdc/filtered-text build",
33
+ "preview": "vite preview",
34
+ "start": "vite --open",
35
+ "test": "vitest run --reporter verbose",
36
+ "test-watch": "vitest watch --reporter verbose",
37
+ "test-watch:ui": "vitest --ui"
38
+ },
39
+ "type": "module"
45
40
  }