@dile/ui 2.10.5 → 2.11.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.
|
@@ -46,6 +46,7 @@ export class DileConfirm extends LitElement {
|
|
|
46
46
|
acceptLabel: { type: String },
|
|
47
47
|
cancelLabel: { type: String },
|
|
48
48
|
blocking: { type: Boolean },
|
|
49
|
+
dontCloseOnAccept: { type: Boolean },
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
|
|
@@ -100,7 +101,9 @@ export class DileConfirm extends LitElement {
|
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
accept() {
|
|
103
|
-
this.
|
|
104
|
+
if(!this.dontCloseOnAccept) {
|
|
105
|
+
this.close();
|
|
106
|
+
}
|
|
104
107
|
this.dispatchEvent(
|
|
105
108
|
new CustomEvent("dile-confirm-accepted", {
|
|
106
109
|
bubbles: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
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": "
|
|
29
|
+
"gitHead": "0ffe79bf145624b0a861b9b450a94546358a72ba"
|
|
30
30
|
}
|