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

substyle

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

substyle - npm Package Compare versions

Comparing version 9.4.0 to 9.4.1

13

es6/index.d.ts
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,

4

package.json
{
"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

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