@symbo.ls/emotion 3.6.7 → 3.6.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.
Files changed (2) hide show
  1. package/initEmotion.js +3 -4
  2. package/package.json +3 -3
package/initEmotion.js CHANGED
@@ -22,10 +22,9 @@ export const initEmotion = (key, options = {}) => {
22
22
 
23
23
  const registry =
24
24
  options.registry || transformDOMQLEmotion(initOptions.emotion, options)
25
- const designSystem =
26
- initOptions.useDefaultConfig || options.useDefaultConfig || options.designSystem?.useDefaultConfig
27
- ? deepMerge(options.designSystem, deepClone(DEFAULT_CONFIG))
28
- : options.designSystem || deepClone(DEFAULT_CONFIG)
25
+ const designSystem = options.designSystem
26
+ ? deepMerge(deepClone(DEFAULT_CONFIG), options.designSystem)
27
+ : deepClone(DEFAULT_CONFIG)
29
28
 
30
29
  // Pick context-level overrides (from user's config.js spread into context)
31
30
  const contextOverrides = {}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@symbo.ls/emotion",
3
- "version": "3.6.7",
3
+ "version": "3.6.8",
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.6.7",
9
+ "@domql/utils": "^3.6.8",
10
10
  "@emotion/css": "^11.10.0",
11
- "@symbo.ls/default-config": "^3.6.7"
11
+ "@symbo.ls/default-config": "^3.6.8"
12
12
  },
13
13
  "publishConfig": {
14
14
  "access": "public"