Browse Source

rebuilds zip, adds prerelease ver to homepage

pull/29/head
jlukic 11 years ago
parent
commit
4a77dbadd7
23 changed files with 108 additions and 94 deletions
  1. 9
      build/less/modules/dimmer.js
  2. 12
      build/less/modules/dropdown.js
  3. 9
      build/minified/modules/dimmer.js
  4. 2
      build/minified/modules/dimmer.min.js
  5. 12
      build/minified/modules/dropdown.js
  6. 2
      build/minified/modules/dropdown.min.js
  7. 2
      build/packaged/javascript/semantic.min.js
  8. 9
      build/uncompressed/modules/dimmer.js
  9. 12
      build/uncompressed/modules/dropdown.js
  10. 51
      node/src/documents/collection.html
  11. 5
      node/src/documents/collections/breadcrumb.html
  12. 2
      node/src/documents/index.html.eco
  13. 9
      node/src/files/release/less/modules/dimmer.js
  14. 12
      node/src/files/release/less/modules/dropdown.js
  15. 9
      node/src/files/release/minified/modules/dimmer.js
  16. 2
      node/src/files/release/minified/modules/dimmer.min.js
  17. 12
      node/src/files/release/minified/modules/dropdown.js
  18. 2
      node/src/files/release/minified/modules/dropdown.min.js
  19. 2
      node/src/files/release/packaged/javascript/semantic.min.js
  20. BIN
      node/src/files/release/semantic.zip
  21. 9
      node/src/files/release/uncompressed/modules/dimmer.js
  22. 12
      node/src/files/release/uncompressed/modules/dropdown.js
  23. 6
      node/src/layouts/default.html.eco

9
build/less/modules/dimmer.js

