@kaio-xyz/design-system 1.0.37 → 1.0.39
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/dist/asset/icons/index.d.ts +2 -0
- package/dist/components/atoms/clipboard/clipboard.d.ts +7 -0
- package/dist/components/atoms/clipboard/clipboard.stories.d.ts +11 -0
- package/dist/components/atoms/clipboard/index.d.ts +1 -0
- package/dist/components/atoms/spinned-icon/index.d.ts +1 -0
- package/dist/components/atoms/spinned-icon/spinned-icon.d.ts +8 -0
- package/dist/components/atoms/spinned-icon/spinned-icon.stories.d.ts +37 -0
- package/dist/components/atoms/stepper/index.d.ts +2 -0
- package/dist/components/atoms/stepper/step/index.d.ts +1 -0
- package/dist/components/atoms/stepper/step/step.d.ts +8 -0
- package/dist/components/atoms/stepper/stepper.d.ts +6 -0
- package/dist/components/atoms/stepper/stepper.stories.d.ts +12 -0
- package/dist/index.cjs.js +156 -72
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +154 -73
- package/dist/index.esm.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -9,3 +9,5 @@ export { default as EyeClosedIcon } from "./eye-closed.svg";
|
|
|
9
9
|
export { default as EyeOpenIcon } from "./eye-open.svg";
|
|
10
10
|
export { default as ChevronGrabberIcon } from "./chevron-grabber.svg";
|
|
11
11
|
export { default as MinusIcon } from "./minus.svg";
|
|
12
|
+
export { default as ClipBoardIcon } from "./clipboard.svg";
|
|
13
|
+
export { default as LoadingCircleIcon } from "./loading-circle.svg";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Clipboard } from "./clipboard";
|
|
3
|
+
declare const meta: Meta<typeof Clipboard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Trimmed: Story;
|
|
8
|
+
export declare const TrimmedCustomLength: Story;
|
|
9
|
+
export declare const ShortValue: Story;
|
|
10
|
+
export declare const LongText: Story;
|
|
11
|
+
export declare const LongUntrimmed: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Clipboard } from "./clipboard";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SpinnedIcon } from "./spinned-icon";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type SpinnedIconProps = {
|
|
2
|
+
icon?: SvgIcon;
|
|
3
|
+
size?: number;
|
|
4
|
+
duration?: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const SpinnedIcon: ({ size, duration, className, icon: Icon, ...rest }: SpinnedIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ size, duration, className, icon: Icon, ...rest }: {
|
|
5
|
+
icon?: SvgIcon;
|
|
6
|
+
size?: number;
|
|
7
|
+
duration?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
tags: string[];
|
|
11
|
+
argTypes: {
|
|
12
|
+
size: {
|
|
13
|
+
description: string;
|
|
14
|
+
control: {
|
|
15
|
+
type: "number";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
duration: {
|
|
19
|
+
description: string;
|
|
20
|
+
control: {
|
|
21
|
+
type: "number";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
className: {
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default meta;
|
|
30
|
+
type Story = StoryObj<typeof meta>;
|
|
31
|
+
export declare const Default: Story;
|
|
32
|
+
export declare const LoadingCircle: Story;
|
|
33
|
+
export declare const Small: Story;
|
|
34
|
+
export declare const Medium: Story;
|
|
35
|
+
export declare const Large: Story;
|
|
36
|
+
export declare const Slow: Story;
|
|
37
|
+
export declare const Fast: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Step } from "./step";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Stepper } from './stepper';
|
|
3
|
+
declare const meta: Meta<typeof Stepper>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Stepper>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const FirstStep: Story;
|
|
8
|
+
export declare const SecondStep: Story;
|
|
9
|
+
export declare const ThirdStep: Story;
|
|
10
|
+
export declare const AllCompleted: Story;
|
|
11
|
+
export declare const TwoSteps: Story;
|
|
12
|
+
export declare const ManySteps: Story;
|