fomantic-ui 2.9.2-beta.8 → 2.9.2-beta.9

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 (156) 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 +1 -1
  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 +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/feed.css +1 -1
  42. package/dist/components/feed.min.css +1 -1
  43. package/dist/components/flag.css +1 -1
  44. package/dist/components/flag.min.css +1 -1
  45. package/dist/components/flyout.css +1 -1
  46. package/dist/components/flyout.js +1 -1
  47. package/dist/components/flyout.min.css +1 -1
  48. package/dist/components/flyout.min.js +1 -1
  49. package/dist/components/form.css +1 -1
  50. package/dist/components/form.js +1 -1
  51. package/dist/components/form.min.css +1 -1
  52. package/dist/components/form.min.js +1 -1
  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 +1 -1
  75. package/dist/components/modal.min.css +1 -1
  76. package/dist/components/modal.min.js +1 -1
  77. package/dist/components/nag.css +1 -1
  78. package/dist/components/nag.js +1 -1
  79. package/dist/components/nag.min.css +1 -1
  80. package/dist/components/nag.min.js +1 -1
  81. package/dist/components/placeholder.css +1 -1
  82. package/dist/components/placeholder.min.css +1 -1
  83. package/dist/components/popup.css +147 -2
  84. package/dist/components/popup.js +18 -6
  85. package/dist/components/popup.min.css +2 -2
  86. package/dist/components/popup.min.js +2 -2
  87. package/dist/components/progress.css +1 -1
  88. package/dist/components/progress.js +1 -1
  89. package/dist/components/progress.min.css +1 -1
  90. package/dist/components/progress.min.js +1 -1
  91. package/dist/components/rail.css +1 -1
  92. package/dist/components/rail.min.css +1 -1
  93. package/dist/components/rating.css +1 -1
  94. package/dist/components/rating.js +1 -1
  95. package/dist/components/rating.min.css +1 -1
  96. package/dist/components/rating.min.js +1 -1
  97. package/dist/components/reset.css +1 -1
  98. package/dist/components/reset.min.css +1 -1
  99. package/dist/components/reveal.css +1 -1
  100. package/dist/components/reveal.min.css +1 -1
  101. package/dist/components/search.css +1 -1
  102. package/dist/components/search.js +1 -1
  103. package/dist/components/search.min.css +1 -1
  104. package/dist/components/search.min.js +1 -1
  105. package/dist/components/segment.css +1 -1
  106. package/dist/components/segment.min.css +1 -1
  107. package/dist/components/shape.css +1 -1
  108. package/dist/components/shape.js +1 -1
  109. package/dist/components/shape.min.css +1 -1
  110. package/dist/components/shape.min.js +1 -1
  111. package/dist/components/sidebar.css +1 -1
  112. package/dist/components/sidebar.js +1 -1
  113. package/dist/components/sidebar.min.css +1 -1
  114. package/dist/components/sidebar.min.js +1 -1
  115. package/dist/components/site.css +1 -1
  116. package/dist/components/site.js +1 -1
  117. package/dist/components/site.min.css +1 -1
  118. package/dist/components/site.min.js +1 -1
  119. package/dist/components/slider.js +1 -1
  120. package/dist/components/slider.min.js +1 -1
  121. package/dist/components/state.js +1 -1
  122. package/dist/components/state.min.js +1 -1
  123. package/dist/components/statistic.css +1 -1
  124. package/dist/components/statistic.min.css +1 -1
  125. package/dist/components/step.css +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 +1 -1
  129. package/dist/components/sticky.min.css +1 -1
  130. package/dist/components/sticky.min.js +1 -1
  131. package/dist/components/tab.css +1 -1
  132. package/dist/components/tab.js +1 -1
  133. package/dist/components/tab.min.css +1 -1
  134. package/dist/components/tab.min.js +1 -1
  135. package/dist/components/table.css +1 -1
  136. package/dist/components/table.min.css +1 -1
  137. package/dist/components/text.css +1 -1
  138. package/dist/components/text.min.css +1 -1
  139. package/dist/components/toast.css +1 -1
  140. package/dist/components/toast.js +1 -1
  141. package/dist/components/toast.min.css +1 -1
  142. package/dist/components/toast.min.js +1 -1
  143. package/dist/components/transition.css +1 -1
  144. package/dist/components/transition.js +1 -1
  145. package/dist/components/transition.min.css +1 -1
  146. package/dist/components/transition.min.js +1 -1
  147. package/dist/components/visibility.js +1 -1
  148. package/dist/components/visibility.min.js +1 -1
  149. package/dist/semantic.css +229 -51
  150. package/dist/semantic.js +43 -31
  151. package/dist/semantic.min.css +2 -2
  152. package/dist/semantic.min.js +2 -2
  153. package/package.json +1 -1
  154. package/src/definitions/modules/popup.js +17 -5
  155. package/src/definitions/modules/popup.less +47 -3
  156. package/src/themes/default/modules/popup.variables +8 -0
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.2-beta.8+8838309
2
+ * # Fomantic UI - 2.9.2-beta.9+f3fb845
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -9,7 +9,7 @@
9
9
  *
