@symbo.ls/emotion 3.8.7 → 3.8.9

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/initEmotion.js +1 -1
  2. package/package.json +6 -3
package/initEmotion.js CHANGED
@@ -14,7 +14,7 @@ const OPTION_KEYS = [
14
14
  ]
15
15
 
16
16
  export const initEmotion = (key, options = {}) => {
17
- const doc = options.parent || options.document || document
17
+ const doc = options.document || (options.parent && options.parent.documentElement ? options.parent : null) || document
18
18
  const initOptions = options.initOptions || {}
19
19
  const emotion = initOptions.emotion
20
20
 
package/package.json CHANGED
@@ -1,16 +1,19 @@
1
1
  {
2
2
  "name": "@symbo.ls/emotion",
3
- "version": "3.8.7",
3
+ "version": "3.8.9",
4
4
  "license": "CC-BY-NC-4.0",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "source": "index.js",
8
8
  "dependencies": {
9
- "@domql/utils": "^3.8.7",
9
+ "@domql/utils": "^3.8.9",
10
10
  "@emotion/css": "^11.10.0",
11
- "@symbo.ls/default-config": "^3.8.7"
11
+ "@symbo.ls/default-config": "^3.8.9"
12
12
  },
13
13
  "publishConfig": {
14
14
  "access": "public"
15
+ },
16
+ "devDependencies": {
17
+ "@babel/core": "^7.29.0"
15
18
  }
16
19
  }