@symbo.ls/create 2.11.472 → 2.11.474

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.
@@ -11445,8 +11445,6 @@ var init_init = __esm({
11445
11445
  reinit = (config, options = UPDATE_OPTIONS) => {
11446
11446
  const emotion2 = options.emotion || emotion;
11447
11447
  const resultConfig = mergeWithLocalFile(config || {}, options);
11448
- const prevStyles = document.querySelector('[data-emotion="smbls"]');
11449
- console.log(prevStyles);
11450
11448
  const conf = (0, import_scratch.set)({
11451
11449
  verbose: false,
11452
11450
  ...resultConfig
@@ -13849,7 +13847,8 @@ var init_Collection = __esm({
13849
13847
  param = param.map((v) => ({ extend: childExtends, [childrenAs]: v }));
13850
13848
  } else if ((0, import_utils8.isObject)(childrenExec)) {
13851
13849
  if (childrenExec.$$typeof)
13852
- return;
13850
+ return el.call("renderReact", childrenExec, el);
13851
+ param = (0, import_utils8.deepCloneWithExtend)(childrenExec);
13853
13852
  param = Object.keys(param).map((v) => {
13854
13853
  const val = param[v];
13855
13854
  return (0, import_utils8.addAdditionalExtend)(v, val);
@@ -13869,7 +13868,12 @@ var init_Collection = __esm({
13869
13868
  }
13870
13869
  if (!param)
13871
13870
  return;
13872
- param = param.filter((v) => !v.$$typeof);
13871
+ const filterReact = param.filter((v) => !v.$$typeof);
13872
+ if (filterReact.length !== param.length) {
13873
+ const extractedReactComponents = param.filter((v) => v.$$typeof);
13874
+ el.call("renderReact", extractedReactComponents, el);
13875
+ }
13876
+ param = filterReact;
13873
13877
  if ((0, import_utils8.isString)(param)) {
13874
13878
  if (param === "state")
13875
13879
  param = state.parse();
@@ -17539,29 +17543,23 @@ var init_UploadImage = __esm({
17539
17543
  padding: "B B2"
17540
17544
  },
17541
17545
  Input: {
17542
- props: {
17543
- type: "file",
17544
- position: "absolute",
17545
- inset: "0 0 0 0",
17546
- opacity: "0",
17547
- visibility: "hidden"
17548
- }
17546
+ type: "file",
17547
+ position: "absolute",
17548
+ inset: "0 0 0 0",
17549
+ opacity: "0",
17550
+ visibility: "hidden"
17549
17551
  },
17550
17552
  Icon: {
17551
- props: {
17552
- name: "upload",
17553
- fontSize: "B",
17554
- opacity: ".2"
17555
- }
17553
+ name: "upload",
17554
+ fontSize: "B",
17555
+ opacity: ".2"
17556
17556
  },
17557
17557
  P: {
17558
- props: {
17559
- text: " or click and upload from your computer",
17560
- flexFlow: "column",
17561
- flexAlign: "center center",
17562
- opacity: ".22",
17563
- margin: "0"
17564
- },
17558
+ text: " or click and upload from your computer",
17559
+ flexFlow: "column",
17560
+ flexAlign: "center center",
17561
+ opacity: ".22",
17562
+ margin: "0",
17565
17563
  Span: {
17566
17564
  text: "Drag and drop your font file",
17567
17565
  display: "block"
@@ -21976,7 +21974,7 @@ var require_text = __commonJS({
21976
21974
  text: () => text
21977
21975
  });
21978
21976
  module2.exports = __toCommonJS2(text_exports);
21979
- var import__ = require_cjs15();
21977
+ var import_create = require_create5();
21980
21978
  var import_utils30 = require_cjs11();
21981
21979
  var text = (param, element, node3) => {
21982
21980
  let prop = (0, import_utils30.exec)(param, element);
@@ -21993,7 +21991,7 @@ var require_text = __commonJS({
21993
21991
  if (element.__text.node)
21994
21992
  element.__text.node.nodeValue = prop;
21995
21993
  } else
21996
- (0, import__.create)({ tag: "string", text: prop }, element, "__text");
21994
+ (0, import_create.create)({ tag: "string", text: prop }, element, "__text");
21997
21995
  }
21998
21996
  };
21999
21997
  var text_default = text;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.472",
3
+ "version": "2.11.474",
4
4
  "license": "MIT",
5
- "gitHead": "c9fbacedf2ed6618e98ddf89cf10a12ab98633a4",
5
+ "gitHead": "dd0429b4bfcc2d43545a301dfe406c5000bd7ae0",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -35,10 +35,10 @@
35
35
  "@domql/report": "^2.5.0",
36
36
  "@domql/router": "^2.5.0",
37
37
  "@symbo.ls/fetch": "^2.11.470",
38
- "@symbo.ls/init": "^2.11.470",
38
+ "@symbo.ls/init": "^2.11.474",
39
39
  "@symbo.ls/scratch": "^2.11.470",
40
- "@symbo.ls/sync": "^2.11.472",
41
- "@symbo.ls/uikit": "^2.11.472",
40
+ "@symbo.ls/sync": "^2.11.474",
41
+ "@symbo.ls/uikit": "^2.11.474",
42
42
  "@symbo.ls/utils": "^2.11.470",
43
43
  "domql": "^2.5.158"
44
44
  },