fomantic-ui 2.9.0-beta.326 → 2.9.0-beta.327
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/flyout.css +1 -1
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +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 +1 -1
- package/dist/components/segment.min.css +1 -1
- 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 +20 -2
- 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 +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 +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 +50 -50
- package/dist/semantic.js +45 -27
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +2 -2
- package/examples/components/sticky-context.html +197 -0
- package/package.json +1 -1
- package/src/definitions/modules/sticky.js +19 -1
- package/tasks/config/admin/templates/css-package.js +4 -2
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.327+e146d70
|
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.327+e146d70 - 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.327+e146d70 - Form Validation
|
507
507
|
* http://github.com/fomantic/Fomantic-UI/
|
508
508
|
*
|
509
509
|
*
|
@@ -2580,7 +2580,7 @@ $.fn.form.settings = {
|
|
2580
2580
|
})( jQuery, window, document );
|
2581
2581
|
|
2582
2582
|
/*!
|
2583
|
-
* # Fomantic-UI 2.9.0-beta.
|
2583
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Accordion
|
2584
2584
|
* http://github.com/fomantic/Fomantic-UI/
|
2585
2585
|
*
|
2586
2586
|
*
|
@@ -3205,7 +3205,7 @@ $.extend( $.easing, {
|
|
3205
3205
|
|
3206
3206
|
|
3207
3207
|
/*!
|
3208
|
-
* # Fomantic-UI 2.9.0-beta.
|
3208
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Calendar
|
3209
3209
|
* http://github.com/fomantic/Fomantic-UI/
|
3210
3210
|
*
|
3211
3211
|
*
|
@@ -5096,7 +5096,7 @@ $.fn.calendar.settings = {
|
|
5096
5096
|
})(jQuery, window, document);
|
5097
5097
|
|
5098
5098
|
/*!
|
5099
|
-
* # Fomantic-UI 2.9.0-beta.
|
5099
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Checkbox
|
5100
5100
|
* http://github.com/fomantic/Fomantic-UI/
|
5101
5101
|
*
|
5102
5102
|
*
|
@@ -5980,7 +5980,7 @@ $.fn.checkbox.settings = {
|
|
5980
5980
|
})( jQuery, window, document );
|
5981
5981
|
|
5982
5982
|
/*!
|
5983
|
-
* # Fomantic-UI 2.9.0-beta.
|
5983
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Dimmer
|
5984
5984
|
* http://github.com/fomantic/Fomantic-UI/
|
5985
5985
|
*
|
5986
5986
|
*
|
@@ -6746,7 +6746,7 @@ $.fn.dimmer.settings = {
|
|
6746
6746
|
})( jQuery, window, document );
|
6747
6747
|
|
6748
6748
|
/*!
|
6749
|
-
* # Fomantic-UI 2.9.0-beta.
|
6749
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Dropdown
|
6750
6750
|
* http://github.com/fomantic/Fomantic-UI/
|
6751
6751
|
*
|
6752
6752
|
*
|
@@ -11122,7 +11122,7 @@ $.fn.dropdown.settings.templates = {
|
|
11122
11122
|
})( jQuery, window, document );
|
11123
11123
|
|
11124
11124
|
/*!
|
11125
|
-
* # Fomantic-UI 2.9.0-beta.
|
11125
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Embed
|
11126
11126
|
* http://github.com/fomantic/Fomantic-UI/
|
11127
11127
|
*
|
11128
11128
|
*
|
@@ -11836,7 +11836,7 @@ $.fn.embed.settings = {
|
|
11836
11836
|
})( jQuery, window, document );
|
11837
11837
|
|
11838
11838
|
/*!
|
11839
|
-
* # Fomantic-UI 2.9.0-beta.
|
11839
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Flyout
|
11840
11840
|
* http://github.com/fomantic/Fomantic-UI/
|
11841
11841
|
*
|
11842
11842
|
*
|
@@ -13367,7 +13367,7 @@ $.fn.flyout.settings.templates = {
|
|
13367
13367
|
})( jQuery, window, document );
|
13368
13368
|
|
13369
13369
|
/*!
|
13370
|
-
* # Fomantic-UI 2.9.0-beta.
|
13370
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Modal
|
13371
13371
|
* http://github.com/fomantic/Fomantic-UI/
|
13372
13372
|
*
|
13373
13373
|
*
|
@@ -14924,7 +14924,7 @@ $.fn.modal.settings.templates = {
|
|
14924
14924
|
})( jQuery, window, document );
|
14925
14925
|
|
14926
14926
|
/*!
|
14927
|
-
* # Fomantic-UI 2.9.0-beta.
|
14927
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Nag
|
14928
14928
|
* http://github.com/fomantic/Fomantic-UI/
|
14929
14929
|
*
|
14930
14930
|
*
|
@@ -15483,7 +15483,7 @@ $.extend( $.easing, {
|
|
15483
15483
|
})( jQuery, window, document );
|
15484
15484
|
|
15485
15485
|
/*!
|
15486
|
-
* # Fomantic-UI 2.9.0-beta.
|
15486
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Popup
|
15487
15487
|
* http://github.com/fomantic/Fomantic-UI/
|
15488
15488
|
*
|
15489
15489
|
*
|
@@ -17019,7 +17019,7 @@ $.fn.popup.settings = {
|
|
17019
17019
|
})( jQuery, window, document );
|
17020
17020
|
|
17021
17021
|
/*!
|
17022
|
-
* # Fomantic-UI 2.9.0-beta.
|
17022
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Progress
|
17023
17023
|
* http://github.com/fomantic/Fomantic-UI/
|
17024
17024
|
*
|
17025
17025
|
*
|
@@ -18056,7 +18056,7 @@ $.fn.progress.settings = {
|
|
18056
18056
|
})( jQuery, window, document );
|
18057
18057
|
|
18058
18058
|
/*!
|
18059
|
-
* # Fomantic-UI 2.9.0-beta.
|
18059
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Slider
|
18060
18060
|
* http://github.com/fomantic/Fomantic-UI/
|
18061
18061
|
*
|
18062
18062
|
*
|
@@ -19410,7 +19410,7 @@ $.fn.slider.settings = {
|
|
19410
19410
|
})( jQuery, window, document );
|
19411
19411
|
|
19412
19412
|
/*!
|
19413
|
-
* # Fomantic-UI 2.9.0-beta.
|
19413
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Rating
|
19414
19414
|
* http://github.com/fomantic/Fomantic-UI/
|
19415
19415
|
*
|
19416
19416
|
*
|
@@ -19969,7 +19969,7 @@ $.fn.rating.settings = {
|
|
19969
19969
|
})( jQuery, window, document );
|
19970
19970
|
|
19971
19971
|
/*!
|
19972
|
-
* # Fomantic-UI 2.9.0-beta.
|
19972
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Search
|
19973
19973
|
* http://github.com/fomantic/Fomantic-UI/
|
19974
19974
|
*
|
19975
19975
|
*
|
@@ -21564,7 +21564,7 @@ $.extend($.easing, {
|
|
21564
21564
|
})( jQuery, window, document );
|
21565
21565
|
|
21566
21566
|
/*!
|
21567
|
-
* # Fomantic-UI 2.9.0-beta.
|
21567
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Shape
|
21568
21568
|
* http://github.com/fomantic/Fomantic-UI/
|
21569
21569
|
*
|
21570
21570
|
*
|
@@ -22413,7 +22413,7 @@ $.fn.shape.settings = {
|
|
22413
22413
|
})( jQuery, window, document );
|
22414
22414
|
|
22415
22415
|
/*!
|
22416
|
-
* # Fomantic-UI 2.9.0-beta.
|
22416
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Sidebar
|
22417
22417
|
* http://github.com/fomantic/Fomantic-UI/
|
22418
22418
|
*
|
22419
22419
|
*
|
@@ -23547,7 +23547,7 @@ $.fn.sidebar.settings = {
|
|
23547
23547
|
})( jQuery, window, document );
|
23548
23548
|
|
23549
23549
|
/*!
|
23550
|
-
* # Fomantic-UI 2.9.0-beta.
|
23550
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Sticky
|
23551
23551
|
* http://github.com/fomantic/Fomantic-UI/
|
23552
23552
|
*
|
23553
23553
|
*
|
@@ -23942,6 +23942,18 @@ $.fn.sticky = function(parameters) {
|
|
23942
23942
|
module.determineContainer();
|
23943
23943
|
}
|
23944
23944
|
else {
|
23945
|
+
var tallestHeight = Math.max(module.cache.context.height, module.cache.element.height);
|
23946
|
+
if(tallestHeight - $container.outerHeight() > settings.jitter) {
|
23947
|
+
module.debug('Context is taller than container. Specifying exact height for container', module.cache.context.height);
|
23948
|
+
$container.css({
|
23949
|
+
height: tallestHeight,
|
23950
|
+
});
|
23951
|
+
}
|
23952
|
+
else {
|
23953
|
+
$container.css({
|
23954
|
+
height: '',
|
23955
|
+
});
|
23956
|
+
}
|
23945
23957
|
if( Math.abs($container.outerHeight() - module.cache.context.height) > settings.jitter) {
|
23946
23958
|
module.debug('Context has padding, specifying exact height for container', module.cache.context.height);
|
23947
23959
|
$container.css({
|
@@ -24040,7 +24052,7 @@ $.fn.sticky = function(parameters) {
|
|
24040
24052
|
module.bindBottom();
|
24041
24053
|
}
|
24042
24054
|
else if(scroll.top > element.top) {
|
24043
|
-
if( (element.height + scroll.top - elementScroll) >= context.bottom ) {
|
24055
|
+
if( (element.height + scroll.top - elementScroll) >= context.bottom && element.height < context.height) {
|
24044
24056
|
module.debug('Initial element position is bottom of container');
|
24045
24057
|
module.bindBottom();
|
24046
24058
|
}
|
@@ -24119,6 +24131,9 @@ $.fn.sticky = function(parameters) {
|
|
24119
24131
|
bindTop: function() {
|
24120
24132
|
module.debug('Binding element to top of parent container');
|
24121
24133
|
module.remove.offset();
|
24134
|
+
if(settings.setSize) {
|
24135
|
+
module.set.size();
|
24136
|
+
}
|
24122
24137
|
$module
|
24123
24138
|
.css({
|
24124
24139
|
left : '',
|
@@ -24136,6 +24151,9 @@ $.fn.sticky = function(parameters) {
|
|
24136
24151
|
bindBottom: function() {
|
24137
24152
|
module.debug('Binding element to bottom of parent container');
|
24138
24153
|
module.remove.offset();
|
24154
|
+
if(settings.setSize) {
|
24155
|
+
module.set.size();
|
24156
|
+
}
|
24139
24157
|
$module
|
24140
24158
|
.css({
|
24141
24159
|
left : '',
|
@@ -24498,7 +24516,7 @@ $.fn.sticky.settings = {
|
|
24498
24516
|
})( jQuery, window, document );
|
24499
24517
|
|
24500
24518
|
/*!
|
24501
|
-
* # Fomantic-UI 2.9.0-beta.
|
24519
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Tab
|
24502
24520
|
* http://github.com/fomantic/Fomantic-UI/
|
24503
24521
|
*
|
24504
24522
|
*
|
@@ -25518,7 +25536,7 @@ $.fn.tab.settings = {
|
|
25518
25536
|
})( jQuery, window, document );
|
25519
25537
|
|
25520
25538
|
/*!
|
25521
|
-
* # Fomantic-UI 2.9.0-beta.
|
25539
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Toast
|
25522
25540
|
* http://github.com/fomantic/Fomantic-UI/
|
25523
25541
|
*
|
25524
25542
|
*
|
@@ -26445,7 +26463,7 @@ $.extend( $.easing, {
|
|
26445
26463
|
})( jQuery, window, document );
|
26446
26464
|
|
26447
26465
|
/*!
|
26448
|
-
* # Fomantic-UI 2.9.0-beta.
|
26466
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Transition
|
26449
26467
|
* http://github.com/fomantic/Fomantic-UI/
|
26450
26468
|
*
|
26451
26469
|
*
|
@@ -27560,7 +27578,7 @@ $.fn.transition.settings = {
|
|
27560
27578
|
})( jQuery, window, document );
|
27561
27579
|
|
27562
27580
|
/*!
|
27563
|
-
* # Fomantic-UI 2.9.0-beta.
|
27581
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - API
|
27564
27582
|
* http://github.com/fomantic/Fomantic-UI/
|
27565
27583
|
*
|
27566
27584
|
*
|
@@ -28797,7 +28815,7 @@ $.api.settings = {
|
|
28797
28815
|
})( jQuery, window, document );
|
28798
28816
|
|
28799
28817
|
/*!
|
28800
|
-
* # Fomantic-UI 2.9.0-beta.
|
28818
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - State
|
28801
28819
|
* http://github.com/fomantic/Fomantic-UI/
|
28802
28820
|
*
|
28803
28821
|
*
|
@@ -29509,7 +29527,7 @@ $.fn.state.settings = {
|
|
29509
29527
|
})( jQuery, window, document );
|
29510
29528
|
|
29511
29529
|
/*!
|
29512
|
-
* # Fomantic-UI 2.9.0-beta.
|
29530
|
+
* # Fomantic-UI 2.9.0-beta.327+e146d70 - Visibility
|
29513
29531
|
* http://github.com/fomantic/Fomantic-UI/
|
29514
29532
|
*
|
29515
29533
|
*
|
package/dist/semantic.min.css
CHANGED