From 294b4c4bb93359805423c520384a93c3707008a9 Mon Sep 17 00:00:00 2001 From: Ou/Olly Kunanan Tassuwan Date: Wed, 12 Oct 2022 04:16:08 +0700 Subject: [PATCH] fix(button): Typo outline button variant (#2393) * fix: typo outline button hover style * chore: update storybook of Button to support outline variant * chore: add changeset * test(button): update test snapshot * chore(button): consistent storybook name Co-authored-by: Josh Black --- .changeset/orange-pumas-develop.md | 5 +++++ src/Button/Button.stories.tsx | 8 ++++++++ src/Button/styles.ts | 2 +- src/__tests__/__snapshots__/Button.test.tsx.snap | 2 +- 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .changeset/orange-pumas-develop.md diff --git a/.changeset/orange-pumas-develop.md b/.changeset/orange-pumas-develop.md new file mode 100644 index 00000000000..c199573854a --- /dev/null +++ b/.changeset/orange-pumas-develop.md @@ -0,0 +1,5 @@ +--- +'@primer/react': patch +--- + +Fix invalid hover outline variant of the Button component diff --git a/src/Button/Button.stories.tsx b/src/Button/Button.stories.tsx index a9ba2b3d64a..965058f8895 100644 --- a/src/Button/Button.stories.tsx +++ b/src/Button/Button.stories.tsx @@ -50,6 +50,14 @@ export const invisibleButton = (args: ButtonProps) => { ) } +export const outlineButton = (args: ButtonProps) => { + return ( + + ) +} + export const iconBeforeButton = (args: ButtonProps) => { return (