Skip to content

Commit

Permalink
Updated component to version 2.2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Semantic-Pusher-Robot committed Jan 29, 2018
1 parent f1dc258 commit c9d08cc
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Version 2.2.14 - Jan 29, 2018

- **Visibility** - Fixes issue where `bottomPassed` and `topPassed` would not fire under some conditions

### Version 2.2.11 - July 11, 2017

- **Popup** - Separated className setting for `visible` into `visible` and `popupVisible`, this way you can remove visible indication on activating element without modifying popup visibility.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"framework"
],
"license": "MIT",
"version": "2.2.13"
"version": "2.2.14"
}
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.2.12 - Visibility
* # Semantic UI 2.2.14 - Visibility
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -928,8 +928,8 @@ module.exports = function(parameters) {
// visibility
element.topPassed = (screen.top >= element.top);
element.bottomPassed = (screen.top >= element.bottom);
element.topVisible = (screen.bottom >= element.top) && !element.bottomPassed;
element.bottomVisible = (screen.bottom >= element.bottom) && !element.topPassed;
element.topVisible = (screen.bottom >= element.top) && !element.topPassed;
element.bottomVisible = (screen.bottom >= element.bottom) && !element.bottomPassed;
element.pixelsPassed = 0;
element.percentagePassed = 0;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "semantic-ui-visibility",
"version": "2.2.13",
"version": "2.2.14",
"title": "Semantic UI - Visibility",
"description": "Single component release of visibility",
"homepage": "http://www.semantic-ui.com",
Expand Down
6 changes: 3 additions & 3 deletions visibility.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.2.12 - Visibility
* # Semantic UI 2.2.14 - Visibility
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -927,8 +927,8 @@ $.fn.visibility = function(parameters) {
// visibility
element.topPassed = (screen.top >= element.top);
element.bottomPassed = (screen.top >= element.bottom);
element.topVisible = (screen.bottom >= element.top) && !element.bottomPassed;
element.bottomVisible = (screen.bottom >= element.bottom) && !element.topPassed;
element.topVisible = (screen.bottom >= element.top) && !element.topPassed;
element.bottomVisible = (screen.bottom >= element.bottom) && !element.bottomPassed;
element.pixelsPassed = 0;
element.percentagePassed = 0;

Expand Down
2 changes: 1 addition & 1 deletion visibility.min.js

Large diffs are not rendered by default.

0 comments on commit c9d08cc

Please sign in to comment.