fomantic-ui 2.9.4-beta.38 → 2.9.4-beta.39

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 (160) 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 +14 -6
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +2 -2
  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 +1 -1
  52. package/dist/components/form.js +1 -1
  53. package/dist/components/form.min.css +1 -1
  54. package/dist/components/form.min.js +1 -1
  55. package/dist/components/grid.css +1 -1
  56. package/dist/components/grid.min.css +1 -1
  57. package/dist/components/header.css +1 -1
  58. package/dist/components/header.min.css +1 -1
  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 +1 -1
  64. package/dist/components/input.min.css +1 -1
  65. package/dist/components/item.css +1 -1
  66. package/dist/components/item.min.css +1 -1
  67. package/dist/components/label.css +1 -1
  68. package/dist/components/label.min.css +1 -1
  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 -1
  74. package/dist/components/menu.min.css +1 -1
  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 -1
  88. package/dist/components/popup.js +1 -1
  89. package/dist/components/popup.min.css +1 -1
  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 +53 -53
  156. package/dist/semantic.js +39 -31
  157. package/dist/semantic.min.css +1 -1
  158. package/dist/semantic.min.js +2 -2
  159. package/package.json +1 -1
  160. package/src/definitions/modules/embed.js +13 -5
package/dist/semantic.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.4-beta.38+18b5554
2
+ * # Fomantic UI - 2.9.4-beta.39+a5363fb
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.38+18b5554 - Site
12
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Site
13
13
  * https://github.com/fomantic/Fomantic-UI/
14
14
  *
15
15
  *
@@ -465,7 +465,7 @@
465
465
  })(jQuery, window, document);
466
466
 
