@typeolymp/ui-components 1.8.3 → 1.9.0
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/molecules/Key/index.d.ts +4 -3
- package/build/components/molecules/{TranslationSelect → Key}/stories.d.ts +1 -8
- package/build/components/molecules/Key/styles.d.ts +1 -0
- package/build/components/molecules/Key/translations.d.ts +5 -0
- package/build/components/molecules/PasswordInputField/index.d.ts +1 -1
- package/build/components/organisms/Form/styles.d.ts +1 -0
- package/build/components/organisms/Keyboard/Key/index.d.ts +8 -0
- package/build/components/organisms/Keyboard/Key/styles.d.ts +1 -0
- package/build/components/organisms/Keyboard/index.d.ts +1 -1
- package/build/components/organisms/Result/index.d.ts +14 -0
- package/build/components/organisms/Result/stories.d.ts +8 -0
- package/build/components/organisms/Result/styles.d.ts +4 -0
- package/build/index.d.ts +3 -1
- package/build/index.es.js +398 -327
- package/build/index.es.js.map +1 -1
- package/build/index.js +400 -326
- package/build/index.js.map +1 -1
- package/package.json +3 -1
- package/build/components/molecules/FormField/index.d.ts +0 -32
- package/build/components/molecules/FormField/styles.d.ts +0 -5
- package/build/components/molecules/Number/index.d.ts +0 -14
- package/build/components/molecules/Number/stories.d.ts +0 -19
- package/build/components/molecules/Number/styles.d.ts +0 -2
- package/build/components/molecules/TranslationSelect/index.d.ts +0 -8
- package/build/components/molecules/TranslationSelect/styles.d.ts +0 -4
- package/build/components/organisms/Keyboard/layouts/azerty.d.ts +0 -11
- package/build/components/organisms/Keyboard/layouts/index.d.ts +0 -3
- package/build/components/organisms/Keyboard/layouts/qwerty.d.ts +0 -11
- package/build/lib/theme.d.ts +0 -3
- package/build/lib/types.d.ts +0 -74
|
@@ -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" | "menuAlt";
|
|
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";
|
|
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,8 +1,9 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
export declare type PropsType = {
|
|
3
|
-
|
|
4
|
-
color
|
|
5
|
-
active
|
|
3
|
+
char: string;
|
|
4
|
+
color: "pink" | "blue" | "green" | "yellow" | "purple";
|
|
5
|
+
status: "passed" | "active" | "incoming";
|
|
6
|
+
error?: boolean;
|
|
6
7
|
};
|
|
7
8
|
declare const Key: FC<PropsType>;
|
|
8
9
|
export default Key;
|
|
@@ -5,11 +5,4 @@ declare const _default: {
|
|
|
5
5
|
component: React.FC<PropsType>;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
|
-
export declare const Overview:
|
|
9
|
-
(): JSX.Element;
|
|
10
|
-
parameters: {
|
|
11
|
-
backgrounds: {
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
@@ -8,7 +8,7 @@ export declare type PropsType = {
|
|
|
8
8
|
autoFocus?: boolean;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
placeholder?: string;
|
|
11
|
-
|
|
11
|
+
helperLocale?: LocaleType;
|
|
12
12
|
onChange?(fieldName: string, value: string): void;
|
|
13
13
|
onKeyPress?(e: KeyboardEvent): void;
|
|
14
14
|
onBlur?(fieldName: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Container: any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare type PropsType = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle: string;
|
|
5
|
+
target: number;
|
|
6
|
+
value: number;
|
|
7
|
+
progressBar?: {
|
|
8
|
+
min: number;
|
|
9
|
+
max: number;
|
|
10
|
+
unit?: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
declare const Result: FC<PropsType>;
|
|
14
|
+
export default Result;
|
package/build/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import Collapse from "./components/molecules/Collapse";
|
|
|
24
24
|
import DateInputField from "./components/molecules/DateInputField";
|
|
25
25
|
import IconButton from "./components/molecules/IconButton";
|
|
26
26
|
import InputField from "./components/molecules/InputField";
|
|
27
|
+
import Key from "./components/molecules/Key";
|
|
27
28
|
import Link from "./components/molecules/Link";
|
|
28
29
|
import Loading from "./components/molecules/Loading";
|
|
29
30
|
import LocaleSelect from "./components/molecules/LocaleSelect";
|
|
@@ -41,4 +42,5 @@ import Tooltip from "./components/molecules/Tooltip";
|
|
|
41
42
|
import Form from "./components/organisms/Form";
|
|
42
43
|
import Keyboard from "./components/organisms/Keyboard";
|
|
43
44
|
import Modal from "./components/organisms/Modal";
|
|
44
|
-
|
|
45
|
+
import Result from "./components/organisms/Result";
|
|
46
|
+
export { theme, Button, Checkbox, Flag, Heading, Icon, Illustration, Input, Logo, Medal, Number, Paragraph, Radio, Select, Spacer, Subheading, Tag, Toggle, Trophy, Alert, Card, Checkboxes, Collapse, DateInputField, IconButton, InputField, Key, Link, Loading, LocaleSelect, Medals, Notification, NumberField, PasswordInputField, Popup, ProgressBar, Steps, RadioGroup, SelectField, ToggleField, Tooltip, Form, Keyboard, Modal, Result, };
|