fomantic-ui 2.10.0-beta.1 → 2.10.0-beta.3

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 (184) 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 +6 -6
  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 +7 -7
  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 +4 -4
  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 +29 -29
  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 +2 -2
  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 +3 -3
  49. package/dist/components/flyout.min.css +1 -1
  50. package/dist/components/flyout.min.js +2 -2
  51. package/dist/components/form.css +5 -5
  52. package/dist/components/form.js +11 -11
  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 +2 -2
  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 +2 -2
  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 +8 -8
  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 +7 -7
  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 +7 -7
  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 +2 -2
  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 +2 -2
  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 +5 -5
  125. package/dist/components/slider.min.css +1 -1
  126. package/dist/components/slider.min.js +2 -2
  127. package/dist/components/state.js +3 -3
  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 +5 -5
  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 +10 -13
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +2 -2
  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 +4 -4
  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 +5 -5
  151. package/dist/components/transition.min.css +1 -1
  152. package/dist/components/transition.min.js +1 -1
  153. package/dist/components/visibility.js +2 -2
  154. package/dist/components/visibility.min.js +1 -1
  155. package/dist/semantic.css +57 -57
  156. package/dist/semantic.js +131 -134
  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/README.md +3 -3
  161. package/src/definitions/behaviors/api.js +5 -5
  162. package/src/definitions/behaviors/form.js +10 -10
  163. package/src/definitions/behaviors/state.js +2 -2
  164. package/src/definitions/behaviors/visibility.js +1 -1
  165. package/src/definitions/collections/form.less +1 -1
  166. package/src/definitions/modules/calendar.js +6 -6
  167. package/src/definitions/modules/dimmer.js +3 -3
  168. package/src/definitions/modules/dropdown.js +28 -28
  169. package/src/definitions/modules/embed.js +1 -1
  170. package/src/definitions/modules/flyout.js +2 -2
  171. package/src/definitions/modules/modal.js +1 -1
  172. package/src/definitions/modules/nag.js +1 -1
  173. package/src/definitions/modules/popup.js +7 -7
  174. package/src/definitions/modules/progress.js +6 -6
  175. package/src/definitions/modules/search.js +6 -6
  176. package/src/definitions/modules/shape.js +1 -1
  177. package/src/definitions/modules/sidebar.js +1 -1
  178. package/src/definitions/modules/slider.js +4 -4
  179. package/src/definitions/modules/slider.less +1 -1
  180. package/src/definitions/modules/sticky.js +4 -4
  181. package/src/definitions/modules/tab.js +9 -12
  182. package/src/definitions/modules/toast.js +3 -3
  183. package/src/definitions/modules/transition.js +4 -4
  184. package/src/themes/default/modules/slider.variables +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Accordion
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e
2
+ * # Fomantic UI - 2.10.0-beta.3+f3fff7f
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.1+bee406e - Ad
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Ad
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - API
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - API
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -211,7 +211,7 @@
211
211
  // call beforesend and get any settings changes
212
212
  requestSettings = module.get.settings();
213
213
 
214
- // check if before send cancelled request
214
+ // check if before send canceled request
215
215
  if (requestSettings === false) {
216
216
  module.cancelled = true;
217
217
  module.error(error.beforeSend);
@@ -767,8 +767,8 @@
767
767
  },
