@node-projects/web-component-designer 0.1.174 → 0.1.175
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.
|
@@ -16,7 +16,7 @@ export class WebcomponentManifestElementsService {
|
|
|
16
16
|
for (let m of manifest.modules) {
|
|
17
17
|
for (let e of m.exports) {
|
|
18
18
|
if (e.kind == 'custom-element-definition') {
|
|
19
|
-
let elDef = { tag: e.name, import: removeTrailing(this._importPrefix, '/') + '/' + removeLeading(
|
|
19
|
+
let elDef = { tag: e.name, import: removeTrailing(this._importPrefix, '/') + '/' + removeLeading(m.path, '/'), defaultWidth: "200px", defaultHeight: "200px", className: e.declaration.name };
|
|
20
20
|
this._elementList.push(elDef);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -52,7 +52,7 @@ export class WebcomponentManifestParserService extends AbstractPropertiesService
|
|
|
52
52
|
for (let m of this._packageData.modules) {
|
|
53
53
|
for (let e of m.exports) {
|
|
54
54
|
if (e.kind == 'custom-element-definition') {
|
|
55
|
-
this._elementList.push({ tag: e.name, import: removeTrailing(this._importPrefix, '/') + '/' + removeLeading(
|
|
55
|
+
this._elementList.push({ tag: e.name, import: removeTrailing(this._importPrefix, '/') + '/' + removeLeading(m.path, '/') });
|
|
56
56
|
let properties = [];
|
|
57
57
|
let declaration = m.declarations.find(x => x.name == e.declaration.name);
|
|
58
58
|
for (let d of declaration.members) {
|
package/package.json
CHANGED