File tree Expand file tree Collapse file tree 5 files changed +28
-2
lines changed Expand file tree Collapse file tree 5 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 15
15
### [ Datepickers] ( https://www.lightningdesignsystem.com/components/datepickers )
16
16
#### Added
17
17
- Added examples for Required, Required with Error states
18
+ - Added hover style for dates
18
19
- Added ` aria-label ` to provide the full ` DD MM YYYY ` text of the date
19
20
#### Fixed
20
21
- Fixed missing attribute ` aria-current="date" ` when today's date falls inside of a selected range
21
22
22
23
### [ Datetime Picker] ( https://www.lightningdesignsystem.com/components/datetime-picker )
23
24
#### Added
24
25
- Added ` aria-label ` to provide the full ` DD MM YYYY ` text of the date
26
+
25
27
#### Changed
26
28
- Removed the usage of the deprecated combobox. The Datetime Picker now uses the current combobox.
27
29
Original file line number Diff line number Diff line change 9
9
### Added
10
10
11
11
- Added examples for Required, Required with Error states
12
+ - Added hover style for dates
12
13
- Added ` aria-label ` to provide the full ` DD MM YYYY ` text of the date
13
14
14
15
### Fixed
Original file line number Diff line number Diff line change 11
11
.slds-disabled-text {
12
12
color : $color-text-button-default-disabled ;
13
13
}
14
+
15
+ .slds-datepicker {
16
+
17
+ td {
18
+
19
+ & :hover:not (.slds-disabled-text ) > .slds-day ,
20
+ & :focus:not (.slds-disabled-text ) > .slds-day ,
21
+ & .slds-is-today > .slds-day {
22
+ cursor : pointer ;
23
+ }
24
+ }
25
+ }
14
26
}
Original file line number Diff line number Diff line change 53
53
* @selector .slds-is-today
54
54
* @restrict .slds-datepicker td
55
55
*/
56
- & :hover:not ( .slds-disabled-text ) > .slds-day ,
57
- & :focus:not ( .slds-disabled-text ) > .slds-day ,
56
+ & :hover > .slds-day ,
57
+ & :focus > .slds-day ,
58
58
& .slds-is-today > .slds-day {
59
59
cursor : pointer ;
60
60
}
71
71
}
72
72
}
73
73
74
+ & :hover {
75
+
76
+ > .slds-day {
77
+ background-color : $color-background-row-hover ;
78
+ }
79
+ }
80
+
74
81
/* *
75
82
* @summary Indicates selected days
76
83
*
Original file line number Diff line number Diff line change 9
9
10
10
- Added ` aria-label ` to provide the full ` DD MM YYYY ` text of the date
11
11
12
+ ### Added
13
+
14
+ - Added hover style for dates
15
+
12
16
### Changed
13
17
14
18
- Removed the usage of the deprecated combobox. The Datetime Picker now uses the current combobox.
You can’t perform that action at this time.
0 commit comments