fomantic-ui 2.9.1-beta.22 → 2.9.1-beta.24
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.
- package/.eslint/index.js +23 -0
- package/.eslint/no-extra-parens-rule.js +17 -0
- package/.eslint/package.json +11 -0
- package/.eslintrc.js +13 -70
- package/.stylelintrc.js +5 -7
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +26 -26
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +95 -94
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +3 -3
- package/dist/components/calendar.js +181 -151
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +14 -14
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +23 -25
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +252 -254
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +27 -33
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +2 -2
- package/dist/components/flyout.js +50 -44
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +2 -2
- package/dist/components/form.js +187 -163
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +49 -45
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +22 -20
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +71 -71
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +46 -46
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +15 -15
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +69 -74
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +39 -39
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +39 -37
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +22 -21
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.js +69 -64
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +15 -15
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +25 -25
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +55 -57
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +57 -30
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +7 -7
- package/dist/components/transition.js +45 -39
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +25 -25
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +60 -60
- package/dist/semantic.js +1518 -1427
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/examples/responsive.html +1 -1
- package/gulpfile.js +1 -1
- package/package.json +2 -1
- package/scripts/nightly-version.js +6 -4
- package/src/definitions/behaviors/api.js +94 -93
- package/src/definitions/behaviors/form.js +186 -162
- package/src/definitions/behaviors/state.js +14 -14
- package/src/definitions/behaviors/visibility.js +24 -24
- package/src/definitions/collections/menu.less +2 -2
- package/src/definitions/elements/button.less +2 -2
- package/src/definitions/elements/loader.less +4 -4
- package/src/definitions/elements/step.less +1 -1
- package/src/definitions/globals/site.js +21 -20
- package/src/definitions/modules/accordion.js +25 -25
- package/src/definitions/modules/calendar.js +180 -150
- package/src/definitions/modules/calendar.less +2 -2
- package/src/definitions/modules/checkbox.js +13 -13
- package/src/definitions/modules/dimmer.js +22 -24
- package/src/definitions/modules/dimmer.less +10 -10
- package/src/definitions/modules/dropdown.js +251 -253
- package/src/definitions/modules/embed.js +26 -32
- package/src/definitions/modules/flyout.js +49 -43
- package/src/definitions/modules/flyout.less +1 -1
- package/src/definitions/modules/modal.js +48 -44
- package/src/definitions/modules/nag.js +21 -19
- package/src/definitions/modules/popup.js +70 -70
- package/src/definitions/modules/progress.js +45 -45
- package/src/definitions/modules/rating.js +14 -14
- package/src/definitions/modules/search.js +68 -73
- package/src/definitions/modules/shape.js +38 -38
- package/src/definitions/modules/sidebar.js +38 -36
- package/src/definitions/modules/slider.js +68 -63
- package/src/definitions/modules/sticky.js +24 -24
- package/src/definitions/modules/tab.js +54 -56
- package/src/definitions/modules/toast.js +56 -29
- package/src/definitions/modules/transition.js +44 -38
- package/src/themes/amazon/elements/button.overrides +7 -7
- package/src/themes/default/collections/form.variables +1 -1
- package/src/themes/default/elements/reveal.variables +1 -1
- package/src/themes/default/globals/site.variables +1 -1
- package/src/themes/default/modules/dimmer.variables +6 -6
- package/src/themes/default/modules/modal.variables +1 -1
- package/src/themes/default/modules/slider.variables +4 -4
- package/src/themes/default/modules/toast.variables +2 -2
- package/src/themes/default/modules/transition.overrides +12 -12
- package/src/themes/flat/collections/form.overrides +2 -2
- package/src/themes/flat/globals/site.variables +1 -1
- package/src/themes/github/collections/form.overrides +2 -2
- package/src/themes/github/collections/menu.variables +1 -1
- package/src/themes/github/collections/message.overrides +3 -3
- package/src/themes/github/elements/input.overrides +2 -2
- package/src/themes/timeline/views/feed.overrides +3 -3
- package/src/themes/twitter/elements/button.overrides +2 -2
- package/tasks/README.md +1 -3
- package/tasks/admin/components/create.js +9 -16
- package/tasks/admin/components/init.js +7 -7
- package/tasks/admin/components/update.js +10 -10
- package/tasks/admin/distributions/create.js +16 -18
- package/tasks/admin/distributions/init.js +7 -7
- package/tasks/admin/distributions/update.js +10 -10
- package/tasks/admin/publish.js +1 -3
- package/tasks/admin/register.js +6 -6
- package/tasks/admin/release.js +1 -3
- package/tasks/build/assets.js +2 -2
- package/tasks/build/css.js +8 -3
- package/tasks/build/javascript.js +3 -1
- package/tasks/build.js +1 -1
- package/tasks/check-install.js +1 -1
- package/tasks/clean.js +1 -1
- package/tasks/collections/README.md +3 -5
- package/tasks/collections/admin.js +1 -1
- package/tasks/collections/docs.js +1 -1
- package/tasks/collections/install.js +1 -1
- package/tasks/collections/rtl.js +1 -1
- package/tasks/collections/various.js +1 -1
- package/tasks/config/admin/github.js +6 -8
- package/tasks/config/admin/templates/css-package.js +1 -1
- package/tasks/config/admin/templates/less-package.js +1 -1
- package/tasks/config/npm/gulpfile.js +7 -7
- package/tasks/config/project/config.js +14 -19
- package/tasks/config/project/install.js +35 -34
- package/tasks/config/project/release.js +15 -16
- package/tasks/config/tasks.js +18 -20
- package/tasks/config/user.js +5 -3
- package/tasks/docs/build.js +5 -3
- package/tasks/docs/metadata.js +7 -8
- package/tasks/docs/serve.js +6 -3
- package/tasks/install.js +39 -39
- package/tasks/rtl/build.js +1 -3
- package/tasks/rtl/watch.js +1 -3
- package/tasks/version.js +1 -3
- package/tasks/watch.js +1 -1
- package/test/.eslintrc.js +0 -4
- package/test/meteor/assets.js +1 -1
- package/test/modules/module.spec.js +15 -15
- package/test/modules/popup.spec.js +1 -1
- package/test/modules/search.spec.js +1 -1
- package/test/modules/tab.spec.js +1 -1
- package/test/modules/transition.spec.js +1 -1
@@ -15,7 +15,7 @@
|
|
15
15
|
return typeof obj === 'function' && typeof obj.nodeType !== 'number';
|
16
16
|
}
|
17
17
|
|
18
|
-
window =
|
18
|
+
window = window !== undefined && window.Math === Math
|
19
19
|
? window
|
20
20
|
: globalThis;
|
21
21
|
|
@@ -24,13 +24,13 @@
|
|
24
24
|
$allModules = $(this),
|
25
25
|
moduleSelector = $allModules.selector || '',
|
26
26
|
|
27
|
-
time =
|
27
|
+
time = Date.now(),
|
28
28
|
performance = [],
|
29
29
|
|
30
30
|
moduleArguments = arguments,
|
31
31
|
query = moduleArguments[0],
|
32
32
|
queryArguments = [].slice.call(arguments, 1),
|
33
|
-
methodInvoked =
|
33
|
+
methodInvoked = typeof query === 'string',
|
34
34
|
|
35
35
|
returnedValue
|
36
36
|
;
|
@@ -139,11 +139,11 @@
|
|
139
139
|
? module.get.direction()
|
140
140
|
: 'static';
|
141
141
|
}
|
142
|
-
interval =
|
142
|
+
interval = interval !== undefined
|
143
143
|
? interval
|
144
144
|
: settings.interval;
|
145
|
-
shouldReverse =
|
146
|
-
delay =
|
145
|
+
shouldReverse = settings.reverse == 'auto' && direction == className.outward;
|
146
|
+
delay = shouldReverse || settings.reverse === true
|
147
147
|
? ($allModules.length - index) * interval
|
148
148
|
: index * interval;
|
149
149
|
module.debug('Delaying animation by', delay);
|
@@ -167,14 +167,15 @@
|
|
167
167
|
}
|
168
168
|
|
169
169
|
return false;
|
170
|
-
}
|
170
|
+
}
|
171
|
+
if (!settings.allowRepeats && module.is.occurring()) {
|
171
172
|
module.debug('Animation is already occurring, will not execute repeated animation', settings.animation);
|
172
173
|
|
173
174
|
return false;
|
174
|
-
} else {
|
175
|
-
module.debug('New animation started, completing previous early', settings.animation);
|
176
|
-
instance.complete();
|
177
175
|
}
|
176
|
+
|
177
|
+
module.debug('New animation started, completing previous early', settings.animation);
|
178
|
+
instance.complete();
|
178
179
|
}
|
179
180
|
if (module.can.animate()) {
|
180
181
|
module.set.animating(settings.animation);
|
@@ -252,7 +253,7 @@
|
|
252
253
|
var
|
253
254
|
style = $module.attr('style'),
|
254
255
|
currentDisplay = $module.css('display'),
|
255
|
-
emptyStyle =
|
256
|
+
emptyStyle = style === undefined || style === ''
|
256
257
|
;
|
257
258
|
if (currentDisplay !== 'none' && !module.is.hidden()) {
|
258
259
|
module.verbose('Overriding default display to hide element');
|
@@ -314,7 +315,7 @@
|
|
314
315
|
},
|
315
316
|
duration: function (animationName, duration) {
|
316
317
|
duration = duration || settings.duration;
|
317
|
-
duration =
|
318
|
+
duration = typeof duration === 'number'
|
318
319
|
? duration + 'ms'
|
319
320
|
: duration;
|
320
321
|
if (duration || duration === 0) {
|
@@ -488,38 +489,43 @@
|
|
488
489
|
},
|
489
490
|
get: {
|
490
491
|
settings: function (animation, duration, onComplete) {
|
491
|
-
if (typeof animation
|
492
|
+
if (typeof animation === 'object') { // single settings object
|
492
493
|
return $.extend(true, {}, $.fn.transition.settings, animation);
|
493
|
-
}
|
494
|
+
}
|
495
|
+
if (typeof onComplete === 'function') { // all arguments provided
|
494
496
|
return $.extend({}, $.fn.transition.settings, {
|
495
497
|
animation: animation,
|
496
498
|
onComplete: onComplete,
|
497
499
|
duration: duration,
|
498
500
|
});
|
499
|
-
}
|
501
|
+
}
|
502
|
+
if (typeof duration === 'string' || typeof duration === 'number') { // only duration provided
|
500
503
|
return $.extend({}, $.fn.transition.settings, {
|
501
504
|
animation: animation,
|
502
505
|
duration: duration,
|
503
506
|
});
|
504
|
-
}
|
507
|
+
}
|
508
|
+
if (typeof duration === 'object') { // duration is actually settings object
|
505
509
|
return $.extend({}, $.fn.transition.settings, duration, {
|
506
510
|
animation: animation,
|
507
511
|
});
|
508
|
-
}
|
512
|
+
}
|
513
|
+
if (typeof duration === 'function') { // duration is actually callback
|
509
514
|
return $.extend({}, $.fn.transition.settings, {
|
510
515
|
animation: animation,
|
511
516
|
onComplete: duration,
|
512
517
|
});
|
513
|
-
} else { // only animation provided
|
514
|
-
return $.extend({}, $.fn.transition.settings, {
|
515
|
-
animation: animation,
|
516
|
-
});
|
517
518
|
}
|
519
|
+
|
520
|
+
// only animation provided
|
521
|
+
return $.extend({}, $.fn.transition.settings, {
|
522
|
+
animation: animation,
|
523
|
+
});
|
518
524
|
},
|
519
525
|
animationClass: function (animation) {
|
520
526
|
var
|
521
527
|
animationClass = animation || settings.animation,
|
522
|
-
directionClass =
|
528
|
+
directionClass = module.can.transition() && !module.has.direction()
|
523
529
|
? module.get.direction() + ' '
|
524
530
|
: ''
|
525
531
|
;
|
@@ -530,7 +536,7 @@
|
|
530
536
|
+ animationClass;
|
531
537
|
},
|
532
538
|
currentAnimation: function () {
|
533
|
-
return
|
539
|
+
return module.cache && module.cache.animation !== undefined
|
534
540
|
? module.cache.animation
|
535
541
|
: false;
|
536
542
|
},
|
@@ -573,14 +579,14 @@
|
|
573
579
|
duration = $module.css('animation-duration') || 0;
|
574
580
|
}
|
575
581
|
|
576
|
-
return
|
577
|
-
? (duration.indexOf('ms') > -1
|
582
|
+
return typeof duration === 'string'
|
583
|
+
? (duration.indexOf('ms') > -1
|
578
584
|
? parseFloat(duration)
|
579
|
-
: parseFloat(duration) * 1000
|
585
|
+
: parseFloat(duration) * 1000)
|
580
586
|
: duration;
|
581
587
|
},
|
582
588
|
displayType: function (shouldDetermine) {
|
583
|
-
shouldDetermine =
|
589
|
+
shouldDetermine = shouldDetermine !== undefined
|
584
590
|
? shouldDetermine
|
585
591
|
: true;
|
586
592
|
if (settings.displayType) {
|
@@ -708,13 +714,13 @@
|
|
708
714
|
module.save.transitionExists(animation, directionExists);
|
709
715
|
}
|
710
716
|
|
711
|
-
return
|
717
|
+
return transitionExists !== undefined
|
712
718
|
? transitionExists
|
713
719
|
: directionExists;
|
714
720
|
},
|
715
721
|
animate: function () {
|
716
722
|
// can transition does not return a value if animation does not exist
|
717
|
-
return
|
723
|
+
return module.can.transition() !== undefined;
|
718
724
|
},
|
719
725
|
},
|
720
726
|
|
@@ -735,7 +741,7 @@
|
|
735
741
|
animation = animation || settings.animation;
|
736
742
|
animation = '.' + animation.replace(' ', '.');
|
737
743
|
|
738
|
-
return
|
744
|
+
return $module.filter(animation).length > 0;
|
739
745
|
},
|
740
746
|
visible: function () {
|
741
747
|
return $module.is(':visible');
|
@@ -744,7 +750,7 @@
|
|
744
750
|
return $module.css('visibility') === 'hidden';
|
745
751
|
},
|
746
752
|
supported: function () {
|
747
|
-
return
|
753
|
+
return animationEnd !== false;
|
748
754
|
},
|
749
755
|
},
|
750
756
|
|
@@ -878,7 +884,7 @@
|
|
878
884
|
previousTime
|
879
885
|
;
|
880
886
|
if (settings.performance) {
|
881
|
-
currentTime =
|
887
|
+
currentTime = Date.now();
|
882
888
|
previousTime = time || currentTime;
|
883
889
|
executionTime = currentTime - previousTime;
|
884
890
|
time = currentTime;
|
@@ -907,7 +913,7 @@
|
|
907
913
|
title += ' \'' + moduleSelector + '\'';
|
908
914
|
}
|
909
915
|
if ($allModules.length > 1) {
|
910
|
-
title += '
|
916
|
+
title += ' (' + $allModules.length + ')';
|
911
917
|
}
|
912
918
|
if ((console.group !== undefined || console.table !== undefined) && performance.length > 0) {
|
913
919
|
console.groupCollapsed(title);
|
@@ -933,11 +939,11 @@
|
|
933
939
|
;
|
934
940
|
passedArguments = passedArguments || queryArguments;
|
935
941
|
context = context || element;
|
936
|
-
if (typeof query
|
937
|
-
query = query.split(/[
|
942
|
+
if (typeof query === 'string' && object !== undefined) {
|
943
|
+
query = query.split(/[ .]/);
|
938
944
|
maxDepth = query.length - 1;
|
939
945
|
$.each(query, function (depth, value) {
|
940
|
-
var camelCaseValue =
|
946
|
+
var camelCaseValue = depth != maxDepth
|
941
947
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
942
948
|
: query
|
943
949
|
;
|
@@ -972,7 +978,7 @@
|
|
972
978
|
returnedValue = response;
|
973
979
|
}
|
974
980
|
|
975
|
-
return
|
981
|
+
return found !== undefined
|
976
982
|
? found
|
977
983
|
: false;
|
978
984
|
},
|
@@ -980,7 +986,7 @@
|
|
980
986
|
module.initialize();
|
981
987
|
});
|
982
988
|
|
983
|
-
return
|
989
|
+
return returnedValue !== undefined
|
984
990
|
? returnedValue
|
985
991
|
: this;
|
986
992
|
};
|
@@ -1,23 +1,23 @@
|
|
1
1
|
.ui.button {
|
2
|
-
background-image: linear-gradient(center top, #
|
2
|
+
background-image: linear-gradient(center top, #f7f8fa, #e7e9ec) repeat scroll 0 0 rgba(0, 0, 0, 0);
|
3
3
|
}
|
4
4
|
|
5
5
|
.ui.primary.button {
|
6
|
-
color: #
|
6
|
+
color: #111;
|
7
7
|
border: 1px solid;
|
8
|
-
border-color: #
|
8
|
+
border-color: #c59f43 #aa8326 #957321;
|
9
9
|
}
|
10
10
|
.ui.primary.button:hover {
|
11
|
-
border-color: #
|
12
|
-
color: #
|
11
|
+
border-color: #c59f43 #aa8326 #957321;
|
12
|
+
color: #111;
|
13
13
|
}
|
14
14
|
|
15
15
|
.ui.secondary.button {
|
16
16
|
border: 1px solid;
|
17
|
-
border-color: #
|
17
|
+
border-color: #3d444c #2f353b #2c3137;
|
18
18
|
}
|
19
19
|
.ui.secondary.button:hover {
|
20
|
-
border-color: #
|
20
|
+
border-color: #32373e #24282d #212429;
|
21
21
|
}
|
22
22
|
|
23
23
|
.ui.labeled.icon.buttons .button > .icon,
|
@@ -164,7 +164,7 @@
|
|
164
164
|
@inlineLabelTextTransform: @labelTextTransform;
|
165
165
|
@inlineCalendarWidth: 13.11em;
|
166
166
|
|
167
|
-
@groupedInlineLabelMargin: 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.
|
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.
|
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
|
61
|
-
@lightBackgroundColor: rgba(0,0,0
|
62
|
-
@mediumBackgroundColor: rgba(0,0,0
|
63
|
-
@veryLightInvertedBackgroundColor: rgba(255,255,255
|
64
|
-
@lightInvertedBackgroundColor: rgba(255,255,255
|
65
|
-
@mediumInvertedBackgroundColor: rgba(255,255,255
|
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
|
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.
|
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.
|
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: #
|
1009
|
+
background-color: #fcfcfd;
|
1010
1010
|
}
|
1011
1011
|
30% {
|
1012
|
-
background-color: #
|
1012
|
+
background-color: #fff6cd;
|
1013
1013
|
}
|
1014
1014
|
100% {
|
1015
|
-
background-color: #
|
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 #
|
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 #
|
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.
|
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: #
|
6
|
+
background-color: #fafafa;
|
7
7
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset;
|
8
|
-
border-color: #
|
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
|
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(#
|
2
|
+
background: linear-gradient(#d8ebf8, #d0e3ef);
|
3
3
|
}
|
4
4
|
.ui.error.message {
|
5
|
-
background: linear-gradient(#
|
5
|
+
background: linear-gradient(#f8d8d8, #efd0d0);
|
6
6
|
}
|
7
7
|
.ui.warning.message {
|
8
|
-
background: linear-gradient(#
|
8
|
+
background: linear-gradient(#ffe3c8, #f5dac0);
|
9
9
|
}
|
10
10
|
.ui.success.message {
|
11
11
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
*******************************/
|
4
4
|
|
5
5
|
.ui.feed > .event .label {
|
6
|
-
border-left: 3px solid #
|
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: #
|
18
|
+
background-color: #009fda;
|
19
19
|
border-radius: 500rem;
|
20
|
-
color: #
|
20
|
+
color: #fff;
|
21
21
|
width: 3rem;
|
22
22
|
height: 3rem;
|
23
23
|
line-height: 1.5;
|
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
|
-
|
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
|
-
|
17
|
+
const
|
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
|
-
|
44
|
+
let
|
45
45
|
stream,
|
46
46
|
index,
|
47
47
|
tasks = []
|
48
48
|
;
|
49
49
|
|
50
50
|
for (index in release.components) {
|
51
|
-
|
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
|
-
|
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\(([
|
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
|
-
|
175
|
-
|
176
|
-
|
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
|
-
|
262
|
+
let
|
270
263
|
filenames = ''
|
271
264
|
;
|
272
265
|
|