@evergis/react 3.1.42 → 3.1.47

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.
@@ -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 {};
@@ -19,4 +19,3 @@ export * from './SlideshowContainer';
19
19
  export * from './TabsContainer';
20
20
  export * from './TitleContainer';
21
21
  export * from './TwoColumnContainer';
22
- export * from './TwoColumnsInnerContainer';
@@ -14,7 +14,6 @@ export declare const containerComponents: {
14
14
  readonly RoundedBackground: import('react').FC<import('./DataSourceInnerContainer/types').InnerContainerProps>;
15
15
  readonly OneColumn: import('react').FC<import('../types').ContainerProps>;
16
16
  readonly TwoColumn: import('react').FC<import('../types').ContainerProps>;
17
- readonly TwoColumnsInner: import('react').FC<import('../types').ContainerProps>;
18
17
  readonly DataSource: import('react').FC<import('../types').ContainerProps>;
19
18
  readonly DataSourceProgress: import('react').FC<import('../types').ContainerProps>;
20
19
  readonly Progress: import('react').FC<import('./DataSourceInnerContainer/types').InnerContainerProps>;
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
2
  import { ContainerProps } from '../../types';
3
- export declare const TwoColumnsInnerContainer: FC<ContainerProps>;
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,5 +1,4 @@
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>;
3
2
  export declare const ContainerWrapper: any;
4
3
  export declare const DashboardChip: import('styled-components').StyledComponent<any, any, any, any>;
5
4
  export declare const DashboardPlaceholderWrap: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps, never>;
@@ -101,6 +101,7 @@ export interface ConfigOptions {
101
101
  orderByTitle?: boolean;
102
102
  expandable?: boolean;
103
103
  expanded?: boolean;
104
+ expandLength?: number;
104
105
  wrap?: boolean;
105
106
  icon?: string;
106
107
  iconUrl?: string;
@@ -116,6 +117,10 @@ export interface ConfigOptions {
116
117
  filterName?: string;
117
118
  searchFilterName?: string;
118
119
  colorAttribute?: string;
120
+ iconAttribute?: string;
121
+ maxTextWidth?: number;
122
+ backgroundColor?: string;
123
+ align?: "left" | "center" | "right";
119
124
  pitch?: number;
120
125
  bearing?: number;
121
126
  projection?: Projection["name"];
@@ -160,6 +165,12 @@ export interface FilterItem {
160
165
  min: string | number;
161
166
  max: string | number;
162
167
  }
168
+ export interface ChipOption {
169
+ text: string;
170
+ value: string | number;
171
+ color?: string;
172
+ icon?: string;
173
+ }
163
174
  export interface SelectedFilter {
164
175
  value: string | number | string[] | number[] | Date | Date[];
165
176
  min?: string | number | Date;
@@ -204,7 +215,7 @@ export interface ConfigContainer {
204
215
  options?: ConfigOptions;
205
216
  header?: ConfigContainerHeader;
206
217
  }
207
- export type FilterType = "checkbox" | "rangeNumber" | "rangeDate" | "text" | "dropdown" | "barChart";
218
+ export type FilterType = "checkbox" | "rangeNumber" | "rangeDate" | "text" | "dropdown" | "barChart" | "chips";
208
219
  export interface ConfigContainerChild extends Partial<ConfigContainer> {
209
220
  id?: string;
210
221
  type?: string;