@shoper/phoenix_design_system 0.4.3 → 0.4.4

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.
Files changed (32) hide show
  1. package/build/cjs/packages/phoenix/src/components/modal/modal.js +2 -1
  2. package/build/cjs/packages/phoenix/src/components/modal/modal.js.map +1 -1
  3. package/build/cjs/packages/phoenix/src/components/modal/modal_backdrop.js +3 -2
  4. package/build/cjs/packages/phoenix/src/components/modal/modal_backdrop.js.map +1 -1
  5. package/build/cjs/packages/phoenix/src/components/modal/modal_body.js +2 -2
  6. package/build/cjs/packages/phoenix/src/components/modal/modal_close.js +2 -2
  7. package/build/cjs/packages/phoenix/src/components/modal/modal_footer.js +2 -2
  8. package/build/cjs/packages/phoenix/src/components/modal/modal_header.js +2 -2
  9. package/build/cjs/packages/phoenix/src/components/modal/modal_opener.js +2 -1
  10. package/build/cjs/packages/phoenix/src/components/modal/modal_opener.js.map +1 -1
  11. package/build/cjs/packages/phoenix/src/components/portal/portal.js +2 -1
  12. package/build/cjs/packages/phoenix/src/components/portal/portal.js.map +1 -1
  13. package/build/cjs/packages/phoenix/src/components/portal/portal_target.js +2 -1
  14. package/build/cjs/packages/phoenix/src/components/portal/portal_target.js.map +1 -1
  15. package/build/cjs/packages/phoenix/src/core/decorators/phoenix_custom_element.js +1 -1
  16. package/build/esm/packages/phoenix/src/components/modal/modal.js +3 -2
  17. package/build/esm/packages/phoenix/src/components/modal/modal.js.map +1 -1
  18. package/build/esm/packages/phoenix/src/components/modal/modal_backdrop.js +4 -3
  19. package/build/esm/packages/phoenix/src/components/modal/modal_backdrop.js.map +1 -1
  20. package/build/esm/packages/phoenix/src/components/modal/modal_body.js +2 -2
  21. package/build/esm/packages/phoenix/src/components/modal/modal_close.js +2 -2
  22. package/build/esm/packages/phoenix/src/components/modal/modal_footer.js +2 -2
  23. package/build/esm/packages/phoenix/src/components/modal/modal_header.js +2 -2
  24. package/build/esm/packages/phoenix/src/components/modal/modal_opener.js +3 -2
  25. package/build/esm/packages/phoenix/src/components/modal/modal_opener.js.map +1 -1
  26. package/build/esm/packages/phoenix/src/components/portal/portal.js +3 -2
  27. package/build/esm/packages/phoenix/src/components/portal/portal.js.map +1 -1
  28. package/build/esm/packages/phoenix/src/components/portal/portal_target.js +3 -2
  29. package/build/esm/packages/phoenix/src/components/portal/portal_target.js.map +1 -1
  30. package/build/esm/packages/phoenix/src/core/decorators/phoenix_custom_element.d.ts +1 -1
  31. package/build/esm/packages/phoenix/src/core/decorators/phoenix_custom_element.js +1 -1
  32. package/package.json +1 -1
@@ -6,6 +6,7 @@ var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
6
  var lit = require('lit');
7
7
  var decorators = require('lit/decorators');
8
8
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
9
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
9
10
  var portal_constants = require('../portal/portal_constants.js');
10
11
  var modal_constants = require('./modal_constants.js');
11
12
  var ref = require('../../../../../external/lit-html/directives/ref.js');
@@ -212,7 +213,7 @@ tslib_es6.__decorate([
212
213
  tslib_es6.__metadata("design:type", Object)
213
214
  ], exports.HModal.prototype, "_lastFocusableElement", void 0);
214
215
  exports.HModal = HModal_1 = tslib_es6.__decorate([
215
- decorators.customElement('h-modal'),
216
+ phoenix_custom_element.phoenixCustomElement('h-modal'),
216
217
  tslib_es6.__metadata("design:paramtypes", [])
217
218
  ], exports.HModal);
