@domql/emotion 2.5.54 → 2.5.55

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.
Files changed (2) hide show
  1. package/index.js +2 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -23,9 +23,8 @@ export const transformEmotionClass = (emotion) => {
23
23
  const { __class, __classNames } = __ref
24
24
 
25
25
  if (!isObjectLike(params)) return
26
- if (element.props.class) {
27
- __classNames.class = element.props.class
28
- }
26
+ if (element.props.class) { __classNames.classProps = element.props.class }
27
+ if (element.attr.class) { __classNames.class = element.attr.class }
29
28
 
30
29
  for (const key in params) {
31
30
  const prop = exec(params[key], element)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/emotion",
3
- "version": "2.5.54",
3
+ "version": "2.5.55",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -11,6 +11,6 @@
11
11
  "peerDependencies": {
12
12
  "@emotion/css": "*"
13
13
  },
14
- "gitHead": "ef3740136a690328fdd9f47ce8236d93628ef4c5",
14
+ "gitHead": "bc5f96d3e520d0b256c2deb05fbb51f0c343bae3",
15
15
  "source": "index.js"
16
16
  }