From 9131ab6aa63890a2ac1ba52a4f26efd31c92d669 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 25 Dec 2013 13:10:01 -0500 Subject: [PATCH] Updates docs on transition to include new content, updates version --- RELEASE NOTES.md | 22 ++++++++++++++ package.json | 2 +- server/documents/index.html.eco | 2 +- server/documents/modules/transition.html.eco | 31 +++++++++++++++++++- 4 files changed, 54 insertions(+), 3 deletions(-) diff --git a/RELEASE NOTES.md b/RELEASE NOTES.md index 479f1cd33..36198a5ef 100755 --- a/RELEASE NOTES.md +++ b/RELEASE NOTES.md @@ -1,5 +1,27 @@ ## RELEASE NOTES +### Version 0.11.0 - Dec 22, 2013 + +### Merry Christmas! + +**Major Updates** + +-**Transition**: Transition has been completely rewritten, performance should be about 10x after first animation due to caching and use of request animation frame + +**New Features** + +-**Transition**: Transitions now work with **any display type** not just display: block, meaning transitions can be used on buttons and other inline elements without affecting display + +**Fixes** + +-**Transition**: Fixes typo in "horizontal flip out" causing opacity to be fading in + +-**Modules**: Fixed error in all modules where calling invoke would modify instance outside of scope, making it impossible to access some data (for instance cached positions) from outside of module. + +-**Modal**: Fixes issues with modal in IE, IE11 can now use CSS animations with modals + + + ### Version 0.10.3 - Dec 22, 2013 **Critical Fixes** diff --git a/package.json b/package.json index 4bff46992..d8a07d5a9 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "semantic", - "version": "0.10.3", + "version": "0.11.0", "title": "Semantic UI", "description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.", "homepage": "http://www.semantic-ui.com", diff --git a/server/documents/index.html.eco b/server/documents/index.html.eco index a2b341068..4599e7136 100755 --- a/server/documents/index.html.eco +++ b/server/documents/index.html.eco @@ -15,7 +15,7 @@ type : 'Semantic'
-

Semantic UI 0.10.3

+

Semantic UI 0.11.0

UI is the vocabulary of the web.

Semantic empowers designers and developers by creating a language for sharing UI.

View UI diff --git a/server/documents/modules/transition.html.eco b/server/documents/modules/transition.html.eco index 018ef1e47..1232df55e 100755 --- a/server/documents/modules/transition.html.eco +++ b/server/documents/modules/transition.html.eco @@ -166,6 +166,19 @@ type : 'UI Module' ;
+

Display Type

+ +

Animations can be used on any display type not just block level elements. For example you can animate a button while preserving its inline-block status.

+
+ $('.test.button') + .transition('horizontal flip', '500ms') + ; +
+
+
+ Sign-up +
+

Queuing animations

Animations called in sequence will be queued. Any queued animation will automatically determine the transition direction if none is specified.

@@ -194,10 +207,18 @@ type : 'UI Module' + + force repaint + Forces reflow using a more expensive but stable method + repaint Triggers reflow on element + + reset + Resets all conditions changes during transition + looping Enables animation looping @@ -219,7 +240,7 @@ type : 'UI Module' Toggles current transition on/off - duration(duration) + set duration(duration) Modifies element animation duration @@ -238,6 +259,10 @@ type : 'UI Module' get animation event Returns vendor prefixed animation property for animationend + + is visible + Returns whether element is currently visible + is animating Returns whether transition is currently occurring @@ -246,6 +271,10 @@ type : 'UI Module' is looping Returns whether animation looping is set + + is supported + Returns whether animations are supported + is visible Returns whether element is visible