@dile/ui 3.6.0 → 3.6.3

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.
@@ -26,6 +26,8 @@ export class DileTooltip extends LitElement {
26
26
  border-radius: var(--dile-tooltip-border-radius, 6px);;
27
27
  padding: var(--dile-tooltip-padding, 5px);
28
28
  z-index: 10000;
29
+ white-space: normal;
30
+ overflow-wrap: break-word;
29
31
  }
30
32
 
31
33
  .tooltip-top,
@@ -117,14 +117,22 @@ export const DileForm = (superclass) => class extends superclass {
117
117
  const value = this.firstValue[fieldName][index];
118
118
  const node = this.getNodeElement(name);
119
119
  if (node) {
120
- node.value = value;
120
+ if (typeof node.set === "function") {
121
+ node.set(value);
122
+ } else {
123
+ node.value = value;
124
+ }
121
125
  }
122
126
  }
123
127
  } else if (this.firstValue.hasOwnProperty(name)) {
124
128
  let value = this.firstValue[name];
125
129
  let node = this.getNodeElement(name);
126
130
  if (node) {
127
- node.value = value;
131
+ if (typeof node.set === "function") {
132
+ node.set(value);
133
+ } else {
134
+ node.value = value;
135
+ }
128
136
  }
129
137
  }
130
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/ui",
3
- "version": "3.6.0",
3
+ "version": "3.6.3",
4
4
  "description": "UI Core components from dile-components.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -28,5 +28,5 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
- "gitHead": "38fa60c43d27a6b9d083a0d5be2e3be4b2a67f00"
31
+ "gitHead": "d9fcd6a43318a4407751cdd25f9361502e9d2619"
32
32
  }