smoothly 1.1.1-alpha.4 → 1.1.1-alpha.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.
@@ -9004,7 +9004,7 @@ const InputDate = class {
9004
9004
  this.disabled = undefined;
9005
9005
  }
9006
9006
  componentWillLoad() {
9007
- this.smoothlyInputLoad.emit(() => { });
9007
+ this.smoothlyInputLoad.emit();
9008
9008
  this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
9009
9009
  }
9010
9010
  async clear() {
@@ -9075,7 +9075,7 @@ const InputDateRange = class {
9075
9075
  this.end = undefined;
9076
9076
  }
9077
9077
  componentWillLoad() {
9078
- this.smoothlyInputLoad.emit(() => { });
9078
+ this.smoothlyInputLoad.emit();
9079
9079
  this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
9080
9080
  if (this.start && this.end)
9081
9081
  this.smoothlyInput.emit({ [this.name]: { start: this.start, end: this.end } });
@@ -9918,9 +9918,11 @@ const SmoothlyItem = class {
9918
9918
  onClick() {
9919
9919
  if (this.selectable) {
9920
9920
  this.selected = !this.selected;
9921
- this.smoothlyItemSelect.emit(this.element);
9922
9921
  }
9923
9922
  }
9923
+ selectedWatcher() {
9924
+ this.smoothlyItemSelect.emit(this.element);
9925
+ }
9924
9926
  componentWillLoad() {
9925
9927
  this.smoothlyInputLoad.emit(() => {
9926
9928
  return;
@@ -9942,6 +9944,9 @@ const SmoothlyItem = class {
9942
9944
  return (index.h(index.Host, { tabIndex: -1, class: !this.selectable ? "non-selectable" : "" }, index.h("slot", null)));
9943
9945
  }
9944
9946
  get element() { return index.getElement(this); }
9947
+ static get watchers() { return {
9948
+ "selected": ["selectedWatcher"]
9949
+ }; }
9945
9950
  };
9946
9951
  SmoothlyItem.style = styleCss$C;
9947
9952