Skip to content

Commit 71a6dc5

Browse files
authored
chore(datepicker, timepicker, datetime picker): add new states, add tests, fix a11y issue with table, adjust storybook example height for VRT (#4663)
* chore(datepicker): add new states, add tests, fix a11y issue with table, adjust storybook example height for VRT * chore(date and time pickers): add required and error states, tests * chore(various date-time pickers): PR feedback
1 parent 754a701 commit 71a6dc5

File tree

38 files changed

+23353
-235
lines changed

38 files changed

+23353
-235
lines changed

RELEASENOTES.md

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#### Changed
1313
- Updated to ARIA 1.2 compliance where these attributes are moved to the text input: `role="combobox"`, `aria-expanded`, `aria-haspopup="listbox"`.
1414

15+
### [Datepickers](https://www.lightningdesignsystem.com/components/datepickers)
16+
#### Added
17+
- Added examples for Required, Required with Error states
18+
1519
### [Datetime Picker](https://www.lightningdesignsystem.com/components/datetime-picker)
1620
#### Changed
1721
- Removed the usage of the deprecated combobox. The Datetime Picker now uses the current combobox.

ui/components/accordion/base/example.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ export let examples = [
315315
{
316316
id: 'section-background-color',
317317
label: 'Accordion Section - Text Color',
318-
demoStyles: '--sds-c-accordion-heading-text-color: green; --sds-c-accordion-heading-text-color-hover: red',
318+
demoStyles:
319+
'--sds-c-accordion-heading-text-color: green; --sds-c-accordion-heading-text-color-hover: red',
319320
storybookStyles: true,
320321
element: (
321322
<Accordion>

ui/components/builder-header/index.stories.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const patternName = 'Builder Header';
1010

1111
const storyOptions = {
1212
defaultDemoStyles: DEMO_STYLES
13-
}
13+
};
1414

1515
generateStories(
1616
patternName,

ui/components/chat/index.stories.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ const patternName = 'Chat';
99

1010
const storyOptions = {
1111
isFullBleed: true
12-
}
12+
};
1313

14-
generateStories(patternName, examples, ['default', 'examples', 'states'], Docs, storyOptions);
14+
generateStories(
15+
patternName,
16+
examples,
17+
['default', 'examples', 'states'],
18+
Docs,
19+
storyOptions
20+
);

ui/components/combobox/index.stories.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const patternName = 'Combobox';
2020

2121
const storyOptions = {
2222
defaultDemoStyles: 'height: 17rem;'
23-
}
23+
};
2424

2525
generateStories(
2626
patternName,

ui/components/datepickers/RELEASENOTES.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44

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

7+
## 2.16.0
8+
9+
### Added
10+
11+
- Added examples for Required, Required with Error states
12+
13+
714
## 2.14.1
815

916
### Fixed

0 commit comments

Comments
 (0)