fomantic-ui 2.9.0-beta.32 → 2.9.0-beta.321

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 (424) hide show
  1. package/.all-contributorsrc +274 -4
  2. package/.github/codeql/codeql-config.yml +4 -0
  3. package/.github/dependabot.yml +10 -0
  4. package/.github/workflows/ci.yml +10 -6
  5. package/.github/workflows/codeql.yml +68 -0
  6. package/.github/workflows/nightly.yml +16 -8
  7. package/.github/workflows/release.yml +34 -0
  8. package/CONTRIBUTORS.md +86 -37
  9. package/FAQ.md +38 -38
  10. package/README.md +8 -8
  11. package/dist/components/accordion.css +176 -36
  12. package/dist/components/accordion.js +10 -4
  13. package/dist/components/accordion.min.css +2 -2
  14. package/dist/components/accordion.min.js +3 -3
  15. package/dist/components/ad.css +4 -4
  16. package/dist/components/ad.min.css +2 -2
  17. package/dist/components/api.js +92 -33
  18. package/dist/components/api.min.js +3 -3
  19. package/dist/components/breadcrumb.css +1 -1
  20. package/dist/components/breadcrumb.min.css +1 -1
  21. package/dist/components/button.css +204 -157
  22. package/dist/components/button.min.css +2 -2
  23. package/dist/components/calendar.css +18 -1
  24. package/dist/components/calendar.js +93 -74
  25. package/dist/components/calendar.min.css +2 -2
  26. package/dist/components/calendar.min.js +3 -3
  27. package/dist/components/card.css +754 -117
  28. package/dist/components/card.min.css +2 -2
  29. package/dist/components/checkbox.css +92 -91
  30. package/dist/components/checkbox.js +21 -14
  31. package/dist/components/checkbox.min.css +2 -2
  32. package/dist/components/checkbox.min.js +3 -3
  33. package/dist/components/comment.css +12 -12
  34. package/dist/components/comment.min.css +2 -2
  35. package/dist/components/container.css +98 -4
  36. package/dist/components/container.min.css +2 -2
  37. package/dist/components/dimmer.css +33 -18
  38. package/dist/components/dimmer.js +19 -10
  39. package/dist/components/dimmer.min.css +2 -2
  40. package/dist/components/dimmer.min.js +3 -3
  41. package/dist/components/divider.css +31 -31
  42. package/dist/components/divider.min.css +2 -2
  43. package/dist/components/dropdown.css +100 -50
  44. package/dist/components/dropdown.js +212 -187
  45. package/dist/components/dropdown.min.css +2 -2
  46. package/dist/components/dropdown.min.js +3 -3
  47. package/dist/components/embed.css +5 -5
  48. package/dist/components/embed.js +14 -10
  49. package/dist/components/embed.min.css +2 -2
  50. package/dist/components/embed.min.js +3 -3
  51. package/dist/components/emoji.css +10799 -8841
  52. package/dist/components/emoji.min.css +1 -1
  53. package/dist/components/feed.css +29 -29
  54. package/dist/components/feed.min.css +2 -2
  55. package/dist/components/flag.css +1021 -915
  56. package/dist/components/flag.min.css +2 -2
  57. package/dist/components/flyout.css +592 -0
  58. package/dist/components/flyout.js +1529 -0
  59. package/dist/components/flyout.min.css +9 -0
  60. package/dist/components/flyout.min.js +11 -0
  61. package/dist/components/form.css +160 -83
  62. package/dist/components/form.js +46 -42
  63. package/dist/components/form.min.css +2 -2
  64. package/dist/components/form.min.js +3 -3
  65. package/dist/components/grid.css +25 -21
  66. package/dist/components/grid.min.css +2 -2
  67. package/dist/components/header.css +6 -4
  68. package/dist/components/header.min.css +2 -2
  69. package/dist/components/icon.css +2063 -1984
  70. package/dist/components/icon.min.css +2 -2
  71. package/dist/components/image.css +1 -1
  72. package/dist/components/image.min.css +1 -1
  73. package/dist/components/input.css +759 -22
  74. package/dist/components/input.min.css +2 -2
  75. package/dist/components/item.css +17 -17
  76. package/dist/components/item.min.css +2 -2
  77. package/dist/components/label.css +72 -68
  78. package/dist/components/label.min.css +2 -2
  79. package/dist/components/list.css +31 -31
  80. package/dist/components/list.min.css +2 -2
  81. package/dist/components/loader.css +352 -352
  82. package/dist/components/loader.min.css +2 -2
  83. package/dist/components/menu.css +108 -76
  84. package/dist/components/menu.min.css +1 -1
  85. package/dist/components/message.css +43 -43
  86. package/dist/components/message.min.css +2 -2
  87. package/dist/components/modal.css +37 -6
  88. package/dist/components/modal.js +187 -84
  89. package/dist/components/modal.min.css +2 -2
  90. package/dist/components/modal.min.js +3 -3
  91. package/dist/components/nag.css +1 -1
  92. package/dist/components/nag.js +3 -3
  93. package/dist/components/nag.min.css +1 -1
  94. package/dist/components/nag.min.js +3 -3
  95. package/dist/components/placeholder.css +33 -33
  96. package/dist/components/placeholder.min.css +2 -2
  97. package/dist/components/popup.css +100 -104
  98. package/dist/components/popup.js +17 -23
  99. package/dist/components/popup.min.css +2 -2
  100. package/dist/components/popup.min.js +3 -3
  101. package/dist/components/progress.css +1 -1
  102. package/dist/components/progress.js +6 -3
  103. package/dist/components/progress.min.css +1 -1
  104. package/dist/components/progress.min.js +3 -3
  105. package/dist/components/rail.css +1 -1
  106. package/dist/components/rail.min.css +1 -1
  107. package/dist/components/rating.css +1 -1
  108. package/dist/components/rating.js +8 -4
  109. package/dist/components/rating.min.css +1 -1
  110. package/dist/components/rating.min.js +3 -3
  111. package/dist/components/reset.css +5 -4
  112. package/dist/components/reset.min.css +2 -2
  113. package/dist/components/reveal.css +1 -1
  114. package/dist/components/reveal.min.css +1 -1
  115. package/dist/components/search.css +6 -6
  116. package/dist/components/search.js +48 -21
  117. package/dist/components/search.min.css +2 -2
  118. package/dist/components/search.min.js +3 -3
  119. package/dist/components/segment.css +118 -34
  120. package/dist/components/segment.min.css +2 -2
  121. package/dist/components/shape.css +1 -1
  122. package/dist/components/shape.js +4 -4
  123. package/dist/components/shape.min.css +1 -1
  124. package/dist/components/shape.min.js +3 -3
  125. package/dist/components/sidebar.css +23 -9
  126. package/dist/components/sidebar.js +141 -44
  127. package/dist/components/sidebar.min.css +2 -2
  128. package/dist/components/sidebar.min.js +3 -3
  129. package/dist/components/site.css +139 -42
  130. package/dist/components/site.js +2 -2
  131. package/dist/components/site.min.css +2 -2
  132. package/dist/components/site.min.js +3 -3
  133. package/dist/components/slider.css +17 -17
  134. package/dist/components/slider.js +79 -64
  135. package/dist/components/slider.min.css +1 -1
  136. package/dist/components/slider.min.js +3 -3
  137. package/dist/components/state.js +3 -3
  138. package/dist/components/state.min.js +3 -3
  139. package/dist/components/statistic.css +4 -4
  140. package/dist/components/statistic.min.css +2 -2
  141. package/dist/components/step.css +31 -31
  142. package/dist/components/step.min.css +2 -2
  143. package/dist/components/sticky.css +1 -1
  144. package/dist/components/sticky.js +11 -18
  145. package/dist/components/sticky.min.css +1 -1
  146. package/dist/components/sticky.min.js +3 -3
  147. package/dist/components/tab.css +5 -5
  148. package/dist/components/tab.js +25 -7
  149. package/dist/components/tab.min.css +2 -2
  150. package/dist/components/tab.min.js +3 -3
  151. package/dist/components/table.css +1684 -272
  152. package/dist/components/table.min.css +2 -2
  153. package/dist/components/text.css +1 -1
  154. package/dist/components/text.min.css +1 -1
  155. package/dist/components/toast.css +43 -1
  156. package/dist/components/toast.js +68 -34
  157. package/dist/components/toast.min.css +2 -2
  158. package/dist/components/toast.min.js +3 -3
  159. package/dist/components/transition.css +1 -1
  160. package/dist/components/transition.js +27 -22
  161. package/dist/components/transition.min.css +1 -1
  162. package/dist/components/transition.min.js +3 -3
  163. package/dist/components/visibility.js +5 -5
  164. package/dist/components/visibility.min.js +3 -3
  165. package/dist/semantic.css +42008 -34578
  166. package/dist/semantic.js +2719 -763
  167. package/dist/semantic.min.css +3 -3
  168. package/dist/semantic.min.js +3 -3
  169. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  170. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  171. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  172. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  173. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  174. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  175. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  176. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  177. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  178. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  179. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  180. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  181. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  182. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  183. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  184. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  185. package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  186. package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
  187. package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  188. package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
  189. package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  190. package/dist/themes/default/assets/fonts/icons.eot +0 -0
  191. package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
  192. package/dist/themes/default/assets/fonts/icons.ttf +0 -0
  193. package/dist/themes/default/assets/fonts/icons.woff +0 -0
  194. package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  195. package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  196. package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
  197. package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  198. package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
  199. package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  200. package/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  201. package/examples/assets/library/iframe-content.js +8 -8
  202. package/examples/assets/library/iframe.js +3 -3
  203. package/examples/components/button.html +1 -1
  204. package/examples/components/card.html +1 -1
  205. package/examples/components/input.html +1 -1
  206. package/examples/components/menu.html +1 -1
  207. package/examples/components/site.html +1 -1
  208. package/examples/components/table.html +1 -1
  209. package/package.json +18 -16
  210. package/scripts/nightly-version.js +47 -38
  211. package/src/definitions/behaviors/api.js +91 -32
  212. package/src/definitions/behaviors/form.js +45 -41
  213. package/src/definitions/behaviors/state.js +2 -2
  214. package/src/definitions/behaviors/visibility.js +4 -4
  215. package/src/definitions/collections/form.less +229 -166
  216. package/src/definitions/collections/grid.less +723 -687
  217. package/src/definitions/collections/menu.less +232 -170
  218. package/src/definitions/collections/message.less +49 -47
  219. package/src/definitions/collections/table.less +882 -272
  220. package/src/definitions/elements/button.less +611 -469
  221. package/src/definitions/elements/container.less +145 -8
  222. package/src/definitions/elements/divider.less +24 -24
  223. package/src/definitions/elements/emoji.less +39 -10
  224. package/src/definitions/elements/flag.less +54 -18
  225. package/src/definitions/elements/header.less +46 -37
  226. package/src/definitions/elements/icon.less +39 -32
  227. package/src/definitions/elements/input.less +281 -33
  228. package/src/definitions/elements/label.less +132 -128
  229. package/src/definitions/elements/list.less +84 -75
  230. package/src/definitions/elements/loader.less +99 -98
  231. package/src/definitions/elements/placeholder.less +32 -32
  232. package/src/definitions/elements/segment.less +177 -56
  233. package/src/definitions/elements/step.less +76 -72
  234. package/src/definitions/elements/text.less +17 -15
  235. package/src/definitions/globals/reset.less +2 -2
  236. package/src/definitions/globals/site.js +1 -1
  237. package/src/definitions/globals/site.less +25 -2
  238. package/src/definitions/modules/accordion.js +9 -3
  239. package/src/definitions/modules/accordion.less +371 -219
  240. package/src/definitions/modules/calendar.js +92 -73
  241. package/src/definitions/modules/calendar.less +20 -0
  242. package/src/definitions/modules/checkbox.js +20 -13
  243. package/src/definitions/modules/checkbox.less +83 -227
  244. package/src/definitions/modules/dimmer.js +18 -9
  245. package/src/definitions/modules/dimmer.less +26 -12
  246. package/src/definitions/modules/dropdown.js +211 -186
  247. package/src/definitions/modules/dropdown.less +201 -136
  248. package/src/definitions/modules/embed.js +13 -9
  249. package/src/definitions/modules/embed.less +4 -4
  250. package/src/definitions/modules/flyout.js +1529 -0
  251. package/src/definitions/modules/flyout.less +650 -0
  252. package/src/definitions/modules/modal.js +186 -83
  253. package/src/definitions/modules/modal.less +70 -33
  254. package/src/definitions/modules/nag.js +2 -2
  255. package/src/definitions/modules/nag.less +20 -19
  256. package/src/definitions/modules/popup.js +16 -22
  257. package/src/definitions/modules/popup.less +86 -90
  258. package/src/definitions/modules/progress.js +5 -2
  259. package/src/definitions/modules/progress.less +19 -18
  260. package/src/definitions/modules/rating.js +7 -3
  261. package/src/definitions/modules/rating.less +35 -34
  262. package/src/definitions/modules/search.js +47 -20
  263. package/src/definitions/modules/search.less +35 -19
  264. package/src/definitions/modules/shape.js +3 -3
  265. package/src/definitions/modules/sidebar.js +140 -43
  266. package/src/definitions/modules/sidebar.less +53 -24
  267. package/src/definitions/modules/slider.js +78 -63
  268. package/src/definitions/modules/slider.less +48 -47
  269. package/src/definitions/modules/sticky.js +10 -17
  270. package/src/definitions/modules/sticky.less +3 -1
  271. package/src/definitions/modules/tab.js +24 -6
  272. package/src/definitions/modules/tab.less +4 -4
  273. package/src/definitions/modules/toast.js +67 -33
  274. package/src/definitions/modules/toast.less +52 -16
  275. package/src/definitions/modules/transition.js +26 -21
  276. package/src/definitions/views/ad.less +3 -3
  277. package/src/definitions/views/card.less +522 -375
  278. package/src/definitions/views/comment.less +93 -82
  279. package/src/definitions/views/feed.less +164 -144
  280. package/src/definitions/views/item.less +251 -198
  281. package/src/definitions/views/statistic.less +91 -89
  282. package/src/semantic.less +1 -0
  283. package/src/theme.config.example +1 -0
  284. package/src/theme.less +13 -2
  285. package/src/themes/amazon/globals/site.variables +1 -0
  286. package/src/themes/basic/elements/icon.overrides +149 -149
  287. package/src/themes/basic/elements/step.overrides +2 -2
  288. package/src/themes/bookish/elements/header.overrides +1 -1
  289. package/src/themes/chubby/elements/button.overrides +1 -1
  290. package/src/themes/chubby/elements/header.overrides +1 -1
  291. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  292. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  293. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  294. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  295. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  296. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  297. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  298. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  299. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  300. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  301. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  302. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  303. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  304. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  305. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  306. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  307. package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
  308. package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
  309. package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
  310. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  311. package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  312. package/src/themes/default/assets/fonts/icons.eot +0 -0
  313. package/src/themes/default/assets/fonts/icons.svg +1175 -1079
  314. package/src/themes/default/assets/fonts/icons.ttf +0 -0
  315. package/src/themes/default/assets/fonts/icons.woff +0 -0
  316. package/src/themes/default/assets/fonts/icons.woff2 +0 -0
  317. package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
  318. package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
  319. package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
  320. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  321. package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  322. package/src/themes/default/collections/form.variables +4 -0
  323. package/src/themes/default/collections/menu.variables +6 -0
  324. package/src/themes/default/collections/table.variables +52 -0
  325. package/src/themes/default/elements/button.variables +7 -1
  326. package/src/themes/default/elements/container.variables +12 -0
  327. package/src/themes/default/elements/divider.overrides +7 -7
  328. package/src/themes/default/elements/emoji.overrides +0 -3090
  329. package/src/themes/default/elements/emoji.variables +3563 -1
  330. package/src/themes/default/elements/flag.overrides +0 -991
  331. package/src/themes/default/elements/flag.variables +1603 -5
  332. package/src/themes/default/elements/icon.overrides +1975 -1949
  333. package/src/themes/default/elements/icon.variables +1 -0
  334. package/src/themes/default/elements/input.variables +15 -0
  335. package/src/themes/default/elements/segment.variables +8 -0
  336. package/src/themes/default/elements/step.overrides +3 -3
  337. package/src/themes/default/globals/site.variables +109 -8
  338. package/src/themes/default/globals/variation.variables +161 -6
  339. package/src/themes/default/modules/accordion.overrides +6 -5
  340. package/src/themes/default/modules/accordion.variables +49 -2
  341. package/src/themes/default/modules/calendar.variables +3 -0
  342. package/src/themes/default/modules/checkbox.overrides +9 -9
  343. package/src/themes/default/modules/checkbox.variables +5 -5
  344. package/src/themes/default/modules/dimmer.variables +1 -1
  345. package/src/themes/default/modules/dropdown.overrides +5 -5
  346. package/src/themes/default/modules/dropdown.variables +7 -10
  347. package/src/themes/default/modules/flyout.overrides +3 -0
  348. package/src/themes/default/modules/flyout.variables +100 -0
  349. package/src/themes/default/modules/modal.variables +16 -2
  350. package/src/themes/default/modules/popup.variables +0 -2
  351. package/src/themes/default/modules/sidebar.variables +4 -1
  352. package/src/themes/default/modules/toast.variables +3 -0
  353. package/src/themes/default/views/card.variables +8 -0
  354. package/src/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  355. package/src/themes/famfamfam/elements/flag.overrides +1026 -0
  356. package/src/themes/famfamfam/elements/flag.variables +20 -0
  357. package/src/themes/github/elements/icon.overrides +206 -206
  358. package/src/themes/github/elements/step.overrides +5 -5
  359. package/src/themes/github/globals/site.variables +1 -0
  360. package/src/themes/github/modules/dropdown.overrides +6 -6
  361. package/src/themes/instagram/views/card.overrides +1 -1
  362. package/src/themes/joypixels/elements/emoji.overrides +0 -3089
  363. package/src/themes/joypixels/elements/emoji.variables +3562 -5
  364. package/src/themes/material/collections/menu.overrides +1 -1
  365. package/src/themes/material/elements/button.overrides +1 -1
  366. package/src/themes/material/elements/header.overrides +1 -1
  367. package/src/themes/material/elements/icon.overrides +932 -932
  368. package/src/themes/material/globals/site.variables +0 -1
  369. package/src/themes/material/modules/dropdown.overrides +1 -1
  370. package/src/themes/material/modules/modal.overrides +1 -1
  371. package/src/themes/pulsar/elements/loader.overrides +2 -2
  372. package/src/themes/resetcss/globals/reset.overrides +3 -3
  373. package/src/themes/rtl/globals/site.overrides +1 -1
  374. package/src/themes/striped/modules/progress.overrides +1 -1
  375. package/src/themes/systemfont/globals/reset.overrides +8 -0
  376. package/src/themes/systemfont/globals/site.variables +10 -0
  377. package/src/themes/twitter/elements/emoji.overrides +0 -3091
  378. package/src/themes/twitter/elements/emoji.variables +3558 -6
  379. package/tasks/admin/distributions/create.js +1 -1
  380. package/tasks/admin/publish.js +1 -1
  381. package/tasks/admin/release.js +1 -1
  382. package/tasks/build/assets.js +1 -1
  383. package/tasks/build/css.js +9 -4
  384. package/tasks/build/javascript.js +3 -3
  385. package/tasks/check-install.js +1 -1
  386. package/tasks/clean.js +1 -1
  387. package/tasks/collections/README.md +1 -1
  388. package/tasks/collections/admin.js +1 -1
  389. package/tasks/config/admin/oauth.example.js +1 -1
  390. package/tasks/config/admin/release.js +1 -0
  391. package/tasks/config/admin/templates/composer.json +1 -1
  392. package/tasks/config/defaults.js +1 -0
  393. package/tasks/config/project/install.js +16 -13
  394. package/tasks/install.js +1 -0
  395. package/tasks/rtl/watch.js +1 -1
  396. package/tasks/version.js +1 -1
  397. package/test/fixtures/accordion.html +1 -1
  398. package/test/fixtures/checkbox.html +1 -1
  399. package/test/fixtures/dropdown.html +1 -1
  400. package/test/fixtures/modal.html +1 -1
  401. package/test/fixtures/popup.html +1 -1
  402. package/test/fixtures/rating.html +1 -1
  403. package/test/fixtures/shape.html +1 -1
  404. package/test/fixtures/sidebar.html +1 -1
  405. package/test/fixtures/tab.html +1 -1
  406. package/test/fixtures/transition.html +1 -1
  407. package/test/fixtures/video.html +1 -1
  408. package/test/helpers/jasmine-jquery.js +2 -2
  409. package/test/helpers/jasmine-sinon.js +1 -1
  410. package/test/helpers/jquery-events.js +1 -1
  411. package/test/helpers/sinon.js +3 -3
  412. package/test/meteor/fonts.js +1 -1
  413. package/test/modules/accordion.spec.js +1 -1
  414. package/test/modules/checkbox.spec.js +1 -1
  415. package/test/modules/dropdown.spec.js +1 -1
  416. package/test/modules/modal.spec.js +1 -1
  417. package/test/modules/module.spec.js +1 -1
  418. package/test/modules/popup.spec.js +1 -1
  419. package/test/modules/search.spec.js +1 -1
  420. package/test/modules/shape.spec.js +1 -1
  421. package/test/modules/sidebar.spec.js +1 -1
  422. package/test/modules/tab.spec.js +1 -1
  423. package/test/modules/transition.spec.js +1 -1
  424. package/test/modules/video.spec.js +1 -1
