fomantic-ui 2.9.0-beta.308 → 2.9.0-beta.309

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 (150) 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 +10 -5
  99. package/dist/components/search.min.css +1 -1
  100. package/dist/components/search.min.js +2 -2
  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 +1 -1
  108. package/dist/components/sidebar.js +1 -1
  109. package/dist/components/sidebar.min.css +1 -1
  110. package/dist/components/sidebar.min.js +1 -1
  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 +49 -49
  146. package/dist/semantic.js +34 -29
  147. package/dist/semantic.min.css +1 -1
  148. package/dist/semantic.min.js +2 -2
  149. package/package.json +1 -1
  150. package/src/definitions/modules/search.js +9 -4
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.308+1f24f1d
2
+ * # Fomantic UI - 2.9.0-beta.309+e32d5af
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.308+1f24f1d - Site
12
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - 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.308+1f24f1d - Form Validation
506
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - 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.308+1f24f1d - Accordion
2587
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Accordion
2588
2588
  * http://github.com/fomantic/Fomantic-UI/
2589
2589
  *
2590
2590
  *
@@ -3206,7 +3206,7 @@ $.extend( $.easing, {
3206
3206
 
3207
3207
 
3208
3208
  /*!
3209
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Calendar
3209
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Calendar
3210
3210
  * http://github.com/fomantic/Fomantic-UI/
3211
3211
  *
3212
3212
  *
@@ -5098,7 +5098,7 @@ $.fn.calendar.settings = {
5098
5098
  })(jQuery, window, document);
5099
5099
 
5100
5100
  /*!
5101
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Checkbox
5101
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Checkbox
5102
5102
  * http://github.com/fomantic/Fomantic-UI/
5103
5103
  *
5104
5104
  *
@@ -5982,7 +5982,7 @@ $.fn.checkbox.settings = {
5982
5982
  })( jQuery, window, document );
5983
5983
 
5984
5984
  /*!
5985
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Dimmer
5985
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Dimmer
5986
5986
  * http://github.com/fomantic/Fomantic-UI/
5987
5987
  *
5988
5988
  *
@@ -6745,7 +6745,7 @@ $.fn.dimmer.settings = {
6745
6745
  })( jQuery, window, document );
6746
6746
 
6747
6747
  /*!
6748
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Dropdown
6748
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Dropdown
6749
6749
  * http://github.com/fomantic/Fomantic-UI/
6750
6750
  *
6751
6751
  *
@@ -11124,7 +11124,7 @@ $.fn.dropdown.settings.templates = {
11124
11124
  })( jQuery, window, document );
11125
11125
 
11126
11126
  /*!
11127
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Embed
11127
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Embed
11128
11128
  * http://github.com/fomantic/Fomantic-UI/
11129
11129
  *
11130
11130
  *
@@ -11840,7 +11840,7 @@ $.fn.embed.settings = {
11840
11840
  })( jQuery, window, document );
11841
11841
 
11842
11842
  /*!
11843
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Modal
11843
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Modal
11844
11844
  * http://github.com/fomantic/Fomantic-UI/
11845
11845
  *
11846
11846
  *
@@ -13371,7 +13371,7 @@ $.fn.modal.settings.templates = {
13371
13371
  })( jQuery, window, document );
13372
13372
 
13373
13373
  /*!
13374
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Nag
13374
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Nag
13375
13375
  * http://github.com/fomantic/Fomantic-UI/
13376
13376
  *
13377
13377
  *
@@ -13930,7 +13930,7 @@ $.extend( $.easing, {
13930
13930
  })( jQuery, window, document );
13931
13931
 
13932
13932
  /*!
13933
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Popup
13933
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Popup
13934
13934
  * http://github.com/fomantic/Fomantic-UI/
13935
13935
  *
13936
13936
  *
@@ -15472,7 +15472,7 @@ $.fn.popup.settings = {
15472
15472
  })( jQuery, window, document );
15473
15473
 
15474
15474
  /*!
15475
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Progress
15475
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Progress
15476
15476
  * http://github.com/fomantic/Fomantic-UI/
15477
15477
  *
15478
15478
  *
@@ -16509,7 +16509,7 @@ $.fn.progress.settings = {
16509
16509
  })( jQuery, window, document );
16510
16510
 
16511
16511
  /*!
16512
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Slider
16512
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Slider
16513
16513
  * http://github.com/fomantic/Fomantic-UI/
16514
16514
  *
16515
16515
  *
@@ -17865,7 +17865,7 @@ $.fn.slider.settings = {
17865
17865
  })( jQuery, window, document );
17866
17866
 
17867
17867
  /*!
17868
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Rating
17868
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Rating
17869
17869
  * http://github.com/fomantic/Fomantic-UI/
17870
17870
  *
17871
17871
  *
@@ -18424,7 +18424,7 @@ $.fn.rating.settings = {
18424
18424
  })( jQuery, window, document );
18425
18425
 
18426
18426
  /*!
18427
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Search
18427
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Search
18428
18428
  * http://github.com/fomantic/Fomantic-UI/
18429
18429
  *
18430
18430
  *
@@ -18718,8 +18718,12 @@ $.fn.search = function(parameters) {
18718
18718
  ;
18719
18719
  // search shortcuts
18720
18720
  if(keyCode == keys.escape) {
18721
- module.verbose('Escape key pressed, blurring search field');
18722
- module.hideResults();
18721
+ if(!module.is.visible()) {
18722
+ module.verbose('Escape key pressed, blurring search field');
18723
+ $prompt.blur();
18724
+ } else {
18725
+ module.hideResults();
18726
+ }
18723
18727
  event.stopPropagation();
18724
18728
  resultsDismissed = true;
18725
18729
  }
@@ -18956,8 +18960,8 @@ $.fn.search = function(parameters) {
18956
18960
  },
18957
18961
  type: function(type) {
18958
18962
  type = type || settings.type;
18959
- if(settings.type == 'category') {
18960
- $module.addClass(settings.type);
18963
+ if(className[type]) {
18964
+ $module.addClass(className[type]);
18961
18965
  }
18962
18966
  },
18963
18967
  buttonPressed: function() {
@@ -19776,6 +19780,7 @@ $.fn.search.settings = {
19776
19780
  className: {
19777
19781
  animating : 'animating',
19778
19782
  active : 'active',
19783
+ category : 'category',
19779
19784
  empty : 'empty',
19780
19785
  focus : 'focus',
19781
19786
  hidden : 'hidden',
@@ -20009,7 +20014,7 @@ $.fn.search.settings = {
20009
20014
  })( jQuery, window, document );
20010
20015
 
20011
20016
  /*!
20012
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Shape
20017
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Shape
20013
20018
  * http://github.com/fomantic/Fomantic-UI/
20014
20019
  *
20015
20020
  *
@@ -20858,7 +20863,7 @@ $.fn.shape.settings = {
20858
20863
  })( jQuery, window, document );
20859
20864
 
20860
20865
  /*!
20861
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Sidebar
20866
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Sidebar
20862
20867
  * http://github.com/fomantic/Fomantic-UI/
20863
20868
  *
20864
20869
  *
@@ -21897,7 +21902,7 @@ $.fn.sidebar.settings = {
21897
21902
  })( jQuery, window, document );
21898
21903
 
21899
21904
  /*!
21900
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Sticky
21905
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Sticky
21901
21906
  * http://github.com/fomantic/Fomantic-UI/
21902
21907
  *
21903
21908
  *
@@ -22855,7 +22860,7 @@ $.fn.sticky.settings = {
22855
22860
  })( jQuery, window, document );
22856
22861
 
22857
22862
  /*!
22858
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Tab
22863
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Tab
22859
22864
  * http://github.com/fomantic/Fomantic-UI/
22860
22865
  *
22861
22866
  *
@@ -23875,7 +23880,7 @@ $.fn.tab.settings = {
23875
23880
  })( jQuery, window, document );
23876
23881
 
23877
23882
  /*!
23878
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Toast
23883
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Toast
23879
23884
  * http://github.com/fomantic/Fomantic-UI/
23880
23885
  *
23881
23886
  *
@@ -24800,7 +24805,7 @@ $.extend( $.easing, {
24800
24805
  })( jQuery, window, document );
24801
24806
 
24802
24807
  /*!
24803
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Transition
24808
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Transition
24804
24809
  * http://github.com/fomantic/Fomantic-UI/
24805
24810
  *
24806
24811
  *
@@ -25917,7 +25922,7 @@ $.fn.transition.settings = {
25917
25922
  })( jQuery, window, document );
25918
25923
 
25919
25924
  /*!
25920
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - API
25925
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - API
25921
25926
  * http://github.com/fomantic/Fomantic-UI/
25922
25927
  *
25923
25928
  *
@@ -27154,7 +27159,7 @@ $.api.settings = {
27154
27159
  })( jQuery, window, document );
27155
27160
 
27156
27161
  /*!
27157
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - State
27162
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - State
27158
27163
  * http://github.com/fomantic/Fomantic-UI/
27159
27164
  *
27160
27165
  *
@@ -27866,7 +27871,7 @@ $.fn.state.settings = {
27866
27871
  })( jQuery, window, document );
27867
27872
 
27868
27873
  /*!
27869
- * # Fomantic-UI 2.9.0-beta.308+1f24f1d - Visibility
27874
+ * # Fomantic-UI 2.9.0-beta.309+e32d5af - Visibility
27870
27875
  * http://github.com/fomantic/Fomantic-UI/
27871
27876
  *
27872
27877
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.308+1f24f1d
2
+ * # Fomantic UI - 2.9.0-beta.309+e32d5af
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * http://fomantic-ui.com/
5
5
  *