Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit 331d169

Browse files
authored
Merge pull request #20 from misteinb/bugfix/primary-button-outline
add primary button outline
2 parents af78780 + 34b0ec3 commit 331d169

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG
22

3+
## v2.0.3
4+
### Fixed
5+
- add outline for primary button
6+
- upgrade fluent css version
7+
8+
## v2.0.2
9+
migrating to private package registry and changing package scope.
10+
update references to fluent css
11+
312
## v2.0.1
413
### Fixed
514
- alert close button hover colors didn't work across themes. updated to newer version of fluent-colors

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ contact [[email protected]](mailto:[email protected]) with any additio
2323
## Docs
2424
1. npm run docs:build
2525
2. npm run docs
26-
3. You can now view style guide in the browser:
27-
26+
3. You can now view style guide in the browser:
27+
2828
- `On Local:` http://localhost:6060/
29-
30-
- `On your network:` http://10.0.75.1:6060/
29+
30+
- `On your network:` http://{machine ip address}:6060/
3131

3232
## Bug/ Issue
3333

lib/components/Button/Button.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ $outline-focus-border-width: 1px;
9292
&:focus:not(:disabled) {
9393
color: themed('color-text-white');
9494
background-color: themed('color-bg-btn-primary-focus');
95-
outline: $outline-focus-border-width dashed themed('color-border-focus');
95+
outline: $outline-focus-border-width dashed themed('color-outline-btn-primary-focus');
96+
outline-offset: -2px;
9697
}
9798

9899
&:active:not(:disabled) {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-iot/ux-fluent-controls",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "Azure IoT Fluent React Controls",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
@@ -26,7 +26,7 @@
2626
"node": ">=8"
2727
},
2828
"devDependencies": {
29-
"@azure-iot/ux-fluent-css": "^3.0.0",
29+
"@azure-iot/ux-fluent-css": "^3.0.2",
3030
"@types/chai": "^4.0.4",
3131
"@types/classnames": "^2.2.3",
3232
"@types/enzyme": "^2.8.9",
@@ -81,7 +81,7 @@
8181
"webpack-dev-server": "^2.9.4"
8282
},
8383
"peerDependencies": {
84-
"@azure-iot/ux-fluent-css": "^3.0.0",
84+
"@azure-iot/ux-fluent-css": "^3.0.2",
8585
"classnames": "^2.2.5",
8686
"prop-types": "^15.6.1",
8787
"react": "16.x",

0 commit comments

Comments
 (0)