🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@yqg/easy-ui

Package Overview
Dependencies
Maintainers
28
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yqg/easy-ui - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+4
-3
dist/esm/popup/index.js

@@ -49,10 +49,11 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

setActive(true);
document.body.style.overflow = 'hidden';
document.body.classList.add('popup-open');
} else {
document.body.classList.remove('popup-open');
var timer = setTimeout(function () {
setActive(false);
document.body.style.overflow = '';
}, 300);
return function () {
return clearTimeout(timer);
clearTimeout(timer);
document.body.classList.remove('popup-open');
};

@@ -59,0 +60,0 @@ }

@@ -13,3 +13,3 @@ /// <reference types="react" />

subContentClassName?: string;
children: React.ReactNode;
children?: React.ReactNode;
heightLevel?: 'min' | 'normal' | 'max';

@@ -16,0 +16,0 @@ buttonText?: string;

@import './var.less';
body.popup-open {
overflow: hidden;
}
:root {

@@ -4,0 +8,0 @@ --easy-popup-border-radius: @popup-border-radius;

{
"name": "@yqg/easy-ui",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/esm/index.js",