fomantic-ui 2.9.0-beta.243 → 2.9.0-beta.246
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/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- 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 +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- 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 +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- 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 +11 -5
- 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 +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +10145 -8137
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +4 -1
- package/dist/components/flag.min.css +2 -2
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- 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 +7 -7
- package/dist/components/modal.js +6 -3
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- 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 +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- 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 +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- 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 +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- 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 +3 -3
- 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 +7 -5
- 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 +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- 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 +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- 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 +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +21 -16
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +10709 -8195
- package/dist/semantic.js +68 -52
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/modules/dimmer.js +10 -4
- package/src/definitions/modules/modal.js +5 -2
- package/src/definitions/modules/modal.less +6 -6
- package/src/definitions/modules/shape.js +2 -2
- package/src/definitions/modules/sidebar.js +6 -4
- package/src/definitions/modules/transition.js +20 -15
- package/src/themes/default/elements/emoji.overrides +1734 -1232
- package/src/themes/default/elements/flag.overrides +6 -0
- package/src/themes/joypixels/elements/emoji.overrides +1759 -1257
- package/src/themes/joypixels/elements/emoji.variables +1 -1
- package/src/themes/twitter/elements/emoji.overrides +1734 -1232
package/dist/semantic.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.0-beta.
|
2
|
+
* # Fomantic UI - 2.9.0-beta.246
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
4
4
|
* http://fomantic-ui.com/
|
5
5
|
*
|
@@ -9,7 +9,7 @@
|
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
/*!
|
12
|
-
* # Fomantic-UI 2.9.0-beta.
|
12
|
+
* # Fomantic-UI 2.9.0-beta.246 - Site
|
13
13
|
* http://github.com/fomantic/Fomantic-UI/
|
14
14
|
*
|
15
15
|
*
|
@@ -503,7 +503,7 @@ $.extend($.expr[ ":" ], {
|
|
503
503
|
})( jQuery, window, document );
|
504
504
|
|
505
505
|
/*!
|
506
|
-
* # Fomantic-UI 2.9.0-beta.
|
506
|
+
* # Fomantic-UI 2.9.0-beta.246 - Form Validation
|
507
507
|
* http://github.com/fomantic/Fomantic-UI/
|
508
508
|
*
|
509
509
|
*
|
@@ -2577,7 +2577,7 @@ $.fn.form.settings = {
|
|
2577
2577
|
})( jQuery, window, document );
|
2578
2578
|
|
2579
2579
|
/*!
|
2580
|
-
* # Fomantic-UI 2.9.0-beta.
|
2580
|
+
* # Fomantic-UI 2.9.0-beta.246 - Accordion
|
2581
2581
|
* http://github.com/fomantic/Fomantic-UI/
|
2582
2582
|
*
|
2583
2583
|
*
|
@@ -3196,7 +3196,7 @@ $.extend( $.easing, {
|
|
3196
3196
|
|
3197
3197
|
|
3198
3198
|
/*!
|
3199
|
-
* # Fomantic-UI 2.9.0-beta.
|
3199
|
+
* # Fomantic-UI 2.9.0-beta.246 - Calendar
|
3200
3200
|
* http://github.com/fomantic/Fomantic-UI/
|
3201
3201
|
*
|
3202
3202
|
*
|
@@ -5070,7 +5070,7 @@ $.fn.calendar.settings = {
|
|
5070
5070
|
})(jQuery, window, document);
|
5071
5071
|
|
5072
5072
|
/*!
|
5073
|
-
* # Fomantic-UI 2.9.0-beta.
|
5073
|
+
* # Fomantic-UI 2.9.0-beta.246 - Checkbox
|
5074
5074
|
* http://github.com/fomantic/Fomantic-UI/
|
5075
5075
|
*
|
5076
5076
|
*
|
@@ -5953,7 +5953,7 @@ $.fn.checkbox.settings = {
|
|
5953
5953
|
})( jQuery, window, document );
|
5954
5954
|
|
5955
5955
|
/*!
|
5956
|
-
* # Fomantic-UI 2.9.0-beta.
|
5956
|
+
* # Fomantic-UI 2.9.0-beta.246 - Dimmer
|
5957
5957
|
* http://github.com/fomantic/Fomantic-UI/
|
5958
5958
|
*
|
5959
5959
|
*
|
@@ -6146,11 +6146,14 @@ $.fn.dimmer = function(parameters) {
|
|
6146
6146
|
? callback
|
6147
6147
|
: function(){}
|
6148
6148
|
;
|
6149
|
-
module.debug('Showing dimmer', $dimmer, settings);
|
6150
|
-
module.set.variation();
|
6151
6149
|
if( (!module.is.dimmed() || module.is.animating()) && module.is.enabled() ) {
|
6150
|
+
if(settings.onShow.call(element) === false) {
|
6151
|
+
module.verbose('Show callback returned false cancelling dimmer show');
|
6152
|
+
return;
|
6153
|
+
}
|
6154
|
+
module.debug('Showing dimmer', $dimmer, settings);
|
6155
|
+
module.set.variation();
|
6152
6156
|
module.animate.show(callback);
|
6153
|
-
settings.onShow.call(element);
|
6154
6157
|
settings.onChange.call(element);
|
6155
6158
|
}
|
6156
6159
|
else {
|
@@ -6164,9 +6167,12 @@ $.fn.dimmer = function(parameters) {
|
|
6164
6167
|
: function(){}
|
6165
6168
|
;
|
6166
6169
|
if( module.is.dimmed() || module.is.animating() ) {
|
6170
|
+
if(settings.onHide.call(element) === false) {
|
6171
|
+
module.verbose('Hide callback returned false cancelling dimmer hide');
|
6172
|
+
return;
|
6173
|
+
}
|
6167
6174
|
module.debug('Hiding dimmer', $dimmer);
|
6168
6175
|
module.animate.hide(callback);
|
6169
|
-
settings.onHide.call(element);
|
6170
6176
|
settings.onChange.call(element);
|
6171
6177
|
}
|
6172
6178
|
else {
|
@@ -6710,7 +6716,7 @@ $.fn.dimmer.settings = {
|
|
6710
6716
|
})( jQuery, window, document );
|
6711
6717
|
|
6712
6718
|
/*!
|
6713
|
-
* # Fomantic-UI 2.9.0-beta.
|
6719
|
+
* # Fomantic-UI 2.9.0-beta.246 - Dropdown
|
6714
6720
|
* http://github.com/fomantic/Fomantic-UI/
|
6715
6721
|
*
|
6716
6722
|
*
|
@@ -11065,7 +11071,7 @@ $.fn.dropdown.settings.templates = {
|
|
11065
11071
|
})( jQuery, window, document );
|
11066
11072
|
|
11067
11073
|
/*!
|
11068
|
-
* # Fomantic-UI 2.9.0-beta.
|
11074
|
+
* # Fomantic-UI 2.9.0-beta.246 - Embed
|
11069
11075
|
* http://github.com/fomantic/Fomantic-UI/
|
11070
11076
|
*
|
11071
11077
|
*
|
@@ -11775,7 +11781,7 @@ $.fn.embed.settings = {
|
|
11775
11781
|
})( jQuery, window, document );
|
11776
11782
|
|
11777
11783
|
/*!
|
11778
|
-
* # Fomantic-UI 2.9.0-beta.
|
11784
|
+
* # Fomantic-UI 2.9.0-beta.246 - Modal
|
11779
11785
|
* http://github.com/fomantic/Fomantic-UI/
|
11780
11786
|
*
|
11781
11787
|
*
|
@@ -12290,6 +12296,10 @@ $.fn.modal = function(parameters) {
|
|
12290
12296
|
: function(){}
|
12291
12297
|
;
|
12292
12298
|
if( module.is.animating() || !module.is.active() ) {
|
12299
|
+
if(settings.onShow.call(element) === false) {
|
12300
|
+
module.verbose('Show callback returned false cancelling show');
|
12301
|
+
return;
|
12302
|
+
}
|
12293
12303
|
module.showDimmer();
|
12294
12304
|
module.cacheSizes();
|
12295
12305
|
module.set.bodyMargin();
|
@@ -12319,7 +12329,6 @@ $.fn.modal = function(parameters) {
|
|
12319
12329
|
$module.detach().appendTo($dimmer);
|
12320
12330
|
}
|
12321
12331
|
}
|
12322
|
-
settings.onShow.call(element);
|
12323
12332
|
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
|
12324
12333
|
module.debug('Showing modal with css animations');
|
12325
12334
|
$module
|
@@ -12362,7 +12371,6 @@ $.fn.modal = function(parameters) {
|
|
12362
12371
|
? callback
|
12363
12372
|
: function(){}
|
12364
12373
|
;
|
12365
|
-
module.debug('Hiding modal');
|
12366
12374
|
if(settings.onHide.call(element, $(this)) === false) {
|
12367
12375
|
module.verbose('Hide callback returned false cancelling hide');
|
12368
12376
|
ignoreRepeatedEvents = false;
|
@@ -12370,6 +12378,7 @@ $.fn.modal = function(parameters) {
|
|
12370
12378
|
}
|
12371
12379
|
|
12372
12380
|
if( module.is.animating() || module.is.active() ) {
|
12381
|
+
module.debug('Hiding modal');
|
12373
12382
|
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
|
12374
12383
|
module.remove.active();
|
12375
12384
|
$module
|
@@ -13303,7 +13312,7 @@ $.fn.modal.settings.templates = {
|
|
13303
13312
|
})( jQuery, window, document );
|
13304
13313
|
|
13305
13314
|
/*!
|
13306
|
-
* # Fomantic-UI 2.9.0-beta.
|
13315
|
+
* # Fomantic-UI 2.9.0-beta.246 - Nag
|
13307
13316
|
* http://github.com/fomantic/Fomantic-UI/
|
13308
13317
|
*
|
13309
13318
|
*
|
@@ -13862,7 +13871,7 @@ $.extend( $.easing, {
|
|
13862
13871
|
})( jQuery, window, document );
|
13863
13872
|
|
13864
13873
|
/*!
|
13865
|
-
* # Fomantic-UI 2.9.0-beta.
|
13874
|
+
* # Fomantic-UI 2.9.0-beta.246 - Popup
|
13866
13875
|
* http://github.com/fomantic/Fomantic-UI/
|
13867
13876
|
*
|
13868
13877
|
*
|
@@ -15404,7 +15413,7 @@ $.fn.popup.settings = {
|
|
15404
15413
|
})( jQuery, window, document );
|
15405
15414
|
|
15406
15415
|
/*!
|
15407
|
-
* # Fomantic-UI 2.9.0-beta.
|
15416
|
+
* # Fomantic-UI 2.9.0-beta.246 - Progress
|
15408
15417
|
* http://github.com/fomantic/Fomantic-UI/
|
15409
15418
|
*
|
15410
15419
|
*
|
@@ -16441,7 +16450,7 @@ $.fn.progress.settings = {
|
|
16441
16450
|
})( jQuery, window, document );
|
16442
16451
|
|
16443
16452
|
/*!
|
16444
|
-
* # Fomantic-UI 2.9.0-beta.
|
16453
|
+
* # Fomantic-UI 2.9.0-beta.246 - Slider
|
16445
16454
|
* http://github.com/fomantic/Fomantic-UI/
|
16446
16455
|
*
|
16447
16456
|
*
|
@@ -17780,7 +17789,7 @@ $.fn.slider.settings = {
|
|
17780
17789
|
})( jQuery, window, document );
|
17781
17790
|
|
17782
17791
|
/*!
|
17783
|
-
* # Fomantic-UI 2.9.0-beta.
|
17792
|
+
* # Fomantic-UI 2.9.0-beta.246 - Rating
|
17784
17793
|
* http://github.com/fomantic/Fomantic-UI/
|
17785
17794
|
*
|
17786
17795
|
*
|
@@ -18335,7 +18344,7 @@ $.fn.rating.settings = {
|
|
18335
18344
|
})( jQuery, window, document );
|
18336
18345
|
|
18337
18346
|
/*!
|
18338
|
-
* # Fomantic-UI 2.9.0-beta.
|
18347
|
+
* # Fomantic-UI 2.9.0-beta.246 - Search
|
18339
18348
|
* http://github.com/fomantic/Fomantic-UI/
|
18340
18349
|
*
|
18341
18350
|
*
|
@@ -19903,7 +19912,7 @@ $.fn.search.settings = {
|
|
19903
19912
|
})( jQuery, window, document );
|
19904
19913
|
|
19905
19914
|
/*!
|
19906
|
-
* # Fomantic-UI 2.9.0-beta.
|
19915
|
+
* # Fomantic-UI 2.9.0-beta.246 - Shape
|
19907
19916
|
* http://github.com/fomantic/Fomantic-UI/
|
19908
19917
|
*
|
19909
19918
|
*
|
@@ -20030,7 +20039,7 @@ $.fn.shape = function(parameters) {
|
|
20030
20039
|
module.reset();
|
20031
20040
|
module.set.active();
|
20032
20041
|
};
|
20033
|
-
settings.
|
20042
|
+
settings.onBeforeChange.call($nextSide[0]);
|
20034
20043
|
if(module.get.transitionEvent()) {
|
20035
20044
|
module.verbose('Starting CSS animation');
|
20036
20045
|
$module
|
@@ -20717,7 +20726,7 @@ $.fn.shape.settings = {
|
|
20717
20726
|
height: 'initial',
|
20718
20727
|
|
20719
20728
|
// callback occurs on side change
|
20720
|
-
|
20729
|
+
onBeforeChange : function() {},
|
20721
20730
|
onChange : function() {},
|
20722
20731
|
|
20723
20732
|
// allow animation to same side
|
@@ -20752,7 +20761,7 @@ $.fn.shape.settings = {
|
|
20752
20761
|
})( jQuery, window, document );
|
20753
20762
|
|
20754
20763
|
/*!
|
20755
|
-
* # Fomantic-UI 2.9.0-beta.
|
20764
|
+
* # Fomantic-UI 2.9.0-beta.246 - Sidebar
|
20756
20765
|
* http://github.com/fomantic/Fomantic-UI/
|
20757
20766
|
*
|
20758
20767
|
*
|
@@ -21124,6 +21133,10 @@ $.fn.sidebar = function(parameters) {
|
|
21124
21133
|
: function(){}
|
21125
21134
|
;
|
21126
21135
|
if(module.is.hidden()) {
|
21136
|
+
if(settings.onShow.call(element) === false) {
|
21137
|
+
module.verbose('Show callback returned false cancelling show');
|
21138
|
+
return;
|
21139
|
+
}
|
21127
21140
|
module.refreshSidebars();
|
21128
21141
|
if(settings.overlay) {
|
21129
21142
|
module.error(error.overlay);
|
@@ -21148,10 +21161,9 @@ $.fn.sidebar = function(parameters) {
|
|
21148
21161
|
}
|
21149
21162
|
module.pushPage(function() {
|
21150
21163
|
callback.call(element);
|
21151
|
-
settings.
|
21164
|
+
settings.onVisible.call(element);
|
21152
21165
|
});
|
21153
21166
|
settings.onChange.call(element);
|
21154
|
-
settings.onVisible.call(element);
|
21155
21167
|
}
|
21156
21168
|
else {
|
21157
21169
|
module.debug('Sidebar is already visible');
|
@@ -21163,7 +21175,7 @@ $.fn.sidebar = function(parameters) {
|
|
21163
21175
|
? callback
|
21164
21176
|
: function(){}
|
21165
21177
|
;
|
21166
|
-
if(module.is.visible() || module.is.animating()) {
|
21178
|
+
if((module.is.visible() || module.is.animating()) && settings.onHide.call(element) !== false) {
|
21167
21179
|
module.debug('Hiding sidebar', callback);
|
21168
21180
|
module.refreshSidebars();
|
21169
21181
|
module.pullPage(function() {
|
@@ -21171,7 +21183,6 @@ $.fn.sidebar = function(parameters) {
|
|
21171
21183
|
settings.onHidden.call(element);
|
21172
21184
|
});
|
21173
21185
|
settings.onChange.call(element);
|
21174
|
-
settings.onHide.call(element);
|
21175
21186
|
}
|
21176
21187
|
},
|
21177
21188
|
|
@@ -21789,7 +21800,7 @@ $.fn.sidebar.settings = {
|
|
21789
21800
|
})( jQuery, window, document );
|
21790
21801
|
|
21791
21802
|
/*!
|
21792
|
-
* # Fomantic-UI 2.9.0-beta.
|
21803
|
+
* # Fomantic-UI 2.9.0-beta.246 - Sticky
|
21793
21804
|
* http://github.com/fomantic/Fomantic-UI/
|
21794
21805
|
*
|
21795
21806
|
*
|
@@ -22747,7 +22758,7 @@ $.fn.sticky.settings = {
|
|
22747
22758
|
})( jQuery, window, document );
|
22748
22759
|
|
22749
22760
|
/*!
|
22750
|
-
* # Fomantic-UI 2.9.0-beta.
|
22761
|
+
* # Fomantic-UI 2.9.0-beta.246 - Tab
|
22751
22762
|
* http://github.com/fomantic/Fomantic-UI/
|
22752
22763
|
*
|
22753
22764
|
*
|
@@ -23767,7 +23778,7 @@ $.fn.tab.settings = {
|
|
23767
23778
|
})( jQuery, window, document );
|
23768
23779
|
|
23769
23780
|
/*!
|
23770
|
-
* # Fomantic-UI 2.9.0-beta.
|
23781
|
+
* # Fomantic-UI 2.9.0-beta.246 - Toast
|
23771
23782
|
* http://github.com/fomantic/Fomantic-UI/
|
23772
23783
|
*
|
23773
23784
|
*
|
@@ -24688,7 +24699,7 @@ $.extend( $.easing, {
|
|
24688
24699
|
})( jQuery, window, document );
|
24689
24700
|
|
24690
24701
|
/*!
|
24691
|
-
* # Fomantic-UI 2.9.0-beta.
|
24702
|
+
* # Fomantic-UI 2.9.0-beta.246 - Transition
|
24692
24703
|
* http://github.com/fomantic/Fomantic-UI/
|
24693
24704
|
*
|
24694
24705
|
*
|
@@ -25460,6 +25471,10 @@ $.fn.transition = function() {
|
|
25460
25471
|
},
|
25461
25472
|
|
25462
25473
|
hide: function() {
|
25474
|
+
if(settings.onHide.call(element) === false) {
|
25475
|
+
module.verbose('Hide callback returned false cancelling hide');
|
25476
|
+
return false;
|
25477
|
+
}
|
25463
25478
|
module.verbose('Hiding element');
|
25464
25479
|
if( module.is.animating() ) {
|
25465
25480
|
module.reset();
|
@@ -25467,35 +25482,32 @@ $.fn.transition = function() {
|
|
25467
25482
|
element.blur(); // IE will trigger focus change if element is not blurred before hiding
|
25468
25483
|
module.remove.display();
|
25469
25484
|
module.remove.visible();
|
25470
|
-
|
25471
|
-
settings.onBeforeHide.call(element,function(){
|
25472
|
-
module.hideNow();
|
25473
|
-
});
|
25474
|
-
} else {
|
25475
|
-
module.hideNow();
|
25476
|
-
}
|
25477
|
-
|
25485
|
+
settings.onBeforeHide.call(element, module.hideNow);
|
25478
25486
|
},
|
25479
25487
|
|
25480
25488
|
hideNow: function() {
|
25481
25489
|
module.set.hidden();
|
25482
25490
|
module.force.hidden();
|
25483
|
-
settings.
|
25491
|
+
settings.onHidden.call(element);
|
25484
25492
|
settings.onComplete.call(element);
|
25485
25493
|
// module.repaint();
|
25486
25494
|
},
|
25487
25495
|
|
25488
25496
|
show: function(display) {
|
25489
|
-
module.
|
25490
|
-
|
25497
|
+
if(module.force.visible() && settings.onShow.call(element) !== false) {
|
25498
|
+
module.verbose('Showing element', display);
|
25491
25499
|
module.remove.hidden();
|
25492
|
-
|
25493
|
-
settings.onShow.call(element);
|
25494
|
-
settings.onComplete.call(element);
|
25495
|
-
// module.repaint();
|
25500
|
+
settings.onBeforeShow.call(element, module.showNow);
|
25496
25501
|
}
|
25497
25502
|
},
|
25498
25503
|
|
25504
|
+
showNow: function(){
|
25505
|
+
module.set.visible();
|
25506
|
+
settings.onVisible.call(element);
|
25507
|
+
settings.onComplete.call(element);
|
25508
|
+
// module.repaint();
|
25509
|
+
},
|
25510
|
+
|
25499
25511
|
toggle: function() {
|
25500
25512
|
if( module.is.visible() ) {
|
25501
25513
|
module.hide();
|
@@ -25744,7 +25756,11 @@ $.fn.transition.settings = {
|
|
25744
25756
|
onStart : function() {},
|
25745
25757
|
onComplete : function() {},
|
25746
25758
|
onShow : function() {},
|
25759
|
+
onBeforeShow : function(callback) {callback.call(this)},
|
25760
|
+
onVisible : function() {},
|
25747
25761
|
onHide : function() {},
|
25762
|
+
onHidden : function() {},
|
25763
|
+
onBeforeHide : function(callback) {callback.call(this)},
|
25748
25764
|
|
25749
25765
|
// whether timeout should be used to ensure callback fires in cases animationend does not
|
25750
25766
|
useFailSafe : true,
|
@@ -25798,7 +25814,7 @@ $.fn.transition.settings = {
|
|
25798
25814
|
})( jQuery, window, document );
|
25799
25815
|
|
25800
25816
|
/*!
|
25801
|
-
* # Fomantic-UI 2.9.0-beta.
|
25817
|
+
* # Fomantic-UI 2.9.0-beta.246 - API
|
25802
25818
|
* http://github.com/fomantic/Fomantic-UI/
|
25803
25819
|
*
|
25804
25820
|
*
|
@@ -26980,7 +26996,7 @@ $.api.settings = {
|
|
26980
26996
|
})( jQuery, window, document );
|
26981
26997
|
|
26982
26998
|
/*!
|
26983
|
-
* # Fomantic-UI 2.9.0-beta.
|
26999
|
+
* # Fomantic-UI 2.9.0-beta.246 - State
|
26984
27000
|
* http://github.com/fomantic/Fomantic-UI/
|
26985
27001
|
*
|
26986
27002
|
*
|
@@ -27692,7 +27708,7 @@ $.fn.state.settings = {
|
|
27692
27708
|
})( jQuery, window, document );
|
27693
27709
|
|
27694
27710
|
/*!
|
27695
|
-
* # Fomantic-UI 2.9.0-beta.
|
27711
|
+
* # Fomantic-UI 2.9.0-beta.246 - Visibility
|
27696
27712
|
* http://github.com/fomantic/Fomantic-UI/
|
27697
27713
|
*
|
27698
27714
|
*
|