@typeolymp/ui-components 1.12.0 → 1.13.1
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/build/components/atoms/Button/index.d.ts +1 -1
- package/build/components/atoms/Illustration/index.d.ts +1 -1
- package/build/components/atoms/Input/Password.d.ts +2 -0
- package/build/components/atoms/Input/styles.d.ts +3 -0
- package/build/components/atoms/Input/translations.d.ts +11 -0
- package/build/components/atoms/Paragraph/index.d.ts +1 -0
- package/build/components/molecules/IconButton/index.d.ts +1 -0
- package/build/components/molecules/PasswordInputField/styles.d.ts +0 -2
- package/build/components/molecules/Tabs/index.d.ts +1 -2
- package/build/components/organisms/Table/index.d.ts +4 -2
- package/build/components/organisms/Table/styles.d.ts +1 -0
- package/build/index.es.js +215 -157
- package/build/index.es.js.map +1 -1
- package/build/index.js +215 -157
- package/build/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
export declare type PropsType = {
|
|
3
|
-
type: "keyboard" | "accuracy" | "speed" | "trophy" | "clipboard" | "rankings" | "lock" | "lockOpen" | "idCard" | "cookie" | "classroom";
|
|
3
|
+
type: "keyboard" | "accuracy" | "speed" | "trophy" | "clipboard" | "rankings" | "lock" | "lockOpen" | "idCard" | "cookie" | "classroom" | "student" | "school";
|
|
4
4
|
size?: "small" | "medium" | "large";
|
|
5
5
|
};
|
|
6
6
|
declare const Illustration: FC<PropsType>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { Locale } from "@typeolymp/utility/build/enums";
|
|
2
3
|
import { PropsType as InputPropsType } from ".";
|
|
3
4
|
export declare type PropsType = InputPropsType & {
|
|
5
|
+
helperLocale?: Locale;
|
|
4
6
|
onKeyPress?(e: KeyboardEvent): void;
|
|
5
7
|
};
|
|
6
8
|
declare const PasswordInput: FC<PropsType>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Locale } from "@typeolymp/utility/build/enums";
|
|
2
|
+
declare type TranslationsType = {
|
|
3
|
+
capitalLetter: string;
|
|
4
|
+
number: string;
|
|
5
|
+
specialCharacter: string;
|
|
6
|
+
length: string;
|
|
7
|
+
};
|
|
8
|
+
declare const translations: {
|
|
9
|
+
[key in Locale]: TranslationsType;
|
|
10
|
+
};
|
|
11
|
+
export default translations;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
2
|
export declare type PropsType = {
|
|
3
3
|
columns: Array<{
|
|
4
|
-
title
|
|
4
|
+
title?: string;
|
|
5
5
|
dataIndex: string;
|
|
6
|
-
render?(value: any): ReactNode;
|
|
6
|
+
render?(value: any, row: any): ReactNode;
|
|
7
|
+
align?: "left" | "right" | "center";
|
|
7
8
|
}>;
|
|
8
9
|
data: Array<{
|
|
9
10
|
[key: string]: any;
|
|
10
11
|
}>;
|
|
12
|
+
empytText?: string;
|
|
11
13
|
};
|
|
12
14
|
declare const Table: FC<PropsType>;
|
|
13
15
|
export default Table;
|