@node-projects/web-component-designer 0.1.32 → 0.1.34

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.
@@ -168,7 +168,7 @@ export class DesignItem {
168
168
  for (const e of this._childArray) {
169
169
  yield e;
170
170
  if (recursive) {
171
- for (const c of e.children()) {
171
+ for (const c of e.children(recursive)) {
172
172
  yield c;
173
173
  }
174
174
  }
@@ -21,6 +21,10 @@ export class AbstractPropertiesService {
21
21
  setValue(designItems, property, value) {
22
22
  const cg = designItems[0].openGroup("property changed: " + property.name + " to " + value);
23
23
  for (let d of designItems) {
24
+ if (!this.isHandledElement(d))
25
+ continue;
26
+ if (!this.getProperty(d, property.name))
27
+ continue;
24
28
  if (property.propertyType == PropertyType.cssValue) {
25
29
  d.updateStyleInSheetOrLocal(property.name, value);
26
30
  //unkown css property names do not trigger the mutation observer of property grid,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "A UI designer for Polymer apps",
3
3
  "name": "@node-projects/web-component-designer",
4
- "version": "0.1.32",
4
+ "version": "0.1.34",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",