@shoper/phoenix_design_system 1.15.10 → 1.15.11

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.
@@ -12,7 +12,7 @@ var input_constants = require('./input_constants.js');
12
12
 
13
13
  exports.HInputCopyButton = class HInputCopyButton extends phoenix_light_lit_element.PhoenixLightLitElement {
14
14
  constructor() {
15
- super(...arguments);
15
+ super();
16
16
  this.hasBeenCopied = false;
17
17
  this.copyValue = '';
18
18
  this._$inputToCopy = null;
@@ -34,13 +34,13 @@ exports.HInputCopyButton = class HInputCopyButton extends phoenix_light_lit_elem
34
34
  this.copyValue = '';
35
35
  this.hasBeenCopied = false;
36
36
  };
37
+ this._btnController = new btn_controller.BtnController(this, this._handleCopyToClipboard);
37
38
  }
38
39
  connectedCallback() {
39
40
  super.connectedCallback();
40
41
  this._$inputToCopy = document.querySelector(`#${this.inputId}`);
41
42
  if (!this._$inputToCopy)
42
43
  return;
43
- this._btnController = new btn_controller.BtnController(this, this._handleCopyToClipboard);
44
44
  this.addEventListener('click', this._handleCopyToClipboard);
45
45
  }
46
46
  async _copyToClipboard() {
@@ -94,6 +94,7 @@ tslib_es6.__decorate([
94
94
  tslib_es6.__metadata("design:type", Object)
95
95
  ], exports.HInputCopyButton.prototype, "copyValue", void 0);
96
96
  exports.HInputCopyButton = tslib_es6.__decorate([
97
- phoenix_custom_element.phoenixCustomElement('h-input-copy-button')
97
+ phoenix_custom_element.phoenixCustomElement('h-input-copy-button'),
98
+ tslib_es6.__metadata("design:paramtypes", [])
98
99
  ], exports.HInputCopyButton);
99
100
  //# sourceMappingURL=input_copy_button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,+CAAmD;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,+CAAmD;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,6 +7,7 @@ export declare class HInputCopyButton extends PhoenixLightLitElement {
7
7
  copyValue: string;
8
8
  private _$inputToCopy;
9
9
  private _btnController;
10
+ constructor();
10
11
  connectedCallback(): void;
11
12
  private _handleCopyToClipboard;
12
13
  private _copyToClipboard;
@@ -8,7 +8,7 @@ import { INPUT_CONTROL_EVENTS } from './input_constants.js';
8
8
 
9
9
  let HInputCopyButton = class HInputCopyButton extends PhoenixLightLitElement {
10
10
  constructor() {
11
- super(...arguments);
11
+ super();
12
12
  this.hasBeenCopied = false;
13
13
  this.copyValue = '';
14
14
  this._$inputToCopy = null;
@@ -30,13 +30,13 @@ let HInputCopyButton = class HInputCopyButton extends PhoenixLightLitElement {
30
30
  this.copyValue = '';
31
31
  this.hasBeenCopied = false;
32
32
  };
33
+ this._btnController = new BtnController(this, this._handleCopyToClipboard);
33
34
  }
34
35
  connectedCallback() {
35
36
  super.connectedCallback();
36
37
  this._$inputToCopy = document.querySelector(`#${this.inputId}`);
37
38
  if (!this._$inputToCopy)
38
39
  return;
39
- this._btnController = new BtnController(this, this._handleCopyToClipboard);
40
40
  this.addEventListener('click', this._handleCopyToClipboard);
41
41
  }
42
42
  async _copyToClipboard() {
@@ -90,7 +90,8 @@ __decorate([
90
90
  __metadata("design:type", Object)
91
91
  ], HInputCopyButton.prototype, "copyValue", void 0);
92
92
  HInputCopyButton = __decorate([
93
- phoenixCustomElement('h-input-copy-button')
93
+ phoenixCustomElement('h-input-copy-button'),
94
+ __metadata("design:paramtypes", [])
94
95
  ], HInputCopyButton);
95
96
 
96
97
  export { HInputCopyButton };
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,+CAAmD;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,+CAAmD;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
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": "1.15.10",
5
+ "version": "1.15.11",
6
6
  "description": "phoenix design system",
7
7
  "author": "zefirek",
8
8
  "license": "MIT",