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 cf08a6f commit 854c9a6
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 35 deletions.
5 changes: 5 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### Version 2.2.14 - Jan 29, 2018

- **Popup** - Fixed an error which could cause popup not to move to right offset context when using a different target setting.
- **Menu / Popup** - Fixed issue where `inverted menu` rules would cause popup inside a menu to have incorrect link styling in `link list` **Thanks @banandrew** [#5585](https://github.com/Semantic-Org/Semantic-UI/issues/5585) [#5603](https://github.com/Semantic-Org/Semantic-UI/issues/5603)

### Version 2.2.12 - Aug 07, 2017

- **Popup** - Fixed a regression with `popup` in `2.2.11` that caused popups to appear out of place in some cases due to incorrect calculation of `offsetParent` [#5549](https://github.com/Semantic-Org/Semantic-UI/issues/5549) [#5597](https://github.com/Semantic-Org/Semantic-UI/issues/5597) [#5590](https://github.com/Semantic-Org/Semantic-UI/issues/5590)
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"
}
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.2.12 - Popup
* # Semantic UI 2.2.14 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -626,11 +626,11 @@ module.exports = function(parameters) {
}
return distanceFromBoundary;
},
offsetParent: function($target) {
offsetParent: function($element) {
var
element = ($target !== undefined)
? $target[0]
: $module[0],
element = ($element !== undefined)
? $element[0]
: $target[0],
parentNode = element.parentNode,
$node = $(parentNode)
;
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-popup",
"version": "2.2.13",
"version": "2.2.14",
"title": "Semantic UI - Popup",
"description": "Single component release of popup",
"homepage": "http://www.semantic-ui.com",
Expand Down
59 changes: 39 additions & 20 deletions popup.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.2.12 - Popup
* # Semantic UI 2.2.14 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -33,7 +33,8 @@
font-style: normal;
color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
-webkit-box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
.ui.popup > .header {
padding: 0em;
Expand All @@ -54,7 +55,8 @@
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
z-index: 2;
box-shadow: 1px 1px 0px 0px #bababc;
-webkit-box-shadow: 1px 1px 0px 0px #bababc;
box-shadow: 1px 1px 0px 0px #bababc;
}


Expand Down Expand Up @@ -85,7 +87,8 @@
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
z-index: 2;
box-shadow: 1px 1px 0px 0px #bababc;
-webkit-box-shadow: 1px 1px 0px 0px #bababc;
box-shadow: 1px 1px 0px 0px #bababc;
}

/* Popup */
Expand All @@ -106,7 +109,8 @@
font-style: normal;
color: rgba(0, 0, 0, 0.87);
border-radius: 0.28571429rem;
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
-webkit-box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
z-index: 1;
}

Expand Down Expand Up @@ -205,7 +209,8 @@

/* Arrow */
[data-tooltip][data-inverted]:before {
box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}

