@baton8/general-components 1.0.0 → 1.2.0-alpha.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/dist/components/atoms/input/input.d.ts +6 -0
- package/dist/components/atoms/numberInput/numberInput.d.ts +15 -0
- package/dist/components/atoms/root/defaultGlobalStyle.d.ts +1 -0
- package/dist/components/atoms/root/root.d.ts +2 -1
- package/dist/index.js +323 -469
- package/dist/index.js.map +1 -1
- package/dist/modules/subject.d.ts +1 -13
- package/dist/stories/atoms/numberInput/numberInput.stories.d.ts +1 -0
- package/package.json +3 -5
- package/typedoc.json +1 -1
- package/.github/workflows/chromatic.yml +0 -43
- package/.github/workflows/doc.yml +0 -53
- package/.github/workflows/review.yml +0 -18
- package/dist/components/atoms/asyncSelect/asyncSelect.stories.d.ts +0 -6
- package/dist/components/atoms/avatar/avatar.stories.d.ts +0 -7
- package/dist/components/atoms/badge/badge.stories.d.ts +0 -11
- package/dist/components/atoms/barMeter/barMeter.stories.d.ts +0 -10
- package/dist/components/atoms/barMeter/barMeterValue.stories.d.ts +0 -7
- package/dist/components/atoms/barProgress/barProgress.stories.d.ts +0 -8
- package/dist/components/atoms/button/button.stories.d.ts +0 -13
- package/dist/components/atoms/button/hotkeyView.d.ts +0 -6
- package/dist/components/atoms/buttonLink/buttonLink.d.ts +0 -83
- package/dist/components/atoms/buttonLink/buttonLink.stories.d.ts +0 -13
- package/dist/components/atoms/buttonLink/buttonLinkIconContainer.d.ts +0 -16
- package/dist/components/atoms/buttonLink/index.d.ts +0 -2
- package/dist/components/atoms/checkableContainer/checkableContainer.stories.d.ts +0 -9
- package/dist/components/atoms/checkableContainer/checkableLabel.stories.d.ts +0 -7
- package/dist/components/atoms/checkbox/checkbox.stories.d.ts +0 -15
- package/dist/components/atoms/controlContainer/controlContainer.stories.d.ts +0 -13
- package/dist/components/atoms/controlContainer/controlErrorMessage.stories.d.ts +0 -7
- package/dist/components/atoms/controlContainer/controlHelper.stories.d.ts +0 -7
- package/dist/components/atoms/controlContainer/controlLabel.stories.d.ts +0 -7
- package/dist/components/atoms/divider/divider.stories.d.ts +0 -8
- package/dist/components/atoms/fileInput/fileInput.stories.d.ts +0 -10
- package/dist/components/atoms/generalIcon/generalIcon.stories.d.ts +0 -7
- package/dist/components/atoms/heading/heading.stories.d.ts +0 -7
- package/dist/components/atoms/icon/icon.stories.d.ts +0 -7
- package/dist/components/atoms/icon/iconDefinitions.d.ts +0 -8
- package/dist/components/atoms/iconButton/iconButton.stories.d.ts +0 -11
- package/dist/components/atoms/input/input.stories.d.ts +0 -20
- package/dist/components/atoms/link/link.stories.d.ts +0 -8
- package/dist/components/atoms/loadingIcon/loadingIcon.stories.d.ts +0 -7
- package/dist/components/atoms/modal/modal.stories.d.ts +0 -7
- package/dist/components/atoms/multiLineText/multiLineText.stories.d.ts +0 -9
- package/dist/components/atoms/numberInput/numberInput.stories.d.ts +0 -10
- package/dist/components/atoms/passwordInput/passwordInput.stories.d.ts +0 -13
- package/dist/components/atoms/radio/radio.stories.d.ts +0 -13
- package/dist/components/atoms/radioGroup/radioGroup.stories.d.ts +0 -8
- package/dist/components/atoms/root/root.stories.d.ts +0 -7
- package/dist/components/atoms/root/scrollGlobalStyle.d.ts +0 -1
- package/dist/components/atoms/scroll/index.d.ts +0 -1
- package/dist/components/atoms/scroll/scroll.d.ts +0 -31
- package/dist/components/atoms/scroll/scroll.stories.d.ts +0 -8
- package/dist/components/atoms/secondaryHeading/secondaryHeading.stories.d.ts +0 -7
- package/dist/components/atoms/select/pageSizeSelect.stories.d.ts +0 -7
- package/dist/components/atoms/select/select.stories.d.ts +0 -13
- package/dist/components/atoms/select/selectOption.stories.d.ts +0 -7
- package/dist/components/atoms/select/sortOrderSelect.stories.d.ts +0 -8
- package/dist/components/atoms/singleLineText/singleLineText.stories.d.ts +0 -8
- package/dist/components/atoms/switch/switch.stories.d.ts +0 -13
- package/dist/components/atoms/tag/tag.stories.d.ts +0 -8
- package/dist/components/atoms/tagList/tagList.stories.d.ts +0 -8
- package/dist/components/atoms/textButton/index.d.ts +0 -2
- package/dist/components/atoms/textButton/textButton.d.ts +0 -43
- package/dist/components/atoms/textButton/textButton.stories.d.ts +0 -8
- package/dist/components/atoms/textButton/textButtonIconContainer.d.ts +0 -16
- package/dist/components/atoms/textarea/textarea.stories.d.ts +0 -11
- package/dist/components/atoms/visuallyHidden/visuallyHidden.stories.d.ts +0 -7
- package/dist/components/modules/bulkOperationContainer/bulkOperationButton.stories.d.ts +0 -8
- package/dist/components/modules/card/card.stories.d.ts +0 -17
- package/dist/components/modules/card/cardBody.stories.d.ts +0 -7
- package/dist/components/modules/card/cardButton.stories.d.ts +0 -7
- package/dist/components/modules/card/cardButtonList.stories.d.ts +0 -7
- package/dist/components/modules/card/cardControlContainer.stories.d.ts +0 -7
- package/dist/components/modules/card/cardHeadnote.stories.d.ts +0 -7
- package/dist/components/modules/card/cardTitle.stories.d.ts +0 -7
- package/dist/components/modules/cardList/cardList.stories.d.ts +0 -7
- package/dist/components/modules/cardList/cardListAuto.stories.d.ts +0 -5
- package/dist/components/modules/cardList/cardListBody.stories.d.ts +0 -7
- package/dist/components/modules/cardList/cardListEmpty.stories.d.ts +0 -7
- package/dist/components/modules/cardList/cardListFooter.stories.d.ts +0 -7
- package/dist/components/modules/cardList/cardListHeader.stories.d.ts +0 -7
- package/dist/components/modules/cardList/cardListHeaderLeft.stories.d.ts +0 -7
- package/dist/components/modules/cardList/cardListHeaderRight.stories.d.ts +0 -7
- package/dist/components/modules/cardList/cardListLoading.stories.d.ts +0 -7
- package/dist/components/modules/contentHeader/contentHeader.stories.d.ts +0 -8
- package/dist/components/modules/countIndicator/countIndicator.stories.d.ts +0 -14
- package/dist/components/modules/dialog/dialog.stories.d.ts +0 -16
- package/dist/components/modules/dialog/dialogBody.stories.d.ts +0 -7
- package/dist/components/modules/dialog/dialogButton.stories.d.ts +0 -8
- package/dist/components/modules/dialog/dialogCloseButton.stories.d.ts +0 -7
- package/dist/components/modules/dialog/dialogFooter.stories.d.ts +0 -7
- package/dist/components/modules/dialog/dialogHeader.stories.d.ts +0 -7
- package/dist/components/modules/dialog/dialogTitle.stories.d.ts +0 -7
- package/dist/components/modules/drawer/drawer.stories.d.ts +0 -13
- package/dist/components/modules/drawer/drawerBody.stories.d.ts +0 -7
- package/dist/components/modules/drawer/drawerButton.stories.d.ts +0 -7
- package/dist/components/modules/drawer/drawerCaption.stories.d.ts +0 -7
- package/dist/components/modules/drawer/drawerFooter.stories.d.ts +0 -7
- package/dist/components/modules/drawer/drawerHeader.stories.d.ts +0 -7
- package/dist/components/modules/drawer/drawerTitle.stories.d.ts +0 -7
- package/dist/components/modules/footnote/footnote.stories.d.ts +0 -9
- package/dist/components/modules/footnoteList/footnoteList.stories.d.ts +0 -9
- package/dist/components/modules/footnoteList/footnoteListRow.stories.d.ts +0 -7
- package/dist/components/modules/fractionView/fractionView.stories.d.ts +0 -8
- package/dist/components/modules/header/header.stories.d.ts +0 -7
- package/dist/components/modules/menu/menu.stories.d.ts +0 -9
- package/dist/components/modules/menu/menuItem.stories.d.ts +0 -7
- package/dist/components/modules/pagination/pagination.stories.d.ts +0 -7
- package/dist/components/modules/rankView/rankView.stories.d.ts +0 -13
- package/dist/components/modules/stepper/stepper.stories.d.ts +0 -8
- package/dist/components/modules/tabList/tabList.stories.d.ts +0 -7
- package/dist/components/modules/toast/simpleToast.stories.d.ts +0 -9
- package/dist/components/modules/toast/toast.stories.d.ts +0 -10
- package/dist/components/tests/samples/dialog.stories.d.ts +0 -7
- package/dist/components/tests/samples/forms.stories.d.ts +0 -6
- package/dist/components/tests/samples/playableDeckList.stories.d.ts +0 -6
- package/dist/components/tests/samples/quizList.stories.d.ts +0 -6
- package/dist/modules/genre.d.ts +0 -3
- package/dist/stories/atoms/buttonLink/buttonLink.stories.d.ts +0 -13
- package/dist/stories/atoms/scroll/scroll.stories.d.ts +0 -8
- package/dist/stories/atoms/textButton/textButton.stories.d.ts +0 -8
- package/dist/utils/debug.d.ts +0 -1
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Root } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Root>;
|
|
4
|
-
type Story = RawStory<typeof Root>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const scrollGlobalStyle: import("@emotion/utils").SerializedStyles;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./scroll";
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import SimpleBarCore from "simplebar-core";
|
|
3
|
-
/**
|
|
4
|
-
* ### スクロールエリア
|
|
5
|
-
*
|
|
6
|
-
* #### 概要
|
|
7
|
-
* ブラウザネイティブのスクロールバーを DOM によるものに置き換えたスクロールエリアです。
|
|
8
|
-
* これを利用することで、スクロールバーのデザインを統一することができます。
|
|
9
|
-
* また、スクロールバーは中身にオーバーラップする形で描画されるので、スクロールバーのせいで中身がその分狭くなるのを防ぐことができます。
|
|
10
|
-
* ページの中にスクロールできる部分を作りたい場合は、これを使うのを推奨します。
|
|
11
|
-
*
|
|
12
|
-
* 内部で [SimpleBar](http://grsmto.github.io/simplebar/) を利用しています。
|
|
13
|
-
* @group React コンポーネント
|
|
14
|
-
* @category React コンポーネント
|
|
15
|
-
*/
|
|
16
|
-
export declare const Scroll: import("react").ForwardRefExoticComponent<import("../../../modules/data").DataProps<string> & {
|
|
17
|
-
className?: string | undefined;
|
|
18
|
-
id?: string | undefined;
|
|
19
|
-
style?: import("react").CSSProperties | undefined;
|
|
20
|
-
} & {
|
|
21
|
-
/**
|
|
22
|
-
* スクロールエリアの周りに小さなスペースを確保するかどうか。
|
|
23
|
-
* これを `"none"` 以外にすると、小さなスペースを作ることでスクロールエリア内の UI の端が切れてしまうのを防げます。
|
|
24
|
-
* @defaultvalue `"none"`
|
|
25
|
-
*/
|
|
26
|
-
margin?: "none" | "horizontal" | "vertical" | "both" | undefined;
|
|
27
|
-
/** */
|
|
28
|
-
className?: string | undefined;
|
|
29
|
-
/** */
|
|
30
|
-
children?: ReactNode;
|
|
31
|
-
} & import("react").RefAttributes<SimpleBarCore>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Scroll } from "../../../components/atoms/scroll";
|
|
3
|
-
type Meta = RawMeta<typeof Scroll>;
|
|
4
|
-
type Story = RawStory<typeof Scroll>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const InsertMargin: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { SecondaryHeading } from "../../../components/atoms/secondaryHeading/secondaryHeading";
|
|
3
|
-
type Meta = RawMeta<typeof SecondaryHeading>;
|
|
4
|
-
type Story = RawStory<typeof SecondaryHeading>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { PageSizeSelect } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof PageSizeSelect>;
|
|
4
|
-
type Story = RawStory<typeof PageSizeSelect>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Select } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Select>;
|
|
4
|
-
type Story = RawStory<typeof Select>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const WithManyOptions: Story;
|
|
8
|
-
export declare const Clearable: Story;
|
|
9
|
-
export declare const NarrowLeft: Story;
|
|
10
|
-
export declare const NarrowRight: Story;
|
|
11
|
-
export declare const Error: Story;
|
|
12
|
-
export declare const Minimal: Story;
|
|
13
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { SelectOption } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof SelectOption>;
|
|
4
|
-
type Story = RawStory<typeof SelectOption>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { SortOrderSelect } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof SortOrderSelect>;
|
|
4
|
-
type Story = RawStory<typeof SortOrderSelect>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Number: Story;
|
|
7
|
-
export declare const Alphabet: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { SingleLineText } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof SingleLineText>;
|
|
4
|
-
type Story = RawStory<typeof SingleLineText>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const VariousTest: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Switch } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Switch>;
|
|
4
|
-
type Story = RawStory<typeof Switch>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Unchecked: Story;
|
|
7
|
-
export declare const Checked: Story;
|
|
8
|
-
export declare const ErrorUnchecked: Story;
|
|
9
|
-
export declare const ErrorChecked: Story;
|
|
10
|
-
export declare const TestUncontrolled: Story;
|
|
11
|
-
export declare const TestControlled: Story;
|
|
12
|
-
export declare const TestHook: Story;
|
|
13
|
-
export default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Tag } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Tag>;
|
|
4
|
-
type Story = RawStory<typeof Tag>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const WithIcon: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { TagList } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof TagList>;
|
|
4
|
-
type Story = RawStory<typeof TagList>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const WithMoreTag: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ExtendedKeyboardEvent } from "mousetrap";
|
|
2
|
-
import { AriaAttributes, KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
3
|
-
/**
|
|
4
|
-
* ### テキストボタン
|
|
5
|
-
* @group React コンポーネント
|
|
6
|
-
* @category React コンポーネント
|
|
7
|
-
*/
|
|
8
|
-
export declare const TextButton: import("react").ForwardRefExoticComponent<import("../../../modules/data").DataProps<string> & {
|
|
9
|
-
className?: string | undefined;
|
|
10
|
-
id?: string | undefined;
|
|
11
|
-
style?: import("react").CSSProperties | undefined;
|
|
12
|
-
} & AriaAttributes & {
|
|
13
|
-
/**
|
|
14
|
-
* カラースキーム。
|
|
15
|
-
* `null` を指定した場合は、文字色の設定が行われないので、外側の文字色を継承させることができます。
|
|
16
|
-
* @defaultValue `"primary"`
|
|
17
|
-
*/
|
|
18
|
-
colorScheme?: "primary" | "secondary" | "blue" | "red" | "green" | "pink" | "yellow" | "purple" | "orange" | "gray" | "gold" | "silver" | "bronze" | null | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* ボタンの種類。
|
|
21
|
-
* HTML と違ってデフォルト値が `"button"` になっているので、フォームの送信ボタンとして使う場合は明示的に `"submit"` を指定してください。
|
|
22
|
-
* @defaultValue `"button"`
|
|
23
|
-
*/
|
|
24
|
-
type?: "button" | "reset" | "submit" | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* クリックされたりショートカットキーが押されたりしたときに実行する関数。
|
|
27
|
-
*/
|
|
28
|
-
onClick?: ((event: MouseEvent<HTMLButtonElement> | ExtendedKeyboardEvent) => unknown) | undefined;
|
|
29
|
-
/** */
|
|
30
|
-
onKeyDown?: ((event: KeyboardEvent<HTMLButtonElement>) => unknown) | undefined;
|
|
31
|
-
/** */
|
|
32
|
-
onKeyUp?: ((event: KeyboardEvent<HTMLButtonElement>) => unknown) | undefined;
|
|
33
|
-
/** */
|
|
34
|
-
onMouseDown?: ((event: MouseEvent<HTMLButtonElement>) => unknown) | undefined;
|
|
35
|
-
/** */
|
|
36
|
-
onPointerDown?: ((event: MouseEvent<HTMLButtonElement>) => unknown) | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* 内部に表示する内容。
|
|
39
|
-
*/
|
|
40
|
-
children?: ReactNode;
|
|
41
|
-
/** */
|
|
42
|
-
className?: string | undefined;
|
|
43
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { TextButton } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof TextButton>;
|
|
4
|
-
type Story = RawStory<typeof TextButton>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const WithIcon: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* ### テキストボタン内のアイコン
|
|
4
|
-
* @group React コンポーネント
|
|
5
|
-
* @category React コンポーネント
|
|
6
|
-
*/
|
|
7
|
-
export declare const TextButtonIconContainer: import("react").ForwardRefExoticComponent<import("../../../modules/data").DataProps<string> & {
|
|
8
|
-
className?: string | undefined; /** */
|
|
9
|
-
id?: string | undefined;
|
|
10
|
-
style?: import("react").CSSProperties | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
/** */
|
|
13
|
-
children?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
14
|
-
/** */
|
|
15
|
-
className?: string | undefined;
|
|
16
|
-
} & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Textarea } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Textarea>;
|
|
4
|
-
type Story = RawStory<typeof Textarea>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const Error: Story;
|
|
8
|
-
export declare const TestUncontrolled: Story;
|
|
9
|
-
export declare const TestControlled: Story;
|
|
10
|
-
export declare const TestHook: Story;
|
|
11
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { VisuallyHidden } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof VisuallyHidden>;
|
|
4
|
-
type Story = RawStory<typeof VisuallyHidden>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Test: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { BulkOperationButton } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof BulkOperationButton>;
|
|
4
|
-
type Story = RawStory<typeof BulkOperationButton>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const LargeNumber: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Card } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Card>;
|
|
4
|
-
type Story = RawStory<typeof Card>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const WithMoreInfo: Story;
|
|
8
|
-
export declare const WithButton: Story;
|
|
9
|
-
export declare const WithSecondaryButton: Story;
|
|
10
|
-
export declare const WithBothButtons: Story;
|
|
11
|
-
export declare const WithCheckbox: Story;
|
|
12
|
-
export declare const WithRadio: Story;
|
|
13
|
-
export declare const WithHeadnote: Story;
|
|
14
|
-
export declare const WithAll: Story;
|
|
15
|
-
export declare const LongText: Story;
|
|
16
|
-
export declare const TestLabel: Story;
|
|
17
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardBody } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardBody>;
|
|
4
|
-
type Story = RawStory<typeof CardBody>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardButton } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardButton>;
|
|
4
|
-
type Story = RawStory<typeof CardButton>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardButtonList } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardButtonList>;
|
|
4
|
-
type Story = RawStory<typeof CardButtonList>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardControlContainer } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardControlContainer>;
|
|
4
|
-
type Story = RawStory<typeof CardControlContainer>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardHeadnote } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardHeadnote>;
|
|
4
|
-
type Story = RawStory<typeof CardHeadnote>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardTitle } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardTitle>;
|
|
4
|
-
type Story = RawStory<typeof CardTitle>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardList } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardList>;
|
|
4
|
-
type Story = RawStory<typeof CardList>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardListBody } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardListBody>;
|
|
4
|
-
type Story = RawStory<typeof CardListBody>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardListEmpty } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardListEmpty>;
|
|
4
|
-
type Story = RawStory<typeof CardListEmpty>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardListFooter } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardListFooter>;
|
|
4
|
-
type Story = RawStory<typeof CardListFooter>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardListHeader } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardListHeader>;
|
|
4
|
-
type Story = RawStory<typeof CardListHeader>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardListHeaderLeft } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardListHeaderLeft>;
|
|
4
|
-
type Story = RawStory<typeof CardListHeaderLeft>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardListHeaderRight } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardListHeaderRight>;
|
|
4
|
-
type Story = RawStory<typeof CardListHeaderRight>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CardListLoading } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CardListLoading>;
|
|
4
|
-
type Story = RawStory<typeof CardListLoading>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { ContentHeader } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof ContentHeader>;
|
|
4
|
-
type Story = RawStory<typeof ContentHeader>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const WithHeader: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { CountIndicator } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof CountIndicator>;
|
|
4
|
-
type Story = RawStory<typeof CountIndicator>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const TwoInThree: Story;
|
|
7
|
-
export declare const ThreeInThree: Story;
|
|
8
|
-
export declare const MaxInThree: Story;
|
|
9
|
-
export declare const LoadingInThree: Story;
|
|
10
|
-
export declare const TwoInTwo: Story;
|
|
11
|
-
export declare const ThreeInTwo: Story;
|
|
12
|
-
export declare const MaxInTwo: Story;
|
|
13
|
-
export declare const LoadingInTwoe: Story;
|
|
14
|
-
export default meta;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Dialog } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Dialog>;
|
|
4
|
-
type Story = RawStory<typeof Dialog>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Normal: Story;
|
|
7
|
-
export declare const Small: Story;
|
|
8
|
-
export declare const WithFooter: Story;
|
|
9
|
-
export declare const WithHeaderAndFooter: Story;
|
|
10
|
-
export declare const LongContent: Story;
|
|
11
|
-
export declare const TestUncontrolled: Story;
|
|
12
|
-
export declare const TestControlled: Story;
|
|
13
|
-
export declare const TestNesting: Story;
|
|
14
|
-
export declare const TestSelect: Story;
|
|
15
|
-
export declare const TestHook: Story;
|
|
16
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DialogBody } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DialogBody>;
|
|
4
|
-
type Story = RawStory<typeof DialogBody>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DialogButton } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DialogButton>;
|
|
4
|
-
type Story = RawStory<typeof DialogButton>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Submit: Story;
|
|
7
|
-
export declare const Cancel: Story;
|
|
8
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DialogCloseButton } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DialogCloseButton>;
|
|
4
|
-
type Story = RawStory<typeof DialogCloseButton>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DialogFooter } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DialogFooter>;
|
|
4
|
-
type Story = RawStory<typeof DialogFooter>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DialogHeader } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DialogHeader>;
|
|
4
|
-
type Story = RawStory<typeof DialogHeader>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DialogTitle } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DialogTitle>;
|
|
4
|
-
type Story = RawStory<typeof DialogTitle>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Drawer } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Drawer>;
|
|
4
|
-
type Story = RawStory<typeof Drawer>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const WithFooter: Story;
|
|
8
|
-
export declare const WithHeaderAndFooter: Story;
|
|
9
|
-
export declare const Scroll: Story;
|
|
10
|
-
export declare const Test: Story;
|
|
11
|
-
export declare const TestNesting: Story;
|
|
12
|
-
export declare const TestSelect: Story;
|
|
13
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DrawerBody } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DrawerBody>;
|
|
4
|
-
type Story = RawStory<typeof DrawerBody>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DrawerButton } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DrawerButton>;
|
|
4
|
-
type Story = RawStory<typeof DrawerButton>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DrawerCaption } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DrawerCaption>;
|
|
4
|
-
type Story = RawStory<typeof DrawerCaption>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DrawerFooter } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DrawerFooter>;
|
|
4
|
-
type Story = RawStory<typeof DrawerFooter>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DrawerHeader } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DrawerHeader>;
|
|
4
|
-
type Story = RawStory<typeof DrawerHeader>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { DrawerTitle } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof DrawerTitle>;
|
|
4
|
-
type Story = RawStory<typeof DrawerTitle>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { Footnote } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof Footnote>;
|
|
4
|
-
type Story = RawStory<typeof Footnote>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const LongText: Story;
|
|
8
|
-
export declare const Medium: Story;
|
|
9
|
-
export default meta;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { FootnoteList } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof FootnoteList>;
|
|
4
|
-
type Story = RawStory<typeof FootnoteList>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const LongText: Story;
|
|
8
|
-
export declare const Medium: Story;
|
|
9
|
-
export default meta;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { FootnoteListRow } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof FootnoteListRow>;
|
|
4
|
-
type Story = RawStory<typeof FootnoteListRow>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export default meta;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
|
|
2
|
-
import { FractionView } from "../../../components";
|
|
3
|
-
type Meta = RawMeta<typeof FractionView>;
|
|
4
|
-
type Story = RawStory<typeof FractionView>;
|
|
5
|
-
declare const meta: Meta;
|
|
6
|
-
export declare const Horizontal: Story;
|
|
7
|
-
export declare const Vertical: Story;
|
|
8
|
-
export default meta;
|