diff --git a/.storybook/utils/interaction.tsx b/.storybook/utils/interaction.tsx index f9736b1..245ff2a 100644 --- a/.storybook/utils/interaction.tsx +++ b/.storybook/utils/interaction.tsx @@ -125,7 +125,7 @@ export const demoModeLoader: Loader = async (context) => { return user.click(target); }, }; - } else if(context.title.includes('page')) { + } else if(!context.title.includes('button')) { context.userEvent = userEvent.setup(); } } diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index 50aa6e4..1649d7a 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -38,11 +38,6 @@ const StyledButton = styled.button<{ box-shadow: ${boxShadow.outerBorder}; } - &:disabled { - background-color: ${clear ? color.buttonClear : color.buttonPrimary}; - opacity: 0.4; - } - @media ${breakpoints.M} { padding: ${withIcon ? '1rem' : large ? '1.125rem 1.5rem' : '0.875rem 1.5rem'}; } diff --git a/src/components/Icon/Icon.mdx b/src/components/Icon/Icon.txt similarity index 100% rename from src/components/Icon/Icon.mdx rename to src/components/Icon/Icon.txt diff --git a/src/docs/Colors.mdx b/src/docs/Colors.txt similarity index 100% rename from src/docs/Colors.mdx rename to src/docs/Colors.txt diff --git a/src/docs/Introduction.mdx b/src/docs/Introduction.txt similarity index 100% rename from src/docs/Introduction.mdx rename to src/docs/Introduction.txt diff --git a/src/docs/Typography.mdx b/src/docs/Typography.txt similarity index 100% rename from src/docs/Typography.mdx rename to src/docs/Typography.txt