Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-shadow

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-shadow - npm Package Compare versions

Comparing version 18.4.2 to 18.5.0

12

emotion.d.ts
declare module 'react-shadow/emotion' {
import * as React from 'react';
interface IProps {
mode: 'open' | 'closed';
delegatesFocus: boolean;
styleSheets: CSSStyleSheet[];
ssr: boolean;
children: React.ReactNode;
}
type Root = {
[name: string]: React.ComponentType<React.HTMLProps<HTMLElement>>;
[name: string]: React.ComponentType<
React.HTMLProps<HTMLElement> & IProps
>;
};

@@ -7,0 +17,0 @@

declare module 'react-shadow' {
import * as React from 'react';
interface IProps {
mode: 'open' | 'closed';
delegatesFocus: boolean;
styleSheets: CSSStyleSheet[];
ssr: boolean;
children: React.ReactNode;
}
type Root = {
[name: string]: React.ComponentType<React.HTMLProps<HTMLElement>>;
[name: string]: React.ComponentType<
React.HTMLProps<HTMLElement> & IProps
>;
};

@@ -7,0 +17,0 @@

declare module 'react-shadow/material-ui' {
import * as React from 'react';
interface IProps {
mode: 'open' | 'closed';
delegatesFocus: boolean;
styleSheets: CSSStyleSheet[];
ssr: boolean;
children: React.ReactNode;
}
type Root = {
[name: string]: React.ComponentType;
[name: string]: React.ComponentType<
React.HTMLProps<HTMLElement> & IProps
>;
};

@@ -7,0 +17,0 @@

2

package.json
{
"name": "react-shadow",
"version": "18.4.2",
"version": "18.5.0",
"description": "Utilise Shadow DOM in React with all the benefits of style encapsulation.",

@@ -5,0 +5,0 @@ "main": "react-shadow.js",

declare module 'react-shadow/styled-components' {
import * as React from 'react';
interface IProps {
mode: 'open' | 'closed';
delegatesFocus: boolean;
styleSheets: CSSStyleSheet[];
ssr: boolean;
children: React.ReactNode;
}
type Root = {
[name: string]: React.ComponentType<React.HTMLProps<HTMLElement>>;
[name: string]: React.ComponentType<
React.HTMLProps<HTMLElement> & IProps
>;
};

@@ -7,0 +17,0 @@

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