@syncfusion/ej2-inputs 29.1.39 → 29.2.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 29.1.39
3
+ * version : 29.2.5
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-inputs@*",
3
- "_id": "@syncfusion/ej2-inputs@29.1.38",
3
+ "_id": "@syncfusion/ej2-inputs@29.2.4",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-N0NpQCdE/4EWfeYdKCoMBagvvYNN13d8NUiyWhK1L6teHctBsTJDyFEAyCVoiuTZrhJJjw9SubcXZRIE+P+sZQ==",
5
+ "_integrity": "sha512-ZuMNjGmIKmPc8Uhww225sfSZ4Hjvz/pVmmAwQ9Yh6tJuf7oiTrDMbOVYXzMXsOS9SvhmBAkgPbRTxBZtU/pgnQ==",
6
6
  "_location": "/@syncfusion/ej2-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -40,8 +40,8 @@
40
40
  "/@syncfusion/ej2-schedule",
41
41
  "/@syncfusion/ej2-vue-inputs"
42
42
  ],
43
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-29.1.38.tgz",
44
- "_shasum": "d2e15562b803ae9078901ae96547965c28307ead",
43
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-29.2.4.tgz",
44
+ "_shasum": "7a3f83682aca1a3e715ba262a5b0f7dd4d678b05",
45
45
  "_spec": "@syncfusion/ej2-inputs@*",
46
46
  "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
47
47
  "author": {
@@ -49,10 +49,10 @@
49
49
  },
50
50
  "bundleDependencies": false,
51
51
  "dependencies": {
52
- "@syncfusion/ej2-base": "~29.1.36",
53
- "@syncfusion/ej2-buttons": "~29.1.34",
54
- "@syncfusion/ej2-popups": "~29.1.37",
55
- "@syncfusion/ej2-splitbuttons": "~29.1.33"
52
+ "@syncfusion/ej2-base": "~29.2.4",
53
+ "@syncfusion/ej2-buttons": "~29.2.5",
54
+ "@syncfusion/ej2-popups": "~29.2.4",
55
+ "@syncfusion/ej2-splitbuttons": "~29.2.4"
56
56
  },
57
57
  "deprecated": false,
58
58
  "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.",
@@ -120,7 +120,7 @@
120
120
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
121
121
  },
122
122
  "typings": "index.d.ts",
123
- "version": "29.1.39",
123
+ "version": "29.2.5",
124
124
  "sideEffects": false,
125
125
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
126
126
  }
@@ -283,6 +283,9 @@ var ColorPicker = /** @class */ (function (_super) {
283
283
  }
284
284
  if (!observedCloseArgs.cancel) {
285
285
  _this.onPopupClose();
286
+ if (args.event.type === 'keydown' && args.event.keyCode === 27) {
287
+ _this.splitBtn.element.focus();
288
+ }
286
289
  }
287
290
  args.cancel = observedCloseArgs.cancel;
288
291
  callBackPromise.resolve(observedCloseArgs);
@@ -620,7 +620,10 @@ export var Input;
620
620
  floatTextContent.children[0].textContent = placeholder;
621
621
  }
622
622
  else {
623
- parentElement.getElementsByClassName(CLASSNAMES.FLOATTEXT)[0].textContent = placeholder;
623
+ var floatText = parentElement.getElementsByClassName(CLASSNAMES.FLOATTEXT)[0];
624
+ if (!isNullOrUndefined(floatText)) {
625
+ floatText.textContent = placeholder;
626
+ }
624
627
  }
625
628
  parentElement.classList.remove(CLASSNAMES.NOFLOATLABEL);
626
629
  element.removeAttribute('placeholder');
@@ -632,7 +635,10 @@ export var Input;
632
635
  floatTextContent.children[0].textContent = '';
633
636
  }
