fomantic-ui 2.9.0-beta.29 → 2.9.0-beta.292

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 (408) hide show
  1. package/.all-contributorsrc +242 -3
  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 +81 -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 +6 -3
  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 +89 -30
  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 +85 -68
  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 +17 -11
  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 +29 -14
  38. package/dist/components/dimmer.js +11 -5
  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 +90 -50
  44. package/dist/components/dropdown.js +134 -110
  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 +1 -1
  49. package/dist/components/embed.min.css +2 -2
  50. package/dist/components/embed.min.js +3 -3
  51. package/dist/components/emoji.css +10847 -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 +1011 -902
  56. package/dist/components/flag.min.css +2 -2
  57. package/dist/components/form.css +160 -83
  58. package/dist/components/form.js +39 -30
  59. package/dist/components/form.min.css +2 -2
  60. package/dist/components/form.min.js +3 -3
  61. package/dist/components/grid.css +25 -21
  62. package/dist/components/grid.min.css +2 -2
  63. package/dist/components/header.css +6 -4
  64. package/dist/components/header.min.css +2 -2
  65. package/dist/components/icon.css +2063 -1984
  66. package/dist/components/icon.min.css +2 -2
  67. package/dist/components/image.css +1 -1
  68. package/dist/components/image.min.css +1 -1
  69. package/dist/components/input.css +759 -22
  70. package/dist/components/input.min.css +2 -2
  71. package/dist/components/item.css +17 -17
  72. package/dist/components/item.min.css +2 -2
  73. package/dist/components/label.css +72 -68
  74. package/dist/components/label.min.css +2 -2
  75. package/dist/components/list.css +31 -31
  76. package/dist/components/list.min.css +2 -2
  77. package/dist/components/loader.css +352 -352
  78. package/dist/components/loader.min.css +2 -2
  79. package/dist/components/menu.css +108 -76
  80. package/dist/components/menu.min.css +1 -1
  81. package/dist/components/message.css +43 -43
  82. package/dist/components/message.min.css +2 -2
  83. package/dist/components/modal.css +14 -2
  84. package/dist/components/modal.js +128 -50
  85. package/dist/components/modal.min.css +2 -2
  86. package/dist/components/modal.min.js +3 -3
  87. package/dist/components/nag.css +1 -1
  88. package/dist/components/nag.js +2 -2
  89. package/dist/components/nag.min.css +1 -1
  90. package/dist/components/nag.min.js +3 -3
  91. package/dist/components/placeholder.css +33 -33
  92. package/dist/components/placeholder.min.css +2 -2
  93. package/dist/components/popup.css +100 -104
  94. package/dist/components/popup.js +11 -11
  95. package/dist/components/popup.min.css +2 -2
  96. package/dist/components/popup.min.js +3 -3
  97. package/dist/components/progress.css +1 -1
  98. package/dist/components/progress.js +4 -1
  99. package/dist/components/progress.min.css +1 -1
  100. package/dist/components/progress.min.js +3 -3
  101. package/dist/components/rail.css +1 -1
  102. package/dist/components/rail.min.css +1 -1
  103. package/dist/components/rating.css +1 -1
  104. package/dist/components/rating.js +1 -1
  105. package/dist/components/rating.min.css +1 -1
  106. package/dist/components/rating.min.js +3 -3
  107. package/dist/components/reset.css +5 -4
  108. package/dist/components/reset.min.css +2 -2
  109. package/dist/components/reveal.css +1 -1
  110. package/dist/components/reveal.min.css +1 -1
  111. package/dist/components/search.css +6 -6
  112. package/dist/components/search.js +2 -2
  113. package/dist/components/search.min.css +2 -2
  114. package/dist/components/search.min.js +3 -3
  115. package/dist/components/segment.css +118 -34
  116. package/dist/components/segment.min.css +2 -2
  117. package/dist/components/shape.css +1 -1
  118. package/dist/components/shape.js +3 -3
  119. package/dist/components/shape.min.css +1 -1
  120. package/dist/components/shape.min.js +3 -3
  121. package/dist/components/sidebar.css +7 -5
  122. package/dist/components/sidebar.js +14 -12
  123. package/dist/components/sidebar.min.css +2 -2
  124. package/dist/components/sidebar.min.js +3 -3
  125. package/dist/components/site.css +139 -42
  126. package/dist/components/site.js +1 -1
  127. package/dist/components/site.min.css +2 -2
  128. package/dist/components/site.min.js +3 -3
  129. package/dist/components/slider.css +17 -17
  130. package/dist/components/slider.js +68 -51
  131. package/dist/components/slider.min.css +1 -1
  132. package/dist/components/slider.min.js +3 -3
  133. package/dist/components/state.js +2 -2
  134. package/dist/components/state.min.js +3 -3
  135. package/dist/components/statistic.css +4 -4
  136. package/dist/components/statistic.min.css +2 -2
  137. package/dist/components/step.css +31 -31
  138. package/dist/components/step.min.css +2 -2
  139. package/dist/components/sticky.css +1 -1
  140. package/dist/components/sticky.js +4 -4
  141. package/dist/components/sticky.min.css +1 -1
  142. package/dist/components/sticky.min.js +3 -3
  143. package/dist/components/tab.css +5 -5
  144. package/dist/components/tab.js +24 -6
  145. package/dist/components/tab.min.css +2 -2
  146. package/dist/components/tab.min.js +3 -3
  147. package/dist/components/table.css +1684 -272
  148. package/dist/components/table.min.css +2 -2
  149. package/dist/components/text.css +1 -1
  150. package/dist/components/text.min.css +1 -1
  151. package/dist/components/toast.css +42 -1
  152. package/dist/components/toast.js +63 -31
  153. package/dist/components/toast.min.css +2 -2
  154. package/dist/components/toast.min.js +3 -3
  155. package/dist/components/transition.css +1 -1
  156. package/dist/components/transition.js +21 -16
  157. package/dist/components/transition.min.css +1 -1
  158. package/dist/components/transition.min.js +3 -3
  159. package/dist/components/visibility.js +2 -2
  160. package/dist/components/visibility.min.js +3 -3
  161. package/dist/semantic.css +20165 -13374
  162. package/dist/semantic.js +734 -455
  163. package/dist/semantic.min.css +3 -3
  164. package/dist/semantic.min.js +3 -3
  165. package/dist/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  166. package/dist/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  167. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  168. package/dist/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  169. package/dist/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  170. package/dist/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  171. package/dist/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  172. package/dist/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  173. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  174. package/dist/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  175. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  176. package/dist/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  177. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  178. package/dist/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  179. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  180. package/dist/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  181. package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
  182. package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
  183. package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
  184. package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
  185. package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  186. package/dist/themes/default/assets/fonts/icons.eot +0 -0
  187. package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
  188. package/dist/themes/default/assets/fonts/icons.ttf +0 -0
  189. package/dist/themes/default/assets/fonts/icons.woff +0 -0
  190. package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
  191. package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
  192. package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
  193. package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
  194. package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
  195. package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  196. package/dist/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  197. package/examples/assets/library/iframe-content.js +8 -8
  198. package/examples/assets/library/iframe.js +3 -3
  199. package/examples/components/button.html +1 -1
  200. package/examples/components/card.html +1 -1
  201. package/examples/components/input.html +1 -1
  202. package/examples/components/menu.html +1 -1
  203. package/examples/components/site.html +1 -1
  204. package/examples/components/table.html +1 -1
  205. package/package.json +18 -16
  206. package/scripts/nightly-version.js +47 -38
  207. package/src/definitions/behaviors/api.js +88 -29
  208. package/src/definitions/behaviors/form.js +38 -29
  209. package/src/definitions/behaviors/state.js +1 -1
  210. package/src/definitions/behaviors/visibility.js +1 -1
  211. package/src/definitions/collections/form.less +229 -165
  212. package/src/definitions/collections/grid.less +723 -687
  213. package/src/definitions/collections/menu.less +232 -170
  214. package/src/definitions/collections/message.less +49 -47
  215. package/src/definitions/collections/table.less +882 -272
  216. package/src/definitions/elements/button.less +611 -469
  217. package/src/definitions/elements/container.less +145 -8
  218. package/src/definitions/elements/divider.less +24 -24
  219. package/src/definitions/elements/emoji.less +39 -10
  220. package/src/definitions/elements/flag.less +53 -18
  221. package/src/definitions/elements/header.less +46 -37
  222. package/src/definitions/elements/icon.less +39 -32
  223. package/src/definitions/elements/input.less +281 -33
  224. package/src/definitions/elements/label.less +132 -128
  225. package/src/definitions/elements/list.less +84 -75
  226. package/src/definitions/elements/loader.less +99 -98
  227. package/src/definitions/elements/placeholder.less +32 -32
  228. package/src/definitions/elements/segment.less +177 -56
  229. package/src/definitions/elements/step.less +76 -72
  230. package/src/definitions/elements/text.less +17 -15
  231. package/src/definitions/globals/reset.less +2 -2
  232. package/src/definitions/globals/site.less +25 -2
  233. package/src/definitions/modules/accordion.js +5 -2
  234. package/src/definitions/modules/accordion.less +371 -219
  235. package/src/definitions/modules/calendar.js +84 -67
  236. package/src/definitions/modules/calendar.less +20 -0
  237. package/src/definitions/modules/checkbox.js +16 -10
  238. package/src/definitions/modules/checkbox.less +83 -227
  239. package/src/definitions/modules/dimmer.js +10 -4
  240. package/src/definitions/modules/dimmer.less +22 -8
  241. package/src/definitions/modules/dropdown.js +133 -109
  242. package/src/definitions/modules/dropdown.less +191 -136
  243. package/src/definitions/modules/embed.less +4 -4
  244. package/src/definitions/modules/modal.js +127 -49
  245. package/src/definitions/modules/modal.less +12 -0
  246. package/src/definitions/modules/nag.js +1 -1
  247. package/src/definitions/modules/nag.less +20 -19
  248. package/src/definitions/modules/popup.js +10 -10
  249. package/src/definitions/modules/popup.less +86 -90
  250. package/src/definitions/modules/progress.js +3 -0
  251. package/src/definitions/modules/progress.less +19 -18
  252. package/src/definitions/modules/rating.less +35 -34
  253. package/src/definitions/modules/search.js +1 -1
  254. package/src/definitions/modules/search.less +35 -19
  255. package/src/definitions/modules/shape.js +2 -2
  256. package/src/definitions/modules/sidebar.js +13 -11
  257. package/src/definitions/modules/sidebar.less +36 -22
  258. package/src/definitions/modules/slider.js +67 -50
  259. package/src/definitions/modules/slider.less +48 -47
  260. package/src/definitions/modules/sticky.js +3 -3
  261. package/src/definitions/modules/sticky.less +3 -1
  262. package/src/definitions/modules/tab.js +23 -5
  263. package/src/definitions/modules/tab.less +4 -4
  264. package/src/definitions/modules/toast.js +62 -30
  265. package/src/definitions/modules/toast.less +51 -16
  266. package/src/definitions/modules/transition.js +20 -15
  267. package/src/definitions/views/ad.less +3 -3
  268. package/src/definitions/views/card.less +522 -375
  269. package/src/definitions/views/comment.less +93 -82
  270. package/src/definitions/views/feed.less +164 -144
  271. package/src/definitions/views/item.less +251 -198
  272. package/src/definitions/views/statistic.less +91 -89
  273. package/src/theme.less +13 -2
  274. package/src/themes/amazon/globals/site.variables +1 -0
  275. package/src/themes/basic/elements/icon.overrides +149 -149
  276. package/src/themes/basic/elements/step.overrides +2 -2
  277. package/src/themes/bookish/elements/header.overrides +1 -1
  278. package/src/themes/chubby/elements/button.overrides +1 -1
  279. package/src/themes/chubby/elements/header.overrides +1 -1
  280. package/src/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  281. package/src/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  282. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  283. package/src/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  284. package/src/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  285. package/src/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  286. package/src/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  287. package/src/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  288. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  289. package/src/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  290. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  291. package/src/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  292. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  293. package/src/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  294. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  295. package/src/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  296. package/src/themes/default/assets/fonts/brand-icons.eot +0 -0
  297. package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
  298. package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
  299. package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
  300. package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  301. package/src/themes/default/assets/fonts/icons.eot +0 -0
  302. package/src/themes/default/assets/fonts/icons.svg +1175 -1079
  303. package/src/themes/default/assets/fonts/icons.ttf +0 -0
  304. package/src/themes/default/assets/fonts/icons.woff +0 -0
  305. package/src/themes/default/assets/fonts/icons.woff2 +0 -0
  306. package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
  307. package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
  308. package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
  309. package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
  310. package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  311. package/src/themes/default/collections/form.variables +4 -0
  312. package/src/themes/default/collections/menu.variables +6 -0
  313. package/src/themes/default/collections/table.variables +52 -0
  314. package/src/themes/default/elements/button.variables +7 -1
  315. package/src/themes/default/elements/container.variables +12 -0
  316. package/src/themes/default/elements/divider.overrides +7 -7
  317. package/src/themes/default/elements/emoji.overrides +0 -3090
  318. package/src/themes/default/elements/emoji.variables +3575 -1
  319. package/src/themes/default/elements/flag.overrides +0 -991
  320. package/src/themes/default/elements/flag.variables +1609 -5
  321. package/src/themes/default/elements/icon.overrides +1975 -1949
  322. package/src/themes/default/elements/icon.variables +1 -0
  323. package/src/themes/default/elements/input.variables +15 -0
  324. package/src/themes/default/elements/segment.variables +8 -0
  325. package/src/themes/default/elements/step.overrides +3 -3
  326. package/src/themes/default/globals/site.variables +109 -8
  327. package/src/themes/default/globals/variation.variables +140 -6
  328. package/src/themes/default/modules/accordion.overrides +6 -5
  329. package/src/themes/default/modules/accordion.variables +49 -2
  330. package/src/themes/default/modules/calendar.variables +3 -0
  331. package/src/themes/default/modules/checkbox.overrides +9 -9
  332. package/src/themes/default/modules/checkbox.variables +5 -5
  333. package/src/themes/default/modules/dimmer.variables +1 -1
  334. package/src/themes/default/modules/dropdown.overrides +5 -5
  335. package/src/themes/default/modules/dropdown.variables +4 -10
  336. package/src/themes/default/modules/modal.variables +13 -0
  337. package/src/themes/default/modules/popup.variables +0 -2
  338. package/src/themes/default/modules/toast.variables +3 -0
  339. package/src/themes/default/views/card.variables +8 -0
  340. package/src/themes/{default → famfamfam}/assets/images/flags.png +0 -0
  341. package/src/themes/famfamfam/elements/flag.overrides +1026 -0
  342. package/src/themes/famfamfam/elements/flag.variables +20 -0
  343. package/src/themes/github/elements/icon.overrides +206 -206
  344. package/src/themes/github/elements/step.overrides +5 -5
  345. package/src/themes/github/globals/site.variables +1 -0
  346. package/src/themes/github/modules/dropdown.overrides +6 -6
  347. package/src/themes/instagram/views/card.overrides +1 -1
  348. package/src/themes/joypixels/elements/emoji.overrides +0 -3089
  349. package/src/themes/joypixels/elements/emoji.variables +3574 -5
  350. package/src/themes/material/collections/menu.overrides +1 -1
  351. package/src/themes/material/elements/button.overrides +1 -1
  352. package/src/themes/material/elements/header.overrides +1 -1
  353. package/src/themes/material/elements/icon.overrides +932 -932
  354. package/src/themes/material/globals/site.variables +0 -1
  355. package/src/themes/material/modules/dropdown.overrides +1 -1
  356. package/src/themes/material/modules/modal.overrides +1 -1
  357. package/src/themes/pulsar/elements/loader.overrides +2 -2
  358. package/src/themes/resetcss/globals/reset.overrides +3 -3
  359. package/src/themes/rtl/globals/site.overrides +1 -1
  360. package/src/themes/striped/modules/progress.overrides +1 -1
  361. package/src/themes/systemfont/globals/reset.overrides +8 -0
  362. package/src/themes/systemfont/globals/site.variables +10 -0
  363. package/src/themes/twitter/elements/emoji.overrides +0 -3091
  364. package/src/themes/twitter/elements/emoji.variables +3570 -6
  365. package/tasks/admin/distributions/create.js +1 -1
  366. package/tasks/admin/publish.js +1 -1
  367. package/tasks/admin/release.js +1 -1
  368. package/tasks/build/assets.js +1 -1
  369. package/tasks/build/css.js +9 -4
  370. package/tasks/build/javascript.js +3 -3
  371. package/tasks/check-install.js +1 -1
  372. package/tasks/clean.js +1 -1
  373. package/tasks/collections/README.md +1 -1
  374. package/tasks/collections/admin.js +1 -1
  375. package/tasks/config/admin/oauth.example.js +1 -1
  376. package/tasks/config/admin/templates/composer.json +1 -1
  377. package/tasks/config/project/install.js +15 -13
  378. package/tasks/install.js +1 -0
  379. package/tasks/rtl/watch.js +1 -1
  380. package/tasks/version.js +1 -1
  381. package/test/fixtures/accordion.html +1 -1
  382. package/test/fixtures/checkbox.html +1 -1
  383. package/test/fixtures/dropdown.html +1 -1
  384. package/test/fixtures/modal.html +1 -1
  385. package/test/fixtures/popup.html +1 -1
  386. package/test/fixtures/rating.html +1 -1
  387. package/test/fixtures/shape.html +1 -1
  388. package/test/fixtures/sidebar.html +1 -1
  389. package/test/fixtures/tab.html +1 -1
  390. package/test/fixtures/transition.html +1 -1
  391. package/test/fixtures/video.html +1 -1
  392. package/test/helpers/jasmine-jquery.js +2 -2
  393. package/test/helpers/jasmine-sinon.js +1 -1
  394. package/test/helpers/jquery-events.js +1 -1
  395. package/test/helpers/sinon.js +3 -3
  396. package/test/meteor/fonts.js +1 -1
  397. package/test/modules/accordion.spec.js +1 -1
  398. package/test/modules/checkbox.spec.js +1 -1
  399. package/test/modules/dropdown.spec.js +1 -1
  400. package/test/modules/modal.spec.js +1 -1
  401. package/test/modules/module.spec.js +1 -1
  402. package/test/modules/popup.spec.js +1 -1
  403. package/test/modules/search.spec.js +1 -1
  404. package/test/modules/shape.spec.js +1 -1
  405. package/test/modules/sidebar.spec.js +1 -1
  406. package/test/modules/tab.spec.js +1 -1
  407. package/test/modules/transition.spec.js +1 -1
  408. package/test/modules/video.spec.js +1 -1
