@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.
Files changed (123) hide show
  1. package/dist/components/atoms/input/input.d.ts +6 -0
  2. package/dist/components/atoms/numberInput/numberInput.d.ts +15 -0
  3. package/dist/components/atoms/root/defaultGlobalStyle.d.ts +1 -0
  4. package/dist/components/atoms/root/root.d.ts +2 -1
  5. package/dist/index.js +323 -469
  6. package/dist/index.js.map +1 -1
  7. package/dist/modules/subject.d.ts +1 -13
  8. package/dist/stories/atoms/numberInput/numberInput.stories.d.ts +1 -0
  9. package/package.json +3 -5
  10. package/typedoc.json +1 -1
  11. package/.github/workflows/chromatic.yml +0 -43
  12. package/.github/workflows/doc.yml +0 -53
  13. package/.github/workflows/review.yml +0 -18
  14. package/dist/components/atoms/asyncSelect/asyncSelect.stories.d.ts +0 -6
  15. package/dist/components/atoms/avatar/avatar.stories.d.ts +0 -7
  16. package/dist/components/atoms/badge/badge.stories.d.ts +0 -11
  17. package/dist/components/atoms/barMeter/barMeter.stories.d.ts +0 -10
  18. package/dist/components/atoms/barMeter/barMeterValue.stories.d.ts +0 -7
  19. package/dist/components/atoms/barProgress/barProgress.stories.d.ts +0 -8
  20. package/dist/components/atoms/button/button.stories.d.ts +0 -13
  21. package/dist/components/atoms/button/hotkeyView.d.ts +0 -6
  22. package/dist/components/atoms/buttonLink/buttonLink.d.ts +0 -83
  23. package/dist/components/atoms/buttonLink/buttonLink.stories.d.ts +0 -13
  24. package/dist/components/atoms/buttonLink/buttonLinkIconContainer.d.ts +0 -16
  25. package/dist/components/atoms/buttonLink/index.d.ts +0 -2
  26. package/dist/components/atoms/checkableContainer/checkableContainer.stories.d.ts +0 -9
  27. package/dist/components/atoms/checkableContainer/checkableLabel.stories.d.ts +0 -7
  28. package/dist/components/atoms/checkbox/checkbox.stories.d.ts +0 -15
  29. package/dist/components/atoms/controlContainer/controlContainer.stories.d.ts +0 -13
  30. package/dist/components/atoms/controlContainer/controlErrorMessage.stories.d.ts +0 -7
  31. package/dist/components/atoms/controlContainer/controlHelper.stories.d.ts +0 -7
  32. package/dist/components/atoms/controlContainer/controlLabel.stories.d.ts +0 -7
  33. package/dist/components/atoms/divider/divider.stories.d.ts +0 -8
  34. package/dist/components/atoms/fileInput/fileInput.stories.d.ts +0 -10
  35. package/dist/components/atoms/generalIcon/generalIcon.stories.d.ts +0 -7
  36. package/dist/components/atoms/heading/heading.stories.d.ts +0 -7
  37. package/dist/components/atoms/icon/icon.stories.d.ts +0 -7
  38. package/dist/components/atoms/icon/iconDefinitions.d.ts +0 -8
  39. package/dist/components/atoms/iconButton/iconButton.stories.d.ts +0 -11
  40. package/dist/components/atoms/input/input.stories.d.ts +0 -20
  41. package/dist/components/atoms/link/link.stories.d.ts +0 -8
  42. package/dist/components/atoms/loadingIcon/loadingIcon.stories.d.ts +0 -7
  43. package/dist/components/atoms/modal/modal.stories.d.ts +0 -7
  44. package/dist/components/atoms/multiLineText/multiLineText.stories.d.ts +0 -9
  45. package/dist/components/atoms/numberInput/numberInput.stories.d.ts +0 -10
  46. package/dist/components/atoms/passwordInput/passwordInput.stories.d.ts +0 -13
  47. package/dist/components/atoms/radio/radio.stories.d.ts +0 -13
  48. package/dist/components/atoms/radioGroup/radioGroup.stories.d.ts +0 -8
  49. package/dist/components/atoms/root/root.stories.d.ts +0 -7
  50. package/dist/components/atoms/root/scrollGlobalStyle.d.ts +0 -1
  51. package/dist/components/atoms/scroll/index.d.ts +0 -1
  52. package/dist/components/atoms/scroll/scroll.d.ts +0 -31
  53. package/dist/components/atoms/scroll/scroll.stories.d.ts +0 -8
  54. package/dist/components/atoms/secondaryHeading/secondaryHeading.stories.d.ts +0 -7
  55. package/dist/components/atoms/select/pageSizeSelect.stories.d.ts +0 -7
  56. package/dist/components/atoms/select/select.stories.d.ts +0 -13
  57. package/dist/components/atoms/select/selectOption.stories.d.ts +0 -7
  58. package/dist/components/atoms/select/sortOrderSelect.stories.d.ts +0 -8
  59. package/dist/components/atoms/singleLineText/singleLineText.stories.d.ts +0 -8
  60. package/dist/components/atoms/switch/switch.stories.d.ts +0 -13
  61. package/dist/components/atoms/tag/tag.stories.d.ts +0 -8
  62. package/dist/components/atoms/tagList/tagList.stories.d.ts +0 -8
  63. package/dist/components/atoms/textButton/index.d.ts +0 -2
  64. package/dist/components/atoms/textButton/textButton.d.ts +0 -43
  65. package/dist/components/atoms/textButton/textButton.stories.d.ts +0 -8
  66. package/dist/components/atoms/textButton/textButtonIconContainer.d.ts +0 -16
  67. package/dist/components/atoms/textarea/textarea.stories.d.ts +0 -11
  68. package/dist/components/atoms/visuallyHidden/visuallyHidden.stories.d.ts +0 -7
  69. package/dist/components/modules/bulkOperationContainer/bulkOperationButton.stories.d.ts +0 -8
  70. package/dist/components/modules/card/card.stories.d.ts +0 -17
  71. package/dist/components/modules/card/cardBody.stories.d.ts +0 -7
  72. package/dist/components/modules/card/cardButton.stories.d.ts +0 -7
  73. package/dist/components/modules/card/cardButtonList.stories.d.ts +0 -7
  74. package/dist/components/modules/card/cardControlContainer.stories.d.ts +0 -7
  75. package/dist/components/modules/card/cardHeadnote.stories.d.ts +0 -7
  76. package/dist/components/modules/card/cardTitle.stories.d.ts +0 -7
  77. package/dist/components/modules/cardList/cardList.stories.d.ts +0 -7
  78. package/dist/components/modules/cardList/cardListAuto.stories.d.ts +0 -5
  79. package/dist/components/modules/cardList/cardListBody.stories.d.ts +0 -7
  80. package/dist/components/modules/cardList/cardListEmpty.stories.d.ts +0 -7
  81. package/dist/components/modules/cardList/cardListFooter.stories.d.ts +0 -7
  82. package/dist/components/modules/cardList/cardListHeader.stories.d.ts +0 -7
  83. package/dist/components/modules/cardList/cardListHeaderLeft.stories.d.ts +0 -7
  84. package/dist/components/modules/cardList/cardListHeaderRight.stories.d.ts +0 -7
  85. package/dist/components/modules/cardList/cardListLoading.stories.d.ts +0 -7
  86. package/dist/components/modules/contentHeader/contentHeader.stories.d.ts +0 -8
  87. package/dist/components/modules/countIndicator/countIndicator.stories.d.ts +0 -14
  88. package/dist/components/modules/dialog/dialog.stories.d.ts +0 -16
  89. package/dist/components/modules/dialog/dialogBody.stories.d.ts +0 -7
  90. package/dist/components/modules/dialog/dialogButton.stories.d.ts +0 -8
  91. package/dist/components/modules/dialog/dialogCloseButton.stories.d.ts +0 -7
  92. package/dist/components/modules/dialog/dialogFooter.stories.d.ts +0 -7
  93. package/dist/components/modules/dialog/dialogHeader.stories.d.ts +0 -7
  94. package/dist/components/modules/dialog/dialogTitle.stories.d.ts +0 -7
  95. package/dist/components/modules/drawer/drawer.stories.d.ts +0 -13
  96. package/dist/components/modules/drawer/drawerBody.stories.d.ts +0 -7
  97. package/dist/components/modules/drawer/drawerButton.stories.d.ts +0 -7
  98. package/dist/components/modules/drawer/drawerCaption.stories.d.ts +0 -7
  99. package/dist/components/modules/drawer/drawerFooter.stories.d.ts +0 -7
  100. package/dist/components/modules/drawer/drawerHeader.stories.d.ts +0 -7
  101. package/dist/components/modules/drawer/drawerTitle.stories.d.ts +0 -7
  102. package/dist/components/modules/footnote/footnote.stories.d.ts +0 -9
  103. package/dist/components/modules/footnoteList/footnoteList.stories.d.ts +0 -9
  104. package/dist/components/modules/footnoteList/footnoteListRow.stories.d.ts +0 -7
  105. package/dist/components/modules/fractionView/fractionView.stories.d.ts +0 -8
  106. package/dist/components/modules/header/header.stories.d.ts +0 -7
  107. package/dist/components/modules/menu/menu.stories.d.ts +0 -9
  108. package/dist/components/modules/menu/menuItem.stories.d.ts +0 -7
  109. package/dist/components/modules/pagination/pagination.stories.d.ts +0 -7
  110. package/dist/components/modules/rankView/rankView.stories.d.ts +0 -13
  111. package/dist/components/modules/stepper/stepper.stories.d.ts +0 -8
  112. package/dist/components/modules/tabList/tabList.stories.d.ts +0 -7
  113. package/dist/components/modules/toast/simpleToast.stories.d.ts +0 -9
  114. package/dist/components/modules/toast/toast.stories.d.ts +0 -10
  115. package/dist/components/tests/samples/dialog.stories.d.ts +0 -7
  116. package/dist/components/tests/samples/forms.stories.d.ts +0 -6
  117. package/dist/components/tests/samples/playableDeckList.stories.d.ts +0 -6
  118. package/dist/components/tests/samples/quizList.stories.d.ts +0 -6
  119. package/dist/modules/genre.d.ts +0 -3
  120. package/dist/stories/atoms/buttonLink/buttonLink.stories.d.ts +0 -13
  121. package/dist/stories/atoms/scroll/scroll.stories.d.ts +0 -8
  122. package/dist/stories/atoms/textButton/textButton.stories.d.ts +0 -8
  123. package/dist/utils/debug.d.ts +0 -1
