nice-elements 1.16.1 → 1.16.2
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/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +7 -1
- package/dist/nice.min.js +1 -1
- package/package.json +1 -1
- package/src/directives/nice-click-outside.js +6 -0
- package/src/services/nice-service.js +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# Nice elements v1.16.
|
|
3
|
+
# Nice elements v1.16.2
|
|
4
4
|
|
|
5
5
|
Nice elements is an AngularJS v1.5.8 module that contains nice form elements like inputs, choice fields, search, toggle, dropdown, etc.
|
|
6
6
|
|
package/bower.json
CHANGED
package/dist/nice.js
CHANGED
|
@@ -6868,6 +6868,12 @@ angular.module('niceElements')
|
|
|
6868
6868
|
return;
|
|
6869
6869
|
}
|
|
6870
6870
|
|
|
6871
|
+
// the click removed its own target (e.g. a re-rendered ng-repeat calendar day),
|
|
6872
|
+
// so we can't tell where it was - treat it as an inside click
|
|
6873
|
+
if (!document.documentElement.contains(e.target)) {
|
|
6874
|
+
return;
|
|
6875
|
+
}
|
|
6876
|
+
|
|
6871
6877
|
// loop through the available elements, looking for classes in the class list that might match and so will eat
|
|
6872
6878
|
for (element = e.target; element; element = element.parentNode) {
|
|
6873
6879
|
// check if the element is the same element the directive is attached to and exit if so (props @CosticaPuntaru)
|
|
@@ -7207,7 +7213,7 @@ angular.module('niceElements')
|
|
|
7207
7213
|
|
|
7208
7214
|
const service = {
|
|
7209
7215
|
name: "Nice elements",
|
|
7210
|
-
version: "1.16.
|
|
7216
|
+
version: "1.16.2",
|
|
7211
7217
|
getHeader: function () {
|
|
7212
7218
|
return {};
|
|
7213
7219
|
},
|