react-shadow
Advanced tools
Comparing version 18.4.2 to 18.5.0
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 @@ |
{ | ||
"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 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1978916
1420
0