@@ -42,8 +42,10 @@
42
42
  .ui.ui.ui.relaxed.grid.container {
43
43
  width: @mobileRelaxedGridWidth;
44
44
  }
45
- .ui.ui.ui.very.relaxed.grid.container {
46
- width: @mobileVeryRelaxedGridWidth;
45
+ & when (@variationContainerVeryRelaxed) {
46
+ .ui.ui.ui.very.relaxed.grid.container {
47
+ width: @mobileVeryRelaxedGridWidth;
48
+ }
47
49
  }
48
50
  }
49
51
  }
@@ -64,8 +66,10 @@
64
66
  .ui.ui.ui.relaxed.grid.container {
65
67
  width: @tabletRelaxedGridWidth;
66
68
  }
67
- .ui.ui.ui.very.relaxed.grid.container {
68
- width: @tabletVeryRelaxedGridWidth;
69
+ & when (@variationContainerVeryRelaxed) {
70
+ .ui.ui.ui.very.relaxed.grid.container {
71
+ width: @tabletVeryRelaxedGridWidth;
72
+ }
69
73
  }
70
74
  }
71
75
  }
@@ -86,8 +90,10 @@
86
90
  .ui.ui.ui.relaxed.grid.container {
87
91
  width: @computerRelaxedGridWidth;
88
92
  }
