@symbo.ls/atoms 2.29.42 → 2.29.44
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/Box.js +7 -5
- package/package.json +6 -6
package/Box.js
CHANGED
|
@@ -136,11 +136,13 @@ export const Box = {
|
|
|
136
136
|
if (children) {
|
|
137
137
|
if (isObject(children)) {
|
|
138
138
|
if (children.$$typeof) return el.call('renderReact', children, el)
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
139
|
+
if (childrenAsDefault && childrenAsDefault !== 'state') {
|
|
140
|
+
param = deepClone(children)
|
|
141
|
+
param = Object.keys(param).map(v => {
|
|
142
|
+
const val = param[v]
|
|
143
|
+
return addAdditionalExtend(v, val)
|
|
144
|
+
})
|
|
145
|
+
}
|
|
144
146
|
} else if (isArray(children)) {
|
|
145
147
|
param = deepClone(children)
|
|
146
148
|
if (childrenAsDefault && childrenAsDefault !== 'element') {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/atoms",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.44",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "5eb985eb30c6abe3f450a1d164e5e99ec15ef1fd",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@domql/state": "^2.29.
|
|
9
|
-
"@domql/utils": "^2.29.
|
|
10
|
-
"@symbo.ls/emotion": "^2.29.
|
|
11
|
-
"@symbo.ls/scratch": "^2.29.
|
|
8
|
+
"@domql/state": "^2.29.44",
|
|
9
|
+
"@domql/utils": "^2.29.44",
|
|
10
|
+
"@symbo.ls/emotion": "^2.29.44",
|
|
11
|
+
"@symbo.ls/scratch": "^2.29.44"
|
|
12
12
|
},
|
|
13
13
|
"source": "src/index.js",
|
|
14
14
|
"devDependencies": {
|