@typeolymp/ui-components 1.19.34 → 1.19.35

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.
@@ -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?: "blue" | "green" | "white";
6
- size?: "small" | "medium";
6
+ color?: ButtonPropsType["color"];
7
+ size?: ButtonPropsType["size"];
7
8
  onClick?(): void;
8
9
  };
9
10
  declare const IconButton: FC<PropsType>;
@@ -0,0 +1,5 @@
1
+ import { LocaleType } from "@typeolymp/utility/build/types";
2
+ declare const translations: {
3
+ [key in LocaleType]: string;
4
+ };
5
+ 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,2 @@
1
+ export declare const TabsContainer: any;
2
+ export declare const Tab: any;
@@ -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 {};