89
- .ui.ui.ui.very.relaxed.grid.container {
90
- width: @computerVeryRelaxedGridWidth;
93
+ & when (@variationContainerVeryRelaxed) {
94
+ .ui.ui.ui.very.relaxed.grid.container {
95
+ width: @computerVeryRelaxedGridWidth;
96
+ }
91
97
  }
92
98
  }
93
99
  }
@@ -108,8 +114,10 @@
108
114
  .ui.ui.ui.relaxed.grid.container {
109
115
  width: @largeMonitorRelaxedGridWidth;
110
116
  }
111
- .ui.ui.ui.very.relaxed.grid.container {
112
- width: @largeMonitorVeryRelaxedGridWidth;
117
+ & when (@variationContainerVeryRelaxed) {
118
+ .ui.ui.ui.very.relaxed.grid.container {
119
+ width: @largeMonitorVeryRelaxedGridWidth;
120
+ }
113
121
  }
114
122
  }
115
123
  }
@@ -129,6 +137,25 @@
129
137
  }
130
138
  }
131
139
 
140
+ & when (@variationContainerWide) {
141
+ /* Wide Container */
142
+ @media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
143
+ .ui.ui.ui.wide.container {
144
+ width: @tabletWideWidth;
145
+ }
146
+ }
147
+ @media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
148
+ .ui.ui.ui.wide.container {
149
+ width: @computerWideWidth;
150
+ }
151
+ }
152
+ @media only screen and (min-width: @largeMonitorBreakpoint) {
153
+ .ui.ui.ui.wide.container {
154
+ width: @largeMonitorWideWidth;
155
+ }
156
+ }
157
+ }
158
+
132
159
  & when (@variationContainerFluid) {
133
160
  /* Fluid */
134
161
  .ui.fluid.container {
@@ -156,5 +183,115 @@
156
183
  hyphens: auto;
157
184
  }
158
185
  }
