@luftborn/custom-elements 2.12.6 → 2.12.8

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/demo/index.min.js CHANGED
@@ -3489,9 +3489,9 @@ var AddressElement = /** @class */ (function (_super) {
3489
3489
  Object.defineProperty(AddressElement.prototype, "value", {
3490
3490
  get: function () {
3491
3491
  var address = this.address.value || '';
3492
- var city = this.city.value ? "," + this.city.value : '';
3493
- var zip = this.zip.value ? "," + this.zip.value : '';
3494
- var country = this.country.value ? "," + this.country.value : '';
3492
+ var city = this.city.value ? ", " + this.city.value : '';
3493
+ var zip = this.zip.value ? ", " + this.zip.value : '';
3494
+ var country = this.country.value ? ", " + this.country.value : '';
3495
3495
  return "" + address + zip + city + country;
3496
3496
  },
3497
3497
  set: function (value) {
@@ -4958,7 +4958,8 @@ var CustomFormatDateFieldElement = /** @class */ (function (_super) {
4958
4958
  this.date.setAttribute('min', this.min);
4959
4959
  }
4960
4960
  this.language = ((_a = this.attributes.getNamedItem('language')) === null || _a === void 0 ? void 0 : _a.value) || 'en';
4961
- if (this.justPreview) {
4961
+ this.justPreview = this.attributes.getNamedItem('just-preview') !== null;
4962
+ if (!this.justPreview) {
4962
4963
  this.initCustomPicker();
4963
4964
  }
4964
4965
  };