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

css-in-props

Package Overview
Dependencies
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-in-props - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

src/set.js

2

package.json

@@ -6,3 +6,3 @@ {

"author": "symbo.ls",
"version": "0.9.3",
"version": "0.9.4",
"repository": "https://github.com/symbo-ls/smbls",

@@ -9,0 +9,0 @@ "main": "src/index.js",

'use strict'
export { set } from '@symbo.ls/scratch'
export * from './transform'
export * from './set'

@@ -67,3 +67,3 @@ 'use strict'

color: props => props.color ? ({ color: getColor(props.color) }) : null,
background: props => props.background ? ({ backgroundColor: getColor(props.background) }) : null,
background: props => props.background ? ({ background: getColor(props.background) }) : null,

@@ -70,0 +70,0 @@ textStroke: props => props.textStroke ? diffStroke(props.textStroke) : null,

@@ -13,3 +13,4 @@ 'use strict'

const setter = keySetters[key.slice(0, 1)]
const hasCSS = registry[key]
const reg = registry
const hasCSS = reg[key]

@@ -16,0 +17,0 @@ if (setter) setter(key, props[key], CLASS_NAMES)

'use strict'
import { isFunction } from '@domql/utils'
import createEmotion from '@emotion/css/create-instance'
// const ENV = process.env.NODE_ENV
export const {
flush,
hydrate,
cx,
getRegisteredStyles,
injectGlobal,
keyframes,
css,
sheet,
cache
} = createEmotion({
const { css } = createEmotion({
key: 'smbls'
})
export const transformEmotion = props => css(props)
export const transformEmotion = (props, callback) => isFunction(callback) ? callback(props) : css(props)
'use strict'
export * from './classname'
export * from './emotion'
export * from './classname'
export * from './subProps'
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