@evergis/react 4.0.44 → 4.0.46

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.
@@ -1,4 +1,5 @@
1
1
  export * from './useAutoCompleteControl';
2
+ export * from './useContainerAttributes';
2
3
  export * from './useFetchImageWithAuth';
3
4
  export * from './useFetchWithAuth';
4
5
  export * from './useChartChange';
@@ -0,0 +1,15 @@
1
+ import { ContainerProps } from '../types';
2
+ type UseContainerAttributesProps = Pick<ContainerProps, "elementConfig" | "type" | "renderElement">;
3
+ export declare const useContainerAttributes: ({ elementConfig, type, renderElement }: UseContainerAttributesProps) => {
4
+ getRenderContainerItem: (elementConfig: import('../types').ConfigContainerChild, attribute: string) => {
5
+ id: string;
6
+ value: import('react').ReactNode;
7
+ hideEmpty: boolean;
8
+ style: import('react').CSSProperties;
9
+ hasIcon: boolean;
10
+ hasUnits: boolean;
11
+ render: import('../types').RenderElementFunction;
12
+ };
13
+ attributesToRender: string[];
14
+ };
15
+ export {};
@@ -122,6 +122,7 @@ export interface ConfigOptions {
122
122
  drawMinMax?: boolean;
123
123
  attributes?: string[];
124
124
  attributesExclude?: string[];
125
+ useProjectHiddenAttributes?: boolean;
125
126
  colors?: string[];
126
127
  defaultColor?: string;
127
128
  primaryColor?: string;