fomantic-ui 2.9.1-beta.22 → 2.9.1-beta.23

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 (253) hide show
  1. package/.eslintrc.js +7 -59
  2. package/.stylelintrc.js +5 -7
  3. package/dist/components/accordion.css +1 -1
  4. package/dist/components/accordion.js +7 -7
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +2 -2
  7. package/dist/components/ad.css +1 -1
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +54 -53
  10. package/dist/components/api.min.js +2 -2
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +1 -1
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +3 -3
  16. package/dist/components/calendar.js +118 -99
  17. package/dist/components/calendar.min.css +2 -2
  18. package/dist/components/calendar.min.js +2 -2
  19. package/dist/components/card.css +1 -1
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +1 -1
  22. package/dist/components/checkbox.js +8 -8
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +2 -2
  25. package/dist/components/comment.css +1 -1
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +1 -1
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +1 -1
  30. package/dist/components/dimmer.js +16 -18
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +2 -2
  33. package/dist/components/divider.css +1 -1
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +1 -1
  36. package/dist/components/dropdown.js +87 -87
  37. package/dist/components/dropdown.min.css +1 -1
  38. package/dist/components/dropdown.min.js +2 -2
  39. package/dist/components/embed.css +1 -1
  40. package/dist/components/embed.js +17 -23
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +2 -2
  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 +2 -2
  48. package/dist/components/flyout.js +32 -30
  49. package/dist/components/flyout.min.css +1 -1
  50. package/dist/components/flyout.min.js +2 -2
  51. package/dist/components/form.css +2 -2
  52. package/dist/components/form.js +113 -89
  53. package/dist/components/form.min.css +2 -2
  54. package/dist/components/form.min.js +2 -2
  55. package/dist/components/grid.css +1 -1
  56. package/dist/components/grid.min.css +1 -1
  57. package/dist/components/header.css +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/message.css +1 -1
  74. package/dist/components/message.min.css +1 -1
  75. package/dist/components/modal.css +1 -1
  76. package/dist/components/modal.js +22 -22
  77. package/dist/components/modal.min.css +1 -1
  78. package/dist/components/modal.min.js +2 -2
  79. package/dist/components/nag.css +1 -1
  80. package/dist/components/nag.js +18 -16
  81. package/dist/components/nag.min.css +1 -1
  82. package/dist/components/nag.min.js +2 -2
  83. package/dist/components/placeholder.css +1 -1
  84. package/dist/components/placeholder.min.css +1 -1
  85. package/dist/components/popup.css +1 -1
  86. package/dist/components/popup.js +30 -30
  87. package/dist/components/popup.min.css +1 -1
  88. package/dist/components/popup.min.js +2 -2
  89. package/dist/components/progress.css +1 -1
  90. package/dist/components/progress.js +23 -21
  91. package/dist/components/progress.min.css +1 -1
  92. package/dist/components/progress.min.js +2 -2
  93. package/dist/components/rail.css +1 -1
  94. package/dist/components/rail.min.css +1 -1
  95. package/dist/components/rating.css +1 -1
  96. package/dist/components/rating.js +8 -8
  97. package/dist/components/rating.min.css +1 -1
  98. package/dist/components/rating.min.js +2 -2
  99. package/dist/components/reset.css +1 -1
  100. package/dist/components/reset.min.css +1 -1
  101. package/dist/components/reveal.css +1 -1
  102. package/dist/components/reveal.min.css +1 -1
  103. package/dist/components/search.css +1 -1
  104. package/dist/components/search.js +41 -46
  105. package/dist/components/search.min.css +1 -1
  106. package/dist/components/search.min.js +2 -2
  107. package/dist/components/segment.css +1 -1
  108. package/dist/components/segment.min.css +1 -1
  109. package/dist/components/shape.css +1 -1
  110. package/dist/components/shape.js +9 -9
  111. package/dist/components/shape.min.css +1 -1
  112. package/dist/components/shape.min.js +2 -2
  113. package/dist/components/sidebar.css +1 -1
  114. package/dist/components/sidebar.js +21 -19
  115. package/dist/components/sidebar.min.css +1 -1
  116. package/dist/components/sidebar.min.js +2 -2
  117. package/dist/components/site.css +1 -1
  118. package/dist/components/site.js +11 -10
  119. package/dist/components/site.min.css +1 -1
  120. package/dist/components/site.min.js +2 -2
  121. package/dist/components/slider.js +39 -42
  122. package/dist/components/slider.min.js +2 -2
  123. package/dist/components/state.js +7 -7
  124. package/dist/components/state.min.js +2 -2
  125. package/dist/components/statistic.css +1 -1
  126. package/dist/components/statistic.min.css +1 -1
  127. package/dist/components/step.css +1 -1
  128. package/dist/components/step.min.css +1 -1
  129. package/dist/components/sticky.css +1 -1
  130. package/dist/components/sticky.js +7 -7
  131. package/dist/components/sticky.min.css +1 -1
  132. package/dist/components/sticky.min.js +2 -2
  133. package/dist/components/tab.css +1 -1
  134. package/dist/components/tab.js +36 -38
  135. package/dist/components/tab.min.css +1 -1
  136. package/dist/components/tab.min.js +2 -2
  137. package/dist/components/table.css +1 -1
  138. package/dist/components/table.min.css +1 -1
  139. package/dist/components/text.css +1 -1
  140. package/dist/components/text.min.css +1 -1
  141. package/dist/components/toast.css +1 -1
  142. package/dist/components/toast.js +20 -17
  143. package/dist/components/toast.min.css +1 -1
  144. package/dist/components/toast.min.js +2 -2
  145. package/dist/components/transition.css +7 -7
  146. package/dist/components/transition.js +27 -21
  147. package/dist/components/transition.min.css +1 -1
  148. package/dist/components/transition.min.js +2 -2
  149. package/dist/components/visibility.js +8 -8
  150. package/dist/components/visibility.min.js +2 -2
  151. package/dist/semantic.css +60 -60
  152. package/dist/semantic.js +779 -735
  153. package/dist/semantic.min.css +2 -2
  154. package/dist/semantic.min.js +2 -2
  155. package/examples/responsive.html +1 -1
  156. package/gulpfile.js +1 -1
  157. package/package.json +1 -1
  158. package/scripts/nightly-version.js +3 -3
  159. package/src/definitions/behaviors/api.js +53 -52
  160. package/src/definitions/behaviors/form.js +112 -88
  161. package/src/definitions/behaviors/state.js +6 -6
  162. package/src/definitions/behaviors/visibility.js +7 -7
  163. package/src/definitions/collections/menu.less +2 -2
  164. package/src/definitions/elements/button.less +2 -2
  165. package/src/definitions/elements/loader.less +4 -4
  166. package/src/definitions/elements/step.less +1 -1
  167. package/src/definitions/globals/site.js +10 -9
  168. package/src/definitions/modules/accordion.js +6 -6
  169. package/src/definitions/modules/calendar.js +117 -98
  170. package/src/definitions/modules/calendar.less +2 -2
  171. package/src/definitions/modules/checkbox.js +7 -7
  172. package/src/definitions/modules/dimmer.js +15 -17
  173. package/src/definitions/modules/dimmer.less +10 -10
  174. package/src/definitions/modules/dropdown.js +86 -86
  175. package/src/definitions/modules/embed.js +16 -22
  176. package/src/definitions/modules/flyout.js +31 -29
  177. package/src/definitions/modules/flyout.less +1 -1
  178. package/src/definitions/modules/modal.js +21 -21
  179. package/src/definitions/modules/nag.js +17 -15
  180. package/src/definitions/modules/popup.js +29 -29
  181. package/src/definitions/modules/progress.js +22 -20
  182. package/src/definitions/modules/rating.js +7 -7
  183. package/src/definitions/modules/search.js +40 -45
  184. package/src/definitions/modules/shape.js +8 -8
  185. package/src/definitions/modules/sidebar.js +20 -18
  186. package/src/definitions/modules/slider.js +38 -41
  187. package/src/definitions/modules/sticky.js +6 -6
  188. package/src/definitions/modules/tab.js +35 -37
  189. package/src/definitions/modules/toast.js +19 -16
  190. package/src/definitions/modules/transition.js +26 -20
  191. package/src/themes/amazon/elements/button.overrides +7 -7
  192. package/src/themes/default/collections/form.variables +1 -1
  193. package/src/themes/default/elements/reveal.variables +1 -1
  194. package/src/themes/default/globals/site.variables +1 -1
  195. package/src/themes/default/modules/dimmer.variables +6 -6
  196. package/src/themes/default/modules/modal.variables +1 -1
  197. package/src/themes/default/modules/slider.variables +4 -4
  198. package/src/themes/default/modules/toast.variables +2 -2
  199. package/src/themes/default/modules/transition.overrides +12 -12
  200. package/src/themes/flat/collections/form.overrides +2 -2
  201. package/src/themes/flat/globals/site.variables +1 -1
  202. package/src/themes/github/collections/form.overrides +2 -2
  203. package/src/themes/github/collections/menu.variables +1 -1
  204. package/src/themes/github/collections/message.overrides +3 -3
  205. package/src/themes/github/elements/input.overrides +2 -2
  206. package/src/themes/timeline/views/feed.overrides +3 -3
  207. package/src/themes/twitter/elements/button.overrides +2 -2
  208. package/tasks/README.md +1 -3
  209. package/tasks/admin/components/create.js +9 -16
  210. package/tasks/admin/components/init.js +7 -7
  211. package/tasks/admin/components/update.js +7 -7
  212. package/tasks/admin/distributions/create.js +15 -17
  213. package/tasks/admin/distributions/init.js +7 -7
  214. package/tasks/admin/distributions/update.js +7 -7
  215. package/tasks/admin/publish.js +1 -1
  216. package/tasks/admin/register.js +2 -2
  217. package/tasks/admin/release.js +1 -1
  218. package/tasks/build/assets.js +2 -2
  219. package/tasks/build/css.js +8 -3
  220. package/tasks/build/javascript.js +3 -1
  221. package/tasks/build.js +1 -1
  222. package/tasks/check-install.js +1 -1
  223. package/tasks/clean.js +1 -1
  224. package/tasks/collections/README.md +3 -5
  225. package/tasks/collections/admin.js +1 -1
  226. package/tasks/collections/docs.js +1 -1
  227. package/tasks/collections/install.js +1 -1
  228. package/tasks/collections/rtl.js +1 -1
  229. package/tasks/collections/various.js +1 -1
  230. package/tasks/config/admin/github.js +5 -6
  231. package/tasks/config/admin/templates/css-package.js +1 -1
  232. package/tasks/config/admin/templates/less-package.js +1 -1
  233. package/tasks/config/npm/gulpfile.js +7 -7
  234. package/tasks/config/project/config.js +9 -16
  235. package/tasks/config/project/install.js +26 -25
  236. package/tasks/config/project/release.js +12 -14
  237. package/tasks/config/tasks.js +17 -19
  238. package/tasks/config/user.js +1 -1
  239. package/tasks/docs/build.js +5 -3
  240. package/tasks/docs/metadata.js +7 -8
  241. package/tasks/docs/serve.js +5 -3
  242. package/tasks/install.js +38 -38
  243. package/tasks/rtl/build.js +1 -1
  244. package/tasks/rtl/watch.js +1 -1
  245. package/tasks/version.js +1 -1
  246. package/tasks/watch.js +1 -1
  247. package/test/.eslintrc.js +0 -4
  248. package/test/meteor/assets.js +1 -1
  249. package/test/modules/module.spec.js +15 -15
  250. package/test/modules/popup.spec.js +1 -1
  251. package/test/modules/search.spec.js +1 -1
  252. package/test/modules/tab.spec.js +1 -1
  253. package/test/modules/transition.spec.js +1 -1
