File tree Expand file tree Collapse file tree 13 files changed +40
-63
lines changed Expand file tree Collapse file tree 13 files changed +40
-63
lines changed Original file line number Diff line number Diff line change 1
1
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
2
2
<!-- On release, add general notes here. In time the legacy release notes will be add to this -->
3
3
4
- ## 2.17.5 - February 7 , 2022
4
+ ## 2.17.5 - February 10 , 2022
5
5
6
6
- Updated design token ` COLOR_BACKGROUND_DESTRUCTIVE_HOVER ` so that it is a different color from ` COLOR_BACKGROUND_DESTRUCTIVE `
7
7
Original file line number Diff line number Diff line change 1
1
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
2
2
<!-- !!! THIS FILE IS AUTO-GENERATED !!! DO NOT EDIT THIS FILE MANUALLY !!! -->
3
3
4
- ## Release 2.17.5 - February 7 , 2022
4
+ ## Release 2.17.5 - February 10 , 2022
5
5
6
6
- Updated design token ` COLOR_BACKGROUND_DESTRUCTIVE_HOVER ` so that it is a different color from ` COLOR_BACKGROUND_DESTRUCTIVE `
7
7
8
- ## Release 2.17.4 - February 7, 2022
8
+ ## Components
9
+ ### [ Checkbox] ( https://www.lightningdesignsystem.com/components/checkbox )
10
+ #### Fixed
11
+ - Reverted layout changes originally introduced in 2.17.0
12
+
13
+ ### [ Radio Group] ( https://www.lightningdesignsystem.com/components/radio-group )
14
+ #### Fixed
15
+ - Reverted label layout changes introduced in 2.17.0
16
+
17
+ ### [ Welcome Mat] ( https://www.lightningdesignsystem.com/components/welcome-mat )
18
+ #### Fixed
19
+ - Reverted changes to checkbox layout introduced in 2.17.4
20
+
21
+ ## Release 2.17.4 - February 10, 2022
9
22
10
23
## Components
11
24
### [ Checkbox] ( https://www.lightningdesignsystem.com/components/checkbox )
Original file line number Diff line number Diff line change 4
4
5
5
<!-- ## [Unreleased] -->
6
6
7
+ ## 2.17.5
8
+
9
+ ### Fixed
10
+ - Reverted layout changes originally introduced in 2.17.0
11
+
7
12
## 2.17.4
8
13
9
14
### Fixed
Original file line number Diff line number Diff line change 14
14
* @variant
15
15
*/
16
16
.slds-checkbox {
17
- display : inline-flex ;
17
+ display : inline-block ;
18
18
position : relative ;
19
19
20
- // When changing checkbox labels to inline-flex (PR #4769), the position of the required asterisk needed to be repositioned
21
- > .slds-required {
22
- line-height : 1 ; // because the required symbol is text, it needs its line-height reset
23
- }
24
-
25
20
/* *
26
21
* @summary Creates a custom styled checkbox
27
22
* @selector .slds-checkbox_faux
53
48
* @restrict .slds-checkbox label
54
49
*/
55
50
.slds-checkbox__label {
56
- display : inline-flex ;
57
51
58
52
// When slds-form-element__label is inline with slds-checkbox_faux, display as inline
59
53
.slds-form-element__label {
60
54
display : inline ;
61
- padding-top : 0 ;
62
- line-height : $line-height-heading ;
55
+ vertical-align : middle ;
63
56
font-size : $font-size-3 ;
64
57
}
65
58
}
Original file line number Diff line number Diff line change 1
1
.slds-checkbox {
2
2
3
- > .slds-required {
4
- line-height : inherit ;
5
- }
6
-
7
3
.slds-checkbox_faux ,
8
4
.slds-checkbox--faux {
9
5
@include square ($square-tappable-x-small );
6
+ flex-shrink : 0 ; // Contained within flex, we don't want checkbox to shrink
10
7
}
11
8
12
9
.slds-checkbox__label {
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ The [form element variant](#Form-Element) accommodates a top level label and add
52
52
{ getDisplayElementById (CheckboxExamples .states , ' required' )}
53
53
</CodeView >
54
54
55
- <CodeView frameOnly frameTitle = " Required checkbox example" >{ getDisplayElementById (CheckboxExamples .states , ' required' )} </CodeView >
55
+ <CodeView frameOnly frameTitle = " Required checkbox example" >
56
+ { getDisplayElementById (CheckboxExamples .states , ' required' )}
57
+ </CodeView >
56
58
57
59
#### Error
58
60
@@ -80,12 +82,6 @@ The [form element variant](#Form-Element) accommodates a top level label and add
80
82
81
83
<CodeView frameOnly frameTitle = " Group checkbox example" >{ getDisplayElementById (CheckboxExamples .examples , ' group' )} </CodeView >
82
84
83
- ##### Group with Wrapping Labels
84
-
85
- <CodeView >{ getDisplayElementById (CheckboxExamples .examples , ' wrapping-text' )} </CodeView >
86
-
87
- <CodeView frameOnly frameTitle = " Group checkbox with wrapping text example" >{ getDisplayElementById (CheckboxExamples .examples , ' wrapping-text' )} </CodeView >
88
-
89
85
##### Required
90
86
91
87
<CodeView >
@@ -94,11 +90,6 @@ The [form element variant](#Form-Element) accommodates a top level label and add
94
90
95
91
<CodeView frameOnly frameTitle = " Required group checkbox example" >{ getDisplayElementById (CheckboxExamples .examples , ' group-required' )} </CodeView >
96
92
97
- ##### Required with Wrapping Labels
98
- <CodeView >{ getDisplayElementById (CheckboxExamples .examples , ' wrapping-text-required-group' )} </CodeView >
99
-
100
- <CodeView frameOnly frameTitle = " Required group checkbox with wrapping text example" >{ getDisplayElementById (CheckboxExamples .examples , ' wrapping-text-required-group' )} </CodeView >
101
-
102
93
##### Error
103
94
104
95
<CodeView >
Original file line number Diff line number Diff line change 46
46
// Force radios and checkboxes to be on own line when there are multiples in a group
47
47
.slds-radio ,
48
48
.slds-checkbox {
49
- display : flex ;
50
- margin-top : $spacing-xx-small ;
49
+ display : block ;
51
50
}
52
51
}
53
52
Original file line number Diff line number Diff line change 64
64
float : left ;
65
65
max-width : calc (33% - #{$square-icon-utility-medium } ); // Removing the width of the icon for when the help-text icon is present
66
66
flex-basis : calc (33% - #{$square-icon-utility-medium } ); // Some form element controls are set to display:flex
67
- flex-grow : 1 ; // For IE and Safari which didn't auto expand to the available space
68
67
margin-bottom : 0 ;
69
68
position : relative ;
70
69
z-index : 1 ;
100
99
float : none ;
101
100
max-width : 100% ;
102
101
width : auto ;
103
- flex-basis : auto ; // For IE not taking up the available space
104
102
}
105
103
}
106
104
111
109
width : auto ;
112
110
max-width : 100% ;
113
111
flex-basis : auto ;
114
- flex-grow : 1 ;
115
112
float : none ;
116
113
position : relative ;
117
114
padding-left : 0 ;
Original file line number Diff line number Diff line change 4
4
5
5
<!-- ## [Unreleased] -->
6
6
7
+ ## 2.17.5
8
+
9
+ ### Fixed
10
+ - Reverted label layout changes introduced in 2.17.0
11
+
7
12
## 2.17.0
8
13
9
14
### Added
Original file line number Diff line number Diff line change 42
42
transition : border $duration-quickly linear , background-color $duration-quickly linear ;
43
43
}
44
44
45
- .slds-radio__label {
46
- display : inline-flex ;
47
- }
48
-
49
45
.slds-form-element__label {
50
46
display : inline ;
51
- padding-top : 0 ;
52
- line-height : $line-height-heading ;
47
+ vertical-align : middle ;
53
48
font-size : $font-size-3 ;
54
49
}
55
50
You can’t perform that action at this time.
0 commit comments