@trackunit/react-core-contexts-api 1.7.13 → 1.7.14

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-api",
3
- "version": "1.7.13",
3
+ "version": "1.7.14",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -18,12 +18,6 @@ export type AreaFilterGeoJsonGeometryType = GeoJsonPolygon | GeoJsonMultiPolygon
18
18
  export type FilterValueType = Array<string> | Array<ValueName> | ValueName | AreaFilterGeoJsonGeometryType | MinMaxFilterValue | DateRangeFilterValue | string | number | BooleanValue | undefined;
19
19
  export type FilterBarValues = Record<string, FilterValueType>;
20
20
  export interface FilterBarContext {
21
- /**
22
- * The filter bar values, keyed by filter key.
23
- *
24
- * @deprecated Use { FilterBarContext.assetsFilterBarValues} instead.
25
- */
26
- filterBarValues: FilterBarValues | null;
27
21
  /**
28
22
  * The filter bar values for assets, keyed by filter key.
29
23
  */
@@ -36,4 +30,8 @@ export interface FilterBarContext {
36
30
  * The filter bar values for sites, keyed by filter key.
37
31
  */
38
32
  sitesFilterBarValues: FilterBarValues | null;
33
+ /**
34
+ * Whether the filter bar values are loading, true if any of the filter bar values are not loaded yet.
35
+ */
36
+ isLoading: boolean;
39
37
  }