@symbo.ls/create 2.10.152 → 2.10.158

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 +4 -4
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -25,7 +25,7 @@ const defaultOptions = {
25
25
  },
26
26
  state: {},
27
27
  pages: {},
28
- system: {
28
+ designSystem: {
29
29
  useReset: true,
30
30
  useVariable: true,
31
31
  useIconSprite: true,
@@ -65,12 +65,12 @@ export const create = async (App, options = defaultOptions, RC_FILE) => {
65
65
 
66
66
  const doc = options.parent || document
67
67
 
68
- const designSystem = init(options.system || {}, {
68
+ const designSystem = init(options.designSystem || {}, {
69
69
  key,
70
70
  emotion,
71
71
  verbose: options.verbose,
72
72
  document: doc,
73
- ...defaultOptions.system,
73
+ ...defaultOptions.designSystem,
74
74
  ...initOptions
75
75
  })
76
76
 
@@ -83,7 +83,7 @@ export const create = async (App, options = defaultOptions, RC_FILE) => {
83
83
  components: options.components ? { ...uikit, ...options.components } : uikit,
84
84
  state: options.state || {},
85
85
  pages: options.pages || {},
86
- system: designSystem || {},
86
+ designSystem: designSystem || {},
87
87
  utils: { ...utils, ...domqlUtils },
88
88
  define: defaultDefine,
89
89
  registry: emotionDefine,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.10.152",
3
+ "version": "2.10.158",
4
4
  "license": "MIT",
5
- "gitHead": "2d292d25c681dbed822c339cdbc3d10aa97cfb50",
5
+ "gitHead": "3a847545c01796c874758c2c2a91e2417bcd29d6",
6
6
  "source": "index.js",
7
7
  "main": "index.js",
8
8
  "dependencies": {