@kanaries/graphic-walker 0.4.8 → 0.4.9

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": "@kanaries/graphic-walker",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "scripts": {
5
5
  "dev:front_end": "vite --host",
6
6
  "dev": "npm run dev:front_end",
@@ -38,7 +38,7 @@ type IPureRendererProps =
38
38
  * This is a pure component, which means it will not depend on any global state.
39
39
  */
40
40
  const PureRenderer = forwardRef<IReactVegaHandler, IPureRendererProps>(function PureRenderer(props, ref) {
41
- const { name, themeKey, dark, visualState, visualConfig, type, locale, sort, limit } = props;
41
+ const { name, themeKey, dark, visualState, visualConfig, type, locale, sort, limit, themeConfig } = props;
42
42
  const computation = useMemo(() => {
43
43
  if (props.type === 'remote') {
44
44
  return props.computation;
@@ -104,6 +104,7 @@ const PureRenderer = forwardRef<IReactVegaHandler, IPureRendererProps>(function
104
104
  )}
105
105
  {isSpatial || (
106
106
  <SpecRenderer
107
+ themeConfig={themeConfig}
107
108
  name={name}
108
109
  loading={waiting}
109
110
  data={viewData}