@ardium-ui/ui 5.0.0-alpha.81 → 5.0.0-alpha.83

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.
@@ -10455,6 +10455,7 @@ class ArdiumCheckboxComponent extends _BooleanComponentBase {
10455
10455
  this.internalState.set(newState);
10456
10456
  this.selected.set(this.internalState() === CheckboxState.Selected);
10457
10457
  this._emitChange();
10458
+ this._emitTouched();
10458
10459
  }
10459
10460
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ArdiumCheckboxComponent, deps: [{ token: ARD_CHECKBOX_DEFAULTS }], target: i0.ɵɵFactoryTarget.Component }); }
10460
10461
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.15", type: ArdiumCheckboxComponent, isStandalone: false, selector: "ard-checkbox", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, unselectedColor: { classPropertyName: "unselectedColor", publicName: "unselectedColor", isSignal: true, isRequired: false, transformFunction: null }, internalState: { classPropertyName: "internalState", publicName: "state", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { internalState: "stateChange" }, providers: [
@@ -11933,6 +11934,9 @@ class _AbstractSlider extends _NgModelComponentBase {
11933
11934
  let newPercent = this._handlePositions()[handleId - 1] + stepSize * offset;
11934
11935
  newPercent = this._clampPercentValue(newPercent);
11935
11936
  this._setValueFromPercent(newPercent);
11937
+ if (this.emitTouchedOnEveryChange()) {
11938
+ this._emitTouched();
11939
+ }
11936
11940
  }
11937
11941
  _decrement(event, forceShift = false) {
11938
11942
  this._offset(-1, forceShift || event.shiftKey);
@@ -11971,6 +11975,9 @@ class _AbstractSlider extends _NgModelComponentBase {
11971
11975
  onPointerUp() {
11972
11976
  if (!this._shouldCheckForMovement)
11973
11977
  return;
11978
+ if (this.emitTouchedOnEveryChange()) {
11979
+ this._emitTouched();
11980
+ }
11974
11981
  this._grabbedHandleId.set(null);
11975
11982
  this._shouldCheckForMovement = false;
11976
11983
  if (this._bodyHasClass) {
@@ -11985,9 +11992,6 @@ class _AbstractSlider extends _NgModelComponentBase {
11985
11992
  return;
11986
11993
  this._value.set(this._percentValueToValue(percent, handleId));
11987
11994
  this._emitChange();
11988
- if (this.emitTouchedOnEveryChange()) {
11989
- this._emitTouched();
11990
- }
11991
11995
  }
11992
11996
  _writeValueFromEvent(event, handleId) {
11993
11997
  const percent = this._getPercentValueFromEvent(event);