@sijanbhattarai/veda-preview 1.0.35 → 1.0.39
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 +1 -1
- package/src/MDXPreview.tsx +5 -5
package/package.json
CHANGED
package/src/MDXPreview.tsx
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
import React, { Suspense } from 'react';
|
4
4
|
import dynamic from 'next/dynamic';
|
5
5
|
import { MDXRemote } from 'next-mdx-remote/rsc';
|
6
|
-
import { customComponents } from '@sijanbhattarai/
|
6
|
+
import { customComponents } from '@sijanbhattarai/veda-core';
|
7
7
|
import { ChartWrapper } from './ChartPreview';
|
8
|
-
import { DEFAULT_MAP_PROPS } from '@sijanbhattarai/
|
8
|
+
import { DEFAULT_MAP_PROPS } from '@sijanbhattarai/veda-ui';
|
9
9
|
import { highlight } from 'sugar-high';
|
10
10
|
import Link from 'next/link';
|
11
11
|
|
12
|
-
import { allAvailableDatasets } from '@sijanbhattarai/
|
12
|
+
import { allAvailableDatasets } from '@sijanbhattarai/veda-datasets';
|
13
13
|
|
14
14
|
import {
|
15
15
|
Block,
|
@@ -21,10 +21,10 @@ import {
|
|
21
21
|
LegacyGlobalStyles,
|
22
22
|
} from './lib';
|
23
23
|
// import { mockDatasets } from './MapPreview';
|
24
|
-
import Providers from '@sijanbhattarai/
|
24
|
+
import Providers from '@sijanbhattarai/veda-datasets';
|
25
25
|
// Correctly import the default export from mdx-preview-map with error handling
|
26
26
|
|
27
|
-
const ClientMapBlock = dynamic(() => import('@sijanbhattarai/
|
27
|
+
const ClientMapBlock = dynamic(() => import('@sijanbhattarai/veda-maps').then(mod => ({ default: mod.ClientMapBlock })), {
|
28
28
|
ssr: false,
|
29
29
|
loading: () => (
|
30
30
|
<div className=' flex items-center justify-center bg-blue-50'>
|