fomantic-ui 2.9.0-beta.310 → 2.9.0-beta.311

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +1 -1
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +1 -1
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +1 -1
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +1 -1
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +1 -1
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/feed.css +1 -1
  42. package/dist/components/feed.min.css +1 -1
  43. package/dist/components/flag.css +1 -1
  44. package/dist/components/flag.min.css +1 -1
  45. package/dist/components/form.css +1 -1
  46. package/dist/components/form.js +1 -1
  47. package/dist/components/form.min.css +1 -1
  48. package/dist/components/form.min.js +1 -1
  49. package/dist/components/grid.css +1 -1
  50. package/dist/components/grid.min.css +1 -1
  51. package/dist/components/header.css +1 -1
  52. package/dist/components/header.min.css +1 -1
  53. package/dist/components/icon.css +1 -1
  54. package/dist/components/icon.min.css +1 -1
  55. package/dist/components/image.css +1 -1
  56. package/dist/components/image.min.css +1 -1
  57. package/dist/components/input.css +1 -1
  58. package/dist/components/input.min.css +1 -1
  59. package/dist/components/item.css +1 -1
  60. package/dist/components/item.min.css +1 -1
  61. package/dist/components/label.css +1 -1
  62. package/dist/components/label.min.css +1 -1
  63. package/dist/components/list.css +1 -1
  64. package/dist/components/list.min.css +1 -1
  65. package/dist/components/loader.css +1 -1
  66. package/dist/components/loader.min.css +1 -1
  67. package/dist/components/message.css +1 -1
  68. package/dist/components/message.min.css +1 -1
  69. package/dist/components/modal.css +1 -1
  70. package/dist/components/modal.js +1 -1
  71. package/dist/components/modal.min.css +1 -1
  72. package/dist/components/modal.min.js +1 -1
  73. package/dist/components/nag.css +1 -1
  74. package/dist/components/nag.js +1 -1
  75. package/dist/components/nag.min.css +1 -1
  76. package/dist/components/nag.min.js +1 -1
  77. package/dist/components/placeholder.css +1 -1
  78. package/dist/components/placeholder.min.css +1 -1
  79. package/dist/components/popup.css +1 -1
  80. package/dist/components/popup.js +1 -1
  81. package/dist/components/popup.min.css +1 -1
  82. package/dist/components/popup.min.js +1 -1
  83. package/dist/components/progress.css +1 -1
  84. package/dist/components/progress.js +1 -1
  85. package/dist/components/progress.min.css +1 -1
  86. package/dist/components/progress.min.js +1 -1
  87. package/dist/components/rail.css +1 -1
  88. package/dist/components/rail.min.css +1 -1
  89. package/dist/components/rating.css +1 -1
  90. package/dist/components/rating.js +1 -1
  91. package/dist/components/rating.min.css +1 -1
  92. package/dist/components/rating.min.js +1 -1
  93. package/dist/components/reset.css +1 -1
  94. package/dist/components/reset.min.css +1 -1
  95. package/dist/components/reveal.css +1 -1
  96. package/dist/components/reveal.min.css +1 -1
  97. package/dist/components/search.css +1 -1
  98. package/dist/components/search.js +1 -1
  99. package/dist/components/search.min.css +1 -1
  100. package/dist/components/search.min.js +1 -1
  101. package/dist/components/segment.css +1 -1
  102. package/dist/components/segment.min.css +1 -1
  103. package/dist/components/shape.css +1 -1
  104. package/dist/components/shape.js +1 -1
  105. package/dist/components/shape.min.css +1 -1
  106. package/dist/components/shape.min.js +1 -1
  107. package/dist/components/sidebar.css +7 -3
  108. package/dist/components/sidebar.js +104 -27
  109. package/dist/components/sidebar.min.css +2 -2
  110. package/dist/components/sidebar.min.js +2 -2
  111. package/dist/components/site.css +1 -1
  112. package/dist/components/site.js +1 -1
  113. package/dist/components/site.min.css +1 -1
  114. package/dist/components/site.min.js +1 -1
  115. package/dist/components/slider.js +1 -1
  116. package/dist/components/slider.min.js +1 -1
  117. package/dist/components/state.js +1 -1
  118. package/dist/components/state.min.js +1 -1
  119. package/dist/components/statistic.css +1 -1
  120. package/dist/components/statistic.min.css +1 -1
  121. package/dist/components/step.css +1 -1
  122. package/dist/components/step.min.css +1 -1
  123. package/dist/components/sticky.css +1 -1
  124. package/dist/components/sticky.js +1 -1
  125. package/dist/components/sticky.min.css +1 -1
  126. package/dist/components/sticky.min.js +1 -1
  127. package/dist/components/tab.css +1 -1
  128. package/dist/components/tab.js +1 -1
  129. package/dist/components/tab.min.css +1 -1
  130. package/dist/components/tab.min.js +1 -1
  131. package/dist/components/table.css +1 -1
  132. package/dist/components/table.min.css +1 -1
  133. package/dist/components/text.css +1 -1
  134. package/dist/components/text.min.css +1 -1
  135. package/dist/components/toast.css +1 -1
  136. package/dist/components/toast.js +1 -1
  137. package/dist/components/toast.min.css +1 -1
  138. package/dist/components/toast.min.js +1 -1
  139. package/dist/components/transition.css +1 -1
  140. package/dist/components/transition.js +1 -1
  141. package/dist/components/transition.min.css +1 -1
  142. package/dist/components/transition.min.js +1 -1
  143. package/dist/components/visibility.js +1 -1
  144. package/dist/components/visibility.min.js +1 -1
  145. package/dist/semantic.css +56 -51
  146. package/dist/semantic.js +128 -51
  147. package/dist/semantic.min.css +2 -2
  148. package/dist/semantic.min.js +2 -2
  149. package/package.json +1 -1
  150. package/src/definitions/modules/sidebar.js +103 -26
  151. package/src/definitions/modules/sidebar.less +6 -2
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.310+19b7d18
2
+ * # Fomantic UI - 2.9.0-beta.311+116f84b
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *
@@ -9,7 +9,7 @@
9
9
  *
10
10
  */
11
11
  /*!
12
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Site
12
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Site
13
13
  * http://github.com/fomantic/Fomantic-UI/
14
14
  *
15
15
  *
@@ -503,7 +503,7 @@ $.extend($.expr[ ":" ], {
503
503
  })( jQuery, window, document );
504
504
 
505
505
  /*!
506
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Form Validation
506
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Form Validation
507
507
  * http://github.com/fomantic/Fomantic-UI/
508
508
  *
509
509
  *
@@ -2584,7 +2584,7 @@ $.fn.form.settings = {
2584
2584
  })( jQuery, window, document );
2585
2585
 
2586
2586
  /*!
2587
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Accordion
2587
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Accordion
2588
2588
  * http://github.com/fomantic/Fomantic-UI/
2589
2589
  *
2590
2590
  *
@@ -3209,7 +3209,7 @@ $.extend( $.easing, {
3209
3209
 
3210
3210
 
3211
3211
  /*!
3212
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Calendar
3212
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Calendar
3213
3213
  * http://github.com/fomantic/Fomantic-UI/
3214
3214
  *
3215
3215
  *
@@ -5101,7 +5101,7 @@ $.fn.calendar.settings = {
5101
5101
  })(jQuery, window, document);
5102
5102
 
5103
5103
  /*!
5104
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Checkbox
5104
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Checkbox
5105
5105
  * http://github.com/fomantic/Fomantic-UI/
5106
5106
  *
5107
5107
  *
@@ -5985,7 +5985,7 @@ $.fn.checkbox.settings = {
5985
5985
  })( jQuery, window, document );
5986
5986
 
5987
5987
  /*!
5988
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Dimmer
5988
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Dimmer
5989
5989
  * http://github.com/fomantic/Fomantic-UI/
5990
5990
  *
5991
5991
  *
@@ -6754,7 +6754,7 @@ $.fn.dimmer.settings = {
6754
6754
  })( jQuery, window, document );
6755
6755
 
6756
6756
  /*!
6757
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Dropdown
6757
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Dropdown
6758
6758
  * http://github.com/fomantic/Fomantic-UI/
6759
6759
  *
6760
6760
  *
@@ -11136,7 +11136,7 @@ $.fn.dropdown.settings.templates = {
11136
11136
  })( jQuery, window, document );
11137
11137
 
11138
11138
  /*!
11139
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Embed
11139
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Embed
11140
11140
  * http://github.com/fomantic/Fomantic-UI/
11141
11141
  *
11142
11142
  *
@@ -11852,7 +11852,7 @@ $.fn.embed.settings = {
11852
11852
  })( jQuery, window, document );
11853
11853
 
11854
11854
  /*!
11855
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Modal
11855
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Modal
11856
11856
  * http://github.com/fomantic/Fomantic-UI/
11857
11857
  *
11858
11858
  *
@@ -13387,7 +13387,7 @@ $.fn.modal.settings.templates = {
13387
13387
  })( jQuery, window, document );
13388
13388
 
13389
13389
  /*!
13390
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Nag
13390
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Nag
13391
13391
  * http://github.com/fomantic/Fomantic-UI/
13392
13392
  *
13393
13393
  *
@@ -13946,7 +13946,7 @@ $.extend( $.easing, {
13946
13946
  })( jQuery, window, document );
13947
13947
 
13948
13948
  /*!
13949
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Popup
13949
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Popup
13950
13950
  * http://github.com/fomantic/Fomantic-UI/
13951
13951
  *
13952
13952
  *
@@ -15490,7 +15490,7 @@ $.fn.popup.settings = {
15490
15490
  })( jQuery, window, document );
15491
15491
 
15492
15492
  /*!
15493
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Progress
15493
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Progress
15494
15494
  * http://github.com/fomantic/Fomantic-UI/
15495
15495
  *
15496
15496
  *
@@ -16527,7 +16527,7 @@ $.fn.progress.settings = {
16527
16527
  })( jQuery, window, document );
16528
16528
 
16529
16529
  /*!
16530
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Slider
16530
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Slider
16531
16531
  * http://github.com/fomantic/Fomantic-UI/
16532
16532
  *
16533
16533
  *
@@ -17883,7 +17883,7 @@ $.fn.slider.settings = {
17883
17883
  })( jQuery, window, document );
17884
17884
 
17885
17885
  /*!
17886
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Rating
17886
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Rating
17887
17887
  * http://github.com/fomantic/Fomantic-UI/
17888
17888
  *
17889
17889
  *
@@ -18442,7 +18442,7 @@ $.fn.rating.settings = {
18442
18442
  })( jQuery, window, document );
18443
18443
 
18444
18444
  /*!
18445
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Search
18445
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Search
18446
18446
  * http://github.com/fomantic/Fomantic-UI/
18447
18447
  *
18448
18448
  *
@@ -20034,7 +20034,7 @@ $.fn.search.settings = {
20034
20034
  })( jQuery, window, document );
20035
20035
 
20036
20036
  /*!
20037
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Shape
20037
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Shape
20038
20038
  * http://github.com/fomantic/Fomantic-UI/
20039
20039
  *
20040
20040
  *
@@ -20883,7 +20883,7 @@ $.fn.shape.settings = {
20883
20883
  })( jQuery, window, document );
20884
20884
 
20885
20885
  /*!
20886
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Sidebar
20886
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Sidebar
20887
20887
  * http://github.com/fomantic/Fomantic-UI/
20888
20888
  *
20889
20889
  *
@@ -20912,6 +20912,7 @@ $.fn.sidebar = function(parameters) {
20912
20912
  $allModules = $(this),
20913
20913
  $window = $(window),
20914
20914
  $document = $(document),
20915
+ $body = $('body'),
20915
20916
  $html = $('html'),
20916
20917
  $head = $('head'),
20917
20918
 
@@ -20950,7 +20951,8 @@ $.fn.sidebar = function(parameters) {
20950
20951
  moduleNamespace = 'module-' + namespace,
20951
20952
 
20952
20953
  $module = $(this),
20953
- $context = [window,document].indexOf(settings.context) < 0 ? $(document).find(settings.context) : $(settings.context),
20954
+ $context = [window,document].indexOf(settings.context) < 0 ? $(document).find(settings.context) : $body,
20955
+ isBody = $context[0] === $body[0],
20954
20956
 
20955
20957
  $sidebars = $module.children(selector.sidebar),
20956
20958
  $fixed = $context.children(selector.fixed),
@@ -20964,6 +20966,9 @@ $.fn.sidebar = function(parameters) {
20964
20966
  id,
20965
20967
  currentScroll,
20966
20968
  transitionEvent,
20969
+ initialBodyMargin = '',
20970
+ tempBodyMargin = '',
20971
+ hadScrollbar = false,
20967
20972
 
20968
20973
  module
20969
20974
  ;
@@ -21069,9 +21074,12 @@ $.fn.sidebar = function(parameters) {
21069
21074
  scrollLock: function() {
21070
21075
  if(settings.scrollLock) {
21071
21076
  module.debug('Disabling page scroll');
21072
- $window
21073
- .on('DOMMouseScroll' + elementNamespace, module.event.scroll)
21074
- ;
21077
+ hadScrollbar = module.has.scrollbar();
21078
+ if(hadScrollbar) {
21079
+ module.save.bodyMargin();
21080
+ module.set.bodyMargin();
21081
+ }
21082
+ $context.addClass(className.locked);
21075
21083
  }
21076
21084
  module.verbose('Adding events to contain sidebar scroll');
21077
21085
  $document
@@ -21089,8 +21097,11 @@ $.fn.sidebar = function(parameters) {
21089
21097
  },
21090
21098
  scrollLock: function() {
21091
21099
  module.verbose('Removing scroll lock from page');
21100
+ if(hadScrollbar) {
21101
+ module.restore.bodyMargin();
21102
+ }
21103
+ $context.removeClass(className.locked);
21092
21104
  $document.off(elementNamespace);
21093
- $window.off(elementNamespace);
21094
21105
  $module.off('scroll' + eventNamespace);
21095
21106
  }
21096
21107
  },
@@ -21248,7 +21259,22 @@ $.fn.sidebar = function(parameters) {
21248
21259
  module.error(error.notFound, selector);
21249
21260
  }
21250
21261
  },
21251
-
21262
+ can: {
21263
+ leftBodyScrollbar: function () {
21264
+ if (module.cache.leftBodyScrollbar === undefined) {
21265
+ module.cache.leftBodyScrollbar = module.is.rtl() && ((module.is.iframe && !module.is.firefox()) || module.is.safari() || module.is.edge() || module.is.ie());
21266
+ }
21267
+ return module.cache.leftBodyScrollbar;
21268
+ }
21269
+ },
21270
+ save: {
21271
+ bodyMargin: function() {
21272
+ initialBodyMargin = $context.css((isBody ? 'margin-':'padding-')+(module.can.leftBodyScrollbar() ? 'left':'right'));
21273
+ var bodyMarginRightPixel = parseInt(initialBodyMargin.replace(/[^\d.]/g, '')),
21274
+ bodyScrollbarWidth = isBody ? window.innerWidth - document.documentElement.clientWidth : $context[0].offsetWidth - $context[0].clientWidth;
21275
+ tempBodyMargin = bodyMarginRightPixel + bodyScrollbarWidth;
21276
+ }
21277
+ },
21252
21278
  show: function(callback) {
21253
21279
  callback = $.isFunction(callback)
21254
21280
  ? callback
@@ -21359,9 +21385,13 @@ $.fn.sidebar = function(parameters) {
21359
21385
  ? callback
21360
21386
  : function(){}
21361
21387
  ;
21362
- if(settings.transition == 'scale down') {
21388
+ if(settings.returnScroll) {
21389
+ currentScroll = (isBody ? $window : $context).scrollTop();
21390
+ }
21391
+ if(settings.transition === 'scale down') {
21363
21392
  module.scrollToTop();
21364
21393
  }
21394
+ module.bind.scrollLock();
21365
21395
  module.set.transition(transition);
21366
21396
  module.repaint();
21367
21397
  animate = function() {
@@ -21377,7 +21407,6 @@ $.fn.sidebar = function(parameters) {
21377
21407
  if( event.target == $transition[0] ) {
21378
21408
  $transition.off(transitionEvent + elementNamespace, transitionEnd);
21379
21409
  module.remove.animating();
21380
- module.bind.scrollLock();
21381
21410
  callback.call(element);
21382
21411
  }
21383
21412
  };
@@ -21421,7 +21450,7 @@ $.fn.sidebar = function(parameters) {
21421
21450
  module.remove.animating();
21422
21451
  module.remove.transition();
21423
21452
  module.remove.inlineCSS();
21424
- if(transition == 'scale down' || (settings.returnScroll && module.is.mobile()) ) {
21453
+ if(transition === 'scale down' || settings.returnScroll) {
21425
21454
  module.scrollBack();
21426
21455
  }
21427
21456
  callback.call(element);
@@ -21434,14 +21463,13 @@ $.fn.sidebar = function(parameters) {
21434
21463
 
21435
21464
  scrollToTop: function() {
21436
21465
  module.verbose('Scrolling to top of page to avoid animation issues');
21437
- currentScroll = $(window).scrollTop();
21438
21466
  $module.scrollTop(0);
21439
- window.scrollTo(0, 0);
21467
+ (isBody ? $window : $context)[0].scrollTo(0, 0);
21440
21468
  },
21441
21469
 
21442
21470
  scrollBack: function() {
21443
21471
  module.verbose('Scrolling back to original page position');
21444
- window.scrollTo(0, currentScroll);
21472
+ (isBody ? $window : $context)[0].scrollTo(0, currentScroll);
21445
21473
  },
21446
21474
 
21447
21475
  clear: {
@@ -21452,7 +21480,16 @@ $.fn.sidebar = function(parameters) {
21452
21480
  },
21453
21481
 
21454
21482
  set: {
21455
-
21483
+ bodyMargin: function() {
21484
+ var position = module.can.leftBodyScrollbar() ? 'left':'right';
21485
+ $context.css((isBody ? 'margin-':'padding-')+position, tempBodyMargin + 'px');
21486
+ $context.find(selector.bodyFixed.replace('right',position)).each(function(){
21487
+ var el = $(this),
21488
+ attribute = el.css('position') === 'fixed' ? 'padding-'+position : position
21489
+ ;
21490
+ el.css(attribute, 'calc(' + el.css(attribute) + ' + ' + tempBodyMargin + 'px)');
21491
+ });
21492
+ },
21456
21493
  // ios only (scroll on html not document). This prevent auto-resize canvas/scroll in ios
21457
21494
  // (This is no longer necessary in latest iOS)
21458
21495
  ios: function() {
@@ -21538,7 +21575,18 @@ $.fn.sidebar = function(parameters) {
21538
21575
  $module.removeClass(className.overlay);
21539
21576
  }
21540
21577
  },
21541
-
21578
+ restore: {
21579
+ bodyMargin: function() {
21580
+ var position = module.can.leftBodyScrollbar() ? 'left':'right';
21581
+ $context.css((isBody ? 'margin-':'padding-')+position, initialBodyMargin);
21582
+ $context.find(selector.bodyFixed.replace('right',position)).each(function(){
21583
+ var el = $(this),
21584
+ attribute = el.css('position') === 'fixed' ? 'padding-'+position : position
21585
+ ;
21586
+ el.css(attribute, '');
21587
+ });
21588
+ }
21589
+ },
21542
21590
  get: {
21543
21591
  direction: function() {
21544
21592
  if($module.hasClass(className.top)) {
@@ -21586,15 +21634,42 @@ $.fn.sidebar = function(parameters) {
21586
21634
  }
21587
21635
  }
21588
21636
  },
21589
-
21637
+ has: {
21638
+ scrollbar: function() {
21639
+ return isBody || $context.css('overflow-y') !== 'hidden';
21640
+ }
21641
+ },
21590
21642
  is: {
21591
-
21643
+ safari: function() {
21644
+ if(module.cache.isSafari === undefined) {
21645
+ module.cache.isSafari = /constructor/i.test(window.HTMLElement) || !!window.ApplePaySession;
21646
+ }
21647
+ return module.cache.isSafari;
21648
+ },
21649
+ edge: function(){
21650
+ if(module.cache.isEdge === undefined) {
21651
+ module.cache.isEdge = !!window.setImmediate && !module.is.ie();
21652
+ }
21653
+ return module.cache.isEdge;
21654
+ },
21655
+ firefox: function(){
21656
+ if(module.cache.isFirefox === undefined) {
21657
+ module.cache.isFirefox = !!window.InstallTrigger;
21658
+ }
21659
+ return module.cache.isFirefox;
21660
+ },
21661
+ iframe: function() {
21662
+ return !(self === top);
21663
+ },
21592
21664
  ie: function() {
21593
- var
21594
- isIE11 = (!(window.ActiveXObject) && 'ActiveXObject' in window),
21595
- isIE = ('ActiveXObject' in window)
21596
- ;
21597
- return (isIE11 || isIE);
21665
+ if(module.cache.isIE === undefined) {
21666
+ var
21667
+ isIE11 = (!(window.ActiveXObject) && 'ActiveXObject' in window),
21668
+ isIE = ('ActiveXObject' in window)
21669
+ ;
21670
+ module.cache.isIE = (isIE11 || isIE);
21671
+ }
21672
+ return module.cache.isIE;
21598
21673
  },
21599
21674
 
21600
21675
  ios: function() {
@@ -21644,12 +21719,12 @@ $.fn.sidebar = function(parameters) {
21644
21719
  animating: function() {
21645
21720
  return $context.hasClass(className.animating);
21646
21721
  },
21647
- rtl: function () {
21648
- if(module.cache.rtl === undefined) {
21649
- module.cache.rtl = $module.attr('dir') === 'rtl' || $module.css('direction') === 'rtl';
21722
+ rtl: function() {
21723
+ if(module.cache.isRTL === undefined) {
21724
+ module.cache.isRTL = $module.attr('dir') === 'rtl' || $module.css('direction') === 'rtl' || $body.attr('dir') === 'rtl' || $body.css('direction') === 'rtl' || $context.attr('dir') === 'rtl' || $context.css('direction') === 'rtl';
21650
21725
  }
21651
- return module.cache.rtl;
21652
- }
21726
+ return module.cache.isRTL;
21727
+ },
21653
21728
  },
21654
21729
 
21655
21730
  setting: function(name, value) {
@@ -21886,6 +21961,7 @@ $.fn.sidebar.settings = {
21886
21961
  animating : 'animating',
21887
21962
  dimmed : 'dimmed',
21888
21963
  ios : 'ios',
21964
+ locked : 'locked',
21889
21965
  pushable : 'pushable',
21890
21966
  pushed : 'pushed',
21891
21967
  right : 'right',
@@ -21896,6 +21972,7 @@ $.fn.sidebar.settings = {
21896
21972
  },
21897
21973
 
21898
21974
  selector: {
21975
+ bodyFixed: '> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close',
21899
21976
  fixed : '.fixed',
21900
21977
  omitted : 'script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed',
21901
21978
  pusher : '.pusher',
@@ -21922,7 +21999,7 @@ $.fn.sidebar.settings = {
21922
21999
  })( jQuery, window, document );
21923
22000
 
21924
22001
  /*!
21925
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Sticky
22002
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Sticky
21926
22003
  * http://github.com/fomantic/Fomantic-UI/
21927
22004
  *
21928
22005
  *
@@ -22880,7 +22957,7 @@ $.fn.sticky.settings = {
22880
22957
  })( jQuery, window, document );
22881
22958
 
22882
22959
  /*!
22883
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Tab
22960
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Tab
22884
22961
  * http://github.com/fomantic/Fomantic-UI/
22885
22962
  *
22886
22963
  *
@@ -23900,7 +23977,7 @@ $.fn.tab.settings = {
23900
23977
  })( jQuery, window, document );
23901
23978
 
23902
23979
  /*!
23903
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Toast
23980
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Toast
23904
23981
  * http://github.com/fomantic/Fomantic-UI/
23905
23982
  *
23906
23983
  *
@@ -24827,7 +24904,7 @@ $.extend( $.easing, {
24827
24904
  })( jQuery, window, document );
24828
24905
 
24829
24906
  /*!
24830
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Transition
24907
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Transition
24831
24908
  * http://github.com/fomantic/Fomantic-UI/
24832
24909
  *
24833
24910
  *
@@ -25944,7 +26021,7 @@ $.fn.transition.settings = {
25944
26021
  })( jQuery, window, document );
25945
26022
 
25946
26023
  /*!
25947
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - API
26024
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - API
25948
26025
  * http://github.com/fomantic/Fomantic-UI/
25949
26026
  *
25950
26027
  *
@@ -27181,7 +27258,7 @@ $.api.settings = {
27181
27258
  })( jQuery, window, document );
27182
27259
 
27183
27260
  /*!
27184
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - State
27261
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - State
27185
27262
  * http://github.com/fomantic/Fomantic-UI/
27186
27263
  *
27187
27264
  *
@@ -27893,7 +27970,7 @@ $.fn.state.settings = {
27893
27970
  })( jQuery, window, document );
27894
27971
 
27895
27972
  /*!
27896
- * # Fomantic-UI 2.9.0-beta.310+19b7d18 - Visibility
27973
+ * # Fomantic-UI 2.9.0-beta.311+116f84b - Visibility
27897
27974
  * http://github.com/fomantic/Fomantic-UI/
27898
27975
  *
27899
27976
  *