fomantic-ui 2.9.0-beta.324 → 2.9.0-beta.326

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 (194) hide show
  1. package/dist/components/accordion.css +2 -2
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +2 -2
  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 +2 -2
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +2 -2
  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 +2 -2
  34. package/dist/components/dropdown.js +39 -19
  35. package/dist/components/dropdown.min.css +2 -2
  36. package/dist/components/dropdown.min.js +2 -2
  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/flyout.css +1 -1
  46. package/dist/components/flyout.js +3 -2
  47. package/dist/components/flyout.min.css +1 -1
  48. package/dist/components/flyout.min.js +2 -2
  49. package/dist/components/form.css +1 -1
  50. package/dist/components/form.js +2 -1
  51. package/dist/components/form.min.css +1 -1
  52. package/dist/components/form.min.js +2 -2
  53. package/dist/components/grid.css +1 -1
  54. package/dist/components/grid.min.css +1 -1
  55. package/dist/components/header.css +1 -1
  56. package/dist/components/header.min.css +1 -1
  57. package/dist/components/icon.css +1 -1
  58. package/dist/components/icon.min.css +1 -1
  59. package/dist/components/image.css +1 -1
  60. package/dist/components/image.min.css +1 -1
  61. package/dist/components/input.css +1 -1
  62. package/dist/components/input.min.css +1 -1
  63. package/dist/components/item.css +1 -1
  64. package/dist/components/item.min.css +1 -1
  65. package/dist/components/label.css +1 -1
  66. package/dist/components/label.min.css +1 -1
  67. package/dist/components/list.css +1 -1
  68. package/dist/components/list.min.css +1 -1
  69. package/dist/components/loader.css +1 -1
  70. package/dist/components/loader.min.css +1 -1
  71. package/dist/components/message.css +1 -1
  72. package/dist/components/message.min.css +1 -1
  73. package/dist/components/modal.css +1 -1
  74. package/dist/components/modal.js +3 -2
  75. package/dist/components/modal.min.css +1 -1
  76. package/dist/components/modal.min.js +2 -2
  77. package/dist/components/nag.css +1 -1
  78. package/dist/components/nag.js +1 -1
  79. package/dist/components/nag.min.css +1 -1
  80. package/dist/components/nag.min.js +1 -1
  81. package/dist/components/placeholder.css +1 -1
  82. package/dist/components/placeholder.min.css +1 -1
  83. package/dist/components/popup.css +1 -1
  84. package/dist/components/popup.js +1 -1
  85. package/dist/components/popup.min.css +1 -1
  86. package/dist/components/popup.min.js +1 -1
  87. package/dist/components/progress.css +1 -1
  88. package/dist/components/progress.js +1 -1
  89. package/dist/components/progress.min.css +1 -1
  90. package/dist/components/progress.min.js +1 -1
  91. package/dist/components/rail.css +1 -1
  92. package/dist/components/rail.min.css +1 -1
  93. package/dist/components/rating.css +1 -1
  94. package/dist/components/rating.js +1 -1
  95. package/dist/components/rating.min.css +1 -1
  96. package/dist/components/rating.min.js +1 -1
  97. package/dist/components/reset.css +1 -1
  98. package/dist/components/reset.min.css +1 -1
  99. package/dist/components/reveal.css +1 -1
  100. package/dist/components/reveal.min.css +1 -1
  101. package/dist/components/search.css +1 -1
  102. package/dist/components/search.js +1 -1
  103. package/dist/components/search.min.css +1 -1
  104. package/dist/components/search.min.js +1 -1
  105. package/dist/components/segment.css +1 -1
  106. package/dist/components/segment.min.css +1 -1
  107. package/dist/components/shape.css +1 -1
  108. package/dist/components/shape.js +1 -1
  109. package/dist/components/shape.min.css +1 -1
  110. package/dist/components/shape.min.js +1 -1
  111. package/dist/components/sidebar.css +1 -1
  112. package/dist/components/sidebar.js +1 -1
  113. package/dist/components/sidebar.min.css +1 -1
  114. package/dist/components/sidebar.min.js +1 -1
  115. package/dist/components/site.css +1 -1
  116. package/dist/components/site.js +1 -1
  117. package/dist/components/site.min.css +1 -1
  118. package/dist/components/site.min.js +1 -1
  119. package/dist/components/slider.js +1 -1
  120. package/dist/components/slider.min.js +1 -1
  121. package/dist/components/state.js +1 -1
  122. package/dist/components/state.min.js +1 -1
  123. package/dist/components/statistic.css +1 -1
  124. package/dist/components/statistic.min.css +1 -1
  125. package/dist/components/step.css +2 -2
  126. package/dist/components/step.min.css +2 -2
  127. package/dist/components/sticky.css +1 -1
  128. package/dist/components/sticky.js +1 -1
  129. package/dist/components/sticky.min.css +1 -1
  130. package/dist/components/sticky.min.js +1 -1
  131. package/dist/components/tab.css +1 -1
  132. package/dist/components/tab.js +1 -1
  133. package/dist/components/tab.min.css +1 -1
  134. package/dist/components/tab.min.js +1 -1
  135. package/dist/components/table.css +1 -1
  136. package/dist/components/table.min.css +1 -1
  137. package/dist/components/text.css +1 -1
  138. package/dist/components/text.min.css +1 -1
  139. package/dist/components/toast.css +1 -1
  140. package/dist/components/toast.js +1 -1
  141. package/dist/components/toast.min.css +1 -1
  142. package/dist/components/toast.min.js +1 -1
  143. package/dist/components/transition.css +1 -1
  144. package/dist/components/transition.js +1 -1
  145. package/dist/components/transition.min.css +1 -1
  146. package/dist/components/transition.min.js +1 -1
  147. package/dist/components/visibility.js +1 -1
  148. package/dist/components/visibility.min.js +1 -1
  149. package/dist/semantic.css +54 -54
  150. package/dist/semantic.js +69 -46
  151. package/dist/semantic.min.css +2 -2
  152. package/dist/semantic.min.js +2 -2
  153. package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  154. package/dist/themes/default/assets/fonts/brand-icons.svg +654 -801
  155. package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  156. package/dist/themes/default/assets/fonts/icons.eot +0 -0
  157. package/dist/themes/default/assets/fonts/icons.svg +1079 -1175
  158. package/dist/themes/default/assets/fonts/icons.ttf +0 -0
  159. package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  160. package/dist/themes/default/assets/fonts/outline-icons.svg +95 -93
  161. package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  162. package/package.json +1 -1
  163. package/src/definitions/behaviors/form.js +1 -0
  164. package/src/definitions/modules/dropdown.js +38 -18
  165. package/src/definitions/modules/flyout.js +2 -1
  166. package/src/definitions/modules/modal.js +2 -1
  167. package/src/themes/basic/elements/icon.variables +16 -6
  168. package/src/themes/default/elements/step.overrides +1 -4
  169. package/src/themes/default/modules/accordion.overrides +1 -4
  170. package/src/themes/default/modules/checkbox.overrides +1 -3
  171. package/src/themes/default/modules/dropdown.overrides +1 -4
  172. package/src/themes/github/elements/icon.variables +16 -1
  173. package/src/themes/github/modules/dropdown.overrides +1 -4
  174. package/src/themes/material/elements/icon.variables +17 -0
  175. package/tasks/config/admin/templates/css-package.js +4 -10
  176. package/tasks/config/admin/templates/less-package.js +2 -2
  177. package/src/themes/basic/assets/fonts/icons.eot +0 -0
  178. package/src/themes/basic/assets/fonts/icons.svg +0 -450
  179. package/src/themes/basic/assets/fonts/icons.ttf +0 -0
  180. package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
  181. package/src/themes/default/assets/fonts/brand-icons.svg +0 -3717
  182. package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
  183. package/src/themes/default/assets/fonts/icons.eot +0 -0
  184. package/src/themes/default/assets/fonts/icons.svg +0 -5034
  185. package/src/themes/default/assets/fonts/icons.ttf +0 -0
  186. package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
  187. package/src/themes/default/assets/fonts/outline-icons.svg +0 -801
  188. package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
  189. package/src/themes/github/assets/fonts/octicons-local.ttf +0 -0
  190. package/src/themes/github/assets/fonts/octicons.svg +0 -200
  191. package/src/themes/github/assets/fonts/octicons.ttf +0 -0
  192. package/src/themes/material/assets/fonts/icons.eot +0 -0
  193. package/src/themes/material/assets/fonts/icons.svg +0 -2373
  194. package/src/themes/material/assets/fonts/icons.ttf +0 -0
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.324+80dca46
2
+ * # Fomantic UI - 2.9.0-beta.326+ad08d37
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.324+80dca46 - Site
12
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - 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.324+80dca46 - Form Validation
506
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Form Validation
507
507
  * http://github.com/fomantic/Fomantic-UI/
