From c8380c2879f0da11f57827e55a530ba712593a19 Mon Sep 17 00:00:00 2001 From: VINEETH ASOK KUMAR Date: Fri, 20 Oct 2023 17:29:38 +0200 Subject: [PATCH] Fix Flyout --- src/App.tsx | 6 +- src/components/Flyout/Flyout.stories.tsx | 79 +++++++++++++++++++ src/components/Flyout/Flyout.test.tsx | 69 ++++++++++++++++ src/components/Flyout/Flyout.tsx | 37 +++++---- src/components/Select/MultiSelect.stories.tsx | 2 +- src/components/types.ts | 1 + 6 files changed, 175 insertions(+), 19 deletions(-) create mode 100644 src/components/Flyout/Flyout.stories.tsx diff --git a/src/App.tsx b/src/App.tsx index 755f4cde..73750375 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -119,7 +119,7 @@ const App = () => { description="test2" /> - hadksjhadksjhaskdjhaksdjhkajsdhkajshdkjashdkjashd + Flyout Text test test2 @@ -189,7 +189,7 @@ const App = () => { description="test2" /> - hadksjhadksjhaskdjhaksdjhkajsdhkajshdkjashdkjashd + Flyout Text + ` : "" }`; diff --git a/src/components/types.ts b/src/components/types.ts index 1447f041..a005926b 100644 --- a/src/components/types.ts +++ b/src/components/types.ts @@ -31,6 +31,7 @@ export type { ToastProps } from "./Toast/Toast"; export type { SelectOptionListItem } from "./Select/common/types"; export type { MultiSelectProps } from "./Select/MultiSelect"; export type { PanelProps } from "./Panel/Panel"; +export type { FlyoutProps, FlyoutFooterProps, FlyoutHeaderProps } from "./Flyout/Flyout"; export type States = "default" | "active" | "disabled" | "error" | "hover"; export type HorizontalDirection = "start" | "end";