Socket
Socket
Sign inDemoInstall

@yamada-ui/portal

Package Overview
Dependencies
Maintainers
1
Versions
486
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yamada-ui/portal - npm Package Compare versions

Comparing version 0.0.0-dev-20230920110346 to 0.0.0-dev-20231007192434

dist/chunk-EV6NIXD5.mjs

3

dist/index.js

@@ -35,4 +35,7 @@ "use client"

appendToParentPortal = true,
isDisabled,
children
}) => {
if (isDisabled)
return children;
return containerRef ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ContainerPortal, { containerRef, ...{ children } }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(

@@ -39,0 +42,0 @@ DefaultPortal,

@@ -21,5 +21,9 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

appendToParentPortal?: boolean;
/**
* If `true`, the forwarding will be disabled.
*/
isDisabled?: boolean;
};
declare const Portal: {
({ containerRef, appendToParentPortal, children, }: PortalProps): react_jsx_runtime.JSX.Element;
({ containerRef, appendToParentPortal, isDisabled, children, }: PortalProps): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
className: string;

@@ -26,0 +30,0 @@ selector: string;

@@ -113,4 +113,7 @@ "use client"

appendToParentPortal = true,
isDisabled,
children
}) => {
if (isDisabled)
return children;
return containerRef ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ContainerPortal, { containerRef, ...{ children } }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(

@@ -117,0 +120,0 @@ DefaultPortal,

4

package.json
{
"name": "@yamada-ui/portal",
"version": "0.0.0-dev-20230920110346",
"version": "0.0.0-dev-20231007192434",
"description": "Yamada UI portal component",

@@ -38,3 +38,3 @@ "keywords": [

"dependencies": {
"@yamada-ui/utils": "0.0.0-dev-20230920110346"
"@yamada-ui/utils": "0.2.1"
},

@@ -41,0 +41,0 @@ "devDependencies": {

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