@candy.thieves/ui-kit-lumos 0.0.1
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/README.md +141 -0
- package/dist/.storybook/main.d.ts +3 -0
- package/dist/.storybook/preview.d.ts +6 -0
- package/dist/favicon.svg +1 -0
- package/dist/icons.svg +24 -0
- package/dist/index.css +2 -0
- package/dist/index.js +307 -0
- package/dist/index.js.map +1 -0
- package/dist/src/assets/icons/ArrowBackOutline.d.ts +3 -0
- package/dist/src/assets/icons/ArrowForwardOutline.d.ts +3 -0
- package/dist/src/assets/icons/ArrowIosBack.d.ts +3 -0
- package/dist/src/assets/icons/ArrowIosBackOutline.d.ts +3 -0
- package/dist/src/assets/icons/ArrowIosDownOutline.d.ts +3 -0
- package/dist/src/assets/icons/ArrowIosForward.d.ts +3 -0
- package/dist/src/assets/icons/ArrowIosForwardOutline.d.ts +3 -0
- package/dist/src/assets/icons/ArrowIosUp.d.ts +3 -0
- package/dist/src/assets/icons/Block.d.ts +3 -0
- package/dist/src/assets/icons/BlockOutline.d.ts +3 -0
- package/dist/src/assets/icons/Bookmark.d.ts +3 -0
- package/dist/src/assets/icons/BookmarkOutline.d.ts +3 -0
- package/dist/src/assets/icons/Brave.d.ts +3 -0
- package/dist/src/assets/icons/Calendar.d.ts +3 -0
- package/dist/src/assets/icons/CalendarOutline.d.ts +3 -0
- package/dist/src/assets/icons/CheckmarkOutline.d.ts +3 -0
- package/dist/src/assets/icons/Close.d.ts +3 -0
- package/dist/src/assets/icons/CloseOutline.d.ts +3 -0
- package/dist/src/assets/icons/ColorPaletteOutline.d.ts +3 -0
- package/dist/src/assets/icons/Copy.d.ts +3 -0
- package/dist/src/assets/icons/CopyOutline.d.ts +3 -0
- package/dist/src/assets/icons/CreditCard.d.ts +3 -0
- package/dist/src/assets/icons/CreditCardOutline.d.ts +3 -0
- package/dist/src/assets/icons/DoneAllOutline.d.ts +3 -0
- package/dist/src/assets/icons/Edit.d.ts +3 -0
- package/dist/src/assets/icons/EditOutline.d.ts +3 -0
- package/dist/src/assets/icons/Email.d.ts +3 -0
- package/dist/src/assets/icons/EmailOutline.d.ts +3 -0
- package/dist/src/assets/icons/Expand.d.ts +3 -0
- package/dist/src/assets/icons/ExpandOutline.d.ts +3 -0
- package/dist/src/assets/icons/Explorer.d.ts +3 -0
- package/dist/src/assets/icons/Eye.d.ts +3 -0
- package/dist/src/assets/icons/EyeOff.d.ts +3 -0
- package/dist/src/assets/icons/EyeOffOutline.d.ts +3 -0
- package/dist/src/assets/icons/EyeOutline.d.ts +3 -0
- package/dist/src/assets/icons/Facebook.d.ts +3 -0
- package/dist/src/assets/icons/FillBell.d.ts +3 -0
- package/dist/src/assets/icons/Firefox.d.ts +3 -0
- package/dist/src/assets/icons/FlagEng.d.ts +3 -0
- package/dist/src/assets/icons/FlagRus.d.ts +3 -0
- package/dist/src/assets/icons/GithubRepo.d.ts +3 -0
- package/dist/src/assets/icons/Google.d.ts +3 -0
- package/dist/src/assets/icons/Heart.d.ts +3 -0
- package/dist/src/assets/icons/HeartOutline.d.ts +3 -0
- package/dist/src/assets/icons/Home.d.ts +3 -0
- package/dist/src/assets/icons/HomeOutline.d.ts +3 -0
- package/dist/src/assets/icons/Image.d.ts +3 -0
- package/dist/src/assets/icons/ImageOutline.d.ts +3 -0
- package/dist/src/assets/icons/Layers.d.ts +3 -0
- package/dist/src/assets/icons/LayersOutline.d.ts +3 -0
- package/dist/src/assets/icons/LogOut.d.ts +3 -0
- package/dist/src/assets/icons/LogOutOutline.d.ts +3 -0
- package/dist/src/assets/icons/Maximize.d.ts +3 -0
- package/dist/src/assets/icons/MaximizeOutline.d.ts +3 -0
- package/dist/src/assets/icons/MenuOutline.d.ts +3 -0
- package/dist/src/assets/icons/MessageCircle.d.ts +3 -0
- package/dist/src/assets/icons/MessageCircleOutline.d.ts +3 -0
- package/dist/src/assets/icons/Mic.d.ts +3 -0
- package/dist/src/assets/icons/MicOutline.d.ts +3 -0
- package/dist/src/assets/icons/MicrosoftEdge.d.ts +3 -0
- package/dist/src/assets/icons/MoreHorizontal.d.ts +3 -0
- package/dist/src/assets/icons/MoreHorizontalOutline.d.ts +3 -0
- package/dist/src/assets/icons/Opera.d.ts +3 -0
- package/dist/src/assets/icons/OutlineBell.d.ts +8 -0
- package/dist/src/assets/icons/Paid.d.ts +3 -0
- package/dist/src/assets/icons/PaperPlane.d.ts +3 -0
- package/dist/src/assets/icons/PaperPlaneOutline.d.ts +3 -0
- package/dist/src/assets/icons/PauseCircle.d.ts +3 -0
- package/dist/src/assets/icons/PauseCircleOutline.d.ts +3 -0
- package/dist/src/assets/icons/Paypal.d.ts +3 -0
- package/dist/src/assets/icons/Person.d.ts +3 -0
- package/dist/src/assets/icons/PersonAdd.d.ts +3 -0
- package/dist/src/assets/icons/PersonAddOutline.d.ts +3 -0
- package/dist/src/assets/icons/PersonOutline.d.ts +3 -0
- package/dist/src/assets/icons/PersonRemove.d.ts +3 -0
- package/dist/src/assets/icons/PersonRemoveOutline.d.ts +3 -0
- package/dist/src/assets/icons/Pin.d.ts +3 -0
- package/dist/src/assets/icons/PinOutline.d.ts +3 -0
- package/dist/src/assets/icons/PlayCircle.d.ts +3 -0
- package/dist/src/assets/icons/PlayCircleOutline.d.ts +3 -0
- package/dist/src/assets/icons/PlusCircle.d.ts +3 -0
- package/dist/src/assets/icons/PlusCircleOutline.d.ts +3 -0
- package/dist/src/assets/icons/PlusSquare.d.ts +3 -0
- package/dist/src/assets/icons/PlusSquareOutline.d.ts +3 -0
- package/dist/src/assets/icons/RadioButtonChecked.d.ts +3 -0
- package/dist/src/assets/icons/RadioButtonUnchecked.d.ts +3 -0
- package/dist/src/assets/icons/RecaptchaLogo.d.ts +3 -0
- package/dist/src/assets/icons/Safari.d.ts +3 -0
- package/dist/src/assets/icons/Search.d.ts +3 -0
- package/dist/src/assets/icons/SearchOutline.d.ts +3 -0
- package/dist/src/assets/icons/Settings.d.ts +3 -0
- package/dist/src/assets/icons/SettingsOutline.d.ts +3 -0
- package/dist/src/assets/icons/Stripe.d.ts +3 -0
- package/dist/src/assets/icons/Trash.d.ts +3 -0
- package/dist/src/assets/icons/TrashOutline.d.ts +3 -0
- package/dist/src/assets/icons/TrendingUp.d.ts +3 -0
- package/dist/src/assets/icons/TrendingUpOutline.d.ts +3 -0
- package/dist/src/assets/icons/UcBrowser.d.ts +3 -0
- package/dist/src/assets/icons/Yandex.d.ts +3 -0
- package/dist/src/assets/icons/index.d.ts +99 -0
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +15 -0
- package/dist/src/components/RadioGroup/index.d.ts +1 -0
- package/dist/src/components/TestMixins/TestMixins.d.ts +1 -0
- package/dist/src/components/TestMixins/index.d.ts +1 -0
- package/dist/src/components/Typography/Typography.d.ts +26 -0
- package/dist/src/components/Typography/index.d.ts +1 -0
- package/dist/src/components/index.d.ts +3 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/stories/assets/ArrowBackOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/ArrowForwardOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/ArrowIosBack.stories.d.ts +60 -0
- package/dist/src/stories/assets/ArrowIosBackOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/ArrowIosDownOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/ArrowIosForward.stories.d.ts +60 -0
- package/dist/src/stories/assets/ArrowIosForwardOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/ArrowIosUp.stories.d.ts +60 -0
- package/dist/src/stories/assets/Block.stories.d.ts +60 -0
- package/dist/src/stories/assets/BlockOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Bookmark.stories.d.ts +60 -0
- package/dist/src/stories/assets/BookmarkOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Brave.stories.d.ts +60 -0
- package/dist/src/stories/assets/Calendar.stories.d.ts +60 -0
- package/dist/src/stories/assets/CalendarOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/CheckmarkOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Close.stories.d.ts +60 -0
- package/dist/src/stories/assets/CloseOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/ColorPaletteOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Copy.stories.d.ts +60 -0
- package/dist/src/stories/assets/CopyOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/CreditCard.stories.d.ts +60 -0
- package/dist/src/stories/assets/CreditCardOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/DoneAllOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Edit.stories.d.ts +60 -0
- package/dist/src/stories/assets/EditOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Email.stories.d.ts +60 -0
- package/dist/src/stories/assets/EmailOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Expand.stories.d.ts +60 -0
- package/dist/src/stories/assets/ExpandOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Explorer.stories.d.ts +60 -0
- package/dist/src/stories/assets/Eye.stories.d.ts +60 -0
- package/dist/src/stories/assets/EyeOff.stories.d.ts +60 -0
- package/dist/src/stories/assets/EyeOffOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/EyeOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Facebook.stories.d.ts +47 -0
- package/dist/src/stories/assets/FillBell.stories.d.ts +60 -0
- package/dist/src/stories/assets/Firefox.stories.d.ts +60 -0
- package/dist/src/stories/assets/FlagEng.stories.d.ts +47 -0
- package/dist/src/stories/assets/FlagRus.stories.d.ts +47 -0
- package/dist/src/stories/assets/GithubRepo.stories.d.ts +60 -0
- package/dist/src/stories/assets/Google.stories.d.ts +47 -0
- package/dist/src/stories/assets/Heart.stories.d.ts +60 -0
- package/dist/src/stories/assets/HeartOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Home.stories.d.ts +60 -0
- package/dist/src/stories/assets/HomeOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/ImageIcon.stories.d.ts +60 -0
- package/dist/src/stories/assets/ImageOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Layers.stories.d.ts +60 -0
- package/dist/src/stories/assets/LayersOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/LogOut.stories.d.ts +60 -0
- package/dist/src/stories/assets/LogOutOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Maximize.stories.d.ts +60 -0
- package/dist/src/stories/assets/MaximizeOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/MenuOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/MessageCircle.stories.d.ts +60 -0
- package/dist/src/stories/assets/MessageCircleOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Mic.stories.d.ts +60 -0
- package/dist/src/stories/assets/MicOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/MicrosoftEdge.stories.d.ts +60 -0
- package/dist/src/stories/assets/MoreHorizontal.stories.d.ts +60 -0
- package/dist/src/stories/assets/MoreHorizontalOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Opera.stories.d.ts +60 -0
- package/dist/src/stories/assets/OutlineBell.stories.d.ts +69 -0
- package/dist/src/stories/assets/Paid.stories.d.ts +47 -0
- package/dist/src/stories/assets/PaperPlane.stories.d.ts +60 -0
- package/dist/src/stories/assets/PaperPlaneOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/PauseCircle.stories.d.ts +60 -0
- package/dist/src/stories/assets/PauseCircleOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Paypal.stories.d.ts +45 -0
- package/dist/src/stories/assets/Person.stories.d.ts +60 -0
- package/dist/src/stories/assets/PersonAdd.stories.d.ts +60 -0
- package/dist/src/stories/assets/PersonAddOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/PersonOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/PersonRemove.stories.d.ts +60 -0
- package/dist/src/stories/assets/PersonRemoveOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Pin.stories.d.ts +60 -0
- package/dist/src/stories/assets/PinOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/PlayCircle.stories.d.ts +60 -0
- package/dist/src/stories/assets/PlayCircleOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/PlusCircle.stories.d.ts +60 -0
- package/dist/src/stories/assets/PlusCircleOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/PlusSquare.stories.d.ts +60 -0
- package/dist/src/stories/assets/PlusSquareOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/RadioButtonChecked.stories.d.ts +60 -0
- package/dist/src/stories/assets/RadioButtonUnchecked.stories.d.ts +60 -0
- package/dist/src/stories/assets/RecaptchaLogo.stories.d.ts +47 -0
- package/dist/src/stories/assets/Safari.stories.d.ts +60 -0
- package/dist/src/stories/assets/Search.stories.d.ts +60 -0
- package/dist/src/stories/assets/SearchOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Settings.stories.d.ts +60 -0
- package/dist/src/stories/assets/SettingsOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/Stripe.stories.d.ts +47 -0
- package/dist/src/stories/assets/Trash.stories.d.ts +60 -0
- package/dist/src/stories/assets/TrashOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/TrendingUp.stories.d.ts +60 -0
- package/dist/src/stories/assets/TrendingUpOutline.stories.d.ts +60 -0
- package/dist/src/stories/assets/UcBrowser.stories.d.ts +60 -0
- package/dist/src/stories/assets/Yandex.stories.d.ts +60 -0
- package/dist/src/stories/components/RadioGroup.stories.d.ts +53 -0
- package/dist/src/stories/components/TestMixins/TestMixins.stories.d.ts +11 -0
- package/dist/src/stories/components/Typography/Typography.stories.d.ts +239 -0
- package/dist/src/stories/constants.d.ts +45 -0
- package/dist/src/stories/palette/ColorPalette.stories.d.ts +10 -0
- package/dist/src/storybook-utils/assets/coloredIconMeta.d.ts +38 -0
- package/dist/src/storybook-utils/assets/iconMeta.d.ts +51 -0
- package/dist/src/storybook-utils/assets/logoMeta.d.ts +32 -0
- package/dist/src/storybook-utils/index.d.ts +3 -0
- package/dist/src/utils/ColorIconBase.d.ts +7 -0
- package/dist/src/utils/ColorIconBaseSmall.d.ts +7 -0
- package/dist/src/utils/IconBase.d.ts +12 -0
- package/dist/src/utils/index.d.ts +3 -0
- package/package.json +91 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("../../utils").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
autoSize: {
|
|
8
|
+
control: {
|
|
9
|
+
type: "radio";
|
|
10
|
+
};
|
|
11
|
+
options: boolean[];
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
backgroundColor: {
|
|
15
|
+
control: {
|
|
16
|
+
type: "color";
|
|
17
|
+
};
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "color";
|
|
23
|
+
};
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "range";
|
|
29
|
+
min: number;
|
|
30
|
+
max: number;
|
|
31
|
+
step: number;
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
svgProps: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "object";
|
|
38
|
+
};
|
|
39
|
+
description: string;
|
|
40
|
+
table: {
|
|
41
|
+
type: {
|
|
42
|
+
summary: string;
|
|
43
|
+
};
|
|
44
|
+
defaultValue: {
|
|
45
|
+
summary: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
args: {
|
|
51
|
+
autoSize: boolean;
|
|
52
|
+
size: number;
|
|
53
|
+
color: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default meta;
|
|
57
|
+
type Story = StoryObj<typeof meta>;
|
|
58
|
+
export declare const Default: Story;
|
|
59
|
+
export declare const WithStyle: Story;
|
|
60
|
+
export declare const WithClassName: Story;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("../../utils").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
autoSize: {
|
|
8
|
+
control: {
|
|
9
|
+
type: "radio";
|
|
10
|
+
};
|
|
11
|
+
options: boolean[];
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
backgroundColor: {
|
|
15
|
+
control: {
|
|
16
|
+
type: "color";
|
|
17
|
+
};
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "color";
|
|
23
|
+
};
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "range";
|
|
29
|
+
min: number;
|
|
30
|
+
max: number;
|
|
31
|
+
step: number;
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
svgProps: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "object";
|
|
38
|
+
};
|
|
39
|
+
description: string;
|
|
40
|
+
table: {
|
|
41
|
+
type: {
|
|
42
|
+
summary: string;
|
|
43
|
+
};
|
|
44
|
+
defaultValue: {
|
|
45
|
+
summary: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
args: {
|
|
51
|
+
autoSize: boolean;
|
|
52
|
+
size: number;
|
|
53
|
+
color: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default meta;
|
|
57
|
+
type Story = StoryObj<typeof meta>;
|
|
58
|
+
export declare const Default: Story;
|
|
59
|
+
export declare const WithStyle: Story;
|
|
60
|
+
export declare const WithClassName: Story;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("../../utils").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
autoSize: {
|
|
8
|
+
control: {
|
|
9
|
+
type: "radio";
|
|
10
|
+
};
|
|
11
|
+
options: boolean[];
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
backgroundColor: {
|
|
15
|
+
control: {
|
|
16
|
+
type: "color";
|
|
17
|
+
};
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "color";
|
|
23
|
+
};
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "range";
|
|
29
|
+
min: number;
|
|
30
|
+
max: number;
|
|
31
|
+
step: number;
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
svgProps: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "object";
|
|
38
|
+
};
|
|
39
|
+
description: string;
|
|
40
|
+
table: {
|
|
41
|
+
type: {
|
|
42
|
+
summary: string;
|
|
43
|
+
};
|
|
44
|
+
defaultValue: {
|
|
45
|
+
summary: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
args: {
|
|
51
|
+
autoSize: boolean;
|
|
52
|
+
size: number;
|
|
53
|
+
color: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default meta;
|
|
57
|
+
type Story = StoryObj<typeof meta>;
|
|
58
|
+
export declare const Default: Story;
|
|
59
|
+
export declare const WithStyle: Story;
|
|
60
|
+
export declare const WithClassName: Story;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("../../utils").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
autoSize: {
|
|
8
|
+
control: {
|
|
9
|
+
type: "radio";
|
|
10
|
+
};
|
|
11
|
+
options: boolean[];
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
backgroundColor: {
|
|
15
|
+
control: {
|
|
16
|
+
type: "color";
|
|
17
|
+
};
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "color";
|
|
23
|
+
};
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "range";
|
|
29
|
+
min: number;
|
|
30
|
+
max: number;
|
|
31
|
+
step: number;
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
svgProps: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "object";
|
|
38
|
+
};
|
|
39
|
+
description: string;
|
|
40
|
+
table: {
|
|
41
|
+
type: {
|
|
42
|
+
summary: string;
|
|
43
|
+
};
|
|
44
|
+
defaultValue: {
|
|
45
|
+
summary: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
args: {
|
|
51
|
+
autoSize: boolean;
|
|
52
|
+
size: number;
|
|
53
|
+
color: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default meta;
|
|
57
|
+
type Story = StoryObj<typeof meta>;
|
|
58
|
+
export declare const Default: Story;
|
|
59
|
+
export declare const WithStyle: Story;
|
|
60
|
+
export declare const WithClassName: Story;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<import("../../utils").IconProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {
|
|
7
|
+
autoSize: {
|
|
8
|
+
control: {
|
|
9
|
+
type: "radio";
|
|
10
|
+
};
|
|
11
|
+
options: boolean[];
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
backgroundColor: {
|
|
15
|
+
control: {
|
|
16
|
+
type: "color";
|
|
17
|
+
};
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
control: {
|
|
22
|
+
type: "color";
|
|
23
|
+
};
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "range";
|
|
29
|
+
min: number;
|
|
30
|
+
max: number;
|
|
31
|
+
step: number;
|
|
32
|
+
};
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
svgProps: {
|
|
36
|
+
control: {
|
|
37
|
+
type: "object";
|
|
38
|
+
};
|
|
39
|
+
description: string;
|
|
40
|
+
table: {
|
|
41
|
+
type: {
|
|
42
|
+
summary: string;
|
|
43
|
+
};
|
|
44
|
+
defaultValue: {
|
|
45
|
+
summary: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
args: {
|
|
51
|
+
autoSize: boolean;
|
|
52
|
+
size: number;
|
|
53
|
+
color: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default meta;
|
|
57
|
+
type Story = StoryObj<typeof meta>;
|
|
58
|
+
export declare const Default: Story;
|
|
59
|
+
export declare const WithStyle: Story;
|
|
60
|
+
export declare const WithClassName: Story;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-radio-group").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref">, "children"> & {
|
|
5
|
+
className?: string;
|
|
6
|
+
options: import("@/components").RadioOption[];
|
|
7
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: string;
|
|
11
|
+
docs: {
|
|
12
|
+
description: {
|
|
13
|
+
component: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
value: {
|
|
19
|
+
control: "text";
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
defaultValue: {
|
|
23
|
+
control: "text";
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
control: "boolean";
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
options: {
|
|
31
|
+
control: false;
|
|
32
|
+
description: string;
|
|
33
|
+
table: {
|
|
34
|
+
type: {
|
|
35
|
+
summary: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
onValueChange: {
|
|
40
|
+
action: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
className: {
|
|
44
|
+
control: false;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export default meta;
|
|
50
|
+
type Story = StoryObj<typeof meta>;
|
|
51
|
+
export declare const Default: Story;
|
|
52
|
+
export declare const Disabled: Story;
|
|
53
|
+
export declare const DisabledItem: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: <C extends import("react").ElementType = "div">(props: {
|
|
5
|
+
variant?: "body1" | "body2" | "body3" | "caption1" | "caption2" | "caution" | "caution-error" | "h1" | "h2" | "h3" | "large" | "link" | "signature" | "signature-legal" | "subtitle1" | "subtitle2" | "subtitle-link";
|
|
6
|
+
children: import("react").ReactNode;
|
|
7
|
+
color?: import("react").CSSProperties["color"];
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: import("react").CSSProperties;
|
|
10
|
+
noWrap?: boolean;
|
|
11
|
+
gutterBottom?: boolean;
|
|
12
|
+
align?: "center" | "justify" | "left" | "right";
|
|
13
|
+
href?: string;
|
|
14
|
+
target?: "_blank" | "_parent" | "_self" | "_top";
|
|
15
|
+
rel?: string;
|
|
16
|
+
} & {
|
|
17
|
+
mt?: import("react").CSSProperties["marginTop"];
|
|
18
|
+
mb?: import("react").CSSProperties["marginBottom"];
|
|
19
|
+
ml?: import("react").CSSProperties["marginLeft"];
|
|
20
|
+
mr?: import("react").CSSProperties["marginRight"];
|
|
21
|
+
mx?: import("react").CSSProperties["marginLeft"];
|
|
22
|
+
my?: import("react").CSSProperties["marginTop"];
|
|
23
|
+
} & Omit<import("react").ComponentPropsWithRef<C>, "style" | "color" | "align" | "gutterBottom" | "href" | "noWrap" | "rel" | "target" | keyof {
|
|
24
|
+
mt?: import("react").CSSProperties["marginTop"];
|
|
25
|
+
mb?: import("react").CSSProperties["marginBottom"];
|
|
26
|
+
ml?: import("react").CSSProperties["marginLeft"];
|
|
27
|
+
mr?: import("react").CSSProperties["marginRight"];
|
|
28
|
+
mx?: import("react").CSSProperties["marginLeft"];
|
|
29
|
+
my?: import("react").CSSProperties["marginTop"];
|
|
30
|
+
}>) => import("react").JSX.Element;
|
|
31
|
+
parameters: {
|
|
32
|
+
docs: {
|
|
33
|
+
description: {
|
|
34
|
+
component: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
tags: string[];
|
|
39
|
+
argTypes: {
|
|
40
|
+
variant: {
|
|
41
|
+
control: "select";
|
|
42
|
+
options: string[];
|
|
43
|
+
description: string;
|
|
44
|
+
table: {
|
|
45
|
+
type: {
|
|
46
|
+
summary: string;
|
|
47
|
+
};
|
|
48
|
+
defaultValue: {
|
|
49
|
+
summary: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
color: {
|
|
54
|
+
control: {
|
|
55
|
+
type: "color";
|
|
56
|
+
};
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
align: {
|
|
60
|
+
control: "select";
|
|
61
|
+
options: string[];
|
|
62
|
+
description: string;
|
|
63
|
+
table: {
|
|
64
|
+
type: {
|
|
65
|
+
summary: string;
|
|
66
|
+
};
|
|
67
|
+
defaultValue: {
|
|
68
|
+
summary: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
noWrap: {
|
|
73
|
+
control: "boolean";
|
|
74
|
+
description: string;
|
|
75
|
+
table: {
|
|
76
|
+
type: {
|
|
77
|
+
summary: string;
|
|
78
|
+
};
|
|
79
|
+
defaultValue: {
|
|
80
|
+
summary: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
gutterBottom: {
|
|
85
|
+
control: "boolean";
|
|
86
|
+
description: string;
|
|
87
|
+
table: {
|
|
88
|
+
type: {
|
|
89
|
+
summary: string;
|
|
90
|
+
};
|
|
91
|
+
defaultValue: {
|
|
92
|
+
summary: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
mt: {
|
|
97
|
+
control: {
|
|
98
|
+
type: "number";
|
|
99
|
+
min: number;
|
|
100
|
+
max: number;
|
|
101
|
+
step: number;
|
|
102
|
+
};
|
|
103
|
+
description: string;
|
|
104
|
+
table: {
|
|
105
|
+
type: {
|
|
106
|
+
summary: string;
|
|
107
|
+
};
|
|
108
|
+
defaultValue: {
|
|
109
|
+
summary: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
mb: {
|
|
114
|
+
control: {
|
|
115
|
+
type: "number";
|
|
116
|
+
min: number;
|
|
117
|
+
max: number;
|
|
118
|
+
step: number;
|
|
119
|
+
};
|
|
120
|
+
description: string;
|
|
121
|
+
table: {
|
|
122
|
+
type: {
|
|
123
|
+
summary: string;
|
|
124
|
+
};
|
|
125
|
+
defaultValue: {
|
|
126
|
+
summary: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
ml: {
|
|
131
|
+
control: {
|
|
132
|
+
type: "number";
|
|
133
|
+
min: number;
|
|
134
|
+
max: number;
|
|
135
|
+
step: number;
|
|
136
|
+
};
|
|
137
|
+
description: string;
|
|
138
|
+
table: {
|
|
139
|
+
type: {
|
|
140
|
+
summary: string;
|
|
141
|
+
};
|
|
142
|
+
defaultValue: {
|
|
143
|
+
summary: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
mr: {
|
|
148
|
+
control: {
|
|
149
|
+
type: "number";
|
|
150
|
+
min: number;
|
|
151
|
+
max: number;
|
|
152
|
+
step: number;
|
|
153
|
+
};
|
|
154
|
+
description: string;
|
|
155
|
+
table: {
|
|
156
|
+
type: {
|
|
157
|
+
summary: string;
|
|
158
|
+
};
|
|
159
|
+
defaultValue: {
|
|
160
|
+
summary: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
mx: {
|
|
165
|
+
control: {
|
|
166
|
+
type: "number";
|
|
167
|
+
min: number;
|
|
168
|
+
max: number;
|
|
169
|
+
step: number;
|
|
170
|
+
};
|
|
171
|
+
description: string;
|
|
172
|
+
table: {
|
|
173
|
+
type: {
|
|
174
|
+
summary: string;
|
|
175
|
+
};
|
|
176
|
+
defaultValue: {
|
|
177
|
+
summary: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
my: {
|
|
182
|
+
control: {
|
|
183
|
+
type: "number";
|
|
184
|
+
min: number;
|
|
185
|
+
max: number;
|
|
186
|
+
step: number;
|
|
187
|
+
};
|
|
188
|
+
description: string;
|
|
189
|
+
table: {
|
|
190
|
+
type: {
|
|
191
|
+
summary: string;
|
|
192
|
+
};
|
|
193
|
+
defaultValue: {
|
|
194
|
+
summary: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
children: {
|
|
199
|
+
control: "text";
|
|
200
|
+
description: string;
|
|
201
|
+
table: {
|
|
202
|
+
type: {
|
|
203
|
+
summary: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
className: {
|
|
208
|
+
control: "text";
|
|
209
|
+
description: string;
|
|
210
|
+
table: {
|
|
211
|
+
type: {
|
|
212
|
+
summary: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
style: {
|
|
217
|
+
control: "object";
|
|
218
|
+
description: string;
|
|
219
|
+
table: {
|
|
220
|
+
type: {
|
|
221
|
+
summary: string;
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
args: {
|
|
227
|
+
color: "var(--color-light-100)";
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
export default meta;
|
|
231
|
+
type Story = StoryObj<typeof meta>;
|
|
232
|
+
export declare const AllTypography: Story;
|
|
233
|
+
export declare const CustomComponent: Story;
|
|
234
|
+
export declare const ColorInheritComponent: Story;
|
|
235
|
+
export declare const LargeWithColor: Story;
|
|
236
|
+
export declare const TypographyAsLink: Story;
|
|
237
|
+
export declare const NoWrapTrue: Story;
|
|
238
|
+
export declare const TypographyWithMargin: Story;
|
|
239
|
+
export declare const TypographyCautionError: Story;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const COLORS: {
|
|
2
|
+
readonly accent: {
|
|
3
|
+
readonly '--color-accent-100': "#73a5ff";
|
|
4
|
+
readonly '--color-accent-300': "#4c8dff";
|
|
5
|
+
readonly '--color-accent-500': "#397df6";
|
|
6
|
+
readonly '--color-accent-700': "#2f68cc";
|
|
7
|
+
readonly '--color-accent-900': "#234e99";
|
|
8
|
+
};
|
|
9
|
+
readonly success: {
|
|
10
|
+
readonly '--color-success-100': "#80ffbf";
|
|
11
|
+
readonly '--color-success-300': "#22e584";
|
|
12
|
+
readonly '--color-success-500': "#14cc70";
|
|
13
|
+
readonly '--color-success-700': "#0f9954";
|
|
14
|
+
readonly '--color-success-900': "#0a6638";
|
|
15
|
+
};
|
|
16
|
+
readonly danger: {
|
|
17
|
+
readonly '--color-danger-100': "#ff8099";
|
|
18
|
+
readonly '--color-danger-300': "#f23d61";
|
|
19
|
+
readonly '--color-danger-500': "#cc1439";
|
|
20
|
+
readonly '--color-danger-700': "#990f2b";
|
|
21
|
+
readonly '--color-danger-900': "#660a1d";
|
|
22
|
+
};
|
|
23
|
+
readonly warning: {
|
|
24
|
+
readonly '--color-warning-100': "#ffd073";
|
|
25
|
+
readonly '--color-warning-300': "#e5ac39";
|
|
26
|
+
readonly '--color-warning-500': "#d99000";
|
|
27
|
+
readonly '--color-warning-700': "#960";
|
|
28
|
+
readonly '--color-warning-900': "#640";
|
|
29
|
+
};
|
|
30
|
+
readonly dark: {
|
|
31
|
+
readonly '--color-dark-100': "#4c4c4c";
|
|
32
|
+
readonly '--color-dark-300': "#333";
|
|
33
|
+
readonly '--color-dark-500': "#171717";
|
|
34
|
+
readonly '--color-dark-700': "#0d0d0d";
|
|
35
|
+
readonly '--color-dark-900': "#000";
|
|
36
|
+
readonly '--color-secondary-active': "#212121";
|
|
37
|
+
};
|
|
38
|
+
readonly light: {
|
|
39
|
+
readonly '--color-light-100': "#fff";
|
|
40
|
+
readonly '--color-light-300': "#f7fbff";
|
|
41
|
+
readonly '--color-light-500': "#edf3fa";
|
|
42
|
+
readonly '--color-light-700': "#d5dae0";
|
|
43
|
+
readonly '--color-light-900': "#8d9094";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { COLORS } from '@/stories/constants';
|
|
2
|
+
export type ColorFamily = keyof typeof COLORS;
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const Colors: () => import("react").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const coloredIconMeta: {
|
|
2
|
+
argTypes: {
|
|
3
|
+
autoSize: {
|
|
4
|
+
control: {
|
|
5
|
+
type: "radio";
|
|
6
|
+
};
|
|
7
|
+
options: boolean[];
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
control: {
|
|
12
|
+
type: "range";
|
|
13
|
+
min: number;
|
|
14
|
+
max: number;
|
|
15
|
+
step: number;
|
|
16
|
+
};
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
svgProps: {
|
|
20
|
+
control: {
|
|
21
|
+
type: "object";
|
|
22
|
+
};
|
|
23
|
+
description: string;
|
|
24
|
+
table: {
|
|
25
|
+
type: {
|
|
26
|
+
summary: string;
|
|
27
|
+
};
|
|
28
|
+
defaultValue: {
|
|
29
|
+
summary: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
args: {
|
|
35
|
+
autoSize: boolean;
|
|
36
|
+
size: number;
|
|
37
|
+
};
|
|
38
|
+
};
|