@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.
@@ -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;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ import { PropsType as InputPropsType } from ".";
3
+ export declare type PropsType = InputPropsType & {
4
+ onSearch?(value: string): void;
5
+ };
6
+ declare const SearchInput: FC<PropsType>;
7
+ export default SearchInput;
@@ -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,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 {};