diff --git a/packages/components/package-lock.json b/packages/components/package-lock.json index 35ebfb5b5..c669f9afd 100644 --- a/packages/components/package-lock.json +++ b/packages/components/package-lock.json @@ -7972,9 +7972,9 @@ "dev": true }, "axe-core": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.1.2.tgz", - "integrity": "sha512-V+Nq70NxKhYt89ArVcaNL9FDryB3vQOd+BFXZIfO3RP6rwtj+2yqqqdHEkacutglPaZLkJeuXKCjCJDMGPtPqg==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.3.2.tgz", + "integrity": "sha512-5LMaDRWm8ZFPAEdzTYmgjjEdj1YnQcpfrVajO/sn/LhbpGp0Y0H64c2hLZI1gRMxfA+w1S71Uc/nHaOXgcCvGg==", "dev": true }, "babel-jest": { diff --git a/packages/components/package.json b/packages/components/package.json index 78ec879aa..1b64e92a9 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -75,7 +75,7 @@ "@types/jest": "^26.0.24", "@types/react": "^17.0.2", "autoprefixer": "^10.2.4", - "axe-core": "^4.1.2", + "axe-core": "^4.3.2", "babel-jest": "^26.6.3", "babel-loader": "^8.2.2", "core-js": "^3.9.1", diff --git a/packages/components/src/Button/__snapshots__/button.spec.tsx.snap b/packages/components/src/Button/__snapshots__/button.spec.tsx.snap index 35830ce77..7ea6d3796 100644 --- a/packages/components/src/Button/__snapshots__/button.spec.tsx.snap +++ b/packages/components/src/Button/__snapshots__/button.spec.tsx.snap @@ -60,12 +60,14 @@ exports[` @@ -89,12 +91,14 @@ exports[` diff --git a/packages/components/src/Button/button.stories.tsx b/packages/components/src/Button/button.stories.tsx index 456a9bbb6..bb062e629 100644 --- a/packages/components/src/Button/button.stories.tsx +++ b/packages/components/src/Button/button.stories.tsx @@ -1,4 +1,5 @@ import Button from "./button"; +import { CheckCircle } from "../Icons"; import React from "react"; import { Story } from "@storybook/react/types-6-0"; import Text from "../Text"; @@ -19,12 +20,6 @@ type Args = React.ComponentProps; const Template: Story = (args) => ); diff --git a/packages/components/src/common/Notifications/NotificationIcon/NotificationIcon.tsx b/packages/components/src/common/Notifications/NotificationIcon/NotificationIcon.tsx index 08bcdbed3..4129b20e1 100644 --- a/packages/components/src/common/Notifications/NotificationIcon/NotificationIcon.tsx +++ b/packages/components/src/common/Notifications/NotificationIcon/NotificationIcon.tsx @@ -53,7 +53,7 @@ const NotificationIcon = ({ variant }: Props) => { return (
- +
); };