@@ -164,7 +164,7 @@
164
164
  @inlineLabelTextTransform: @labelTextTransform;
165
165
  @inlineCalendarWidth: 13.11em;
166
166
 
167
- @groupedInlineLabelMargin: 0.035714em 1em 0 0;
167
+ @groupedInlineLabelMargin: 0.03571em 1em 0 0;
168
168
  @groupedInlineCheckboxBottomMargin: 0.4em;
169
169
 
170
170
  /* -------------------
@@ -4,7 +4,7 @@
4
4
 
5
5
  @transitionDelay: 0.1s;
6
6
  @transitionDuration: 0.5s;
7
- @transitionEasing: cubic-bezier(0.175, 0.885, 0.320, 1);
7
+ @transitionEasing: cubic-bezier(0.175, 0.885, 0.32, 1);
8
8
  @transition: all @transitionDuration @defaultEasing @transitionDelay;
9
9
 
10
10
  @bottomZIndex: 2;
@@ -671,7 +671,7 @@
671
671
 
672
672
  @subtleTransparentBlack : rgba(0, 0, 0, 0.03);
673
673
  @transparentBlack : rgba(0, 0, 0, 0.05);
674
- @strongTransparentBlack : rgba(0, 0, 0, 0.10);
674
+ @strongTransparentBlack : rgba(0, 0, 0, 0.1);
675
675
  @veryStrongTransparentBlack : rgba(0, 0, 0, 0.15);
676
676
 
677
677
  @subtleTransparentWhite : rgba(255, 255, 255, 0.02);
@@ -57,9 +57,9 @@
57
57
  @simpleInvertedEndBackgroundColor: @invertedBackgroundColor;
58
58
 
59
59
  /* Intensity */