186
+ & when (@variationContainerScrolling) {
187
+ /*--------------
188
+ Scrolling
189
+ ---------------*/
190
+ .ui.scrolling.container {
191
+ overflow: auto;
192
+ }
193
+ @media only screen and (max-width : @largestMobileScreen) {
194
+ & when (@variationContainerScrollingShort) {
195
+ .ui.scrolling.container.short {
196
+ max-height: @scrollingMobileMaxHeight * 0.75;
197
+ }
198
+ }
199
+ & when (@variationContainerScrollingVeryShort) {
200
+ .ui.scrolling.container[class*="very short"] {
201
+ max-height: @scrollingMobileMaxHeight * 0.5;
202
+ }
203
+ }
204
+ .ui.scrolling.container {
205
+ max-height: @scrollingMobileMaxHeight;
206
+ }
207
+ & when (@variationContainerScrollingLong) {
208
+ .ui.scrolling.container.long {
209
+ max-height: @scrollingMobileMaxHeight * 2;
210
+ }
211
+ }
212
+ & when (@variationContainerScrollingVeryLong) {
213
+ .ui.scrolling.container[class*="very long"] {
214
+ max-height: @scrollingMobileMaxHeight * 3;
215
+ }
216
+ }
217
+ }
218
+
219
+ @media only screen and (min-width: @tabletBreakpoint) {
220
+ & when (@variationContainerScrollingShort) {
221
+ .ui.scrolling.container.short {
222
+ max-height: @scrollingTabletMaxHeight * 0.75;
223
+ }
224
+ }
225
+ & when (@variationContainerScrollingVeryShort) {
226
+ .ui.scrolling.container[class*="very short"] {
227
+ max-height: @scrollingTabletMaxHeight * 0.5;
228
+ }
229
+ }
230
+ .ui.scrolling.container {
231
+ max-height: @scrollingTabletMaxHeight;
232
+ }
233
+ & when (@variationContainerScrollingLong) {
234
+ .ui.scrolling.container.long {
235
+ max-height: @scrollingTabletMaxHeight * 2;
236
+ }
237
+ }
238
+ & when (@variationContainerScrollingVeryLong) {
239
+ .ui.scrolling.container[class*="very long"] {
240
+ max-height: @scrollingTabletMaxHeight * 3;
241
+ }
242
+ }
243
+ }
244
+ @media only screen and (min-width: @computerBreakpoint) {
245
+ & when (@variationContainerScrollingShort) {
246
+ .ui.scrolling.container.short {
247
+ max-height: @scrollingComputerMaxHeight * 0.75;
248
+ }
249
+ }
250
+ & when (@variationContainerScrollingVeryShort) {
251
+ .ui.scrolling.container[class*="very short"] {
252
+ max-height: @scrollingComputerMaxHeight * 0.5;
253
+ }
254
+ }
255
+ .ui.scrolling.container {
256
+ max-height: @scrollingComputerMaxHeight;
257
+ }
258
+ & when (@variationContainerScrollingLong) {
259
+ .ui.scrolling.container.long {
260
+ max-height: @scrollingComputerMaxHeight * 2;
261
+ }
262
+ }
263
+ & when (@variationContainerScrollingVeryLong) {
264
+ .ui.scrolling.container[class*="very long"]{
265
+ max-height: @scrollingComputerMaxHeight * 3;
266
+ }
267
+ }
268
+ }
269
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
270
+ & when (@variationContainerScrollingShort) {
271
+ .ui.scrolling.container.short {
272
+ max-height: @scrollingWidescreenMaxHeight * 0.75;
273
+ }
274
+ }
275
+ & when (@variationContainerScrollingVeryShort) {
276
+ .ui.scrolling.container[class*="very short"] {
277
+ max-height: @scrollingWidescreenMaxHeight * 0.5;
278
+ }
279
+ }
280
+ .ui.scrolling.container {
281
+ max-height: @scrollingWidescreenMaxHeight;
282
+ }
283
+ & when (@variationContainerScrollingLong) {
284
+ .ui.scrolling.container.long {
285
+ max-height: @scrollingWidescreenMaxHeight * 2;
286
+ }
287
+ }
288
+ & when (@variationContainerScrollingVeryLong) {
289
+ .ui.scrolling.container[class*="very long"] {
290
+ max-height: @scrollingWidescreenMaxHeight * 3;
291
+ }
292
+ }
293
+ }
294
+ }
295
+
159
296
 
