fomantic-ui 2.9.1-beta.18 → 2.9.1-beta.19

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 (178) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +2 -4
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +2 -2
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +3 -4
  8. package/dist/components/api.min.js +2 -2
  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 +2 -4
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +2 -2
  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 +2 -4
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +2 -2
  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 +2 -4
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +2 -2
  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 +2 -4
  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 +2 -4
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +2 -2
  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 +2 -4
  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 -4
  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 +2 -4
  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 +2 -4
  79. package/dist/components/nag.min.css +1 -1
  80. package/dist/components/nag.min.js +2 -2
  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 +2 -4
  85. package/dist/components/popup.min.css +1 -1
  86. package/dist/components/popup.min.js +2 -2
  87. package/dist/components/progress.css +1 -1
  88. package/dist/components/progress.js +2 -4
  89. package/dist/components/progress.min.css +1 -1
  90. package/dist/components/progress.min.js +2 -2
  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 +2 -4
  95. package/dist/components/rating.min.css +1 -1
  96. package/dist/components/rating.min.js +2 -2
  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 +2 -4
  103. package/dist/components/search.min.css +1 -1
  104. package/dist/components/search.min.js +2 -2
  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 +2 -4
  109. package/dist/components/shape.min.css +1 -1
  110. package/dist/components/shape.min.js +2 -2
  111. package/dist/components/sidebar.css +1 -1
  112. package/dist/components/sidebar.js +2 -4
  113. package/dist/components/sidebar.min.css +1 -1
  114. package/dist/components/sidebar.min.js +2 -2
  115. package/dist/components/site.css +1 -1
  116. package/dist/components/site.js +7 -1
  117. package/dist/components/site.min.css +1 -1
  118. package/dist/components/site.min.js +2 -2
  119. package/dist/components/slider.js +2 -4
  120. package/dist/components/slider.min.js +2 -2
  121. package/dist/components/state.js +2 -4
  122. package/dist/components/state.min.js +2 -2
  123. package/dist/components/statistic.css +1 -1
  124. package/dist/components/statistic.min.css +1 -1
  125. package/dist/components/step.css +1 -1
  126. package/dist/components/step.min.css +1 -1
  127. package/dist/components/sticky.css +1 -1
  128. package/dist/components/sticky.js +2 -4
  129. package/dist/components/sticky.min.css +1 -1
  130. package/dist/components/sticky.min.js +2 -2
  131. package/dist/components/tab.css +1 -1
  132. package/dist/components/tab.js +3 -4
  133. package/dist/components/tab.min.css +1 -1
  134. package/dist/components/tab.min.js +2 -2
  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 +2 -4
  141. package/dist/components/toast.min.css +1 -1
  142. package/dist/components/toast.min.js +2 -2
  143. package/dist/components/transition.css +1 -1
  144. package/dist/components/transition.js +2 -4
  145. package/dist/components/transition.min.css +1 -1
  146. package/dist/components/transition.min.js +2 -2
  147. package/dist/components/visibility.js +2 -4
  148. package/dist/components/visibility.min.js +2 -2
  149. package/dist/semantic.css +50 -50
  150. package/dist/semantic.js +58 -98
  151. package/dist/semantic.min.css +1 -1
  152. package/dist/semantic.min.js +2 -2
  153. package/package.json +1 -1
  154. package/src/definitions/behaviors/api.js +2 -3
  155. package/src/definitions/behaviors/form.js +1 -3
  156. package/src/definitions/behaviors/state.js +1 -3
  157. package/src/definitions/behaviors/visibility.js +1 -3
  158. package/src/definitions/globals/site.js +6 -0
  159. package/src/definitions/modules/accordion.js +1 -3
  160. package/src/definitions/modules/calendar.js +1 -3
  161. package/src/definitions/modules/checkbox.js +1 -3
  162. package/src/definitions/modules/dimmer.js +1 -3
  163. package/src/definitions/modules/dropdown.js +1 -3
  164. package/src/definitions/modules/embed.js +1 -3
  165. package/src/definitions/modules/flyout.js +1 -3
  166. package/src/definitions/modules/modal.js +1 -3
  167. package/src/definitions/modules/nag.js +1 -3
  168. package/src/definitions/modules/popup.js +1 -3
  169. package/src/definitions/modules/progress.js +1 -3
  170. package/src/definitions/modules/rating.js +1 -3
  171. package/src/definitions/modules/search.js +1 -3
  172. package/src/definitions/modules/shape.js +1 -3
  173. package/src/definitions/modules/sidebar.js +1 -3
  174. package/src/definitions/modules/slider.js +1 -3
  175. package/src/definitions/modules/sticky.js +1 -3
  176. package/src/definitions/modules/tab.js +2 -3
  177. package/src/definitions/modules/toast.js +1 -3
  178. package/src/definitions/modules/transition.js +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fomantic-ui",