60
- @veryLightBackgroundColor: rgba(0,0,0,.25);
61
- @lightBackgroundColor: rgba(0,0,0,.45);
62
- @mediumBackgroundColor: rgba(0,0,0,.65);
63
- @veryLightInvertedBackgroundColor: rgba(255,255,255,.25);
64
- @lightInvertedBackgroundColor: rgba(255,255,255,.45);
65
- @mediumInvertedBackgroundColor: rgba(255,255,255,.65);
60
+ @veryLightBackgroundColor: rgba(0,0,0,0.25);
61
+ @lightBackgroundColor: rgba(0,0,0,0.45);
62
+ @mediumBackgroundColor: rgba(0,0,0,0.65);
63
+ @veryLightInvertedBackgroundColor: rgba(255,255,255,0.25);
64
+ @lightInvertedBackgroundColor: rgba(255,255,255,0.45);
65
+ @mediumInvertedBackgroundColor: rgba(255,255,255,0.65);
@@ -256,7 +256,7 @@
256
256
  @invertedActionBackground: #191A1B;
257
257
  @invertedActionBorder: 1px solid rgba(34, 36, 38, 0.85);
258
258
  @invertedActionColor: @white;
259
- @invertedDimmerCloseColor: rgba(0,0,0,.85);
259
+ @invertedDimmerCloseColor: rgba(0,0,0,0.85);
260
260
  @invertedCloseShadow:
