Skip to content

Commit ac24a6a

Browse files
authored
fix: focus styling inconsistencies (#16265)
* fix: focus styling inconsistencies * Change files * bump package
1 parent 4dcc72e commit ac24a6a

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: focus styling inconsistencies",
4+
"packageName": "@fluentui/web-components",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch",
7+
"date": "2020-12-17T18:45:34.045Z"
8+
}

Diff for: packages/web-components/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"@microsoft/fast-colors": "^5.1.0",
9696
"@microsoft/fast-components-styles-msft": "^4.29.0",
9797
"@microsoft/fast-element": "^0.21.1",
98-
"@microsoft/fast-foundation": "^1.11.0",
98+
"@microsoft/fast-foundation": "^1.11.1",
9999
"tslib": "^1.13.0"
100100
},
101101
"beachball": {

Diff for: packages/web-components/src/styles/patterns/button.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ export const OutlineButtonStyles = css`
423423
}
424424
425425
:host(.outline) .control:${focusVisible} {
426-
border: calc(var(--outline-width) * 1px) solid ${neutralFocusBehavior.var});
427426
box-shadow: 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${neutralFocusBehavior.var};
427+
border-color: ${neutralFocusBehavior.var};
428428
}
429429
430430
:host(.outline.disabled) {

Diff for: yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -2419,10 +2419,10 @@
24192419
resolved "https://registry.yarnpkg.com/@microsoft/fast-element/-/fast-element-0.21.1.tgz#366fb006608819edf8053e0fbdb31618957b86a4"
24202420
integrity sha512-DZVu9KGtwP+vg9z6fAHpiPntPPFNj4ex6qBSsRLP5RP8akqD54OiUokRTJ9/JodIF7R9w34XLG3EJRD75LQwDQ==
24212421

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

0 commit comments

Comments
 (0)