Skip to content

Commit

Permalink
fix: focus styling inconsistencies (#16265)
Browse files Browse the repository at this point in the history
* fix: focus styling inconsistencies

* Change files

* bump package
  • Loading branch information
eljefe223 authored Dec 17, 2020
1 parent 4dcc72e commit ac24a6a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "fix: focus styling inconsistencies",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-12-17T18:45:34.045Z"
}
2 changes: 1 addition & 1 deletion packages/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"@microsoft/fast-colors": "^5.1.0",
"@microsoft/fast-components-styles-msft": "^4.29.0",
"@microsoft/fast-element": "^0.21.1",
"@microsoft/fast-foundation": "^1.11.0",
"@microsoft/fast-foundation": "^1.11.1",
"tslib": "^1.13.0"
},
"beachball": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/styles/patterns/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ export const OutlineButtonStyles = css`
}
:host(.outline) .control:${focusVisible} {
border: calc(var(--outline-width) * 1px) solid ${neutralFocusBehavior.var});
box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${neutralFocusBehavior.var};
border-color: ${neutralFocusBehavior.var};
}
:host(.outline.disabled) {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2419,10 +2419,10 @@
resolved "https://registry.yarnpkg.com/@microsoft/fast-element/-/fast-element-0.21.1.tgz#366fb006608819edf8053e0fbdb31618957b86a4"
integrity sha512-DZVu9KGtwP+vg9z6fAHpiPntPPFNj4ex6qBSsRLP5RP8akqD54OiUokRTJ9/JodIF7R9w34XLG3EJRD75LQwDQ==

"@microsoft/fast-foundation@^1.11.0":
version "1.11.0"
resolved "https://registry.yarnpkg.com/@microsoft/fast-foundation/-/fast-foundation-1.11.0.tgz#c609fea459bebf41d49e715649c33334fe04af1b"
integrity sha512-ZbRrHKuN4xfnoxFHb8bmWPQHzOxC39KucL4CQ0hE8GRfNI38QbIAUNhVwgohsQWaKgiWv9soQr8kf94jdmaQow==
"@microsoft/fast-foundation@^1.11.1":
version "1.11.1"
resolved "https://registry.yarnpkg.com/@microsoft/fast-foundation/-/fast-foundation-1.11.1.tgz#d3e04c55be7a51b7cf38ef2acfe6eb3cbb0aec27"
integrity sha512-tRgx6MbfbyArzRhBwkki+MjB98tSbTRjgZ+pq3HiPtRE8leoi0kkNqcj+9+xuPSvzxU+u8eG2ySuOtTzk7VskA==
dependencies:
"@microsoft/fast-element" "^0.21.1"
"@microsoft/fast-web-utilities" "^4.7.0"
Expand Down

0 comments on commit ac24a6a

Please sign in to comment.