261
261
  -1px -1px 2px rgba(255, 255, 255, 0.3),
262
262
  1px -1px 2px rgba(255, 255, 255, 0.3),
@@ -8,10 +8,10 @@
8
8
 
9
9
  @height : 1.5em;
10
10
  @hoverPointer : auto;
11
- @padding : 1em .5em;
11
+ @padding : 1em 0.5em;
12
12
 
13
13
  /* Track */
14
- @trackHeight : .4em;
14
+ @trackHeight : 0.4em;
15
15
  @trackPositionTop : (@height / 2) - (@trackHeight / 2);
16
16
  @background : #ccc;
17
17
  @trackBorderRadius : 4px;
@@ -43,7 +43,7 @@
43
43
  -------------------- */
44
44
 
45
45
  /* Disabled */
46
- @disabledOpactiy : .5;
46
+ @disabledOpactiy : 0.5;
47
47
  @disabledTrackFillColor : @background;
48
48
 
49
49
  /* -------------------
@@ -51,7 +51,7 @@
51
51
  -------------------- */
52
52
 
53
53
  /* Vertical */
54
- @verticalPadding : .5em 1em;
54
+ @verticalPadding : 0.5em 1em;
55
55
 
56
56
  /* Labeled */
57
57
  @labelHeight : @height;
@@ -77,8 +77,8 @@
77
77
  @toastCloseDistanceVertical: 1em;
78
78
 
79
79
  /* Actions */
80
- @toastActionBackground: rgba(255, 255, 255, .25);
81
- @toastActionBorder: 1px solid rgba(0, 0, 0, .2);
80
+ @toastActionBackground: rgba(255, 255, 255, 0.25);
81
+ @toastActionBorder: 1px solid rgba(0, 0, 0, 0.2);
82
82
  @toastActionMargin: -1em;
83
83
  @toastActionMarginTop: 0.5em;
84
84
  @toastActionMarginLeft: 1em;
@@ -379,7 +379,7 @@
379
379
  /* Inward */
380
380
  .transition.fly {
381
381
  animation-duration: 0.6s;
382
- transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
382
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
383
383
  }
