@typeolymp/ui-components 1.19.34 → 1.19.36
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/Icon/index.d.ts +1 -1
- package/build/components/atoms/Input/translations.d.ts +11 -0
- package/build/components/molecules/IconButton/index.d.ts +3 -2
- package/build/components/molecules/Key/translations.d.ts +5 -0
- package/build/components/molecules/PasswordInputField/translations.d.ts +11 -0
- package/build/components/molecules/Tabs/styles.d.ts +2 -0
- package/build/components/organisms/Chart/data copy.d.ts +30 -0
- package/build/components/organisms/Chart/styles.d.ts +1 -0
- package/build/index.es.js +632 -766
- package/build/index.es.js.map +1 -1
- package/build/index.js +632 -766
- package/build/index.js.map +1 -1
- package/build/lib/enums.d.ts +4 -0
- package/build/lib/helpers.d.ts +1 -0
- package/build/lib/theme/index.d.ts +3 -0
- package/build/lib/theme/types.d.ts +72 -0
- package/build/lib/translations/index.d.ts +6 -0
- package/build/lib/types/TranslationType.d.ts +7 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
export declare type PropsType = {
|
|
3
|
-
type: "check" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "eye" | "eyeInvisible" | "warning" | "questionCircle" | "play" | "lock" | "cross" | "bulb" | "star" | "setting" | "reload" | "expand" | "calendar" | "plus" | "envelope" | "facebook" | "instagram" | "menuAlt" | "link" | "heart" | "thunder" | "fire" | "control" | "fileAdd" | "fileCheck" | "fileError" | "fileArrow" | "download" | "upload" | "dotsVertical" | "dotsHorizontal" | "bell" | "bin" | "user" | "search" | "infoCircle" | "swap" | "login" | "logout";
|
|
3
|
+
type: "check" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "eye" | "eyeInvisible" | "warning" | "questionCircle" | "play" | "lock" | "cross" | "bulb" | "star" | "setting" | "reload" | "expand" | "calendar" | "plus" | "envelope" | "facebook" | "instagram" | "menuAlt" | "link" | "heart" | "thunder" | "fire" | "control" | "fileAdd" | "fileCheck" | "fileError" | "fileArrow" | "download" | "upload" | "dotsVertical" | "dotsHorizontal" | "bell" | "bin" | "user" | "search" | "infoCircle" | "swap" | "login" | "logout" | "edit";
|
|
4
4
|
size?: "tiny" | "small" | "medium" | "large";
|
|
5
5
|
color?: "blue" | "green" | "orange" | "red" | "purple" | "gray" | "darkGray" | "lightGray" | "white";
|
|
6
6
|
onClick?(e?: MouseEvent): void;
|
|
@@ -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,9 +1,10 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { PropsType as IconPropsType } from "../../atoms/Icon";
|
|
3
|
+
import { PropsType as ButtonPropsType } from "../../atoms/Button";
|
|
3
4
|
export declare type PropsType = {
|
|
4
5
|
icon: IconPropsType["type"];
|
|
5
|
-
color?: "
|
|
6
|
-
size?: "
|
|
6
|
+
color?: ButtonPropsType["color"];
|
|
7
|
+
size?: ButtonPropsType["size"];
|
|
7
8
|
onClick?(): void;
|
|
8
9
|
};
|
|
9
10
|
declare const IconButton: 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;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: ({
|
|
2
|
+
_id: string;
|
|
3
|
+
student: string;
|
|
4
|
+
exercise: string;
|
|
5
|
+
passed: boolean;
|
|
6
|
+
medal: string;
|
|
7
|
+
accuracy: number;
|
|
8
|
+
kpm: number;
|
|
9
|
+
hits: {
|
|
10
|
+
correct: number;
|
|
11
|
+
wrong: number;
|
|
12
|
+
};
|
|
13
|
+
seconds: number;
|
|
14
|
+
date: string;
|
|
15
|
+
} | {
|
|
16
|
+
_id: string;
|
|
17
|
+
student: string;
|
|
18
|
+
exercise: string;
|
|
19
|
+
passed: boolean;
|
|
20
|
+
accuracy: number;
|
|
21
|
+
kpm: number;
|
|
22
|
+
hits: {
|
|
23
|
+
correct: number;
|
|
24
|
+
wrong: number;
|
|
25
|
+
};
|
|
26
|
+
seconds: number;
|
|
27
|
+
date: string;
|
|
28
|
+
medal?: undefined;
|
|
29
|
+
})[];
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|