@plasmicapp/loader-react 1.0.74 → 1.0.77
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/loader-react.cjs.development.js +2 -1
- package/dist/loader-react.cjs.development.js.map +1 -1
- package/dist/loader-react.cjs.production.min.js +1 -1
- package/dist/loader-react.cjs.production.min.js.map +1 -1
- package/dist/loader-react.esm.js +2 -1
- package/dist/loader-react.esm.js.map +1 -1
- package/package.json +4 -4
|
@@ -1079,6 +1079,7 @@ function toFullLookup(lookup) {
|
|
|
1079
1079
|
} else {
|
|
1080
1080
|
return {
|
|
1081
1081
|
name: codeComponent ? namePart : normalizeName(namePart),
|
|
1082
|
+
rawName: namePart.trim(),
|
|
1082
1083
|
projectId: projectId,
|
|
1083
1084
|
isCode: codeComponent
|
|
1084
1085
|
};
|
|
@@ -1113,7 +1114,7 @@ function matchesCompMeta(lookup, meta) {
|
|
|
1113
1114
|
return false;
|
|
1114
1115
|
}
|
|
1115
1116
|
|
|
1116
|
-
return isNameSpec(lookup) ? lookup.name === meta.name && (lookup.isCode == null || lookup.isCode === meta.isCode) : lookup.path === meta.path;
|
|
1117
|
+
return isNameSpec(lookup) ? (lookup.name === meta.name || lookup.rawName === meta.displayName) && (lookup.isCode == null || lookup.isCode === meta.isCode) : lookup.path === meta.path;
|
|
1117
1118
|
}
|
|
1118
1119
|
|
|
1119
1120
|
function getCompMeta(metas, lookup) {
|