@typeolymp/ui-components 1.19.16 → 1.19.17
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/Search.d.ts +7 -0
- package/build/components/atoms/Input/index.d.ts +2 -0
- package/build/components/atoms/Input/stories.d.ts +2 -0
- package/build/components/atoms/Input/translations.d.ts +11 -0
- 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 +642 -762
- package/build/index.es.js.map +1 -1
- package/build/index.js +642 -762
- 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";
|
|
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";
|
|
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;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { PropsType as PasswordInputPropsType } from "./Password";
|
|
3
3
|
import { PropsType as DateInputPropsType } from "./Date";
|
|
4
|
+
import { PropsType as SearchInputPropsType } from "./Search";
|
|
4
5
|
export declare type PropsType = {
|
|
5
6
|
id: string;
|
|
6
7
|
defaultValue?: string;
|
|
@@ -14,5 +15,6 @@ export declare type PropsType = {
|
|
|
14
15
|
declare const Input: FC<PropsType> & {
|
|
15
16
|
Password: FC<PasswordInputPropsType>;
|
|
16
17
|
Date: FC<DateInputPropsType>;
|
|
18
|
+
Search: FC<SearchInputPropsType>;
|
|
17
19
|
};
|
|
18
20
|
export default Input;
|
|
@@ -6,6 +6,7 @@ declare const _default: {
|
|
|
6
6
|
component: React.FC<PropsType> & {
|
|
7
7
|
Password: React.FC<import("./Password").PropsType>;
|
|
8
8
|
Date: React.FC<import("./Date").PropsType>;
|
|
9
|
+
Search: React.FC<import("./Search").PropsType>;
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
12
|
export default _default;
|
|
@@ -18,6 +19,7 @@ export declare const Playground: {
|
|
|
18
19
|
id: string;
|
|
19
20
|
disabled: boolean;
|
|
20
21
|
password: boolean;
|
|
22
|
+
search: boolean;
|
|
21
23
|
helperLocale: Locale;
|
|
22
24
|
};
|
|
23
25
|
argTypes: {};
|
|
@@ -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,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 {};
|