Comparing version 9.4.0 to 9.4.1
declare module 'substyle' { | ||
import * as React from 'react' | ||
type PlainStyle = { | ||
@@ -27,2 +29,4 @@ [key: string]: string | number | ||
type DecoratorFunc = (props: StylingProps) => Object | ||
export type Substyle = { | ||
@@ -35,2 +39,11 @@ (select: Keys, defaultStyle?: Style): Substyle | ||
export function createSubstyle( | ||
props: StylingProps, | ||
propsDecorator?: DecoratorFunc | ||
): Substyle | ||
export const defaultPropsDecorator: DecoratorFunc | ||
export const PropsDecoratorContext: React.Context<DecoratorFunc> | ||
export const PropsDecoratorProvider: React.Context<DecoratorFunc>['Provider'] | ||
export function inline( | ||
@@ -37,0 +50,0 @@ base: Substyle, |
declare module 'substyle' { | ||
import * as React from 'react' | ||
type PlainStyle = { | ||
@@ -27,2 +29,4 @@ [key: string]: string | number | ||
type DecoratorFunc = (props: StylingProps) => Object | ||
export type Substyle = { | ||
@@ -35,2 +39,11 @@ (select: Keys, defaultStyle?: Style): Substyle | ||
export function createSubstyle( | ||
props: StylingProps, | ||
propsDecorator?: DecoratorFunc | ||
): Substyle | ||
export const defaultPropsDecorator: DecoratorFunc | ||
export const PropsDecoratorContext: React.Context<DecoratorFunc> | ||
export const PropsDecoratorProvider: React.Context<DecoratorFunc>['Provider'] | ||
export function inline( | ||
@@ -37,0 +50,0 @@ base: Substyle, |
{ | ||
"name": "substyle", | ||
"version": "9.4.0", | ||
"version": "9.4.1", | ||
"description": "Universal styling for reusable React components", | ||
@@ -60,3 +60,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "6302cfe068c384a36b41cb9b9f024b55ea953773" | ||
"gitHead": "e817dfb82c10ce1d152bb3e5f8372760953009b2" | ||
} |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
81460
749