Socket
Socket
Sign inDemoInstall

@os-design/core

Package Overview
Dependencies
Maintainers
1
Versions
478
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/core - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

lib/Portal/index.d.ts

4

lib/Drawer/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc