@symbo.ls/create 2.11.315 → 2.11.319

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.
@@ -45,7 +45,7 @@ const initEmotion = (key, options = {}) => {
45
45
  initOptions.emotion = import_emotion2.emotion;
46
46
  const registry = options.registry || (0, import_emotion.transformDOMQLEmotion)(initOptions.emotion, options);
47
47
  const defaultDesignSystem = (0, import_utils.deepClone)(import_default_config.default);
48
- const designSystem = options.useDefaultConfig ? (0, import_utils.deepMerge)(options.designSystem, defaultDesignSystem) : options.designSystem || defaultDesignSystem;
48
+ const designSystem = initOptions.useDefaultConfig || options.useDefaultConfig ? (0, import_utils.deepMerge)(options.designSystem, defaultDesignSystem) : options.designSystem || defaultDesignSystem;
49
49
  const scratchSystem = (0, import_init.init)(designSystem, {
50
50
  key,
51
51
  emotion,
@@ -34,7 +34,6 @@ const DESIGN_SYSTEM_OPTIONS = {
34
34
  useDefaultConfig: true
35
35
  };
36
36
  const CREATE_OPTIONS = {
37
- defaultConfig: true,
38
37
  state: {},
39
38
  pages: {},
40
39
  components: {},
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.315",
3
+ "version": "2.11.319",
4
4
  "license": "MIT",
5
- "gitHead": "f7e5836ff0fad163a721cd8a823e2da1a7f346ef",
5
+ "gitHead": "1ebfd506263b267810a7faff45488a9785e44100",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -17,7 +17,7 @@ export const initEmotion = (key, options = {}) => {
17
17
 
18
18
  const registry = options.registry || transformDOMQLEmotion(initOptions.emotion, options)
19
19
  const defaultDesignSystem = deepClone(DEFAULT_CONFIG)
20
- const designSystem = options.useDefaultConfig ? deepMerge(options.designSystem, defaultDesignSystem) : options.designSystem || defaultDesignSystem
20
+ const designSystem = (initOptions.useDefaultConfig || options.useDefaultConfig) ? deepMerge(options.designSystem, defaultDesignSystem) : options.designSystem || defaultDesignSystem
21
21
 
22
22
  const scratchSystem = init(designSystem, {
23
23
  key,
package/src/options.js CHANGED
@@ -13,7 +13,6 @@ export const DESIGN_SYSTEM_OPTIONS = {
13
13
  }
14
14
 
15
15
  export const CREATE_OPTIONS = {
16
- defaultConfig: true,
17
16
  state: {},
18
17
  pages: {},
19
18
  components: {},