Skip to content

Commit c9d08cc

Browse files
Updated component to version 2.2.14
1 parent f1dc258 commit c9d08cc

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

RELEASE-NOTES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### Version 2.2.14 - Jan 29, 2018
2+
3+
- **Visibility** - Fixes issue where `bottomPassed` and `topPassed` would not fire under some conditions
4+
15
### Version 2.2.11 - July 11, 2017
26

37
- **Popup** - Separated className setting for `visible` into `visible` and `popupVisible`, this way you can remove visible indication on activating element without modifying popup visibility.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
"framework"
1616
],
1717
"license": "MIT",
18-
"version": "2.2.13"
18+
"version": "2.2.14"
1919
}

index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.2.12 - Visibility
2+
* # Semantic UI 2.2.14 - Visibility
33
* https://github.com/semantic-org/semantic-ui/
44
*
55
*
@@ -928,8 +928,8 @@ module.exports = function(parameters) {
928928
// visibility
929929
element.topPassed = (screen.top >= element.top);
930930
element.bottomPassed = (screen.top >= element.bottom);
931-
element.topVisible = (screen.bottom >= element.top) && !element.bottomPassed;
932-
element.bottomVisible = (screen.bottom >= element.bottom) && !element.topPassed;
931+
element.topVisible = (screen.bottom >= element.top) && !element.topPassed;
932+
element.bottomVisible = (screen.bottom >= element.bottom) && !element.bottomPassed;
933933
element.pixelsPassed = 0;
934934
element.percentagePassed = 0;
935935

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "semantic-ui-visibility",
3-
"version": "2.2.13",
3+
"version": "2.2.14",
44
"title": "Semantic UI - Visibility",
55
"description": "Single component release of visibility",
66
"homepage": "http://www.semantic-ui.com",

visibility.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.2.12 - Visibility
2+
* # Semantic UI 2.2.14 - Visibility
33
* https://github.com/semantic-org/semantic-ui/
44
*
55
*
@@ -927,8 +927,8 @@ $.fn.visibility = function(parameters) {
927927
// visibility
928928
element.topPassed = (screen.top >= element.top);
929929
element.bottomPassed = (screen.top >= element.bottom);
930-
element.topVisible = (screen.bottom >= element.top) && !element.bottomPassed;
931-
element.bottomVisible = (screen.bottom >= element.bottom) && !element.topPassed;
930+
element.topVisible = (screen.bottom >= element.top) && !element.topPassed;
931+
element.bottomVisible = (screen.bottom >= element.bottom) && !element.bottomPassed;
932932
element.pixelsPassed = 0;
933933
element.percentagePassed = 0;
934934

visibility.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)