smbls 2.11.468 → 2.11.470

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.
@@ -12223,15 +12223,24 @@ var init_Collection = __esm({
12223
12223
  if (childrenAs)
12224
12224
  param = param.map((v) => ({ extend: childExtends, [childrenAs]: v }));
12225
12225
  } else if ((0, import_utils8.isObject)(childrenExec)) {
12226
- param = (0, import_utils8.deepCloneWithExtend)(childrenExec.$$typeof ? { key: childrenExec.key, props: childrenExec.props } : childrenExec);
12226
+ if (!childrenExec.$$typeof)
12227
+ return;
12227
12228
  param = Object.keys(param).map((v) => {
12228
12229
  const val = param[v];
12229
12230
  return (0, import_utils8.addAdditionalExtend)(v, val);
12230
12231
  });
12231
- if (childrenAs)
12232
- param = param.map((v) => ({ extend: childExtends, [childrenAs]: v }));
12232
+ el.removeContent();
12233
+ el.content = {
12234
+ extend: childExtends,
12235
+ props: {
12236
+ childProps: el.props && el.props.childProps
12237
+ }
12238
+ };
12239
+ return;
12233
12240
  } else if (childrenExec) {
12234
- param = [{ text: param }];
12241
+ el.removeContent();
12242
+ el.content = { text: param };
12243
+ return;
12235
12244
  }
12236
12245
  if (!param)
12237
12246
  return;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "smbls",
3
- "version": "2.11.468",
3
+ "version": "2.11.470",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/symbo-ls/smbls",
6
- "gitHead": "93bddb8a979a3011306a7f7eec437d95b4455554",
6
+ "gitHead": "726524dbb01cfa6ead1c95bd8f930a85169c70fe",
7
7
  "source": "index.js",
8
8
  "main": "index.js",
9
9
  "module": "index.js",
@@ -13,16 +13,16 @@
13
13
  "dist"
14
14
  ],
15
15
  "dependencies": {
16
- "@symbo.ls/cli": "^2.11.464",
17
- "@symbo.ls/create": "^2.11.468",
18
- "@symbo.ls/default-config": "^2.11.464",
19
- "@symbo.ls/init": "^2.11.464",
20
- "@symbo.ls/scratch": "^2.11.464",
21
- "@symbo.ls/sync": "^2.11.468",
22
- "@symbo.ls/uikit": "^2.11.468",
23
- "@symbo.ls/utils": "^2.11.453",
24
- "attrs-in-props": "^2.11.455",
25
- "css-in-props": "^2.11.468",
16
+ "@symbo.ls/cli": "^2.11.470",
17
+ "@symbo.ls/create": "^2.11.470",
18
+ "@symbo.ls/default-config": "^2.11.470",
19
+ "@symbo.ls/init": "^2.11.470",
20
+ "@symbo.ls/scratch": "^2.11.470",
21
+ "@symbo.ls/sync": "^2.11.470",
22
+ "@symbo.ls/uikit": "^2.11.470",
23
+ "@symbo.ls/utils": "^2.11.470",
24
+ "attrs-in-props": "^2.11.470",
25
+ "css-in-props": "^2.11.470",
26
26
  "domql": "^2.5.158"
27
27
  },
28
28
  "type": "module",