New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@yamada-ui/portal

Package Overview
Dependencies
Maintainers
1
Versions
582
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 1.0.25-dev-20241128032343 to 1.0.25-dev-20241128034423

dist/chunk-WMVKFJL4.mjs

4

dist/index.js

@@ -109,5 +109,7 @@ "use client"

containerRef,
disabled,
isDisabled
}) => {
if (isDisabled) return children;
disabled != null ? disabled : disabled = isDisabled;
if (disabled) return children;
return containerRef ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(

@@ -114,0 +116,0 @@ ContainerPortal,

@@ -24,2 +24,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

*/
disabled?: boolean;
/**
* If `true`, the forwarding will be disabled.
*
* @deprecated Use `disabled` instead.
*/
isDisabled?: boolean;

@@ -33,3 +39,3 @@ }

declare const Portal: {
({ appendToParentPortal, children, containerRef, isDisabled, }: PortalProps): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
({ appendToParentPortal, children, containerRef, disabled, isDisabled, }: PortalProps): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
displayName: string;

@@ -36,0 +42,0 @@ __ui__: string;

@@ -107,5 +107,7 @@ "use client"

containerRef,
disabled,
isDisabled
}) => {
if (isDisabled) return children;
disabled != null ? disabled : disabled = isDisabled;
if (disabled) return children;
return containerRef ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(

@@ -112,0 +114,0 @@ ContainerPortal,

{
"name": "@yamada-ui/portal",
"version": "1.0.25-dev-20241128032343",
"version": "1.0.25-dev-20241128034423",
"description": "Yamada UI portal component",

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

"dependencies": {
"@yamada-ui/utils": "1.6.0-dev-20241128032343"
"@yamada-ui/utils": "1.6.0-dev-20241128034423"
},

@@ -42,0 +42,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

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