@symbo.ls/emotion 3.5.1 → 3.6.1

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/index.js CHANGED
@@ -77,4 +77,4 @@ export const transformDOMQLEmotion = (emotion, options) => {
77
77
  }
78
78
  }
79
79
 
80
- export * from './initEmotion.js'
80
+ // initEmotion is imported directly from '@symbo.ls/emotion/initEmotion.js' to avoid circular dependency
package/initEmotion.js CHANGED
@@ -1,7 +1,8 @@
1
1
  'use strict'
2
2
 
3
3
  import { transformDOMQLEmotion, emotion as defaultEmotion } from './index.js'
4
- import { init, DEFAULT_CONTEXT } from 'smbls'
4
+ import { init } from 'smbls/src/init.js'
5
+ import { DEFAULT_CONTEXT } from 'smbls/src/options.js'
5
6
  import { deepClone, deepMerge } from '@domql/utils'
6
7
 
7
8
  import { DEFAULT_CONFIG } from '@symbo.ls/default-config'
@@ -36,6 +37,7 @@ export const initEmotion = (key, options = {}) => {
36
37
  key,
37
38
  emotion,
38
39
  document: doc,
40
+ files: options.files,
39
41
  ...DEFAULT_CONTEXT,
40
42
  ...contextOverrides,
41
43
  ...initOptions
package/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "@symbo.ls/emotion",
3
- "version": "3.5.1",
3
+ "version": "3.6.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "source": "index.js",
8
8
  "dependencies": {
9
- "@domql/utils": "^3.5.1",
9
+ "@domql/utils": "^3.6.1",
10
10
  "@emotion/css": "^11.10.0",
11
- "@symbo.ls/default-config": "^3.5.1",
12
- "smbls": "^3.5.1"
11
+ "@symbo.ls/default-config": "^3.6.1"
12
+ },
13
+ "publishConfig": {
14
+ "access": "public"
13
15
  }
14
16
  }