Browse Source

Adds accordion easeOutQuint easing equation.

pull/1574/head
jlukic 10 years ago
parent
commit
79b6ed1d43
4 changed files with 10 additions and 6 deletions
  1. 8
      RELEASE-NOTES.md
  2. 2
      package.json
  3. 5
      src/definitions/modules/accordion.js
  4. 1
      src/definitions/modules/dropdown.less

8
RELEASE-NOTES.md

@ -1,7 +1,13 @@
## RELEASE NOTES ## RELEASE NOTES
### Version 1.6.0 - January 05, 2015
### Version 1.5.3 - January 05, 2015
**Build**
- **Dist** - Build will now output version number in comment banner
**Updates**
- **Accordion** - Added ``animateChildren`` option to disable/enable opacity animation on child elements
- **Accordion** - Accordion now uses `easeOutQuint`` instead of ``easeInOutQuint`` to increase perceived responsiveness of drawers
**Bugs** **Bugs**
- **Popup** - Fix issue with `ui popup` receiving error ``$offsetParent is undefined`` when using a pre-defined popup - **Popup** - Fix issue with `ui popup` receiving error ``$offsetParent is undefined`` when using a pre-defined popup

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "semantic-ui", "name": "semantic-ui",
"version": "1.5.2",
"version": "1.6.0",
"title": "Semantic UI", "title": "Semantic UI",
"description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.", "description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.",
"homepage": "http://www.semantic-ui.com", "homepage": "http://www.semantic-ui.com",

5
src/definitions/modules/accordion.js

@ -504,9 +504,8 @@ $.fn.accordion.settings = {
// Adds easing // Adds easing
$.extend( $.easing, { $.extend( $.easing, {
easeInOutQuint: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
return c/2*((t-=2)*t*t*t*t + 2) + b;
easeOutQuint: function (x, t, b, c, d) {
return c*((t=t/d-1)*t*t*t*t + 1) + b;
} }
}); });

1
src/definitions/modules/dropdown.less

@ -501,7 +501,6 @@ select.ui.dropdown {
line-height: @searchSelectionLineHeight; line-height: @searchSelectionLineHeight;
} }
.ui.search.dropdown.active > input.search, .ui.search.dropdown.active > input.search,
.ui.search.dropdown.visible > input.search { .ui.search.dropdown.visible > input.search {
cursor: auto; cursor: auto;

Loading…
Cancel
Save