768
768
  errorFromRequest: function (response, status, httpMessage) {
769
769
  return $.isPlainObject(response) && response.error !== undefined
770
- ? response.error // use json error message
771
- : (settings.error[status] !== undefined // use server error message
770
+ ? response.error // use JSON error message
771
+ : (settings.error[status] !== undefined // use the server error message
772
772
  ? settings.error[status]
773
773
  : httpMessage);
774
774
  },
@@ -1125,7 +1125,7 @@
1125
1125
  // whether to add default data to url data
1126
1126
  defaultData: true,
1127
1127
 
1128
- // whether to serialize closest form
1128
+ // whether to serialize the closest form
1129
1129
  // use true to convert complex named keys like a[b][1][c][] into a nested object
1130
1130
  // use 'formdata' for formdata web api
1131
1131
  serializeForm: false,
@@ -1162,7 +1162,7 @@
1162
1162
  // after request
1163
1163
  onResponse: false, // function(response) { },
1164
1164
 
1165
- // response was successful, if JSON passed validation
1165
+ // response was successful if JSON passed validation
1166
1166
  onSuccess: function (response, $module) {},
1167
1167
 
1168
1168
  // request finished without aborting
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.1+bee406e
2
+ * # Fomantic UI - 2.10.0-beta.3+f3fff7f
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.1+bee406e - Breadcrumb
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Breadcrumb
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Button
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Button
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Calendar
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -149,7 +149,7 @@
149
149
  $container = $('<div/>', { id: module.popupId }).addClass(className.popup).appendTo($document.find(settings.context));
150
150
  } else {
151
151
  // prepend the popup element to the activator's parent so that it has less chance of messing with
152
- // the styling (eg input action button needs to be the last child to have correct border radius)
152
+ // the styling (e.g., input action button needs to be the last child to have the correct border radius)
153
153
  var
154
154
  $activatorParent = $activator.parent(),
155
155
  domPositionFunction = $activatorParent.closest(selector.append).length > 0 ? 'appendTo' : 'prependTo'
@@ -631,7 +631,7 @@
631
631
  }
632
632
  var parent = target.parent();
633
633
  if (parent.data(metadata.date) || parent.data(metadata.focusDate) || parent.data(metadata.mode)) {
634
- // clicked on a child element, switch to parent (used when clicking directly on prev/next <i> icon element)
634
+ // clicked on a child element, switch to parent (used when clicking directly on the prev/next <i> icon element)
635
635
  target = parent;
636
636
  }
637
637
  var date = target.data(metadata.date);
@@ -1623,12 +1623,12 @@
1623
1623
 
1624
1624
  context: false,
1625
1625
 
1626
- type: 'datetime', // picker type, can be 'datetime', 'date', 'time', 'month', or 'year'
1626
+ type: 'datetime', // picker type. can be 'datetime', 'date', 'time', 'month', or 'year'
1627
1627
  firstDayOfWeek: 0, // day for first day column (0 = Sunday)
1628
1628
  constantHeight: true, // add rows to shorter months to keep day calendar height consistent (6 rows)
1629
1629
  today: false, // show a 'today/now' button at the bottom of the calendar
1630
1630
  closable: true, // close the popup after selecting a date/time
1631
- monthFirst: true, // month before day when parsing date from text
1631
+ monthFirst: true, // month before day when parsing date from a text
1632
1632
  touchReadonly: true, // set input to readonly on touch devices
1633
1633
  inline: false, // create the calendar inline instead of inside a popup
1634
1634
  on: null, // when to show the popup (defaults to 'focus' for input, 'click' for others)
@@ -1645,7 +1645,7 @@
1645
1645
  multiMonth: 1, // show multiple months when in 'day' mode
1646
1646
  monthOffset: 0, // position current month by offset when multimonth > 1
1647
1647
  minTimeGap: 5,
1648
- showWeekNumbers: false, // show Number of Week at the very first column of a dayView
1648
+ showWeekNumbers: false, // show Number of Weeks at the very first column of a dayView
1649
1649
  disabledHours: [], // specific hour(s) which won't be selectable and contain additional information.
1650
1650
  disabledDates: [], // specific day(s) which won't be selectable and contain additional information.
1651
1651
  disabledDaysOfWeek: [], // day(s) which won't be selectable(s) (0 = Sunday)
@@ -1940,7 +1940,7 @@
1940
1940
 
1941
1941
  var date = new Date(year, month - 1, day, hour, minute);
1942
1942
  if (date.getMonth() !== month - 1 || date.getFullYear() !== year) {
1943
- // month or year don't match up, switch to last day of the month
1943
+ // month or year don't match up, switch to the last day of the month
1944
1944
  date = new Date(year, month, 0, hour, minute);
1945
1945
  }
1946
1946
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Calendar
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e
2
+ * # Fomantic UI - 2.10.0-beta.3+f3fff7f
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.1+bee406e - Card
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Card
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Checkbox
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e
2
+ * # Fomantic UI - 2.10.0-beta.3+f3fff7f
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.1+bee406e - Comment
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Comment
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Container
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Container
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Dimmer
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -643,7 +643,7 @@
643
643
  verbose: false,
644
644
  performance: true,
645
645
 
646
- // whether should use flex layout
646
+ // whether flex layout should be used
647
647
  useFlex: true,
648
648
 
649
649
  // name to distinguish between multiple dimmers in context
@@ -655,10 +655,10 @@
655
655
  // whether to bind close events
656
656
  closable: 'auto',
657
657
 
658
- // whether to use css animations
658
+ // whether to use CSS animations
659
659
  useCSS: true,
660
660
 
661
- // css animation to use
661
+ // CSS animation to use
662
662
  transition: 'fade',
663
663
 
664
664
  // event to bind to
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Dimmer
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e
2
+ * # Fomantic UI - 2.10.0-beta.3+f3fff7f
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.1+bee406e - Divider
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Divider
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Dropdown
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e - Dropdown
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Dropdown
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -464,7 +464,7 @@
464
464
  $firstModules = $allModules.slice(0, elementIndex),
465
465
  $lastModules = $allModules.slice(elementIndex + 1)
466
466
  ;
467
- // adjust all modules to use correct reference
467
+ // adjust all modules to use the correct reference
468
468
  $allModules = $firstModules.add($module).add($lastModules);
469
469
  },
470
470
  },
@@ -1171,7 +1171,7 @@
1171
1171
  },
