fomantic-ui 2.10.0-beta.16 → 2.10.0-beta.18

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/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 +24 -37
  35. package/dist/components/dropdown.min.css +1 -1
  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/emoji.css +1 -1
  42. package/dist/components/emoji.min.css +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/flyout.css +1 -1
  48. package/dist/components/flyout.js +1 -1
  49. package/dist/components/flyout.min.css +1 -1
  50. package/dist/components/flyout.min.js +1 -1
  51. package/dist/components/form.css +1 -1
  52. package/dist/components/form.js +1 -1
  53. package/dist/components/form.min.css +1 -1
  54. package/dist/components/form.min.js +1 -1
  55. package/dist/components/grid.css +1 -1
  56. package/dist/components/grid.min.css +1 -1
  57. package/dist/components/header.css +1 -1
  58. package/dist/components/header.min.css +1 -1
  59. package/dist/components/icon.css +1 -1
  60. package/dist/components/icon.min.css +1 -1
  61. package/dist/components/image.css +1 -1
  62. package/dist/components/image.min.css +1 -1
  63. package/dist/components/input.css +1 -1
  64. package/dist/components/input.min.css +1 -1
  65. package/dist/components/item.css +1 -1
  66. package/dist/components/item.min.css +1 -1
  67. package/dist/components/label.css +1 -1
  68. package/dist/components/label.min.css +1 -1
  69. package/dist/components/list.css +1 -1
  70. package/dist/components/list.min.css +1 -1
  71. package/dist/components/loader.css +1 -1
  72. package/dist/components/loader.min.css +1 -1
  73. package/dist/components/menu.css +1 -1
  74. package/dist/components/menu.min.css +1 -1
  75. package/dist/components/message.css +1 -1
  76. package/dist/components/message.min.css +1 -1
  77. package/dist/components/modal.css +1 -1
  78. package/dist/components/modal.js +1 -1
  79. package/dist/components/modal.min.css +1 -1
  80. package/dist/components/modal.min.js +1 -1
  81. package/dist/components/nag.css +1 -1
  82. package/dist/components/nag.js +1 -1
  83. package/dist/components/nag.min.css +1 -1
  84. package/dist/components/nag.min.js +1 -1
  85. package/dist/components/placeholder.css +1 -1
  86. package/dist/components/placeholder.min.css +1 -1
  87. package/dist/components/popup.css +1 -1
  88. package/dist/components/popup.js +1 -1
  89. package/dist/components/popup.min.css +1 -1
  90. package/dist/components/popup.min.js +1 -1
  91. package/dist/components/progress.css +1 -1
  92. package/dist/components/progress.js +1 -1
  93. package/dist/components/progress.min.css +1 -1
  94. package/dist/components/progress.min.js +1 -1
  95. package/dist/components/rail.css +1 -1
  96. package/dist/components/rail.min.css +1 -1
  97. package/dist/components/rating.css +1 -1
  98. package/dist/components/rating.js +1 -1
  99. package/dist/components/rating.min.css +1 -1
  100. package/dist/components/rating.min.js +1 -1
  101. package/dist/components/reset.css +1 -1
  102. package/dist/components/reset.min.css +1 -1
  103. package/dist/components/reveal.css +1 -1
  104. package/dist/components/reveal.min.css +1 -1
  105. package/dist/components/search.css +1 -1
  106. package/dist/components/search.js +1 -1
  107. package/dist/components/search.min.css +1 -1
  108. package/dist/components/search.min.js +1 -1
  109. package/dist/components/segment.css +1 -1
  110. package/dist/components/segment.min.css +1 -1
  111. package/dist/components/shape.css +1 -1
  112. package/dist/components/shape.js +1 -1
  113. package/dist/components/shape.min.css +1 -1
  114. package/dist/components/shape.min.js +1 -1
  115. package/dist/components/sidebar.css +1 -1
  116. package/dist/components/sidebar.js +1 -1
  117. package/dist/components/sidebar.min.css +1 -1
  118. package/dist/components/sidebar.min.js +1 -1
  119. package/dist/components/site.css +1 -1
  120. package/dist/components/site.js +1 -1
  121. package/dist/components/site.min.css +1 -1
  122. package/dist/components/site.min.js +1 -1
  123. package/dist/components/slider.css +1 -1
  124. package/dist/components/slider.js +1 -1
  125. package/dist/components/slider.min.css +1 -1
  126. package/dist/components/slider.min.js +1 -1
  127. package/dist/components/state.js +1 -1
  128. package/dist/components/state.min.js +1 -1
  129. package/dist/components/statistic.css +1 -1
  130. package/dist/components/statistic.min.css +1 -1
  131. package/dist/components/step.css +1 -1
  132. package/dist/components/step.min.css +1 -1
  133. package/dist/components/sticky.css +1 -1
  134. package/dist/components/sticky.js +1 -1
  135. package/dist/components/sticky.min.css +1 -1
  136. package/dist/components/sticky.min.js +1 -1
  137. package/dist/components/tab.css +1 -1
  138. package/dist/components/tab.js +1 -1
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +1 -1
  141. package/dist/components/table.css +1 -1
  142. package/dist/components/table.min.css +1 -1
  143. package/dist/components/text.css +1 -1
  144. package/dist/components/text.min.css +1 -1
  145. package/dist/components/toast.css +1 -1
  146. package/dist/components/toast.js +1 -1
  147. package/dist/components/toast.min.css +1 -1
  148. package/dist/components/toast.min.js +1 -1
  149. package/dist/components/transition.css +1 -1
  150. package/dist/components/transition.js +1 -1
  151. package/dist/components/transition.min.css +1 -1
  152. package/dist/components/transition.min.js +1 -1
  153. package/dist/components/visibility.js +1 -1
  154. package/dist/components/visibility.min.js +1 -1
  155. package/dist/semantic.css +53 -53
  156. package/dist/semantic.js +49 -62
  157. package/dist/semantic.min.css +1 -1
  158. package/dist/semantic.min.js +2 -2
  159. package/package.json +1 -1
  160. package/src/definitions/modules/dropdown.js +23 -36
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Accordion
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Accordion
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Accordion
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.16+fd10e3b
2
+ * # Fomantic UI - 2.10.0-beta.18+98b000a
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Ad
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Ad
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Ad
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Ad
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - API
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - API
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.16+fd10e3b
2
+ * # Fomantic UI - 2.10.0-beta.18+98b000a
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Breadcrumb
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Breadcrumb
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Breadcrumb
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Breadcrumb
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Button
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Button
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Button
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Button
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Calendar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Calendar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Calendar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.16+fd10e3b
2
+ * # Fomantic UI - 2.10.0-beta.18+98b000a
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Card
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Card
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Card
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Card
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Checkbox
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.16+fd10e3b
2
+ * # Fomantic UI - 2.10.0-beta.18+98b000a
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Comment
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Comment
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Comment
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Comment
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Container
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Container
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Container
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Container
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.16+fd10e3b
2
+ * # Fomantic UI - 2.10.0-beta.18+98b000a
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Divider
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Divider
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Divider
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Divider
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Dropdown
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Dropdown
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Dropdown
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Dropdown
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -711,7 +711,7 @@
711
711
  }
