@evergis/uilib-gl 1.0.13 → 1.0.14
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/atoms/Grid/Flex.d.ts +3 -3
- package/dist/atoms/Grid/types.d.ts +9 -2
- package/dist/atoms/Icon/Icon.d.ts +6 -0
- package/dist/organisms/ButtonsGroup/types.d.ts +2 -2
- package/dist/organisms/Radio/FlexWithMargin.d.ts +1 -1
- package/dist/organisms/Radio/types.d.ts +2 -2
- package/dist/uilib-gl.esm.js +634 -425
- package/dist/uilib-gl.esm.js.map +1 -1
- package/package.json +5 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Flex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme,
|
|
3
|
-
export declare const FlexSpan: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme,
|
|
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
|
-
|
|
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
|
-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { IconTypesKeys } from "../../atoms/Icon";
|
|
3
|
-
import {
|
|
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
|
|
12
|
+
export interface IButtonsGroupProps extends FlexProps {
|
|
13
13
|
options: IButtonItemProps[];
|
|
14
14
|
selected?: IButtonItemProps;
|
|
15
15
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FlexWithMargin: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../../atoms/Grid").
|
|
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 {
|
|
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
|
|
14
|
+
export interface IRadioGroupProps extends FlexProps {
|
|
15
15
|
options?: IRadioItemProps[];
|
|
16
16
|
value?: string;
|
|
17
17
|
disabled?: boolean;
|