css-in-props 0.9.7 → 0.9.8

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Utilize props as CSS methods",
4
4
  "private": false,
5
5
  "author": "symbo.ls",
6
- "version": "0.9.7",
6
+ "version": "0.9.8",
7
7
  "repository": "https://github.com/symbo-ls/smbls",
8
8
  "main": "src/index.js",
9
9
  "files": [
@@ -3,9 +3,9 @@
3
3
  import { merge, isFunction, isObject, isArray } from '@domql/utils'
4
4
  import { keySetters } from './subProps'
5
5
 
6
- import { registry } from '../registry'
6
+ import { registry as reg } from '../registry'
7
7
 
8
- export const transformClassname = props => {
8
+ export const transformClassname = (props, registry = reg) => {
9
9
  const CLASS_NAMES = {}
10
10
  if (!isObject(props)) return
11
11