@mapcomponents/ra-geospatial 1.5.4-0 → 1.5.5-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/dist/package.json +2 -2
- package/package.json +3 -3
- package/.babelrc +0 -12
- package/.storybook/main.ts +0 -25
- package/.storybook/manager.js +0 -6
- package/.storybook/mapcomponents_logo.png +0 -0
- package/.storybook/preview.ts +0 -27
- package/.storybook/style.css +0 -20
- package/.storybook/wheregroupTheme.js +0 -9
- package/public/favicon.ico +0 -0
- package/public/logo.png +0 -0
- package/public/manifest.json +0 -25
- package/tsconfig.json +0 -9
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapcomponents/ra-geospatial",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5-0",
|
|
4
4
|
"main": "src/index.ts",
|
|
5
|
-
"types": "
|
|
5
|
+
"types": "src/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"dependencies": {
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"react-admin": "^5.11.0",
|
|
20
20
|
"react-router-dom": "^7.8.2",
|
|
21
21
|
"wellknown": "^0.5.0",
|
|
22
|
-
"@mapcomponents/react-maplibre": "^1.5.
|
|
22
|
+
"@mapcomponents/react-maplibre": "^1.5.5-0"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/.babelrc
DELETED
package/.storybook/main.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { dirname, join } from 'node:path';
|
|
2
|
-
import type { StorybookConfig } from '@storybook/react-vite';
|
|
3
|
-
|
|
4
|
-
const config: StorybookConfig = {
|
|
5
|
-
stories: ['../src/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'],
|
|
6
|
-
framework: {
|
|
7
|
-
name: getAbsolutePath("@storybook/react-vite"),
|
|
8
|
-
options: {
|
|
9
|
-
builder: {
|
|
10
|
-
viteConfigPath: 'vite.config.ts',
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
staticDirs: ['../public'],
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export default config;
|
|
18
|
-
|
|
19
|
-
// To customize your Vite configuration you can use the viteFinal field.
|
|
20
|
-
// Check https://storybook.js.org/docs/react/builders/vite#configuration
|
|
21
|
-
// and https://nx.dev/recipes/storybook/custom-builder-configs
|
|
22
|
-
|
|
23
|
-
function getAbsolutePath(value: string): any {
|
|
24
|
-
return dirname(require.resolve(join(value, "package.json")));
|
|
25
|
-
}
|
package/.storybook/manager.js
DELETED
|
Binary file
|
package/.storybook/preview.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import './style.css';
|
|
2
|
-
|
|
3
|
-
export const parameters = {
|
|
4
|
-
docs: {
|
|
5
|
-
inlineStories: false,
|
|
6
|
-
},
|
|
7
|
-
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export const globalTypes = {
|
|
12
|
-
theme: {
|
|
13
|
-
name: 'Theme',
|
|
14
|
-
title: 'Theme',
|
|
15
|
-
description: 'Theme for your components',
|
|
16
|
-
defaultValue: 'light',
|
|
17
|
-
toolbar: {
|
|
18
|
-
icon: 'paintbrush',
|
|
19
|
-
dynamicTitle: true,
|
|
20
|
-
items: [
|
|
21
|
-
{ value: 'light', left: '☀️', title: 'Light mode' },
|
|
22
|
-
{ value: 'dark', left: '🌙', title: 'Dark mode' },
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
export const tags = ['autodocs'];
|
package/.storybook/style.css
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.docs-story > div:first-child{
|
|
2
|
-
z-index:0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.docs-story > div > div:first-child, .innerZoomElementWrapper, .innerZoomElementWrapper > div:first-child, .innerZoomElementWrapper > div:first-child > div:first-child{
|
|
6
|
-
|
|
7
|
-
position: absolute;
|
|
8
|
-
top: 0;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
right: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.docs-story > div > div:first-child{
|
|
15
|
-
height: initial;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.innerZoomElementWrapper > div > div > div:first-child{
|
|
19
|
-
height: 100% !important;
|
|
20
|
-
}
|
package/public/favicon.ico
DELETED
|
Binary file
|
package/public/logo.png
DELETED
|
Binary file
|
package/public/manifest.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|