@os-design/utils
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -50,10 +50,5 @@ "use strict"; | ||
if (!containerElement) return; | ||
var _containerElement$get = containerElement.getBoundingClientRect(), | ||
width = _containerElement$get.width, | ||
height = _containerElement$get.height; | ||
setSize({ | ||
width: width, | ||
height: height | ||
width: containerElement.clientWidth, | ||
height: containerElement.clientHeight | ||
}); | ||
@@ -60,0 +55,0 @@ }, [container]); // Init the size of the container |
@@ -24,9 +24,5 @@ import { useCallback, useEffect, useState } from 'react'; | ||
if (!containerElement) return; | ||
const { | ||
width, | ||
height | ||
} = containerElement.getBoundingClientRect(); | ||
setSize({ | ||
width, | ||
height | ||
width: containerElement.clientWidth, | ||
height: containerElement.clientHeight | ||
}); | ||
@@ -33,0 +29,0 @@ }, [container]); // Init the size of the container |
{ | ||
"name": "@os-design/utils", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"license": "UNLICENSED", | ||
@@ -41,3 +41,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
}, | ||
"gitHead": "acbaed9c0872373d3a370126868c36d662924741" | ||
"gitHead": "a8ccad3603cf7f4bc9109323a3556a501b08934a" | ||
} |
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
138588
1281