@dile/ui 2.5.6 → 2.6.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.
@@ -115,6 +115,7 @@ export class DileSelectAjax extends DileEmmitChange(LitElement) {
115
115
  updated(changedProperties) {
116
116
  if(changedProperties.has("value")) {
117
117
  this.emmitChange();
118
+ this.dispatchSelectedTextChanged();
118
119
  this.internals.setFormValue(this.value);
119
120
  }
120
121
  }
@@ -398,4 +399,14 @@ export class DileSelectAjax extends DileEmmitChange(LitElement) {
398
399
  this.searchValueInitial();
399
400
  }
400
401
  }
402
+
403
+ dispatchSelectedTextChanged() {
404
+ this.dispatchEvent(new CustomEvent('dile-select-ajax-selected-text-changed',
405
+ {
406
+ bubbles: true,
407
+ composed: true,
408
+ detail: { selectedText: this.selectedText }
409
+ }
410
+ ));
411
+ }
401
412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/ui",
3
- "version": "2.5.6",
3
+ "version": "2.6.0",
4
4
  "description": "UI Core components from dile-components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,11 +20,11 @@
20
20
  },
21
21
  "homepage": "https://dile-components.com/",
22
22
  "dependencies": {
23
- "@dile/icons": "^2.1.2",
23
+ "@dile/icons": "^2.1.3",
24
24
  "lit": "^2.7.0 || ^3.0.0"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "0ca8a028f7d8e60a7e1b83ad5a6a90dfc97ddac4"
29
+ "gitHead": "60b2984016e81117b9da0a5b5fe8dcd5eb8cee98"
30
30
  }