@@ -1,16 +1,4 @@
1
- import { BehaviorSubject, Subject } from "rxjs";
2
- /**
3
- * 格納されているデータの一部分だけを更新することができる `BehaviorSubject` です。
4
- */
5
- export declare class UpdatableSubject<T extends {}> extends BehaviorSubject<T> {
6
- /**
7
- * 引数の `dispatch` に渡されたものに応じて、以下のような動作をします。
8
- * - オブジェクト — 現在の値の各プロパティを `dispatch` のプロパティの値で上書きしたものを次の値とする
9
- * - 関数 — 現在の値を `dispatch` に渡して実行した結果を次の値とする
10
- * @param dispatch 上書きするデータ
11
- */
12
- update(dispatch: Partial<T> | ((prevValue: T) => T)): void;
13
- }
1
+ import type { BehaviorSubject, Subject } from "rxjs";
14
2
  /**
15
3
  * @group React フック
16
4
  */
@@ -5,6 +5,7 @@ type Story = RawStory<typeof NumberInput>;
5
5
  declare const meta: Meta;
6
6
  export declare const Basic: Story;
7
7
  export declare const Small: Story;
8
+ export declare const ControlPositionHorizontal: Story;
8
9
  export declare const Error: Story;
9
10
  export declare const TestHook: Story;