712
712
  if (settings.allowAdditions) {
713
713
  module.add.userSuggestion(settings.preserveHTML
714
- ? module.escape.htmlEntities(query)
714
+ ? settings.templates.escape(query)
715
715
  : query);
716
716
  }
717
717
  if (module.is.searchSelection() && module.can.show() && module.is.focusedOnSearch() && !module.is.empty()) {
@@ -795,7 +795,7 @@
795
795
  if (values.length === 0 && !settings.allowAdditions) {
796
796
  module.add.message(message.noResults);
797
797
  } else {
798
- let value = module.is.multiple() ? module.get.values(true) : module.get.value();
798
+ let value = module.is.multiple() ? module.get.values() : module.get.value();
799
799
  if (value !== '') {
800
800
  module.verbose('Value(s) present after click icon, select value(s) in items');
801
801
  module.set.selected(value, null, true, true);
@@ -1024,12 +1024,9 @@
1024
1024
  $input.html('');
1025
1025
  $input.append('<option disabled selected value></option>');
1026
1026
  $.each(values, function (index, item) {
1027
- let value = settings.templates.escape(item[fields.value]);
1028
- let name = settings.templates.escape(
1029
- item[fields.name] || '',
1030
- settings
1031
- );
1032
- $input.append('<option value="' + value + '"' + (item.selected === true ? ' selected' : '') + '>' + name + '</option>');
1027
+ let value = item[fields.value];
1028
+ let name = item[fields.name] || '';
1029
+ $input.append('<option value="' + settings.templates.escape(value) + '"' + (item.selected === true ? ' selected' : '') + '>' + settings.templates.escape(name, settings) + '</option>');
1033
1030
  });
1034
1031
  module.observe.select();
1035
1032
  }
@@ -1042,9 +1039,10 @@
1042
1039
  let tokens = pasteValue.split(settings.delimiter);
1043
1040
  let notFoundTokens = [];
1044
1041
  tokens.forEach(function (value) {
1042
+ value = value.trim();
1045
1043
  const valueTrimmed = settings.preserveHTML
1046
- ? module.escape.htmlEntities(value.trim())
1047
- : value.trim();
1044
+ ? settings.templates.escape(value)
1045
+ : value;
1048
1046
  if (module.set.selected(valueTrimmed, null, false, true) === false) {
1049
1047
  notFoundTokens.push(valueTrimmed);
1050
1048
  }
@@ -1815,7 +1813,7 @@
1815
1813
  : settings.transition;
1816
1814
  },
1817
1815
  userValues: function () {
1818
- let values = module.get.values(true);
1816
+ let values = module.get.values();
1819
1817
  if (!values) {
1820
1818
  return false;
1821
1819
  }
@@ -1865,7 +1863,7 @@
1865
1863
  ? ''
1866
1864
  : value;
1867
1865
  },
1868
- values: function (raw) {
1866
+ values: function () {
1869
1867
  let value = module.get.value();
1870
1868
  if (value === '') {
1871
1869
  return '';
@@ -1873,14 +1871,12 @@
1873
1871
 
1874
1872
  return !module.has.selectInput() && module.is.multiple()
1875
1873
  ? (typeof value === 'string' // delimited string
1876
- ? (raw
1877
- ? value
1878
- : module.escape.htmlEntities(value)).split(settings.delimiter)
1874
+ ? value.split(settings.delimiter)
1879
1875
  : '')
1880
1876
  : value;
1881
1877
  },
1882
1878
  remoteValues: function () {
1883
- let values = module.get.values(true);
1879
+ let values = module.get.values();
1884
1880
  let remoteValues = false;
1885
1881
  if (values) {
1886
1882
  if (typeof values === 'string') {
@@ -2036,8 +2032,8 @@
2036
2032
  let isMultiple;
2037
2033
  value = value !== undefined
2038
2034
  ? value
2039
- : (module.get.values(true) !== undefined
2040
- ? module.get.values(true)
2035
+ : (module.get.values() !== undefined
2036
+ ? module.get.values()
2041
2037
  : module.get.text());
2042
2038
  isMultiple = module.is.multiple() && Array.isArray(value);
2043
2039
  shouldSearch = isMultiple
@@ -2074,7 +2070,7 @@
2074
2070
  optionValue = optionValue.toLowerCase();
2075
2071
  value = value.toLowerCase();
2076
2072
  }
2077
- if (module.escape.htmlEntities(String(optionValue)) === module.escape.htmlEntities(String(value))) {
2073
+ if (String(optionValue) === String(value)) {
2078
2074
  module.verbose('Found select item by value', optionValue, value);
2079
2075
  $selectedItem = $choice;
2080
2076
 
@@ -2540,7 +2536,7 @@
2540
2536
  $input.addClass(className.noselection);
2541
2537
  }
2542
2538
  let hasInput = $input.length > 0;
2543
- let currentValue = module.get.values(true);
2539
+ let currentValue = module.get.values();
2544
2540
  let stringValue = value !== undefined
2545
2541
  ? String(value)
2546
2542
  : value;
@@ -2828,7 +2824,7 @@
2828
2824
  $selectedItem = undefined;
2829
2825
  addedText = undefined;
2830
2826
  }
2831
- let currentValue = module.get.values(true);
2827
+ let currentValue = module.get.values();
2832
2828
  let newValue;
2833
2829
  if (module.has.value(addedValue)) {
2834
2830
  module.debug('Value already selected');
@@ -2842,7 +2838,9 @@
2842
2838
  }
2843
2839
  // extend current array
2844
2840
  if (Array.isArray(currentValue)) {
2845
- newValue = $selectedItem && $selectedItem.hasClass(className.actionable) ? currentValue : currentValue.concat([addedValue]);
2841
+ newValue = $selectedItem && $selectedItem.hasClass(className.actionable)
2842
+ ? currentValue
2843
+ : currentValue.concat([addedValue]);
2846
2844
  newValue = module.get.uniqueArray(newValue);
2847
2845
  } else {
2848
2846
  newValue = [addedValue];
@@ -2985,7 +2983,7 @@
2985
2983
  $item.removeClass(className.selected);
2986
2984
  },
2987
2985
  value: function (removedValue, removedText, $removedItem, preventChangeTrigger) {
2988
- let values = module.get.values(true);
2986
+ let values = module.get.values();
2989
2987
  let newValue;
2990
2988
  if (module.has.selectInput()) {
2991
2989
  module.verbose('Input is <select> removing selected option', removedValue);
@@ -3155,7 +3153,7 @@
3155
3153
  : module.has.valueMatchingCase(value);
3156
3154
  },
3157
3155
  valueMatchingCase: function (value) {
3158
- let values = module.get.values(true);
3156
+ let values = module.get.values();
3159
3157
  let hasValue = Array.isArray(values)
3160
3158
  ? values && ($.inArray(value, values) !== -1)
3161
3159
  : values == value;
@@ -3163,7 +3161,7 @@
3163
3161
  return !!hasValue;
3164
3162
  },
3165
3163
  valueIgnoringCase: function (value) {
3166
- let values = module.get.values(true);
3164
+ let values = module.get.values();
3167
3165
  let hasValue = false;
3168
3166
  if (!Array.isArray(values)) {
3169
3167
  values = [values];
@@ -3543,17 +3541,6 @@
3543
3541
 
3544
3542
  return text.replace(regExp.escape, '\\$&');
3545
3543
  },
3546
- htmlEntities: function (string) {
3547
- const escapeMap = {
3548
- '"': '&quot;',
3549
- '&': '&amp;',
3550
- "'": '&apos;',
3551
- '<': '&lt;',
3552
- '>': '&gt;',
3553
- };
3554
-
3555
- return String(string).replace(/["&'<>]/g, (chr) => escapeMap[chr]);
3556
- },
3557
3544
 
3558
3545
  // https://github.com/fomantic/Fomantic-UI/issues/2782
3559
3546
  // https://jsfiddle.net/3efL7jnt/
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.16+fd10e3b - Dropdown
2
+ * # Fomantic-UI 2.10.0-beta.18+98b000a - Dropdown
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *