fomantic-ui 2.9.4-beta.91 → 2.9.4-beta.93

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 (199) hide show
  1. package/.all-contributorsrc +9 -0
  2. package/.github/workflows/ci.yml +2 -2
  3. package/CONTRIBUTORS.md +3 -0
  4. package/dist/components/accordion.css +1 -1
  5. package/dist/components/accordion.js +1 -1
  6. package/dist/components/accordion.min.css +1 -1
  7. package/dist/components/accordion.min.js +1 -1
  8. package/dist/components/ad.css +1 -1
  9. package/dist/components/ad.min.css +1 -1
  10. package/dist/components/api.js +1 -1
  11. package/dist/components/api.min.js +1 -1
  12. package/dist/components/breadcrumb.css +1 -1
  13. package/dist/components/breadcrumb.min.css +1 -1
  14. package/dist/components/button.css +1 -1
  15. package/dist/components/button.min.css +1 -1
  16. package/dist/components/calendar.css +1 -1
  17. package/dist/components/calendar.js +1 -1
  18. package/dist/components/calendar.min.css +1 -1
  19. package/dist/components/calendar.min.js +1 -1
  20. package/dist/components/card.css +1 -1
  21. package/dist/components/card.min.css +1 -1
  22. package/dist/components/checkbox.css +1 -1
  23. package/dist/components/checkbox.js +1 -1
  24. package/dist/components/checkbox.min.css +1 -1
  25. package/dist/components/checkbox.min.js +1 -1
  26. package/dist/components/comment.css +1 -1
  27. package/dist/components/comment.min.css +1 -1
  28. package/dist/components/container.css +1 -1
  29. package/dist/components/container.min.css +1 -1
  30. package/dist/components/dimmer.css +1 -1
  31. package/dist/components/dimmer.js +1 -1
  32. package/dist/components/dimmer.min.css +1 -1
  33. package/dist/components/dimmer.min.js +1 -1
  34. package/dist/components/divider.css +1 -1
  35. package/dist/components/divider.min.css +1 -1
  36. package/dist/components/dropdown.css +1 -1
  37. package/dist/components/dropdown.js +1 -1
  38. package/dist/components/dropdown.min.css +1 -1
  39. package/dist/components/dropdown.min.js +1 -1
  40. package/dist/components/embed.css +1 -1
  41. package/dist/components/embed.js +1 -1
  42. package/dist/components/embed.min.css +1 -1
  43. package/dist/components/embed.min.js +1 -1
  44. package/dist/components/emoji.css +1 -1
  45. package/dist/components/emoji.min.css +1 -1
  46. package/dist/components/feed.css +1 -1
  47. package/dist/components/feed.min.css +1 -1
  48. package/dist/components/flag.css +1 -1
  49. package/dist/components/flag.min.css +1 -1
  50. package/dist/components/flyout.css +3 -3
  51. package/dist/components/flyout.js +1 -1
  52. package/dist/components/flyout.min.css +1 -1
  53. package/dist/components/flyout.min.js +1 -1
  54. package/dist/components/form.css +1 -1
  55. package/dist/components/form.js +1 -1
  56. package/dist/components/form.min.css +1 -1
  57. package/dist/components/form.min.js +1 -1
  58. package/dist/components/grid.css +1 -1
  59. package/dist/components/grid.min.css +1 -1
  60. package/dist/components/header.css +1 -1
  61. package/dist/components/header.min.css +1 -1
  62. package/dist/components/icon.css +1 -1
  63. package/dist/components/icon.min.css +1 -1
  64. package/dist/components/image.css +1 -1
  65. package/dist/components/image.min.css +1 -1
  66. package/dist/components/input.css +1 -1
  67. package/dist/components/input.min.css +1 -1
  68. package/dist/components/item.css +1 -1
  69. package/dist/components/item.min.css +1 -1
  70. package/dist/components/label.css +1 -1
  71. package/dist/components/label.min.css +1 -1
  72. package/dist/components/list.css +1 -1
  73. package/dist/components/list.min.css +1 -1
  74. package/dist/components/loader.css +1 -1
  75. package/dist/components/loader.min.css +1 -1
  76. package/dist/components/menu.css +1 -1
  77. package/dist/components/menu.min.css +1 -1
  78. package/dist/components/message.css +1 -1
  79. package/dist/components/message.min.css +1 -1
  80. package/dist/components/modal.css +3 -3
  81. package/dist/components/modal.js +1 -1
  82. package/dist/components/modal.min.css +1 -1
  83. package/dist/components/modal.min.js +1 -1
  84. package/dist/components/nag.css +1 -1
  85. package/dist/components/nag.js +1 -1
  86. package/dist/components/nag.min.css +1 -1
  87. package/dist/components/nag.min.js +1 -1
  88. package/dist/components/placeholder.css +1 -1
  89. package/dist/components/placeholder.min.css +1 -1
  90. package/dist/components/popup.css +1 -1
  91. package/dist/components/popup.js +1 -1
  92. package/dist/components/popup.min.css +1 -1
  93. package/dist/components/popup.min.js +1 -1
  94. package/dist/components/progress.css +1 -1
  95. package/dist/components/progress.js +1 -1
  96. package/dist/components/progress.min.css +1 -1
  97. package/dist/components/progress.min.js +1 -1
  98. package/dist/components/rail.css +1 -1
  99. package/dist/components/rail.min.css +1 -1
  100. package/dist/components/rating.css +1 -1
  101. package/dist/components/rating.js +1 -1
  102. package/dist/components/rating.min.css +1 -1
  103. package/dist/components/rating.min.js +1 -1
  104. package/dist/components/reset.css +1 -1
  105. package/dist/components/reset.min.css +1 -1
  106. package/dist/components/reveal.css +1 -1
  107. package/dist/components/reveal.min.css +1 -1
  108. package/dist/components/search.css +34 -23
  109. package/dist/components/search.js +12 -1
  110. package/dist/components/search.min.css +2 -2
  111. package/dist/components/search.min.js +2 -2
  112. package/dist/components/segment.css +1 -1
  113. package/dist/components/segment.min.css +1 -1
  114. package/dist/components/shape.css +1 -1
  115. package/dist/components/shape.js +1 -1
  116. package/dist/components/shape.min.css +1 -1
  117. package/dist/components/shape.min.js +1 -1
  118. package/dist/components/sidebar.css +1 -1
  119. package/dist/components/sidebar.js +1 -1
  120. package/dist/components/sidebar.min.css +1 -1
  121. package/dist/components/sidebar.min.js +1 -1
  122. package/dist/components/site.css +1 -1
  123. package/dist/components/site.js +1 -1
  124. package/dist/components/site.min.css +1 -1
  125. package/dist/components/site.min.js +1 -1
  126. package/dist/components/slider.css +1 -1
  127. package/dist/components/slider.js +1 -1
  128. package/dist/components/slider.min.css +1 -1
  129. package/dist/components/slider.min.js +1 -1
  130. package/dist/components/state.js +1 -1
  131. package/dist/components/state.min.js +1 -1
  132. package/dist/components/statistic.css +1 -1
  133. package/dist/components/statistic.min.css +1 -1
  134. package/dist/components/step.css +1 -1
  135. package/dist/components/step.min.css +1 -1
  136. package/dist/components/sticky.css +1 -1
  137. package/dist/components/sticky.js +1 -1
  138. package/dist/components/sticky.min.css +1 -1
  139. package/dist/components/sticky.min.js +1 -1
  140. package/dist/components/tab.css +1 -1
  141. package/dist/components/tab.js +1 -1
  142. package/dist/components/tab.min.css +1 -1
  143. package/dist/components/tab.min.js +1 -1
  144. package/dist/components/table.css +1 -1
  145. package/dist/components/table.min.css +1 -1
  146. package/dist/components/text.css +1 -1
  147. package/dist/components/text.min.css +1 -1
  148. package/dist/components/toast.css +1 -1
  149. package/dist/components/toast.js +1 -1
  150. package/dist/components/toast.min.css +1 -1
  151. package/dist/components/toast.min.js +1 -1
  152. package/dist/components/transition.css +1 -1
  153. package/dist/components/transition.js +1 -1
  154. package/dist/components/transition.min.css +1 -1
  155. package/dist/components/transition.min.js +1 -1
  156. package/dist/components/visibility.js +1 -1
  157. package/dist/components/visibility.min.js +1 -1
  158. package/dist/semantic.css +93 -78
  159. package/dist/semantic.js +37 -26
  160. package/dist/semantic.min.css +2 -2
  161. package/dist/semantic.min.js +2 -2
  162. package/package.json +1 -1
  163. package/src/definitions/collections/form.less +37 -24
  164. package/src/definitions/collections/grid.less +81 -66
  165. package/src/definitions/collections/menu.less +38 -27
  166. package/src/definitions/collections/table.less +114 -103
  167. package/src/definitions/elements/button.less +36 -24
  168. package/src/definitions/elements/container.less +6 -4
  169. package/src/definitions/elements/divider.less +4 -1
  170. package/src/definitions/elements/emoji.less +3 -1
  171. package/src/definitions/elements/header.less +7 -4
  172. package/src/definitions/elements/icon.less +35 -28
  173. package/src/definitions/elements/input.less +21 -13
  174. package/src/definitions/elements/label.less +14 -8
  175. package/src/definitions/elements/list.less +28 -21
  176. package/src/definitions/elements/loader.less +17 -12
  177. package/src/definitions/elements/segment.less +12 -7
  178. package/src/definitions/elements/step.less +95 -91
  179. package/src/definitions/modules/accordion.less +15 -13
  180. package/src/definitions/modules/calendar.less +6 -4
  181. package/src/definitions/modules/checkbox.less +12 -6
  182. package/src/definitions/modules/dimmer.less +10 -7
  183. package/src/definitions/modules/dropdown.less +68 -51
  184. package/src/definitions/modules/flyout.less +51 -45
  185. package/src/definitions/modules/modal.less +109 -82
  186. package/src/definitions/modules/nag.less +8 -4
  187. package/src/definitions/modules/popup.less +3 -1
  188. package/src/definitions/modules/progress.less +10 -4
  189. package/src/definitions/modules/search.js +11 -0
  190. package/src/definitions/modules/search.less +32 -23
  191. package/src/definitions/modules/slider.less +31 -24
  192. package/src/definitions/modules/toast.less +35 -24
  193. package/src/definitions/views/card.less +7 -5
  194. package/src/definitions/views/feed.less +3 -1
  195. package/src/definitions/views/item.less +7 -5
  196. package/src/themes/default/globals/variation.variables +14 -2
  197. package/src/themes/default/modules/search.variables +14 -14
  198. package/tasks/config/project/release.js +19 -1
  199. package/tasks/config/tasks.js +6 -6