/* Arrow Position */
Expand All @@ -218,7 +223,8 @@
background: #1B1C1D;
color: #FFFFFF;
border: none;
box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
[data-tooltip][data-inverted]:after .header {
background-color: none;
Expand Down Expand Up @@ -366,15 +372,18 @@
/* Arrow */
[data-position~="bottom"][data-tooltip]:before {
background: #FFFFFF;
box-shadow: -1px -1px 0px 0px #bababc;
-webkit-box-shadow: -1px -1px 0px 0px #bababc;
box-shadow: -1px -1px 0px 0px #bababc;
}
[data-position="left center"][data-tooltip]:before {
background: #FFFFFF;
box-shadow: 1px -1px 0px 0px #bababc;
-webkit-box-shadow: 1px -1px 0px 0px #bababc;
box-shadow: 1px -1px 0px 0px #bababc;
}
[data-position="right center"][data-tooltip]:before {
background: #FFFFFF;
box-shadow: -1px 1px 0px 0px #bababc;
-webkit-box-shadow: -1px 1px 0px 0px #bababc;
box-shadow: -1px 1px 0px 0px #bababc;
}
[data-position~="top"][data-tooltip]:before {
background: #FFFFFF;
Expand All @@ -383,15 +392,18 @@
/* Inverted Arrow Color */
[data-inverted][data-position~="bottom"][data-tooltip]:before {
background: #1B1C1D;
box-shadow: -1px -1px 0px 0px #bababc;
-webkit-box-shadow: -1px -1px 0px 0px #bababc;
box-shadow: -1px -1px 0px 0px #bababc;
}
[data-inverted][data-position="left center"][data-tooltip]:before {
background: #1B1C1D;
box-shadow: 1px -1px 0px 0px #bababc;
-webkit-box-shadow: 1px -1px 0px 0px #bababc;
box-shadow: 1px -1px 0px 0px #bababc;
}
[data-inverted][data-position="right center"][data-tooltip]:before {
background: #1B1C1D;
box-shadow: -1px 1px 0px 0px #bababc;
-webkit-box-shadow: -1px 1px 0px 0px #bababc;
box-shadow: -1px 1px 0px 0px #bababc;
}
[data-inverted][data-position~="top"][data-tooltip]:before {
background: #1B1C1D;
Expand Down Expand Up @@ -488,7 +500,8 @@
left: 50%;
right: auto;
bottom: auto;
box-shadow: -1px -1px 0px 0px #bababc;
-webkit-box-shadow: -1px -1px 0px 0px #bababc;
box-shadow: -1px -1px 0px 0px #bababc;
}
.ui.bottom.left.popup {
margin-left: 0em;
Expand All @@ -500,7 +513,8 @@
right: auto;
bottom: auto;
margin-left: 0em;
box-shadow: -1px -1px 0px 0px #bababc;
-webkit-box-shadow: -1px -1px 0px 0px #bababc;
box-shadow: -1px -1px 0px 0px #bababc;
}
.ui.bottom.right.popup {
margin-right: 0em;
Expand All @@ -512,7 +526,8 @@
bottom: auto;
left: auto;
margin-left: 0em;
box-shadow: -1px -1px 0px 0px #bababc;
-webkit-box-shadow: -1px -1px 0px 0px #bababc;
box-shadow: -1px -1px 0px 0px #bababc;
}

/*--- Above ---*/
Expand Down Expand Up @@ -556,7 +571,8 @@
bottom: auto;
left: auto;
margin-top: -0.30714286em;
box-shadow: 1px -1px 0px 0px #bababc;
-webkit-box-shadow: 1px -1px 0px 0px #bababc;
box-shadow: 1px -1px 0px 0px #bababc;
}

/*--- Right Center ---*/
Expand All @@ -568,7 +584,8 @@
bottom: auto;
right: auto;
margin-top: -0.30714286em;
box-shadow: -1px 1px 0px 0px #bababc;
-webkit-box-shadow: -1px 1px 0px 0px #bababc;
box-shadow: -1px 1px 0px 0px #bababc;
}

/* Arrow Color By Location */
Expand Down Expand Up @@ -678,15 +695,17 @@
background: #1B1C1D;
color: #FFFFFF;
border: none;
box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.ui.inverted.popup .header {
background-color: none;
color: #FFFFFF;
}
.ui.inverted.popup:before {
background-color: #1B1C1D;
box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}

/*--------------
Expand Down
10 changes: 5 additions & 5 deletions popup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.2.12 - Popup
* # Semantic UI 2.2.14 - Popup
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -625,11 +625,11 @@ $.fn.popup = function(parameters) {
}
return distanceFromBoundary;
},
offsetParent: function($target) {
offsetParent: function($element) {
var
element = ($target !== undefined)
? $target[0]
: $module[0],
element = ($element !== undefined)
? $element[0]
: $target[0],
parentNode = element.parentNode,
$node = $(parentNode)
;
Expand Down
4 changes: 2 additions & 2 deletions popup.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion popup.min.js

Large diffs are not rendered by default.

0 comments on commit 854c9a6

Please sign in to comment.