@symbo.ls/atoms 2.29.41 → 2.29.43

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/Box.js +7 -5
  2. 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
- param = deepClone(children)
140
- param = Object.keys(param).map(v => {
141
- const val = param[v]
142
- return addAdditionalExtend(v, val)
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.41",
3
+ "version": "2.29.43",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "4a29e8f6c49b6765624ad45c11f24d9558033592",
6
+ "gitHead": "1e86e40836740e883185200773410f8388c99dca",
7
7
  "dependencies": {
8
- "@domql/state": "^2.29.41",
9
- "@domql/utils": "^2.29.41",
10
- "@symbo.ls/emotion": "^2.29.41",
11
- "@symbo.ls/scratch": "^2.29.41"
8
+ "@domql/state": "^2.29.43",
9
+ "@domql/utils": "^2.29.43",
10
+ "@symbo.ls/emotion": "^2.29.43",
11
+ "@symbo.ls/scratch": "^2.29.43"
12
12
  },
13
13
  "source": "src/index.js",
14
14
  "devDependencies": {