@symbo.ls/init 2.10.253 → 2.10.259
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 +6 -6
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -63,15 +63,15 @@ export const init = (config, options = SET_OPTIONS) => {
|
|
|
63
63
|
|
|
64
64
|
if (hasSvgs) appendSVGSprite(hasSvgs, { document: options.document })
|
|
65
65
|
else if (useSvgSprite) appendSVGSprite(conf.SVG, { document: options.document })
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
if (hasIcons) appendIconsSprite(hasIcons, { document: options.document })
|
|
68
68
|
else if (useIconSprite) appendIconsSprite(conf.ICONS, { document: options.document })
|
|
69
|
-
|
|
69
|
+
|
|
70
70
|
return conf
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
const UPDATE_OPTIONS = {
|
|
74
|
-
emotion: defaultEmotion
|
|
73
|
+
const UPDATE_OPTIONS = {
|
|
74
|
+
emotion: defaultEmotion
|
|
75
75
|
}
|
|
76
76
|
export const updateReset = (config, RC_FILE, options = UPDATE_OPTIONS) => {
|
|
77
77
|
const emotion = options.emotion || defaultEmotion
|
|
@@ -80,10 +80,10 @@ export const updateReset = (config, RC_FILE, options = UPDATE_OPTIONS) => {
|
|
|
80
80
|
verbose: false,
|
|
81
81
|
...resultConfig
|
|
82
82
|
})
|
|
83
|
-
emotion.injectGlobal({':root': conf.CSS_VARS })
|
|
83
|
+
emotion.injectGlobal({ ':root': conf.CSS_VARS })
|
|
84
84
|
emotion.injectGlobal(conf.RESET)
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export const setClass = (props, options = UPDATE_OPTIONS) => {}// setClassname(props, options.emotion.css)
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { DYNAMIC_JSON }
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/init",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.259",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"gitHead": "
|
|
5
|
+
"gitHead": "c454826279438617c85a5f8d8e7b3a6938d94dea",
|
|
6
6
|
"source": "index.js",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"dependencies": {
|