kopia lustrzana https://github.com/shoelace-style/shoelace
faster animations
rodzic
2fca01401b
commit
b98b10c580
|
@ -6,6 +6,10 @@ Components with the <sl-badge type="warning" pill>Experimental</sl-badge> badge
|
|||
|
||||
_During the beta period, these restrictions may be relaxed in the event of a mission-critical bug._ 🐛
|
||||
|
||||
## Next
|
||||
|
||||
- Slightly faster animations for showing and hiding `<sl-dropdown>`
|
||||
|
||||
## 2.0.0-beta.60
|
||||
|
||||
- Added React examples and CodePen links to all components
|
||||
|
|
|
@ -442,7 +442,7 @@ setDefaultAnimation('dropdown.show', {
|
|||
{ opacity: 0, transform: 'scale(0.9)' },
|
||||
{ opacity: 1, transform: 'scale(1)' }
|
||||
],
|
||||
options: { duration: 150, easing: 'ease' }
|
||||
options: { duration: 100, easing: 'ease' }
|
||||
});
|
||||
|
||||
setDefaultAnimation('dropdown.hide', {
|
||||
|
@ -450,7 +450,7 @@ setDefaultAnimation('dropdown.hide', {
|
|||
{ opacity: 1, transform: 'scale(1)' },
|
||||
{ opacity: 0, transform: 'scale(0.9)' }
|
||||
],
|
||||
options: { duration: 150, easing: 'ease' }
|
||||
options: { duration: 100, easing: 'ease' }
|
||||
});
|
||||
|
||||
declare global {
|
||||
|
|
Ładowanie…
Reference in New Issue