@progressive-development/pd-dialog 0.0.8 → 0.0.9
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/package.json +3 -3
- package/src/PdSubmitDialog.js +7 -7
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Progressive Development dialog components.",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.9",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"lit": "^2.0.2",
|
|
21
21
|
"@progressive-development/pd-price": "0.0.3",
|
|
22
|
-
"@progressive-development/pd-forms": "0.0.
|
|
23
|
-
"@progressive-development/pd-icon": "0.0.
|
|
22
|
+
"@progressive-development/pd-forms": "0.0.16",
|
|
23
|
+
"@progressive-development/pd-icon": "0.0.7"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
package/src/PdSubmitDialog.js
CHANGED
|
@@ -71,14 +71,14 @@ export class PdSubmitDialog extends LitElement {
|
|
|
71
71
|
|
|
72
72
|
.success-icon {
|
|
73
73
|
padding-top: 5px;
|
|
74
|
-
--
|
|
75
|
-
--
|
|
74
|
+
--pd-icon-size: 2rem;
|
|
75
|
+
--pd-icon-fill-active: green;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.error-icon {
|
|
79
79
|
padding-top: 5px;
|
|
80
|
-
--
|
|
81
|
-
--
|
|
80
|
+
--pd-icon-size: 2rem;
|
|
81
|
+
--pd-icon-fill: darkred;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
@keyframes spin {
|
|
@@ -184,11 +184,11 @@ export class PdSubmitDialog extends LitElement {
|
|
|
184
184
|
break;
|
|
185
185
|
case STATUS_SEND_SUCCESS:
|
|
186
186
|
value = html` <div class="first-row-tmp">
|
|
187
|
-
<
|
|
187
|
+
<pd-icon
|
|
188
188
|
class="success-icon"
|
|
189
189
|
icon="checkBox"
|
|
190
190
|
activeIcon
|
|
191
|
-
></
|
|
191
|
+
></pd-icon>
|
|
192
192
|
</div>
|
|
193
193
|
<span
|
|
194
194
|
>${this.type === 'mail'
|
|
@@ -198,7 +198,7 @@ export class PdSubmitDialog extends LitElement {
|
|
|
198
198
|
break;
|
|
199
199
|
case STATUS_SEND_FAILED:
|
|
200
200
|
value = html` <div class="first-row-tmp">
|
|
201
|
-
<
|
|
201
|
+
<pd-icon class="error-icon" icon="checkBox"></pd-icon>
|
|
202
202
|
</div>
|
|
203
203
|
<span
|
|
204
204
|
>${this.type === 'mail'
|