218
219
  //# sourceMappingURL=modal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA,kBAAkB,oDAAwD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,oDAAwD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -6,6 +6,7 @@ var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
6
  var lit = require('lit');
7
7
  var decorators = require('lit/decorators');
8
8
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
9
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
9
10
  var modal_constants = require('./modal_constants.js');
10
11
  var modal = require('./modal.js');
11
12
 
@@ -52,7 +53,7 @@ exports.HModalBackdrop = class HModalBackdrop extends phoenix_light_lit_element.
52
53
  document.body.style.removeProperty('padding-right');
53
54
  }
54
55
  render() {
55
- return lit.html `<div aria-hidden="true" ?hidden="${!this.visible}" class="modal-backdrop"></div>`;
56
+ return lit.html ` <div aria-hidden="true" ?hidden="${!this.visible}" class="modal-backdrop"></div>`;
56
57
  }
57
58
  };
58
59
  tslib_es6.__decorate([
@@ -60,6 +61,6 @@ tslib_es6.__decorate([
60
61
  tslib_es6.__metadata("design:type", Object)
61
62
  ], exports.HModalBackdrop.prototype, "visible", void 0);
62
63
  exports.HModalBackdrop = tslib_es6.__decorate([
63
- decorators.customElement('h-modal-backdrop')
64
+ phoenix_custom_element.phoenixCustomElement('h-modal-backdrop')
64
65
  ], exports.HModalBackdrop);
65
66
  //# sourceMappingURL=modal_backdrop.js.map
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
- var decorators = require('lit/decorators');
7
6
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
7
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
8
8
 
9
9
  exports.HModalBody = class HModalBody extends phoenix_light_lit_element.PhoenixLightLitElement {
10
10
  constructor() {
@@ -14,7 +14,7 @@ exports.HModalBody = class HModalBody extends phoenix_light_lit_element.PhoenixL
14
14
  }
15
15
  };
16
16
  exports.HModalBody = tslib_es6.__decorate([
17
- decorators.customElement('h-modal-body'),
17
+ phoenix_custom_element.phoenixCustomElement('h-modal-body'),
18
18
  tslib_es6.__metadata("design:paramtypes", [])
19
19
  ], exports.HModalBody);
20
20
  //# sourceMappingURL=modal_body.js.map
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
- var decorators = require('lit/decorators');
7
6
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
7
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
8
8
  var modal_constants = require('./modal_constants.js');
9
9
 
10
10
  exports.HModalClose = class HModalClose extends phoenix_light_lit_element.PhoenixLightLitElement {
@@ -35,7 +35,7 @@ exports.HModalClose = class HModalClose extends phoenix_light_lit_element.Phoeni
35
35
  }
36
36
  };
37
37
  exports.HModalClose = tslib_es6.__decorate([
38
- decorators.customElement('h-modal-close'),
38
+ phoenix_custom_element.phoenixCustomElement('h-modal-close'),
39
39
  tslib_es6.__metadata("design:paramtypes", [])
40
40
  ], exports.HModalClose);
41
41
  //# sourceMappingURL=modal_close.js.map
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
- var decorators = require('lit/decorators');
7
6
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
7
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
8
8
 
9
9
  exports.HModalFooter = class HModalFooter extends phoenix_light_lit_element.PhoenixLightLitElement {
10
10
  constructor() {
@@ -14,7 +14,7 @@ exports.HModalFooter = class HModalFooter extends phoenix_light_lit_element.Phoe
14
14
  }
15
15
  };
16
16
  exports.HModalFooter = tslib_es6.__decorate([
17
- decorators.customElement('h-modal-footer'),
17
+ phoenix_custom_element.phoenixCustomElement('h-modal-footer'),
18
18
  tslib_es6.__metadata("design:paramtypes", [])
19
19
  ], exports.HModalFooter);
20
20
  //# sourceMappingURL=modal_footer.js.map
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
- var decorators = require('lit/decorators');
7
6
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
7
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
8
8
 
9
9
  exports.HModalHeader = class HModalHeader extends phoenix_light_lit_element.PhoenixLightLitElement {
10
10
  constructor() {
@@ -14,7 +14,7 @@ exports.HModalHeader = class HModalHeader extends phoenix_light_lit_element.Phoe
14
14
  }
15
15
  };
16
16
  exports.HModalHeader = tslib_es6.__decorate([
17
- decorators.customElement('h-modal-header'),
17
+ phoenix_custom_element.phoenixCustomElement('h-modal-header'),
18
18
  tslib_es6.__metadata("design:paramtypes", [])
19
19
  ], exports.HModalHeader);
20
20
  //# sourceMappingURL=modal_header.js.map
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
6
  var decorators = require('lit/decorators');
7
7
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
8
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
8
9
 
9
10
  exports.HModalOpener = class HModalOpener extends phoenix_light_lit_element.PhoenixLightLitElement {
10
11
  constructor() {
@@ -37,7 +38,7 @@ tslib_es6.__decorate([
37
38
  tslib_es6.__metadata("design:type", Object)
38
39
  ], exports.HModalOpener.prototype, "name", void 0);
39
40
  exports.HModalOpener = tslib_es6.__decorate([
40
- decorators.customElement('h-modal-opener'),
41
+ phoenix_custom_element.phoenixCustomElement('h-modal-opener'),
41
42
  tslib_es6.__metadata("design:paramtypes", [])
42
43
  ], exports.HModalOpener);
43
44
  //# sourceMappingURL=modal_opener.js.map
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
6
  var decorators = require('lit/decorators');
7
7
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
8
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
8
9
  var portal_constants = require('./portal_constants.js');
9
10
  var v4 = require('../../../../../external/uuid/dist/esm-browser/v4.js');
10
11
 
@@ -79,7 +80,7 @@ tslib_es6.__decorate([
79
80
  tslib_es6.__metadata("design:type", Object)
80
81
  ], exports.HPortal.prototype, "disabled", void 0);
81
82
  exports.HPortal = tslib_es6.__decorate([
82
- decorators.customElement('h-portal'),
83
+ phoenix_custom_element.phoenixCustomElement('h-portal'),
83
84
  tslib_es6.__metadata("design:paramtypes", [])
84
85
  ], exports.HPortal);
85
86
  //# sourceMappingURL=portal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA,iBAAiB,qDAAyD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA,iBAAiB,qDAAyD;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib_es6 = require('../../../../../external/tslib/tslib.es6.js');
6
6
  var decorators = require('lit/decorators');
7
7
  var phoenix_light_lit_element = require('../../core/phoenix_light_lit_element.js');
8
+ var phoenix_custom_element = require('../../core/decorators/phoenix_custom_element.js');
8
9
  var portal_target_error = require('./portal_target_error.js');
9
10
  var portal_constants = require('./portal_constants.js');
10
11
 
@@ -71,6 +72,6 @@ tslib_es6.__decorate([
71
72
  tslib_es6.__metadata("design:type", Object)
72
73
  ], exports.HPortalTarget.prototype, "_portalElementsMap", void 0);
73
74
  exports.HPortalTarget = HPortalTarget_1 = tslib_es6.__decorate([
74
- decorators.customElement('h-portal-target')
75
+ phoenix_custom_element.phoenixCustomElement('h-portal-target')
75
76
  ], exports.HPortalTarget);
76
77
  //# sourceMappingURL=portal_target.js.map
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,4CAAgD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -32,7 +32,7 @@ const standardCustomElement = (tagName, descriptor) => {
32
32
  * Class decorator factory that defines the decorated class as a custom element.
33
33
  *
34
34
  * ```js
35
- * @customElement('my-element')
35
+ * @phoenixCustomElement('my-element')
36
36
  * class MyElement extends LitElement {
37
37
  * render() {
38
38
  * return html``;
@@ -1,7 +1,8 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
2
  import { html } from 'lit';
3
- import { property, state, customElement } from 'lit/decorators';
3
+ import { property, state } from 'lit/decorators';
4
4
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
5
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
5
6
  import { PORTAL_TARGET_NAME_PROP } from '../portal/portal_constants.js';
6
7
  import { MODAL_OPENED_PROP, FOCUSABLE_ELEMENTS_WITHIN_MODAL, MODALS_PORTAL_NAME, MODAL_EVENTS } from './modal_constants.js';
7
8
  import { createRef as e, ref as n } from '../../../../../external/lit-html/directives/ref.js';
@@ -208,7 +209,7 @@ __decorate([
208
209
  __metadata("design:type", Object)
209
210
  ], HModal.prototype, "_lastFocusableElement", void 0);
210
211
  HModal = HModal_1 = __decorate([
211
- customElement('h-modal'),
212
+ phoenixCustomElement('h-modal'),
212
213
  __metadata("design:paramtypes", [])
213
214
  ], HModal);
214
215
 
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA,yCAAyC,oDAAwD;AACjG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC,oDAAwD;AACjG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,7 +1,8 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
2
  import { html } from 'lit';
3
- import { property, customElement } from 'lit/decorators';
3
+ import { property } from 'lit/decorators';
4
4
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
5
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
5
6
  import { MODAL_EVENTS } from './modal_constants.js';
6
7
  import { HModal } from './modal.js';
7
8
 
@@ -48,7 +49,7 @@ let HModalBackdrop = class HModalBackdrop extends PhoenixLightLitElement {
48
49
  document.body.style.removeProperty('padding-right');
49
50
  }
50
51
  render() {
51
- return html `<div aria-hidden="true" ?hidden="${!this.visible}" class="modal-backdrop"></div>`;
52
+ return html ` <div aria-hidden="true" ?hidden="${!this.visible}" class="modal-backdrop"></div>`;
52
53
  }
53
54
  };
54
55
  __decorate([
@@ -56,7 +57,7 @@ __decorate([
56
57
  __metadata("design:type", Object)
57
58
  ], HModalBackdrop.prototype, "visible", void 0);
58
59
  HModalBackdrop = __decorate([
59
- customElement('h-modal-backdrop')
60
+ phoenixCustomElement('h-modal-backdrop')
60
61
  ], HModalBackdrop);
61
62
 
62
63
  export { HModalBackdrop };
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
- import { customElement } from 'lit/decorators';
3
2
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
3
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
4
4
 
5
5
  let HModalBody = class HModalBody extends PhoenixLightLitElement {
6
6
  constructor() {
@@ -10,7 +10,7 @@ let HModalBody = class HModalBody extends PhoenixLightLitElement {
10
10
  }
11
11
  };
12
12
  HModalBody = __decorate([
13
- customElement('h-modal-body'),
13
+ phoenixCustomElement('h-modal-body'),
14
14
  __metadata("design:paramtypes", [])
15
15
  ], HModalBody);
16
16
 
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
- import { customElement } from 'lit/decorators';
3
2
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
3
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
4
4
  import { MODAL_EVENTS } from './modal_constants.js';
5
5
 
6
6
  let HModalClose = class HModalClose extends PhoenixLightLitElement {
@@ -31,7 +31,7 @@ let HModalClose = class HModalClose extends PhoenixLightLitElement {
31
31
  }
32
32
  };
33
33
  HModalClose = __decorate([
34
- customElement('h-modal-close'),
34
+ phoenixCustomElement('h-modal-close'),
35
35
  __metadata("design:paramtypes", [])
36
36
  ], HModalClose);
37
37
 
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
- import { customElement } from 'lit/decorators';
3
2
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
3
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
4
4
 
5
5
  let HModalFooter = class HModalFooter extends PhoenixLightLitElement {
6
6
  constructor() {
@@ -10,7 +10,7 @@ let HModalFooter = class HModalFooter extends PhoenixLightLitElement {
10
10
  }
11
11
  };
12
12
  HModalFooter = __decorate([
13
- customElement('h-modal-footer'),
13
+ phoenixCustomElement('h-modal-footer'),
14
14
  __metadata("design:paramtypes", [])
15
15
  ], HModalFooter);
16
16
 
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
- import { customElement } from 'lit/decorators';
3
2
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
3
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
4
4
 
5
5
  let HModalHeader = class HModalHeader extends PhoenixLightLitElement {
6
6
  constructor() {
@@ -10,7 +10,7 @@ let HModalHeader = class HModalHeader extends PhoenixLightLitElement {
10
10
  }
11
11
  };
12
12
  HModalHeader = __decorate([
13
- customElement('h-modal-header'),
13
+ phoenixCustomElement('h-modal-header'),
14
14
  __metadata("design:paramtypes", [])
15
15
  ], HModalHeader);
16
16
 
@@ -1,6 +1,7 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
- import { property, customElement } from 'lit/decorators';
2
+ import { property } from 'lit/decorators';
3
3
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
4
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
4
5
 
5
6
  let HModalOpener = class HModalOpener extends PhoenixLightLitElement {
6
7
  constructor() {
@@ -33,7 +34,7 @@ __decorate([
33
34
  __metadata("design:type", Object)
34
35
  ], HModalOpener.prototype, "name", void 0);
35
36
  HModalOpener = __decorate([
36
- customElement('h-modal-opener'),
37
+ phoenixCustomElement('h-modal-opener'),
37
38
  __metadata("design:paramtypes", [])
38
39
  ], HModalOpener);
39
40
 
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,6 +1,7 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
- import { state, property, customElement } from 'lit/decorators';
2
+ import { state, property } from 'lit/decorators';
3
3
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
4
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
4
5
  import { PORTAL_EVENTS } from './portal_constants.js';
5
6
  import v4 from '../../../../../external/uuid/dist/esm-browser/v4.js';
6
7
 
@@ -75,7 +76,7 @@ __decorate([
75
76
  __metadata("design:type", Object)
76
77
  ], HPortal.prototype, "disabled", void 0);
77
78
  HPortal = __decorate([
78
- customElement('h-portal'),
79
+ phoenixCustomElement('h-portal'),
79
80
  __metadata("design:paramtypes", [])
80
81
  ], HPortal);
81
82
 
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA,eAAe,qDAAyD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA,eAAe,qDAAyD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,6 +1,7 @@
1
1
  import { __decorate, __metadata } from '../../../../../external/tslib/tslib.es6.js';
2
- import { property, state, customElement } from 'lit/decorators';
2
+ import { property, state } from 'lit/decorators';
3
3
  import { PhoenixLightLitElement } from '../../core/phoenix_light_lit_element.js';
4
+ import { phoenixCustomElement } from '../../core/decorators/phoenix_custom_element.js';
4
5
  import { PortalTargetError } from './portal_target_error.js';
5
6
  import { PORTAL_EVENTS, PORTAL_TARGET_NAME_PROP } from './portal_constants.js';
6
7
 
@@ -67,7 +68,7 @@ __decorate([
67
68
  __metadata("design:type", Object)
68
69
  ], HPortalTarget.prototype, "_portalElementsMap", void 0);
69
70
  HPortalTarget = HPortalTarget_1 = __decorate([
70
- customElement('h-portal-target')
71
+ phoenixCustomElement('h-portal-target')
71
72
  ], HPortalTarget);
72
73
 
73
74
  export { HPortalTarget };
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,4CAAgD;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -7,7 +7,7 @@ declare type CustomElementClass = Omit<typeof HTMLElement, 'new'> & IPhoenixComp
7
7
  * Class decorator factory that defines the decorated class as a custom element.
8
8
  *
9
9
  * ```js
10
- * @customElement('my-element')
10
+ * @phoenixCustomElement('my-element')
11
11
  * class MyElement extends LitElement {
12
12
  * render() {
13
13
  * return html``;
@@ -28,7 +28,7 @@ const standardCustomElement = (tagName, descriptor) => {
28
28
  * Class decorator factory that defines the decorated class as a custom element.
29
29
  *
30
30
  * ```js
31
- * @customElement('my-element')
31
+ * @phoenixCustomElement('my-element')
32
32
  * class MyElement extends LitElement {
33
33
  * render() {
34
34
  * return html``;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@shoper/phoenix_design_system",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "0.4.3",
5
+ "version": "0.4.4",
6
6
  "description": "phoenix design system",
7
7
  "author": "zefirek",
8
8
  "license": "MIT",