@evergis/react 3.1.41 → 3.1.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.
@@ -5,5 +5,6 @@ export declare const ChartLegend: FC<{
5
5
  chartElement?: ConfigContainerChild;
6
6
  type: WidgetType;
7
7
  twoColumns: boolean;
8
+ fontSize: string | number;
8
9
  loading: boolean;
9
10
  }>;
@@ -10,5 +10,6 @@ export declare const ChartLegendColor: import('styled-components').StyledCompone
10
10
  color: string;
11
11
  }, never>;
12
12
  export declare const ChartLegendName: import('styled-components').StyledComponent<"div", any, {
13
+ $fontSize?: string | number;
13
14
  $fontColor?: string;
14
15
  }, never>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { WidgetFilterProps } from '../types';
3
+ export declare const ChipsFilter: FC<WidgetFilterProps>;
@@ -0,0 +1,3 @@
1
+ export declare const ChipsContainer: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps & {
2
+ $align?: "left" | "center" | "right";
3
+ }, never>;
@@ -0,0 +1,15 @@
1
+ import { FC, HTMLAttributes } from 'react';
2
+ export interface CustomChipProps extends HTMLAttributes<HTMLDivElement> {
3
+ text?: string;
4
+ icon?: string;
5
+ color?: string;
6
+ primary?: boolean;
7
+ secondary?: boolean;
8
+ error?: boolean;
9
+ disabled?: boolean;
10
+ isActive?: boolean;
11
+ maxTextWidth?: number;
12
+ fontColor?: string;
13
+ backgroundColor?: string;
14
+ }
15
+ export declare const CustomChip: FC<CustomChipProps>;
@@ -0,0 +1,11 @@
1
+ interface IFilterChipProps {
2
+ $isActive?: boolean;
3
+ $bgColor?: string;
4
+ $textColor?: string;
5
+ }
6
+ export declare const FilterChip: import('styled-components').StyledComponent<"div", any, IFilterChipProps, never>;
7
+ export declare const ChipIconWrapper: import('styled-components').StyledComponent<"span", any, {}, never>;
8
+ export declare const ChipText: import('styled-components').StyledComponent<"span", any, {
9
+ $maxTextWidth?: number;
10
+ }, never>;
11
+ export {};
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { ContainerProps } from '../../types';
3
+ export declare const ElementMarkdown: FC<ContainerProps>;
@@ -0,0 +1,5 @@
1
+ export declare const MarkdownWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
2
+ export declare const SocialIconsWrapper: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps, never>;
3
+ export declare const SocialIconLabel: import('styled-components').StyledComponent<"span", any, {}, never>;
4
+ export declare const SocialIcon: import('styled-components').StyledComponent<"div", any, {}, never>;
5
+ export declare const ExpandButton: import('styled-components').StyledComponent<import('react').FC<import('@evergis/uilib-gl').IIconButtonProps>, any, {}, never>;
@@ -7,6 +7,7 @@ export * from './ElementIcon';
7
7
  export * from './ElementImage';
8
8
  export * from './ElementLegend';
9
9
  export * from './ElementLink';
10
+ export * from './ElementMarkdown';
10
11
  export * from './ElementSlideshow';
11
12
  export * from './ElementSvg';
12
13
  export * from './ElementTooltip';
@@ -13,4 +13,5 @@ export declare const elementComponents: {
13
13
  element: import('..').ConfigContainerChild;
14
14
  expandedContainers: Record<string, boolean>;
15
15
  }>;
16
+ readonly markdown: import('react').FC<import('..').ContainerProps>;
16
17
  };
@@ -1,4 +1,5 @@
1
1
  export declare const ElementValueWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
2
+ export declare const InnerContainerWrapper: import('styled-components').StyledComponent<"div", any, {}, never>;
2
3
  export declare const ContainerWrapper: any;
3
4
  export declare const DashboardChip: import('styled-components').StyledComponent<any, any, any, any>;
4
5
  export declare const DashboardPlaceholderWrap: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps, never>;
@@ -50,6 +50,7 @@ export interface ConfigOptions {
50
50
  dotSnapping?: boolean;
51
51
  tagView?: boolean;
52
52
  simple?: boolean;
53
+ downloadById?: string;
53
54
  separator?: string;
54
55
  lineBreak?: string;
55
56
  image?: string;
@@ -100,6 +101,7 @@ export interface ConfigOptions {
100
101
  orderByTitle?: boolean;
101
102
  expandable?: boolean;
102
103
  expanded?: boolean;
104
+ expandLength?: number;
103
105
  wrap?: boolean;
104
106
  icon?: string;
105
107
  iconUrl?: string;
@@ -115,6 +117,10 @@ export interface ConfigOptions {
115
117
  filterName?: string;
116
118
  searchFilterName?: string;
117
119
  colorAttribute?: string;
120
+ iconAttribute?: string;
121
+ maxTextWidth?: number;
122
+ backgroundColor?: string;
123
+ align?: "left" | "center" | "right";
118
124
  pitch?: number;
119
125
  bearing?: number;
120
126
  projection?: Projection["name"];
@@ -159,6 +165,12 @@ export interface FilterItem {
159
165
  min: string | number;
160
166
  max: string | number;
161
167
  }
168
+ export interface ChipOption {
169
+ text: string;
170
+ value: string | number;
171
+ color?: string;
172
+ icon?: string;
173
+ }
162
174
  export interface SelectedFilter {
163
175
  value: string | number | string[] | number[] | Date | Date[];
164
176
  min?: string | number | Date;
@@ -203,7 +215,7 @@ export interface ConfigContainer {
203
215
  options?: ConfigOptions;
204
216
  header?: ConfigContainerHeader;
205
217
  }
206
- export type FilterType = "checkbox" | "rangeNumber" | "rangeDate" | "text" | "dropdown" | "barChart";
218
+ export type FilterType = "checkbox" | "rangeNumber" | "rangeDate" | "text" | "dropdown" | "barChart" | "chips";
207
219
  export interface ConfigContainerChild extends Partial<ConfigContainer> {
208
220
  id?: string;
209
221
  type?: string;