1172
1172
  mousedown: function () {
1173
1173
  if (module.is.searchSelection(true)) {
1174
- // prevent menu hiding on immediate re-focus
1174
+ // prevent the menu hiding on immediate re-focus
1175
1175
  willRefocus = true;
1176
1176
  } else {
1177
1177
  // prevents focus callback from occurring on mousedown
@@ -1180,7 +1180,7 @@
1180
1180
  },
1181
1181
  mouseup: function () {
1182
1182
  if (module.is.searchSelection(true)) {
1183
- // prevent menu hiding on immediate re-focus
1183
+ // prevent the menu hiding on immediate re-focus
1184
1184
  willRefocus = false;
1185
1185
  } else {
1186
1186
  activated = false;
@@ -1468,7 +1468,7 @@
1468
1468
  },
1469
1469
 
1470
1470
  document: {
1471
- // label selection should occur even when element has no focus
1471
+ // label selection should occur even when the element has no focus
1472
1472
  keydown: function (event) {
1473
1473
  var
1474
1474
  pressedKey = event.which,
@@ -1614,7 +1614,7 @@
1614
1614
  $nextItem,
1615
1615
  isSubMenuItem
1616
1616
  ;
1617
- // allow selection with menu closed
1617
+ // allow selection with the menu closed
1618
1618
  if (isAdditionWithoutMenu) {
1619
1619
  if (selectedIsSelectable && settings.hideAdditions) {
1620
1620
  module.verbose('Selecting item from keyboard shortcut', $selectedItem);
@@ -1630,7 +1630,7 @@
1630
1630
 
1631
1631
  // visible menu keyboard shortcuts
1632
1632
  if (module.is.visible()) {
1633
- // enter (select or open sub-menu)
1633
+ // enter (select or open submenu)
1634
1634
  if (pressedKey === keys.enter || delimiterPressed) {
1635
1635
  if (pressedKey === keys.enter && hasSelectedItem && hasSubMenu && !settings.allowCategorySelection) {
1636
1636
  module.verbose('Pressed enter on unselectable category, opening sub menu');
@@ -1669,7 +1669,7 @@
1669
1669
  }
1670
1670
  }
1671
1671
 
1672
- // right arrow (show sub-menu)
1672
+ // right arrow (show submenu)
1673
1673
  if (pressedKey === keys.rightArrow) {
1674
1674
  if (hasSubMenu) {
1675
1675
  module.verbose('Right key pressed, opening sub-menu');
@@ -1992,7 +1992,7 @@
1992
1992
  isEmptyMultiselect = Array.isArray(value) && value.length === 1 && value[0] === ''
1993
1993
  ;
1994
1994
 
1995
- // prevents placeholder element from being selected when multiple
1995
+ // prevents the placeholder element from being selected when multiple
1996
1996
  return value === undefined || isEmptyMultiselect
1997
1997
  ? ''
1998
1998
  : value;
@@ -2336,7 +2336,7 @@
2336
2336
  }
2337
2337
  },
2338
2338
  values: function () {
2339
- // prevents callbacks from occurring on initial load
2339
+ // prevents callbacks from occurring on the initial load
2340
2340
  module.set.initialLoad();
2341
2341
  if (settings.apiSettings && settings.saveRemoteData && module.get.remoteValues()) {
2342
2342
  module.restore.remoteValues();
@@ -2657,7 +2657,7 @@
2657
2657
  $nextValue = false,
2658
2658
  $nextItem
2659
2659
  ;
2660
- // check next of same letter
2660
+ // check next of the same letter
2661
2661
  if (alreadySelectedLetter) {
2662
2662
  $nextItem = $selectedItem.nextAll($item).eq(0);
2663
2663
  if (module.has.firstLetter($nextItem, letter)) {
@@ -2676,7 +2676,7 @@
2676
2676
  })
2677
2677
  ;
2678
2678
  }
2679
- // set next value
2679
+ // set the next value
2680
2680
  if ($nextValue) {
2681
2681
  module.verbose('Scrolling to next value with letter', letter);
2682
2682
  module.set.scrollPosition($nextValue);
@@ -2693,7 +2693,7 @@
2693
2693
  if (!$menu) {
2694
2694
  module.remove.upward();
2695
2695
  } else if (module.is.upward($menu)) {
2696
- // we need make sure when make assertion openDownward for $menu, $menu does not have upward class
2696
+ // we need to make sure when make assertion openDownward for $menu, $menu does not have upward class
2697
2697
  module.remove.upward($menu);
2698
2698
  }
2699
2699
 
@@ -4066,33 +4066,33 @@
4066
4066
  match: 'both', // what to match against with search selection (both, text, or label)
4067
4067
  fullTextSearch: 'exact', // search anywhere in value (set to 'exact' to require exact matches)
4068
4068
  highlightMatches: false, // Whether search result should highlight matching strings
4069
- ignoreDiacritics: false, // match results also if they contain diacritics of the same base character (for example searching for "a" will also match "á" or "â" or "à", etc...)
4069
+ ignoreDiacritics: false, // match results also if they contain diacritics of the same base character (for example, searching for "a" will also match "á" or "â" or "à", etc...)
4070
4070
  hideDividers: false, // Whether to hide any divider elements (specified in selector.divider) that are sibling to any items when searched (set to true will hide all dividers, set to 'empty' will hide them when they are not followed by a visible item)
4071
4071
 
4072
- placeholder: 'auto', // whether to convert blank <select> values to placeholder text
4073
- preserveHTML: true, // preserve html when selecting value
4072
+ placeholder: 'auto', // whether to convert blank <select> values to the placeholder text
4073
+ preserveHTML: true, // preserve HTML when selecting value
4074
4074
  sortSelect: false, // sort selection on init
4075
4075
 
4076
4076
  forceSelection: false, // force a choice on blur with search selection
4077
4077
 
4078
4078
  allowAdditions: false, // whether multiple select should allow user added values
4079
- keepSearchTerm: false, // whether the search value should be kept and menu stays filtered on item selection
4079
+ keepSearchTerm: false, // whether the search value should be kept, and the menu stays filtered on item selection
4080
4080
  ignoreCase: false, // whether to consider case sensitivity when creating labels
4081
4081
  ignoreSearchCase: true, // whether to consider case sensitivity when filtering items
4082
- hideAdditions: true, // whether or not to hide special message prompting a user they can enter a value
4082
+ hideAdditions: true, // whether to hide a special message prompting a user, they can enter a value
4083
4083
 
4084
- maxSelections: false, // When set to a number limits the number of selections to this count
4084
+ maxSelections: false, // When set to a number, limits the number of selections to this count
4085
4085
  useLabels: true, // whether multiple select should filter currently active selections from choices
4086
- delimiter: ',', // when multiselect uses normal <input> the values will be delimited with this character
4086
+ delimiter: ',', // when multiselect uses normal <input >, the values will be delimited with this character
4087
4087
 
4088
- showOnFocus: false, // show menu on focus
4088
+ showOnFocus: false, // show the menu on focus
4089
4089
  allowReselection: false, // whether current value should trigger callbacks when reselected
4090
- allowTab: true, // add tabindex to element
4091
- allowCategorySelection: false, // allow elements with sub-menus to be selected
4090
+ allowTab: true, // add tabindex to the element
4091
+ allowCategorySelection: false, // allow elements with submenus to be selected
4092
4092
 
4093
4093
  fireOnInit: false, // Whether callbacks should fire when initializing dropdown values
4094
4094
 
4095
- transition: 'auto', // auto transition will slide down or up based on direction
4095
+ transition: 'auto', // auto transition will slide down or up based on the direction
4096
4096
  duration: 200, // duration of transition
4097
4097
  displayType: false, // displayType of transition
4098
4098
 
@@ -4172,23 +4172,23 @@
4172
4172
  value: 'value',
4173
4173
  },
4174
4174
 
4175
- // property names for remote query
4175
+ // property names for the remote query
4176
4176
  fields: {
4177
4177
  remoteValues: 'results', // grouping for api results
4178
4178
  values: 'values', // grouping for all dropdown values
4179
4179
  disabled: 'disabled', // whether value should be disabled
4180
- name: 'name', // displayed dropdown text
4180
+ name: 'name', // the displayed dropdown text
4181
4181
  description: 'description', // displayed dropdown description
4182
4182
  descriptionVertical: 'descriptionVertical', // whether description should be vertical
4183
4183
  value: 'value', // actual dropdown value
4184
- text: 'text', // displayed text when selected
4184
+ text: 'text', // the displayed text when selected
4185
4185
  data: 'data', // custom data attributes
4186
4186
  type: 'type', // type of dropdown element
4187
4187
  image: 'image', // optional image path
4188
4188
  imageClass: 'imageClass', // optional individual class for image
4189
4189
  alt: 'alt', // optional alt text for image
4190
4190
  icon: 'icon', // optional icon name
4191
- iconClass: 'iconClass', // optional individual class for icon (for example to use flag instead)
4191
+ iconClass: 'iconClass', // optional individual class for icon (for example, to use a flag instead)
4192
4192
  class: 'class', // optional individual class for item/header
4193
4193
  divider: 'divider', // optional divider append for group headers
4194
4194
  actionable: 'actionable', // optional actionable item
@@ -4423,7 +4423,7 @@
4423
4423
  return message;
4424
4424
  },
4425
4425
 
4426
- // generates user addition to selection menu
4426
+ // generates user addition to the selection menu
4427
4427
  addition: function (choice) {
4428
4428
  return choice;
4429
4429
  },
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Dropdown
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - 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.1+bee406e
2
+ * # Fomantic UI - 2.10.0-beta.3+f3fff7f
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.1+bee406e - Embed
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Embed
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.1+bee406e - Embed
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Embed
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -169,7 +169,7 @@
169
169
  }
170
170
  },
171
171
 
172
- // clears embed
172
+ // clear embed
173
173
  reset: function () {
174
174
  module.debug('Clearing embed and showing placeholder');
175
175
  module.remove.data();
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.1+bee406e - Embed
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Embed
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.1+bee406e
2
+ * # Fomantic UI - 2.10.0-beta.3+f3fff7f
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.1+bee406e - Emoji
2
+ * # Fomantic-UI 2.10.0-beta.3+f3fff7f - Emoji
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *