fomantic-ui 2.9.0-beta.230 → 2.9.0-beta.234

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 (160) hide show
  1. package/.all-contributorsrc +9 -0
  2. package/CONTRIBUTORS.md +1 -0
  3. package/dist/components/accordion.css +1 -1
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +1 -1
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +5 -5
  10. package/dist/components/api.min.js +2 -2
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +1 -1
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +1 -1
  16. package/dist/components/calendar.js +1 -1
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +1 -1
  19. package/dist/components/card.css +1 -1
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +1 -1
  22. package/dist/components/checkbox.js +1 -1
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +1 -1
  25. package/dist/components/comment.css +1 -1
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +1 -1
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +1 -1
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +1 -1
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +1 -1
  36. package/dist/components/dropdown.js +3 -3
  37. package/dist/components/dropdown.min.css +1 -1
  38. package/dist/components/dropdown.min.js +2 -2
  39. package/dist/components/embed.css +1 -1
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +1 -1
  43. package/dist/components/feed.css +1 -1
  44. package/dist/components/feed.min.css +1 -1
  45. package/dist/components/flag.css +1 -1
  46. package/dist/components/flag.min.css +1 -1
  47. package/dist/components/form.css +1 -1
  48. package/dist/components/form.js +1 -1
  49. package/dist/components/form.min.css +1 -1
  50. package/dist/components/form.min.js +1 -1
  51. package/dist/components/grid.css +1 -1
  52. package/dist/components/grid.min.css +1 -1
  53. package/dist/components/header.css +1 -1
  54. package/dist/components/header.min.css +1 -1
  55. package/dist/components/icon.css +1 -1
  56. package/dist/components/icon.min.css +1 -1
  57. package/dist/components/image.css +1 -1
  58. package/dist/components/image.min.css +1 -1
  59. package/dist/components/input.css +1 -1
  60. package/dist/components/input.min.css +1 -1
  61. package/dist/components/item.css +1 -1
  62. package/dist/components/item.min.css +1 -1
  63. package/dist/components/label.css +1 -1
  64. package/dist/components/label.min.css +1 -1
  65. package/dist/components/list.css +1 -1
  66. package/dist/components/list.min.css +1 -1
  67. package/dist/components/loader.css +1 -1
  68. package/dist/components/loader.min.css +1 -1
  69. package/dist/components/message.css +1 -1
  70. package/dist/components/message.min.css +1 -1
  71. package/dist/components/modal.css +1 -1
  72. package/dist/components/modal.js +2 -2
  73. package/dist/components/modal.min.css +1 -1
  74. package/dist/components/modal.min.js +2 -2
  75. package/dist/components/nag.css +1 -1
  76. package/dist/components/nag.js +1 -1
  77. package/dist/components/nag.min.css +1 -1
  78. package/dist/components/nag.min.js +1 -1
  79. package/dist/components/placeholder.css +1 -1
  80. package/dist/components/placeholder.min.css +1 -1
  81. package/dist/components/popup.css +1 -1
  82. package/dist/components/popup.js +2 -2
  83. package/dist/components/popup.min.css +1 -1
  84. package/dist/components/popup.min.js +2 -2
  85. package/dist/components/progress.css +1 -1
  86. package/dist/components/progress.js +1 -1
  87. package/dist/components/progress.min.css +1 -1
  88. package/dist/components/progress.min.js +1 -1
  89. package/dist/components/rail.css +1 -1
  90. package/dist/components/rail.min.css +1 -1
  91. package/dist/components/rating.css +1 -1
  92. package/dist/components/rating.js +1 -1
  93. package/dist/components/rating.min.css +1 -1
  94. package/dist/components/rating.min.js +1 -1
  95. package/dist/components/reset.css +1 -1
  96. package/dist/components/reset.min.css +1 -1
  97. package/dist/components/reveal.css +1 -1
  98. package/dist/components/reveal.min.css +1 -1
  99. package/dist/components/search.css +1 -1
  100. package/dist/components/search.js +1 -1
  101. package/dist/components/search.min.css +1 -1
  102. package/dist/components/search.min.js +1 -1
  103. package/dist/components/segment.css +1 -1
  104. package/dist/components/segment.min.css +1 -1
  105. package/dist/components/shape.css +1 -1
  106. package/dist/components/shape.js +1 -1
  107. package/dist/components/shape.min.css +1 -1
  108. package/dist/components/shape.min.js +1 -1
  109. package/dist/components/sidebar.css +1 -1
  110. package/dist/components/sidebar.js +2 -2
  111. package/dist/components/sidebar.min.css +1 -1
  112. package/dist/components/sidebar.min.js +2 -2
  113. package/dist/components/site.css +1 -1
  114. package/dist/components/site.js +1 -1
  115. package/dist/components/site.min.css +1 -1
  116. package/dist/components/site.min.js +1 -1
  117. package/dist/components/slider.js +1 -1
  118. package/dist/components/slider.min.js +1 -1
  119. package/dist/components/state.js +1 -1
  120. package/dist/components/state.min.js +1 -1
  121. package/dist/components/statistic.css +1 -1
  122. package/dist/components/statistic.min.css +1 -1
  123. package/dist/components/step.css +1 -1
  124. package/dist/components/step.min.css +1 -1
  125. package/dist/components/sticky.css +1 -1
  126. package/dist/components/sticky.js +1 -1
  127. package/dist/components/sticky.min.css +1 -1
  128. package/dist/components/sticky.min.js +1 -1
  129. package/dist/components/tab.css +1 -1
  130. package/dist/components/tab.js +1 -1
  131. package/dist/components/tab.min.css +1 -1
  132. package/dist/components/tab.min.js +1 -1
  133. package/dist/components/table.css +1 -1
  134. package/dist/components/table.min.css +1 -1
  135. package/dist/components/text.css +1 -1
  136. package/dist/components/text.min.css +1 -1
  137. package/dist/components/toast.css +1 -1
  138. package/dist/components/toast.js +2 -2
  139. package/dist/components/toast.min.css +1 -1
  140. package/dist/components/toast.min.js +2 -2
  141. package/dist/components/transition.css +1 -1
  142. package/dist/components/transition.js +1 -1
  143. package/dist/components/transition.min.css +1 -1
  144. package/dist/components/transition.min.js +1 -1
  145. package/dist/components/visibility.js +1 -1
  146. package/dist/components/visibility.min.js +1 -1
  147. package/dist/semantic.css +49 -49
  148. package/dist/semantic.js +35 -35
  149. package/dist/semantic.min.css +1 -1
  150. package/dist/semantic.min.js +2 -2
  151. package/examples/assets/library/iframe-content.js +3 -3
  152. package/examples/assets/library/iframe.js +3 -3
  153. package/package.json +1 -1
  154. package/src/definitions/behaviors/api.js +4 -4
  155. package/src/definitions/modules/dropdown.js +2 -2
  156. package/src/definitions/modules/modal.js +1 -1
  157. package/src/definitions/modules/popup.js +1 -1
  158. package/src/definitions/modules/sidebar.js +1 -1
  159. package/src/definitions/modules/toast.js +1 -1
  160. package/test/helpers/sinon.js +1 -1
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.230
2
+ * # Fomantic UI - 2.9.0-beta.234
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.230 - Site
12
+ * # Fomantic-UI 2.9.0-beta.234 - 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.230 - Form Validation
506
+ * # Fomantic-UI 2.9.0-beta.234 - Form Validation
507
507
  * http://github.com/fomantic/Fomantic-UI/
508
508
  *
509
509
  *
@@ -2577,7 +2577,7 @@ $.fn.form.settings = {
2577
2577
  })( jQuery, window, document );
2578
2578
 
2579
2579
  /*!
2580
- * # Fomantic-UI 2.9.0-beta.230 - Accordion
2580
+ * # Fomantic-UI 2.9.0-beta.234 - Accordion
2581
2581
  * http://github.com/fomantic/Fomantic-UI/
2582
2582
  *
2583
2583
  *
@@ -3196,7 +3196,7 @@ $.extend( $.easing, {
3196
3196
 
3197
3197
 
3198
3198
  /*!
3199
- * # Fomantic-UI 2.9.0-beta.230 - Calendar
3199
+ * # Fomantic-UI 2.9.0-beta.234 - Calendar
3200
3200
  * http://github.com/fomantic/Fomantic-UI/
3201
3201
  *
3202
3202
  *
@@ -5070,7 +5070,7 @@ $.fn.calendar.settings = {
5070
5070
  })(jQuery, window, document);
5071
5071
 
5072
5072
  /*!
5073
- * # Fomantic-UI 2.9.0-beta.230 - Checkbox
5073
+ * # Fomantic-UI 2.9.0-beta.234 - Checkbox
5074
5074
  * http://github.com/fomantic/Fomantic-UI/
5075
5075
  *
5076
5076
  *
@@ -5953,7 +5953,7 @@ $.fn.checkbox.settings = {
5953
5953
  })( jQuery, window, document );
5954
5954
 
5955
5955
  /*!
5956
- * # Fomantic-UI 2.9.0-beta.230 - Dimmer
5956
+ * # Fomantic-UI 2.9.0-beta.234 - Dimmer
5957
5957
  * http://github.com/fomantic/Fomantic-UI/
5958
5958
  *
5959
5959
  *
@@ -6710,7 +6710,7 @@ $.fn.dimmer.settings = {
6710
6710
  })( jQuery, window, document );
6711
6711
 
6712
6712
  /*!
6713
- * # Fomantic-UI 2.9.0-beta.230 - Dropdown
6713
+ * # Fomantic-UI 2.9.0-beta.234 - Dropdown
6714
6714
  * http://github.com/fomantic/Fomantic-UI/
6715
6715
  *
6716
6716
  *
@@ -6936,7 +6936,7 @@ $.fn.dropdown = function(parameters) {
6936
6936
 
6937
6937
  create: {
6938
6938
  id: function() {
6939
- id = (Math.random().toString(16) + '000000000').substr(2, 8);
6939
+ id = (Math.random().toString(16) + '000000000').slice(2, 10);
6940
6940
  elementNamespace = '.' + id;
6941
6941
  module.verbose('Creating unique id for element', id);
6942
6942
  },
@@ -9239,7 +9239,7 @@ $.fn.dropdown = function(parameters) {
9239
9239
  var
9240
9240
  length = module.get.query().length
9241
9241
  ;
9242
- $search.val( text.substr(0, length));
9242
+ $search.val( text.slice(0, length));
9243
9243
  },
9244
9244
  scrollPosition: function($item, forceScroll) {
9245
9245
  var
@@ -11066,7 +11066,7 @@ $.fn.dropdown.settings.templates = {
11066
11066
  })( jQuery, window, document );
11067
11067
 
11068
11068
  /*!
11069
- * # Fomantic-UI 2.9.0-beta.230 - Embed
11069
+ * # Fomantic-UI 2.9.0-beta.234 - Embed
11070
11070
  * http://github.com/fomantic/Fomantic-UI/
11071
11071
  *
11072
11072
  *
@@ -11776,7 +11776,7 @@ $.fn.embed.settings = {
11776
11776
  })( jQuery, window, document );
11777
11777
 
11778
11778
  /*!
11779
- * # Fomantic-UI 2.9.0-beta.230 - Modal
11779
+ * # Fomantic-UI 2.9.0-beta.234 - Modal
11780
11780
  * http://github.com/fomantic/Fomantic-UI/
11781
11781
  *
11782
11782
  *
@@ -11988,7 +11988,7 @@ $.fn.modal = function(parameters) {
11988
11988
  $dimmer = $dimmable.dimmer('get dimmer');
11989
11989
  },
11990
11990
  id: function() {
11991
- id = (Math.random().toString(16) + '000000000').substr(2, 8);
11991
+ id = (Math.random().toString(16) + '000000000').slice(2, 10);
11992
11992
  elementEventNamespace = '.' + id;
11993
11993
  module.verbose('Creating unique id for element', id);
11994
11994
  },
@@ -13304,7 +13304,7 @@ $.fn.modal.settings.templates = {
13304
13304
  })( jQuery, window, document );
13305
13305
 
13306
13306
  /*!
13307
- * # Fomantic-UI 2.9.0-beta.230 - Nag
13307
+ * # Fomantic-UI 2.9.0-beta.234 - Nag
13308
13308
  * http://github.com/fomantic/Fomantic-UI/
13309
13309
  *
13310
13310
  *
@@ -13863,7 +13863,7 @@ $.extend( $.easing, {
13863
13863
  })( jQuery, window, document );
13864
13864
 
13865
13865
  /*!
13866
- * # Fomantic-UI 2.9.0-beta.230 - Popup
13866
+ * # Fomantic-UI 2.9.0-beta.234 - Popup
13867
13867
  * http://github.com/fomantic/Fomantic-UI/
13868
13868
  *
13869
13869
  *
@@ -14173,7 +14173,7 @@ $.fn.popup = function(parameters) {
14173
14173
  },
14174
14174
 
14175
14175
  createID: function() {
14176
- id = (Math.random().toString(16) + '000000000').substr(2, 8);
14176
+ id = (Math.random().toString(16) + '000000000').slice(2, 10);
14177
14177
  elementNamespace = '.' + id;
14178
14178
  module.verbose('Creating unique id for element', id);
14179
14179
  },
@@ -15405,7 +15405,7 @@ $.fn.popup.settings = {
15405
15405
  })( jQuery, window, document );
15406
15406
 
15407
15407
  /*!
15408
- * # Fomantic-UI 2.9.0-beta.230 - Progress
15408
+ * # Fomantic-UI 2.9.0-beta.234 - Progress
15409
15409
  * http://github.com/fomantic/Fomantic-UI/
15410
15410
  *
15411
15411
  *
@@ -16442,7 +16442,7 @@ $.fn.progress.settings = {
16442
16442
  })( jQuery, window, document );
16443
16443
 
16444
16444
  /*!
16445
- * # Fomantic-UI 2.9.0-beta.230 - Slider
16445
+ * # Fomantic-UI 2.9.0-beta.234 - Slider
16446
16446
  * http://github.com/fomantic/Fomantic-UI/
16447
16447
  *
16448
16448
  *
@@ -17781,7 +17781,7 @@ $.fn.slider.settings = {
17781
17781
  })( jQuery, window, document );
17782
17782
 
17783
17783
  /*!
17784
- * # Fomantic-UI 2.9.0-beta.230 - Rating
17784
+ * # Fomantic-UI 2.9.0-beta.234 - Rating
17785
17785
  * http://github.com/fomantic/Fomantic-UI/
17786
17786
  *
17787
17787
  *
@@ -18336,7 +18336,7 @@ $.fn.rating.settings = {
18336
18336
  })( jQuery, window, document );
18337
18337
 
18338
18338
  /*!
18339
- * # Fomantic-UI 2.9.0-beta.230 - Search
18339
+ * # Fomantic-UI 2.9.0-beta.234 - Search
18340
18340
  * http://github.com/fomantic/Fomantic-UI/
18341
18341
  *
18342
18342
  *
@@ -19904,7 +19904,7 @@ $.fn.search.settings = {
19904
19904
  })( jQuery, window, document );
19905
19905
 
19906
19906
  /*!
19907
- * # Fomantic-UI 2.9.0-beta.230 - Shape
19907
+ * # Fomantic-UI 2.9.0-beta.234 - Shape
19908
19908
  * http://github.com/fomantic/Fomantic-UI/
19909
19909
  *
19910
19910
  *
@@ -20753,7 +20753,7 @@ $.fn.shape.settings = {
20753
20753
  })( jQuery, window, document );
20754
20754
 
20755
20755
  /*!
20756
- * # Fomantic-UI 2.9.0-beta.230 - Sidebar
20756
+ * # Fomantic-UI 2.9.0-beta.234 - Sidebar
20757
20757
  * http://github.com/fomantic/Fomantic-UI/
20758
20758
  *
20759
20759
  *
@@ -20872,7 +20872,7 @@ $.fn.sidebar = function(parameters) {
20872
20872
 
20873
20873
  create: {
20874
20874
  id: function() {
20875
- id = (Math.random().toString(16) + '000000000').substr(2,8);
20875
+ id = (Math.random().toString(16) + '000000000').slice(2, 10);
20876
20876
  elementNamespace = '.' + id;
20877
20877
  module.verbose('Creating unique id for element', id);
20878
20878
  }
@@ -21790,7 +21790,7 @@ $.fn.sidebar.settings = {
21790
21790
  })( jQuery, window, document );
21791
21791
 
21792
21792
  /*!
21793
- * # Fomantic-UI 2.9.0-beta.230 - Sticky
21793
+ * # Fomantic-UI 2.9.0-beta.234 - Sticky
21794
21794
  * http://github.com/fomantic/Fomantic-UI/
21795
21795
  *
21796
21796
  *
@@ -22748,7 +22748,7 @@ $.fn.sticky.settings = {
22748
22748
  })( jQuery, window, document );
22749
22749
 
22750
22750
  /*!
22751
- * # Fomantic-UI 2.9.0-beta.230 - Tab
22751
+ * # Fomantic-UI 2.9.0-beta.234 - Tab
22752
22752
  * http://github.com/fomantic/Fomantic-UI/
22753
22753
  *
22754
22754
  *
@@ -23768,7 +23768,7 @@ $.fn.tab.settings = {
23768
23768
  })( jQuery, window, document );
23769
23769
 
23770
23770
  /*!
23771
- * # Fomantic-UI 2.9.0-beta.230 - Toast
23771
+ * # Fomantic-UI 2.9.0-beta.234 - Toast
23772
23772
  * http://github.com/fomantic/Fomantic-UI/
23773
23773
  *
23774
23774
  *
@@ -23923,7 +23923,7 @@ $.fn.toast = function(parameters) {
23923
23923
  $context.append($('<div/>',{class: settings.position + ' ' + className.container + ' ' +(settings.horizontal ? className.horizontal : '')}));
23924
23924
  },
23925
23925
  id: function() {
23926
- id = (Math.random().toString(16) + '000000000').substr(2, 8);
23926
+ id = (Math.random().toString(16) + '000000000').slice(2, 10);
23927
23927
  module.verbose('Creating unique id for element', id);
23928
23928
  },
23929
23929
  toast: function() {
@@ -24689,7 +24689,7 @@ $.extend( $.easing, {
24689
24689
  })( jQuery, window, document );
24690
24690
 
24691
24691
  /*!
24692
- * # Fomantic-UI 2.9.0-beta.230 - Transition
24692
+ * # Fomantic-UI 2.9.0-beta.234 - Transition
24693
24693
  * http://github.com/fomantic/Fomantic-UI/
24694
24694
  *
24695
24695
  *
@@ -25799,7 +25799,7 @@ $.fn.transition.settings = {
25799
25799
  })( jQuery, window, document );
25800
25800
 
25801
25801
  /*!
25802
- * # Fomantic-UI 2.9.0-beta.230 - API
25802
+ * # Fomantic-UI 2.9.0-beta.234 - API
25803
25803
  * http://github.com/fomantic/Fomantic-UI/
25804
25804
  *
25805
25805
  *
@@ -26163,8 +26163,8 @@ $.api = $.fn.api = function(parameters) {
26163
26163
  var
26164
26164
  // allow legacy {$var} style
26165
26165
  variable = (templatedString.indexOf('$') !== -1)
26166
- ? templatedString.substr(2, templatedString.length - 3)
26167
- : templatedString.substr(1, templatedString.length - 2),
26166
+ ? templatedString.slice(2, -1)
26167
+ : templatedString.slice(1, -1),
26168
26168
  value = ($.isPlainObject(urlData) && urlData[variable] !== undefined)
26169
26169
  ? urlData[variable]
26170
26170
  : ($module.data(variable) !== undefined)
@@ -26195,8 +26195,8 @@ $.api = $.fn.api = function(parameters) {
26195
26195
  var
26196
26196
  // allow legacy {/$var} style
26197
26197
  variable = (templatedString.indexOf('$') !== -1)
26198
- ? templatedString.substr(3, templatedString.length - 4)
26199
- : templatedString.substr(2, templatedString.length - 3),
26198
+ ? templatedString.slice(3, -1)
26199
+ : templatedString.slice(2, -1),
26200
26200
  value = ($.isPlainObject(urlData) && urlData[variable] !== undefined)
26201
26201
  ? urlData[variable]
26202
26202
  : ($module.data(variable) !== undefined)
@@ -26981,7 +26981,7 @@ $.api.settings = {
26981
26981
  })( jQuery, window, document );
26982
26982
 
26983
26983
  /*!
26984
- * # Fomantic-UI 2.9.0-beta.230 - State
26984
+ * # Fomantic-UI 2.9.0-beta.234 - State
26985
26985
  * http://github.com/fomantic/Fomantic-UI/
26986
26986
  *
26987
26987
  *
@@ -27693,7 +27693,7 @@ $.fn.state.settings = {
27693
27693
  })( jQuery, window, document );
27694
27694
 
27695
27695
  /*!
27696
- * # Fomantic-UI 2.9.0-beta.230 - Visibility
27696
+ * # Fomantic-UI 2.9.0-beta.234 - Visibility
27697
27697
  * http://github.com/fomantic/Fomantic-UI/
27698
27698
  *
27699
27699
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.230
2
+ * # Fomantic UI - 2.9.0-beta.234
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *