Skip to content

Commit ee7722d

Browse files
committed
Removed chip opinionated stories
1 parent 761c423 commit ee7722d

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

packages/lib/src/chip/Chip.stories.tsx

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { userEvent } from "@storybook/test";
22
import ExampleContainer from "../../.storybook/components/ExampleContainer";
33
import Title from "../../.storybook/components/Title";
4-
import { HalstackProvider } from "../HalstackContext";
54
import DxcChip from "./Chip";
65
import { Meta, StoryObj } from "@storybook/react";
76

@@ -39,14 +38,6 @@ const smallIconSVG = (
3938
</svg>
4039
);
4140

42-
const opinionatedTheme = {
43-
chip: {
44-
baseColor: "#e6e6e6",
45-
fontColor: "#000000",
46-
iconColor: "#4d4d4d",
47-
},
48-
};
49-
5041
const Chip = () => (
5142
<>
5243
<ExampleContainer>
@@ -132,43 +123,6 @@ const Chip = () => (
132123
<Title title="Xxlarge margin" theme="light" level={4} />
133124
<DxcChip label="xxlarge" margin="xxlarge" />
134125
</ExampleContainer>
135-
<Title title="Opinionated theme" theme="light" level={2} />
136-
<ExampleContainer>
137-
<Title title="Chip with prefix and suffix" theme="light" level={4} />
138-
<HalstackProvider theme={opinionatedTheme}>
139-
<DxcChip label="Chip" prefixIcon={iconSVG} suffixIcon="filled_check_circle" />
140-
</HalstackProvider>
141-
</ExampleContainer>
142-
<ExampleContainer>
143-
<Title title="Chip with prefix and suffix" theme="light" level={4} />
144-
<HalstackProvider theme={opinionatedTheme}>
145-
<DxcChip label="Chip" disabled prefixIcon={iconSVG} suffixIcon="filled_check_circle" />
146-
</HalstackProvider>
147-
</ExampleContainer>
148-
<ExampleContainer pseudoState="pseudo-hover">
149-
<Title title="Hovered" theme="light" level={4} />
150-
<HalstackProvider theme={opinionatedTheme}>
151-
<DxcChip
152-
label="Chip"
153-
prefixIcon={iconSVG}
154-
suffixIcon={iconSVG}
155-
onClickPrefix={() => {}}
156-
onClickSuffix={() => {}}
157-
/>
158-
</HalstackProvider>
159-
</ExampleContainer>
160-
<ExampleContainer pseudoState="pseudo-active">
161-
<Title title="Actived" theme="light" level={4} />
162-
<HalstackProvider theme={opinionatedTheme}>
163-
<DxcChip
164-
label="Chip"
165-
prefixIcon={iconSVG}
166-
suffixIcon={iconSVG}
167-
onClickPrefix={() => {}}
168-
onClickSuffix={() => {}}
169-
/>
170-
</HalstackProvider>
171-
</ExampleContainer>
172126
</>
173127
);
174128

0 commit comments

Comments
 (0)