@evergis/uilib-gl 1.0.13 → 1.0.15

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,3 +1,3 @@
1
- import { IFlexProps } from "./types";
2
- export declare const Flex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IFlexProps, never>;
3
- export declare const FlexSpan: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IFlexProps, never>;
1
+ import { FlexProps, FlexSpanProps } from "./types";
2
+ export declare const Flex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, FlexProps, never>;
3
+ export declare const FlexSpan: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, FlexSpanProps, never>;
@@ -1,4 +1,11 @@
1
- export interface IFlexProps {
1
+ import { CSSProperties } from "react";
2
+ import { BackgroundProps, BorderProps, ColorProps, FlexboxProps, FontSizeProps, FontWeightProps, FontStyleProps, SpaceProps, LayoutProps, TextAlignProps, PositionProps, LineHeightProps } from "styled-system";
3
+ export interface FlexProps extends BackgroundProps, BorderProps, ColorProps, FlexboxProps, FontSizeProps, FontWeightProps, FontStyleProps, SpaceProps, LayoutProps, TextAlignProps, PositionProps, LineHeightProps {
2
4
  column?: boolean;
3
- center?: boolean;
5
+ row?: boolean;
6
+ gap?: CSSProperties["gap"];
7
+ }
8
+ export interface FlexSpanProps extends BackgroundProps, BorderProps, ColorProps, FlexboxProps, FontSizeProps, FontWeightProps, FontStyleProps, SpaceProps, LayoutProps, TextAlignProps, PositionProps, LineHeightProps {
9
+ width?: string | number;
10
+ whiteSpace?: CSSProperties["whiteSpace"];
4
11
  }
@@ -283,6 +283,12 @@ export declare const iconTypes: {
283
283
  redshift: string;
284
284
  server_connection: string;
285
285
  service_connection: string;
286
+ column_increment: string;
287
+ column_unique: string;
288
+ column_nullable: string;
289
+ projection: string;
290
+ id: string;
291
+ card: string;
286
292
  };
287
293
  export declare const Icon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IIconProps, never>;
288
294
  export declare const injectIcon: (icon: IconTypesKeys) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
@@ -1,3 +1,3 @@
1
1
  export declare const NumberRangeSliderContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export declare const NumberRangeContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
2
+ export declare const NumberRangeContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
3
3
  export declare const SliderContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,9 +1,9 @@
1
1
  import { HorizontalAnchorProps, VerticalAnchorProps } from "./types";
2
- export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps & {
2
+ export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps & {
3
3
  size?: string | undefined;
4
4
  }, never>;
5
5
  export declare const ImageContainer: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
6
- export declare const AnchorsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
6
+ export declare const AnchorsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
7
7
  export declare const AnchorLine: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
8
8
  export declare const HorizontalAnchor: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, HorizontalAnchorProps, never>;
9
9
  export declare const VerticalAnchor: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, VerticalAnchorProps, never>;
@@ -1,3 +1,3 @@
1
1
  import { IGroupButtonProps } from "./types";
2
- export declare const FlexWithMargin: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
2
+ export declare const FlexWithMargin: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
3
3
  export declare const GroupButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, import("../../atoms/Button").IButtonProps & IGroupButtonProps, never>;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from "react";
2
2
  import { IconTypesKeys } from "../../atoms/Icon";
3
- import { IFlexProps } from "../../atoms/Grid";
3
+ import { FlexProps } from "../../atoms/Grid";
4
4
  export interface IButtonItemProps {
5
5
  label?: string;
6
6
  kind?: IconTypesKeys;
@@ -9,7 +9,7 @@ export interface IButtonItemProps {
9
9
  value?: string | number;
10
10
  text?: ReactNode;
11
11
  }
12
- export interface IButtonsGroupProps extends IFlexProps {
12
+ export interface IButtonsGroupProps extends FlexProps {
13
13
  options: IButtonItemProps[];
14
14
  selected?: IButtonItemProps;
15
15
  className?: string;
@@ -26,5 +26,5 @@ export declare const IconsBlock: import("styled-components").StyledComponent<"sp
26
26
  export declare const marginRightStyle: {
27
27
  marginRight: string;
28
28
  };
29
- export declare const ActionButtonsContainer: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
29
+ export declare const ActionButtonsContainer: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexSpanProps, never>;
30
30
  export declare const CardBodyContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -27,7 +27,7 @@ export declare const RangeHeaderContainer: import("styled-components").StyledCom
27
27
  }, never>;
28
28
  export declare const HeaderTitle: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
29
29
  export declare const HeaderSubTitle: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
30
- export declare const WeekdaysContainer: import("styled-components").StyledComponent<"div", DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
30
+ export declare const WeekdaysContainer: import("styled-components").StyledComponent<"div", DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
31
31
  export declare const WeekdaysItem: import("styled-components").StyledComponent<"span", DefaultTheme, {
32
32
  amount: number;
33
33
  }, never>;
@@ -1 +1 @@
1
- export declare const FlexWithMargin: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
1
+ export declare const FlexWithMargin: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
@@ -1,5 +1,5 @@
1
1
  import { ChangeEvent, ReactNode } from "react";
2
- import { IFlexProps } from "../../atoms/Grid";
2
+ import { FlexProps } from "../../atoms/Grid";
3
3
  export interface IRadioLabelProps {
4
4
  disabled?: boolean;
5
5
  }
@@ -11,7 +11,7 @@ export interface IRadioItemProps {
11
11
  label: string;
12
12
  disabled?: boolean;
13
13
  }
14
- export interface IRadioGroupProps extends IFlexProps {
14
+ export interface IRadioGroupProps extends FlexProps {
15
15
  options?: IRadioItemProps[];
16
16
  value?: string;
17
17
  disabled?: boolean;
@@ -1,5 +1,5 @@
1
1
  export declare const RangeSliderContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export declare const RangeSliderButtons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
2
+ export declare const RangeSliderButtons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
3
3
  export declare const RangeInputContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
4
  isDate?: boolean | undefined;
5
5
  }, never>;
@@ -1,4 +1,4 @@
1
- export declare const StepTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
1
+ export declare const StepTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
2
2
  export declare const StepHeaderText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
3
  isFinished?: boolean | undefined;
4
4
  isLast?: boolean | undefined;
@@ -3,7 +3,7 @@ export declare const TreeItems: import("styled-components").StyledComponent<"ul"
3
3
  isExpanded?: boolean | undefined;
4
4
  }, never>;
5
5
  export declare const TreeItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
6
- export declare const TreeRow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps & {
6
+ export declare const TreeRow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps & {
7
7
  disabled?: boolean | undefined;
8
8
  hasChildren?: boolean | undefined;
9
9
  }, never>;
@@ -11,7 +11,7 @@ export declare const ExpandButton: import("styled-components").StyledComponent<"
11
11
  isExpanded?: boolean | undefined;
12
12
  hasChildren?: boolean | undefined;
13
13
  }, never>;
14
- export declare const TreeContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
14
+ export declare const TreeContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
15
15
  export declare const ItemIcon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../../atoms/Icon").IIconProps, never>;
16
16
  export declare const TreeText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
17
  export declare const TreeDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
@@ -4,7 +4,7 @@ export declare const UploaderItemArea: import("styled-components").StyledCompone
4
4
  export declare const UploaderItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
5
5
  hasBorder?: boolean | undefined;
6
6
  }, never>;
7
- export declare const ItemContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
7
+ export declare const ItemContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
8
8
  export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
9
9
  width?: string | undefined;
10
10
  minHeight?: string | undefined;
@@ -12,7 +12,7 @@ export declare const Container: import("styled-components").StyledComponent<"div
12
12
  error?: boolean | undefined;
13
13
  }, never>;
14
14
  export declare const DragAreaWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
15
- export declare const FileInfoTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps & {
15
+ export declare const FileInfoTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps & {
16
16
  isFinished: boolean;
17
17
  error: boolean;
18
18
  }, never>;
@@ -24,7 +24,7 @@ export declare const FileInfoComment: import("styled-components").StyledComponen
24
24
  export declare const AdditionalInfo: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
25
25
  export declare const DropHereTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
26
26
  export declare const SelectFromComputerTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
27
- export declare const UploaderTitleContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
27
+ export declare const UploaderTitleContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
28
28
  export declare const UploaderTitleImage: import("styled-components").StyledComponent<import("react").FC<import("../../atoms/Image").ImageProps>, import("styled-components").DefaultTheme, {}, never>;
29
- export declare const FileSymbolContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
30
- export declare const FileExt: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").IFlexProps, never>;
29
+ export declare const FileSymbolContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
30
+ export declare const FileExt: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").FlexProps, never>;
@@ -19,6 +19,9 @@ export interface IPalette {
19
19
  elementDark: string;
20
20
  elementDarkNoAlpha: string;
21
21
  elementDeep: string;
22
+ elementLight: string;
23
+ elementOverlay: string;
24
+ elementTransparent: string;
22
25
  textPrimary: string;
23
26
  textSecondary: string;
24
27
  textDisabled: string;
@@ -27,6 +30,13 @@ export interface IPalette {
27
30
  iconAccent: string;
28
31
  iconDisabled: string;
29
32
  iconContrast: string;
33
+ menuBackground: string;
34
+ menuDefaultItem: string;
35
+ menuActiveItem: string;
36
+ menuActiveBackground: string;
37
+ menuHoverItem: string;
38
+ menuHoverBackground: string;
39
+ panelBackground: string;
30
40
  }
31
41
  export interface IShadows {
32
42
  pressed: string;
@@ -35,6 +45,16 @@ export interface IShadows {
35
45
  raised: string;
36
46
  top: string;
37
47
  }
48
+ export interface IBorderRadius {
49
+ tiny: string;
50
+ smallest: string;
51
+ xSmall: string;
52
+ small: string;
53
+ medium: string;
54
+ large: string;
55
+ xLarge: string;
56
+ xxLarge: string;
57
+ }
38
58
  export interface IFonts {
39
59
  h1: string;
40
60
  h2: string;
@@ -124,8 +144,10 @@ export interface IIconColors {
124
144
  }
125
145
  export interface IThemeConstants {
126
146
  palette: IPalette;
147
+ paletteDark?: Partial<IPalette>;
127
148
  shadows: IShadows;
128
149
  fonts: IFonts;
150
+ borderRadius: IBorderRadius;
129
151
  }
130
152
  export interface IIconToggle {
131
153
  color: string;
@@ -178,6 +200,8 @@ export interface IDropdown {
178
200
  }
179
201
  export interface IElementsArea {
180
202
  backgroundColor: string;
203
+ backgroundOverlayColor: string;
204
+ cardOverlayColor: string;
181
205
  }
182
206
  export interface ILink {
183
207
  color: ILinkStates;
@@ -3,7 +3,16 @@ export declare const palette: IPalette;
3
3
  export declare const shadows: IShadows;
4
4
  export declare const collapseDuration = 500;
5
5
  export declare const transition: ITransition;
6
- export declare const borderRadius = "0.125rem";
6
+ export declare const borderRadius: {
7
+ tiny: string;
8
+ smallest: string;
9
+ xSmall: string;
10
+ small: string;
11
+ medium: string;
12
+ large: string;
13
+ xLarge: string;
14
+ xxLarge: string;
15
+ };
7
16
  /**
8
17
  * Google font sizes
9
18
  * Thin 100
@@ -1,2 +1,3 @@
1
- import { IPartialThemeConstants, ITheme, OverrideTheme } from "./ITheme";
2
- export declare const getTheme: ({ palette, fonts, shadows }?: IPartialThemeConstants, overrideTheme?: OverrideTheme | import("./helpers").DeepPartial<ITheme> | undefined) => ITheme;
1
+ import { IPartialThemeConstants, ITheme, IThemeConstants, OverrideTheme } from "./ITheme";
2
+ export declare const createTheme: ({ palette, fonts, shadows, borderRadius }: IThemeConstants) => ITheme;
3
+ export declare const getTheme: ({ palette, fonts, shadows, borderRadius }?: IPartialThemeConstants, overrideTheme?: OverrideTheme | import("./helpers").DeepPartial<ITheme> | undefined) => ITheme;
@@ -1,5 +1,6 @@
1
1
  export { theme as defaultTheme } from "./defaultTheme";
2
2
  export { theme as darkTheme } from "./darkTheme";
3
- export { getTheme } from "./getTheme";
3
+ export { getTheme, createTheme } from "./getTheme";
4
+ export type { IPartialThemeConstants, ITheme, IThemeConstants } from "./ITheme";
4
5
  export * from "./defaultThemeConstants";
5
6
  export * from "./helpers";