3
- "version": "2.9.1-beta.18+935e235",
3
+ "version": "2.9.1-beta.19+e589cd1",
4
4
  "description": "Fomantic empowers designers and developers by creating a shared vocabulary for UI.",
5
5
  "keywords": [
6
6
  "fomantic-ui",
@@ -14,15 +14,14 @@
14
14
  function isWindow(obj) {
15
15
  return obj != null && obj === obj.window;
16
16
  }
17
+
17
18
  function isFunction(obj) {
18
19
  return typeof obj === 'function' && typeof obj.nodeType !== 'number';
19
20
  }
20
21
 
21
22
  window = (typeof window != 'undefined' && window.Math == Math)
22
23
  ? window
23
- : (typeof self != 'undefined' && self.Math == Math)
24
- ? self
25
- : Function('return this')();
24
+ : globalThis;
26
25
 
27
26
  $.api = $.fn.api = function (parameters) {
28
27
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.form = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.state = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.visibility = function (parameters) {
25
23
  var
@@ -9,10 +9,16 @@
9
9
  */
10
10
 
11
11
  (function ($, window, document, undefined) {
12
+ 'use strict';
13
+
12
14
  function isFunction(obj) {
13
15
  return typeof obj === 'function' && typeof obj.nodeType !== 'number';
14
16
  }
15
17
 
18
+ window = (window !== undefined && window.Math == Math)
19
+ ? window
20
+ : globalThis;
21
+
16
22
  $.site = $.fn.site = function (parameters) {
17
23
  var
18
24
  time = new Date().getTime(),
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.accordion = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.calendar = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.checkbox = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.dimmer = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.dropdown = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.embed = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.flyout = $.fn.flyout = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.modal = $.fn.modal = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.nag = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.popup = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.progress = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.rating = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.search = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.shape = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.sidebar = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.slider = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.sticky = function (parameters) {
25
23
  var
@@ -14,15 +14,14 @@
14
14
  function isWindow(obj) {
15
15
  return obj != null && obj === obj.window;
16
16
  }
17
+
17
18
  function isFunction(obj) {
18
19
  return typeof obj === 'function' && typeof obj.nodeType !== 'number';
19
20
  }
20
21
 
21
22
  window = (typeof window != 'undefined' && window.Math == Math)
22
23
  ? window
23
- : (typeof self != 'undefined' && self.Math == Math)
24
- ? self
25
- : Function('return this')();
24
+ : globalThis;
26
25
 
27
26
  $.fn.tab = function (parameters) {
28
27
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.toast = $.fn.toast = function (parameters) {
25
23
  var
@@ -17,9 +17,7 @@
17
17
 
18
18
  window = (typeof window != 'undefined' && window.Math == Math)
19
19
  ? window
20
- : (typeof self != 'undefined' && self.Math == Math)
21
- ? self
22
- : Function('return this')();
20
+ : globalThis;
23
21
 
24
22
  $.fn.transition = function () {
25
23
  var