@mcurros2/microm 1.1.131-0 → 1.1.132-0
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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3564,6 +3564,8 @@ var $8SZSR = parcelRequire("8SZSR");
|
|
|
3564
3564
|
var $lwxCY = parcelRequire("lwxCY");
|
|
3565
3565
|
|
|
3566
3566
|
var $4Hta3 = parcelRequire("4Hta3");
|
|
3567
|
+
|
|
3568
|
+
var $gmrAB = parcelRequire("gmrAB");
|
|
3567
3569
|
$parcel$exportWildcard(module.exports, $d50o9);
|
|
3568
3570
|
$parcel$exportWildcard(module.exports, $i6yJ4);
|
|
3569
3571
|
$parcel$exportWildcard(module.exports, $gLcPf);
|
|
@@ -3634,6 +3636,7 @@ $parcel$exportWildcard(module.exports, $8tnwL);
|
|
|
3634
3636
|
$parcel$exportWildcard(module.exports, $8SZSR);
|
|
3635
3637
|
$parcel$exportWildcard(module.exports, $lwxCY);
|
|
3636
3638
|
$parcel$exportWildcard(module.exports, $4Hta3);
|
|
3639
|
+
$parcel$exportWildcard(module.exports, $gmrAB);
|
|
3637
3640
|
|
|
3638
3641
|
});
|
|
3639
3642
|
parcelRegister("d50o9", function(module, exports) {
|
|
@@ -48051,6 +48054,29 @@ function $36c1cc5fa1af387c$export$7dfb35d99dc3ea4e(maxWidthRem, paddingRem) {
|
|
|
48051
48054
|
|
|
48052
48055
|
});
|
|
48053
48056
|
|
|
48057
|
+
parcelRegister("gmrAB", function(module, exports) {
|
|
48058
|
+
|
|
48059
|
+
$parcel$export(module.exports, "useViewportHeightVariable", function () { return $be941a1a67d7c186$export$4f9faaf71cf28cdf; });
|
|
48060
|
+
|
|
48061
|
+
function $be941a1a67d7c186$export$4f9faaf71cf28cdf() {
|
|
48062
|
+
(0, $b4te3$react.useEffect)(()=>{
|
|
48063
|
+
const setDynVH = ()=>{
|
|
48064
|
+
// window.innerHeight excludes address bar
|
|
48065
|
+
const dynVH = window.innerHeight * 0.01;
|
|
48066
|
+
document.documentElement.style.setProperty("--dynVH", `${dynVH}px`);
|
|
48067
|
+
};
|
|
48068
|
+
setDynVH();
|
|
48069
|
+
window.addEventListener("resize", setDynVH);
|
|
48070
|
+
window.addEventListener("orientationchange", setDynVH);
|
|
48071
|
+
return ()=>{
|
|
48072
|
+
window.removeEventListener("resize", setDynVH);
|
|
48073
|
+
window.removeEventListener("orientationchange", setDynVH);
|
|
48074
|
+
};
|
|
48075
|
+
}, []);
|
|
48076
|
+
}
|
|
48077
|
+
|
|
48078
|
+
});
|
|
48079
|
+
|
|
48054
48080
|
|
|
48055
48081
|
|
|
48056
48082
|
parcelRegister("8xtCs", function(module, exports) {
|