Skip to content

Commit cb91709

Browse files
committed
Merge tag 'v2.27.2' into release/opensource
2 parents cce6e2a + efa2fb9 commit cb91709

File tree

21 files changed

+383
-25
lines changed

21 files changed

+383
-25
lines changed

RELEASENOTES.general.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
22
<!-- On release, add general notes here. In time the legacy release notes will be add to this -->
33

4+
## 2.27.2 - June 25, 2025
45

56
## 2.27.1 - May 7, 2025
67

RELEASENOTES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
22
<!-- !!! THIS FILE IS AUTO-GENERATED !!! DO NOT EDIT THIS FILE MANUALLY !!! -->
33

4+
## Release 2.27.2 - June 25, 2025
5+
46
## Release 2.27.1 - May 7, 2025
57

68
## Component Blueprints
@@ -182,10 +184,18 @@
182184
## Release 2.26.2 - February 6, 2025
183185

184186
## Component Blueprints
187+
### [Combobox](https://www.lightningdesignsystem.com/components/combobox)
188+
#### Removed
189+
- In February 2025, we removed the `slds-truncate` class to address an issue with obscured text. The label text of list items can now wrap in combobox components.
190+
185191
### [Form Element](https://www.lightningdesignsystem.com/components/form-element)
186192
#### Fixed
187193
- Move clear fix from 2.26.1 to target specific selectors, use clearfix mixin to avoid more edge cases (e.g. background colors)
188194

195+
### [Menus](https://www.lightningdesignsystem.com/components/menus)
196+
#### Removed
197+
- In February 2025, we removed the `slds-truncate` class to address an issue with obscured text. The label text of list items can now wrap in combobox components.
198+
189199
## Release 2.26.1 - January 30, 2025
190200

191201
## Updated

package-lock.json

Lines changed: 2 additions & 2 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
@@ -8,7 +8,7 @@
88
"CSS"
99
],
1010
"homepage": "https://lightningdesignsystem.com",
11-
"version": "2.27.1",
11+
"version": "2.27.2",
1212
"author": "Salesforce",
1313
"bugs": {
1414
"url": "https://github.com/salesforce-ux/design-system/issues"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import React from 'react';
2+
import PropTypes from 'prop-types';
3+
import CodeView from './CodeView';
4+
5+
const RequiredLabelExample = () => (
6+
<CodeView exampleOnly demoStyles="2rem">
7+
<label class="slds-form-element__label" for="">
8+
<abbr class="slds-required" title="required" aria-hidden="true">* </abbr>denotes a required field
9+
</label>
10+
</CodeView>
11+
);
12+
13+
RequiredLabelExample.propTypes = {
14+
children: PropTypes.string,
15+
title: PropTypes.string
16+
};
17+
18+
export default RequiredLabelExample;

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.27.1";
12+
$app-version: "2.27.2";
1313

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

ui/components/checkbox/docs.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import CodeView from '../../../shared/components/CodeView';
22
import CodeBlock from '../../../shared/components/CodeBlock';
33
import Blockquote from '../../../shared/components/Blockquote';
44
import StylingHooksTable from '../../../shared/components/StylingHooksTable';
5+
import RequiredLabelExample from '../../../shared/components/RequiredLabelExample';
56
import * as CheckboxExamples from './base/example';
67
import * as CheckboxFormElementExamples from './form-element/example';
78
import { getDisplayElementById } from '../../shared/helpers';
@@ -28,6 +29,9 @@ When a single checkbox is required, `<div class="slds-checkbox">` should get `<a
2829

2930
When a checkbox group is required, the `<fieldset>` should receive the class `.slds-is-required`. The `<legend>` should then get `<abbr class="required" title="required" aria-hidden="true">*</abbr>` added to the DOM for visual indication that the checkbox group is required.
3031

32+
Example:
33+
<RequiredLabelExample/>
34+
3135
As SLDS checkboxes rely on the `:checked` pseudo selector, and the indeterminate state is only accessible via JavaScript, the use of a CSS class on the input will be necessary to implement this in SLDS. Use JavaScript to add the class when the indeterminate property is set to true on the input.
3236

3337
### Mobile

ui/components/combobox/RELEASENOTES.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99

1010
- Fixed lookup variant focus style
1111

12+
## 2.26.2
13+
14+
### Removed
15+
16+
- In February 2025, we removed the `slds-truncate` class to address an issue with obscured text. The label text of list items can now wrap in combobox components.
17+
1218
## 2.25.0
1319

1420
### Fixed
@@ -28,7 +34,7 @@
2834
- Updated Combobox disabled color
2935

3036
## 2.22.0
31-
### Added
37+
### Added
3238
- Tooltip option provided for Date/DateTime pickers.
3339
- Updated from tabindex to tabIndex.
3440
## 2.21.0

ui/components/datepickers/docs.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import CodeView from '../../../shared/components/CodeView';
22
import DisplayColumn from '../../../shared/components/DisplayColumn';
33
import DisplayGrid from '../../../shared/components/DisplayGrid';
44
import Blockquote from '../../../shared/components/Blockquote';
5+
import RequiredLabelExample from '../../../shared/components/RequiredLabelExample';
56
import { getDisplayElementById, getDemoStylesById } from '../../shared/helpers';
67
import * as Base from './base/example';
78
import * as Range from './range/example';
@@ -45,11 +46,16 @@ The datepicker has the following markup requirements:
4546

4647
### Accessibility
4748

49+
To display the datepicker text input field and calendar date picker with maximum accessibility, datepicker should be empty to start. When a user begins typing, text input is activated, and the full date format for the user’s locale, such as text DD MM YYYY in the en_US_locale.
50+
4851
#### Markup
4952

5053
**Dialog:**
5154

5255
- Should act as a focus trap so the user only cycles through the datepicker `dialog` when the datepicker is open
56+
- A Date Format Visible variation displays a message about the expected date format. When the date field receives focus, a message appears under the field to show the expected date format. When focus is removed from the date field, the message is hidden and available as assistive text.
57+
- All datepicker fields marked as required with an * must have an accompanying legend. Example:
58+
<RequiredLabelExample/>
5359

5460
**Grid:**
5561

ui/components/datetime-picker/docs.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import CodeView from '../../../shared/components/CodeView';
22
import Blockquote from '../../../shared/components/Blockquote';
3+
import RequiredLabelExample from '../../../shared/components/RequiredLabelExample';
34
import * as DateTimeExamples from './base/example';
45
import { getDisplayElementById } from '../../shared/helpers';
56

@@ -43,6 +44,18 @@ The datetime picker has the following markup requirements:
4344
- On the element with the class `slds-combobox`, please remove `role="combobox"`, `aria-expanded`, and `aria-haspopup`.
4445
- On the `input` that we just added `type="datetime-local"` to, please remove `aria-controls`, `aria-autocomplete`, and `role="textbox"`.
4546

47+
### Accessibility
48+
49+
To display the datetime picker with maximum accessibility, the datetime field should be empty to start. When a user clicks, text input is activated, and the full date or time selector displays.
50+
51+
#### Markup
52+
53+
**Dialog:**
54+
55+
- A Date Format Visible variation displays a message about the expected date format. When the date field receives focus, a message appears under the field to show the expected date format. When focus is removed from the date field, the message is hidden and available as assistive text.
56+
- All datepicker fields marked as required with an * must have an accompanying legend. Example:
57+
<RequiredLabelExample/>
58+
4659
## Base
4760

4861
<CodeView demoStyles="height: 28rem;">

0 commit comments

Comments
 (0)