Skip to content

Commit af6b13e

Browse files
authored
chore(merge): 2.17.5 Spring 22 ➡️ Summer 22 (#5024)
2 parents 392fedd + e2a9570 commit af6b13e

File tree

17 files changed

+57
-72
lines changed

17 files changed

+57
-72
lines changed

RELEASENOTES.general.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55

66
- Removed `&_` shorthand from numerous selectors in SCSS files
77

8-
## 2.17.4 - February 4, 2022
8+
## 2.17.5 - February 10, 2022
9+
10+
- Updated design token `COLOR_BACKGROUND_DESTRUCTIVE_HOVER` so that it is a different color from `COLOR_BACKGROUND_DESTRUCTIVE`
11+
12+
## 2.17.4 - February 3, 2022
913

1014
## 2.17.3 - January 27, 2022
1115

RELEASENOTES.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,24 @@
2323
#### Added
2424
- Added annotations for tile board CSS classes.
2525

26-
## Release 2.17.4 - February 4, 2022
26+
## Release 2.17.5 - February 10, 2022
27+
28+
- Updated design token `COLOR_BACKGROUND_DESTRUCTIVE_HOVER` so that it is a different color from `COLOR_BACKGROUND_DESTRUCTIVE`
29+
30+
## Components
31+
### [Checkbox](https://www.lightningdesignsystem.com/components/checkbox)
32+
#### Fixed
33+
- Reverted layout changes originally introduced in 2.17.0
34+
35+
### [Radio Group](https://www.lightningdesignsystem.com/components/radio-group)
36+
#### Fixed
37+
- Reverted label layout changes introduced in 2.17.0
38+
39+
### [Welcome Mat](https://www.lightningdesignsystem.com/components/welcome-mat)
40+
#### Fixed
41+
- Reverted changes to checkbox layout introduced in 2.17.4
42+
43+
## Release 2.17.4 - February 3, 2022
2744

2845
## Components
2946
### [Checkbox](https://www.lightningdesignsystem.com/components/checkbox)

design-tokens/primitive/background-color.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ props:
109109
value: '{!PALETTE_RED_40}'
110110
comment: Color for UI elements related to destructive actions.
111111
COLOR_BACKGROUND_DESTRUCTIVE_HOVER:
112-
value: '{!PALETTE_RED_40}'
112+
value: '{!PALETTE_RED_30}'
113113
comment: Hover color for UI elements related to destructive actions.
114114
COLOR_BACKGROUND_DESTRUCTIVE_ACTIVE:
115115
value: '{!PALETTE_RED_30}'

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@salesforce-ux/create-snap": "0.0.7",
4949
"@salesforce-ux/design-system-markup": "^2.0.4",
5050
"@salesforce-ux/design-system-parser": "^1.1.1",
51-
"@salesforce-ux/design-system-primitive-tokens": "0.3.4",
51+
"@salesforce-ux/design-system-primitive-tokens": "0.3.5",
5252
"@salesforce-ux/icons": "10.2.2",
5353
"@salesforce-ux/instant-vrt": "2.0.0",
5454
"@salesforce-ux/postcss-annotations-parser": "0.1.1",

ui/_config.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
///
1010
/// @type String
1111
/// @access private
12-
$app-version: "2.17.4";
12+
$app-version: "2.17.5";
1313

1414
/// Debug mode (uncomment to activate)
1515
/// Turn on to output deprecation warnings during development

ui/components/checkbox/RELEASENOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
<!-- ## [Unreleased] -->
66

7+
## 2.17.5
8+
9+
### Fixed
10+
- Reverted layout changes originally introduced in 2.17.0
11+
712
## 2.17.4
813

914
### Fixed

ui/components/checkbox/base/_index.scss

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,9 @@
1414
* @variant
1515
*/
1616
.slds-checkbox {
17-
display: inline-flex;
17+
display: inline-block;
1818
position: relative;
1919

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-
2520
/**
2621
* @summary Creates a custom styled checkbox
2722
* @selector .slds-checkbox_faux
@@ -53,13 +48,11 @@
5348
* @restrict .slds-checkbox label
5449
*/
5550
.slds-checkbox__label {
56-
display: inline-flex;
5751

5852
// When slds-form-element__label is inline with slds-checkbox_faux, display as inline
5953
.slds-form-element__label {
6054
display: inline;
61-
padding-top: 0;
62-
line-height: $line-height-heading;
55+
vertical-align: middle;
6356
font-size: $font-size-3;
6457
}
6558
}

ui/components/checkbox/base/_touch.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
.slds-checkbox {
22

3-
> .slds-required {
4-
line-height: inherit;
5-
}
6-
73
.slds-checkbox_faux,
84
.slds-checkbox--faux {
95
@include square($square-tappable-x-small);
6+
flex-shrink: 0; // Contained within flex, we don't want checkbox to shrink
107
}
118

129
.slds-checkbox__label {

ui/components/checkbox/docs.mdx

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ The [form element variant](#Form-Element) accommodates a top level label and add
5252
{getDisplayElementById(CheckboxExamples.states, 'required')}
5353
</CodeView>
5454

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>
5658

5759
#### Error
5860

@@ -80,12 +82,6 @@ The [form element variant](#Form-Element) accommodates a top level label and add
8082

8183
<CodeView frameOnly frameTitle="Group checkbox example">{getDisplayElementById(CheckboxExamples.examples, 'group')}</CodeView>
8284

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-
8985
##### Required
9086

9187
<CodeView>
@@ -94,11 +90,6 @@ The [form element variant](#Form-Element) accommodates a top level label and add
9490

9591
<CodeView frameOnly frameTitle="Required group checkbox example">{getDisplayElementById(CheckboxExamples.examples, 'group-required')}</CodeView>
9692

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-
10293
##### Error
10394

10495
<CodeView>

0 commit comments

Comments
 (0)