@@ -17,16 +17,23 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
- .ui.slider:not(.vertical):not(.checkbox) {
20
+ @notVertical: if(@variationSliderVertical, e(":not(.vertical)"));
21
+ @notDisabled: if(@variationSliderDisabled, e(":not(.disabled)"));
22
+ @notBottom: if(@variationSliderBottomAligned, e(":not(.bottom)"));
23
+ @notRight: if(@variationSliderRightAligned, e(":not(.right)"));
24
+
25
+ @notCheckbox: if(@variationCheckboxSlider, e(":not(.checkbox)"));
26
+
27
+ .ui.slider@{notVertical}@{notCheckbox} {
21
28
  width: 100%;
22
29
  padding: @padding;
23
30
  }
24
31
 
25
- .ui.slider:not(.checkbox) {
32
+ .ui.slider@{notCheckbox} {
26
33
  position: relative;
27
34
  }
28
35
 
29
- .ui.slider:not(.checkbox):focus {
36
+ .ui.slider@{notCheckbox}:focus {
30
37
  outline: 0;
31
38
  }
32
39
 
@@ -35,7 +42,7 @@
35
42
  z-index: 2;
36
43
  }
37
44
 
38
- .ui.slider:not(.vertical) .inner {
45
+ .ui.slider@{notVertical} .inner {
39
46
  height: @height;
40
47
  }
41
48
 
@@ -49,7 +56,7 @@
49
56
  background-color: @trackColor;
50
57
  }
51
58
 
52
- .ui.slider:not(.vertical) .inner .track {
59
+ .ui.slider@{notVertical} .inner .track {
53
60
  width: 100%;
54
61
  height: @trackHeight;
55
62
  top: @trackPositionTop;
@@ -62,7 +69,7 @@
62
69
  background-color: @trackFillColor;
63
70
  }
64
71
 
65
- .ui.slider:not(.vertical) .inner .track-fill {
72
+ .ui.slider@{notVertical} .inner .track-fill {
66
73
  height: @trackFillHeight;
67
74
  top: @trackPositionTop;
68
75
  left: 0;
@@ -80,12 +87,12 @@
80
87
  transition: @thumbTransition;
81
88
  }
82
89
 
83
- .ui.slider:not(.disabled) .inner .thumb:hover {
90
+ .ui.slider@{notDisabled} .inner .thumb:hover {
84
91
  cursor: @thumbHoverPointer;
85
92
  background: @thumbHoverBackground;
86
93
  }
87
94
 
88
- .ui.slider:not(.disabled):focus .inner .thumb {
95
+ .ui.slider@{notDisabled}:focus .inner .thumb {
89
96
  background: @thumbHoverBackground;
90
97
  }
91
98
 
@@ -98,7 +105,7 @@
98
105
  Disabled
99
106
  --------------- */
100
107
 
101
- .ui.disabled.slider:not(.checkbox) {
108
+ .ui.disabled.slider@{notCheckbox} {
102
109
  opacity: @disabledOpactiy;
103
110
  }
104
111
 
@@ -121,7 +128,7 @@
121
128
  right: 0;
122
129
  }
123
130
 
124
- .ui.reversed.slider:not(.vertical) .inner .thumb {
131
+ .ui.reversed.slider@{notVertical} .inner .thumb {
125
132
  left: auto;
126
133
  right: 0;
127
134
  }
@@ -198,7 +205,7 @@
198
205
  right: 0;
199
206
  }
200
207
 
201
- .ui.labeled.slider:not(.vertical) > .labels {
208
+ .ui.labeled.slider@{notVertical} > .labels {
202
209
  transform: translateY(-50%);
203
210
  }
204
211
 
@@ -251,13 +258,13 @@
251
258
  }
252
259
  }
253
260
  & when (@variationSliderUiLabel) {
254
- .ui.labeled.slider:not(.vertical):not(.bottom) .labels .ui.label {
261
+ .ui.labeled.slider@{notVertical}@{notBottom} .labels .ui.label {
255
262
  margin-top: -@uiLabelMargin;
256
263
  }
257
- .ui.labeled.ticked.slider:not(.vertical):not(.bottom) .labels .ui.label::after {
264
+ .ui.labeled.ticked.slider@{notVertical}@{notBottom} .labels .ui.label::after {
258
265
  margin-top: @uiLabelMargin;
259
266
  }
260
- .ui.labeled.ticked.slider:not(.vertical) > .labels .ui.label::after {
267
+ .ui.labeled.ticked.slider@{notVertical} > .labels .ui.label::after {
261
268
  height: @uiLabelTickHeight;
262
269
  }
263
270
  }
@@ -288,7 +295,7 @@
288
295
  width: (@labelHeight / 2);
289
296
  height: @labelWidth;
290
297
  }
291
- .ui.labeled.vertical.slider:not(.right) > .labels .halftick.label::after {
298
+ .ui.labeled.vertical.slider@{notRight} > .labels .halftick.label::after {
292
299
  margin-left: @verticalTickDistance;
293
300
  }
294
301
 
@@ -299,7 +306,7 @@
299
306
  }
300
307
  }
301
308
  & when (@variationSliderUiLabel) {
302
- .ui.labeled.ticked.vertical.slider:not(.right) > .labels .ui.label::after {
309
+ .ui.labeled.ticked.vertical.slider@{notRight} > .labels .ui.label::after {
303
310
  margin-left: @verticalUiLabelMargin;
304
311
  }
305
312
  }
@@ -343,8 +350,8 @@
343
350
  transition: @hoverOpacityTransition;
344
351
  }
345
352
 
346
- .ui.hover.slider:not(.disabled):hover .inner .thumb,
347
- .ui.hover.slider:not(.disabled):focus .inner .thumb {
353
+ .ui.hover.slider@{notDisabled}:hover .inner .thumb,
354
+ .ui.hover.slider@{notDisabled}:focus .inner .thumb {
348
355
  opacity: @hoverVarHoverOpacity;
349
356
  }
350
357
 
@@ -481,20 +488,20 @@
481
488
  height: @@h;
482
489
  width: @@h;
483
490
  }
484
- .ui.slider.@{value}:not(.vertical) .inner {
491
+ .ui.slider.@{value}@{notVertical} .inner {
485
492
  height: @@h;
486
493
  }
487
- .ui.slider.@{value}:not(.vertical) .inner .track,
488
- .ui.slider.@{value}:not(.vertical) .inner .track-fill {
494
+ .ui.slider.@{value}@{notVertical} .inner .track,
495
+ .ui.slider.@{value}@{notVertical} .inner .track-fill {
489
496
  height: @@th;
490
497
  top: @@tp;
491
498
  }
492
499
  & when (@variationSliderLabeled) {
493
- .ui.@{value}.labeled.slider:not(.vertical) > .labels,
494
- .ui.@{value}.labeled.slider:not(.vertical) > .labels .label::after {
500
+ .ui.@{value}.labeled.slider@{notVertical} > .labels,
501
+ .ui.@{value}.labeled.slider@{notVertical} > .labels .label::after {
495
502
  height: @@lh;
496
503
  }
497
- .ui.@{value}.labeled.slider:not(.vertical) > .labels .halftick.label::after {
504
+ .ui.@{value}.labeled.slider@{notVertical} > .labels .halftick.label::after {
498
505
  height: (@@lh / 2);
499
506
  }
500
507
  }
@@ -17,6 +17,17 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notActions: if(@variationToastActions, e(":not(.actions)"));
21
+ @notAttached: if(@variationToastAttached, e(":not(.attached)"));
22
+ @notVertical: if(@variationToastVertical, e(":not(.vertical)"));
23
+ @notCenter: if(@variationToastCenter, e(":not(.center)"));
24
+ @notCentered: if(@variationToastCentered, e(":not(.centered)"));
25
+ @notBasic: if(@variationToastBasic, e(":not(.basic)"));
26
+ @notClose: if(@variationToastClose, e(":not(.close)"));
27
+ @notUnclickable: if(@variationToastUnclickable, e(":not(.unclickable)"));
28
+
29
+ @notFluid: if(@variationButtonFluid, e(":not(.fluid)"));
30
+
20
31
  /*******************************
21
32
  Toast container
22
33
  *******************************/
@@ -56,7 +67,7 @@
56
67
  & > * {
57
68
  width: 100%;
58
69
  border-radius: 0;
59
- & > .vertical:not(.actions) when (@variationToastVertical) {
70
+ & > .vertical@{notActions} when (@variationToastVertical) {
60
71
  flex: 1;
61
72
  }
62
73
  }
@@ -130,7 +141,7 @@
130
141
  &:hover {
131
142
  opacity: @toastOpacityOnHover;
132
143
  }
133
- &:not(.unclickable):hover {
144
+ &@{notUnclickable}:hover {
134
145
  cursor: @toastCursorOnHover;
135
146
  }
136
147
  & when (@variationToastFloating) {
@@ -195,18 +206,18 @@
195
206
  }
196
207
  &.icon when (@variationToastIcon) {
197
208
  align-items: inherit;
198
- & > :not(.icon):not(.actions) {
209
+ & > :not(.icon)@{notActions} {
199
210
  padding-left: @toastIconMessageContentPadding;
200
211
  }
201
- & > i.icon:not(.close) when (@variationToastIcon) {
212
+ & > i.icon@{notClose} when (@variationToastIcon) {
202
213
  display: inline-block;
203
214
  position: absolute;
204
215
  width: @toastIconMessageWidth;
205
216
  top: 50%;
206
217
  transform: translateY(-50%);
207
218
  }
208
- &:not(.vertical) {
209
- &.actions > i.icon:not(.close) when (@variationToastActions) and (@variationToastIcon) {
219
+ &@{notVertical} {
220
+ &.actions > i.icon@{notClose} when (@variationToastActions) and (@variationToastIcon) {
210
221
  top: e(%("calc(50%% - %d)", @toastIconCenteredAdjustment));
211
222
  transform: none;
212
223
  }
@@ -230,7 +241,7 @@
230
241
  margin-top: -@toastCloseTopDistance;
231
242
  margin-right: -@toastCloseTopDistance;
232
243
  }
233
- &:not(.vertical) > .close.icon when (@variationToastClose) {
244
+ &@{notVertical} > .close.icon when (@variationToastClose) {
234
245
  position: absolute;
235
246
  top: @toastCloseTopDistance;
236
247
  &:not(.left) {
@@ -243,7 +254,7 @@
243
254
  }
244
255
  & .ui.card when (@variationToastCard) {
245
256
  margin: 0;
246
- &.attached:not(.vertical) when (@variationToastAttached) {
257
+ &.attached@{notVertical} when (@variationToastAttached) {
247
258
  &.bottom {
248
259
  border-top-left-radius: 0;
249
260
  border-top-right-radius: 0;
@@ -296,7 +307,7 @@
296
307
  &:hover .pausable.progressing {
297
308
  animation-play-state: paused;
298
309
  }
299
- & .ui.toast:not(.vertical) {
310
+ & .ui.toast@{notVertical} {
300
311
  display: block;
301
312
  }
302
313
  & :not(.comment) {
@@ -306,10 +317,10 @@
306
317
  & .actions when (@variationToastActions) {
307
318
  padding: @toastActionPadding @toastActionPadding @toastActionPaddingBottom @toastActionPadding;
308
319
  text-align: right;
309
- &.attached:not(.vertical) when (@variationToastAttached) {
320
+ &.attached@{notVertical} when (@variationToastAttached) {
310
321
  margin-right: @toastLeftRightMargin;
311
322
  }
312
- &:not(.basic):not(.attached) {
323
+ &@{notBasic}@{notAttached} {
313
324
  background: @toastActionBackground;
314
325
  border-top: @toastActionBorder;
315
326
  }
@@ -333,13 +344,13 @@
333
344
  &.attached > .button when (@variationToastAttached) {
334
345
  align-items: center;
335
346
  }
336
- &:not(.attached) {
347
+ &@{notAttached} {
337
348
  border-top: 0;
338
349
  margin-top: -@toastActionPaddingBottom;
339
350
  margin-bottom: -@toastActionPaddingBottom;
340
351
  margin-left: @toastActionMarginLeft;
341
352
  justify-content: space-around;
342
- &:not(.basic) {
353
+ &@{notBasic} {
343
354
  border-left: @toastActionBorder;
344
355
  }
345
356
  & > .button:not(:last-child) {
@@ -417,7 +428,7 @@
417
428
  }
418
429
  }
419
430
 
420
- .ui.attached:not(.vertical) when (@variationToastAttached) {
431
+ .ui.attached@{notVertical} when (@variationToastAttached) {
421
432
  &:not(.top) {
422
433
  &.actions when (@variationToastActions) {
423
434
  border-bottom-left-radius: @toastBorderRadius;
@@ -480,19 +491,19 @@
480
491
  background-color: @toastNeutralColor;
481
492
  color: @toastNeutralTextColor;
482
493
  }
483
- & > i.icon:not(.close) when (@variationToastIcon) {
494
+ & > i.icon@{notClose} when (@variationToastIcon) {
484
495
  font-size: @toastIconFontSize;
485
496
  }
486
- &:not(.vertical) {
487
- &:not(.centered):not(.center) {
488
- & > i.icon:not(.close) when (@variationToastIcon) {
497
+ &@{notVertical} {
498
+ &@{notCentered}@{notCenter} {
499
+ & > i.icon@{notClose} when (@variationToastIcon) {
489
500
  position: absolute;
490
501
  }
491
502
  & > .ui.image when (@variationToastImage) {
492
503
  position: absolute;
493
504
  }
494
505
  }
495
- & > i.icon:not(.close) when (@variationToastIcon) {
506
+ & > i.icon@{notClose} when (@variationToastIcon) {
496
507
  & + .content {
497
508
  padding-left: @toastIconContentPadding;
498
509
  }
@@ -518,7 +529,7 @@
518
529
  min-height: @toastSmallImageHeight;
519
530
  }
520
531
  }
521
- &:not(.centered):not(.center) when (@variationToastImage) or (@variationToastIcon) {
532
+ &@{notCentered}@{notCenter} when (@variationToastImage) or (@variationToastIcon) {
522
533
  & > .centered.image,
523
534
  > .centered.icon {
524
535
  transform: translateY(-50%);
@@ -544,7 +555,7 @@
544
555
  }
545
556
  & when (@variationToastImage) or (@variationToastIcon) {
546
557
  & > .ui.image + .content,
547
- > i.icon:not(.close) + .content {
558
+ > i.icon@{notClose} + .content {
548
559
  padding-left: @toastImageContentPadding;
549
560
  }
550
561
  }
@@ -619,7 +630,7 @@
619
630
 
620
631
  & > .content,
621
632
  & > .ui.image,
622
- & > i.icon:not(.close) {
633
+ & > i.icon@{notClose} {
623
634
  align-self: center;
624
635
  }
625
636
  }
@@ -633,7 +644,7 @@
633
644
  .ui.toast-container .toast-box .center.aligned.actions {
634
645
  text-align: center;
635
646
 
636
- &:not(.attached) > .button:not(.fluid) {
647
+ &@{notAttached} > .button@{notFluid} {
637
648
  margin-left: @toastActionCenteredMargin;
638
649
  margin-right: @toastActionCenteredMargin;
639
650
  }
@@ -679,7 +690,7 @@
679
690
  width: auto;
680
691
  max-width: 100%;
681
692
  }
682
- & > *:not(.vertical) {
693
+ & > *@{notVertical} {
683
694
  min-width: @mobileWidth;
684
695
  }
685
696
  & when (@variationToastCard) {
@@ -17,6 +17,8 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notRaised: if(@variationCardRaised, e(":not(.raised)"));
21
+
20
22
  /*******************************
21
23
  Standard
22
24
  *******************************/
@@ -358,9 +360,9 @@
358
360
  /* --------------
359
361
  Basic
360
362
  --------------- */
361
- .ui.cards:not(.raised) > .basic.card:not(.raised),
362
- .ui.ui.ui.basic.cards:not(.raised) > .card:not(.raised),
363
- .ui.ui.ui.basic.card:not(.raised) {
363
+ .ui.cards@{notRaised} > .basic.card@{notRaised},
364
+ .ui.ui.ui.basic.cards@{notRaised} > .card@{notRaised},
365
+ .ui.ui.ui.basic.card@{notRaised} {
364
366
  box-shadow: none;
365
367
  & > .buttons,
366
368
  > .button {
@@ -369,8 +371,8 @@
369
371
  }
370
372
  }
371
373
  & when (@variationCardLink) {
372
- .ui.ui.ui.ui.ui.basic.card:not(.raised):hover,
373
- .ui.ui.ui.ui.ui.basic.cards:not(.raised) .card:not(.raised):hover {
374
+ .ui.ui.ui.ui.ui.basic.card@{notRaised}:hover,
375
+ .ui.ui.ui.ui.ui.basic.cards@{notRaised} .card@{notRaised}:hover {
374
376
  box-shadow: none;
375
377
  }
376
378
  }
@@ -17,6 +17,8 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notConnected: if(@variationFeedConnected, e(":not(.connected)"));
21
+
20
22
  /*******************************
21
23
  Activity Feed
22
24
  *******************************/
@@ -47,7 +49,7 @@
47
49
  border-top: @eventDivider;
48
50
  }
49
51
  }
50
- .ui.feed:not(.connected) > .event:first-child {
52
+ .ui.feed@{notConnected} > .event:first-child {
51
53
  padding-top: 0;
52
54
  }
53
55
  .ui.feed > .event:last-child {
@@ -17,6 +17,8 @@
17
17
 
18
18
  @import (multiple) "../../theme.config";
19
19
 
20
+ @notUnstackable: if(@variationItemUnstackable, e(":not(.unstackable)"));
21
+
20
22
  /*******************************
21
23
  Standard
22
24
  *******************************/
@@ -370,22 +372,22 @@
370
372
 
371
373
  /* Mobile Only */
372
374
  @media only screen and (max-width: @largestMobileScreen) {
373
- .ui.items:not(.unstackable) > .item {
375
+ .ui.items@{notUnstackable} > .item {
374
376
  flex-direction: column;
375
377
  margin: @mobileItemSpacing 0;
376
378
  }
377
- .ui.items:not(.unstackable) > .item > .image {
379
+ .ui.items@{notUnstackable} > .item > .image {
378
380
  display: block;
379
381
  margin-left: auto;
380
382
  margin-right: auto;
381
383
  }
382
- .ui.items:not(.unstackable) > .item > .image,
383
- .ui.items:not(.unstackable) > .item > .image > img {
384
+ .ui.items@{notUnstackable} > .item > .image,
385
+ .ui.items@{notUnstackable} > .item > .image > img {
384
386
  max-width: 100% !important;
385
387
  width: @mobileImageWidth !important;
386
388
  max-height: @mobileImageMaxHeight !important;
387
389
  }
388
- .ui.items:not(.unstackable) > .item > .image + .content {
390
+ .ui.items@{notUnstackable} > .item > .image + .content {
389
391
  display: block;
390
392
  padding: @mobileContentImageDistance 0 0;
391
393
  }
@@ -186,6 +186,7 @@
186
186
  @variationLoaderIndeterminate: true;
187
187
  @variationLoaderText: true;
188
188
  @variationLoaderInline: true;
189
+ @variationLoaderDouble: true;
189
190
  @variationLoaderElastic: true;
190
191
  @variationLoaderSizes: @variationAllSizes;
191
192
  @variationLoaderColors: @variationAllColors;
@@ -257,6 +258,7 @@
257
258
  @variationStepEqualWidth: true;
258
259
  @variationStepSizes: @variationAllSizes;
259
260
  @variationStepCircular: true;
261
+ @variationStepUnstackable: true;
260
262
  @variationStepColors: @variationAllColors;
261
263
 
262
264
  /* Text */
@@ -286,6 +288,7 @@
286
288
  @variationFormGrouped: true;
287
289
  @variationFormEqualWidth: true;
288
290
  @variationFormWide: true;
291
+ @variationFormUnstackable: true;
289
292
  @variationFormSizes: @variationAllSizes;
290
293
 
291
294
  /* Grid */
@@ -298,6 +301,7 @@
298
301
  @variationGridPadded: true;
299
302
  @variationGridFloated: true;
300
303
  @variationGridDivided: true;
304
+ @variationGridHorizontal: true;
301
305
  @variationGridVertical: true;
302
306
  @variationGridAligned: true;
303
307
  @variationGridAttached: true;
@@ -393,6 +397,9 @@
393
397
  @variationTableOverflowingVeryShort: true;
394
398
  @variationTableOverflowingLong: true;
395
399
  @variationTableOverflowingVeryLong: true;
400
+ @variationTableRowSpanned: true;
401
+ @variationTableFullWidth: true;
402
+ @variationTableUnstackable: true;
396
403
  @variationTableSizes: @variationAllSizes;
397
404
  @variationTableColors: @variationAllColors;
398
405
 
@@ -529,6 +536,7 @@
529
536
  @variationCheckboxReadonly: true;
530
537
  @variationCheckboxInverted: true;
531
538
  @variationCheckboxInvisible: true;
539
+ @variationCheckboxCompact: true;
532
540
  @variationCheckboxRadio: true;
533
541
  @variationCheckboxSlider: true;
534
542
  @variationCheckboxToggle: true;
@@ -575,6 +583,7 @@
575
583
  @variationDropdownPointing: true;
576
584
  @variationDropdownColumnar: true;
577
585
  @variationDropdownScrollhint: true;
586
+ @variationDropdownUnlimited: true;
578
587
  @variationDropdownHighlightMatches: false;
579
588
  @variationDropdownSizes: @variationAllSizes;
580
589
 
@@ -598,6 +607,7 @@
598
607
  @variationFlyoutRight: true;
599
608
  @variationFlyoutOverlay: true;
600
609
  @variationFlyoutScrolling: true;
610
+ @variationFlyoutClose: true;
601
611
 
602
612
  /* Modal */
603
613
  @variationModalInverted: true;
@@ -608,6 +618,7 @@
608
618
  @variationModalResizable: true;
609
619
  @variationModalScrolling: true;
610
620
  @variationModalLegacy: true;
621
+ @variationModalClose: true;
611
622
  @variationModalCloseInside: true;
612
623
  @variationModalCentered: true;
613
624
  @variationModalActions: true;
@@ -670,7 +681,7 @@
670
681
 
671
682
  /* Search */
672
683
  @variationSearchDisabled: true;
673
- @variationSearchSelection: true;
684
+ @variationSearchClear: true;
674
685
  @variationSearchCategory: true;
675
686
  @variationSearchHorizontalCategory: true;
676
687
  @variationSearchLoading: true;
@@ -749,7 +760,8 @@
749
760
  @variationToastVertical: true;
750
761
  @variationToastAttached: true;
751
762
  @variationToastCompact: true;
752
- @variationToastCentered: true;
763
+ @variationToastBasic: true;
764
+ @variationToastUnclickable: true;
753
765
  @variationToastColors: @variationAllColors;
754
766
 
755
767
  /* Transition */
@@ -126,20 +126,20 @@
126
126
  Types
127
127
  *******************************/
128
128
 
129
- /* Selection */
130
- @selectionPromptBorderRadius: @defaultBorderRadius;
131
-
132
- @selectionCloseTop: 0;
133
- @selectionCloseTransition:
134
- color @defaultDuration @defaultEasing,
135
- opacity @defaultDuration @defaultEasing;
136
- @selectionCloseRight: 0;
137
- @selectionCloseIconOpacity: 0.8;
138
- @selectionCloseIconColor: "";
139
- @selectionCloseIconHoverOpacity: 1;
140
- @selectionCloseIconHoverColor: @red;
141
-
142
- @selectionCloseIconInputRight: 1.85714em;
129
+ /* Clearable */
130
+ @clearableIconTransition: opacity @defaultDuration @defaultEasing;
131
+ @clearableIconOpacity: 0.6;
132
+ @clearableIconHoverOpacity: 1;
133
+ @clearableIconWidth: 1em;
134
+ @clearableIconHeight: @clearableIconWidth;
135
+
136
+ @clearableIconInputRight: 1.85714em;
137
+
138
+ /*
139
+ * Times icon taken from Font Awesome Free 5.15.4 by @fontawesome [https://fontawesome.com]
140
+ * License - https://fontawesome.com/license/free
141
+ */
142
+ @clearableIconBackground: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512'%3E%3Cpath d='M242.7 256l100.1-100.1c12.3-12.3 12.3-32.2 0-44.5l-22.2-22.2c-12.3-12.3-32.2-12.3-44.5 0L176 189.3 75.9 89.2c-12.3-12.3-32.2-12.3-44.5 0L9.2 111.5c-12.3 12.3-12.3 32.2 0 44.5L109.3 256 9.2 356.1c-12.3 12.3-12.3 32.2 0 44.5l22.2 22.2c12.3 12.3 32.2 12.3 44.5 0L176 322.7l100.1 100.1c12.3 12.3 32.2 12.3 44.5 0l22.2-22.2c12.3-12.3 12.3-32.2 0-44.5L242.7 256z'/%3E%3C/svg%3E") no-repeat;
143
143
 
144
144
  /* Category */
145
145
  @categoryBackground: @darkWhite;
@@ -7,7 +7,10 @@ const requireDotFile = require('require-dot-file');
7
7
  let
8
8
  config,
9
9
  npmPackage,
10
- version
10
+ version,
11
+ revision,
12
+ versionInFileName,
13
+ includeVersionInFileName
11
14
  ;
12
15
 
13
16
  /*******************************
@@ -31,6 +34,20 @@ version = npmPackage && npmPackage.version !== undefined && npmPackage.name ===
31
34
  ? npmPackage.version
32
35
  : config.version;
33
36
 
37
+ // looks for revision in config.
38
+ revision = config.revision === undefined ? '' : config.revision;
39
+
40
+ includeVersionInFileName = config.includeVersionInFileName === undefined ? false : config.includeVersionInFileName;
41
+
42
+ versionInFileName = '';
43
+
44
+ if (includeVersionInFileName) {
45
+ versionInFileName = '-' + version;
46
+ if (revision !== '') {
47
+ versionInFileName += '-' + revision;
48
+ }
49
+ }
50
+
34
51
  /*******************************
35
52
  Export
36
53
  *******************************/
@@ -54,5 +71,6 @@ module.exports = {
54
71
  + ' */\n',
55
72
 
56
73
  version: version,
74
+ versionInFileName: versionInFileName,
57
75
 
58
76
  };
@@ -40,12 +40,12 @@ module.exports = {
40
40
  },
41
41
 
42
42
  filenames: {
43
- concatenatedCSS: 'semantic.css',
44
- concatenatedJS: 'semantic.js',
45
- concatenatedMinifiedCSS: 'semantic.min.css',
46
- concatenatedMinifiedJS: 'semantic.min.js',
47
- concatenatedRTLCSS: 'semantic.rtl.css',
48
- concatenatedMinifiedRTLCSS: 'semantic.rtl.min.css',
43
+ concatenatedCSS: 'semantic' + release.versionInFileName + '.css',
44
+ concatenatedJS: 'semantic' + release.versionInFileName + '.js',
45
+ concatenatedMinifiedCSS: 'semantic' + release.versionInFileName + '.min.css',
46
+ concatenatedMinifiedJS: 'semantic' + release.versionInFileName + '.min.js',
47
+ concatenatedRTLCSS: 'semantic' + release.versionInFileName + '.rtl.css',
48
+ concatenatedMinifiedRTLCSS: 'semantic' + release.versionInFileName + '.rtl.min.css',
49
49
  },
50
50
 
51
51
  regExp: {