@mapcomponents/ra-geospatial 1.5.0-2 → 1.5.1-0
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/.storybook/main.ts +3 -3
- package/index.html +16 -0
- package/package.json +1 -1
- package/public/favicon.ico +0 -0
- package/public/logo.png +0 -0
- package/public/manifest.json +25 -0
package/.storybook/main.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { dirname, join } from
|
|
1
|
+
import { dirname, join } from 'node:path';
|
|
2
2
|
import type { StorybookConfig } from '@storybook/react-vite';
|
|
3
3
|
|
|
4
|
-
|
|
5
4
|
const config: StorybookConfig = {
|
|
6
5
|
stories: ['../src/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'],
|
|
7
6
|
framework: {
|
|
@@ -12,6 +11,7 @@ const config: StorybookConfig = {
|
|
|
12
11
|
},
|
|
13
12
|
},
|
|
14
13
|
},
|
|
14
|
+
staticDirs: ['../public'],
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export default config;
|
|
@@ -21,5 +21,5 @@ export default config;
|
|
|
21
21
|
// and https://nx.dev/recipes/storybook/custom-builder-configs
|
|
22
22
|
|
|
23
23
|
function getAbsolutePath(value: string): any {
|
|
24
|
-
|
|
24
|
+
return dirname(require.resolve(join(value, "package.json")));
|
|
25
25
|
}
|
package/index.html
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>Ra-Geospatial</title>
|
|
6
|
+
<base href="/" />
|
|
7
|
+
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
+
<link rel="icon" type="image/x-icon" href="./favicon.ico" />
|
|
10
|
+
<link rel="stylesheet" href="/src/styles.css" />
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<div id="root"></div>
|
|
14
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
package/package.json
CHANGED
|
Binary file
|
package/public/logo.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"short_name": "React App",
|
|
3
|
+
"name": "Create React App Sample",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "favicon.ico",
|
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
+
"type": "image/x-icon"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"src": "favicon.ico",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"sizes": "192x192"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "logo512.png",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"sizes": "512x512"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"start_url": ".",
|
|
22
|
+
"display": "standalone",
|
|
23
|
+
"theme_color": "#000000",
|
|
24
|
+
"background_color": "#ffffff"
|
|
25
|
+
}
|