@syncfusion/ej2-inputs 35.1.37 → 35.1.41

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 35.1.37
3
+ * version : 35.1.41
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-inputs",
3
- "version": "35.1.37",
3
+ "version": "35.1.41",
4
4
  "description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -9,8 +9,8 @@
9
9
  "es2015": "./dist/es6/ej2-inputs.es5.js",
10
10
  "dependencies": {
11
11
  "@syncfusion/ej2-base": "~35.1.37",
12
- "@syncfusion/ej2-buttons": "~35.1.37",
13
- "@syncfusion/ej2-popups": "~35.1.37",
12
+ "@syncfusion/ej2-buttons": "~35.1.41",
13
+ "@syncfusion/ej2-popups": "~35.1.39",
14
14
  "@syncfusion/ej2-splitbuttons": "~35.1.37"
15
15
  },
16
16
  "devDependencies": {},
@@ -1022,7 +1022,7 @@ var ColorPicker = /** @class */ (function (_super) {
1022
1022
  else {
1023
1023
  this.setProperties({ 'value': hex }, true);
1024
1024
  }
1025
- this.element.value = hex ? hex : '#000000';
1025
+ this.element.value = hex ? hex : (this.mode === 'Palette' && !this.modeSwitcher && this.noColor ? '' : '#000000');
1026
1026
  };
1027
1027
  ColorPicker.prototype.handlerDragPosition = function (prob, value, e) {
1028
1028
  e.preventDefault();
@@ -487,7 +487,9 @@ export var Input;
487
487
  var parent = getParentNode(element);
488
488
  if (parent.classList.contains(CLASSNAMES.FLOATINPUT) && floatLabelType === 'Auto') {
489
489
  var label = getParentNode(element).getElementsByClassName('e-float-text')[0];
490
- updateLabelState(element.value, label, element);
490
+ if (label) {
491
+ updateLabelState(element.value, label, element);
492
+ }
491
493
  }
492
494
  }
493
495
  /**