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

@symbo.ls/atoms

Package Overview
Dependencies
Maintainers
5
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/atoms - npm Package Compare versions

Comparing version 2.11.333 to 2.11.334

4

Flex.js
'use strict'
import { isString } from '@domql/utils'
import { isString, isUndefined } from '@domql/utils'

@@ -22,2 +22,4 @@ export const Flex = {

verticalAlign: ({ props }) => !isUndefined(props.verticalAlign) && ({ flexWrap: props.verticalAlign }),
wrap: ({ props }) => props.wrap && ({ flexWrap: props.wrap }),

@@ -24,0 +26,0 @@ align: ({ props }) => {

'use strict'
import { merge, isArray, overwriteShallow } from '@domql/utils'
import { merge, isArray, overwriteDeep, overwriteShallow } from '@domql/utils'
import { getSystemTheme } from './Theme'

@@ -133,3 +133,3 @@

if (!isPropTrue) return // remove classname if not here
return merge(result, convertPropsToClass(props, result, element))
return overwriteDeep(result, convertPropsToClass(props, result, element))
}

@@ -140,3 +140,3 @@

const isPropTrue = element.props[caseKey] || element.state[caseKey] === true
if (!isPropTrue) return merge(result, convertPropsToClass(props, result, element))
if (!isPropTrue) return overwriteDeep(result, convertPropsToClass(props, result, element))
}

@@ -171,5 +171,6 @@

})
} else if (key === 'true') applyTrueProps(props[key], CLASS_NAMES, element)
}
}
if (setter) setter(key, props[key], CLASS_NAMES, element)
else if (key === 'true') applyTrueProps(props[key], CLASS_NAMES, element)
}

@@ -176,0 +177,0 @@

{
"name": "@symbo.ls/atoms",
"version": "2.11.333",
"version": "2.11.334",
"main": "index.js",
"license": "MIT",
"gitHead": "8c0ee0deb6786d87ae0ece3b87462269af4db917",
"gitHead": "dfa7309d692f0060cfa63b38758809a768a6abec",
"dependencies": {

@@ -8,0 +8,0 @@ "@domql/state": "latest",

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