fomantic-ui 2.9.4-beta.24 → 2.9.4-beta.26

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 (189) hide show
  1. package/.eslintrc.js +16 -0
  2. package/dist/components/accordion.css +1 -1
  3. package/dist/components/accordion.js +1 -1
  4. package/dist/components/accordion.min.css +1 -1
  5. package/dist/components/accordion.min.js +1 -1
  6. package/dist/components/ad.css +1 -1
  7. package/dist/components/ad.min.css +1 -1
  8. package/dist/components/api.js +1 -1
  9. package/dist/components/api.min.js +1 -1
  10. package/dist/components/breadcrumb.css +1 -1
  11. package/dist/components/breadcrumb.min.css +1 -1
  12. package/dist/components/button.css +19 -3
  13. package/dist/components/button.min.css +2 -2
  14. package/dist/components/calendar.css +1 -1
  15. package/dist/components/calendar.js +1 -1
  16. package/dist/components/calendar.min.css +1 -1
  17. package/dist/components/calendar.min.js +1 -1
  18. package/dist/components/card.css +1 -1
  19. package/dist/components/card.min.css +1 -1
  20. package/dist/components/checkbox.css +1 -1
  21. package/dist/components/checkbox.js +1 -1
  22. package/dist/components/checkbox.min.css +1 -1
  23. package/dist/components/checkbox.min.js +1 -1
  24. package/dist/components/comment.css +1 -1
  25. package/dist/components/comment.min.css +1 -1
  26. package/dist/components/container.css +1 -1
  27. package/dist/components/container.min.css +1 -1
  28. package/dist/components/dimmer.css +1 -1
  29. package/dist/components/dimmer.js +1 -1
  30. package/dist/components/dimmer.min.css +1 -1
  31. package/dist/components/dimmer.min.js +1 -1
  32. package/dist/components/divider.css +1 -1
  33. package/dist/components/divider.min.css +1 -1
  34. package/dist/components/dropdown.css +1 -1
  35. package/dist/components/dropdown.js +5 -3
  36. package/dist/components/dropdown.min.css +1 -1
  37. package/dist/components/dropdown.min.js +2 -2
  38. package/dist/components/embed.css +1 -1
  39. package/dist/components/embed.js +1 -1
  40. package/dist/components/embed.min.css +1 -1
  41. package/dist/components/embed.min.js +1 -1
  42. package/dist/components/emoji.css +1 -1
  43. package/dist/components/emoji.min.css +1 -1
  44. package/dist/components/feed.css +1 -1
  45. package/dist/components/feed.min.css +1 -1
  46. package/dist/components/flag.css +1 -1
  47. package/dist/components/flag.min.css +1 -1
  48. package/dist/components/flyout.css +1 -1
  49. package/dist/components/flyout.js +1 -1
  50. package/dist/components/flyout.min.css +1 -1
  51. package/dist/components/flyout.min.js +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 +1 -1
  69. package/dist/components/label.min.css +1 -1
  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/menu.css +1 -1
  75. package/dist/components/menu.min.css +1 -1
  76. package/dist/components/message.css +1 -1
  77. package/dist/components/message.min.css +1 -1
  78. package/dist/components/modal.css +1 -1
  79. package/dist/components/modal.js +1 -1
  80. package/dist/components/modal.min.css +1 -1
  81. package/dist/components/modal.min.js +1 -1
  82. package/dist/components/nag.css +1 -1
  83. package/dist/components/nag.js +1 -1
  84. package/dist/components/nag.min.css +1 -1
  85. package/dist/components/nag.min.js +1 -1
  86. package/dist/components/placeholder.css +1 -1
  87. package/dist/components/placeholder.min.css +1 -1
  88. package/dist/components/popup.css +1 -1
  89. package/dist/components/popup.js +1 -1
  90. package/dist/components/popup.min.css +1 -1
  91. package/dist/components/popup.min.js +1 -1
  92. package/dist/components/progress.css +1 -1
  93. package/dist/components/progress.js +1 -1
  94. package/dist/components/progress.min.css +1 -1
  95. package/dist/components/progress.min.js +1 -1
  96. package/dist/components/rail.css +1 -1
  97. package/dist/components/rail.min.css +1 -1
  98. package/dist/components/rating.css +1 -1
  99. package/dist/components/rating.js +1 -1
  100. package/dist/components/rating.min.css +1 -1
  101. package/dist/components/rating.min.js +1 -1
  102. package/dist/components/reset.css +1 -1
  103. package/dist/components/reset.min.css +1 -1
  104. package/dist/components/reveal.css +1 -1
  105. package/dist/components/reveal.min.css +1 -1
  106. package/dist/components/search.css +1 -1
  107. package/dist/components/search.js +1 -1
  108. package/dist/components/search.min.css +1 -1
  109. package/dist/components/search.min.js +1 -1
  110. package/dist/components/segment.css +1 -1
  111. package/dist/components/segment.min.css +1 -1
  112. package/dist/components/shape.css +1 -1
  113. package/dist/components/shape.js +1 -1
  114. package/dist/components/shape.min.css +1 -1
  115. package/dist/components/shape.min.js +1 -1
  116. package/dist/components/sidebar.css +1 -1
  117. package/dist/components/sidebar.js +1 -1
  118. package/dist/components/sidebar.min.css +1 -1
  119. package/dist/components/sidebar.min.js +1 -1
  120. package/dist/components/site.css +1 -1
  121. package/dist/components/site.js +1 -1
  122. package/dist/components/site.min.css +1 -1
  123. package/dist/components/site.min.js +1 -1
  124. package/dist/components/slider.css +1 -1
  125. package/dist/components/slider.js +1 -1
  126. package/dist/components/slider.min.css +1 -1
  127. package/dist/components/slider.min.js +1 -1
  128. package/dist/components/state.js +1 -1
  129. package/dist/components/state.min.js +1 -1
  130. package/dist/components/statistic.css +1 -1
  131. package/dist/components/statistic.min.css +1 -1
  132. package/dist/components/step.css +1 -1
  133. package/dist/components/step.min.css +1 -1
  134. package/dist/components/sticky.css +1 -1
  135. package/dist/components/sticky.js +1 -1
  136. package/dist/components/sticky.min.css +1 -1
  137. package/dist/components/sticky.min.js +1 -1
  138. package/dist/components/tab.css +1 -1
  139. package/dist/components/tab.js +1 -1
  140. package/dist/components/tab.min.css +1 -1
  141. package/dist/components/tab.min.js +1 -1
  142. package/dist/components/table.css +1 -1
  143. package/dist/components/table.min.css +1 -1
  144. package/dist/components/text.css +1 -1
  145. package/dist/components/text.min.css +1 -1
  146. package/dist/components/toast.css +1 -1
  147. package/dist/components/toast.js +1 -1
  148. package/dist/components/toast.min.css +1 -1
  149. package/dist/components/toast.min.js +1 -1
  150. package/dist/components/transition.css +1 -1
  151. package/dist/components/transition.js +1 -1
  152. package/dist/components/transition.min.css +1 -1
  153. package/dist/components/transition.min.js +1 -1
  154. package/dist/components/visibility.js +1 -1
  155. package/dist/components/visibility.min.js +1 -1
  156. package/dist/semantic.css +76 -55
  157. package/dist/semantic.js +30 -28
  158. package/dist/semantic.min.css +2 -2
  159. package/dist/semantic.min.js +2 -2
  160. package/package.json +3 -3
  161. package/src/definitions/elements/button.less +25 -3
  162. package/src/definitions/modules/dropdown.js +4 -2
  163. package/src/themes/default/elements/button.variables +2 -0
  164. package/types/fomantic-ui-accordion.d.ts +1 -1
  165. package/types/fomantic-ui-api.d.ts +1 -1
  166. package/types/fomantic-ui-calendar.d.ts +4 -4
  167. package/types/fomantic-ui-dimmer.d.ts +1 -1
  168. package/types/fomantic-ui-dropdown.d.ts +18 -18
  169. package/types/fomantic-ui-embed.d.ts +1 -1
  170. package/types/fomantic-ui-flyout.d.ts +3 -3
  171. package/types/fomantic-ui-form.d.ts +16 -3
  172. package/types/fomantic-ui-modal.d.ts +3 -3
  173. package/types/fomantic-ui-nag.d.ts +3 -3
  174. package/types/fomantic-ui-popup.d.ts +3 -3
  175. package/types/fomantic-ui-progress.d.ts +6 -6
  176. package/types/fomantic-ui-rating.d.ts +1 -1
  177. package/types/fomantic-ui-search.d.ts +1 -1
  178. package/types/fomantic-ui-shape.d.ts +2 -2
  179. package/types/fomantic-ui-sidebar.d.ts +4 -4
  180. package/types/fomantic-ui-slider.d.ts +1 -1
  181. package/types/fomantic-ui-sticky.d.ts +1 -1
  182. package/types/fomantic-ui-tab.d.ts +4 -4
  183. package/types/fomantic-ui-toast.d.ts +1 -1
  184. package/types/fomantic-ui-transition.d.ts +1 -1
  185. package/types/fomantic-ui-visibility.d.ts +1 -1
  186. package/types/index.d.ts +25 -25
  187. package/types/tests.ts +188 -0
  188. package/types/tsconfig.json +1 -1
  189. package/types/fomantic-ui-tests.ts +0 -187
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.4-beta.24+392a95f
2
+ * # Fomantic UI - 2.9.4-beta.26+e4ff553
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.4-beta.24+392a95f - Site
12
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - 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.4-beta.24+392a95f - Form Validation
466
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Form Validation
467
467
  * https://github.com/fomantic/Fomantic-UI/
