Browse Source

Rebuild dist

1.0
jlukic 10 years ago
parent
commit
50f211bbdf
12 changed files with 72 additions and 46 deletions
  1. 8
      dist/components/checkbox.js
  2. 2
      dist/components/checkbox.min.js
  3. 2
      dist/components/grid.css
  4. 2
      dist/components/grid.min.css
  5. 39
      dist/components/popup.js
  6. 2
      dist/components/popup.min.js
  7. 2
      dist/components/progress.css
  8. 2
      dist/components/progress.min.css
  9. 4
      dist/semantic.css
  10. 47
      dist/semantic.js
  11. 2
      dist/semantic.min.css
  12. 6
      dist/semantic.min.js

8
dist/components/checkbox.js

@ -205,16 +205,16 @@ $.fn.checkbox = function(parameters) {
enable: function() {
module.debug('Enabling checkbox functionality');
$module.addClass(className.disabled);
$module.removeClass(className.disabled);
$input.prop('disabled', false);
$.proxy(settings.onDisabled, $input.get())();
$.proxy(settings.onEnabled, $input.get())();
},
disable: function() {
module.debug('Disabling checkbox functionality');
$module.removeClass(className.disabled);
$module.addClass(className.disabled);
$input.prop('disabled', 'disabled');
$.proxy(settings.onEnabled, $input.get())();
$.proxy(settings.onDisabled, $input.get())();
},
check: function() {

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

2
dist/components/grid.css

@ -62,6 +62,7 @@
/* Standard 16 column */
.ui.grid > .column:not(.row),
.ui.grid > .row > .column {
position: relative;
display: inline-block;
text-align: left;
font-size: 1rem;
@ -80,6 +81,7 @@
--------------------*/
.ui.grid > .row {
position: relative;
display: block;
width: auto !important;
padding: 0rem;

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

39
dist/components/popup.js

@ -111,12 +111,21 @@ $.fn.popup = function(parameters) {
? $target.next(settings.selector.popup)
: false
;
$offsetParent = (settings.popup)
? $popup.offsetParent()
: (settings.inline)
? $target.offsetParent()
: $body
;
if(settings.popup) {
$popup.addClass(className.loading);
$offsetParent = $popup.offsetParent();
$popup.removeClass(className.loading);
}
else {
$offsetParent = (settings.inline)
? $target.offsetParent()
: $body
;
}
if( $offsetParent.is('html') ) {
module.debug('Page is popups offset parent');
$offsetParent = $body;
}
},
reposition: function() {
@ -431,7 +440,7 @@ $.fn.popup = function(parameters) {
top : (popup.offset.top < boundary.top),
bottom : (popup.offset.top + popup.height > boundary.bottom),
right : (popup.offset.left + popup.width > boundary.right),
left : (popup.offset.left < boundary.left)
left : false
};
}
// return only boundaries that have been surpassed
@ -488,13 +497,8 @@ $.fn.popup = function(parameters) {
popupWidth = $popup.outerWidth(),
popupHeight = $popup.outerHeight(),
parentWidth = ( $offsetParent.is('html') )
? $offsetParent.find('body').width()
: $offsetParent.outerWidth(),
parentHeight = ( $offsetParent.is('html') )
? $offsetParent.find('body').height()
: $offsetParent.outerHeight(),
parentWidth = $offsetParent.outerWidth(),
parentHeight = $offsetParent.outerHeight(),
distanceAway = settings.distanceAway,
@ -610,6 +614,7 @@ $.fn.popup = function(parameters) {
;
// check if is offstage
offstagePosition = module.get.offstagePosition(position);
// recursively find new positioning
if(offstagePosition) {
module.debug('Element is outside boundaries', offstagePosition);
@ -633,6 +638,9 @@ $.fn.popup = function(parameters) {
else {
module.debug('Position is on stage', position);
searchDepth = 0;
if( settings.setFluidWidth && $popup.hasClass(className.fluid) ) {
$popup.css('width', $offsetParent.width());
}
$popup.removeClass(className.loading);
return true;
}
@ -939,6 +947,8 @@ $.fn.popup.settings = {
hide : 0
},
setFluidWidth : true,
target : false,
popup : false,
inline : false,
@ -972,6 +982,7 @@ $.fn.popup.settings = {
active : 'active',
animating : 'animating',
dropdown : 'dropdown',
fluid : 'fluid',
loading : 'loading',
popup : 'ui popup',
position : 'top left center bottom right',

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

2
dist/components/progress.css

@ -49,7 +49,7 @@
background-color: #b4d95c;
}
.ui.indicating.progress .bar[style^="width: 9"],
.ui.indicating.progress .bar[style^="width: 100"] {
.ui.indicating.progress .bar[style^="width: 100"]:not(.success) {
background-color: #66da81;
}
.ui.indicating.progress .bar[style^="width: 1%"],

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

4
dist/semantic.css

@ -9002,6 +9002,7 @@ i.flag.zimbabwe:before {
.ui.grid > .column:not(.row),
.ui.grid > .row > .column {
position: relative;
display: inline-block;
text-align: left;
font-size: 1rem;
@ -9021,6 +9022,7 @@ i.flag.zimbabwe:before {
--------------------*/
.ui.grid > .row {
position: relative;
display: block;
width: auto !important;
padding: 0rem;
@ -20374,7 +20376,7 @@ a.ui.nag {
}
.ui.indicating.progress .bar[style^="width: 9"],
.ui.indicating.progress .bar[style^="width: 100"] {
.ui.indicating.progress .bar[style^="width: 100"]:not(.success) {
background-color: #66da81;
}

47
dist/semantic.js

@ -2336,16 +2336,16 @@ $.fn.checkbox = function(parameters) {
enable: function() {
module.debug('Enabling checkbox functionality');
$module.addClass(className.disabled);
$module.removeClass(className.disabled);
$input.prop('disabled', false);
$.proxy(settings.onDisabled, $input.get())();
$.proxy(settings.onEnabled, $input.get())();
},
disable: function() {
module.debug('Disabling checkbox functionality');
$module.removeClass(className.disabled);
$module.addClass(className.disabled);
$input.prop('disabled', 'disabled');
$.proxy(settings.onEnabled, $input.get())();
$.proxy(settings.onDisabled, $input.get())();
},
check: function() {
@ -7151,12 +7151,21 @@ $.fn.popup = function(parameters) {
? $target.next(settings.selector.popup)
: false
;
$offsetParent = (settings.popup)
? $popup.offsetParent()
: (settings.inline)
? $target.offsetParent()
: $body
;
if(settings.popup) {
$popup.addClass(className.loading);
$offsetParent = $popup.offsetParent();
$popup.removeClass(className.loading);
}
else {
$offsetParent = (settings.inline)
? $target.offsetParent()
: $body
;
}
if( $offsetParent.is('html') ) {
module.debug('Page is popups offset parent');
$offsetParent = $body;
}
},
reposition: function() {
@ -7471,7 +7480,7 @@ $.fn.popup = function(parameters) {
top : (popup.offset.top < boundary.top),
bottom : (popup.offset.top + popup.height > boundary.bottom),
right : (popup.offset.left + popup.width > boundary.right),
left : (popup.offset.left < boundary.left)
left : false
};
}
// return only boundaries that have been surpassed
@ -7528,13 +7537,8 @@ $.fn.popup = function(parameters) {
popupWidth = $popup.outerWidth(),
popupHeight = $popup.outerHeight(),
parentWidth = ( $offsetParent.is('html') )
? $offsetParent.find('body').width()
: $offsetParent.outerWidth(),
parentHeight = ( $offsetParent.is('html') )
? $offsetParent.find('body').height()
: $offsetParent.outerHeight(),
parentWidth = $offsetParent.outerWidth(),
parentHeight = $offsetParent.outerHeight(),
distanceAway = settings.distanceAway,
@ -7650,6 +7654,7 @@ $.fn.popup = function(parameters) {
;
// check if is offstage
offstagePosition = module.get.offstagePosition(position);
// recursively find new positioning
if(offstagePosition) {
module.debug('Element is outside boundaries', offstagePosition);
@ -7673,6 +7678,9 @@ $.fn.popup = function(parameters) {
else {
module.debug('Position is on stage', position);
searchDepth = 0;
if( settings.setFluidWidth && $popup.hasClass(className.fluid) ) {
$popup.css('width', $offsetParent.width());
}
$popup.removeClass(className.loading);
return true;
}
@ -7979,6 +7987,8 @@ $.fn.popup.settings = {
hide : 0
},
setFluidWidth : true,
target : false,
popup : false,
inline : false,
@ -8012,6 +8022,7 @@ $.fn.popup.settings = {
active : 'active',
animating : 'animating',
dropdown : 'dropdown',
fluid : 'fluid',
loading : 'loading',
popup : 'ui popup',
position : 'top left center bottom right',

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

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

Loading…
Cancel
Save