@dile/ui 2.14.2 → 2.14.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.
@@ -150,9 +150,6 @@ export const DileSelectable = (SuperClass) =>
150
150
 
151
151
  updated(changedProperties) {
152
152
  this.setSelectedItem();
153
- if(changedProperties.has('selected')) {
154
- this.dispatchSelectedChanged();
155
- }
156
153
  }
157
154
 
158
155
  getItems() {
@@ -166,4 +163,9 @@ export const DileSelectable = (SuperClass) =>
166
163
  }
167
164
  }
168
165
  }
166
+
167
+ changeSelectedTo(elem) {
168
+ this.selected = elem;
169
+ this.dispatchSelectedChanged();
170
+ }
169
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/ui",
3
- "version": "2.14.2",
3
+ "version": "2.14.3",
4
4
  "description": "UI Core components from dile-components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,5 +26,5 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "7043cb3237acf07b8c4bae726742ed390883d21a"
29
+ "gitHead": "31777823912710d0021be2c8fb015e775949ace0"
30
30
  }