@builder.io/mitosis 0.6.7 → 0.6.8
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.
|
@@ -461,7 +461,7 @@ function isGlobalStyle(key) {
|
|
|
461
461
|
key.startsWith('@'));
|
|
462
462
|
}
|
|
463
463
|
const blockToBuilder = (json, options = {}, _internalOptions = {}) => {
|
|
464
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m
|
|
464
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
465
465
|
const mapper = !_internalOptions.skipMapper && componentMappers[json.name];
|
|
466
466
|
if (mapper) {
|
|
467
467
|
const element = mapper(json, options);
|
|
@@ -562,13 +562,6 @@ const blockToBuilder = (json, options = {}, _internalOptions = {}) => {
|
|
|
562
562
|
}
|
|
563
563
|
delete json.bindings.css;
|
|
564
564
|
}
|
|
565
|
-
if (thisIsComponent) {
|
|
566
|
-
for (const key in json.bindings) {
|
|
567
|
-
if (!((_o = json.slots) === null || _o === void 0 ? void 0 : _o[key])) {
|
|
568
|
-
builderBindings[`component.options.${key}`] = json.bindings[key].code;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
565
|
const element = el({
|
|
573
566
|
tagName: thisIsComponent ? undefined : json.name,
|
|
574
567
|
...(hasCss && {
|