faster animations

pull/590/head
Cory LaViska 2021-11-12 09:43:02 -05:00
rodzic 2fca01401b
commit b98b10c580
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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 {