160
297
  .loadUIOverrides();
@@ -71,8 +71,8 @@
71
71
  text-align: center;
72
72
  }
73
73
 
74
- .ui.horizontal.divider:before,
75
- .ui.horizontal.divider:after {
74
+ .ui.horizontal.divider::before,
75
+ .ui.horizontal.divider::after {
76
76
  content: '';
77
77
  display: table-cell;
78
78
  position: relative;
@@ -81,10 +81,10 @@
81
81
  background-repeat: no-repeat;
82
82
  }
83
83
 
84
- .ui.horizontal.divider:before {
84
+ .ui.horizontal.divider::before {
85
85
  background-position: right @horizontalDividerMargin top 50%;
86
86
  }
87
- .ui.horizontal.divider:after {
87
+ .ui.horizontal.divider::after {
88
88
  background-position: left @horizontalDividerMargin top 50%;
89
89
  }
90
90
  }
@@ -110,8 +110,8 @@
110
110
  transform: translateX(-50%);
111
111
  }
112
112
 
113
- .ui.vertical.divider:before,
114
- .ui.vertical.divider:after {
113
+ .ui.vertical.divider::before,
114
+ .ui.vertical.divider::after {
115
115
  position: absolute;
116
116
  left: 50%;
117
117
  content: '';
@@ -124,10 +124,10 @@
124
124
  height: @verticalDividerHeight;
125
125
  }
126
126
 
127
- .ui.vertical.divider:before {
127
+ .ui.vertical.divider::before {
128
128
  top: -100%;
129
129
  }
130
- .ui.vertical.divider:after {
130
+ .ui.vertical.divider::after {
131
131
  top: auto;
132
132
  bottom: 0;
133
133
  }
@@ -150,10 +150,10 @@
150
150
  transform: none;
151
151
  }
152
152
 
153
- .ui.stackable.grid .ui.vertical.divider:before,
154
- .ui.grid .stackable.row .ui.vertical.divider:before,
155
- .ui.stackable.grid .ui.vertical.divider:after,
156
- .ui.grid .stackable.row .ui.vertical.divider:after {
153
+ .ui.stackable.grid .ui.vertical.divider::before,
154
+ .ui.grid .stackable.row .ui.vertical.divider::before,
155
+ .ui.stackable.grid .ui.vertical.divider::after,
156
+ .ui.grid .stackable.row .ui.vertical.divider::after {
157
157
  left: 0;
158
158
  border-left: none;
159
159
  border-right: none;
@@ -165,12 +165,12 @@
165
165
  background-repeat: no-repeat;
166
166
  }
167
167
 
168
- .ui.stackable.grid .ui.vertical.divider:before,
169
- .ui.grid .stackable.row .ui.vertical.divider:before {
168
+ .ui.stackable.grid .ui.vertical.divider::before,
169
+ .ui.grid .stackable.row .ui.vertical.divider::before {
170
170
  background-position: right @horizontalDividerMargin top 50%;
171
171
  }
172
- .ui.stackable.grid .ui.vertical.divider:after,
173
- .ui.grid .stackable.row .ui.vertical.divider:after {
172
+ .ui.stackable.grid .ui.vertical.divider::after,
173
+ .ui.grid .stackable.row .ui.vertical.divider::after {
174
174
  background-position: left @horizontalDividerMargin top 50%;
175
175
  }
176
176
  }
@@ -194,18 +194,18 @@
194
194
  Header
195
195
  ---------------*/
196
196
  .ui.horizontal.divider[class*="left aligned"] {
197
- &:before {
197
+ &::before {
198
198
  display: none;
199
199
  }
200
- &:after {
200
+ &::after {
201
201
  width: 100%;
202
202
  }
203
203
  }
204
204
  .ui.horizontal.divider[class*="right aligned"] {
205
- &:before {
205
+ &::before {
206
206
  width: 100%;
207
207
  }
208
- &:after {
208
+ &::after {
209
209
  display: none;
210
210
  }
211
211
  }
@@ -224,8 +224,8 @@
224
224
  border-color: transparent !important;
225
225
  }
226
226
 
227
- .ui.hidden.divider:before,
228
- .ui.hidden.divider:after {
227
+ .ui.hidden.divider::before,
228
+ .ui.hidden.divider::after {
229
229
  display: none;
230
230
  }
231
231
  }
@@ -240,8 +240,8 @@
240
240
  color: @invertedTextColor;
241
241
  }
242
242
  .ui.divider.inverted,
243
- .ui.divider.inverted:after,
244
- .ui.divider.inverted:before {
243
+ .ui.divider.inverted::after,
244
+ .ui.divider.inverted::before {
245
245
  border-top-color: @invertedShadowColor !important;
246
246
  border-left-color: @invertedShadowColor !important;
247
247
  border-bottom-color: @invertedHighlightColor !important;
@@ -31,7 +31,7 @@ em[data-emoji] {
31
31
  backface-visibility: hidden;
32
32
  }
33
33
 
34
- em[data-emoji]:before {
34
+ em[data-emoji]::before {
35
35
  content:'\00A0\00A0\00A0\00A0\00A0\00A0\00A0';
36
36
  display: inline-block;
37
37
  line-height: @emojiLineHeight;
@@ -47,8 +47,10 @@ em[data-emoji]:before {
47
47
  States
48
48
  *******************************/
49
49
 
50
- em[data-emoji].disabled {
51
- opacity: @disabledOpacity;
50
+ & when (@variationEmojiDisabled) {
51
+ em[data-emoji].disabled {
52
+ opacity: @disabledOpacity;
53
+ }
52
54
  }
53
55
 
54
56
 
@@ -56,17 +58,44 @@ em[data-emoji].disabled {
56
58
  Variations
57
59
  *******************************/
58
60
 
59
- em[data-emoji].loading:before {
60
- animation: loader @loadingDuration linear infinite;
61
+ & when (@variationEmojiLoading) {
62
+ em[data-emoji].loading::before {
63
+ animation: loader @loadingDuration linear infinite;
64
+ }
61
65
  }
62
66
 
63
67
 
64
- /*-------------------
65
- Link
66
- --------------------*/
68
+ & when (@variationEmojiLink) {
69
+ /*-------------------
70
+ Link
71
+ --------------------*/
67
72
 
68
- em[data-emoji].link:not(.disabled) {
69
- cursor: pointer;
73
+ em[data-emoji].link:not(.disabled) {
74
+ cursor: pointer;
75
+ }
70
76
  }
71
77
 
78
+ /*rtl:begin:ignore*/
79
+
80
+ each(@size-map, {
81
+ em[data-emoji].@{key} {
82
+ font-size: 1.5em * @value;
83
+ vertical-align: middle;
84
+ }
85
+ });
86
+
87
+ each(@emoji-map,{
88
+ & when (@variationEmojiColons) {
89
+ em[data-emoji=":@{value}:"]::before {
90
+ background-image: url("@{emojiPath}@{key}.@{emojiFileType}");
91
+ }
92
+ em[data-emoji="@{value}"]::before:extend(em[data-emoji=":@{value}:"]::before) when (@variationEmojiNoColons) {}
93
+ }
94
+ em[data-emoji="@{value}"]::before when (@variationEmojiNoColons) and not (@variationEmojiColons) {
95
+ background-image: url("@{emojiPath}@{key}.@{emojiFileType}");
96
+ }
97
+ });
98
+
99
+ /*rtl:end:ignore*/
100
+
72
101
  .loadUIOverrides();
@@ -24,29 +24,65 @@
24
24
  *******************************/
25
25
 
26
26
  i.flag:not(.icon) {
27
- display: inline-block;
28
-
29
- width: @width;
30
- height: @height;
31
-
32
- line-height: @height;
33
- vertical-align: @verticalAlign;
34
- margin: 0 @margin 0 0;
35
-
36
- text-decoration: inherit;
37
-
38
27
  speak: none;
39
- -webkit-font-smoothing: antialiased;
40
28
  backface-visibility: hidden;
41
29
  }
42
30
 
43
- /* Sprite */
44
- i.flag:not(.icon):before {
31
+ i.flag:not(.icon)::before {
32
+ content: '\00A0\00A0\00A0\00A0\00A0\00A0\00A0';
45
33
  display: inline-block;
46
- content: '';
47
- background: url(@spritePath) no-repeat -108px -1976px;
48
- width: @width;
49
- height: @height;
34
+ line-height: @flagLineHeight;
35
+ background-repeat: no-repeat;
36
+ background-position: center center;
37
+ & when not (@flagFileType = 'svg') {
38
+ background-size: contain;
39
+ }
50
40
  }
51
41
 
42
+ each(@size-map, {
43
+ i.flag.@{key} {
44
+ font-size: 1.5em * @value;
45
+ vertical-align: middle;
46
+ }
47
+ });
48
+
49
+ /*rtl:begin:ignore*/
50
+
51
+ // for simplicity, class and alias names have to be unique and different to countrycode otherwise false
52
+ each(@flags, {
53
+ @unicode: replace(@key,'@','');
54
+ @cc: replace(@flags[@@unicode][countrycode],'_','.','g');
55
+ @cls: replace(@flags[@@unicode][class],'_','.','g');
56
+ @alias: replace(@flags[@@unicode][aliasClass],'_','.','g');
57
+ @alias2: replace(@flags[@@unicode][aliasClass2],'_','.','g');
58
+ & when (@cls = false){
59
+ i.flag.@{cc}::before {
60
+ background-image: url("@{flagPath}@{unicode}.@{flagFileType}");
61
+ }
62
+ }
63
+ & when not (@cls = false) and (@alias = false) {
64
+ i.flag.@{cc}::before,
65
+ i.flag.@{cls}::before {
66
+ background-image: url("@{flagPath}@{unicode}.@{flagFileType}");
67
+ }
68
+ }
69
+ & when not (@cls = false) and not (@alias = false) and (@alias2 = false) {
70
+ i.flag.@{cc}::before,
71
+ i.flag.@{cls}::before,
72
+ i.flag.@{alias}::before {
73
+ background-image: url("@{flagPath}@{unicode}.@{flagFileType}");
74
+ }
75
+ }
76
+ & when not (@alias2 = false) {
77
+ i.flag.@{cc}::before,
78
+ i.flag.@{cls}::before,
79
+ i.flag.@{alias}::before,
80
+ i.flag.@{alias2}::before {
81
+ background-image: url("@{flagPath}@{unicode}.@{flagFileType}");
82
+ }
83
+ }
84
+ });
85
+
86
+ /*rtl:end:ignore*/
87
+
52
88
  .loadUIOverrides();
@@ -212,7 +212,7 @@
212
212
  text-align: center;
213
213
  margin: @iconHeaderTopMargin 0 @iconHeaderBottomMargin;
214
214
  }
215
- .ui.icon.header:after {
215
+ .ui.icon.header::after {
216
216
  content: '';
217
217
  display: block;
218
218
  height: 0;
@@ -223,6 +223,7 @@
223
223
  .ui.icon.header:first-child {
224
224
  margin-top: @iconHeaderFirstMargin;
225
225
  }
226
+ .ui.icon.header > .image.icon,
226
227
  .ui.icon.header > .icons,
227
228
  .ui.icon.header > i.icon {
228
229
  float: none;
@@ -249,15 +250,18 @@
249
250
  font-size: @squareHeaderIconSize;
250
251
  }
251
252
  & when (@variationHeaderBlock) {
253
+ .ui.block.icon.header > .image.icon,
252
254
  .ui.block.icon.header > .icons,
253
255
  .ui.block.icon.header > i.icon {
254
256
  margin-bottom: 0;
255
257
  }
256
258
  }
257
- .ui.icon.header.aligned {
258
- margin-left: auto;
259
- margin-right: auto;
260
- display: block;
259
+ & when (@variationHeaderAligned) {
260
+ .ui.icon.header.aligned {
261
+ margin-left: auto;
262
+ margin-right: auto;
263
+ display: block;
264
+ }
261
265
  }
262
266
  }
263
267
 
@@ -306,37 +310,38 @@
306
310
  /*-------------------
307
311
  Colors
308
312
  --------------------*/
309
-
310
- each(@colors, {
311
- @color: replace(@key, '@', '');
312
- @c: @colors[@@color][color];
313
- @l: @colors[@@color][light];
314
- @h: @colors[@@color][hover];
315
- @lh: @colors[@@color][lightHover];
316
-
317
- .ui.@{color}.header {
318
- color: @c;
319
- }
320
- a.ui.@{color}.header:hover {
321
- color: @h;
322
- }
323
- & when (@variationHeaderDividing) {
324
- .ui.@{color}.dividing.header {
325
- border-bottom: @dividedColoredBorderWidth solid @c;
313
+ & when not (@variationHeaderColors = false) {
314
+ each(@variationHeaderColors, {
315
+ @color: @value;
316
+ @c: @colors[@@color][color];
317
+ @l: @colors[@@color][light];
318
+ @h: @colors[@@color][hover];
319
+ @lh: @colors[@@color][lightHover];
320
+
321
+ .ui.@{color}.header {
322
+ color: @c;
326
323
  }
327
- }
328
- & when (@variationHeaderInverted) {
329
- .ui.inverted.@{color}.header.header.header {
330
- color: @l;
324
+ a.ui.@{color}.header:hover {
325
+ color: @h;
331
326
  }
332
- a.ui.inverted.@{color}.header.header.header:hover {
333
- color: @lh;
327
+ & when (@variationHeaderDividing) {
328
+ .ui.@{color}.dividing.header {
329
+ border-bottom: @dividedColoredBorderWidth solid @c;
330
+ }
334
331
  }
335
- .ui.inverted.@{color}.dividing.header {
336
- border-bottom: @dividedColoredBorderWidth solid @l;
332
+ & when (@variationHeaderInverted) {
333
+ .ui.inverted.@{color}.header.header.header {
334
+ color: @l;
335
+ }
336
+ a.ui.inverted.@{color}.header.header.header:hover {
337
+ color: @lh;
338
+ }
339
+ .ui.inverted.@{color}.dividing.header {
340
+ border-bottom: @dividedColoredBorderWidth solid @l;
341
+ }
337
342
  }
338
- }
339
- })
343
+ })
344
+ }
340
345
 
341
346
  & when (@variationHeaderAligned) {
342
347
  /*-------------------
@@ -359,7 +364,7 @@ each(@colors, {
359
364
  .ui.justified.header {
360
365
  text-align: justify;
361
366
  }
362
- .ui.justified.header:after {
367
+ .ui.justified.header::after {
363
368
  display: inline-block;
364
369
  content: '';
365
370
  width: 100%;
@@ -403,8 +408,10 @@ each(@colors, {
403
408
  padding-bottom: @dividedBorderPadding;
404
409
  border-bottom: @dividedBorder;
405
410
  }
406
- .ui.dividing.header .sub.header {
407
- padding-bottom: @dividedSubHeaderPadding;
411
+ & when (@variationHeaderSub) {
412
+ .ui.dividing.header .sub.header {
413
+ padding-bottom: @dividedSubHeaderPadding;
414
+ }
408
415
  }
409
416
  .ui.dividing.header i.icon {
410
417
  margin-bottom: @dividedIconPadding;
@@ -454,8 +461,10 @@ each(@colors, {
454
461
  border: @attachedBorder;
455
462
  border-radius: 0;
456
463
  }
457
- .ui.attached.block.header {
458
- background: @blockBackground;
464
+ & when (@variationHeaderBlock) {
465
+ .ui.attached.block.header {
466
+ background: @blockBackground;
467
+ }
459
468
  }
460
469
  .ui.attached:not(.top).header {
461
470
  border-top: none;