@typeolymp/ui-components 1.0.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/Button/index.d.ts +12 -0
- package/build/components/atoms/Button/stories.d.ts +32 -0
- package/build/components/atoms/Button/styles.d.ts +3 -0
- package/build/components/atoms/Checkbox/index.d.ts +11 -0
- package/build/components/atoms/Checkbox/stories.d.ts +7 -0
- package/build/components/atoms/Checkbox/styles.d.ts +1 -0
- package/build/components/atoms/Flag/index.d.ts +7 -0
- package/build/components/atoms/Flag/stories.d.ts +29 -0
- package/build/components/atoms/Flag/styles.d.ts +1 -0
- package/build/components/atoms/Heading/index.d.ts +11 -0
- package/build/components/atoms/Heading/stories.d.ts +40 -0
- package/build/components/atoms/Heading/styles.d.ts +1 -0
- package/build/components/atoms/Icon/index.d.ts +9 -0
- package/build/components/atoms/Icon/stories.d.ts +36 -0
- package/build/components/atoms/Icon/styles.d.ts +1 -0
- package/build/components/atoms/Illustration/index.d.ts +7 -0
- package/build/components/atoms/Illustration/stories.d.ts +29 -0
- package/build/components/atoms/Illustration/styles.d.ts +1 -0
- package/build/components/atoms/Input/Password.d.ts +4 -0
- package/build/components/atoms/Input/index.d.ts +15 -0
- package/build/components/atoms/Input/stories.d.ts +21 -0
- package/build/components/atoms/Input/styles.d.ts +2 -0
- package/build/components/atoms/Logo/index.d.ts +4 -0
- package/build/components/atoms/Logo/stories.d.ts +8 -0
- package/build/components/atoms/Logo/styles.d.ts +1 -0
- package/build/components/atoms/Medal/index.d.ts +7 -0
- package/build/components/atoms/Medal/stories.d.ts +29 -0
- package/build/components/atoms/Medal/styles.d.ts +1 -0
- package/build/components/atoms/Paragraph/index.d.ts +10 -0
- package/build/components/atoms/Paragraph/stories.d.ts +31 -0
- package/build/components/atoms/Paragraph/styles.d.ts +1 -0
- package/build/components/atoms/Radio/index.d.ts +11 -0
- package/build/components/atoms/Radio/stories.d.ts +7 -0
- package/build/components/atoms/Radio/styles.d.ts +2 -0
- package/build/components/atoms/Select/index.d.ts +8 -0
- package/build/components/atoms/Select/stories.d.ts +16 -0
- package/build/components/atoms/Select/styles.d.ts +2 -0
- package/build/components/atoms/Spacer/index.d.ts +11 -0
- package/build/components/atoms/Spacer/stories.d.ts +39 -0
- package/build/components/atoms/Spacer/styles.d.ts +1 -0
- package/build/components/atoms/Subheading/index.d.ts +9 -0
- package/build/components/atoms/Subheading/stories.d.ts +22 -0
- package/build/components/atoms/Subheading/styles.d.ts +1 -0
- package/build/components/atoms/Trophy/index.d.ts +7 -0
- package/build/components/atoms/Trophy/stories.d.ts +29 -0
- package/build/components/atoms/Trophy/styles.d.ts +1 -0
- package/build/components/molecules/Card/index.d.ts +8 -0
- package/build/components/molecules/Card/stories.d.ts +42 -0
- package/build/components/molecules/Card/styles.d.ts +3 -0
- package/build/components/molecules/FormField/index.d.ts +36 -0
- package/build/components/molecules/FormField/styles.d.ts +3 -0
- package/build/components/molecules/IconButton/index.d.ts +9 -0
- package/build/components/molecules/IconButton/stories.d.ts +29 -0
- package/build/components/molecules/IconButton/styles.d.ts +2 -0
- package/build/components/molecules/Key/index.d.ts +8 -0
- package/build/components/molecules/Key/styles.d.ts +1 -0
- package/build/components/molecules/Link/index.d.ts +8 -0
- package/build/components/molecules/Link/stories.d.ts +15 -0
- package/build/components/molecules/Link/styles.d.ts +2 -0
- package/build/components/molecules/Medals/index.d.ts +8 -0
- package/build/components/molecules/Medals/stories.d.ts +33 -0
- package/build/components/molecules/Medals/styles.d.ts +1 -0
- package/build/components/molecules/Notification/index.d.ts +15 -0
- package/build/components/molecules/Notification/stories.d.ts +37 -0
- package/build/components/molecules/Notification/styles.d.ts +1 -0
- package/build/components/molecules/Number/index.d.ts +14 -0
- package/build/components/molecules/Number/stories.d.ts +19 -0
- package/build/components/molecules/Number/styles.d.ts +2 -0
- package/build/components/molecules/Popup/index.d.ts +8 -0
- package/build/components/molecules/Popup/stories.d.ts +42 -0
- package/build/components/molecules/Popup/styles.d.ts +1 -0
- package/build/components/molecules/ProgressBar/index.d.ts +9 -0
- package/build/components/molecules/ProgressBar/stories.d.ts +38 -0
- package/build/components/molecules/ProgressBar/styles.d.ts +3 -0
- package/build/components/molecules/Tooltip/index.d.ts +7 -0
- package/build/components/molecules/Tooltip/stories.d.ts +43 -0
- package/build/components/molecules/Tooltip/styles.d.ts +2 -0
- package/build/components/organisms/Form/index.d.ts +13 -0
- package/build/components/organisms/Form/stories.d.ts +7 -0
- package/build/components/organisms/Form/styles.d.ts +2 -0
- package/build/components/organisms/Keyboard/index.d.ts +11 -0
- package/build/components/organisms/Keyboard/layouts/azerty.d.ts +11 -0
- package/build/components/organisms/Keyboard/layouts/index.d.ts +3 -0
- package/build/components/organisms/Keyboard/layouts/qwerty.d.ts +11 -0
- package/build/components/organisms/Keyboard/stories.d.ts +22 -0
- package/build/components/organisms/Keyboard/styles.d.ts +6 -0
- package/build/components/organisms/Modal/index.d.ts +9 -0
- package/build/components/organisms/Modal/stories.d.ts +7 -0
- package/build/components/organisms/Modal/styles.d.ts +5 -0
- package/build/index.d.ts +29 -0
- package/build/index.es.js +1165 -0
- package/build/index.es.js.map +1 -0
- package/build/index.js +1201 -0
- package/build/index.js.map +1 -0
- package/build/lib/enums.d.ts +4 -0
- package/build/lib/helpers.d.ts +1 -0
- package/build/lib/theme.d.ts +3 -0
- package/build/lib/types.d.ts +73 -0
- package/package.json +42 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare type PropsType = {
|
|
3
|
+
label: string | JSX.Element;
|
|
4
|
+
color?: "blue" | "green" | "white";
|
|
5
|
+
size?: "small" | "medium";
|
|
6
|
+
fluid?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
tabIndex?: number;
|
|
9
|
+
onClick?(): void;
|
|
10
|
+
};
|
|
11
|
+
declare const Button: FC<PropsType>;
|
|
12
|
+
export default Button;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
label: string;
|
|
13
|
+
color: string;
|
|
14
|
+
fluid: boolean;
|
|
15
|
+
size: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
};
|
|
18
|
+
argTypes: {
|
|
19
|
+
color: {
|
|
20
|
+
options: string[];
|
|
21
|
+
control: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
options: string[];
|
|
27
|
+
control: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare type PropsType = {
|
|
3
|
+
initialValue?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
autoFocus?: boolean;
|
|
6
|
+
id?: string;
|
|
7
|
+
onChange?(value: boolean): void;
|
|
8
|
+
onBlur?(): void;
|
|
9
|
+
};
|
|
10
|
+
declare const Checkbox: FC<PropsType>;
|
|
11
|
+
export default Checkbox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledCheckbox: any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
locale: string;
|
|
13
|
+
size: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
locale: {
|
|
17
|
+
options: string[];
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
options: string[];
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Wrapper: any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
declare type HeadingType = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
3
|
+
declare type PropsType = {
|
|
4
|
+
type: HeadingType;
|
|
5
|
+
color?: "black" | "white" | "gray";
|
|
6
|
+
align?: "left" | "center" | "right";
|
|
7
|
+
as?: HeadingType | "span";
|
|
8
|
+
};
|
|
9
|
+
declare const Heading: FC<PropsType>;
|
|
10
|
+
export type { PropsType };
|
|
11
|
+
export default Heading;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
type: string;
|
|
13
|
+
color: string;
|
|
14
|
+
align: string;
|
|
15
|
+
as: string;
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
type: {
|
|
19
|
+
options: string[];
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
as: {
|
|
25
|
+
options: string[];
|
|
26
|
+
control: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
parameters: {
|
|
32
|
+
backgrounds: {
|
|
33
|
+
default: string;
|
|
34
|
+
values: {
|
|
35
|
+
name: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledHeading: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare type PropsType = {
|
|
3
|
+
type: "check" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "eye" | "eyeInvisible" | "warning" | "questionCircle" | "play" | "lock" | "cross" | "bulb" | "star" | "setting" | "reload" | "expand";
|
|
4
|
+
size?: "tiny" | "small" | "medium" | "large";
|
|
5
|
+
color?: "blue" | "green" | "orange" | "red" | "gray" | "darkGray" | "lightGray" | "white";
|
|
6
|
+
onClick?(e?: MouseEvent): void;
|
|
7
|
+
};
|
|
8
|
+
declare const Icon: FC<PropsType>;
|
|
9
|
+
export default Icon;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
type: string;
|
|
13
|
+
size: string;
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
type: {
|
|
18
|
+
options: string[];
|
|
19
|
+
control: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
options: string[];
|
|
25
|
+
control: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
color: {
|
|
30
|
+
options: string[];
|
|
31
|
+
controL: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Wrapper: any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare type PropsType = {
|
|
3
|
+
type: "keyboard" | "accuracy" | "speed" | "trophy" | "clipboard" | "rankings" | "lock" | "lockOpen" | "idCard";
|
|
4
|
+
size?: "small" | "medium" | "large";
|
|
5
|
+
};
|
|
6
|
+
declare const Illustration: FC<PropsType>;
|
|
7
|
+
export default Illustration;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
type: string;
|
|
13
|
+
size: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
type: {
|
|
17
|
+
options: string[];
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
options: string[];
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Wrapper: any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare type PropsType = {
|
|
3
|
+
initialValue?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
autoComplete?: string;
|
|
6
|
+
autoFocus?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
id?: string;
|
|
9
|
+
onChange?(value: string): void;
|
|
10
|
+
onBlur?(): void;
|
|
11
|
+
};
|
|
12
|
+
declare const Input: FC<PropsType> & {
|
|
13
|
+
Password: FC<PropsType>;
|
|
14
|
+
};
|
|
15
|
+
export default Input;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType> & {
|
|
6
|
+
Password: React.FC<PropsType>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const Overview: () => JSX.Element;
|
|
11
|
+
export declare const Playground: {
|
|
12
|
+
(args: any): JSX.Element;
|
|
13
|
+
args: {
|
|
14
|
+
placeholder: string;
|
|
15
|
+
autoComplete: string;
|
|
16
|
+
id: string;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
password: boolean;
|
|
19
|
+
};
|
|
20
|
+
argTypes: {};
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
type: string;
|
|
13
|
+
size: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
type: {
|
|
17
|
+
options: string[];
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
options: string[];
|
|
24
|
+
controL: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Wrapper: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
declare type PropsType = {
|
|
3
|
+
size?: "tiny" | "small" | "medium" | "large";
|
|
4
|
+
align?: "left" | "center" | "right";
|
|
5
|
+
weight?: "regular" | "medium";
|
|
6
|
+
color?: "white" | "lightGray" | "darkGray";
|
|
7
|
+
};
|
|
8
|
+
declare const Paragraph: FC<PropsType>;
|
|
9
|
+
export type { PropsType };
|
|
10
|
+
export default Paragraph;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
size: string;
|
|
13
|
+
align: string;
|
|
14
|
+
weight: string;
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
size: {
|
|
19
|
+
options: string[];
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
color: {
|
|
25
|
+
options: string[];
|
|
26
|
+
control: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledParagraph: any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
export declare type PropsType = {
|
|
3
|
+
initialValue?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
autoFocus?: boolean;
|
|
6
|
+
id?: string;
|
|
7
|
+
onChange?(value: boolean): void;
|
|
8
|
+
onBlur?(): void;
|
|
9
|
+
};
|
|
10
|
+
declare const Radio: FC<PropsType>;
|
|
11
|
+
export default Radio;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
placeholder: string;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {};
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
declare type SpaceType = 5 | 10 | 15 | 20 | 25 | 30 | 35 | 40;
|
|
3
|
+
export declare type PropsType = {
|
|
4
|
+
horizontal: SpaceType;
|
|
5
|
+
vertical?: never;
|
|
6
|
+
} | {
|
|
7
|
+
horizontal?: never;
|
|
8
|
+
vertical: SpaceType;
|
|
9
|
+
};
|
|
10
|
+
declare const Spacer: FC<PropsType>;
|
|
11
|
+
export default Spacer;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
type: string;
|
|
13
|
+
space: number;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
type: {
|
|
17
|
+
options: string[];
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
space: {
|
|
23
|
+
options: number[];
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
horizontal: {
|
|
29
|
+
control: {
|
|
30
|
+
disable: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
vertical: {
|
|
34
|
+
control: {
|
|
35
|
+
disable: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSpacer: any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
declare type PropsType = {
|
|
3
|
+
size?: "small" | "medium" | "large";
|
|
4
|
+
align?: "left" | "center" | "right";
|
|
5
|
+
color?: "black" | "white" | "gray";
|
|
6
|
+
};
|
|
7
|
+
declare const Subheading: FC<PropsType>;
|
|
8
|
+
export type { PropsType };
|
|
9
|
+
export default Subheading;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
size: string;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
size: {
|
|
16
|
+
options: string[];
|
|
17
|
+
control: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSubheading: any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PropsType } from ".";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<PropsType>;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Overview: () => JSX.Element;
|
|
9
|
+
export declare const Playground: {
|
|
10
|
+
(args: any): JSX.Element;
|
|
11
|
+
args: {
|
|
12
|
+
variant: number;
|
|
13
|
+
level: number;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
variant: {
|
|
17
|
+
options: number[];
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
level: {
|
|
23
|
+
options: number[];
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Wrapper: any;
|