@evergis/react 2.0.173 → 2.0.174

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.
@@ -16,8 +16,16 @@ export declare const MapLegendControl: import("styled-components").StyledCompone
16
16
  export declare const MapLegendContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
17
17
  export declare const MapLegendHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
18
18
  export declare const MapLegendDescriptionContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
19
- export declare const MinimizedLegendContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
19
+ export declare const MaximizedLegendContainer: import("styled-components").StyledComponent<"div", any, {
20
+ isShown?: boolean | undefined;
21
+ }, never>;
22
+ export declare const MinimizedLegendContainer: import("styled-components").StyledComponent<"div", any, {
23
+ isShown?: boolean | undefined;
24
+ }, never>;
20
25
  export declare const MapLegendSectionContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
26
+ export declare const MapLegendSectionItems: import("styled-components").StyledComponent<"div", any, {
27
+ height?: number | undefined;
28
+ }, never>;
21
29
  export declare const MapLegendValueDescr: import("styled-components").StyledComponent<"div", any, {}, never>;
22
30
  export declare const MapLegendItem: import("styled-components").StyledComponent<"div", any, MapLegendItemProps, never>;
23
31
  export declare const MapLegendOther: import("styled-components").StyledComponent<"div", any, MapLegendItemProps, never>;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode, RefObject } from "react";
2
2
  import { AttributeType, PointLabelSymbolDc, SvgPointSymbolDc, StyleDc, FeatureLayerServiceInfoDc } from "@evergis/api";
3
3
  import { MaskedImage } from "@evergis/sgis/es/symbols/point/MaskedImage";
4
4
  import { H3Symbol } from "@evergis/sgis/es/symbols/H3Symbol";
@@ -43,6 +43,8 @@ export declare type LegendSectionItem = Pick<LegendProps, "hiddenLegends" | "tog
43
43
  hiddenCondition?: string;
44
44
  };
45
45
  export declare type MaximizedLegendProps = {
46
+ innerRef?: RefObject<HTMLDivElement> | undefined;
47
+ isShown?: boolean;
46
48
  layerName: string;
47
49
  symbol: StyleDc["symbol"];
48
50
  parameter: ClassificationParameterExtended;
@@ -75,6 +77,8 @@ export declare type SvgEditorField = Pick<SvgPointSymbol, "size" | "offset" | "a
75
77
  "figure.fillColor": string;
76
78
  };
77
79
  export declare type MinimizedLegendProps = {
80
+ innerRef?: RefObject<HTMLDivElement> | undefined;
81
+ isShown?: boolean;
78
82
  title?: string | ReactNode;
79
83
  values: LegendValueType[];
80
84
  parameter: ClassificationParameterExtended;
@@ -1,4 +1,3 @@
1
- export * from './createStyleLegend';
2
1
  export * from './createValueTitle';
3
2
  export * from './isValidParameter';
4
3
  export * from './types';
@@ -1,7 +1,3 @@
1
- export * from './useLegend/useLegend';
2
- export * from './useLegend/useLayerLegend';
3
- export * from './useLegend/useMapLegend';
4
- export * from './useLegend/useLegendValueSymbol';
5
1
  export * from './useSymbol';
6
2
  export * from './useCanvas';
7
3
  export * from './useEvergisDynamicLayer';
@@ -31,4 +27,5 @@ export * from './useDraggableMarker';
31
27
  export * from './useMetersToPixels';
32
28
  export * from './useDebouncedCallback';
33
29
  export * from './useToggle';
30
+ export * from './useNode';
34
31
  export * from './LayerProps';
@@ -0,0 +1,2 @@
1
+ import { PropsWithRef } from 'react';
2
+ export declare function useNode(): [PropsWithRef<any>, HTMLElement | null];