467
467
  /*!
468
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Form Validation
468
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Form Validation
469
469
  * https://github.com/fomantic/Fomantic-UI/
470
470
  *
471
471
  *
@@ -2647,7 +2647,7 @@
2647
2647
  })(jQuery, window, document);
2648
2648
 
2649
2649
  /*!
2650
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Accordion
2650
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Accordion
2651
2651
  * https://github.com/fomantic/Fomantic-UI/
2652
2652
  *
2653
2653
  *
@@ -3243,7 +3243,7 @@
3243
3243
  })(jQuery, window, document);
3244
3244
 
3245
3245
  /*!
3246
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Calendar
3246
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Calendar
3247
3247
  * https://github.com/fomantic/Fomantic-UI/
3248
3248
  *
3249
3249
  *
@@ -5256,7 +5256,7 @@
5256
5256
  })(jQuery, window, document);
5257
5257
 
5258
5258
  /*!
5259
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Checkbox
5259
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Checkbox
5260
5260
  * https://github.com/fomantic/Fomantic-UI/
5261
5261
  *
5262
5262
  *
@@ -6145,7 +6145,7 @@
6145
6145
  })(jQuery, window, document);
6146
6146
 
6147
6147
  /*!
6148
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Dimmer
6148
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Dimmer
6149
6149
  * https://github.com/fomantic/Fomantic-UI/
6150
6150
  *
6151
6151
  *
@@ -6878,7 +6878,7 @@
6878
6878
  })(jQuery, window, document);
6879
6879
 
6880
6880
  /*!
6881
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Dropdown
6881
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Dropdown
6882
6882
  * https://github.com/fomantic/Fomantic-UI/
6883
6883
  *
6884
6884
  *
@@ -11299,7 +11299,7 @@
11299
11299
  })(jQuery, window, document);
11300
11300
 
11301
11301
  /*!
11302
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Embed
11302
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Embed
11303
11303
  * https://github.com/fomantic/Fomantic-UI/
11304
11304
  *
11305
11305
  *
@@ -11419,11 +11419,12 @@
11419
11419
 
11420
11420
  createPlaceholder: function (placeholder) {
11421
11421
  var
11422
- icon = module.get.icon()
11422
+ icon = module.get.icon(),
11423
+ alt = module.get.alt()
11423
11424
  ;
11424
11425
  placeholder = placeholder || module.get.placeholder();
11425
- $module.html(templates.placeholder(placeholder, icon));
11426
- module.debug('Creating placeholder for embed', placeholder, icon);
11426
+ $module.html(templates.placeholder(placeholder, icon, alt));
11427
+ module.debug('Creating placeholder for embed', placeholder, icon, alt);
11427
11428
  },
11428
11429
 
11429
11430
  createEmbed: function (url) {
@@ -11503,6 +11504,9 @@
11503
11504
  placeholder: function () {
11504
11505
  return settings.placeholder || $module.data(metadata.placeholder);
11505
11506
  },
11507
+ alt: function () {
11508
+ return settings.alt || $module.data(metadata.alt);
11509
+ },
11506
11510
  icon: function () {
11507
11511
  return settings.icon || ($module.data(metadata.icon) !== undefined
11508
11512
  ? $module.data(metadata.icon)
@@ -11588,6 +11592,7 @@
11588
11592
  .removeData(metadata.id)
11589
11593
  .removeData(metadata.icon)
11590
11594
  .removeData(metadata.placeholder)
11595
+ .removeData(metadata.alt)
11591
11596
  .removeData(metadata.source)
11592
11597
  .removeData(metadata.url)
11593
11598
  ;
@@ -11857,6 +11862,8 @@
11857
11862
  source: false,
11858
11863
  url: false,
11859
11864
  id: false,
11865
+ placeholder: false,
11866
+ alt: false,
11860
11867
 
11861
11868
  // standard video settings
11862
11869
  autoplay: 'auto',
@@ -11879,6 +11886,7 @@
11879
11886
  id: 'id',
11880
11887
  icon: 'icon',
11881
11888
  placeholder: 'placeholder',
11889
+ alt: 'alt',
11882
11890
  source: 'source',
11883
11891
  url: 'url',
11884
11892
  },
@@ -11954,7 +11962,7 @@
11954
11962
  + ' width="100%" height="100%"'
11955
11963
  + ' msallowFullScreen allowFullScreen></iframe>';
11956
11964
  },
11957
- placeholder: function (image, icon) {
11965
+ placeholder: function (image, icon, alt) {
11958
11966
  var
11959
11967
  html = '',
11960
11968
  deQuote = $.fn.embed.settings.templates.deQuote
@@ -11963,7 +11971,7 @@
11963
11971
  html += '<i class="' + deQuote(icon) + ' icon"></i>';
11964
11972
  }
11965
11973
  if (image) {
11966
- html += '<img class="placeholder" src="' + deQuote(image) + '">';
11974
+ html += '<img class="placeholder" src="' + deQuote(image) + (alt ? '" alt="' + deQuote(alt) : '') + '">';
11967
11975
  }
11968
11976
 
11969
11977
  return html;
@@ -11980,7 +11988,7 @@
11980
11988
  })(jQuery, window, document);
11981
11989
 
11982
11990
  /*!
11983
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Flyout
11991
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Flyout
11984
11992
  * https://github.com/fomantic/Fomantic-UI/
11985
11993
  *
11986
11994
  *
@@ -13532,7 +13540,7 @@
13532
13540
  })(jQuery, window, document);
13533
13541
 
13534
13542
  /*!
13535
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Modal
13543
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Modal
13536
13544
  * https://github.com/fomantic/Fomantic-UI/
13537
13545
  *
13538
13546
  *
@@ -15170,7 +15178,7 @@
15170
15178
  })(jQuery, window, document);
15171
15179
 
15172
15180
  /*!
15173
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Nag
15181
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Nag
15174
15182
  * https://github.com/fomantic/Fomantic-UI/
15175
15183
  *
15176
15184
  *
@@ -15737,7 +15745,7 @@
15737
15745
  })(jQuery, window, document);
15738
15746
 
15739
15747
  /*!
15740
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Popup
15748
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Popup
15741
15749
  * https://github.com/fomantic/Fomantic-UI/
15742
15750
  *
15743
15751
  *
@@ -17299,7 +17307,7 @@
17299
17307
  })(jQuery, window, document);
17300
17308
 
17301
17309
  /*!
17302
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Progress
17310
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Progress
17303
17311
  * https://github.com/fomantic/Fomantic-UI/
17304
17312
  *
17305
17313
  *
@@ -18279,7 +18287,7 @@
18279
18287
  })(jQuery, window, document);
18280
18288
 
18281
18289
  /*!
18282
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Slider
18290
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Slider
18283
18291
  * https://github.com/fomantic/Fomantic-UI/
18284
18292
  *
18285
18293
  *
@@ -19730,7 +19738,7 @@
19730
19738
  })(jQuery, window, document);
19731
19739
 
19732
19740
  /*!
19733
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Rating
19741
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Rating
19734
19742
  * https://github.com/fomantic/Fomantic-UI/
19735
19743
  *
19736
19744
  *
@@ -20271,7 +20279,7 @@
20271
20279
  })(jQuery, window, document);
20272
20280
 
20273
20281
  /*!
20274
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Search
20282
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Search
20275
20283
  * https://github.com/fomantic/Fomantic-UI/
20276
20284
  *
20277
20285
  *
@@ -21901,7 +21909,7 @@
21901
21909
  })(jQuery, window, document);
21902
21910
 
21903
21911
  /*!
21904
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Shape
21912
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Shape
21905
21913
  * https://github.com/fomantic/Fomantic-UI/
21906
21914
  *
21907
21915
  *
@@ -22699,7 +22707,7 @@
22699
22707
  })(jQuery, window, document);
22700
22708
 
22701
22709
  /*!
22702
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Sidebar
22710
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Sidebar
22703
22711
  * https://github.com/fomantic/Fomantic-UI/
22704
22712
  *
22705
22713
  *
@@ -23754,7 +23762,7 @@
23754
23762
  })(jQuery, window, document);
23755
23763
 
23756
23764
  /*!
23757
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Sticky
23765
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Sticky
23758
23766
  * https://github.com/fomantic/Fomantic-UI/
23759
23767
  *
23760
23768
  *
@@ -24672,7 +24680,7 @@
24672
24680
  })(jQuery, window, document);
24673
24681
 
24674
24682
  /*!
24675
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Tab
24683
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Tab
24676
24684
  * https://github.com/fomantic/Fomantic-UI/
24677
24685
  *
24678
24686
  *
@@ -25640,7 +25648,7 @@
25640
25648
  })(jQuery, window, document);
25641
25649
 
25642
25650
  /*!
25643
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Toast
25651
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Toast
25644
25652
  * https://github.com/fomantic/Fomantic-UI/
25645
25653
  *
25646
25654
  *
@@ -26603,7 +26611,7 @@
26603
26611
  })(jQuery, window, document);
26604
26612
 
26605
26613
  /*!
26606
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Transition
26614
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Transition
26607
26615
  * https://github.com/fomantic/Fomantic-UI/
26608
26616
  *
26609
26617
  *
@@ -27638,7 +27646,7 @@
27638
27646
  })(jQuery, window, document);
27639
27647
 
27640
27648
  /*!
27641
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - API
27649
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - API
27642
27650
  * https://github.com/fomantic/Fomantic-UI/
27643
27651
  *
27644
27652
  *
@@ -28864,7 +28872,7 @@
28864
28872
  })(jQuery, window, document);
28865
28873
 
28866
28874
  /*!
28867
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - State
28875
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - State
28868
28876
  * https://github.com/fomantic/Fomantic-UI/
28869
28877
  *
28870
28878
  *
@@ -29562,7 +29570,7 @@
29562
29570
  })(jQuery, window, document);
29563
29571
 
29564
29572
  /*!
29565
- * # Fomantic-UI 2.9.4-beta.38+18b5554 - Visibility
29573
+ * # Fomantic-UI 2.9.4-beta.39+a5363fb - Visibility
29566
29574
  * https://github.com/fomantic/Fomantic-UI/
29567
29575
  *
29568
29576
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.4-beta.38+18b5554
2
+ * # Fomantic UI - 2.9.4-beta.39+a5363fb
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *