fomantic-ui 2.9.4-beta.1 → 2.9.4-beta.11

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 (182) 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 -3
  34. package/dist/components/dropdown.js +2 -2
  35. package/dist/components/dropdown.min.css +2 -2
  36. package/dist/components/dropdown.min.js +2 -2
  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/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 +1 -1
  49. package/dist/components/flyout.min.css +1 -1
  50. package/dist/components/flyout.min.js +1 -1
  51. package/dist/components/form.css +14 -5
  52. package/dist/components/form.js +9 -7
  53. package/dist/components/form.min.css +2 -2
  54. package/dist/components/form.min.js +2 -2
  55. package/dist/components/grid.css +1 -1
  56. package/dist/components/grid.min.css +1 -1
  57. package/dist/components/header.css +4 -1
  58. package/dist/components/header.min.css +2 -2
  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 +30 -10
  64. package/dist/components/input.min.css +2 -2
  65. package/dist/components/item.css +1 -1
  66. package/dist/components/item.min.css +1 -1
  67. package/dist/components/label.css +1 -2
  68. package/dist/components/label.min.css +2 -2
  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 -2
  74. package/dist/components/menu.min.css +2 -2
  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 +1 -1
  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 +1 -1
  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 -2
  88. package/dist/components/popup.js +1 -1
  89. package/dist/components/popup.min.css +2 -2
  90. package/dist/components/popup.min.js +1 -1
  91. package/dist/components/progress.css +1 -1
  92. package/dist/components/progress.js +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  125. package/dist/components/slider.min.css +1 -1
  126. package/dist/components/slider.min.js +1 -1
  127. package/dist/components/state.js +1 -1
  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 +1 -1
  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 +1 -1
  139. package/dist/components/tab.min.css +1 -1
  140. package/dist/components/tab.min.js +1 -1
  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 +1 -1
  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 +1 -1
  151. package/dist/components/transition.min.css +1 -1
  152. package/dist/components/transition.min.js +1 -1
  153. package/dist/components/visibility.js +1 -1
  154. package/dist/components/visibility.min.js +1 -1
  155. package/dist/semantic.css +100 -71
  156. package/dist/semantic.js +35 -33
  157. package/dist/semantic.min.css +2 -2
  158. package/dist/semantic.min.js +2 -2
  159. package/package.json +1 -1
  160. package/src/definitions/behaviors/form.js +8 -6
  161. package/src/definitions/collections/form.less +13 -4
  162. package/src/definitions/elements/header.less +5 -0
  163. package/src/definitions/elements/input.less +14 -6
  164. package/src/definitions/modules/dropdown.js +1 -1
  165. package/src/themes/default/collections/form.variables +1 -0
  166. package/src/themes/default/globals/variation.variables +1 -0
  167. package/types/fomantic-ui-api.d.ts +8 -2
  168. package/types/fomantic-ui-calendar.d.ts +93 -8
  169. package/types/fomantic-ui-checkbox.d.ts +14 -4
  170. package/types/fomantic-ui-dropdown.d.ts +12 -17
  171. package/types/fomantic-ui-flyout.d.ts +21 -7
  172. package/types/fomantic-ui-form.d.ts +112 -17
  173. package/types/fomantic-ui-modal.d.ts +74 -4
  174. package/types/fomantic-ui-nag.d.ts +1 -1
  175. package/types/fomantic-ui-popup.d.ts +8 -8
  176. package/types/fomantic-ui-progress.d.ts +6 -0
  177. package/types/fomantic-ui-search.d.ts +30 -12
  178. package/types/fomantic-ui-tab.d.ts +1 -1
  179. package/types/fomantic-ui-tests.ts +162 -0
  180. package/types/fomantic-ui-toast.d.ts +6 -1
  181. package/types/fomantic-ui-transition.d.ts +28 -0
  182. package/types/fomantic-ui-visibility.d.ts +2 -2
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.4-beta.1+44f7a51
2
+ * # Fomantic UI - 2.9.4-beta.11+a03991c
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.1+44f7a51 - Site
12
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - 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.1+44f7a51 - Form Validation
466
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Form Validation
467
467
  * https://github.com/fomantic/Fomantic-UI/
468
468
  *
469
469
  *
@@ -1083,7 +1083,7 @@
1083
1083
  // refresh selector cache
1084
1084
  (instance || module).refresh();
1085
1085
  },