634
637
  else {
635
- parentElement.getElementsByClassName(CLASSNAMES.FLOATTEXT)[0].textContent = '';
638
+ var floatText = parentElement.getElementsByClassName(CLASSNAMES.FLOATTEXT)[0];
639
+ if (!isNullOrUndefined(floatText)) {
640
+ floatText.textContent = '';
641
+ }
636
642
  }
637
643
  }
638
644
  }
@@ -281,7 +281,7 @@ var NumericTextBox = /** @class */ (function (_super) {
281
281
  attributes(this.element, { 'aria-readonly': 'true' });
282
282
  }
283
283
  this.hiddenInput = (this.createElement('input', { attrs: { type: 'text',
284
- 'validateHidden': 'true', 'aria-label': 'hidden', 'class': HIDDENELEMENT } }));
284
+ 'data-validateHidden': 'true', 'aria-label': 'hidden', 'class': HIDDENELEMENT } }));
285
285
  this.inputName = this.inputName !== null ? this.inputName : this.element.id;
286
286
  this.element.removeAttribute('name');
287
287
  if (this.isAngular && this.angularTagName === 'EJS-NUMERICTEXTBOX' && this.cloneElement.id.length > 0) {
@@ -180,13 +180,13 @@ $input-bigger-small-clear-icon-min-width: 24px !default;
180
180
  $input-small-clear-icon-min-height: 16px !default;
181
181
  $input-small-clear-icon-min-width: 16px !default;
182
182
  $input-left-icon-font-size: $zero-value !default;
183
- $input-bigger-left-icon-font-size: $zero-value !default;
183
+ $input-bigger-left-icon-font-size: 16px !default;
184
184
  $input-small-left-icon-font-size: $zero-value !default;
185
185
  $input-bigger-small-left-icon-font-size: $zero-value !default;
186
186
  $input-left-child-min-height: $zero-value !default;
187
187
  $input-left-child-min-width: $zero-value !default;
188
- $input-bigger-left-child-min-height: $zero-value !default;
189
- $input-bigger-left-child-min-width: $zero-value !default;
188
+ $input-bigger-left-child-min-height: 36px !default;
189
+ $input-bigger-left-child-min-width: 36px !default;
190
190
  $input-small-left-child-min-height: $zero-value !default;
191
191
  $input-small-left-child-min-width: $zero-value !default;
192
192
  $input-bigger-small-left-child-min-height: $zero-value !default;
@@ -4903,10 +4903,10 @@ textarea.e-input.e-bigger,
4903
4903
  .e-float-input.e-input-group.e-control-wrapper.e-bigger.e-float-icon-left > .e-input-group-icon,
4904
4904
  .e-float-input.e-input-group.e-control-wrapper.e-float-icon-left > .e-input-group-icon.e-bigger,
4905
4905
  .e-bigger .e-float-input.e-input-group.e-control-wrapper.e-float-icon-left > .e-input-group-icon {
4906
- font-size: 0;
4906
+ font-size: 16px;
4907
4907
  margin: 0;
4908
- min-height: 0;
4909
- min-width: 0;
4908
+ min-height: 36px;
4909
+ min-width: 36px;
4910
4910
  padding: 0;
4911
4911
  }
4912
4912
 
@@ -4915,10 +4915,10 @@ textarea.e-input.e-bigger,
4915
4915
  .e-float-input.e-input-group.e-control-wrapper.e-bigger.e-float-icon-left > .e-input-group-icon,
4916
4916
  .e-float-input.e-input-group.e-control-wrapper.e-float-icon-left > .e-input-group-icon.e-bigger,
4917
4917
  .e-bigger .e-float-input.e-input-group.e-control-wrapper.e-float-icon-left > .e-input-group-icon {
4918
- font-size: 0;
4918
+ font-size: 16px;
4919
4919
  margin: 0;
4920
- min-height: 0;
4921
- min-width: 0;
4920
+ min-height: 36px;
4921
+ min-width: 36px;
4922
4922
  padding: 0;
4923
4923
  }
4924
4924