Browse Source

Rebuild next dist

pull/2330/head
jlukic 9 years ago
parent
commit
4d488e0c15
8 changed files with 89 additions and 37 deletions
  1. 13
      dist/components/grid.css
  2. 2
      dist/components/grid.min.css
  3. 39
      dist/components/popup.js
  4. 2
      dist/components/popup.min.js
  5. 13
      dist/semantic.css
  6. 39
      dist/semantic.js
  7. 2
      dist/semantic.min.css
  8. 16
      dist/semantic.min.js

13
dist/components/grid.css

@ -1279,9 +1279,9 @@ body > .ui.grid {
/* Left Aligned */
.ui[class*="left aligned"].grid .column:not(.row),
.ui[class*="left aligned"].grid .column,
.ui.grid > [class*="left aligned"].row > .column,
.ui.grid > [class*="left aligned"].column:not(.row),
.ui.grid > [class*="left aligned"].column.column,
.ui.grid > .row > [class*="left aligned"].column {
text-align: left;
-webkit-align-self: inherit;
@ -1290,10 +1290,9 @@ body > .ui.grid {
}
/* Center Aligned */
.ui[class*="center aligned"].grid,
.ui[class*="center aligned"].grid .column:not(.row),
.ui[class*="center aligned"].grid .column,
.ui.grid > [class*="center aligned"].row > .column,
.ui.grid > [class*="center aligned"].column:not(.row),
.ui.grid > [class*="center aligned"].column.column,
.ui.grid > .row > [class*="center aligned"].column {
text-align: center;
-webkit-align-self: inherit;
@ -1308,9 +1307,9 @@ body > .ui.grid {
}
/* Right Aligned */
.ui[class*="right aligned"].grid .column:not(.row),
.ui[class*="right aligned"].grid .column,
.ui.grid > [class*="right aligned"].row > .column,
.ui.grid > [class*="right aligned"].column:not(.row),
.ui.grid > [class*="right aligned"].column.column,
.ui.grid > .row > [class*="right aligned"].column {
text-align: right;
-webkit-align-self: inherit;

2
dist/components/grid.min.css
File diff suppressed because it is too large
View File

39
dist/components/popup.js

@ -176,11 +176,12 @@ $.fn.popup = function(parameters) {
// generates popup html from metadata
create: function() {
var
html = $module.data(metadata.html) || settings.html,
variation = $module.data(metadata.variation) || settings.variation,
title = $module.data(metadata.title) || settings.title,
content = $module.data(metadata.content) || $module.attr('title') || settings.content
html = module.get.html(),
variation = module.get.variation(),
title = module.get.title(),
content = module.get.content()
;
if(html || content || title) {
module.debug('Creating pop-up html');
if(!html) {
@ -268,6 +269,10 @@ $.fn.popup = function(parameters) {
if( !module.exists() ) {
module.create();
}
if(settings.onShow.call($popup, element) === false) {
module.debug('onShow callback returned false, cancelling popup animation');
return;
}
else if(!settings.preserve && !settings.popup) {
module.refresh();
}
@ -285,6 +290,10 @@ $.fn.popup = function(parameters) {
hide: function(callback) {
callback = $.isFunction(callback) ? callback : function(){};
if( module.is.visible() || module.is.animating() ) {
if(settings.onHide.call($popup, element) === false) {
module.debug('onHide callback returned false, cancelling popup animation');
return;
}
module.remove.visible();
module.unbind.close();
module.restore.conditions();
@ -382,11 +391,14 @@ $.fn.popup = function(parameters) {
else {
module.error(error.noTransition);
}
settings.onShow.call($popup, element);
},
hide: function(callback) {
callback = $.isFunction(callback) ? callback : function(){};
module.debug('Hiding pop-up');
if(settings.onShow.call($popup, element) === false) {
module.debug('onShow callback returned false, cancelling popup animation');
return;
}
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
$popup
.transition({
@ -406,11 +418,26 @@ $.fn.popup = function(parameters) {
else {
module.error(error.noTransition);
}
settings.onHide.call($popup, element);
}
},
get: {
html: function() {
$module.removeData(metadata.html);
return $module.data(metadata.html) || settings.html;
},
title: function() {
$module.removeData(metadata.title);
return $module.data(metadata.title) || settings.title;
},
content: function() {
$module.removeData(metadata.content);
return $module.data(metadata.content) || $module.attr('title') || settings.content;
},
variation: function() {
$module.removeData(metadata.variation);
return $module.data(metadata.variation) || settings.variation;
},
id: function() {
return id;
},

2
dist/components/popup.min.js
File diff suppressed because it is too large
View File

13
dist/semantic.css

@ -17885,9 +17885,9 @@ body > .ui.grid {
/* Left Aligned */
.ui[class*="left aligned"].grid .column:not(.row),
.ui[class*="left aligned"].grid .column,
.ui.grid > [class*="left aligned"].row > .column,
.ui.grid > [class*="left aligned"].column:not(.row),
.ui.grid > [class*="left aligned"].column.column,
.ui.grid > .row > [class*="left aligned"].column {
text-align: left;
-webkit-align-self: inherit;
@ -17897,10 +17897,9 @@ body > .ui.grid {
/* Center Aligned */
.ui[class*="center aligned"].grid,
.ui[class*="center aligned"].grid .column:not(.row),
.ui[class*="center aligned"].grid .column,
.ui.grid > [class*="center aligned"].row > .column,
.ui.grid > [class*="center aligned"].column:not(.row),
.ui.grid > [class*="center aligned"].column.column,
.ui.grid > .row > [class*="center aligned"].column {
text-align: center;
-webkit-align-self: inherit;
@ -17917,9 +17916,9 @@ body > .ui.grid {
/* Right Aligned */
.ui[class*="right aligned"].grid .column:not(.row),
.ui[class*="right aligned"].grid .column,
.ui.grid > [class*="right aligned"].row > .column,
.ui.grid > [class*="right aligned"].column:not(.row),
.ui.grid > [class*="right aligned"].column.column,
.ui.grid > .row > [class*="right aligned"].column {
text-align: right;
-webkit-align-self: inherit;

39
dist/semantic.js

@ -8785,11 +8785,12 @@ $.fn.popup = function(parameters) {
// generates popup html from metadata
create: function() {
var
html = $module.data(metadata.html) || settings.html,
variation = $module.data(metadata.variation) || settings.variation,
title = $module.data(metadata.title) || settings.title,
content = $module.data(metadata.content) || $module.attr('title') || settings.content
html = module.get.html(),
variation = module.get.variation(),
title = module.get.title(),
content = module.get.content()
;
if(html || content || title) {
module.debug('Creating pop-up html');
if(!html) {
@ -8877,6 +8878,10 @@ $.fn.popup = function(parameters) {
if( !module.exists() ) {
module.create();
}
if(settings.onShow.call($popup, element) === false) {
module.debug('onShow callback returned false, cancelling popup animation');
return;
}
else if(!settings.preserve && !settings.popup) {
module.refresh();
}
@ -8894,6 +8899,10 @@ $.fn.popup = function(parameters) {
hide: function(callback) {
callback = $.isFunction(callback) ? callback : function(){};
if( module.is.visible() || module.is.animating() ) {
if(settings.onHide.call($popup, element) === false) {
module.debug('onHide callback returned false, cancelling popup animation');
return;
}
module.remove.visible();
module.unbind.close();
module.restore.conditions();
@ -8991,11 +9000,14 @@ $.fn.popup = function(parameters) {
else {
module.error(error.noTransition);
}
settings.onShow.call($popup, element);
},
hide: function(callback) {
callback = $.isFunction(callback) ? callback : function(){};
module.debug('Hiding pop-up');
if(settings.onShow.call($popup, element) === false) {
module.debug('onShow callback returned false, cancelling popup animation');
return;
}
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
$popup
.transition({
@ -9015,11 +9027,26 @@ $.fn.popup = function(parameters) {
else {
module.error(error.noTransition);
}
settings.onHide.call($popup, element);
}
},
get: {
html: function() {
$module.removeData(metadata.html);
return $module.data(metadata.html) || settings.html;
},
title: function() {
$module.removeData(metadata.title);
return $module.data(metadata.title) || settings.title;
},
content: function() {
$module.removeData(metadata.content);
return $module.data(metadata.content) || $module.attr('title') || settings.content;
},
variation: function() {
$module.removeData(metadata.variation);
return $module.data(metadata.variation) || settings.variation;
},
id: function() {
return id;
},

2
dist/semantic.min.css
File diff suppressed because it is too large
View File

16
dist/semantic.min.js
File diff suppressed because it is too large
View File

Loading…
Cancel
Save