@trackunit/react-core-contexts-api 0.2.189 → 0.2.191

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-api",
3
- "version": "0.2.189",
3
+ "version": "0.2.191",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
7
7
  "node": ">=20.x"
8
8
  },
9
9
  "dependencies": {
10
- "@trackunit/shared-utils": "*",
11
- "@trackunit/geo-json-utils": "*",
12
- "jest-fetch-mock": "^3.0.3"
10
+ "jest-fetch-mock": "^3.0.3",
11
+ "@trackunit/shared-utils": "^0.0.92",
12
+ "@trackunit/geo-json-utils": "^0.0.5"
13
13
  },
14
14
  "module": "./index.esm.js",
15
15
  "main": "./index.cjs.js",
@@ -1,4 +1,4 @@
1
- import { GeoJsonPolygon } from "@trackunit/geo-json-utils";
1
+ import { GeoJsonMultiPolygon, GeoJsonPolygon } from "@trackunit/geo-json-utils";
2
2
  export type ValueName = {
3
3
  value: string;
4
4
  name: string;
@@ -14,7 +14,8 @@ export type DateRangeFilterValue = {
14
14
  from?: string;
15
15
  to?: string;
16
16
  };
17
- export type FilterValueType = string[] | ValueName[] | ValueName | GeoJsonPolygon | MinMaxFilterValue | DateRangeFilterValue | string | number | BooleanValue | undefined;
17
+ export type AreaFilterGeoJsonGeometryType = GeoJsonPolygon | GeoJsonMultiPolygon;
18
+ export type FilterValueType = string[] | ValueName[] | ValueName | AreaFilterGeoJsonGeometryType | MinMaxFilterValue | DateRangeFilterValue | string | number | BooleanValue | undefined;
18
19
  export type FilterBarValues = Record<string, FilterValueType>;
19
20
  export interface IFilterBarContext {
20
21
  /**