468
468
  *
469
469
  *
@@ -2642,7 +2642,7 @@
2642
2642
  })(jQuery, window, document);
2643
2643
 
2644
2644
  /*!
2645
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Accordion
2645
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Accordion
2646
2646
  * https://github.com/fomantic/Fomantic-UI/
2647
2647
  *
2648
2648
  *
@@ -3236,7 +3236,7 @@
3236
3236
  })(jQuery, window, document);
3237
3237
 
3238
3238
  /*!
3239
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Calendar
3239
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Calendar
3240
3240
  * https://github.com/fomantic/Fomantic-UI/
3241
3241
  *
3242
3242
  *
@@ -5247,7 +5247,7 @@
5247
5247
  })(jQuery, window, document);
5248
5248
 
5249
5249
  /*!
5250
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Checkbox
5250
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Checkbox
5251
5251
  * https://github.com/fomantic/Fomantic-UI/
5252
5252
  *
5253
5253
  *
@@ -6130,7 +6130,7 @@
6130
6130
  })(jQuery, window, document);
6131
6131
 
6132
6132
  /*!
6133
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Dimmer
6133
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Dimmer
6134
6134
  * https://github.com/fomantic/Fomantic-UI/
6135
6135
  *
6136
6136
  *
@@ -6861,7 +6861,7 @@
6861
6861
  })(jQuery, window, document);
6862
6862
 
6863
6863
  /*!
6864
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Dropdown
6864
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Dropdown
6865
6865
  * https://github.com/fomantic/Fomantic-UI/
6866
6866
  *
6867
6867
  *
@@ -8275,7 +8275,9 @@
8275
8275
  module.remove.userAddition();
8276
8276
  }
8277
8277
  if (!settings.keepSearchTerm) {
8278
- module.remove.filteredItem();
8278
+ if (module.is.multiple()) {
8279
+ module.remove.filteredItem();
8280
+ }
8279
8281
  module.remove.searchTerm();
8280
8282
  }
8281
8283
  if (!module.is.visible() && $target.length > 0) {
@@ -9449,7 +9451,7 @@
9449
9451
  } else {
9450
9452
  $combo.text(text);
9451
9453
  }
9452
- } else if (settings.action === 'activate') {
9454
+ } else if (settings.action === 'activate' || isFunction(settings.action)) {
9453
9455
  if (text !== module.get.placeholderText() || isNotPlaceholder) {
9454
9456
  $text.removeClass(className.placeholder);
9455
9457
  }
@@ -11219,7 +11221,7 @@
11219
11221
  })(jQuery, window, document);
11220
11222
 
11221
11223
  /*!
11222
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Embed
11224
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Embed
11223
11225
  * https://github.com/fomantic/Fomantic-UI/
11224
11226
  *
11225
11227
  *
@@ -11898,7 +11900,7 @@
11898
11900
  })(jQuery, window, document);
11899
11901
 
11900
11902
  /*!
11901
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Flyout
11903
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Flyout
11902
11904
  * https://github.com/fomantic/Fomantic-UI/
11903
11905
  *
11904
11906
  *
@@ -13448,7 +13450,7 @@
13448
13450
  })(jQuery, window, document);
13449
13451
 
13450
13452
  /*!
13451
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Modal
13453
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Modal
13452
13454
  * https://github.com/fomantic/Fomantic-UI/
13453
13455
  *
13454
13456
  *
@@ -15082,7 +15084,7 @@
15082
15084
  })(jQuery, window, document);
15083
15085
 
15084
15086
  /*!
15085
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Nag
15087
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Nag
15086
15088
  * https://github.com/fomantic/Fomantic-UI/
15087
15089
  *
15088
15090
  *
@@ -15643,7 +15645,7 @@
15643
15645
  })(jQuery, window, document);
15644
15646
 
15645
15647
  /*!
15646
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Popup
15648
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Popup
15647
15649
  * https://github.com/fomantic/Fomantic-UI/
15648
15650
  *
15649
15651
  *
@@ -17199,7 +17201,7 @@
17199
17201
  })(jQuery, window, document);
17200
17202
 
17201
17203
  /*!
17202
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Progress
17204
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Progress
17203
17205
  * https://github.com/fomantic/Fomantic-UI/
17204
17206
  *
17205
17207
  *
@@ -18177,7 +18179,7 @@
18177
18179
  })(jQuery, window, document);
18178
18180
 
18179
18181
  /*!
18180
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Slider
18182
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Slider
18181
18183
  * https://github.com/fomantic/Fomantic-UI/
18182
18184
  *
18183
18185
  *
@@ -19626,7 +19628,7 @@
19626
19628
  })(jQuery, window, document);
19627
19629
 
19628
19630
  /*!
19629
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Rating
19631
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Rating
19630
19632
  * https://github.com/fomantic/Fomantic-UI/
19631
19633
  *
19632
19634
  *
@@ -20165,7 +20167,7 @@
20165
20167
  })(jQuery, window, document);
20166
20168
 
20167
20169
  /*!
20168
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Search
20170
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Search
20169
20171
  * https://github.com/fomantic/Fomantic-UI/
20170
20172
  *
20171
20173
  *
@@ -21743,7 +21745,7 @@
21743
21745
  })(jQuery, window, document);
21744
21746
 
21745
21747
  /*!
21746
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Shape
21748
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Shape
21747
21749
  * https://github.com/fomantic/Fomantic-UI/
21748
21750
  *
21749
21751
  *
@@ -22539,7 +22541,7 @@
22539
22541
  })(jQuery, window, document);
22540
22542
 
22541
22543
  /*!
22542
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Sidebar
22544
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Sidebar
22543
22545
  * https://github.com/fomantic/Fomantic-UI/
22544
22546
  *
22545
22547
  *
@@ -23592,7 +23594,7 @@
23592
23594
  })(jQuery, window, document);
23593
23595
 
23594
23596
  /*!
23595
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Sticky
23597
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Sticky
23596
23598
  * https://github.com/fomantic/Fomantic-UI/
23597
23599
  *
23598
23600
  *
@@ -24508,7 +24510,7 @@
24508
24510
  })(jQuery, window, document);
24509
24511
 
24510
24512
  /*!
24511
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Tab
24513
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Tab
24512
24514
  * https://github.com/fomantic/Fomantic-UI/
24513
24515
  *
24514
24516
  *
@@ -25474,7 +25476,7 @@
25474
25476
  })(jQuery, window, document);
25475
25477
 
25476
25478
  /*!
25477
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Toast
25479
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Toast
25478
25480
  * https://github.com/fomantic/Fomantic-UI/
25479
25481
  *
25480
25482
  *
@@ -26435,7 +26437,7 @@
26435
26437
  })(jQuery, window, document);
26436
26438
 
26437
26439
  /*!
26438
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Transition
26440
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Transition
26439
26441
  * https://github.com/fomantic/Fomantic-UI/
26440
26442
  *
26441
26443
  *
@@ -27466,7 +27468,7 @@
27466
27468
  })(jQuery, window, document);
27467
27469
 
27468
27470
  /*!
27469
- * # Fomantic-UI 2.9.4-beta.24+392a95f - API
27471
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - API
27470
27472
  * https://github.com/fomantic/Fomantic-UI/
27471
27473
  *
27472
27474
  *
@@ -28688,7 +28690,7 @@
28688
28690
  })(jQuery, window, document);
28689
28691
 
28690
28692
  /*!
28691
- * # Fomantic-UI 2.9.4-beta.24+392a95f - State
28693
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - State
28692
28694
  * https://github.com/fomantic/Fomantic-UI/
28693
28695
  *
28694
28696
  *
@@ -29384,7 +29386,7 @@
29384
29386
  })(jQuery, window, document);
29385
29387
 
29386
29388
  /*!
29387
- * # Fomantic-UI 2.9.4-beta.24+392a95f - Visibility
29389
+ * # Fomantic-UI 2.9.4-beta.26+e4ff553 - Visibility
29388
29390
  * https://github.com/fomantic/Fomantic-UI/
29389
29391
  *
29390
29392
  *