@symbo.ls/create 2.11.473 → 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.
- package/dist/cjs/bundle/index.js +22 -25
- package/package.json +5 -5
package/dist/cjs/bundle/index.js
CHANGED
|
@@ -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,7 @@ 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);
|
|
13853
13851
|
param = (0, import_utils8.deepCloneWithExtend)(childrenExec);
|
|
13854
13852
|
param = Object.keys(param).map((v) => {
|
|
13855
13853
|
const val = param[v];
|
|
@@ -13870,7 +13868,12 @@ var init_Collection = __esm({
|
|
|
13870
13868
|
}
|
|
13871
13869
|
if (!param)
|
|
13872
13870
|
return;
|
|
13873
|
-
|
|
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;
|
|
13874
13877
|
if ((0, import_utils8.isString)(param)) {
|
|
13875
13878
|
if (param === "state")
|
|
13876
13879
|
param = state.parse();
|
|
@@ -17540,29 +17543,23 @@ var init_UploadImage = __esm({
|
|
|
17540
17543
|
padding: "B B2"
|
|
17541
17544
|
},
|
|
17542
17545
|
Input: {
|
|
17543
|
-
|
|
17544
|
-
|
|
17545
|
-
|
|
17546
|
-
|
|
17547
|
-
|
|
17548
|
-
visibility: "hidden"
|
|
17549
|
-
}
|
|
17546
|
+
type: "file",
|
|
17547
|
+
position: "absolute",
|
|
17548
|
+
inset: "0 0 0 0",
|
|
17549
|
+
opacity: "0",
|
|
17550
|
+
visibility: "hidden"
|
|
17550
17551
|
},
|
|
17551
17552
|
Icon: {
|
|
17552
|
-
|
|
17553
|
-
|
|
17554
|
-
|
|
17555
|
-
opacity: ".2"
|
|
17556
|
-
}
|
|
17553
|
+
name: "upload",
|
|
17554
|
+
fontSize: "B",
|
|
17555
|
+
opacity: ".2"
|
|
17557
17556
|
},
|
|
17558
17557
|
P: {
|
|
17559
|
-
|
|
17560
|
-
|
|
17561
|
-
|
|
17562
|
-
|
|
17563
|
-
|
|
17564
|
-
margin: "0"
|
|
17565
|
-
},
|
|
17558
|
+
text: " or click and upload from your computer",
|
|
17559
|
+
flexFlow: "column",
|
|
17560
|
+
flexAlign: "center center",
|
|
17561
|
+
opacity: ".22",
|
|
17562
|
+
margin: "0",
|
|
17566
17563
|
Span: {
|
|
17567
17564
|
text: "Drag and drop your font file",
|
|
17568
17565
|
display: "block"
|
|
@@ -21977,7 +21974,7 @@ var require_text = __commonJS({
|
|
|
21977
21974
|
text: () => text
|
|
21978
21975
|
});
|
|
21979
21976
|
module2.exports = __toCommonJS2(text_exports);
|
|
21980
|
-
var
|
|
21977
|
+
var import_create = require_create5();
|
|
21981
21978
|
var import_utils30 = require_cjs11();
|
|
21982
21979
|
var text = (param, element, node3) => {
|
|
21983
21980
|
let prop = (0, import_utils30.exec)(param, element);
|
|
@@ -21994,7 +21991,7 @@ var require_text = __commonJS({
|
|
|
21994
21991
|
if (element.__text.node)
|
|
21995
21992
|
element.__text.node.nodeValue = prop;
|
|
21996
21993
|
} else
|
|
21997
|
-
(0,
|
|
21994
|
+
(0, import_create.create)({ tag: "string", text: prop }, element, "__text");
|
|
21998
21995
|
}
|
|
21999
21996
|
};
|
|
22000
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.
|
|
3
|
+
"version": "2.11.474",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"gitHead": "
|
|
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.
|
|
38
|
+
"@symbo.ls/init": "^2.11.474",
|
|
39
39
|
"@symbo.ls/scratch": "^2.11.470",
|
|
40
|
-
"@symbo.ls/sync": "^2.11.
|
|
41
|
-
"@symbo.ls/uikit": "^2.11.
|
|
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
|
},
|