@cscfi/csc-ui 1.3.5 → 1.3.7

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.
@@ -950,11 +950,14 @@ const CIcon = class {
950
950
  this.size = 24;
951
951
  this.color = 'currentColor';
952
952
  }
953
+ componentDidLoad() {
954
+ this._pathElement.setAttribute('d', this.host.dataset.path);
955
+ }
953
956
  render() {
954
957
  return (index.h(index.Host, { style: {
955
958
  '--_c-icon-size': `${this.size}px`,
956
959
  '--_c-icon-default-color': this.color,
957
- } }, index.h("svg", { viewBox: "0 0 24 24" }, index.h("path", { d: this.path }))));
960
+ }, "data-path": this.path }, index.h("svg", { viewBox: "0 0 24 24" }, index.h("path", { ref: (el) => (this._pathElement = el) }))));
958
961
  }
959
962
  get host() { return index.getElement(this); }
960
963
  };
@@ -2527,7 +2530,7 @@ const CTextField = class {
2527
2530
  disabled: this.disabled,
2528
2531
  readonly: this.readonly,
2529
2532
  value: this.value,
2530
- onkeyup: this._handleChange,
2533
+ onInput: this._handleChange,
2531
2534
  onChange: this._handleChange,
2532
2535
  onBlur: this._handleBlur,
2533
2536
  },