@fluentui/dom-utilities
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Wed, 16 Sep 2020 12:21:49 GMT", | ||
"date": "Thu, 17 Sep 2020 15:47:28 GMT", | ||
"tag": "@fluentui/dom-utilities_v1.1.1", | ||
"version": "1.1.1", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "fix: elementContains should behave like .contains()", | ||
"author": "olfedias@microsoft.com", | ||
"commit": "1cdb4aa1cd69dce6eabf8fc9551191eed2158821", | ||
"package": "@fluentui/dom-utilities" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Wed, 16 Sep 2020 12:27:22 GMT", | ||
"tag": "@fluentui/dom-utilities_v1.1.0", | ||
@@ -8,0 +23,0 @@ "version": "1.1.0", |
# Change Log - @fluentui/dom-utilities | ||
This log was last generated on Wed, 16 Sep 2020 12:21:49 GMT and should not be manually modified. | ||
This log was last generated on Thu, 17 Sep 2020 15:47:28 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [1.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v1.1.1) | ||
Thu, 17 Sep 2020 15:47:28 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v1.1.0..@fluentui/dom-utilities_v1.1.1) | ||
### Patches | ||
- fix: elementContains should behave like .contains() ([PR #15089](https://github.com/microsoft/fluentui/pull/15089) by olfedias@microsoft.com) | ||
## [1.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v1.1.0) | ||
Wed, 16 Sep 2020 12:21:49 GMT | ||
Wed, 16 Sep 2020 12:27:22 GMT | ||
@@ -11,0 +20,0 @@ ### Minor changes |
@@ -16,10 +16,15 @@ define(["require", "exports", "./getParent"], function (require, exports, getParent_1) { | ||
if (allowVirtualParents) { | ||
isContained = false; | ||
while (child) { | ||
var nextParent = getParent_1.getParent(child); | ||
if (nextParent === parent) { | ||
isContained = true; | ||
break; | ||
if (parent === child) { | ||
isContained = true; | ||
} | ||
else { | ||
isContained = false; | ||
while (child) { | ||
var nextParent = getParent_1.getParent(child); | ||
if (nextParent === parent) { | ||
isContained = true; | ||
break; | ||
} | ||
child = nextParent; | ||
} | ||
child = nextParent; | ||
} | ||
@@ -26,0 +31,0 @@ } |
define(["require", "exports", "@uifabric/set-version"], function (require, exports, set_version_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
set_version_1.setVersion('@fluentui/dom-utilities', '1.1.0'); | ||
set_version_1.setVersion('@fluentui/dom-utilities', '1.1.1'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
@@ -16,10 +16,15 @@ "use strict"; | ||
if (allowVirtualParents) { | ||
isContained = false; | ||
while (child) { | ||
var nextParent = getParent_1.getParent(child); | ||
if (nextParent === parent) { | ||
isContained = true; | ||
break; | ||
if (parent === child) { | ||
isContained = true; | ||
} | ||
else { | ||
isContained = false; | ||
while (child) { | ||
var nextParent = getParent_1.getParent(child); | ||
if (nextParent === parent) { | ||
isContained = true; | ||
break; | ||
} | ||
child = nextParent; | ||
} | ||
child = nextParent; | ||
} | ||
@@ -26,0 +31,0 @@ } |
@@ -6,3 +6,3 @@ "use strict"; | ||
var set_version_1 = require("@uifabric/set-version"); | ||
set_version_1.setVersion('@fluentui/dom-utilities', '1.1.0'); | ||
set_version_1.setVersion('@fluentui/dom-utilities', '1.1.1'); | ||
//# sourceMappingURL=version.js.map |
@@ -14,10 +14,15 @@ import { getParent } from './getParent'; | ||
if (allowVirtualParents) { | ||
isContained = false; | ||
while (child) { | ||
var nextParent = getParent(child); | ||
if (nextParent === parent) { | ||
isContained = true; | ||
break; | ||
if (parent === child) { | ||
isContained = true; | ||
} | ||
else { | ||
isContained = false; | ||
while (child) { | ||
var nextParent = getParent(child); | ||
if (nextParent === parent) { | ||
isContained = true; | ||
break; | ||
} | ||
child = nextParent; | ||
} | ||
child = nextParent; | ||
} | ||
@@ -24,0 +29,0 @@ } |
// Do not modify this file; it is generated as part of publish. | ||
// The checked in version is a placeholder only and will not be updated. | ||
import { setVersion } from '@uifabric/set-version'; | ||
setVersion('@fluentui/dom-utilities', '1.1.0'); | ||
setVersion('@fluentui/dom-utilities', '1.1.1'); | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@fluentui/dom-utilities", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "DOM utilities for use within Fluent web components", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90216
1059