Skip to content

Commit

Permalink
Merge pull request #497 from ClickHouse/alex-k_extra-wide
Browse files Browse the repository at this point in the history
Support `widest` for flyout size
  • Loading branch information
rndD authored Nov 12, 2024
2 parents 25cdeac + 51f96db commit 9209b63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Flyout/Flyout.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface Props extends FlyoutProps {
alignBody: "default" | "top";
align: "start" | "end";
type: "default" | "inline";
size: "default" | "narrow" | "wide";
size: "default" | "narrow" | "wide" | "widest";
width?: string;
}

Expand Down Expand Up @@ -69,7 +69,7 @@ export default {

description: "Align the flyout",
},
size: { control: "select", options: ["default", "narrow", "wide"] },
size: { control: "select", options: ["default", "narrow", "wide", "widest"] },
type: { control: "select", options: ["default", "inline"] },
width: { control: "text" },
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Flyout/Flyout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Trigger = ({ children, ...props }: DialogTriggerProps) => {
Trigger.displayName = "Flyout.Trigger";
Flyout.Trigger = Trigger;

type FlyoutSizeType = "default" | "narrow" | "wide";
type FlyoutSizeType = "default" | "narrow" | "wide" | "widest";
type Strategy = "relative" | "absolute" | "fixed";
type FlyoutType = "default" | "inline";

Expand Down

0 comments on commit 9209b63

Please sign in to comment.