@symbo.ls/atoms
Advanced tools
Comparing version 2.11.16 to 2.11.19
13
Media.js
'use strict' | ||
import { merge, isArray } from '@domql/utils' | ||
import { merge, isArray, overwriteShallow } from '@domql/utils' | ||
import { getSystemTheme } from './Theme' | ||
@@ -92,3 +92,3 @@ | ||
const caseKey = key.slice(1) | ||
const isPropTrue = element.props[caseKey] || element.state[caseKey] === true | ||
const isPropTrue = element.props[caseKey] || element.state[caseKey] | ||
if (!isPropTrue) return // remove classname if not here | ||
@@ -120,3 +120,3 @@ return merge(result, convertPropsToClass(props, result, element)) | ||
merge(className, CLASS_NAMES) | ||
overwriteShallow(className, CLASS_NAMES) | ||
} | ||
@@ -170,3 +170,10 @@ | ||
export const Media = { | ||
class: { | ||
case: (el, s) => { | ||
return { | ||
// | ||
} | ||
} | ||
}, | ||
on: { beforeClassAssign, initUpdate } | ||
} |
{ | ||
"name": "@symbo.ls/atoms", | ||
"version": "2.11.16", | ||
"version": "2.11.19", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "9d17c62d340b3ed3ecfba460d9f5656b324a5bbb", | ||
"gitHead": "733340b09ba0357fa3f5b4f5aeae60ff70f4b04e", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "@domql/state": "latest", |
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
39966
1105