From 67765b16521455448ed5b67e49c80eb74e2541c9 Mon Sep 17 00:00:00 2001 From: Allan Oliveira Date: Mon, 27 Mar 2023 17:37:18 -0300 Subject: [PATCH] feat: up --- package.json | 2 +- src/components/atoms/Button/Button.ts | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 64f6681..2b347fb 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "react", "typescript" ], - "version": "2.1.22", + "version": "2.1.23", "main": "./dist/index.cjs.js", "module": "./dist/index.esm.js", "types": "./dist/index.d.ts", diff --git a/src/components/atoms/Button/Button.ts b/src/components/atoms/Button/Button.ts index 8d98026..294ea41 100644 --- a/src/components/atoms/Button/Button.ts +++ b/src/components/atoms/Button/Button.ts @@ -281,17 +281,13 @@ const Button = styled.buttonBox` box-shadow: rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.08) 0px 12px 17px 2px; } - &:focus { + &:focus-visible { outline-width: 1px !important; outline-style: solid !important; outline-color: systemPrimary !important; } &:active { - outline-width: none !important; - outline-style: none !important; - outline-color: none !important; - transform: scale(0.98); box-shadow: rgba(0, 0, 0, 0.4) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;