@progressive-development/pd-dialog 0.6.1 → 0.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pd-popup-dialog.d.ts","sourceRoot":"","sources":["../src/pd-popup-dialog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,
|
|
1
|
+
{"version":3,"file":"pd-popup-dialog.d.ts","sourceRoot":"","sources":["../src/pd-popup-dialog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,wDAAwD,CAAC;AAChE,OAAO,0CAA0C,CAAC;AAMlD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,qBACa,aAAc,SAAQ,UAAU;IAC3C;;OAEG;IAEH,IAAI,EAAE,MAAM,CAAU;IAEtB;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAiB;IAE9B;;OAEG;IAEH,OAAO,EAAE,cAAc,EAAE,CAAM;IAE/B,OAAgB,MAAM,EAAE,cAAc,CAkGpC;IAEO,MAAM;IA6Bf,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,WAAW;IA0BnB;;OAEG;IACI,SAAS;IAIhB;;OAEG;IACI,SAAS;IAIhB,OAAO,CAAC,gBAAgB;CAMzB"}
|
package/dist/pd-popup-dialog.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, LitElement, html } from "lit";
|
|
2
2
|
import { property, customElement } from "lit/decorators.js";
|
|
3
|
-
import "@progressive-development/pd-forms/pd-button";
|
|
3
|
+
import "@progressive-development/pd-forms/pd-icon-panel-button";
|
|
4
4
|
import "@progressive-development/pd-icon/pd-icon";
|
|
5
5
|
import { PdColorStyles, PdFontStyles } from "@progressive-development/pd-shared-styles";
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
@@ -34,13 +34,13 @@ let PdPopupDialog = class extends LitElement {
|
|
|
34
34
|
<div class="footer">
|
|
35
35
|
${this.buttons.map(
|
|
36
36
|
(bt) => html`
|
|
37
|
-
<pd-button
|
|
37
|
+
<pd-icon-panel-button
|
|
38
38
|
data-key=${bt.key}
|
|
39
|
-
|
|
39
|
+
buttonText=${bt.name}
|
|
40
40
|
?disabled=${bt.disabled}
|
|
41
41
|
?primary=${bt.primary}
|
|
42
42
|
@button-clicked=${this._onButtonClick}
|
|
43
|
-
></pd-button>
|
|
43
|
+
></pd-icon-panel-button>
|
|
44
44
|
`
|
|
45
45
|
)}
|
|
46
46
|
</div>
|
|
@@ -156,7 +156,7 @@ PdPopupDialog.styles = [
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.error {
|
|
159
|
-
--pd-icon-col:
|
|
159
|
+
--pd-icon-col: var(--pd-default-error-col);
|
|
160
160
|
--pd-icon-stroke-width: 0;
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -190,6 +190,15 @@ PdPopupDialog.styles = [
|
|
|
190
190
|
height: 70px;
|
|
191
191
|
align-items: center;
|
|
192
192
|
justify-content: space-around;
|
|
193
|
+
|
|
194
|
+
--pd-icon-button-width: 11em;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@media (max-width: 640px) {
|
|
198
|
+
.footer {
|
|
199
|
+
--pd-icon-button-width: 9em;
|
|
200
|
+
--pd-icon-button-font-size: 100%;
|
|
201
|
+
}
|
|
193
202
|
}
|
|
194
203
|
`
|
|
195
204
|
];
|
|
@@ -7,12 +7,12 @@ declare const meta: {
|
|
|
7
7
|
smallViewSlot: {
|
|
8
8
|
control: "text";
|
|
9
9
|
description: string;
|
|
10
|
-
|
|
10
|
+
initValue: string;
|
|
11
11
|
};
|
|
12
12
|
contentSlot: {
|
|
13
13
|
control: "text";
|
|
14
14
|
description: string;
|
|
15
|
-
|
|
15
|
+
initValue: string;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progressive-development/pd-dialog",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Progressive Development dialog components.",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@lit/localize": "^0.12.2",
|
|
44
|
-
"@progressive-development/pd-forms": "^0.6.
|
|
45
|
-
"@progressive-development/pd-icon": "^0.
|
|
46
|
-
"@progressive-development/pd-price": "^0.6.
|
|
47
|
-
"@progressive-development/pd-shared-styles": "^0.2.
|
|
44
|
+
"@progressive-development/pd-forms": "^0.6.14",
|
|
45
|
+
"@progressive-development/pd-icon": "^0.7.3",
|
|
46
|
+
"@progressive-development/pd-price": "^0.6.1",
|
|
47
|
+
"@progressive-development/pd-shared-styles": "^0.2.4",
|
|
48
48
|
"lit": "^3.3.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|