@progressive-development/pd-contact 0.5.3 → 0.5.5
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/dist/src/PdContact.js +3 -1
- package/package.json +4 -4
package/dist/src/PdContact.js
CHANGED
|
@@ -49,6 +49,7 @@ const C_LASTNAME = "lastName";
|
|
|
49
49
|
const C_STREET = "street";
|
|
50
50
|
const C_CITY = "city";
|
|
51
51
|
const C_ADDITIONAL = "additionalHint";
|
|
52
|
+
const C_PROPERTY_DATE = "propertyDate";
|
|
52
53
|
const C_PHONE1 = "phone1";
|
|
53
54
|
const C_EMAIL = "email";
|
|
54
55
|
const yearSelection = [
|
|
@@ -366,7 +367,7 @@ class PdContact extends LitElement {
|
|
|
366
367
|
label="${msg("Datum der Immobilie", { id: "pd.contact.label.propertyDate" })}"
|
|
367
368
|
value="${this.contact ? this.contact.propertyDate : ""}"
|
|
368
369
|
.values="${yearSelection}"
|
|
369
|
-
required
|
|
370
|
+
?required="${this._isRequired(C_PROPERTY_DATE)}"
|
|
370
371
|
></pd-select>
|
|
371
372
|
</pd-form-row>
|
|
372
373
|
` : ""}
|
|
@@ -658,6 +659,7 @@ export {
|
|
|
658
659
|
C_FIRSTNAME,
|
|
659
660
|
C_LASTNAME,
|
|
660
661
|
C_PHONE1,
|
|
662
|
+
C_PROPERTY_DATE,
|
|
661
663
|
C_STREET,
|
|
662
664
|
C_TYPE,
|
|
663
665
|
PdContact
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Progressive Development Contact component",
|
|
4
4
|
"author": "PD Progressive Development",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
|
-
"version": "0.5.
|
|
6
|
+
"version": "0.5.5",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"module": "./dist/index.js",
|
|
9
9
|
"exports": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"build-storybook": "storybook build"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@lit/localize": "^0.
|
|
38
|
-
"@progressive-development/pd-forms": "^0.5.
|
|
37
|
+
"@lit/localize": "^0.11.4",
|
|
38
|
+
"@progressive-development/pd-forms": "^0.5.2",
|
|
39
39
|
"@progressive-development/pd-icon": "^0.5.0",
|
|
40
40
|
"@progressive-development/pd-shared-styles": "^0.1.1",
|
|
41
41
|
"lit": "^2.8.0"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@chromatic-com/storybook": "^1.3.4",
|
|
45
45
|
"@custom-elements-manifest/analyzer": "^0.4.17",
|
|
46
|
-
"@lit/localize-tools": "^0.
|
|
46
|
+
"@lit/localize-tools": "^0.6.10",
|
|
47
47
|
"@storybook/addon-essentials": "^8.0.10",
|
|
48
48
|
"@storybook/addon-links": "^8.0.10",
|
|
49
49
|
"@storybook/blocks": "^8.0.10",
|