@ -191,7 +191,7 @@ $.fn.dimmer = function(parameters) {
return $dimmer.hasClass(className.active);
},
animating: function() {
return ( $dimmer.hasClass(className.show) || $dimmer.hasClass(className.hide) || $dimmer.is(':animated') );
return ( $dimmer.is(':animated') || $dimmer.hasClass(className.transition) );
},
dimmer: function() {
return $module.is(selector.dimmer);
@ -259,7 +259,7 @@ $.fn.dimmer = function(parameters) {
show: function(callback) {
module.debug('Showing dimmer', $dimmer);
if( (!module.is.active() || module.is.animating() ) && module.is.enabled() ) {
if( !(module.is.active() || module.is.animating() ) && module.is.enabled() ) {
module.animate.show(callback);
$.proxy(settings.onShow, element)();
$.proxy(settings.onChange, element)();
@ -270,7 +270,7 @@ $.fn.dimmer = function(parameters) {
},
hide: function(callback) {
if( module.is.active() || module.is.animating() ) {
if( module.is.active() && !module.is.animating() ) {
module.debug('Hiding dimmer', $dimmer);
module.animate.hide(callback);
$.proxy(settings.onHide, element)();
@ -510,14 +510,13 @@ $.fn.dimmer.settings = {
className : {
active : 'active',
animating : 'animating',
dimmable : 'ui dimmable',
dimmed : 'dimmed',
disabled : 'disabled',
pageDimmer : 'page',
hide : 'hide',
show : 'show',
transition : 'transition hidden visible'
transition : 'transition'
}
};

12
build/less/modules/dropdown.js

@ -316,14 +316,14 @@ $.fn.dropdown = function(parameters) {
is: {
visible: function($subMenu) {
return ($subMenu)
? $subMenu.is(':visible')
: $menu.is(':visible')
? $subMenu.is(':animated, :visible')
: $menu.is(':animated, :visible')
;
},
hidden: function($subMenu) {
return ($subMenu)
? $subMenu.is(':not(:visible)')
: $menu.is(':not(:visible)')
? $subMenu.is(':not(:animated, :visible)')
: $menu.is(':not(:animated, :visible)')
;
}
},
@ -434,7 +434,7 @@ $.fn.dropdown = function(parameters) {
show: function() {
dropdown.debug('Checking if dropdown can show');
if( !dropdown.is.visible() ) {
if( dropdown.is.hidden() ) {
dropdown.hideOthers();
dropdown.set.active();
dropdown.animate.show(dropdown.set.visible);
@ -446,7 +446,7 @@ $.fn.dropdown = function(parameters) {
},
hide: function() {
if( !dropdown.is.hidden() ) {
if( dropdown.is.visible() ) {
dropdown.debug('Hiding dropdown');
if( dropdown.can.click() ) {
dropdown.unbind.intent();

9
build/minified/modules/dimmer.js

@ -191,7 +191,7 @@ $.fn.dimmer = function(parameters) {
return $dimmer.hasClass(className.active);
},
animating: function() {
return ( $dimmer.hasClass(className.show) || $dimmer.hasClass(className.hide) || $dimmer.is(':animated') );
return ( $dimmer.is(':animated') || $dimmer.hasClass(className.transition) );
},
dimmer: function() {
return $module.is(selector.dimmer);
@ -259,7 +259,7 @@ $.fn.dimmer = function(parameters) {
show: function(callback) {
module.debug('Showing dimmer', $dimmer);
if( (!module.is.active() || module.is.animating() ) && module.is.enabled() ) {
if( !(module.is.active() || module.is.animating() ) && module.is.enabled() ) {
module.animate.show(callback);
$.proxy(settings.onShow, element)();
$.proxy(settings.onChange, element)();
@ -270,7 +270,7 @@ $.fn.dimmer = function(parameters) {
},
hide: function(callback) {
if( module.is.active() || module.is.animating() ) {
if( module.is.active() && !module.is.animating() ) {
module.debug('Hiding dimmer', $dimmer);
module.animate.hide(callback);
$.proxy(settings.onHide, element)();
@ -510,14 +510,13 @@ $.fn.dimmer.settings = {
className : {
active : 'active',
animating : 'animating',
dimmable : 'ui dimmable',
dimmed : 'dimmed',
disabled : 'disabled',
pageDimmer : 'page',
hide : 'hide',
show : 'show',
transition : 'transition hidden visible'
transition : 'transition'
}
};

2
build/minified/modules/dimmer.min.js
File diff suppressed because it is too large
View File

12
build/minified/modules/dropdown.js

@ -316,14 +316,14 @@ $.fn.dropdown = function(parameters) {
is: {
visible: function($subMenu) {
return ($subMenu)
? $subMenu.is(':visible')
: $menu.is(':visible')
? $subMenu.is(':animated, :visible')
: $menu.is(':animated, :visible')
;
},
hidden: function($subMenu) {
return ($subMenu)
? $subMenu.is(':not(:visible)')
: $menu.is(':not(:visible)')
? $subMenu.is(':not(:animated, :visible)')
: $menu.is(':not(:animated, :visible)')
;
}
},
@ -434,7 +434,7 @@ $.fn.dropdown = function(parameters) {
show: function() {
dropdown.debug('Checking if dropdown can show');
if( !dropdown.is.visible() ) {
if( dropdown.is.hidden() ) {
dropdown.hideOthers();
dropdown.set.active();
dropdown.animate.show(dropdown.set.visible);
@ -446,7 +446,7 @@ $.fn.dropdown = function(parameters) {
},
hide: function() {
if( !dropdown.is.hidden() ) {
if( dropdown.is.visible() ) {
dropdown.debug('Hiding dropdown');
if( dropdown.can.click() ) {
dropdown.unbind.intent();

2
build/minified/modules/dropdown.min.js
File diff suppressed because it is too large
View File

2
build/packaged/javascript/semantic.min.js
File diff suppressed because it is too large
View File

9
build/uncompressed/modules/dimmer.js

@ -191,7 +191,7 @@ $.fn.dimmer = function(parameters) {
return $dimmer.hasClass(className.active);
},
animating: function() {
return ( $dimmer.hasClass(className.show) || $dimmer.hasClass(className.hide) || $dimmer.is(':animated') );
return ( $dimmer.is(':animated') || $dimmer.hasClass(className.transition) );
},
dimmer: function() {
return $module.is(selector.dimmer);
@ -259,7 +259,7 @@ $.fn.dimmer = function(parameters) {
show: function(callback) {
module.debug('Showing dimmer', $dimmer);
if( (!module.is.active() || module.is.animating() ) && module.is.enabled() ) {
if( !(module.is.active() || module.is.animating() ) && module.is.enabled() ) {
module.animate.show(callback);
$.proxy(settings.onShow, element)();
$.proxy(settings.onChange, element)();
@ -270,7 +270,7 @@ $.fn.dimmer = function(parameters) {
},
hide: function(callback) {
if( module.is.active() || module.is.animating() ) {
if( module.is.active() && !module.is.animating() ) {
module.debug('Hiding dimmer', $dimmer);
module.animate.hide(callback);
$.proxy(settings.onHide, element)();
@ -510,14 +510,13 @@ $.fn.dimmer.settings = {
className : {
active : 'active',
animating : 'animating',
dimmable : 'ui dimmable',
dimmed : 'dimmed',
disabled : 'disabled',
pageDimmer : 'page',
hide : 'hide',
show : 'show',
transition : 'transition hidden visible'
transition : 'transition'
}
};

12
build/uncompressed/modules/dropdown.js

@ -316,14 +316,14 @@ $.fn.dropdown = function(parameters) {
is: {
visible: function($subMenu) {
return ($subMenu)
? $subMenu.is(':visible')
: $menu.is(':visible')
? $subMenu.is(':animated, :visible')
: $menu.is(':animated, :visible')
;
},
hidden: function($subMenu) {
return ($subMenu)
? $subMenu.is(':not(:visible)')
: $menu.is(':not(:visible)')
? $subMenu.is(':not(:animated, :visible)')
: $menu.is(':not(:animated, :visible)')
;
}
},
@ -434,7 +434,7 @@ $.fn.dropdown = function(parameters) {
show: function() {
dropdown.debug('Checking if dropdown can show');
if( !dropdown.is.visible() ) {
if( dropdown.is.hidden() ) {
dropdown.hideOthers();
dropdown.set.active();
dropdown.animate.show(dropdown.set.visible);
@ -446,7 +446,7 @@ $.fn.dropdown = function(parameters) {
},
hide: function() {
if( !dropdown.is.hidden() ) {
if( dropdown.is.visible() ) {
dropdown.debug('Hiding dropdown');
if( dropdown.can.click() ) {
dropdown.unbind.intent();

51
node/src/documents/collection.html

@ -16,6 +16,28 @@ type : 'Semantic'
<h2 class="ui dividing header">Types of Collections</h2>
<div class="ui type two items">
<div class="item">
<div class="image">
<div class="ui breadcrumb">
<a class="section">Food</a>
<div class="divider"> / </div>
<a class="section">Fruit</a>
<div class="divider"> / </div>
<div class="active section">Apples</div>
</div>
<div class="ui breadcrumb">
<a class="section">Food</a>
<i class="right arrow icon divider"></i>
<a class="section">Fruit</a>
<i class="right arrow icon divider"></i>
<div class="active section">Apples</div>
</div>
</div>
<div class="content">
<a href="/collections/breadcrumb.html" class="name">Breadcrumb</a>
<p class="description">A breadcrumb is a menu to show the location of the current section in relation to other sections.</p>
</div>
</div>
<div class="item">
<div class="image">
<div class="ui fluid form">
@ -76,6 +98,21 @@ type : 'Semantic'
<p class="description">A menu organizes related links</p>
</div>
</div>
<div class="item">
<div class="image">
<div class="ui error icon message">
<i class="heart icon"></i>
<div class="header">Hey, you forgot something</div>
<p>Do be do be do.</p>
</div>
</div>
<div class="content">
<a href="collections/block.html" class="name">Message</a>
<p class="description">Messages alert a user to something important.</p>
</div>
</div>
<div class="item">
<div class="image">
<table class="ui celled definition table segment">
@ -103,20 +140,6 @@ type : 'Semantic'
<p class="description">A table collects related data into rows of content</p>
</div>
</div>
<div class="item">
<div class="image">
<div class="ui error icon message">
<i class="heart icon"></i>
<div class="header">Hey, you forgot something</div>
<p>Do be do be do.</p>
</div>
</div>
<div class="content">
<a href="collections/block.html" class="name">Message</a>
<p class="description">Messages alert a user to something important.</p>
</div>
</div>
</div>
</div>

5
node/src/documents/collections/breadcrumb.html

@ -28,10 +28,7 @@ type : 'UI Collection'
<div class="example">
<h4 class="ui header">A simple breadcrumb</h4>
<div class="ui ignored info message">
<p>This example uses a <a href="/elements/segment.html">ui segment</a> to add padding and background color. This is not required.</p>
</div>
<div class="ui breadcrumb segment">
<div class="ui breadcrumb">
<a class="section">Food</a>
<div class="divider"> / </div>
<a class="section">Fruit</a>

2
node/src/documents/index.html.eco

@ -13,7 +13,7 @@ type : 'Semantic'
<div class="masthead segment">
<div class="ui responsive grid">
<div class="column">
<h1 class="ui header">Semantic UI</h1>
<h1 class="ui header">Semantic UI <span class="ui black label">Pre-release</span></h1>
<h2 class="ui header">UI is the vocabulary of the web.</h2>
<p>Semantic empowers designers and developers by creating a language for sharing UI.</p>
<a class="ui black large labeled launch icon button"><i class="icon list layout"></i> View UI</a>

9
node/src/files/release/less/modules/dimmer.js

@ -191,7 +191,7 @@ $.fn.dimmer = function(parameters) {
return $dimmer.hasClass(className.active);
},
animating: function() {
return ( $dimmer.hasClass(className.show) || $dimmer.hasClass(className.hide) || $dimmer.is(':animated') );
return ( $dimmer.is(':animated') || $dimmer.hasClass(className.transition) );
},
dimmer: function() {
return $module.is(selector.dimmer);
@ -259,7 +259,7 @@ $.fn.dimmer = function(parameters) {
show: function(callback) {
module.debug('Showing dimmer', $dimmer);
if( (!module.is.active() || module.is.animating() ) && module.is.enabled() ) {
if( !(module.is.active() || module.is.animating() ) && module.is.enabled() ) {
module.animate.show(callback);
$.proxy(settings.onShow, element)();
$.proxy(settings.onChange, element)();
@ -270,7 +270,7 @@ $.fn.dimmer = function(parameters) {
},
hide: function(callback) {
if( module.is.active() || module.is.animating() ) {
if( module.is.active() && !module.is.animating() ) {
module.debug('Hiding dimmer', $dimmer);
module.animate.hide(callback);
$.proxy(settings.onHide, element)();
@ -510,14 +510,13 @@ $.fn.dimmer.settings = {
className : {
active : 'active',
animating : 'animating',
dimmable : 'ui dimmable',
dimmed : 'dimmed',
disabled : 'disabled',
pageDimmer : 'page',
hide : 'hide',
show : 'show',
transition : 'transition hidden visible'
transition : 'transition'
}
};

12
node/src/files/release/less/modules/dropdown.js

@ -316,14 +316,14 @@ $.fn.dropdown = function(parameters) {
is: {
visible: function($subMenu) {
return ($subMenu)
? $subMenu.is(':visible')
: $menu.is(':visible')
? $subMenu.is(':animated, :visible')
: $menu.is(':animated, :visible')
;
},
hidden: function($subMenu) {
return ($subMenu)
? $subMenu.is(':not(:visible)')
: $menu.is(':not(:visible)')
? $subMenu.is(':not(:animated, :visible)')
: $menu.is(':not(:animated, :visible)')
;
}
},
@ -434,7 +434,7 @@ $.fn.dropdown = function(parameters) {
show: function() {
dropdown.debug('Checking if dropdown can show');
if( !dropdown.is.visible() ) {
if( dropdown.is.hidden() ) {
dropdown.hideOthers();
dropdown.set.active();
dropdown.animate.show(dropdown.set.visible);
@ -446,7 +446,7 @@ $.fn.dropdown = function(parameters) {
},
hide: function() {
if( !dropdown.is.hidden() ) {
if( dropdown.is.visible() ) {
dropdown.debug('Hiding dropdown');
if( dropdown.can.click() ) {
dropdown.unbind.intent();

9
node/src/files/release/minified/modules/dimmer.js

@ -191,7 +191,7 @@ $.fn.dimmer = function(parameters) {
return $dimmer.hasClass(className.active);
},
animating: function() {
return ( $dimmer.hasClass(className.show) || $dimmer.hasClass(className.hide) || $dimmer.is(':animated') );
return ( $dimmer.is(':animated') || $dimmer.hasClass(className.transition) );
},
dimmer: function() {
return $module.is(selector.dimmer);
@ -259,7 +259,7 @@ $.fn.dimmer = function(parameters) {
show: function(callback) {
module.debug('Showing dimmer', $dimmer);
if( (!module.is.active() || module.is.animating() ) && module.is.enabled() ) {
if( !(module.is.active() || module.is.animating() ) && module.is.enabled() ) {
module.animate.show(callback);
$.proxy(settings.onShow, element)();
$.proxy(settings.onChange, element)();
@ -270,7 +270,7 @@ $.fn.dimmer = function(parameters) {
},
hide: function(callback) {
if( module.is.active() || module.is.animating() ) {
if( module.is.active() && !module.is.animating() ) {
module.debug('Hiding dimmer', $dimmer);
module.animate.hide(callback);
$.proxy(settings.onHide, element)();
@ -510,14 +510,13 @@ $.fn.dimmer.settings = {
className : {
active : 'active',
animating : 'animating',
dimmable : 'ui dimmable',
dimmed : 'dimmed',
disabled : 'disabled',
pageDimmer : 'page',
hide : 'hide',
show : 'show',
transition : 'transition hidden visible'
transition : 'transition'
}
};

2
node/src/files/release/minified/modules/dimmer.min.js
File diff suppressed because it is too large
View File

12
node/src/files/release/minified/modules/dropdown.js

@ -316,14 +316,14 @@ $.fn.dropdown = function(parameters) {
is: {
visible: function($subMenu) {
return ($subMenu)
? $subMenu.is(':visible')
: $menu.is(':visible')
? $subMenu.is(':animated, :visible')
: $menu.is(':animated, :visible')
;
},
hidden: function($subMenu) {
return ($subMenu)
? $subMenu.is(':not(:visible)')
: $menu.is(':not(:visible)')
? $subMenu.is(':not(:animated, :visible)')
: $menu.is(':not(:animated, :visible)')
;
}
},
@ -434,7 +434,7 @@ $.fn.dropdown = function(parameters) {
show: function() {
dropdown.debug('Checking if dropdown can show');
if( !dropdown.is.visible() ) {
if( dropdown.is.hidden() ) {
dropdown.hideOthers();
dropdown.set.active();
dropdown.animate.show(dropdown.set.visible);
@ -446,7 +446,7 @@ $.fn.dropdown = function(parameters) {
},
hide: function() {
if( !dropdown.is.hidden() ) {
if( dropdown.is.visible() ) {
dropdown.debug('Hiding dropdown');
if( dropdown.can.click() ) {
dropdown.unbind.intent();

2
node/src/files/release/minified/modules/dropdown.min.js
File diff suppressed because it is too large
View File

2
node/src/files/release/packaged/javascript/semantic.min.js
File diff suppressed because it is too large
View File

BIN
node/src/files/release/semantic.zip

9
node/src/files/release/uncompressed/modules/dimmer.js

@ -191,7 +191,7 @@ $.fn.dimmer = function(parameters) {
return $dimmer.hasClass(className.active);
},
animating: function() {
return ( $dimmer.hasClass(className.show) || $dimmer.hasClass(className.hide) || $dimmer.is(':animated') );
return ( $dimmer.is(':animated') || $dimmer.hasClass(className.transition) );
},
dimmer: function() {
return $module.is(selector.dimmer);
@ -259,7 +259,7 @@ $.fn.dimmer = function(parameters) {
show: function(callback) {
module.debug('Showing dimmer', $dimmer);
if( (!module.is.active() || module.is.animating() ) && module.is.enabled() ) {
if( !(module.is.active() || module.is.animating() ) && module.is.enabled() ) {
module.animate.show(callback);
$.proxy(settings.onShow, element)();
$.proxy(settings.onChange, element)();
@ -270,7 +270,7 @@ $.fn.dimmer = function(parameters) {
},
hide: function(callback) {
if( module.is.active() || module.is.animating() ) {
if( module.is.active() && !module.is.animating() ) {
module.debug('Hiding dimmer', $dimmer);
module.animate.hide(callback);
$.proxy(settings.onHide, element)();
@ -510,14 +510,13 @@ $.fn.dimmer.settings = {
className : {
active : 'active',
animating : 'animating',
dimmable : 'ui dimmable',
dimmed : 'dimmed',
disabled : 'disabled',
pageDimmer : 'page',
hide : 'hide',
show : 'show',
transition : 'transition hidden visible'
transition : 'transition'
}
};

12
node/src/files/release/uncompressed/modules/dropdown.js

@ -316,14 +316,14 @@ $.fn.dropdown = function(parameters) {
is: {
visible: function($subMenu) {
return ($subMenu)
? $subMenu.is(':visible')
: $menu.is(':visible')
? $subMenu.is(':animated, :visible')
: $menu.is(':animated, :visible')
;
},
hidden: function($subMenu) {
return ($subMenu)
? $subMenu.is(':not(:visible)')
: $menu.is(':not(:visible)')
? $subMenu.is(':not(:animated, :visible)')
: $menu.is(':not(:animated, :visible)')
;
}
},
@ -434,7 +434,7 @@ $.fn.dropdown = function(parameters) {
show: function() {
dropdown.debug('Checking if dropdown can show');
if( !dropdown.is.visible() ) {
if( dropdown.is.hidden() ) {
dropdown.hideOthers();
dropdown.set.active();
dropdown.animate.show(dropdown.set.visible);
@ -446,7 +446,7 @@ $.fn.dropdown = function(parameters) {
},
hide: function() {
if( !dropdown.is.hidden() ) {
if( dropdown.is.visible() ) {
dropdown.debug('Hiding dropdown');
if( dropdown.can.click() ) {
dropdown.unbind.intent();

6
node/src/layouts/default.html.eco

@ -131,7 +131,7 @@
</div>
</div>
<div class="item">
<a href="/view.html"><b>Views</b></a>
<b>Views</b>
<div class="menu">
<% for element in uiViews: %>
<a class="<%= if element.id is @document.id then 'active ' %>item" href="<%= element.url %>"><%= element.title %></a>
@ -139,7 +139,7 @@
</div>
</div>
<div class="item">
<a href="/module.html"><b>Modules</b></a>
<b>Modules</b>
<div class="menu">
<% for element in uiModules: %>
<a class="<%= if element.id is @document.id then 'active ' %>item" href="<%= element.url %>"><%= element.title %></a>
@ -147,7 +147,7 @@
</div>
</div>
<div class="item">
<a href="/module.html"><b>Behavior</b></a>
<b>Behavior</b>
<div class="menu">
<% for element in uiBehavior: %>
<a class="<%= if element.id is @document.id then 'active ' %>item" href="<%= element.url %>"><%= element.title %></a>

Loading…
Cancel
Save