1086
- field: function (identifier, strict) {
1086
+ field: function (identifier, strict, ignoreMissing) {
1087
1087
  module.verbose('Finding field with identifier', identifier);
1088
1088
  identifier = module.escape.string(identifier);
1089
1089
  var t;
@@ -1103,7 +1103,9 @@
1103
1103
  if (t.length > 0) {
1104
1104
  return t;
1105
1105
  }
1106
- module.error(error.noField.replace('{identifier}', identifier));
1106
+ if (!ignoreMissing) {
1107
+ module.error(error.noField.replace('{identifier}', identifier));
1108
+ }
1107
1109
 
1108
1110
  return strict ? $() : $('<input/>');
1109
1111
  },
@@ -1281,10 +1283,10 @@
1281
1283
 
1282
1284
  has: {
1283
1285
 
1284
- field: function (identifier) {
1286
+ field: function (identifier, ignoreMissing) {
1285
1287
  module.verbose('Checking for existence of a field with identifier', identifier);
1286
1288
 
1287
- return module.get.field(identifier, true).length > 0;
1289
+ return module.get.field(identifier, true, ignoreMissing).length > 0;
1288
1290
  },
1289
1291
 
1290
1292
  },
@@ -1484,7 +1486,7 @@
1484
1486
  }
1485
1487
  if (rule === undefined) {
1486
1488
  module.debug('Removed all rules');
1487
- if (module.has.field(field)) {
1489
+ if (module.has.field(field, true)) {
1488
1490
  validation[field].rules = [];
1489
1491
  } else {
1490
1492
  delete validation[field];
@@ -1685,7 +1687,7 @@
1685
1687
  module.debug('Enabling auto check on required fields');
1686
1688
  if (validation) {
1687
1689
  $.each(validation, function (fieldName) {
1688
- if (!module.has.field(fieldName)) {
1690
+ if (!module.has.field(fieldName, true)) {
1689
1691
  module.verbose('Field not found, removing from validation', fieldName);
1690
1692
  module.remove.field(fieldName);
1691
1693
  }
@@ -2618,7 +2620,7 @@
2618
2620
  })(jQuery, window, document);
2619
2621
 
2620
2622
  /*!
2621
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Accordion
2623
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Accordion
2622
2624
  * https://github.com/fomantic/Fomantic-UI/
2623
2625
  *
2624
2626
  *
@@ -3212,7 +3214,7 @@
3212
3214
  })(jQuery, window, document);
3213
3215
 
3214
3216
  /*!
3215
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Calendar
3217
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Calendar
3216
3218
  * https://github.com/fomantic/Fomantic-UI/
3217
3219
  *
3218
3220
  *
@@ -5223,7 +5225,7 @@
5223
5225
  })(jQuery, window, document);
5224
5226
 
5225
5227
  /*!
5226
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Checkbox
5228
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Checkbox
5227
5229
  * https://github.com/fomantic/Fomantic-UI/
5228
5230
  *
5229
5231
  *
@@ -6106,7 +6108,7 @@
6106
6108
  })(jQuery, window, document);
6107
6109
 
6108
6110
  /*!
6109
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Dimmer
6111
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Dimmer
6110
6112
  * https://github.com/fomantic/Fomantic-UI/
6111
6113
  *
6112
6114
  *
@@ -6837,7 +6839,7 @@
6837
6839
  })(jQuery, window, document);
6838
6840
 
6839
6841
  /*!
6840
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Dropdown
6842
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Dropdown
6841
6843
  * https://github.com/fomantic/Fomantic-UI/
6842
6844
  *
6843
6845
  *
@@ -9644,8 +9646,8 @@
9644
9646
  module.save.remoteData(selectedText, selectedValue);
9645
9647
  }
9646
9648
  if (settings.useLabels) {
9647
- module.add.value(selectedValue, selectedText, $selected, preventChangeTrigger);
9648
9649
  module.add.label(selectedValue, selectedText, shouldAnimate);
9650
+ module.add.value(selectedValue, selectedText, $selected, preventChangeTrigger);
9649
9651
  module.set.activeItem($selected);
9650
9652
  module.filterActive();
9651
9653
  module.select.nextAvailable($selectedItem);
@@ -11195,7 +11197,7 @@
11195
11197
  })(jQuery, window, document);
11196
11198
 
11197
11199
  /*!
11198
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Embed
11200
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Embed
11199
11201
  * https://github.com/fomantic/Fomantic-UI/
11200
11202
  *
11201
11203
  *
@@ -11874,7 +11876,7 @@
11874
11876
  })(jQuery, window, document);
11875
11877
 
11876
11878
  /*!
11877
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Flyout
11879
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Flyout
11878
11880
  * https://github.com/fomantic/Fomantic-UI/
11879
11881
  *
11880
11882
  *
@@ -13424,7 +13426,7 @@
13424
13426
  })(jQuery, window, document);
13425
13427
 
13426
13428
  /*!
13427
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Modal
13429
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Modal
13428
13430
  * https://github.com/fomantic/Fomantic-UI/
13429
13431
  *
13430
13432
  *
@@ -15058,7 +15060,7 @@
15058
15060
  })(jQuery, window, document);
15059
15061
 
15060
15062
  /*!
15061
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Nag
15063
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Nag
15062
15064
  * https://github.com/fomantic/Fomantic-UI/
15063
15065
  *
15064
15066
  *
@@ -15619,7 +15621,7 @@
15619
15621
  })(jQuery, window, document);
15620
15622
 
15621
15623
  /*!
15622
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Popup
15624
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Popup
15623
15625
  * https://github.com/fomantic/Fomantic-UI/
15624
15626
  *
15625
15627
  *
@@ -17175,7 +17177,7 @@
17175
17177
  })(jQuery, window, document);
17176
17178
 
17177
17179
  /*!
17178
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Progress
17180
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Progress
17179
17181
  * https://github.com/fomantic/Fomantic-UI/
17180
17182
  *
17181
17183
  *
@@ -18153,7 +18155,7 @@
18153
18155
  })(jQuery, window, document);
18154
18156
 
18155
18157
  /*!
18156
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Slider
18158
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Slider
18157
18159
  * https://github.com/fomantic/Fomantic-UI/
18158
18160
  *
18159
18161
  *
@@ -19602,7 +19604,7 @@
19602
19604
  })(jQuery, window, document);
19603
19605
 
19604
19606
  /*!
19605
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Rating
19607
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Rating
19606
19608
  * https://github.com/fomantic/Fomantic-UI/
19607
19609
  *
19608
19610
  *
@@ -20141,7 +20143,7 @@
20141
20143
  })(jQuery, window, document);
20142
20144
 
20143
20145
  /*!
20144
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Search
20146
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Search
20145
20147
  * https://github.com/fomantic/Fomantic-UI/
20146
20148
  *
20147
20149
  *
@@ -21719,7 +21721,7 @@
21719
21721
  })(jQuery, window, document);
21720
21722
 
21721
21723
  /*!
21722
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Shape
21724
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Shape
21723
21725
  * https://github.com/fomantic/Fomantic-UI/
21724
21726
  *
21725
21727
  *
@@ -22515,7 +22517,7 @@
22515
22517
  })(jQuery, window, document);
22516
22518
 
22517
22519
  /*!
22518
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Sidebar
22520
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Sidebar
22519
22521
  * https://github.com/fomantic/Fomantic-UI/
22520
22522
  *
22521
22523
  *
@@ -23568,7 +23570,7 @@
23568
23570
  })(jQuery, window, document);
23569
23571
 
23570
23572
  /*!
23571
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Sticky
23573
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Sticky
23572
23574
  * https://github.com/fomantic/Fomantic-UI/
23573
23575
  *
23574
23576
  *
@@ -24484,7 +24486,7 @@
24484
24486
  })(jQuery, window, document);
24485
24487
 
24486
24488
  /*!
24487
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Tab
24489
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Tab
24488
24490
  * https://github.com/fomantic/Fomantic-UI/
24489
24491
  *
24490
24492
  *
@@ -25450,7 +25452,7 @@
25450
25452
  })(jQuery, window, document);
25451
25453
 
25452
25454
  /*!
25453
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Toast
25455
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Toast
25454
25456
  * https://github.com/fomantic/Fomantic-UI/
25455
25457
  *
25456
25458
  *
@@ -26411,7 +26413,7 @@
26411
26413
  })(jQuery, window, document);
26412
26414
 
26413
26415
  /*!
26414
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Transition
26416
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Transition
26415
26417
  * https://github.com/fomantic/Fomantic-UI/
26416
26418
  *
26417
26419
  *
@@ -27442,7 +27444,7 @@
27442
27444
  })(jQuery, window, document);
27443
27445
 
27444
27446
  /*!
27445
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - API
27447
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - API
27446
27448
  * https://github.com/fomantic/Fomantic-UI/
27447
27449
  *
27448
27450
  *
@@ -28664,7 +28666,7 @@
28664
28666
  })(jQuery, window, document);
28665
28667
 
28666
28668
  /*!
28667
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - State
28669
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - State
28668
28670
  * https://github.com/fomantic/Fomantic-UI/
28669
28671
  *
28670
28672
  *
@@ -29360,7 +29362,7 @@
29360
29362
  })(jQuery, window, document);
29361
29363
 
29362
29364
  /*!
29363
- * # Fomantic-UI 2.9.4-beta.1+44f7a51 - Visibility
29365
+ * # Fomantic-UI 2.9.4-beta.11+a03991c - Visibility
29364
29366
  * https://github.com/fomantic/Fomantic-UI/
29365
29367
  *
29366
29368
  *