@@ -57,10 +57,10 @@
57
57
  }
58
58
 
59
59
  .ui.placeholder,
60
- .ui.placeholder > :before,
61
- .ui.placeholder .image.header:after,
60
+ .ui.placeholder > ::before,
61
+ .ui.placeholder .image.header::after,
62
62
  .ui.placeholder .line,
63
- .ui.placeholder .line:after {
63
+ .ui.placeholder .line::after {
64
64
  background-color: @white;
65
65
  }
66
66
 
@@ -93,17 +93,17 @@
93
93
  position: relative;
94
94
  height: @placeholderLineMargin;
95
95
  }
96
- .ui.placeholder .line:before,
97
- .ui.placeholder .line:after {
96
+ .ui.placeholder .line::before,
97
+ .ui.placeholder .line::after {
98
98
  top: 100%;
99
99
  position: absolute;
100
100
  content: '';
101
101
  background-color: inherit;
102
102
  }
103
- .ui.placeholder .line:before {
103
+ .ui.placeholder .line::before {
104
104
  left: 0;
105
105
  }
106
- .ui.placeholder .line:after {
106
+ .ui.placeholder .line::after {
107
107
  right: 0;
108
108
  }
109
109
 
@@ -111,8 +111,8 @@
111
111
  .ui.placeholder .line {
112
112
  margin-bottom: @placeholderLineHeight;
113
113
  }
114
- .ui.placeholder .line:before,
115
- .ui.placeholder .line:after {
114
+ .ui.placeholder .line::before,
115
+ .ui.placeholder .line::after {
116
116
  height: @placeholderLineHeight;
117
117
  }
118
118
  .ui.placeholder .line:not(:first-child) {
@@ -120,19 +120,19 @@
120
120
  }
121
121
 
122
122
  /* Line Outdent */
123
- .ui.placeholder .line:nth-child(1):after {
123
+ .ui.placeholder .line:nth-child(1)::after {
124
124
  width: @placeholderLineOneOutdent;
125
125
  }
126
- .ui.placeholder .line:nth-child(2):after {
126
+ .ui.placeholder .line:nth-child(2)::after {
127
127
  width: @placeholderLineTwoOutdent;
128
128
  }
129
- .ui.placeholder .line:nth-child(3):after {
129
+ .ui.placeholder .line:nth-child(3)::after {
130
130
  width: @placeholderLineThreeOutdent;
131
131
  }
132
- .ui.placeholder .line:nth-child(4):after {
132
+ .ui.placeholder .line:nth-child(4)::after {
133
133
  width: @placeholderLineFourOutdent;
134
134
  }
135
- .ui.placeholder .line:nth-child(5):after {
135
+ .ui.placeholder .line:nth-child(5)::after {
136
136
  width: @placeholderLineFiveOutdent;
137
137
  }
138
138
  }
@@ -147,17 +147,17 @@
147
147
  .ui.placeholder .header .line {
148
148
  margin-bottom: @placeholderHeaderLineHeight;
149
149
  }
150
- .ui.placeholder .header .line:before,
151
- .ui.placeholder .header .line:after {
150
+ .ui.placeholder .header .line::before,
151
+ .ui.placeholder .header .line::after {
152
152
  height: @placeholderHeaderLineHeight;
153
153
  }
154
154
  .ui.placeholder .header .line:not(:first-child) {
155
155
  margin-top: @placeholderHeaderLineHeight;
156
156
  }
157
- .ui.placeholder .header .line:after {
157
+ .ui.placeholder .header .line::after {
158
158
  width: @placeholderHeaderLineOneOutdent;
159
159
  }
160
- .ui.placeholder .header .line:nth-child(2):after {
160
+ .ui.placeholder .header .line:nth-child(2)::after {
161
161
  width: @placeholderHeaderLineTwoOutdent;
162
162
  }
163
163
 
@@ -166,10 +166,10 @@
166
166
  .ui.placeholder .image.header .line {
167
167
  margin-left: @placeholderImageWidth;
168
168
  }
169
- .ui.placeholder .image.header .line:before {
169
+ .ui.placeholder .image.header .line::before {
170
170
  width: @placeholderImageTextIndent;
171
171
  }
172
- .ui.placeholder .image.header:after {
172
+ .ui.placeholder .image.header::after {
173
173
  display: block;
174
174
  height: @placeholderLineMargin;
175
175
  content: '';
@@ -184,9 +184,9 @@
184
184
  .ui.placeholder .header .line:first-child {
185
185
  height: 0.01px;
186
186
  }
187
- .ui.placeholder .image:not(:first-child):before,
188
- .ui.placeholder .paragraph:not(:first-child):before,
189
- .ui.placeholder .header:not(:first-child):before {
187
+ .ui.placeholder .image:not(:first-child)::before,
188
+ .ui.placeholder .paragraph:not(:first-child)::before,
189
+ .ui.placeholder .header:not(:first-child)::before {
190
190
  height: @placeholderSpacing;
191
191
  content: '';
192
192
  display: block;
@@ -198,10 +198,10 @@
198
198
  background-image: @placeholderInvertedLoadingGradient;
199
199
  }
200
200
  .ui.inverted.placeholder,
201
- .ui.inverted.placeholder > :before,
202
- .ui.inverted.placeholder .image.header:after,
201
+ .ui.inverted.placeholder > ::before,
202
+ .ui.inverted.placeholder .image.header::after,
203
203
  .ui.inverted.placeholder .line,
204
- .ui.inverted.placeholder .line:after {
204
+ .ui.inverted.placeholder .line::after {
205
205
  background-color: @black;
206
206
  }
207
207
  }
@@ -215,22 +215,22 @@
215
215
  Sizes
216
216
  --------------------*/
217
217
  & when (@variationPlaceholderLengths) {
218
- .ui.placeholder .full.line.line.line:after {
218
+ .ui.placeholder .full.line.line.line::after {
219
219
  width: @placeholderFullLineOutdent;
220
220
  }
221
- .ui.placeholder .very.long.line.line.line:after {
221
+ .ui.placeholder .very.long.line.line.line::after {
222
222
  width: @placeholderVeryLongLineOutdent;
223
223
  }
224
- .ui.placeholder .long.line.line.line:after {
224
+ .ui.placeholder .long.line.line.line::after {
225
225
  width: @placeholderLongLineOutdent;
226
226
  }
227
- .ui.placeholder .medium.line.line.line:after {
227
+ .ui.placeholder .medium.line.line.line::after {
228
228
  width: @placeholderMediumLineOutdent;
229
229
  }
230
- .ui.placeholder .short.line.line.line:after {
230
+ .ui.placeholder .short.line.line.line::after {
231
231
  width: @placeholderShortLineOutdent;
232
232
  }
233
- .ui.placeholder .very.short.line.line.line:after {
233
+ .ui.placeholder .very.short.line.line.line::after {
234
234
  width: @placeholderVeryShortLineOutdent;
235
235
  }
236
236
  }
@@ -49,10 +49,10 @@
49
49
  border-radius: 0;
50
50
  box-shadow: none;
51
51
  border: none;
52
- border-bottom: @borderWidth solid @borderColor;
52
+ border-top: @borderWidth solid @borderColor;
53
53
  }
54
- .ui.vertical.segment:last-child {
55
- border-bottom: none;
54
+ .ui.vertical.segment:first-child {
55
+ border-top: none;
56
56
  }
57
57
  }
58
58
 
@@ -198,10 +198,10 @@
198
198
  .ui.piled.segment:last-child {
199
199
  margin-bottom: 0;
200
200
  }
201
- .ui.piled.segments:after,
202
- .ui.piled.segments:before,
203
- .ui.piled.segment:after,
204
- .ui.piled.segment:before {
201
+ .ui.piled.segments::after,
202
+ .ui.piled.segments::before,
203
+ .ui.piled.segment::after,
204
+ .ui.piled.segment::before {
205
205
  background-color: @white;
206
206
  visibility: visible;
207
207
  content: '';
@@ -213,14 +213,14 @@
213
213
  border: @piledBorder;
214
214
  box-shadow: @piledBoxShadow;
215
215
  }
216
- .ui.piled.segments:before,
217
- .ui.piled.segment:before {
216
+ .ui.piled.segments::before,
217
+ .ui.piled.segment::before {
218
218
  transform: rotate(-@piledDegrees);
219
219
  top: 0;
220
220
  z-index: -2;
221
221
  }
222
- .ui.piled.segments:after,
223
- .ui.piled.segment:after {
222
+ .ui.piled.segments::after,
223
+ .ui.piled.segment::after {
224
224
  transform: rotate(@piledDegrees);
225
225
  top: 0;
226
226
  z-index: -1;
@@ -252,10 +252,10 @@
252
252
  .ui.stacked.segment {
253
253
  padding-bottom: @stackedPadding;
254
254
  }
255
- .ui.stacked.segments:before,
256
- .ui.stacked.segments:after,
257
- .ui.stacked.segment:before,
258
- .ui.stacked.segment:after {
255
+ .ui.stacked.segments::before,
256
+ .ui.stacked.segments::after,
257
+ .ui.stacked.segment::before,
258
+ .ui.stacked.segment::after {
259
259
  content: '';
260
260
  position: absolute;
261
261
  bottom: -(@stackedHeight / 2);
@@ -268,23 +268,23 @@
268
268
  height: @stackedHeight;
269
269
  visibility: visible;
270
270
  }
271
- .ui.stacked.segments:before,
272
- .ui.stacked.segment:before {
271
+ .ui.stacked.segments::before,
272
+ .ui.stacked.segment::before {
273
273
  display: none;
274
274
  }
275
275
 
276
276
  /* Add additional page */
277
- .ui.tall.stacked.segments:before,
278
- .ui.tall.stacked.segment:before {
277
+ .ui.tall.stacked.segments::before,
278
+ .ui.tall.stacked.segment::before {
279
279
  display: block;
280
280
  bottom: 0;
281
281
  }
282
282
  & when (@variationSegmentInverted) {
283
283
  /* Inverted */
284
- .ui.stacked.inverted.segments:before,
285
- .ui.stacked.inverted.segments:after,
286
- .ui.stacked.inverted.segment:before,
287
- .ui.stacked.inverted.segment:after {
284
+ .ui.stacked.inverted.segments::before,
285
+ .ui.stacked.inverted.segments::after,
286
+ .ui.stacked.inverted.segment::before,
287
+ .ui.stacked.inverted.segment::after {
288
288
  background-color: @subtleTransparentBlack;
289
289
  border-top: 1px solid @selectedBorderColor;
290
290
  }
@@ -299,9 +299,10 @@
299
299
  .ui.padded.segment {
300
300
  padding: @paddedSegmentPadding;
301
301
  }
302
-
303
- .ui[class*="very padded"].segment {
304
- padding: @veryPaddedSegmentPadding;
302
+ & when (@variationSegmentVeryPadded) {
303
+ .ui[class*="very padded"].segment {
304
+ padding: @veryPaddedSegmentPadding;
305
+ }
305
306
  }
306
307
 
307
308
  & when (@variationSegmentVertical) {
@@ -437,10 +438,10 @@
437
438
  flex-direction: row;
438
439
  background-color: transparent;
439
440
  padding: 0;
440
- box-shadow: @boxShadow;
441
- margin: @margin;
442
- border-radius: @borderRadius;
443
- border: @border;
441
+ box-shadow: @groupedBoxShadow;
442
+ margin: @groupedMargin;
443
+ border-radius: @groupedBorderRadius;
444
+ border: @groupedBorder;
444
445
  }
445
446
  .ui.stackable.horizontal.segments {
446
447
  flex-wrap: wrap;
@@ -459,7 +460,9 @@
459
460
  /* Horizontal Segment */
460
461
  .ui.horizontal.segments:not(.compact) > .segment:not(.compact) {
461
462
  flex: 1 1 auto;
462
- -ms-flex: 1 1 0; /* Solves #2550 MS Flex */
463
+ & when (@supportIE) {
464
+ -ms-flex: 1 1 0; /* Solves #2550 MS Flex */
465
+ }
463
466
  }
464
467
  .ui.horizontal.segments > .segment {
465
468
  margin: 0;
@@ -522,8 +525,8 @@
522
525
  user-select: none;
523
526
  transition: all 0s linear;
524
527
  }
525
- .ui.loading.segments:before,
526
- .ui.loading.segment:before {
528
+ .ui.loading.segments::before,
529
+ .ui.loading.segment::before {
527
530
  position: absolute;
528
531
  content: '';
529
532
  top: 0;
@@ -534,8 +537,8 @@
534
537
  border-radius: @borderRadius;
535
538
  z-index: @loaderDimmerZIndex;
536
539
  }
537
- .ui.loading.segments:after,
538
- .ui.loading.segment:after {
540
+ .ui.loading.segments::after,
541
+ .ui.loading.segment::after {
539
542
  position: absolute;
540
543
  content: '';
541
544
  top: 50%;
@@ -581,7 +584,7 @@
581
584
  Clearing
582
585
  --------------------*/
583
586
 
584
- .ui.clearing.segment:after {
587
+ .ui.clearing.segment::after {
585
588
  content: "";
586
589
  display: block;
587
590
  clear: both;
@@ -591,22 +594,23 @@
591
594
  /*-------------------
592
595
  Colors
593
596
  --------------------*/
594
-
595
- each(@colors,{
596
- @color: replace(@key,'@','');
597
- @c: @colors[@@color][color];
598
- & when not (@color=primary) and not (@color=secondary) {
599
- .ui.@{color}.segment.segment.segment.segment.segment:not(.inverted) {
600
- border-top: @coloredBorderSize solid @c;
601
- }
602
- & when (@variationSegmentInverted) {
603
- .ui.inverted.@{color}.segment.segment.segment.segment.segment {
604
- background-color: @c;
605
- color: @white;
597
+ & when not (@variationSegmentColors = false) {
598
+ each(@variationSegmentColors, {
599
+ @color: @value;
600
+ @c: @colors[@@color][color];
601
+ & when not (@color=primary) and not (@color=secondary) {
602
+ .ui.@{color}.segment.segment.segment.segment.segment:not(.inverted) {
603
+ border-top: @coloredBorderSize solid @c;
604
+ }
605
+ & when (@variationSegmentInverted) {
606
+ .ui.inverted.@{color}.segment.segment.segment.segment.segment {
607
+ background-color: @c;
608
+ color: @white;
609
+ }
606
610
  }
607
611
  }
608
- }
609
- })
612
+ })
613
+ }
610
614
 
611
615
  & when (@variationSegmentAligned) {
612
616
  /*-------------------
@@ -666,7 +670,7 @@ each(@colors,{
666
670
  }
667
671
  & when (@variationSegmentAttached) {
668
672
  /* Attached */
669
- .ui.inverted.attached.segment {
673
+ .ui.ui.inverted.attached.segment {
670
674
  border-color: @solidWhiteBorderColor;
671
675
  }
672
676
  }
@@ -676,8 +680,8 @@ each(@colors,{
676
680
  .ui.inverted.loading.segment {
677
681
  color: @invertedLoaderLineColor;
678
682
  }
679
- .ui.inverted.loading.segments:before,
680
- .ui.inverted.loading.segment:before {
683
+ .ui.inverted.loading.segments::before,
684
+ .ui.inverted.loading.segment::before {
681
685
  background: @loaderInvertedDimmerColor;
682
686
  }
683
687
  }
@@ -728,14 +732,16 @@ each(@colors,{
728
732
  width: @attachedWidth;
729
733
  max-width: @attachedWidth;
730
734
  box-shadow: @attachedBoxShadow;
731
- border: @attachedBorder;
735
+ &:not(.basic) {
736
+ border: @attachedBorder;
737
+ }
732
738
  }
733
- .ui.attached:not(.message) + .ui.attached.segment:not(.top) {
739
+ .ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top) {
734
740
  border-top: none;
735
741
  }
736
742
 
737
743
  /* Top */
738
- .ui[class*="top attached"].segment {
744
+ .ui.segment[class*="top attached"] {
739
745
  bottom: 0;
740
746
  margin-bottom: 0;
741
747
  top: @attachedTopOffset;
@@ -745,6 +751,9 @@ each(@colors,{
745
751
  .ui.segment[class*="top attached"]:first-child {
746
752
  margin-top: 0;
747
753
  }
754
+ .ui.tab.segment[class*="top attached"]:first-child {
755
+ margin-top: @verticalMargin;
756
+ }
748
757
 
749
758
  /* Bottom */
750
759
  .ui.segment[class*="bottom attached"] {
@@ -756,6 +765,9 @@ each(@colors,{
756
765
  border-radius: 0 0 @borderRadius @borderRadius;
757
766
  }
758
767
  .ui.segment[class*="bottom attached"]:last-child {
768
+ margin-bottom: 0;
769
+ }
770
+ .ui.tab.segment[class*="bottom attached"]:last-child {
759
771
  margin-bottom: @verticalMargin;
760
772
  }
761
773
  }
@@ -775,6 +787,115 @@ each(@colors,{
775
787
  }
776
788
  }
777
789
 
790
+ & when (@variationSegmentScrolling) {
791
+ /*--------------
792
+ Scrolling
793
+ ---------------*/
794
+ .ui.scrolling.segment {
795
+ overflow: auto;
796
+ }
797
+ @media only screen and (max-width : @largestMobileScreen) {
798
+ & when (@variationSegmentScrollingShort) {
799
+ .ui.scrolling.segment.short {
800
+ max-height: @scrollingMobileMaxHeight * 0.75;
801
+ }
802
+ }
803
+ & when (@variationSegmentScrollingVeryShort) {
804
+ .ui.scrolling.segment[class*="very short"] {
805
+ max-height: @scrollingMobileMaxHeight * 0.5;
806
+ }
807
+ }
808
+ .ui.scrolling.segment {
809
+ max-height: @scrollingMobileMaxHeight;
810
+ }
811
+ & when (@variationSegmentScrollingLong) {
812
+ .ui.scrolling.segment.long {
813
+ max-height: @scrollingMobileMaxHeight * 2;
814
+ }
815
+ }
816
+ & when (@variationSegmentScrollingVeryLong) {
817
+ .ui.scrolling.segment[class*="very long"] {
818
+ max-height: @scrollingMobileMaxHeight * 3;
819
+ }
820
+ }
821
+ }
822
+
823
+ @media only screen and (min-width: @tabletBreakpoint) {
824
+ & when (@variationSegmentScrollingShort) {
825
+ .ui.scrolling.segment.short {
826
+ max-height: @scrollingTabletMaxHeight * 0.75;
827
+ }
828
+ }
829
+ & when (@variationSegmentScrollingVeryShort) {
830
+ .ui.scrolling.segment[class*="very short"] {
831
+ max-height: @scrollingTabletMaxHeight * 0.5;
832
+ }
833
+ }
834
+ .ui.scrolling.segment {
835
+ max-height: @scrollingTabletMaxHeight;
836
+ }
837
+ & when (@variationSegmentScrollingLong) {
838
+ .ui.scrolling.segment.long {
839
+ max-height: @scrollingTabletMaxHeight * 2;
840
+ }
841
+ }
842
+ & when (@variationSegmentScrollingVeryLong) {
843
+ .ui.scrolling.segment[class*="very long"] {
844
+ max-height: @scrollingTabletMaxHeight * 3;
845
+ }
846
+ }
847
+ }
848
+ @media only screen and (min-width: @computerBreakpoint) {
849
+ & when (@variationSegmentScrollingShort) {
850
+ .ui.scrolling.segment.short {
851
+ max-height: @scrollingComputerMaxHeight * 0.75;
852
+ }
853
+ }
854
+ & when (@variationSegmentScrollingVeryShort) {
855
+ .ui.scrolling.segment[class*="very short"] {
856
+ max-height: @scrollingComputerMaxHeight * 0.5;
857
+ }
858
+ }
859
+ .ui.scrolling.segment {
860
+ max-height: @scrollingComputerMaxHeight;
861
+ }
862
+ & when (@variationSegmentScrollingLong) {
863
+ .ui.scrolling.segment.long {
864
+ max-height: @scrollingComputerMaxHeight * 2;
865
+ }
866
+ }
867
+ & when (@variationSegmentScrollingVeryLong) {
868
+ .ui.scrolling.segment[class*="very long"]{
869
+ max-height: @scrollingComputerMaxHeight * 3;
870
+ }
871
+ }
872
+ }
873
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
874
+ & when (@variationSegmentScrollingShort) {
875
+ .ui.scrolling.segment.short {
876
+ max-height: @scrollingWidescreenMaxHeight * 0.75;
877
+ }
878
+ }
879
+ & when (@variationSegmentScrollingVeryShort) {
880
+ .ui.scrolling.segment[class*="very short"] {
881
+ max-height: @scrollingWidescreenMaxHeight * 0.5;
882
+ }
883
+ }
884
+ .ui.scrolling.segment {
885
+ max-height: @scrollingWidescreenMaxHeight;
886
+ }
887
+ & when (@variationSegmentScrollingLong) {
888
+ .ui.scrolling.segment.long {
889
+ max-height: @scrollingWidescreenMaxHeight * 2;
890
+ }
891
+ }
892
+ & when (@variationSegmentScrollingVeryLong) {
893
+ .ui.scrolling.segment[class*="very long"] {
894
+ max-height: @scrollingWidescreenMaxHeight * 3;
895
+ }
896
+ }
897
+ }
898
+ }
778
899
  /*-------------------
779
900
  Size
780
901
  --------------------*/