css-in-props 2.11.212 → 2.11.214

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,7 @@ const transformClassname = (props, context = {}, registry = import_registry.CSS_
38
38
  if (setter)
39
39
  setter(key, props[key], CLASS_NAMES, element, true);
40
40
  else if ((0, import_utils.isFunction)(hasCSS)) {
41
- const stack = hasCSS({ props, context, deps: element.deps });
41
+ const stack = hasCSS({ ...element, props, context });
42
42
  const exec = (0, import_utils.isArray)(stack) ? stack.reduce((a, c) => {
43
43
  return (0, import_utils.merge)(a, c);
44
44
  }, {}) : stack;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "css-in-props",
3
3
  "description": "Utilize props as CSS methods",
4
4
  "author": "symbo.ls",
5
- "version": "2.11.212",
5
+ "version": "2.11.214",
6
6
  "repository": "https://github.com/symbo-ls/smbls",
7
7
  "type": "module",
8
8
  "module": "src/index.js",
@@ -30,5 +30,5 @@
30
30
  "@symbo.ls/emotion": "latest",
31
31
  "@symbo.ls/scratch": "latest"
32
32
  },
33
- "gitHead": "12914eac8527ac1df36183098bbf3dfcfaa2e027"
33
+ "gitHead": "707d4101f2b259c80be5c1ad095ca1c0ea6ef35d"
34
34
  }
package/src/transform.js CHANGED
@@ -21,7 +21,7 @@ export const transformClassname = (props, context = {}, registry = CSS_PROPS_REG
21
21
  if (setter) setter(key, props[key], CLASS_NAMES, element, true)
22
22
  else if (isFunction(hasCSS)) {
23
23
  // const stack = hasCSS(element)
24
- const stack = hasCSS({ props, context, deps: element.deps })
24
+ const stack = hasCSS({ ...element, props, context })
25
25
  const exec = isArray(stack)
26
26
  ? stack.reduce((a, c) => {
27
27
  return merge(a, c)