fomantic-ui 2.9.0-beta.282 → 2.9.0-beta.285

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 (174) hide show
  1. package/.all-contributorsrc +18 -0
  2. package/.github/dependabot.yml +10 -0
  3. package/.github/workflows/ci.yml +5 -2
  4. package/.github/workflows/nightly.yml +5 -2
  5. package/.github/workflows/release.yml +5 -2
  6. package/CONTRIBUTORS.md +4 -0
  7. package/dist/components/accordion.css +1 -1
  8. package/dist/components/accordion.js +1 -1
  9. package/dist/components/accordion.min.css +1 -1
  10. package/dist/components/accordion.min.js +1 -1
  11. package/dist/components/ad.css +1 -1
  12. package/dist/components/ad.min.css +1 -1
  13. package/dist/components/api.js +2 -2
  14. package/dist/components/api.min.js +2 -2
  15. package/dist/components/breadcrumb.css +1 -1
  16. package/dist/components/breadcrumb.min.css +1 -1
  17. package/dist/components/button.css +1 -1
  18. package/dist/components/button.min.css +1 -1
  19. package/dist/components/calendar.css +1 -1
  20. package/dist/components/calendar.js +1 -1
  21. package/dist/components/calendar.min.css +1 -1
  22. package/dist/components/calendar.min.js +1 -1
  23. package/dist/components/card.css +1 -1
  24. package/dist/components/card.min.css +1 -1
  25. package/dist/components/checkbox.css +1 -1
  26. package/dist/components/checkbox.js +1 -1
  27. package/dist/components/checkbox.min.css +1 -1
  28. package/dist/components/checkbox.min.js +1 -1
  29. package/dist/components/comment.css +1 -1
  30. package/dist/components/comment.min.css +1 -1
  31. package/dist/components/container.css +1 -1
  32. package/dist/components/container.min.css +1 -1
  33. package/dist/components/dimmer.css +1 -1
  34. package/dist/components/dimmer.js +1 -1
  35. package/dist/components/dimmer.min.css +1 -1
  36. package/dist/components/dimmer.min.js +1 -1
  37. package/dist/components/divider.css +1 -1
  38. package/dist/components/divider.min.css +1 -1
  39. package/dist/components/dropdown.css +1 -1
  40. package/dist/components/dropdown.js +2 -2
  41. package/dist/components/dropdown.min.css +1 -1
  42. package/dist/components/dropdown.min.js +2 -2
  43. package/dist/components/embed.css +1 -1
  44. package/dist/components/embed.js +1 -1
  45. package/dist/components/embed.min.css +1 -1
  46. package/dist/components/embed.min.js +1 -1
  47. package/dist/components/emoji.css +8 -10
  48. package/dist/components/feed.css +1 -1
  49. package/dist/components/feed.min.css +1 -1
  50. package/dist/components/flag.css +8 -8
  51. package/dist/components/flag.min.css +1 -1
  52. package/dist/components/form.css +1 -1
  53. package/dist/components/form.js +1 -1
  54. package/dist/components/form.min.css +1 -1
  55. package/dist/components/form.min.js +1 -1
  56. package/dist/components/grid.css +1 -1
  57. package/dist/components/grid.min.css +1 -1
  58. package/dist/components/header.css +1 -1
  59. package/dist/components/header.min.css +1 -1
  60. package/dist/components/icon.css +1 -1
  61. package/dist/components/icon.min.css +1 -1
  62. package/dist/components/image.css +1 -1
  63. package/dist/components/image.min.css +1 -1
  64. package/dist/components/input.css +1 -1
  65. package/dist/components/input.min.css +1 -1
  66. package/dist/components/item.css +1 -1
  67. package/dist/components/item.min.css +1 -1
  68. package/dist/components/label.css +9 -5
  69. package/dist/components/label.min.css +2 -2
  70. package/dist/components/list.css +1 -1
  71. package/dist/components/list.min.css +1 -1
  72. package/dist/components/loader.css +1 -1
  73. package/dist/components/loader.min.css +1 -1
  74. package/dist/components/message.css +1 -1
  75. package/dist/components/message.min.css +1 -1
  76. package/dist/components/modal.css +1 -1
  77. package/dist/components/modal.js +1 -1
  78. package/dist/components/modal.min.css +1 -1
  79. package/dist/components/modal.min.js +1 -1
  80. package/dist/components/nag.css +1 -1
  81. package/dist/components/nag.js +1 -1
  82. package/dist/components/nag.min.css +1 -1
  83. package/dist/components/nag.min.js +1 -1
  84. package/dist/components/placeholder.css +1 -1
  85. package/dist/components/placeholder.min.css +1 -1
  86. package/dist/components/popup.css +1 -1
  87. package/dist/components/popup.js +1 -1
  88. package/dist/components/popup.min.css +1 -1
  89. package/dist/components/popup.min.js +1 -1
  90. package/dist/components/progress.css +1 -1
  91. package/dist/components/progress.js +1 -1
  92. package/dist/components/progress.min.css +1 -1
  93. package/dist/components/progress.min.js +1 -1
  94. package/dist/components/rail.css +1 -1
  95. package/dist/components/rail.min.css +1 -1
  96. package/dist/components/rating.css +1 -1
  97. package/dist/components/rating.js +1 -1
  98. package/dist/components/rating.min.css +1 -1
  99. package/dist/components/rating.min.js +1 -1
  100. package/dist/components/reset.css +1 -1
  101. package/dist/components/reset.min.css +1 -1
  102. package/dist/components/reveal.css +1 -1
  103. package/dist/components/reveal.min.css +1 -1
  104. package/dist/components/search.css +1 -1
  105. package/dist/components/search.js +1 -1
  106. package/dist/components/search.min.css +1 -1
  107. package/dist/components/search.min.js +1 -1
  108. package/dist/components/segment.css +1 -1
  109. package/dist/components/segment.min.css +1 -1
  110. package/dist/components/shape.css +1 -1
  111. package/dist/components/shape.js +1 -1
  112. package/dist/components/shape.min.css +1 -1
  113. package/dist/components/shape.min.js +1 -1
  114. package/dist/components/sidebar.css +1 -1
  115. package/dist/components/sidebar.js +1 -1
  116. package/dist/components/sidebar.min.css +1 -1
  117. package/dist/components/sidebar.min.js +1 -1
  118. package/dist/components/site.css +1 -1
  119. package/dist/components/site.js +1 -1
  120. package/dist/components/site.min.css +1 -1
  121. package/dist/components/site.min.js +1 -1
  122. package/dist/components/slider.js +1 -1
  123. package/dist/components/slider.min.js +1 -1
  124. package/dist/components/state.js +1 -1
  125. package/dist/components/state.min.js +1 -1
  126. package/dist/components/statistic.css +1 -1
  127. package/dist/components/statistic.min.css +1 -1
  128. package/dist/components/step.css +1 -1
  129. package/dist/components/step.min.css +1 -1
  130. package/dist/components/sticky.css +1 -1
  131. package/dist/components/sticky.js +1 -1
  132. package/dist/components/sticky.min.css +1 -1
  133. package/dist/components/sticky.min.js +1 -1
  134. package/dist/components/tab.css +1 -1
  135. package/dist/components/tab.js +1 -1
  136. package/dist/components/tab.min.css +1 -1
  137. package/dist/components/tab.min.js +1 -1
  138. package/dist/components/table.css +1 -1
  139. package/dist/components/table.min.css +1 -1
  140. package/dist/components/text.css +1 -1
  141. package/dist/components/text.min.css +1 -1
  142. package/dist/components/toast.css +4 -1
  143. package/dist/components/toast.js +9 -5
  144. package/dist/components/toast.min.css +2 -2
  145. package/dist/components/toast.min.js +2 -2
  146. package/dist/components/transition.css +1 -1
  147. package/dist/components/transition.js +1 -1
  148. package/dist/components/transition.min.css +1 -1
  149. package/dist/components/transition.min.js +1 -1
  150. package/dist/components/visibility.js +1 -1
  151. package/dist/components/visibility.min.js +1 -1
  152. package/dist/semantic.css +75 -67
  153. package/dist/semantic.js +35 -31
  154. package/dist/semantic.min.css +2 -2
  155. package/dist/semantic.min.js +2 -2
  156. package/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  157. package/package.json +1 -1
  158. package/src/definitions/behaviors/api.js +1 -1
  159. package/src/definitions/elements/emoji.less +23 -0
  160. package/src/definitions/elements/flag.less +45 -0
  161. package/src/definitions/elements/label.less +7 -4
  162. package/src/definitions/modules/dropdown.js +1 -1
  163. package/src/definitions/modules/toast.js +8 -4
  164. package/src/definitions/modules/toast.less +3 -0
  165. package/src/themes/default/elements/emoji.overrides +0 -3592
  166. package/src/themes/default/elements/emoji.variables +3574 -0
  167. package/src/themes/default/elements/flag.overrides +0 -1646
  168. package/src/themes/default/elements/flag.variables +1602 -0
  169. package/src/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  170. package/src/themes/famfamfam/elements/flag.variables +8 -1
  171. package/src/themes/joypixels/elements/emoji.overrides +0 -3591
  172. package/src/themes/joypixels/elements/emoji.variables +3573 -4
  173. package/src/themes/twitter/elements/emoji.overrides +0 -3593
  174. package/src/themes/twitter/elements/emoji.variables +3570 -6
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.0-beta.282+54be6de
2
+ * # Fomantic UI - 2.9.0-beta.285+da049ae
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.282+54be6de - Site
12
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - 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.282+54be6de - Form Validation
506
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Form Validation
507
507
  * http://github.com/fomantic/Fomantic-UI/