508
508
  *
509
509
  *
@@ -1146,6 +1146,7 @@ $.fn.form = function(parameters) {
1146
1146
  if((t=$field.filter('[data-' + metadata.validate + '="'+ identifier +'"]')).length > 0 ) {
1147
1147
  return t;
1148
1148
  }
1149
+ module.debug('Field identifier not found.', identifier);
1149
1150
  return $('<input/>');
1150
1151
  },
1151
1152
  fields: function(fields) {
@@ -2579,7 +2580,7 @@ $.fn.form.settings = {
2579
2580
  })( jQuery, window, document );
2580
2581
 
2581
2582
  /*!
2582
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Accordion
2583
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Accordion
2583
2584
  * http://github.com/fomantic/Fomantic-UI/
2584
2585
  *
2585
2586
  *
@@ -3204,7 +3205,7 @@ $.extend( $.easing, {
3204
3205
 
3205
3206
 
3206
3207
  /*!
3207
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Calendar
3208
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Calendar
3208
3209
  * http://github.com/fomantic/Fomantic-UI/
3209
3210
  *
3210
3211
  *
@@ -5095,7 +5096,7 @@ $.fn.calendar.settings = {
5095
5096
  })(jQuery, window, document);
5096
5097
 
5097
5098
  /*!
5098
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Checkbox
5099
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Checkbox
5099
5100
  * http://github.com/fomantic/Fomantic-UI/
5100
5101
  *
5101
5102
  *
@@ -5979,7 +5980,7 @@ $.fn.checkbox.settings = {
5979
5980
  })( jQuery, window, document );
5980
5981
 
5981
5982
  /*!
5982
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Dimmer
5983
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Dimmer
5983
5984
  * http://github.com/fomantic/Fomantic-UI/
5984
5985
  *
5985
5986
  *
@@ -6745,7 +6746,7 @@ $.fn.dimmer.settings = {
6745
6746
  })( jQuery, window, document );
6746
6747
 
6747
6748
  /*!
6748
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Dropdown
6749
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Dropdown
6749
6750
  * http://github.com/fomantic/Fomantic-UI/
6750
6751
  *
6751
6752
  *
@@ -7289,6 +7290,7 @@ $.fn.dropdown = function(parameters) {
7289
7290
  return true;
7290
7291
  }
7291
7292
  if(settings.onShow.call(element) !== false) {
7293
+ module.remove.empty();
7292
7294
  module.animate.show(function() {
7293
7295
  module.bind.intent();
7294
7296
  if(module.has.search() && !preventFocus) {
@@ -7347,7 +7349,7 @@ $.fn.dropdown = function(parameters) {
7347
7349
  module.verbose('Hiding menu instantaneously');
7348
7350
  module.remove.active();
7349
7351
  module.remove.visible();
7350
- $menu.transition('hide');
7352
+ $menu.transition('destroy').transition('hide');
7351
7353
  },
7352
7354
 
7353
7355
  hideSubMenus: function() {
@@ -7508,6 +7510,7 @@ $.fn.dropdown = function(parameters) {
7508
7510
  }
7509
7511
  else {
7510
7512
  module.verbose('All items filtered, hiding dropdown', searchTerm);
7513
+ module.set.empty();
7511
7514
  module.hideMenu();
7512
7515
  }
7513
7516
  }
@@ -7518,7 +7521,7 @@ $.fn.dropdown = function(parameters) {
7518
7521
  if(settings.allowAdditions) {
7519
7522
  module.add.userSuggestion(module.escape.htmlEntities(query));
7520
7523
  }
7521
- if(module.is.searchSelection() && module.can.show() && module.is.focusedOnSearch() ) {
7524
+ if(module.is.searchSelection() && module.can.show() && module.is.focusedOnSearch() && !module.is.empty()) {
7522
7525
  module.show();
7523
7526
  }
7524
7527
  }
@@ -7857,7 +7860,7 @@ $.fn.dropdown = function(parameters) {
7857
7860
  }
7858
7861
  },
7859
7862
  mousedown: function() {
7860
- if(module.is.searchSelection()) {
7863
+ if(module.is.searchSelection(true)) {
7861
7864
  // prevent menu hiding on immediate re-focus
7862
7865
  willRefocus = true;
7863
7866
  }
@@ -7867,7 +7870,7 @@ $.fn.dropdown = function(parameters) {
7867
7870
  }
7868
7871
  },
7869
7872
  mouseup: function() {
7870
- if(module.is.searchSelection()) {
7873
+ if(module.is.searchSelection(true)) {
7871
7874
  // prevent menu hiding on immediate re-focus
7872
7875
  willRefocus = false;
7873
7876
  }
@@ -7902,7 +7905,7 @@ $.fn.dropdown = function(parameters) {
7902
7905
  },
7903
7906
  blur: function(event) {
7904
7907
  pageLostFocus = (document.activeElement === this);
7905
- if(module.is.searchSelection() && !willRefocus) {
7908
+ if(module.is.searchSelection(true) && !willRefocus) {
7906
7909
  if(!itemActivated && !pageLostFocus) {
7907
7910
  if(settings.forceSelection) {
7908
7911
  module.forceSelection();
@@ -8135,6 +8138,10 @@ $.fn.dropdown = function(parameters) {
8135
8138
  if(settings.allowAdditions) {
8136
8139
  module.remove.userAddition();
8137
8140
  }
8141
+ module.remove.filteredItem();
8142
+ if(!module.is.visible()) {
8143
+ module.show();
8144
+ }
8138
8145
  module.remove.searchTerm();
8139
8146
  if(!module.is.focusedOnSearch() && skipRefocus !== true) {
8140
8147
  module.focusSearch(true);
@@ -8249,12 +8256,18 @@ $.fn.dropdown = function(parameters) {
8249
8256
  }
8250
8257
  $activeLabel.last().next(selector.siblingLabel).addClass(className.active);
8251
8258
  module.remove.activeLabels($activeLabel);
8259
+ if(!module.is.visible()){
8260
+ module.show();
8261
+ }
8252
8262
  event.preventDefault();
8253
8263
  }
8254
8264
  else if(caretAtStart && !isSelectedSearch && !hasActiveLabel && pressedKey == keys.backspace) {
8255
8265
  module.verbose('Removing last label on input backspace');
8256
8266
  $activeLabel = $label.last().addClass(className.active);
8257
8267
  module.remove.activeLabels($activeLabel);
8268
+ if(!module.is.visible()){
8269
+ module.show();
8270
+ }
8258
8271
  }
8259
8272
  }
8260
8273
  else {
@@ -8286,14 +8299,16 @@ $.fn.dropdown = function(parameters) {
8286
8299
  hasSelectedItem = ($selectedItem.length > 0),
8287
8300
  selectedIsSelectable = ($selectedItem.not(selector.unselectable).length > 0),
8288
8301
  delimiterPressed = (event.key === settings.delimiter && module.is.multiple()),
8289
- isAdditionWithoutMenu = (settings.allowAdditions && settings.hideAdditions && (pressedKey == keys.enter || delimiterPressed) && selectedIsSelectable),
8302
+ isAdditionWithoutMenu = settings.allowAdditions && (pressedKey == keys.enter || delimiterPressed),
8290
8303
  $nextItem,
8291
8304
  isSubMenuItem
8292
8305
  ;
8293
8306
  // allow selection with menu closed
8294
8307
  if(isAdditionWithoutMenu) {
8295
- module.verbose('Selecting item from keyboard shortcut', $selectedItem);
8296
- module.event.item.click.call($selectedItem, event);
8308
+ if (selectedIsSelectable && settings.hideAdditions) {
8309
+ module.verbose('Selecting item from keyboard shortcut', $selectedItem);
8310
+ module.event.item.click.call($selectedItem, event);
8311
+ }
8297
8312
  if(module.is.searchSelection()) {
8298
8313
  module.remove.searchTerm();
8299
8314
  }
@@ -8436,7 +8451,7 @@ $.fn.dropdown = function(parameters) {
8436
8451
  }
8437
8452
  else {
8438
8453
  // delimiter key
8439
- if(delimiterPressed) {
8454
+ if(pressedKey == keys.enter || delimiterPressed) {
8440
8455
  event.preventDefault();
8441
8456
  }
8442
8457
  // down arrow (open menu)
@@ -8632,7 +8647,7 @@ $.fn.dropdown = function(parameters) {
8632
8647
  },
8633
8648
  userValues: function() {
8634
8649
  var
8635
- values = module.get.values()
8650
+ values = module.get.values(true)
8636
8651
  ;
8637
8652
  if(!values) {
8638
8653
  return false;
@@ -9309,7 +9324,7 @@ $.fn.dropdown = function(parameters) {
9309
9324
  $menu.removeClass(className.loading);
9310
9325
  }
9311
9326
  },
9312
- text: function(text) {
9327
+ text: function(text, isNotPlaceholder) {
9313
9328
  if(settings.action === 'combo') {
9314
9329
  module.debug('Changing combo button text', text, $combo);
9315
9330
  if(settings.preserveHTML) {
@@ -9320,7 +9335,7 @@ $.fn.dropdown = function(parameters) {
9320
9335
  }
9321
9336
  }
9322
9337
  else if(settings.action === 'activate') {
9323
- if(text !== module.get.placeholderText()) {
9338
+ if(text !== module.get.placeholderText() || isNotPlaceholder) {
9324
9339
  $text.removeClass(className.placeholder);
9325
9340
  }
9326
9341
  module.debug('Changing text', text, $text);
@@ -9339,7 +9354,7 @@ $.fn.dropdown = function(parameters) {
9339
9354
  var
9340
9355
  value = module.get.choiceValue($item),
9341
9356
  searchText = module.get.choiceText($item, false),
9342
- text = module.get.choiceText($item, true)
9357
+ text = module.get.choiceText($item)
9343
9358
  ;
9344
9359
  module.debug('Setting user selection to item', $item);
9345
9360
  module.remove.activeItem();
@@ -9568,7 +9583,7 @@ $.fn.dropdown = function(parameters) {
9568
9583
  module.save.remoteData(selectedText, selectedValue);
9569
9584
  }
9570
9585
  if (!keepSearchTerm && !$selected.hasClass(className.actionable)) {
9571
- module.set.text(selectedText);
9586
+ module.set.text(selectedText, true);
9572
9587
  }
9573
9588
  module.set.value(selectedValue, selectedText, $selected, preventChangeTrigger);
9574
9589
  $selected
@@ -9581,6 +9596,10 @@ $.fn.dropdown = function(parameters) {
9581
9596
  if (!keepSearchTerm) {
9582
9597
  module.remove.searchTerm();
9583
9598
  }
9599
+ if(module.is.allFiltered()) {
9600
+ module.set.empty();
9601
+ module.hideMenu();
9602
+ }
9584
9603
  }
9585
9604
  },
9586
9605
 
@@ -9913,10 +9932,9 @@ $.fn.dropdown = function(parameters) {
9913
9932
  },
9914
9933
  value: function(removedValue, removedText, $removedItem, preventChangeTrigger) {
9915
9934
  var
9916
- values = module.get.values(),
9935
+ values = module.get.values(true),
9917
9936
  newValue
9918
9937
  ;
9919
- removedValue = module.escape.htmlEntities(removedValue);
9920
9938
  if( module.has.selectInput() ) {
9921
9939
  module.verbose('Input is <select> removing selected option', removedValue);
9922
9940
  newValue = module.remove.arrayValue(removedValue, values);
@@ -10149,6 +10167,9 @@ $.fn.dropdown = function(parameters) {
10149
10167
  edge: function() {
10150
10168
  return !!window.chrome && !!window.StyleMedia;
10151
10169
  },
10170
+ empty: function() {
10171
+ return $module.hasClass(className.empty);
10172
+ },
10152
10173
  chrome: function() {
10153
10174
  return !!window.chrome && !window.StyleMedia;
10154
10175
  },
@@ -10225,8 +10246,8 @@ $.fn.dropdown = function(parameters) {
10225
10246
  search: function() {
10226
10247
  return $module.hasClass(className.search);
10227
10248
  },
10228
- searchSelection: function() {
10229
- return ( module.has.search() && $search.parent(selector.dropdown).length === 1 );
10249
+ searchSelection: function(deep) {
10250
+ return ( module.has.search() && (deep ? $search.parents(selector.dropdown) : $search.parent(selector.dropdown)).length === 1 );
10230
10251
  },
10231
10252
  selection: function() {
10232
10253
  return $module.hasClass(className.selection);
@@ -11101,7 +11122,7 @@ $.fn.dropdown.settings.templates = {
11101
11122
  })( jQuery, window, document );
11102
11123
 
11103
11124
  /*!
11104
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Embed
11125
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Embed
11105
11126
  * http://github.com/fomantic/Fomantic-UI/
11106
11127
  *
11107
11128
  *
@@ -11815,7 +11836,7 @@ $.fn.embed.settings = {
11815
11836
  })( jQuery, window, document );
11816
11837
 
11817
11838
  /*!
11818
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Flyout
11839
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Flyout
11819
11840
  * http://github.com/fomantic/Fomantic-UI/
11820
11841
  *
11821
11842
  *
@@ -11984,7 +12005,6 @@ $.flyout = $.fn.flyout = function(parameters) {
11984
12005
  module.setup.heights();
11985
12006
  module.bind.resize();
11986
12007
  }
11987
- module.refreshInputs();
11988
12008
  module.bind.events();
11989
12009
  module.observeChanges();
11990
12010
  module.instantiate();
@@ -12024,6 +12044,7 @@ $.flyout = $.fn.flyout = function(parameters) {
12024
12044
  $('<div/>', {class: className.actions}).appendTo($module);
12025
12045
  }
12026
12046
  $module.prependTo($context);
12047
+ element = $module[0];
12027
12048
  },
12028
12049
  id: function() {
12029
12050
  id = (Math.random().toString(16) + '000000000').slice(2, 10);
@@ -12437,6 +12458,7 @@ $.flyout = $.fn.flyout = function(parameters) {
12437
12458
  module.add.keyboardShortcuts();
12438
12459
  }
12439
12460
  module.save.focus();
12461
+ module.refreshInputs();
12440
12462
  if(settings.autofocus) {
12441
12463
  module.set.autofocus();
12442
12464
  }
@@ -13345,7 +13367,7 @@ $.fn.flyout.settings.templates = {
13345
13367
  })( jQuery, window, document );
13346
13368
 
13347
13369
  /*!
13348
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Modal
13370
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Modal
13349
13371
  * http://github.com/fomantic/Fomantic-UI/
13350
13372
  *
13351
13373
  *
@@ -13499,7 +13521,6 @@ $.modal = $.fn.modal = function(parameters) {
13499
13521
  $module.addClass('top aligned');
13500
13522
  }
13501
13523
  module.refreshModals();
13502
- module.refreshInputs();
13503
13524
  module.bind.events();
13504
13525
  module.observeChanges();
13505
13526
  module.instantiate();
@@ -13537,6 +13558,7 @@ $.modal = $.fn.modal = function(parameters) {
13537
13558
  $('<div/>', {class: className.actions}).appendTo($module);
13538
13559
  }
13539
13560
  $context.append($module);
13561
+ element = $module[0];
13540
13562
  },
13541
13563
  dimmer: function() {
13542
13564
  var
@@ -13920,6 +13942,7 @@ $.modal = $.fn.modal = function(parameters) {
13920
13942
  }
13921
13943
  module.save.focus();
13922
13944
  module.set.active();
13945
+ module.refreshInputs()
13923
13946
  if(settings.autofocus) {
13924
13947
  module.set.autofocus();
13925
13948
  }
@@ -14901,7 +14924,7 @@ $.fn.modal.settings.templates = {
14901
14924
  })( jQuery, window, document );
14902
14925
 
14903
14926
  /*!
14904
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Nag
14927
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Nag
14905
14928
  * http://github.com/fomantic/Fomantic-UI/
14906
14929
  *
14907
14930
  *
@@ -15460,7 +15483,7 @@ $.extend( $.easing, {
15460
15483
  })( jQuery, window, document );
15461
15484
 
15462
15485
  /*!
15463
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Popup
15486
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Popup
15464
15487
  * http://github.com/fomantic/Fomantic-UI/
15465
15488
  *
15466
15489
  *
@@ -16996,7 +17019,7 @@ $.fn.popup.settings = {
16996
17019
  })( jQuery, window, document );
16997
17020
 
16998
17021
  /*!
16999
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Progress
17022
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Progress
17000
17023
  * http://github.com/fomantic/Fomantic-UI/
17001
17024
  *
17002
17025
  *
@@ -18033,7 +18056,7 @@ $.fn.progress.settings = {
18033
18056
  })( jQuery, window, document );
18034
18057
 
18035
18058
  /*!
18036
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Slider
18059
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Slider
18037
18060
  * http://github.com/fomantic/Fomantic-UI/
18038
18061
  *
18039
18062
  *
@@ -19387,7 +19410,7 @@ $.fn.slider.settings = {
19387
19410
  })( jQuery, window, document );
19388
19411
 
19389
19412
  /*!
19390
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Rating
19413
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Rating
19391
19414
  * http://github.com/fomantic/Fomantic-UI/
19392
19415
  *
19393
19416
  *
@@ -19946,7 +19969,7 @@ $.fn.rating.settings = {
19946
19969
  })( jQuery, window, document );
19947
19970
 
19948
19971
  /*!
19949
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Search
19972
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Search
19950
19973
  * http://github.com/fomantic/Fomantic-UI/
19951
19974
  *
19952
19975
  *
@@ -21541,7 +21564,7 @@ $.extend($.easing, {
21541
21564
  })( jQuery, window, document );
21542
21565
 
21543
21566
  /*!
21544
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Shape
21567
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Shape
21545
21568
  * http://github.com/fomantic/Fomantic-UI/
21546
21569
  *
21547
21570
  *
@@ -22390,7 +22413,7 @@ $.fn.shape.settings = {
22390
22413
  })( jQuery, window, document );
22391
22414
 
22392
22415
  /*!
22393
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Sidebar
22416
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Sidebar
22394
22417
  * http://github.com/fomantic/Fomantic-UI/
22395
22418
  *
22396
22419
  *
@@ -23524,7 +23547,7 @@ $.fn.sidebar.settings = {
23524
23547
  })( jQuery, window, document );
23525
23548
 
23526
23549
  /*!
23527
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Sticky
23550
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Sticky
23528
23551
  * http://github.com/fomantic/Fomantic-UI/
23529
23552
  *
23530
23553
  *
@@ -24475,7 +24498,7 @@ $.fn.sticky.settings = {
24475
24498
  })( jQuery, window, document );
24476
24499
 
24477
24500
  /*!
24478
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Tab
24501
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Tab
24479
24502
  * http://github.com/fomantic/Fomantic-UI/
24480
24503
  *
24481
24504
  *
@@ -25495,7 +25518,7 @@ $.fn.tab.settings = {
25495
25518
  })( jQuery, window, document );
25496
25519
 
25497
25520
  /*!
25498
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Toast
25521
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Toast
25499
25522
  * http://github.com/fomantic/Fomantic-UI/
25500
25523
  *
25501
25524
  *
@@ -26422,7 +26445,7 @@ $.extend( $.easing, {
26422
26445
  })( jQuery, window, document );
26423
26446
 
26424
26447
  /*!
26425
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Transition
26448
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Transition
26426
26449
  * http://github.com/fomantic/Fomantic-UI/
26427
26450
  *
26428
26451
  *
@@ -27537,7 +27560,7 @@ $.fn.transition.settings = {
27537
27560
  })( jQuery, window, document );
27538
27561
 
27539
27562
  /*!
27540
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - API
27563
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - API
27541
27564
  * http://github.com/fomantic/Fomantic-UI/
27542
27565
  *
27543
27566
  *
@@ -28774,7 +28797,7 @@ $.api.settings = {
28774
28797
  })( jQuery, window, document );
28775
28798
 
28776
28799
  /*!
28777
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - State
28800
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - State
28778
28801
  * http://github.com/fomantic/Fomantic-UI/
28779
28802
  *
28780
28803
  *
@@ -29486,7 +29509,7 @@ $.fn.state.settings = {
29486
29509
  })( jQuery, window, document );
29487
29510
 
29488
29511
  /*!
29489
- * # Fomantic-UI 2.9.0-beta.324+80dca46 - Visibility
29512
+ * # Fomantic-UI 2.9.0-beta.326+ad08d37 - Visibility
29490
29513
  * http://github.com/fomantic/Fomantic-UI/
29491
29514
  *
29492
29515
  *