@evergis/react 4.0.161 → 4.0.162

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 (39) hide show
  1. package/dist/components/Dashboard/componentTypes.d.ts +6 -6
  2. package/dist/components/Dashboard/constants.d.ts +25 -3
  3. package/dist/components/Dashboard/containers/FiltersContainer/utils/getFilterWidth.d.ts +2 -3
  4. package/dist/components/Dashboard/elements/ElementControl/hooks/useFirstNonEmptyValue.d.ts +6 -0
  5. package/dist/components/Dashboard/elements/ElementModal/hooks/useModalContent.d.ts +2 -2
  6. package/dist/components/Dashboard/elements/ElementTable/utils/tableBox.d.ts +2 -2
  7. package/dist/components/Dashboard/hooks/index.d.ts +2 -0
  8. package/dist/components/Dashboard/hooks/useConfigStringSources.d.ts +8 -0
  9. package/dist/components/Dashboard/hooks/useDashboardFilterStore.d.ts +9 -0
  10. package/dist/components/Dashboard/hooks/useEqualTileWidth.d.ts +1 -1
  11. package/dist/components/Dashboard/hooks/useWidgetPage.d.ts +3 -0
  12. package/dist/components/Dashboard/hooks/useWrapperSize.d.ts +3 -3
  13. package/dist/components/Dashboard/styled/containers.d.ts +5 -6
  14. package/dist/components/Dashboard/styled/index.d.ts +2 -3
  15. package/dist/components/Dashboard/types.d.ts +5 -2
  16. package/dist/components/Dashboard/utils/applyQueryFilters.d.ts +4 -3
  17. package/dist/components/Dashboard/utils/chartAxis.d.ts +1 -1
  18. package/dist/components/Dashboard/utils/configString/formatConditionString.d.ts +18 -0
  19. package/dist/components/Dashboard/utils/configString/formatters.d.ts +16 -0
  20. package/dist/components/Dashboard/utils/configString/getFilterTokenValue.d.ts +13 -0
  21. package/dist/components/Dashboard/utils/configString/index.d.ts +10 -0
  22. package/dist/components/Dashboard/utils/configString/isDashboardReference.d.ts +2 -0
  23. package/dist/components/Dashboard/utils/configString/referencesFilters.d.ts +11 -0
  24. package/dist/components/Dashboard/utils/configString/resolveConfigToken.d.ts +3 -0
  25. package/dist/components/Dashboard/utils/configString/resolveElementStrings.d.ts +8 -0
  26. package/dist/components/Dashboard/utils/configString/resolveFilterDefaults.d.ts +8 -0
  27. package/dist/components/Dashboard/utils/configString/tokenizeConfigString.d.ts +5 -0
  28. package/dist/components/Dashboard/utils/configString/types.d.ts +78 -0
  29. package/dist/components/Dashboard/utils/formatDataSourceCondition.d.ts +16 -23
  30. package/dist/components/Dashboard/utils/getChangedFilterNames.d.ts +8 -0
  31. package/dist/components/Dashboard/utils/getPageFilters.d.ts +3 -0
  32. package/dist/components/Dashboard/utils/getRenderElement.d.ts +1 -1
  33. package/dist/components/Dashboard/utils/index.d.ts +4 -0
  34. package/dist/components/Dashboard/utils/selectUpdatingDataSources.d.ts +21 -0
  35. package/dist/index.js +900 -559
  36. package/dist/index.js.map +1 -1
  37. package/dist/react.esm.js +879 -560
  38. package/dist/react.esm.js.map +1 -1
  39. package/package.json +11 -4
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.0.161",
2
+ "version": "4.0.162",
3
3
  "name": "@evergis/react",
4
4
  "author": "Everpoint",
5
5
  "license": "MIT",
@@ -19,7 +19,8 @@
19
19
  "prepare": "rollup -c",
20
20
  "storybook": "storybook dev -p 6006",
21
21
  "build-storybook": "storybook build -o storybook-static",
22
- "typecheck:storybook": "tsc -p tsconfig.storybook.json --noEmit"
22
+ "typecheck:storybook": "tsc -p tsconfig.storybook.json --noEmit",
23
+ "test": "jest"
23
24
  },
24
25
  "peerDependencies": {
25
26
  "react": "^18.3.1",
@@ -42,7 +43,9 @@
42
43
  "@storybook/react-webpack5": "^7.6.14",
43
44
  "@storybook/test": "^7.6.14",
44
45
  "@storybook/theming": "^7.6.14",
46
+ "@testing-library/react": "^14.3.1",
45
47
  "@types/html2canvas": "^1.0.0",
48
+ "@types/jest": "^29.5.14",
46
49
  "@types/jspdf": "^2.0.0",
47
50
  "@types/lodash": "^4.17.15",
48
51
  "@types/mapbox__mapbox-gl-draw": "^1.4.9",
@@ -52,9 +55,13 @@
52
55
  "@types/react-map-gl": "^6.1.8",
53
56
  "@types/styled-components": "5.1.25",
54
57
  "@types/styled-system": "^5.1.23",
58
+ "babel-jest": "^29.7.0",
59
+ "jest": "^29.7.0",
60
+ "jest-environment-jsdom": "^29.7.0",
55
61
  "react": "^18.3.1",
56
62
  "react-dom": "^18.3.1",
57
- "storybook": "^7.6.14"
63
+ "storybook": "^7.6.14",
64
+ "ts-jest": "^29.2.5"
58
65
  },
59
66
  "dependencies": {
60
67
  "@evergis/api": "^5.0.50",
@@ -89,5 +96,5 @@
89
96
  "uuid": "^13.0.0",
90
97
  "wkt": "^0.1.1"
91
98
  },
92
- "gitHead": "f51d713febcd746cfe985c1d873797cd7174cc3f"
99
+ "gitHead": "3c5da53d59fc3a104c2aa6a03a871cc1cff3e45b"
93
100
  }