This repository was archived by the owner on Oct 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+
4+ ## v2.0.4
5+ ### Fixed
6+ - add outline for danger button
7+ - upgrade fluent css version
8+
39## v2.0.3
410### Fixed
511- add outline for primary button
Original file line number Diff line number Diff line change @@ -119,6 +119,17 @@ const classnames = require('classnames');
119119< / Button>
120120```
121121
122+ #### React Danger Button
123+
124+ ``` jsx
125+ < Button
126+ className= ' btn-danger'
127+ attr= {{container: {' data-test-hook' : ' button1' }}}
128+ >
129+ Danger Button
130+ < / Button>
131+ ```
132+
122133#### React Disabled Button
123134
124135``` jsx
Original file line number Diff line number Diff line change @@ -121,7 +121,8 @@ $outline-focus-border-width: 1px;
121121 & :focus:not (:disabled ) {
122122 color : themed (' color-text-white' );
123123 background-color : themed (' color-bg-btn-danger-focus' );
124- outline : $outline-focus-border-width dashed themed (' color-border-focus' );
124+ outline : $outline-focus-border-width dashed themed (' color-outline-btn-danger-focus' );
125+ outline-offset : -2px ;
125126 }
126127
127128 & :active:not (:disabled ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " @azure-iot/ux-fluent-controls" ,
3- "version" : " 2.0.3 " ,
3+ "version" : " 2.0.4 " ,
44 "description" : " Azure IoT Fluent React Controls" ,
55 "main" : " ./lib/index.js" ,
66 "types" : " ./lib/index.d.ts" ,
2626 "node" : " >=8"
2727 },
2828 "devDependencies" : {
29- "@azure-iot/ux-fluent-css" : " ^3.0.2 " ,
29+ "@azure-iot/ux-fluent-css" : " ^3.0.3 " ,
3030 "@types/chai" : " ^4.0.4" ,
3131 "@types/classnames" : " ^2.2.3" ,
3232 "@types/enzyme" : " ^2.8.9" ,
You can’t perform that action at this time.
0 commit comments