@cdc/editor 4.25.7 → 4.25.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdc/editor",
3
- "version": "4.25.7",
3
+ "version": "4.25.8",
4
4
  "description": "React component for generating a new component entry",
5
5
  "moduleName": "CdcEditor",
6
6
  "main": "dist/cdceditor",
@@ -25,13 +25,13 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@cdc/chart": "^4.25.7",
29
- "@cdc/core": "^4.25.7",
30
- "@cdc/dashboard": "^4.25.7",
31
- "@cdc/data-bite": "^4.25.7",
32
- "@cdc/map": "^4.25.7",
33
- "@cdc/markup-include": "^4.25.7",
34
- "@cdc/waffle-chart": "^4.25.7",
28
+ "@cdc/chart": "^4.25.8",
29
+ "@cdc/core": "^4.25.8",
30
+ "@cdc/dashboard": "^4.25.8",
31
+ "@cdc/data-bite": "^4.25.8",
32
+ "@cdc/map": "^4.25.8",
33
+ "@cdc/markup-include": "^4.25.8",
34
+ "@cdc/waffle-chart": "^4.25.8",
35
35
  "axios": "^1.9.0",
36
36
  "d3": "^7.9.0",
37
37
  "react-dropzone": "^14.3.8",
@@ -41,5 +41,5 @@
41
41
  "react": "^18.2.0",
42
42
  "react-dom": "^18.2.0"
43
43
  },
44
- "gitHead": "9062881d50c824ee6cdd71868bafd016a5e5694d"
44
+ "gitHead": "e369994230b5e3facff224e1d89d5937528ac5a0"
45
45
  }
@@ -12,7 +12,7 @@ import MultiDashboardWrapper from '@cdc/dashboard/src/CdcDashboard'
12
12
  import CdcDataTable from '../../../data-table/src/CdcDataTable'
13
13
 
14
14
  export default function ConfigureTab({ containerEl }) {
15
- const { config, setTempConfig, isDebug } = useContext(ConfigContext)
15
+ const { config, setTempConfig, isDebug, configUrl } = useContext(ConfigContext)
16
16
 
17
17
  let { type } = config
18
18
 
@@ -20,7 +20,13 @@ export default function ConfigureTab({ containerEl }) {
20
20
  case 'map':
21
21
  return (
22
22
  <ErrorBoundary component='CdcMap'>
23
- <CdcMap isEditor={true} config={config} containerEl={containerEl} setConfig={setTempConfig} />
23
+ <CdcMap
24
+ isEditor={true}
25
+ config={config}
26
+ containerEl={containerEl}
27
+ setConfig={setTempConfig}
28
+ configUrl={configUrl}
29
+ />
24
30
  </ErrorBoundary>
25
31
  )
26
32
  case 'waffle-chart':
@@ -41,7 +47,7 @@ export default function ConfigureTab({ containerEl }) {
41
47
  case 'dashboard':
42
48
  return (
43
49
  <ErrorBoundary component='CdcDashboard'>
44
- <MultiDashboardWrapper isEditor={true} isDebug={isDebug} />
50
+ <MultiDashboardWrapper isEditor={true} isDebug={isDebug} configUrl={configUrl} />
45
51
  </ErrorBoundary>
46
52
  )
47
53
  case 'data-bite':