@zcomponent/core 1.0.0-beta → 1.1.0

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/lib/zcomponent.js CHANGED
@@ -104,6 +104,8 @@ export class ZComponent extends Component {
104
104
  if (node?.label) {
105
105
  that.entityByLabel.set(node.label, this);
106
106
  that.nodeByLabel.set(node.label, this);
107
+ if (this.element)
108
+ this.element['__zlabel'] = node.label;
107
109
  }
108
110
  that._nodesById.set(nodeId, this);
109
111
  for (const element of this.elementsResolved) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zcomponent/core",
3
- "version": "1.0.0-beta",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",