@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.
- package/dist/components/Dashboard/components/ChartLegend/index.d.ts +1 -0
- package/dist/components/Dashboard/components/ChartLegend/styled.d.ts +1 -0
- package/dist/components/Dashboard/containers/FiltersContainer/components/ChipsFilter.d.ts +3 -0
- package/dist/components/Dashboard/containers/FiltersContainer/components/ChipsFilter.styled.d.ts +3 -0
- package/dist/components/Dashboard/containers/FiltersContainer/components/CustomChip.d.ts +15 -0
- package/dist/components/Dashboard/containers/FiltersContainer/components/CustomChip.styled.d.ts +11 -0
- package/dist/components/Dashboard/elements/ElementMarkdown/index.d.ts +3 -0
- package/dist/components/Dashboard/elements/ElementMarkdown/styled.d.ts +5 -0
- package/dist/components/Dashboard/elements/index.d.ts +1 -0
- package/dist/components/Dashboard/elements/registry.d.ts +1 -0
- package/dist/components/Dashboard/styled.d.ts +1 -0
- package/dist/components/Dashboard/types.d.ts +13 -1
- package/dist/index.js +508 -15
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +508 -17
- package/dist/react.esm.js.map +1 -1
- package/package.json +6 -4
|
@@ -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,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>;
|
package/dist/components/Dashboard/containers/FiltersContainer/components/CustomChip.styled.d.ts
ADDED
|
@@ -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,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';
|
|
@@ -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;
|