10
10
  */
11
11
  /*!
12
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Site
12
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Site
13
13
  * https://github.com/fomantic/Fomantic-UI/
14
14
  *
15
15
  *
@@ -463,7 +463,7 @@
463
463
  })(jQuery, window, document);
464
464
 
465
465
  /*!
466
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Form Validation
466
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Form Validation
467
467
  * https://github.com/fomantic/Fomantic-UI/
468
468
  *
469
469
  *
@@ -2559,7 +2559,7 @@
2559
2559
  })(jQuery, window, document);
2560
2560
 
2561
2561
  /*!
2562
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Accordion
2562
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Accordion
2563
2563
  * https://github.com/fomantic/Fomantic-UI/
2564
2564
  *
2565
2565
  *
@@ -3157,7 +3157,7 @@
3157
3157
  })(jQuery, window, document);
3158
3158
 
3159
3159
  /*!
3160
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Calendar
3160
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Calendar
3161
3161
  * https://github.com/fomantic/Fomantic-UI/
3162
3162
  *
3163
3163
  *
@@ -5173,7 +5173,7 @@
5173
5173
  })(jQuery, window, document);
5174
5174
 
5175
5175
  /*!
5176
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Checkbox
5176
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Checkbox
5177
5177
  * https://github.com/fomantic/Fomantic-UI/
5178
5178
  *
5179
5179
  *
@@ -6058,7 +6058,7 @@
6058
6058
  })(jQuery, window, document);
6059
6059
 
6060
6060
  /*!
6061
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Dimmer
6061
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Dimmer
6062
6062
  * https://github.com/fomantic/Fomantic-UI/
6063
6063
  *
6064
6064
  *
@@ -6793,7 +6793,7 @@
6793
6793
  })(jQuery, window, document);
6794
6794
 
6795
6795
  /*!
6796
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Dropdown
6796
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Dropdown
6797
6797
  * https://github.com/fomantic/Fomantic-UI/
6798
6798
  *
6799
6799
  *
@@ -11128,7 +11128,7 @@
11128
11128
  })(jQuery, window, document);
11129
11129
 
11130
11130
  /*!
11131
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Embed
11131
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Embed
11132
11132
  * https://github.com/fomantic/Fomantic-UI/
11133
11133
  *
11134
11134
  *
@@ -11812,7 +11812,7 @@
11812
11812
  })(jQuery, window, document);
11813
11813
 
11814
11814
  /*!
11815
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Flyout
11815
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Flyout
11816
11816
  * https://github.com/fomantic/Fomantic-UI/
11817
11817
  *
11818
11818
  *
@@ -13380,7 +13380,7 @@
13380
13380
  })(jQuery, window, document);
13381
13381
 
13382
13382
  /*!
13383
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Modal
13383
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Modal
13384
13384
  * https://github.com/fomantic/Fomantic-UI/
13385
13385
  *
13386
13386
  *
@@ -15002,7 +15002,7 @@
15002
15002
  })(jQuery, window, document);
15003
15003
 
15004
15004
  /*!
15005
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Nag
15005
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Nag
15006
15006
  * https://github.com/fomantic/Fomantic-UI/
15007
15007
  *
15008
15008
  *
@@ -15555,7 +15555,7 @@
15555
15555
  })(jQuery, window, document);
15556
15556
 
15557
15557
  /*!
15558
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Popup
15558
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Popup
15559
15559
  * https://github.com/fomantic/Fomantic-UI/
15560
15560
  *
15561
15561
  *
@@ -15681,9 +15681,9 @@
15681
15681
  }
15682
15682
  }
15683
15683
  if (settings.popup) {
15684
- $popup.addClass(className.loading);
15684
+ module.set.invisible();
15685
15685
  $offsetParent = module.get.offsetParent();
15686
- $popup.removeClass(className.loading);
15686
+ module.remove.invisible();
15687
15687
  if (settings.movePopup && module.has.popup() && module.get.offsetParent($popup)[0] !== $offsetParent[0]) {
15688
15688
  module.debug('Moving popup to the same offset parent as target');
15689
15689
  $popup
@@ -16457,8 +16457,8 @@
16457
16457
  .css(positioning)
16458
16458
  .removeClass(className.position)
16459
16459
  .addClass(position)
16460
- .addClass(className.loading)
16461
16460
  ;
16461
+ module.set.invisible();
16462
16462
 
16463
16463
  popupOffset = module.get.popupOffset();
16464
16464
 
@@ -16482,7 +16482,7 @@
16482
16482
  module.debug('Popup could not find a position to display', $popup);
16483
16483
  module.error(error.cannotPlace, element);
16484
16484
  module.remove.attempts();
16485
- module.remove.loading();
16485
+ module.remove.invisible();
16486
16486
  module.reset();
16487
16487
  settings.onUnplaceable.call($popup, element);
16488
16488
 
@@ -16491,7 +16491,7 @@
16491
16491
  }
16492
16492
  module.debug('Position is on stage', position);
16493
16493
  module.remove.attempts();
16494
- module.remove.loading();
16494
+ module.remove.invisible();
16495
16495
  if (settings.setFluidWidth && module.is.fluid()) {
16496
16496
  module.set.fluidWidth(calculations);
16497
16497
  }
@@ -16505,6 +16505,14 @@
16505
16505
  $popup.css('width', calculations.container.width);
16506
16506
  },
16507
16507
 
16508
+ loading: function () {
16509
+ $popup.addClass(className.loading);
16510
+ },
16511
+
16512
+ invisible: function () {
16513
+ $popup.addClass(className.invisible);
16514
+ },
16515
+
16508
16516
  variation: function (variation) {
16509
16517
  variation = variation || module.get.variation();
16510
16518
  if (variation && module.has.popup()) {
@@ -16522,6 +16530,9 @@
16522
16530
  loading: function () {
16523
16531
  $popup.removeClass(className.loading);
16524
16532
  },
16533
+ invisible: function () {
16534
+ $popup.removeClass(className.invisible);
16535
+ },
16525
16536
  variation: function (variation) {
16526
16537
  variation = variation || module.get.variation();
16527
16538
  if (variation) {
@@ -17031,6 +17042,7 @@
17031
17042
  basic: 'basic',
17032
17043
  animating: 'animating',
17033
17044
  dropdown: 'dropdown',
17045
+ invisible: 'invisible',
17034
17046
  fluid: 'fluid',
17035
17047
  loading: 'loading',
17036
17048
  popup: 'ui popup',
@@ -17091,7 +17103,7 @@
17091
17103
  })(jQuery, window, document);
17092
17104
 
17093
17105
  /*!
17094
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Progress
17106
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Progress
17095
17107
  * https://github.com/fomantic/Fomantic-UI/
17096
17108
  *
17097
17109
  *
@@ -18074,7 +18086,7 @@
18074
18086
  })(jQuery, window, document);
18075
18087
 
18076
18088
  /*!
18077
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Slider
18089
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Slider
18078
18090
  * https://github.com/fomantic/Fomantic-UI/
18079
18091
  *
18080
18092
  *
@@ -19427,7 +19439,7 @@
19427
19439
  })(jQuery, window, document);
19428
19440
 
19429
19441
  /*!
19430
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Rating
19442
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Rating
19431
19443
  * https://github.com/fomantic/Fomantic-UI/
19432
19444
  *
19433
19445
  *
@@ -19970,7 +19982,7 @@
19970
19982
  })(jQuery, window, document);
19971
19983
 
19972
19984
  /*!
19973
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Search
19985
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Search
19974
19986
  * https://github.com/fomantic/Fomantic-UI/
19975
19987
  *
19976
19988
  *
@@ -21551,7 +21563,7 @@
21551
21563
  })(jQuery, window, document);
21552
21564
 
21553
21565
  /*!
21554
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Shape
21566
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Shape
21555
21567
  * https://github.com/fomantic/Fomantic-UI/
21556
21568
  *
21557
21569
  *
@@ -22351,7 +22363,7 @@
22351
22363
  })(jQuery, window, document);
22352
22364
 
22353
22365
  /*!
22354
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Sidebar
22366
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Sidebar
22355
22367
  * https://github.com/fomantic/Fomantic-UI/
22356
22368
  *
22357
22369
  *
@@ -23427,7 +23439,7 @@
23427
23439
  })(jQuery, window, document);
23428
23440
 
23429
23441
  /*!
23430
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Sticky
23442
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Sticky
23431
23443
  * https://github.com/fomantic/Fomantic-UI/
23432
23444
  *
23433
23445
  *
@@ -24342,7 +24354,7 @@
24342
24354
  })(jQuery, window, document);
24343
24355
 
24344
24356
  /*!
24345
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Tab
24357
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Tab
24346
24358
  * https://github.com/fomantic/Fomantic-UI/
24347
24359
  *
24348
24360
  *
@@ -25298,7 +25310,7 @@
25298
25310
  })(jQuery, window, document);
25299
25311
 
25300
25312
  /*!
25301
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Toast
25313
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Toast
25302
25314
  * https://github.com/fomantic/Fomantic-UI/
25303
25315
  *
25304
25316
  *
@@ -26251,7 +26263,7 @@
26251
26263
  })(jQuery, window, document);
26252
26264
 
26253
26265
  /*!
26254
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Transition
26266
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Transition
26255
26267
  * https://github.com/fomantic/Fomantic-UI/
26256
26268
  *
26257
26269
  *
@@ -27286,7 +27298,7 @@
27286
27298
  })(jQuery, window, document);
27287
27299
 
27288
27300
  /*!
27289
- * # Fomantic-UI 2.9.2-beta.8+8838309 - API
27301
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - API
27290
27302
  * https://github.com/fomantic/Fomantic-UI/
27291
27303
  *
27292
27304
  *
@@ -28501,7 +28513,7 @@
28501
28513
  })(jQuery, window, document);
28502
28514
 
28503
28515
  /*!
28504
- * # Fomantic-UI 2.9.2-beta.8+8838309 - State
28516
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - State
28505
28517
  * https://github.com/fomantic/Fomantic-UI/
28506
28518
  *
28507
28519
  *
@@ -29194,7 +29206,7 @@
29194
29206
  })(jQuery, window, document);
29195
29207
 
29196
29208
  /*!
29197
- * # Fomantic-UI 2.9.2-beta.8+8838309 - Visibility
29209
+ * # Fomantic-UI 2.9.2-beta.9+f3fb845 - Visibility
29198
29210
  * https://github.com/fomantic/Fomantic-UI/
29199
29211
  *
29200
29212
  *