384
384
  .transition.fly.in {
385
385
  animation-name: flyIn;
@@ -418,20 +418,20 @@
418
418
  @keyframes flyIn {
419
419
  0% {
420
420
  opacity: 0;
421
- transform: scale3d(.3, .3, .3);
421
+ transform: scale3d(0.3, 0.3, 0.3);
422
422
  }
423
423
  20% {
424
424
  transform: scale3d(1.1, 1.1, 1.1);
425
425
  }
426
426
  40% {
427
- transform: scale3d(.9, .9, .9);
427
+ transform: scale3d(0.9, 0.9, 0.9);
428
428
  }
429
429
  60% {
430
430
  opacity: 1;
431
431
  transform: scale3d(1.03, 1.03, 1.03);
432
432
  }
433
433
  80% {
434
- transform: scale3d(.97, .97, .97);
434
+ transform: scale3d(0.97, 0.97, 0.97);
435
435
  }
436
436
  100% {
437
437
  opacity: 1;
@@ -518,7 +518,7 @@
518
518
  /* Out */
519
519
  @keyframes flyOut {
520
520
  20% {
521
- transform: scale3d(.9, .9, .9);
521
+ transform: scale3d(0.9, 0.9, 0.9);
522
522
  }
523
523
  50%,
524
524
  55% {
@@ -527,7 +527,7 @@
527
527
  }
528
528
  100% {
529
529
  opacity: 0;
530
- transform: scale3d(.3, .3, .3);
530
+ transform: scale3d(0.3, 0.3, 0.3);
531
531
  }
532
532
  }
533
533
  @keyframes flyOutUp {
@@ -871,7 +871,7 @@
871
871
  & when (@variationTransitionGlow) {
872
872
  .transition.glow {
873
873
  animation-duration: 2000ms;
874
- animation-timing-function: cubic-bezier(0.190, 1.000, 0.220, 1.000);
874
+ animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
875
875
  }
876
876
 
877
877
  .transition.glow {
@@ -992,10 +992,10 @@
992
992
  transform: scale3d(1.15, 0.85, 1);
993
993
  }
994
994
  65% {
995
- transform: scale3d(.95, 1.05, 1);
995
+ transform: scale3d(0.95, 1.05, 1);
996
996
  }
997
997
  75% {
998
- transform: scale3d(1.05, .95, 1);
998
+ transform: scale3d(1.05, 0.95, 1);
999
999
  }
1000
1000
  100% {
1001
1001
  transform: scale3d(1, 1, 1);
@@ -1006,13 +1006,13 @@
1006
1006
  /* Glow */
1007
1007
  @keyframes glow {
1008
1008
  0% {
1009
- background-color: #FCFCFD;
1009
+ background-color: #fcfcfd;
1010
1010
  }
1011
1011
  30% {
1012
- background-color: #FFF6CD;
1012
+ background-color: #fff6cd;
1013
1013
  }
1014
1014
  100% {
1015
- background-color: #FCFCFD;
1015
+ background-color: #fcfcfd;
1016
1016
  }
1017
1017
  }
1018
1018
  }
@@ -9,13 +9,13 @@
9
9
  .ui.form input[type="number"],
10
10
  .ui.form input[type="url"],
11
11
  .ui.form input[type="tel"] {
12
- border-bottom: 1px solid #DDDDDD;
12
+ border-bottom: 1px solid #ddd;
13
13
  }
14
14
 
15
15
  .ui.form .selection.dropdown {
16
16
  border: none;
17
17
  box-shadow: none !important;
18
- border-bottom: 1px solid #DDDDDD;
18
+ border-bottom: 1px solid #ddd;
19
19
  border-radius: 0em !important;
20
20
  }
21
21
  .ui.form .selection.dropdown > .menu {
@@ -72,7 +72,7 @@
72
72
 
73
73
  @subtleTransparentBlack : rgba(0, 0, 0, 0.03);
74
74
  @transparentBlack : rgba(0, 0, 0, 0.05);
75
- @strongTransparentBlack : rgba(0, 0, 0, 0.10);
75
+ @strongTransparentBlack : rgba(0, 0, 0, 0.1);
76
76
 
77
77
  @subtleTransparentWhite : rgba(255, 255, 255, 0.01);
78
78
  @transparentWhite : rgba(255, 255, 255, 0.05);
@@ -3,9 +3,9 @@
3
3
  *******************************/
4
4
 
5
5
  .ui.selection.dropdown {
6
- background-color: #FAFAFA;
6
+ background-color: #fafafa;
7
7
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset;
8
- border-color: #CCCCCC;
8
+ border-color: #ccc;
9
9
  }
10
10
 
11
11
  .ui.selection.dropdown:focus {
@@ -52,7 +52,7 @@
52
52
  @verticalBackground: #FFFFFF;
53
53
  @verticalItemBackground: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.02));
54
54
 
55
- @invertedBackground: @black linear-gradient(rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.0));
55
+ @invertedBackground: @black linear-gradient(rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0));
56
56
  @invertedBoxShadow :
57
57
  0px 1px 2px 0px rgba(0, 0, 0, 0.15),
58
58
  0px 0px 0px 1px rgba(255, 255, 255, 0.15)
@@ -1,11 +1,11 @@
1
1
  .ui.info.message {
2
- background: linear-gradient(#D8EBF8, #D0E3EF);
2
+ background: linear-gradient(#d8ebf8, #d0e3ef);
3
3
  }
4
4
  .ui.error.message {
5
- background: linear-gradient(#F8D8D8, #EFD0D0);
5
+ background: linear-gradient(#f8d8d8, #efd0d0);
6
6
  }
7
7
  .ui.warning.message {
8
- background: linear-gradient(#FFE3C8, #F5DAC0);
8
+ background: linear-gradient(#ffe3c8, #f5dac0);
9
9
  }
10
10
  .ui.success.message {
11
11
  }
@@ -27,6 +27,6 @@
27
27
  box-shadow: @focusBoxShadow;
28
28
  }
29
29
  .ui.labeled.input.focused .label {
30
- background-color: #E1EAF5;
31
- color: #4078C0;
30
+ background-color: #e1eaf5;
31
+ color: #4078c0;
32
32
  }
@@ -3,7 +3,7 @@
3
3
  *******************************/
4
4
 
5
5
  .ui.feed > .event .label {
6
- border-left: 3px solid #DDDDDD;
6
+ border-left: 3px solid #ddd;
7
7
  }
8
8
  .ui.feed > .event:last-child .label {
9
9
  border-left-color: transparent;
@@ -15,9 +15,9 @@
15
15
 
16
16
  .ui.feed > .event > .label > img,
17
17
  .ui.feed > .event > .label > .icon {
18
- background-color: #009FDA;
18
+ background-color: #009fda;
19
19
  border-radius: 500rem;
20
- color: #FFFFFF;
20
+ color: #fff;
21
21
  width: 3rem;
22
22
  height: 3rem;
23
23
  line-height: 1.5;
@@ -4,9 +4,9 @@
4
4
 
5
5
  .ui.primary.button {
6
6
  box-shadow:
7
- 0px 0px 0px 1px #3B88C3 inset,
7
+ 0px 0px 0px 1px #3b88c3 inset,
8
8
  0 2px 0 rgba(255, 255, 255, 0.15) inset;
9
9
  }
10
10
  .ui.primary.button > .icon {
11
- color: #FFFFFF;
11
+ color: #fff;
12
12
  }
package/tasks/README.md CHANGED
@@ -10,8 +10,6 @@
10
10
  These tasks can be imported into your own gulpfile allowing you to avoid using Semantic's build tools
11
11
 
12
12
  ```javascript
13
- var
14
- watch = require('path/to/semantic/tasks/watch')
15
- ;
13
+ const watch = require('path/to/semantic/tasks/watch');
16
14
  gulp.task('watch ui', watch);
17
15
  ```
@@ -14,7 +14,7 @@
14
14
  * create meteor.js file
15
15
  */
16
16
 
17
- var
17
+ let
18
18
  gulp = require('gulp'),
19
19
 
20
20
  // node dependencies
@@ -41,20 +41,20 @@ var
41
41
  ;
42
42
 
43
43
  module.exports = function (callback) {
44
- var
44
+ let
45
45
  stream,
46
46
  index,
47
47
  tasks = []
48
48
  ;
49
49
 
50
50
  for (index in release.components) {
51
- var
51
+ let
52
52
  component = release.components[index]
53
53
  ;
54
54
 
55
55
  // streams... designed to save time and make coding fun...
56
56
  (function (component) {
57
- var
57
+ let
58
58
  outputDirectory = path.join(release.outputRoot, component),
59
59
  isJavascript = fs.existsSync(output.compressed + component + '.js'),
60
60
  isCSS = fs.existsSync(output.compressed + component + '.css'),
@@ -83,7 +83,7 @@ module.exports = function (callback) {
83
83
  unrelatedNotes: new RegExp('^((?!(^.*(' + component + ').*$|###.*)).)*$', 'gmi'),
84
84
  whitespace: /\n\s*\n\s*\n/gm,
85
85
  // npm
86
- componentExport: /(.*)\$\.fn\.\w+\s*=\s*function\(([^\)]*)\)\s*{/g,
86
+ componentExport: /(.*)\$\.fn\.\w+\s*=\s*function\(([^)]*)\)\s*{/g,
87
87
  componentReference: '$.fn.' + component,
88
88
  settingsExport: /\$\.fn\.\w+\.settings\s*=/g,
89
89
  settingsReference: /\$\.fn\.\w+\.settings/g,
@@ -171,16 +171,9 @@ module.exports = function (callback) {
171
171
  bower.name = packageName;
172
172
  bower.description = capitalizedComponent + ' - Semantic UI';
173
173
  if (isJavascript) {
174
- if (isCSS) {
175
- bower.main = [
176
- component + '.js',
177
- component + '.css',
178
- ];
179
- } else {
180
- bower.main = [
181
- component + '.js',
182
- ];
183
- }
174
+ bower.main = isCSS
175
+ ? [component + '.js', component + '.css']
176
+ : [component + '.js'];
184
177
  bower.dependencies = {
185
178
  jquery: '>=1.8',
186
179
  };
@@ -266,7 +259,7 @@ module.exports = function (callback) {
266
259
 
267
260
  // Creates meteor package.js
268
261
  function createMeteorPackage() {
269
- var
262
+ let
270
263
  filenames = ''
271
264
  ;
272
265
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  */
14
14
 
15
- var
15
+ let
16
16
  gulp = require('gulp'),
17
17
 
18
18
  // node dependencies
@@ -24,13 +24,13 @@ var
24
24
  mkdirp = require('mkdirp'),
25
25
 
26
26
  // admin files
27
- github = require('../../config/admin/github.js'),
27
+ github = require('../../config/admin/github'),
28
28
  release = require('../../config/admin/release'),
29
29
  project = require('../../config/project/release'),
30
30
 
31
31
  // oAuth configuration for GitHub
32
- oAuth = fs.existsSync(__dirname + '/../../config/admin/oauth.js')
33
- ? require('../../config/admin/oauth')
32
+ oAuth = fs.existsSync(path.join(__dirname, '/../../config/admin/oauth.js'))
33
+ ? require('../../config/admin/oauth.js') // eslint-disable-line import/extensions
34
34
  : false,
35
35
 
36
36
  // shorthand
@@ -38,7 +38,7 @@ var
38
38
  ;
39
39
 
40
40
  module.exports = function (callback) {
41
- var
41
+ let
42
42
  index = -1,
43
43
  total = release.components.length,
44
44
  timer,
@@ -62,7 +62,7 @@ module.exports = function (callback) {
62
62
  return;
63
63
  }
64
64
 
65
- var
65
+ let
66
66
  component = release.components[index],
67
67
  outputDirectory = path.resolve(release.outputRoot + component),
68
68
  capitalizedComponent = component.charAt(0).toUpperCase() + component.slice(1),
@@ -141,7 +141,7 @@ module.exports = function (callback) {
141
141
  });
142
142
  }
143
143
 
144
- function nextRepo() {
144
+ function nextRepo() { // eslint-disable-line unicorn/consistent-function-scoping
145
145
  // console.log('Sleeping for 1 second...');
146
146
  // avoid rate throttling
147
147
  global.clearTimeout(timer);
@@ -12,7 +12,7 @@
12
12
 
13
13
  */
14
14
 
15
- var
15
+ let
16
16
  gulp = require('gulp'),
17
17
 
18
18
  // node dependencies
@@ -22,13 +22,13 @@ var
22
22
  git = require('gulp-git'),
23
23
 
24
24
  // admin files
25
- github = require('../../config/admin/github.js'),
25
+ github = require('../../config/admin/github'),
26
26
  release = require('../../config/admin/release'),
27
27
  project = require('../../config/project/release'),
28
28
 
29
29
  // oAuth configuration for GitHub
30
- oAuth = fs.existsSync(__dirname + '/../../config/admin/oauth.js')
31
- ? require('../../config/admin/oauth')
30
+ oAuth = fs.existsSync(path.join(__dirname, '/../../config/admin/oauth.js'))
31
+ ? require('../../config/admin/oauth.js') // eslint-disable-line import/extensions
32
32
  : false,
33
33
 
34
34
  // shorthand
@@ -36,7 +36,7 @@ var
36
36
  ;
37
37
 
38
38
  module.exports = function (callback) {
39
- var
39
+ let
40
40
  index = -1,
41
41
  total = release.components.length,
42
42
  timer,
@@ -59,7 +59,7 @@ module.exports = function (callback) {
59
59
  return;
60
60
  }
61
61
 
62
- var
62
+ let
63
63
  component = release.components[index],
64
64
  outputDirectory = path.resolve(path.join(release.outputRoot, component)),
65
65
  capitalizedComponent = component.charAt(0).toUpperCase() + component.slice(1),
@@ -73,7 +73,7 @@ module.exports = function (callback) {
73
73
  : '',
74
74
 
75
75
  componentPackage = fs.existsSync(outputDirectory + 'package.json')
76
- ? require(outputDirectory + 'package.json')
76
+ ? require(outputDirectory + 'package.json') // eslint-disable-line import/no-dynamic-require
77
77
  : false,
78
78
 
79
79
  isNewVersion = (version && componentPackage.version != version),
@@ -9,7 +9,7 @@
9
9
  * update package.json file
10
10
  */
11
11
 
12
- var
12
+ let
13
13
  gulp = require('gulp'),
14
14
 
15
15
  // node dependencies
@@ -35,20 +35,20 @@ var
35
35
  ;
36
36
 
37
37
  module.exports = function (callback) {
38
- var
38
+ let
39
39
  stream,
40
40
  index,
41
41
  tasks = []
42
42
  ;
43
43
 
44
44
  for (index in release.distributions) {
45
- var
45
+ let
46
46
  distribution = release.distributions[index]
47
47
  ;
48
48
 
49
49
  // streams... designed to save time and make coding fun...
50
50
  (function (distribution) {
51
- var
51
+ let
52
52
  distLowerCase = distribution.toLowerCase(),
53
53
  outputDirectory = path.join(release.outputRoot, distLowerCase),
54
54
  packageFile = path.join(outputDirectory, release.files.npm),
@@ -71,8 +71,8 @@ module.exports = function (callback) {
71
71
 
72
72
  // get files for meteor
73
73
  gatherFiles = function (dir) {
74
- var
75
- dir = dir || path.resolve('.'),
74
+ dir = dir || path.resolve('.');
75
+ let
76
76
  list = fs.readdirSync(dir),
77
77
  omitted = [
78
78
  '.git',
@@ -87,7 +87,7 @@ module.exports = function (callback) {
87
87
  files = []
88
88
  ;
89
89
  list.forEach(function (file) {
90
- var
90
+ let
91
91
  isOmitted = (omitted.indexOf(file) > -1),
92
92
  filePath = path.join(dir, file),
93
93
  stat = fs.statSync(filePath)
@@ -106,20 +106,18 @@ module.exports = function (callback) {
106
106
 
107
107
  // spaces out list correctly
108
108
  createList = function (files) {
109
- var filenames = '';
110
- for (var file in files) {
111
- if (file == (files.length - 1)) {
112
- filenames += "'" + files[file] + "'";
113
- } else {
114
- filenames += "'" + files[file] + "',\n ";
115
- }
109
+ let filenames = '';
110
+ for (let file in files) {
111
+ filenames += file == (files.length - 1)
112
+ ? "'" + files[file] + "'"
113
+ : "'" + files[file] + "',\n ";
116
114
  }
117
115
 
118
116
  return filenames;
119
117
  };
120
118
 
121
119
  tasks.push(function () {
122
- var
120
+ let
123
121
  files = gatherFiles(outputDirectory),
124
122
  filenames = createList(files)
125
123
  ;
@@ -135,7 +133,7 @@ module.exports = function (callback) {
135
133
 
136
134
  if (distribution == 'CSS') {
137
135
  tasks.push(function () {
138
- var
136
+ let
139
137
  themes,
140
138
  components,
141
139
  releases
@@ -154,7 +152,7 @@ module.exports = function (callback) {
154
152
  });
155
153
  } else if (distribution == 'LESS') {
156
154
  tasks.push(function () {
157
- var
155
+ let
158
156
  definitions,
159
157
  themeImport,
160
158
  themeConfig,
@@ -12,7 +12,7 @@
12
12
 
13
13
  */
14
14
 
15
- var
15
+ let
16
16
  gulp = require('gulp'),
17
17
 
18
18
  // node dependencies
@@ -24,13 +24,13 @@ var
24
24
  mkdirp = require('mkdirp'),
25
25
 
26
26
  // admin files
27
- github = require('../../config/admin/github.js'),
27
+ github = require('../../config/admin/github'),
28
28
  release = require('../../config/admin/release'),
29
29
  project = require('../../config/project/release'),
30
30
 
31
31
  // oAuth configuration for GitHub
32
- oAuth = fs.existsSync(__dirname + '/../../config/admin/oauth.js')
33
- ? require('../../config/admin/oauth')
32
+ oAuth = fs.existsSync(path.join(__dirname, '/../../config/admin/oauth.js'))
33
+ ? require('../../config/admin/oauth.js') // eslint-disable-line import/extensions
34
34
  : false,
35
35
 
36
36
  // shorthand
@@ -38,7 +38,7 @@ var
38
38
  ;
39
39
 
40
40
  module.exports = function (callback) {
41
- var
41
+ let
42
42
  index = -1,
43
43
  total = release.distributions.length,
44
44
  timer,
@@ -62,7 +62,7 @@ module.exports = function (callback) {
62
62
  return;
63
63
  }
64
64
 
65
- var
65
+ let
66
66
  component = release.distributions[index],
67
67
  lowerCaseComponent = component.toLowerCase(),
68
68
  outputDirectory = path.resolve(release.outputRoot + lowerCaseComponent),
@@ -140,7 +140,7 @@ module.exports = function (callback) {
140
140
  });
141
141
  }
142
142
 
143
- function nextRepo() {
143
+ function nextRepo() { // eslint-disable-line unicorn/consistent-function-scoping
144
144
  // console.log('Sleeping for 1 second...');
145
145
  // avoid rate throttling
146
146
  global.clearTimeout(timer);