@os-design/core
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -17,3 +17,3 @@ "use strict"; | ||
const DrawerContent_1 = __importDefault(require("./DrawerContent")); | ||
const BodyPortal_1 = __importDefault(require("../BodyPortal")); | ||
const Portal_1 = __importDefault(require("../Portal")); | ||
const bodyScroll_1 = __importDefault(require("./bodyScroll")); | ||
@@ -27,3 +27,3 @@ /** | ||
react_1.useEffect(props.visible ? bodyScroll_1.default.disable : bodyScroll_1.default.enable, [props.visible]); | ||
return (react_1.default.createElement(BodyPortal_1.default, null, | ||
return (react_1.default.createElement(Portal_1.default, null, | ||
react_1.default.createElement(DrawerContainer_1.default, { visible: props.visible }, | ||
@@ -30,0 +30,0 @@ react_1.default.createElement(DrawerMask_1.default, { visible: props.visible, onClick: props.onClose }), |
@@ -1,2 +0,2 @@ | ||
export { default as BodyPortal } from './BodyPortal'; | ||
export { default as Portal } from './Portal'; | ||
export { default as Button } from './Button'; | ||
@@ -3,0 +3,0 @@ export { default as Drawer } from './Drawer'; |
@@ -6,4 +6,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var BodyPortal_1 = require("./BodyPortal"); | ||
exports.BodyPortal = BodyPortal_1.default; | ||
var Portal_1 = require("./Portal"); | ||
exports.Portal = Portal_1.default; | ||
var Button_1 = require("./Button"); | ||
@@ -10,0 +10,0 @@ exports.Button = Button_1.default; |
{ | ||
"name": "@os-design/core", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"license": "MIT", | ||
@@ -31,3 +31,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "c0b97c7174560d1a398d7cf33edf7d6252ca55ce" | ||
"gitHead": "f5870c644152ed287544e8841097c51fd20793ec" | ||
} |
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
54089
945