Browse Source

Build JS files

pull/4211/head
Andrei Horodinca 7 years ago
parent
commit
69cba7f7f3
23 changed files with 32 additions and 88 deletions
  1. 2
      dist/components/accordion.min.js
  2. 2
      dist/components/api.min.js
  3. 2
      dist/components/checkbox.min.js
  4. 2
      dist/components/dimmer.min.js
  5. 58
      dist/components/dropdown.js
  6. 4
      dist/components/dropdown.min.js
  7. 2
      dist/components/embed.min.js
  8. 2
      dist/components/form.min.js
  9. 2
      dist/components/modal.min.js
  10. 2
      dist/components/nag.min.js
  11. 2
      dist/components/popup.min.js
  12. 2
      dist/components/progress.min.js
  13. 2
      dist/components/rating.min.js
  14. 2
      dist/components/search.min.js
  15. 2
      dist/components/shape.min.js
  16. 2
      dist/components/sidebar.min.js
  17. 2
      dist/components/site.min.js
  18. 2
      dist/components/state.min.js
  19. 2
      dist/components/sticky.min.js
  20. 2
      dist/components/tab.min.js
  21. 2
      dist/components/transition.min.js
  22. 2
      dist/components/visibility.min.js
  23. 18
      dist/semantic.min.js

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

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

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

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

58
dist/components/dropdown.js

@ -2330,12 +2330,6 @@ $.fn.dropdown = function(parameters) {
else {
module.set.upward($menu);
}
if(module.is.fitWidth($menu)) {
module.remove.leftward($menu);
}
else {
module.set.leftward($menu);
}
}
else if(settings.direction == 'upward') {
module.set.upward($menu);
@ -2345,14 +2339,6 @@ $.fn.dropdown = function(parameters) {
var $element = $menu || $module;
$element.addClass(className.upward);
},
leftward: function($menu) {
var $element = $menu || $module;
var parentMenu = $element.parent().closest(selector.menu);
if (parentMenu.hasClass('transition')) {
$element = parentMenu;
}
$element.addClass(className.leftward);
},
value: function(value, text, $selected) {
var
escapedValue = module.escape.value(value),
@ -2705,14 +2691,6 @@ $.fn.dropdown = function(parameters) {
var $element = $menu || $module;
$element.removeClass(className.upward);
},
leftward: function($menu) {
var $element = $menu || $module;
var parentMenu = $element.parent().closest(selector.menu);
if (parentMenu.hasClass('transition')) {
$element = parentMenu;
}
$element.removeClass(className.leftward);
},
visible: function() {
$module.removeClass(className.visible);
},
@ -3069,34 +3047,6 @@ $.fn.dropdown = function(parameters) {
$currentMenu.removeClass(className.loading);
return canOpenDownward;
},
fitWidth: function($subMenu) {
var
$currentMenu = $subMenu || $menu,
canOpenRightward = true,
isOutsideScreen = false,
calculations
;
$currentMenu.addClass(className.loading);
calculations = {
childrenWidth: 0,
contextWidth: $context.outerWidth(),
menuOffset : $currentMenu.offset().left,
menuWidth : $currentMenu.outerWidth()
};
$currentMenu.find(selector.menu).each(function() {
var child = $(this);
child.show();
calculations.childrenWidth += child[0].offsetWidth;
});
isOutsideScreen = ((calculations.contextWidth < calculations.menuOffset + calculations.menuWidth + calculations.childrenWidth) || (calculations.menuOffset - $menu.offset().left < 0));
if(isOutsideScreen) {
module.verbose('Dropdown cannot fit in context rightward', isOutsideScreen);
canOpenRightward = false;
}
$currentMenu.removeClass(className.loading);
return canOpenRightward;
},
inObject: function(needle, object) {
var
found = false
@ -3266,12 +3216,7 @@ $.fn.dropdown = function(parameters) {
onStart : start,
onComplete : function() {
if(settings.direction == 'auto') {
if ($currentMenu.hasClass(className.leftward)) {
module.remove.leftward($subMenu);
}
else {
module.remove.upward($subMenu);
}
module.remove.upward($subMenu);
}
callback.call(element);
}
@ -3699,7 +3644,6 @@ $.fn.dropdown.settings = {
selected : 'selected',
selection : 'selection',
upward : 'upward',
leftward : 'left',
visible : 'visible'
}

4
dist/components/dropdown.min.js
File diff suppressed because it is too large
View File

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save