508
508
  *
509
509
  *
@@ -2584,7 +2584,7 @@ $.fn.form.settings = {
2584
2584
  })( jQuery, window, document );
2585
2585
 
2586
2586
  /*!
2587
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Accordion
2587
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Accordion
2588
2588
  * http://github.com/fomantic/Fomantic-UI/
2589
2589
  *
2590
2590
  *
@@ -3206,7 +3206,7 @@ $.extend( $.easing, {
3206
3206
 
3207
3207
 
3208
3208
  /*!
3209
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Calendar
3209
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Calendar
3210
3210
  * http://github.com/fomantic/Fomantic-UI/
3211
3211
  *
3212
3212
  *
@@ -5095,7 +5095,7 @@ $.fn.calendar.settings = {
5095
5095
  })(jQuery, window, document);
5096
5096
 
5097
5097
  /*!
5098
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Checkbox
5098
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Checkbox
5099
5099
  * http://github.com/fomantic/Fomantic-UI/
5100
5100
  *
5101
5101
  *
@@ -5978,7 +5978,7 @@ $.fn.checkbox.settings = {
5978
5978
  })( jQuery, window, document );
5979
5979
 
5980
5980
  /*!
5981
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Dimmer
5981
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Dimmer
5982
5982
  * http://github.com/fomantic/Fomantic-UI/
5983
5983
  *
5984
5984
  *
@@ -6741,7 +6741,7 @@ $.fn.dimmer.settings = {
6741
6741
  })( jQuery, window, document );
6742
6742
 
6743
6743
  /*!
6744
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Dropdown
6744
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Dropdown
6745
6745
  * http://github.com/fomantic/Fomantic-UI/
6746
6746
  *
6747
6747
  *
@@ -7816,7 +7816,7 @@ $.fn.dropdown = function(parameters) {
7816
7816
  settings.preserveHTML
7817
7817
  )
7818
7818
  ;
7819
- $input.append('<option value="' + value + '">' + name + '</option>');
7819
+ $input.append('<option value="' + value + '"' + (item.selected === true ? ' selected' : '') + '>' + name + '</option>');
7820
7820
  });
7821
7821
  module.observe.select();
7822
7822
  }
@@ -11118,7 +11118,7 @@ $.fn.dropdown.settings.templates = {
11118
11118
  })( jQuery, window, document );
11119
11119
 
11120
11120
  /*!
11121
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Embed
11121
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Embed
11122
11122
  * http://github.com/fomantic/Fomantic-UI/
11123
11123
  *
11124
11124
  *
@@ -11828,7 +11828,7 @@ $.fn.embed.settings = {
11828
11828
  })( jQuery, window, document );
11829
11829
 
11830
11830
  /*!
11831
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Modal
11831
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Modal
11832
11832
  * http://github.com/fomantic/Fomantic-UI/
11833
11833
  *
11834
11834
  *
@@ -13359,7 +13359,7 @@ $.fn.modal.settings.templates = {
13359
13359
  })( jQuery, window, document );
13360
13360
 
13361
13361
  /*!
13362
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Nag
13362
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Nag
13363
13363
  * http://github.com/fomantic/Fomantic-UI/
13364
13364
  *
13365
13365
  *
@@ -13918,7 +13918,7 @@ $.extend( $.easing, {
13918
13918
  })( jQuery, window, document );
13919
13919
 
13920
13920
  /*!
13921
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Popup
13921
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Popup
13922
13922
  * http://github.com/fomantic/Fomantic-UI/
13923
13923
  *
13924
13924
  *
@@ -15460,7 +15460,7 @@ $.fn.popup.settings = {
15460
15460
  })( jQuery, window, document );
15461
15461
 
15462
15462
  /*!
15463
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Progress
15463
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Progress
15464
15464
  * http://github.com/fomantic/Fomantic-UI/
15465
15465
  *
15466
15466
  *
@@ -16497,7 +16497,7 @@ $.fn.progress.settings = {
16497
16497
  })( jQuery, window, document );
16498
16498
 
16499
16499
  /*!
16500
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Slider
16500
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Slider
16501
16501
  * http://github.com/fomantic/Fomantic-UI/
16502
16502
  *
16503
16503
  *
@@ -17853,7 +17853,7 @@ $.fn.slider.settings = {
17853
17853
  })( jQuery, window, document );
17854
17854
 
17855
17855
  /*!
17856
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Rating
17856
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Rating
17857
17857
  * http://github.com/fomantic/Fomantic-UI/
17858
17858
  *
17859
17859
  *
@@ -18408,7 +18408,7 @@ $.fn.rating.settings = {
18408
18408
  })( jQuery, window, document );
18409
18409
 
18410
18410
  /*!
18411
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Search
18411
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Search
18412
18412
  * http://github.com/fomantic/Fomantic-UI/
18413
18413
  *
18414
18414
  *
@@ -19976,7 +19976,7 @@ $.fn.search.settings = {
19976
19976
  })( jQuery, window, document );
19977
19977
 
19978
19978
  /*!
19979
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Shape
19979
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Shape
19980
19980
  * http://github.com/fomantic/Fomantic-UI/
19981
19981
  *
19982
19982
  *
@@ -20825,7 +20825,7 @@ $.fn.shape.settings = {
20825
20825
  })( jQuery, window, document );
20826
20826
 
20827
20827
  /*!
20828
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Sidebar
20828
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Sidebar
20829
20829
  * http://github.com/fomantic/Fomantic-UI/
20830
20830
  *
20831
20831
  *
@@ -21864,7 +21864,7 @@ $.fn.sidebar.settings = {
21864
21864
  })( jQuery, window, document );
21865
21865
 
21866
21866
  /*!
21867
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Sticky
21867
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Sticky
21868
21868
  * http://github.com/fomantic/Fomantic-UI/
21869
21869
  *
21870
21870
  *
@@ -22822,7 +22822,7 @@ $.fn.sticky.settings = {
22822
22822
  })( jQuery, window, document );
22823
22823
 
22824
22824
  /*!
22825
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Tab
22825
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Tab
22826
22826
  * http://github.com/fomantic/Fomantic-UI/
22827
22827
  *
22828
22828
  *
@@ -23842,7 +23842,7 @@ $.fn.tab.settings = {
23842
23842
  })( jQuery, window, document );
23843
23843
 
23844
23844
  /*!
23845
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Toast
23845
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Toast
23846
23846
  * http://github.com/fomantic/Fomantic-UI/
23847
23847
  *
23848
23848
  *
@@ -23994,7 +23994,7 @@ $.fn.toast = function(parameters) {
23994
23994
  create: {
23995
23995
  container: function() {
23996
23996
  module.verbose('Creating container');
23997
- $context.append($('<div/>',{class: settings.position + ' ' + className.container + ' ' +(settings.horizontal ? className.horizontal : '')}));
23997
+ $context.append($('<div/>',{class: settings.position + ' ' + className.container + ' ' +(settings.horizontal ? className.horizontal : '') + ' ' + (settings.context && settings.context !== 'body' ? className.absolute : '')}));
23998
23998
  },
23999
23999
  id: function() {
24000
24000
  id = (Math.random().toString(16) + '000000000').slice(2, 10);
@@ -24300,7 +24300,7 @@ $.fn.toast = function(parameters) {
24300
24300
  has: {
24301
24301
  container: function() {
24302
24302
  module.verbose('Determining if there is already a container');
24303
- return ($context.find(module.helpers.toClass(settings.position) + selector.container + (settings.horizontal ? module.helpers.toClass(className.horizontal) : ':not('+module.helpers.toClass(className.horizontal)+')')).length > 0);
24303
+ return module.get.containers().length > 0;
24304
24304
  },
24305
24305
  toast: function(){
24306
24306
  return !!module.get.toast();
@@ -24317,8 +24317,11 @@ $.fn.toast = function(parameters) {
24317
24317
  id: function() {
24318
24318
  return id;
24319
24319
  },
24320
+ containers: function() {
24321
+ return $context.children(module.helpers.toClass(settings.position) + selector.container + (settings.horizontal ? module.helpers.toClass(className.horizontal) : ':not('+module.helpers.toClass(className.horizontal)+')') + (settings.context && settings.context !== 'body' ? module.helpers.toClass(className.absolute) : ':not('+module.helpers.toClass(className.absolute)+')'));
24322
+ },
24320
24323
  container: function() {
24321
- return ($context.find(module.helpers.toClass(settings.position) + selector.container + (settings.horizontal ? module.helpers.toClass(className.horizontal) : ':not('+module.helpers.toClass(className.horizontal)+')'))[0]);
24324
+ return module.get.containers()[0];
24322
24325
  },
24323
24326
  toastBox: function() {
24324
24327
  return $toastBox || null;
@@ -24381,7 +24384,7 @@ $.fn.toast = function(parameters) {
24381
24384
  helpers: {
24382
24385
  toClass: function(selector) {
24383
24386
  var
24384
- classes = selector.split(' '),
24387
+ classes = selector.trim().split(/\s+/),
24385
24388
  result = ''
24386
24389
  ;
24387
24390
 
@@ -24671,6 +24674,7 @@ $.fn.toast.settings = {
24671
24674
 
24672
24675
  className : {
24673
24676
  container : 'ui toast-container',
24677
+ absolute : 'absolute',
24674
24678
  box : 'floating toast-box',
24675
24679
  progress : 'ui attached active progress',
24676
24680
  toast : 'ui toast',
@@ -24763,7 +24767,7 @@ $.extend( $.easing, {
24763
24767
  })( jQuery, window, document );
24764
24768
 
24765
24769
  /*!
24766
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Transition
24770
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Transition
24767
24771
  * http://github.com/fomantic/Fomantic-UI/
24768
24772
  *
24769
24773
  *
@@ -25878,7 +25882,7 @@ $.fn.transition.settings = {
25878
25882
  })( jQuery, window, document );
25879
25883
 
25880
25884
  /*!
25881
- * # Fomantic-UI 2.9.0-beta.282+54be6de - API
25885
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - API
25882
25886
  * http://github.com/fomantic/Fomantic-UI/
25883
25887
  *
25884
25888
  *
@@ -27087,7 +27091,7 @@ $.api.settings = {
27087
27091
  regExp : {
27088
27092
  required : /\{\$*[A-z0-9]+\}/g,
27089
27093
  optional : /\{\/\$*[A-z0-9]+\}/g,
27090
- validate: /^[a-z_][a-z0-9_-]*(?:\[(?:\d*|[a-z0-9_-]+)\])*$/i,
27094
+ validate: /^[a-z_][a-z0-9_-]*(?:\[[a-z0-9_-]*\])*$/i,
27091
27095
  key: /[a-z0-9_-]+|(?=\[\])/gi,
27092
27096
  push: /^$/,
27093
27097
  fixed: /^\d+$/,
@@ -27115,7 +27119,7 @@ $.api.settings = {
27115
27119
  })( jQuery, window, document );
27116
27120
 
27117
27121
  /*!
27118
- * # Fomantic-UI 2.9.0-beta.282+54be6de - State
27122
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - State
27119
27123
  * http://github.com/fomantic/Fomantic-UI/
27120
27124
  *
27121
27125
  *
@@ -27827,7 +27831,7 @@ $.fn.state.settings = {
27827
27831
  })( jQuery, window, document );
27828
27832
 
27829
27833
  /*!
27830
- * # Fomantic-UI 2.9.0-beta.282+54be6de - Visibility
27834
+ * # Fomantic-UI 2.9.0-beta.285+da049ae - Visibility
27831
27835
  * http://github.com/fomantic/Fomantic-UI/
27832
27836
  *
27833
27837
  *