@evergis/react 4.0.94 → 4.0.96

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.
Files changed (36) hide show
  1. package/dist/components/Dashboard/componentTypes.d.ts +19 -14
  2. package/dist/components/Dashboard/components/Chart/ChartFillContext.d.ts +8 -0
  3. package/dist/components/Dashboard/components/Chart/components/ChartWrapper.d.ts +1 -2
  4. package/dist/components/Dashboard/constants.d.ts +3 -2
  5. package/dist/components/Dashboard/containers/ChartContainer/styled.d.ts +2 -0
  6. package/dist/components/Dashboard/containers/DataSourceContainer/styled.d.ts +20 -0
  7. package/dist/components/Dashboard/containers/DataSourceProgressContainer/styled.d.ts +2 -1
  8. package/dist/components/Dashboard/containers/FiltersContainer/styled.d.ts +10 -1
  9. package/dist/components/Dashboard/containers/FiltersContainer/utils/getFilterWidth.d.ts +9 -0
  10. package/dist/components/Dashboard/containers/ImageContainer/styled.d.ts +2 -1
  11. package/dist/components/Dashboard/containers/LayersContainer/styled.d.ts +2 -1
  12. package/dist/components/Dashboard/containers/TaskContainer/styled.d.ts +2 -0
  13. package/dist/components/Dashboard/containers/TitleContainer/styled.d.ts +2 -0
  14. package/dist/components/Dashboard/containers/UploadContainer/styled.d.ts +4 -1
  15. package/dist/components/Dashboard/containers/registry.d.ts +1 -1
  16. package/dist/components/Dashboard/containers/styled.d.ts +2 -1
  17. package/dist/components/Dashboard/elements/ElementImage/styled.d.ts +5 -0
  18. package/dist/components/Dashboard/elements/ElementMarkdown/styled.d.ts +3 -1
  19. package/dist/components/Dashboard/hooks/index.d.ts +2 -0
  20. package/dist/components/Dashboard/hooks/useResizeWidth.d.ts +12 -0
  21. package/dist/components/Dashboard/hooks/useWrapperSize.d.ts +23 -0
  22. package/dist/components/Dashboard/styled.d.ts +18 -1
  23. package/dist/components/Dashboard/types.d.ts +34 -3
  24. package/dist/components/Dashboard/utils/getWrapperSizeStyle.d.ts +26 -4
  25. package/dist/components/Dashboard/utils/index.d.ts +1 -0
  26. package/dist/components/Dashboard/utils/toCssSize.d.ts +14 -0
  27. package/dist/components/Layer/types.d.ts +0 -1
  28. package/dist/core/classification/getStyleAttributes.d.ts +2 -0
  29. package/dist/core/classification/index.d.ts +1 -1
  30. package/dist/index.js +2851 -2442
  31. package/dist/index.js.map +1 -1
  32. package/dist/react.esm.js +2844 -2444
  33. package/dist/react.esm.js.map +1 -1
  34. package/dist/types/styling.d.ts +11 -1
  35. package/package.json +14 -10
  36. package/dist/core/classification/parseClientStyle.d.ts +0 -2
@@ -1,4 +1,15 @@
1
1
  import { CircleLayerSpecification, FillExtrusionLayerSpecification, FillLayerSpecification, HeatmapLayerSpecification, LineLayerSpecification, SymbolLayerSpecification } from 'maplibre-gl';
2
+ export declare enum StyligClassificationTypes {
3
+ FillColor = "fill",
4
+ CircleColor = "circle",
5
+ LineColor = "line",
6
+ CircleStroke = "circle-stroke",
7
+ PolygonStroke = "polygon-stroke",
8
+ CircleRadius = "circle-radius",
9
+ CircleStrokeWidth = "circle-stroke-width",
10
+ LineWidth = "line-width",
11
+ PolygonStrokeWidth = "polygon-stroke-width"
12
+ }
2
13
  export interface ClientStyleFillSettings {
3
14
  showBottomSurface?: boolean;
4
15
  }
@@ -38,7 +49,6 @@ export interface ClientStyleModel {
38
49
  path?: string;
39
50
  size?: string;
40
51
  rotation?: ClientStyleModelRotation;
41
- axesHelper?: boolean;
42
52
  }
43
53
  export interface ClientStyle {
44
54
  settings?: ClientStyleSettings;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.0.94",
2
+ "version": "4.0.96",
3
3
  "name": "@evergis/react",
4
4
  "author": "Everpoint",
5
5
  "license": "MIT",
@@ -17,25 +17,27 @@
17
17
  "clean": "../../node_modules/.bin/rimraf dist",
18
18
  "build": "yarn clean && rollup -c",
19
19
  "prepare": "rollup -c",
20
- "storybook": "start-storybook -p 6006",
21
- "build-storybook": "build-storybook"
20
+ "storybook": "storybook dev -p 6006",
21
+ "build-storybook": "storybook build -o storybook-static",
22
+ "typecheck:storybook": "tsc -p tsconfig.storybook.json --noEmit"
22
23
  },
23
24
  "peerDependencies": {
24
25
  "react": "^18.3.1",
25
26
  "react-dom": "^18.3.1"
26
27
  },
27
28
  "devDependencies": {
29
+ "@babel/preset-env": "^7.26.0",
30
+ "@babel/preset-typescript": "^7.26.0",
28
31
  "@storybook/addon-actions": "^7.6.14",
29
32
  "@storybook/addon-controls": "^7.6.14",
30
33
  "@storybook/addon-docs": "^7.6.14",
31
34
  "@storybook/addon-essentials": "^7.6.14",
32
35
  "@storybook/addon-interactions": "^7.6.14",
33
- "@storybook/addon-knobs": "^7.0.2",
34
36
  "@storybook/addon-links": "^7.6.14",
35
37
  "@storybook/addon-onboarding": "^1.0.11",
36
38
  "@storybook/addon-storysource": "^7.6.14",
37
- "@storybook/addons": "^7.6.14",
38
39
  "@storybook/blocks": "^7.6.14",
40
+ "@storybook/manager-api": "^7.6.14",
39
41
  "@storybook/react": "^7.6.14",
40
42
  "@storybook/react-webpack5": "^7.6.14",
41
43
  "@storybook/test": "^7.6.14",
@@ -43,13 +45,15 @@
43
45
  "@types/html2canvas": "^1.0.0",
44
46
  "@types/jspdf": "^2.0.0",
45
47
  "@types/lodash": "^4.17.15",
46
- "@types/mapbox__mapbox-gl-draw": "^1.4.6",
47
- "@types/mapbox__mapbox-gl-geocoder": "^5.0.0",
48
+ "@types/mapbox__mapbox-gl-draw": "^1.4.9",
49
+ "@types/mapbox__mapbox-gl-geocoder": "^5.1.1",
48
50
  "@types/react": "^18.3.18",
49
51
  "@types/react-dom": "^18.3.5",
50
- "@types/react-map-gl": "^6.1.7",
52
+ "@types/react-map-gl": "^6.1.8",
51
53
  "@types/styled-components": "5.1.25",
52
54
  "@types/styled-system": "^5.1.23",
55
+ "react": "^18.3.1",
56
+ "react-dom": "^18.3.1",
53
57
  "storybook": "^7.6.14"
54
58
  },
55
59
  "dependencies": {
@@ -69,7 +73,7 @@
69
73
  "i18next": "^24.2.2",
70
74
  "jspdf": "^2.5.1",
71
75
  "lodash": "^4.17.23",
72
- "mapbox-gl": "^3.22.0",
76
+ "mapbox-gl": "^3.26.0",
73
77
  "mapbox-gl-draw": "^0.16.0",
74
78
  "maplibre-gl": "^5.24.0",
75
79
  "punycode": "^2.1.1",
@@ -85,5 +89,5 @@
85
89
  "uuid": "^13.0.0",
86
90
  "wkt": "^0.1.1"
87
91
  },
88
- "gitHead": "bcf3047022358e529e566ccf09f38a5bc5536c1e"
92
+ "gitHead": "c47dc19fd5ad3a38aa12ba9a7707bf8789081503"
89
93
  }
@@ -1,2 +0,0 @@
1
- import { ClientStyle } from '../../types';
2
- export declare const parseClientStyle: (style?: ClientStyle) => string[];