10
11
  export default meta;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baton8/general-components",
3
- "version": "1.0.0",
3
+ "version": "1.2.0-alpha.0",
4
4
  "main": "dist/index.js",
5
5
  "repository": "https://github.com/Baton8/FrontGeneralComponents",
6
6
  "scripts": {
@@ -36,7 +36,7 @@
36
36
  "@types/js-cookie": "^3.0.2",
37
37
  "@types/mousetrap": "^1.6.11",
38
38
  "@types/react": "18.2.12",
39
- "@types/react-dom": "^18.2.5",
39
+ "@types/react-dom": "18.2.12",
40
40
  "@types/react-is": "^18.2.1",
41
41
  "@types/react-modal": "^3.16.0",
42
42
  "@typescript-eslint/eslint-plugin": "^6.7.3",
@@ -98,9 +98,7 @@
98
98
  "react-select": "^5.7.4",
99
99
  "react-stately": "^3.24.0",
100
100
  "react-use": "^17.4.0",
101
- "resize-observer-polyfill": "^1.5.1",
102
- "simplebar": "^6.2.5",
103
- "simplebar-react": "^3.2.4"
101
+ "resize-observer-polyfill": "^1.5.1"
104
102
  },
105
103
  "peerDependencies": {
106
104
  "@emotion/react": "^11.10.5",
package/typedoc.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "Quizium UI キット",
2
+ "name": "vildas · 共通UI",
3
3
  "entryPoints": ["./src/index.ts"],
4
4
  "entryPointStrategy": "expand",
5
5
  "out": "./docs-api",
@@ -1,43 +0,0 @@
1
- name: Deploy to Chromatic
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- branches:
7
- - main
8
-
9
- jobs:
10
- release:
11
- name: Create document
12
- runs-on: ubuntu-latest
13
- steps:
14
- - name: Checkout
15
- uses: actions/checkout@v1
16
-
17
- - name: Setup Node.js
18
- uses: actions/setup-node@v3
19
- with:
20
- node-version: 16.x
21
-
22
- - name: Setup FontAwesome registry
23
- uses: healthplace/npmrc-registry-login-action@v1.0
24
- with:
25
- scope: "@fortawesome"
26
- registry: https://npm.fontawesome.com
27
- auth-token: ${{ secrets.FONTAWESOME_KEY }}
28
-
29
- - name: Install
30
- run: npm ci
31
-
32
- - name: Build
33
- run: npm run build
34
- env:
35
- ENV: "development"
36
- IS_DEPLOY: "true"
37
-
38
- - name: Deploy
39
- uses: chromaui/action@v1
40
- with:
41
- projectToken: ${{ secrets.CHROMATIC_TOKEN }}
42
- token: ${{ secrets.GITHUB_TOKEN }}
43
- storybookBuildDir: "./docs"
@@ -1,53 +0,0 @@
1
- name: Deploy to GitHub
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- branches:
7
- - main
8
-
9
- permissions:
10
- contents: read
11
- pages: write
12
- deployments: write
13
- id-token: write
14
-
15
- jobs:
16
- deploy:
17
- runs-on: ubuntu-latest
18
- environment:
19
- name: github-pages
20
- url: ${{ steps.deployment.outputs.page_url }}
21
- steps:
22
- - name: Checkout
23
- uses: actions/checkout@v3
24
-
25
- - name: Setup Node.js
26
- uses: actions/setup-node@v3
27
- with:
28
- node-version: 16.x
29
-
30
- - name: Setup FontAwesome registry
31
- uses: healthplace/npmrc-registry-login-action@v1.0
32
- with:
33
- scope: "@fortawesome"
34
- registry: https://npm.fontawesome.com
35
- auth-token: ${{ secrets.FONTAWESOME_KEY }}
36
-
37
- - name: Install
38
- run: npm ci
39
-
40
- - name: Build
41
- run: npm run build
42
-
43
- - name: Build documentation
44
- run: npm run doc
45
-
46
- - name: Upload artifact
47
- uses: actions/upload-pages-artifact@v1
48
- with:
49
- path: "./docs-api"
50
-
51
- - name: Deploy to GitHub Pages
52
- id: deployment
53
- uses: actions/deploy-pages@v1
@@ -1,18 +0,0 @@
1
- name: Auto approve
2
-
3
- on:
4
- pull_request:
5
- types:
6
- - opened
7
- - reopened
8
- - synchronize
9
- - ready_for_review
10
-
11
- jobs:
12
- approve:
13
- runs-on: ubuntu-latest
14
- if: ${{ github.event.pull_request.user.login == 'Ziphil' && !github.event.pull_request.draft }}
15
- permissions:
16
- pull-requests: write
17
- steps:
18
- - uses: hmarr/auto-approve-action@v3
@@ -1,6 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { AsyncSelect } from "../../../components";
3
- type Meta = RawMeta<typeof AsyncSelect>;
4
- declare const meta: Meta;
5
- export declare const Basic: RawStory<typeof AsyncSelect>;
6
- export default meta;
@@ -1,7 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { Avatar } from "../../../components";
3
- type Meta = RawMeta<typeof Avatar>;
4
- type Story = RawStory<typeof Avatar>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export default meta;
@@ -1,11 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { Badge } from "../../../components";
3
- type Meta = RawMeta<typeof Badge>;
4
- type Story = RawStory<typeof Badge>;
5
- declare const meta: Meta;
6
- export declare const Solid: Story;
7
- export declare const Light: Story;
8
- export declare const Outline: Story;
9
- export declare const Small: Story;
10
- export declare const WithIcon: Story;
11
- export default meta;
@@ -1,10 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { BarMeter } from "../../../components";
3
- type Meta = RawMeta<typeof BarMeter>;
4
- type Story = RawStory<typeof BarMeter>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export declare const Nonpale: Story;
8
- export declare const MoreOptions: Story;
9
- export declare const MoreOptionsGenre: Story;
10
- export default meta;
@@ -1,7 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { BarMeterValue } from "../../../components";
3
- type Meta = RawMeta<typeof BarMeterValue>;
4
- type Story = RawStory<typeof BarMeterValue>;
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 { BarProgress } from "../../../components";
3
- type Meta = RawMeta<typeof BarProgress>;
4
- type Story = RawStory<typeof BarProgress>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export declare const Nonpale: Story;
8
- export default meta;
@@ -1,13 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { Button } from "../../../components";
3
- type Meta = RawMeta<typeof Button>;
4
- type Story = RawStory<typeof Button>;
5
- declare const meta: Meta;
6
- export declare const Solid: Story;
7
- export declare const Light: Story;
8
- export declare const SizeSmall: Story;
9
- export declare const SizeLarge: Story;
10
- export declare const Compact: Story;
11
- export declare const WithIcon: Story;
12
- export declare const Loading: Story;
13
- export default meta;
@@ -1,6 +0,0 @@
1
- import { FunctionComponent } from "react";
2
- interface Props {
3
- hotkeys: string | Array<string>;
4
- }
5
- export declare const HotkeyView: FunctionComponent<Props>;
6
- export {};
@@ -1,83 +0,0 @@
1
- import { AriaAttributes, HTMLAttributeAnchorTarget, ReactNode } from "react";
2
- import { KeyboardEvent, MouseEvent } from "react";
3
- /**
4
- * ### ボタンリンク
5
- *
6
- * #### Next.js での注意
7
- * Next.js を使っている場合は、以下のように `next/link` パッケージが提供するコンポーネントで囲み、`passHref` 属性に `true` を設定してください。
8
- * Next.js 13 以降では、さらに `legacyBehavior` 属性に `true` を設定する必要があります。
9
- * 詳細は [Next.js のドキュメント](https://nextjs-ja-translation-docs.vercel.app/docs/api-reference/next/link)も参照してください。
10
- *
11
- * ```tsx
12
- * import NextLink from "next/link";
13
- *
14
- * <NextLink href="(リンク先)" passHref={true} legacyBehavior={true}>
15
- * <ButtonLink>リンク</ButtonLink>
16
- * </NextLink>
17
- * ```
18
- * @group React コンポーネント
19
- * @category React コンポーネント
20
- */
21
- export declare const ButtonLink: import("react").ForwardRefExoticComponent<import("../../../modules/data").DataProps<string> & {
22
- className?: string | undefined;
23
- id?: string | undefined;
24
- style?: import("react").CSSProperties | undefined;
25
- } & AriaAttributes & {
26
- /**
27
- * リンク先の URL。
28
- */
29
- href?: string | undefined;
30
- /** */
31
- target?: HTMLAttributeAnchorTarget | undefined;
32
- /**
33
- * カラースキーム。
34
- * @defaultValue `"primary"`
35
- */
36
- colorScheme?: "primary" | "secondary" | "blue" | "red" | "green" | "pink" | "yellow" | "purple" | "orange" | "gray" | "gold" | "silver" | "bronze" | undefined;
37
- /**
38
- * 見た目のバリアント。
39
- * - `"solid"` — ボタンの背景が濃い
40
- * - `"outline"` — ボタンの背景が薄い上に罫線が付く
41
- * @defaultValue `"solid"`
42
- */
43
- variant?: "outline" | "solid" | undefined;
44
- /**
45
- * 全体のサイズ。
46
- * @defaultValue `"medium"`
47
- */
48
- size?: "small" | "medium" | "large" | undefined;
49
- /**
50
- * 内部の余白を少なくし、全体を少し小さめに表示するかどうか。
51
- * 基本的には `false` (デフォルト値) で使うことを推奨しますが、フォームの一部として使う場合など、省スペースで表示したいときには `true` にしてください。
52
- * @defaultValue `false`
53
- */
54
- isCompact?: boolean | undefined;
55
- /**
56
- * 無効にするかどうか。
57
- * これが `true` のときは、`<a>` 要素の代わりに `<span>` 要素として描画されます。
58
- * @defaultValue `false`
59
- */
60
- isDisabled?: boolean | undefined;
61
- /**
62
- * ローディング中かどうか。
63
- * これが `true` の間は、ボタンがローディング表示され無効になります。
64
- * @defaultValue `false`
65
- */
66
- isLoading?: boolean | undefined;
67
- /** */
68
- onClick?: ((event: MouseEvent<HTMLAnchorElement>) => unknown) | undefined;
69
- /** */
70
- onKeyDown?: ((event: KeyboardEvent<HTMLAnchorElement>) => unknown) | undefined;
71
- /** */
72
- onKeyUp?: ((event: KeyboardEvent<HTMLAnchorElement>) => unknown) | undefined;
73
- /** */
74
- onMouseDown?: ((event: MouseEvent<HTMLAnchorElement>) => unknown) | undefined;
75
- /** */
76
- onPointerDown?: ((event: MouseEvent<HTMLAnchorElement>) => unknown) | undefined;
77
- /**
78
- * ボタンの内部に表示する内容。
79
- */
80
- children?: ReactNode;
81
- /** */
82
- className?: string | undefined;
83
- } & import("react").RefAttributes<HTMLAnchorElement>>;
@@ -1,13 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { ButtonLink } from "../../../components";
3
- type Meta = RawMeta<typeof ButtonLink>;
4
- type Story = RawStory<typeof ButtonLink>;
5
- declare const meta: Meta;
6
- export declare const Solid: Story;
7
- export declare const Light: Story;
8
- export declare const SizeSmall: Story;
9
- export declare const SizeLarge: Story;
10
- export declare const Compact: Story;
11
- export declare const WithIcon: Story;
12
- export declare const Loading: Story;
13
- 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 ButtonLinkIconContainer: 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,2 +0,0 @@
1
- export * from "./buttonLink";
2
- export * from "./buttonLinkIconContainer";
@@ -1,9 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { CheckableContainer } from "../../../components";
3
- type Meta = RawMeta<typeof CheckableContainer>;
4
- type Story = RawStory<typeof CheckableContainer>;
5
- declare const meta: Meta;
6
- export declare const WithCheckbox: Story;
7
- export declare const WithRadio: Story;
8
- export declare const WithSwitch: Story;
9
- export default meta;
@@ -1,7 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { CheckableLabel } from "../../../components";
3
- type Meta = RawMeta<typeof CheckableLabel>;
4
- type Story = RawStory<typeof CheckableLabel>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export default meta;
@@ -1,15 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { Checkbox } from "../../../components";
3
- type Meta = RawMeta<typeof Checkbox>;
4
- type Story = RawStory<typeof Checkbox>;
5
- declare const meta: Meta;
6
- export declare const Unchecked: Story;
7
- export declare const Checked: Story;
8
- export declare const Indeterminate: Story;
9
- export declare const ErrorUnchecked: Story;
10
- export declare const ErrorChecked: Story;
11
- export declare const ErrorIndeterminate: Story;
12
- export declare const TestUncontrolled: Story;
13
- export declare const TestControlled: Story;
14
- export declare const TestHook: Story;
15
- export default meta;
@@ -1,13 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { ControlContainer } from "../../../components";
3
- type Meta = RawMeta<typeof ControlContainer>;
4
- type Story = RawStory<typeof ControlContainer>;
5
- declare const meta: Meta;
6
- export declare const WithInput: Story;
7
- export declare const WithInputAndHelper: Story;
8
- export declare const WithInputAndHelperAndErrorMessage: Story;
9
- export declare const WithRadio: Story;
10
- export declare const WithRadioAndHelper: Story;
11
- export declare const WithRadioAndHelperAndErrorMessage: Story;
12
- export declare const TestForm: Story;
13
- export default meta;
@@ -1,7 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { ControlErrorMessage } from "../../../components";
3
- type Meta = RawMeta<typeof ControlErrorMessage>;
4
- type Story = RawStory<typeof ControlErrorMessage>;
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 { ControlHelper } from "../../../components";
3
- type Meta = RawMeta<typeof ControlHelper>;
4
- type Story = RawStory<typeof ControlHelper>;
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 { ControlLabel } from "../../../components";
3
- type Meta = RawMeta<typeof ControlLabel>;
4
- type Story = RawStory<typeof ControlLabel>;
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 { Divider } from "../../../components";
3
- type Meta = RawMeta<typeof Divider>;
4
- type Story = RawStory<typeof Divider>;
5
- declare const meta: Meta;
6
- export declare const Vertical: Story;
7
- export declare const Horizontal: Story;
8
- export default meta;
@@ -1,10 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { FileInput } from "../../../components";
3
- type Meta = RawMeta<typeof FileInput>;
4
- type Story = RawStory<typeof FileInput>;
5
- declare const meta: Meta;
6
- export declare const Single: Story;
7
- export declare const Multiple: Story;
8
- export declare const TestUncontrolled: Story;
9
- export declare const TestControlled: Story;
10
- export default meta;
@@ -1,7 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { GeneralIcon } from "../../../components";
3
- type Meta = RawMeta<typeof GeneralIcon>;
4
- type Story = RawStory<typeof GeneralIcon>;
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 { Heading } from "../../../components";
3
- type Meta = RawMeta<typeof Heading>;
4
- type Story = RawStory<typeof Heading>;
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 { Icon } from "../../../components";
3
- type Meta = RawMeta<typeof Icon>;
4
- type Story = RawStory<typeof Icon>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export default meta;
@@ -1,8 +0,0 @@
1
- import { IconDefinition } from "@fortawesome/fontawesome-common-types";
2
- export declare const fakRegularMessageQuestionCirclePlus: IconDefinition;
3
- export declare const fakRegularNotebookCirclePlus: IconDefinition;
4
- export declare const fakRegularFolderClosedCirclePlus: IconDefinition;
5
- export declare const fakRegularTextCirclePlus: IconDefinition;
6
- export declare const fakRegularImageCirclePlus: IconDefinition;
7
- export declare const fakRegularTrophyCirclePlus: IconDefinition;
8
- export declare const fakRegularUserCirclePlus: IconDefinition;
@@ -1,11 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { IconButton } from "../../../components";
3
- type Meta = RawMeta<typeof IconButton>;
4
- type Story = RawStory<typeof IconButton>;
5
- declare const meta: Meta;
6
- export declare const Solid: Story;
7
- export declare const Outline: Story;
8
- export declare const Small: Story;
9
- export declare const Large: Story;
10
- export declare const Loading: Story;
11
- export default meta;
@@ -1,20 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { Input } from "../../../components";
3
- type Meta = RawMeta<typeof Input>;
4
- type Story = RawStory<typeof Input>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export declare const Small: Story;
8
- export declare const Error: Story;
9
- export declare const WithLeftIconAddon: Story;
10
- export declare const WithLeftTextAddon: Story;
11
- export declare const WithRightTextAddon: Story;
12
- export declare const TypeDate: Story;
13
- export declare const TypeTime: Story;
14
- export declare const TypeDateTime: Story;
15
- export declare const TypeMonth: Story;
16
- export declare const TypeWeek: Story;
17
- export declare const TestUncontrolled: Story;
18
- export declare const TestControlled: Story;
19
- export declare const TestHook: Story;
20
- export default meta;
@@ -1,8 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { Link } from "../../../components";
3
- type Meta = RawMeta<typeof Link>;
4
- type Story = RawStory<typeof Link>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export declare const WithIcon: Story;
8
- export default meta;
@@ -1,7 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { LoadingIcon } from "../../../components";
3
- type Meta = RawMeta<typeof LoadingIcon>;
4
- type Story = RawStory<typeof LoadingIcon>;
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 { Modal } from "../../../components";
3
- type Meta = RawMeta<typeof Modal>;
4
- type Story = RawStory<typeof Modal>;
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 { MultiLineText } from "../../../components";
3
- type Meta = RawMeta<typeof MultiLineText>;
4
- type Story = RawStory<typeof MultiLineText>;
5
- declare const meta: Meta;
6
- export declare const Normal: Story;
7
- export declare const Short: Story;
8
- export declare const VariousTest: Story;
9
- export default meta;
@@ -1,10 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { NumberInput } from "../../../components";
3
- type Meta = RawMeta<typeof NumberInput>;
4
- type Story = RawStory<typeof NumberInput>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export declare const Small: Story;
8
- export declare const Error: Story;
9
- export declare const TestHook: Story;
10
- export default meta;
@@ -1,13 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { PasswordInput } from "../../../components";
3
- type Meta = RawMeta<typeof PasswordInput>;
4
- type Story = RawStory<typeof PasswordInput>;
5
- declare const meta: Meta;
6
- export declare const Basic: Story;
7
- export declare const Small: Story;
8
- export declare const Error: Story;
9
- export declare const WithLeftIconAddon: Story;
10
- export declare const TestUncontrolled: Story;
11
- export declare const TestControlled: Story;
12
- export declare const TestHook: Story;
13
- export default meta;
@@ -1,13 +0,0 @@
1
- import { Meta as RawMeta, StoryObj as RawStory } from "@storybook/react";
2
- import { Radio } from "../../../components";
3
- type Meta = RawMeta<typeof Radio>;
4
- type Story = RawStory<typeof Radio>;
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 { RadioGroup } from "../../../components";
3
- type Meta = RawMeta<typeof RadioGroup>;
4
- type Story = RawStory<typeof RadioGroup>;
5
- declare const meta: Meta;
6
- export declare const TestUncontrolled: Story;
7
- export declare const TestControlled: Story;
8
- export default meta;