fomantic-ui 2.9.0-beta.145 → 2.9.0-beta.149
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 +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- 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/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/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 +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- 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 +3 -1
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- 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 +10 -1
- 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 +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 +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +52 -49
- package/dist/semantic.js +34 -25
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/elements/segment.less +3 -1
- package/src/definitions/modules/tab.js +9 -0
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.149
|
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.149 - 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.149 - 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.149 - 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.149 - Calendar
|
3200
3200
|
* http://github.com/fomantic/Fomantic-UI/
|
3201
3201
|
*
|
3202
3202
|
*
|
@@ -5068,7 +5068,7 @@ $.fn.calendar.settings = {
|
|
5068
5068
|
})(jQuery, window, document);
|
5069
5069
|
|
5070
5070
|
/*!
|
5071
|
-
* # Fomantic-UI 2.9.0-beta.
|
5071
|
+
* # Fomantic-UI 2.9.0-beta.149 - Checkbox
|
5072
5072
|
* http://github.com/fomantic/Fomantic-UI/
|
5073
5073
|
*
|
5074
5074
|
*
|
@@ -5951,7 +5951,7 @@ $.fn.checkbox.settings = {
|
|
5951
5951
|
})( jQuery, window, document );
|
5952
5952
|
|
5953
5953
|
/*!
|
5954
|
-
* # Fomantic-UI 2.9.0-beta.
|
5954
|
+
* # Fomantic-UI 2.9.0-beta.149 - Dimmer
|
5955
5955
|
* http://github.com/fomantic/Fomantic-UI/
|
5956
5956
|
*
|
5957
5957
|
*
|
@@ -6708,7 +6708,7 @@ $.fn.dimmer.settings = {
|
|
6708
6708
|
})( jQuery, window, document );
|
6709
6709
|
|
6710
6710
|
/*!
|
6711
|
-
* # Fomantic-UI 2.9.0-beta.
|
6711
|
+
* # Fomantic-UI 2.9.0-beta.149 - Dropdown
|
6712
6712
|
* http://github.com/fomantic/Fomantic-UI/
|
6713
6713
|
*
|
6714
6714
|
*
|
@@ -11050,7 +11050,7 @@ $.fn.dropdown.settings.templates = {
|
|
11050
11050
|
})( jQuery, window, document );
|
11051
11051
|
|
11052
11052
|
/*!
|
11053
|
-
* # Fomantic-UI 2.9.0-beta.
|
11053
|
+
* # Fomantic-UI 2.9.0-beta.149 - Embed
|
11054
11054
|
* http://github.com/fomantic/Fomantic-UI/
|
11055
11055
|
*
|
11056
11056
|
*
|
@@ -11760,7 +11760,7 @@ $.fn.embed.settings = {
|
|
11760
11760
|
})( jQuery, window, document );
|
11761
11761
|
|
11762
11762
|
/*!
|
11763
|
-
* # Fomantic-UI 2.9.0-beta.
|
11763
|
+
* # Fomantic-UI 2.9.0-beta.149 - Modal
|
11764
11764
|
* http://github.com/fomantic/Fomantic-UI/
|
11765
11765
|
*
|
11766
11766
|
*
|
@@ -13277,7 +13277,7 @@ $.fn.modal.settings.templates = {
|
|
13277
13277
|
})( jQuery, window, document );
|
13278
13278
|
|
13279
13279
|
/*!
|
13280
|
-
* # Fomantic-UI 2.9.0-beta.
|
13280
|
+
* # Fomantic-UI 2.9.0-beta.149 - Nag
|
13281
13281
|
* http://github.com/fomantic/Fomantic-UI/
|
13282
13282
|
*
|
13283
13283
|
*
|
@@ -13836,7 +13836,7 @@ $.extend( $.easing, {
|
|
13836
13836
|
})( jQuery, window, document );
|
13837
13837
|
|
13838
13838
|
/*!
|
13839
|
-
* # Fomantic-UI 2.9.0-beta.
|
13839
|
+
* # Fomantic-UI 2.9.0-beta.149 - Popup
|
13840
13840
|
* http://github.com/fomantic/Fomantic-UI/
|
13841
13841
|
*
|
13842
13842
|
*
|
@@ -15378,7 +15378,7 @@ $.fn.popup.settings = {
|
|
15378
15378
|
})( jQuery, window, document );
|
15379
15379
|
|
15380
15380
|
/*!
|
15381
|
-
* # Fomantic-UI 2.9.0-beta.
|
15381
|
+
* # Fomantic-UI 2.9.0-beta.149 - Progress
|
15382
15382
|
* http://github.com/fomantic/Fomantic-UI/
|
15383
15383
|
*
|
15384
15384
|
*
|
@@ -16412,7 +16412,7 @@ $.fn.progress.settings = {
|
|
16412
16412
|
})( jQuery, window, document );
|
16413
16413
|
|
16414
16414
|
/*!
|
16415
|
-
* # Fomantic-UI 2.9.0-beta.
|
16415
|
+
* # Fomantic-UI 2.9.0-beta.149 - Slider
|
16416
16416
|
* http://github.com/fomantic/Fomantic-UI/
|
16417
16417
|
*
|
16418
16418
|
*
|
@@ -17751,7 +17751,7 @@ $.fn.slider.settings = {
|
|
17751
17751
|
})( jQuery, window, document );
|
17752
17752
|
|
17753
17753
|
/*!
|
17754
|
-
* # Fomantic-UI 2.9.0-beta.
|
17754
|
+
* # Fomantic-UI 2.9.0-beta.149 - Rating
|
17755
17755
|
* http://github.com/fomantic/Fomantic-UI/
|
17756
17756
|
*
|
17757
17757
|
*
|
@@ -18306,7 +18306,7 @@ $.fn.rating.settings = {
|
|
18306
18306
|
})( jQuery, window, document );
|
18307
18307
|
|
18308
18308
|
/*!
|
18309
|
-
* # Fomantic-UI 2.9.0-beta.
|
18309
|
+
* # Fomantic-UI 2.9.0-beta.149 - Search
|
18310
18310
|
* http://github.com/fomantic/Fomantic-UI/
|
18311
18311
|
*
|
18312
18312
|
*
|
@@ -19874,7 +19874,7 @@ $.fn.search.settings = {
|
|
19874
19874
|
})( jQuery, window, document );
|
19875
19875
|
|
19876
19876
|
/*!
|
19877
|
-
* # Fomantic-UI 2.9.0-beta.
|
19877
|
+
* # Fomantic-UI 2.9.0-beta.149 - Shape
|
19878
19878
|
* http://github.com/fomantic/Fomantic-UI/
|
19879
19879
|
*
|
19880
19880
|
*
|
@@ -20723,7 +20723,7 @@ $.fn.shape.settings = {
|
|
20723
20723
|
})( jQuery, window, document );
|
20724
20724
|
|
20725
20725
|
/*!
|
20726
|
-
* # Fomantic-UI 2.9.0-beta.
|
20726
|
+
* # Fomantic-UI 2.9.0-beta.149 - Sidebar
|
20727
20727
|
* http://github.com/fomantic/Fomantic-UI/
|
20728
20728
|
*
|
20729
20729
|
*
|
@@ -21760,7 +21760,7 @@ $.fn.sidebar.settings = {
|
|
21760
21760
|
})( jQuery, window, document );
|
21761
21761
|
|
21762
21762
|
/*!
|
21763
|
-
* # Fomantic-UI 2.9.0-beta.
|
21763
|
+
* # Fomantic-UI 2.9.0-beta.149 - Sticky
|
21764
21764
|
* http://github.com/fomantic/Fomantic-UI/
|
21765
21765
|
*
|
21766
21766
|
*
|
@@ -22718,7 +22718,7 @@ $.fn.sticky.settings = {
|
|
22718
22718
|
})( jQuery, window, document );
|
22719
22719
|
|
22720
22720
|
/*!
|
22721
|
-
* # Fomantic-UI 2.9.0-beta.
|
22721
|
+
* # Fomantic-UI 2.9.0-beta.149 - Tab
|
22722
22722
|
* http://github.com/fomantic/Fomantic-UI/
|
22723
22723
|
*
|
22724
22724
|
*
|
@@ -23098,6 +23098,10 @@ $.fn.tab = function(parameters) {
|
|
23098
23098
|
module.verbose('Tab parameters found', nextPathArray);
|
23099
23099
|
}
|
23100
23100
|
}
|
23101
|
+
if (settings.onBeforeChange.call(element, currentPath) === false) {
|
23102
|
+
module.debug('onBeforeChange returned false, cancelling tab change', $tab);
|
23103
|
+
return false;
|
23104
|
+
}
|
23101
23105
|
if(isLastTab && remoteContent) {
|
23102
23106
|
if(!shouldIgnoreLoad) {
|
23103
23107
|
module.activate.navigation(currentPath);
|
@@ -23134,6 +23138,10 @@ $.fn.tab = function(parameters) {
|
|
23134
23138
|
// if anchor exists use parent tab
|
23135
23139
|
if($anchor && $anchor.length > 0 && currentPath) {
|
23136
23140
|
module.debug('Anchor link used, opening parent tab', $tab, $anchor);
|
23141
|
+
if (settings.onBeforeChange.call(element, currentPath) === false) {
|
23142
|
+
module.debug('onBeforeChange returned false, cancelling tab change', $tab);
|
23143
|
+
return false;
|
23144
|
+
}
|
23137
23145
|
if( !$tab.hasClass(className.active) ) {
|
23138
23146
|
setTimeout(function() {
|
23139
23147
|
module.scrollTo($anchor);
|
@@ -23687,6 +23695,7 @@ $.fn.tab.settings = {
|
|
23687
23695
|
onLoad : function(tabPath, parameterArray, historyEvent) {}, // called on every load
|
23688
23696
|
onVisible : function(tabPath, parameterArray, historyEvent) {}, // called every time tab visible
|
23689
23697
|
onRequest : function(tabPath, parameterArray, historyEvent) {}, // called ever time a tab beings loading remote content
|
23698
|
+
onBeforeChange: function(tabPath) {}, // called before a tab is about to be changed. Returning false will cancel the tab change
|
23690
23699
|
|
23691
23700
|
templates : {
|
23692
23701
|
determineTitle: function(tabArray) {} // returns page title for path
|
@@ -23729,7 +23738,7 @@ $.fn.tab.settings = {
|
|
23729
23738
|
})( jQuery, window, document );
|
23730
23739
|
|
23731
23740
|
/*!
|
23732
|
-
* # Fomantic-UI 2.9.0-beta.
|
23741
|
+
* # Fomantic-UI 2.9.0-beta.149 - Toast
|
23733
23742
|
* http://github.com/fomantic/Fomantic-UI/
|
23734
23743
|
*
|
23735
23744
|
*
|
@@ -24649,7 +24658,7 @@ $.extend( $.easing, {
|
|
24649
24658
|
})( jQuery, window, document );
|
24650
24659
|
|
24651
24660
|
/*!
|
24652
|
-
* # Fomantic-UI 2.9.0-beta.
|
24661
|
+
* # Fomantic-UI 2.9.0-beta.149 - Transition
|
24653
24662
|
* http://github.com/fomantic/Fomantic-UI/
|
24654
24663
|
*
|
24655
24664
|
*
|
@@ -25759,7 +25768,7 @@ $.fn.transition.settings = {
|
|
25759
25768
|
})( jQuery, window, document );
|
25760
25769
|
|
25761
25770
|
/*!
|
25762
|
-
* # Fomantic-UI 2.9.0-beta.
|
25771
|
+
* # Fomantic-UI 2.9.0-beta.149 - API
|
25763
25772
|
* http://github.com/fomantic/Fomantic-UI/
|
25764
25773
|
*
|
25765
25774
|
*
|
@@ -26939,7 +26948,7 @@ $.api.settings = {
|
|
26939
26948
|
})( jQuery, window, document );
|
26940
26949
|
|
26941
26950
|
/*!
|
26942
|
-
* # Fomantic-UI 2.9.0-beta.
|
26951
|
+
* # Fomantic-UI 2.9.0-beta.149 - State
|
26943
26952
|
* http://github.com/fomantic/Fomantic-UI/
|
26944
26953
|
*
|
26945
26954
|
*
|
@@ -27651,7 +27660,7 @@ $.fn.state.settings = {
|
|
27651
27660
|
})( jQuery, window, document );
|
27652
27661
|
|
27653
27662
|
/*!
|
27654
|
-
* # Fomantic-UI 2.9.0-beta.
|
27663
|
+
* # Fomantic-UI 2.9.0-beta.149 - Visibility
|
27655
27664
|
* http://github.com/fomantic/Fomantic-UI/
|
27656
27665
|
*
|
27657
27666
|
*
|