Skip to content

Commit 0591c23

Browse files
committed
feat(apollo,look&feel): commit pour fixer les imports
1 parent b7eb4d5 commit 0591c23

File tree

4 files changed

+3
-28
lines changed

4 files changed

+3
-28
lines changed

apps/apollo-stories/src/components/ItemFile/ItemFile.stories.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
import {
2-
ClickIcon,
3-
Icon,
4-
ItemFile,
5-
itemFileVariants,
6-
ItemMessage,
7-
Spinner,
8-
} from "@axa-fr/design-system-apollo-react";
1+
import { ItemFile, itemFileVariants } from "@axa-fr/design-system-apollo-react";
92
import { Meta, StoryObj } from "@storybook/react";
103

114
type Story = StoryObj<typeof ItemFile>;
@@ -27,10 +20,6 @@ export const Default: Story = {
2720
state: "success",
2821
title: "IMG_879687880.jpg",
2922
subTitle: "0.12 Mo",
30-
ItemIconComponent: Icon,
31-
ItemSpinnerComponent: Spinner,
32-
ItemClickIconComponent: ClickIcon,
33-
ItemMessageComponent: ItemMessage,
3423
},
3524
};
3625

@@ -39,9 +28,6 @@ export const Loading: Story = {
3928
state: "loading",
4029
title: "IMG_879687880.jpg",
4130
subTitle: "0.12 Mo",
42-
ItemIconComponent: Icon,
43-
ItemSpinnerComponent: Spinner,
44-
ItemClickIconComponent: ClickIcon,
4531
},
4632
};
4733

apps/look-and-feel-stories/src/ItemFile/ItemFile.stories.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import {
2-
ClickIcon,
3-
Icon,
42
ItemFile,
53
itemFileVariants,
6-
ItemMessage,
7-
Spinner,
84
} from "@axa-fr/design-system-look-and-feel-react";
95
import { Meta, StoryObj } from "@storybook/react";
106

@@ -27,10 +23,6 @@ export const Default: Story = {
2723
state: "success",
2824
title: "IMG_879687880.jpg",
2925
subTitle: "0.12 Mo",
30-
ItemIconComponent: Icon,
31-
ItemSpinnerComponent: Spinner,
32-
ItemClickIconComponent: ClickIcon,
33-
ItemMessageComponent: ItemMessage,
3426
},
3527
};
3628

@@ -39,9 +31,6 @@ export const Loading: Story = {
3931
state: "loading",
4032
title: "IMG_879687880.jpg",
4133
subTitle: "0.12 Mo",
42-
ItemIconComponent: Icon,
43-
ItemSpinnerComponent: Spinner,
44-
ItemClickIconComponent: ClickIcon,
4534
},
4635
};
4736

client/apollo/react/src/Form/ItemFile/ItemStateIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import errorIcon from "@material-symbols/svg-400/outlined/error-fill.svg";
55
import { getComponentClassName } from "../../utilities/getComponentClassName";
66
import type { IconProps } from "../../Icon/IconCommon";
77
import { Spinner } from "../../Spinner/SpinnerCommon";
8-
import { ItemFileState } from "./ItemFileCommon";
8+
import type { ItemFileState } from "./ItemFileCommon";
99

1010
interface ItemStateIconProps {
1111
state: ItemFileState;

client/look-and-feel/react/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export { Footer } from "./Layout/Footer/Footer";
4949
export { BurgerMenu, Header, NavBar, PreviousLink } from "./Layout/Header";
5050
export { Link } from "./Link/Link";
5151
export { List } from "./List";
52+
export { ClickItem, createClickItemParent } from "./List/ClickItem";
5253
export { ContentItemDuo } from "./List/ContentItemDuo/ContentItemDuo";
5354
export { ContentTabItem, ContentTabList } from "./List/ContentTabList";
5455
export {
@@ -103,4 +104,3 @@ export {
103104
} from "./ItemTabBar/ItemTabBar";
104105
export { Heading, type HeadingLevel } from "./Heading/Heading";
105106
export { ContentItemMono } from "./ContentItemMono/ContentItemMono";
106-
export { ClickItem, createClickItemParent } from "./List/ClickItem";

0 commit comments

Comments
 (0)