@syncfusion/ej2-inputs 30.2.6 → 31.1.20

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 : 30.2.6
3
+ * version : 31.1.20
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-inputs",
3
- "version": "30.2.6",
3
+ "version": "31.1.20",
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",
@@ -8,10 +8,10 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-inputs.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~30.2.4",
12
- "@syncfusion/ej2-buttons": "~30.2.4",
13
- "@syncfusion/ej2-popups": "~30.2.4",
14
- "@syncfusion/ej2-splitbuttons": "~30.2.4"
11
+ "@syncfusion/ej2-base": "~31.1.20",
12
+ "@syncfusion/ej2-buttons": "~31.1.17",
13
+ "@syncfusion/ej2-popups": "~31.1.20",
14
+ "@syncfusion/ej2-splitbuttons": "~31.1.17"
15
15
  },
16
16
  "devDependencies": {},
17
17
  "keywords": [
@@ -96,7 +96,8 @@ var ColorPicker = /** @class */ (function (_super) {
96
96
  if (this.formElement) {
97
97
  EventHandler.add(this.formElement, 'reset', this.formResetHandler, this);
98
98
  }
99
- var localeText = { Apply: 'Apply', Cancel: 'Cancel', ModeSwitcher: 'Switch Mode', RecentColors: 'Recent colors' };
99
+ var localeText = { Apply: 'Apply', Cancel: 'Cancel', ModeSwitcher: 'Switch Mode', RecentColors: 'Recent colors',
100
+ CurrentColor: 'Current', PreviousColor: 'Previous' };
100
101
  this.l10n = new L10n('colorpicker', localeText, this.locale);
101
102
  if (ele.getAttribute('ejs-for') && !ele.getAttribute('name')) {
102
103
  ele.setAttribute('name', ele.id);
@@ -555,11 +556,11 @@ var ColorPicker = /** @class */ (function (_super) {
555
556
  ColorPicker.prototype.createPreview = function (parentEle) {
556
557
  var previewContainer = this.createElement('div', { className: PREVIEW });
557
558
  parentEle.appendChild(previewContainer);
558
- var preview = this.createElement('span', { className: 'e-preview ' + CURRENT });
559
+ var preview = this.createElement('span', { className: 'e-preview ' + CURRENT, attrs: { title: this.l10n.getConstant('CurrentColor') } });
559
560
  previewContainer.appendChild(preview);
560
561
  var colorValue = this.convertToRgbString(this.rgb);
561
562
  preview.style.backgroundColor = colorValue;
562
- preview = this.createElement('span', { className: 'e-preview ' + PREVIOUS });
563
+ preview = this.createElement('span', { className: 'e-preview ' + PREVIOUS, attrs: { title: this.l10n.getConstant('PreviousColor') } });
563
564
  previewContainer.appendChild(preview);
564
565
  preview.style.backgroundColor = colorValue;
565
566
  };
@@ -643,7 +643,7 @@ export var Input;
643
643
  else {
644
644
  parentElement.classList.add(CLASSNAMES.NOFLOATLABEL);
645
645
  var floatTextContent = parentElement.getElementsByClassName('e-float-text-content')[0];
646
- if (floatTextContent) {
646
+ if (floatTextContent && floatTextContent.children[0]) {
647
647
  floatTextContent.children[0].textContent = '';
648
648
  }
649
649
  else {
@@ -2098,7 +2098,7 @@ textarea.e-input,
2098
2098
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2099
2099
  background: rgb(90.2703862661, 97.7929184549, 104.4796137339);
2100
2100
  border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
2101
- color: #fff;
2101
+ color: #f8f9fa;
2102
2102
  }
2103
2103
 
2104
2104
  .e-input.e-success,
@@ -2305,7 +2305,7 @@ textarea.e-input::selection,
2305
2305
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2306
2306
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2307
2307
  color: #495057;
2308
- color: #fff;
2308
+ color: #f8f9fa;
2309
2309
  }
2310
2310
 
2311
2311
  .e-input-group input.e-input,
@@ -2098,7 +2098,7 @@ textarea.e-input,
2098
2098
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2099
2099
  background: rgb(90.2703862661, 97.7929184549, 104.4796137339);
2100
2100
  border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
2101
- color: #fff;
2101
+ color: #f8f9fa;
2102
2102
  }
2103
2103
 
2104
2104
  .e-input.e-success,
@@ -2305,7 +2305,7 @@ textarea.e-input::selection,
2305
2305
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2306
2306
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2307
2307
  color: #495057;
2308
- color: #fff;
2308
+ color: #f8f9fa;
2309
2309
  }
2310
2310
 
2311
2311
  .e-input-group input.e-input,
@@ -2141,7 +2141,7 @@ textarea.e-input,
2141
2141
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2142
2142
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2143
2143
  background: rgb(91.8, 99.45, 106.25);
2144
- color: #dee2e6;
2144
+ color: #fff;
2145
2145
  }
2146
2146
 
2147
2147
  .e-input.e-success,
@@ -2345,7 +2345,7 @@ textarea.e-input::selection,
2345
2345
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2346
2346
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2347
2347
  color: #adb5bd;
2348
- color: #dee2e6;
2348
+ color: #fff;
2349
2349
  }
2350
2350
 
2351
2351
  .e-input-group input.e-input,
@@ -2141,7 +2141,7 @@ textarea.e-input,
2141
2141
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2142
2142
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2143
2143
  background: rgb(91.8, 99.45, 106.25);
2144
- color: #dee2e6;
2144
+ color: #fff;
2145
2145
  }
2146
2146
 
2147
2147
  .e-input.e-success,
@@ -2345,7 +2345,7 @@ textarea.e-input::selection,
2345
2345
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2346
2346
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2347
2347
  color: #adb5bd;
2348
- color: #dee2e6;
2348
+ color: #fff;
2349
2349
  }
2350
2350
 
2351
2351
  .e-input-group input.e-input,
@@ -2141,7 +2141,7 @@ textarea.e-input,
2141
2141
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2142
2142
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2143
2143
  background: rgb(91.8, 99.45, 106.25);
2144
- color: #343a40;
2144
+ color: #fff;
2145
2145
  }
2146
2146
 
2147
2147
  .e-input.e-success,
@@ -2345,7 +2345,7 @@ textarea.e-input::selection,
2345
2345
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2346
2346
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2347
2347
  color: #6c757d;
2348
- color: #343a40;
2348
+ color: #fff;
2349
2349
  }
2350
2350
 
2351
2351
  .e-input-group input.e-input,
@@ -2141,7 +2141,7 @@ textarea.e-input,
2141
2141
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2142
2142
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2143
2143
  background: rgb(91.8, 99.45, 106.25);
2144
- color: #343a40;
2144
+ color: #fff;
2145
2145
  }
2146
2146
 
2147
2147
  .e-input.e-success,
@@ -2345,7 +2345,7 @@ textarea.e-input::selection,
2345
2345
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2346
2346
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2347
2347
  color: #6c757d;
2348
- color: #343a40;
2348
+ color: #fff;
2349
2349
  }
2350
2350
 
2351
2351
  .e-input-group input.e-input,
@@ -181,7 +181,7 @@ $textarea-small-height: auto !default;
181
181
  $textarea-bigger-small-height: auto !default;
182
182
  $textarea-full-height: 100% !default;
183
183
  $input-group-disabled-color: $gray-600 !default;
184
- $input-group-hovered-color: $white !default;
184
+ $input-group-hovered-color: $gray-100 !default;
185
185
  $input-icon-font-size: 14px !default;
186
186
  $input-bigger-icon-font-size: 16px !default;
187
187
  $input-small-icon-font-size: 12px !default;
@@ -236,7 +236,7 @@ $float-label-font-color: $content-text-color-alt1 !default;
236
236
  $float-label-disbale-font-color: $content-text-color-alt3 !default;
237
237
  $input-placeholder-color: $placeholder-text-color !default;
238
238
  $input-group-disabled-color: $icon-color-disabled !default;
239
- $input-group-hovered-color: $icon-color-hover !default;
239
+ $input-group-hovered-color: $secondary-text-color-hover !default;
240
240
  $input-readonly-bg-color: $content-bg-color !default;
241
241
  $input-readonly-color: $content-text-color-alt1 !default;
242
242
  $input-icon-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) !default;
@@ -761,7 +761,6 @@
761
761
  @if $input-skin-name == 'tailwind3' {
762
762
  padding-left: 0;
763
763
  left: 12px;
764
- top: 40%;
765
764
  }
766
765
  }
767
766
  @else if ($input-skin-name == 'bootstrap5' or $input-skin-name == 'bootstrap5.3') {
@@ -2088,7 +2088,7 @@ textarea.e-input,
2088
2088
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2089
2089
  background: rgb(90.2703862661, 97.7929184549, 104.4796137339);
2090
2090
  border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
2091
- color: #fff;
2091
+ color: #f8f9fa;
2092
2092
  }
2093
2093
 
2094
2094
  .e-input.e-success,
@@ -2295,7 +2295,7 @@ textarea.e-input::selection,
2295
2295
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2296
2296
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2297
2297
  color: #495057;
2298
- color: #fff;
2298
+ color: #f8f9fa;
2299
2299
  }
2300
2300
 
2301
2301
  .e-input-group input.e-input,
@@ -2131,7 +2131,7 @@ textarea.e-input,
2131
2131
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2132
2132
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2133
2133
  background: rgb(91.8, 99.45, 106.25);
2134
- color: #dee2e6;
2134
+ color: #fff;
2135
2135
  }
2136
2136
 
2137
2137
  .e-input.e-success,
@@ -2335,7 +2335,7 @@ textarea.e-input::selection,
2335
2335
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2336
2336
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2337
2337
  color: #adb5bd;
2338
- color: #dee2e6;
2338
+ color: #fff;
2339
2339
  }
2340
2340
 
2341
2341
  .e-input-group input.e-input,
@@ -2131,7 +2131,7 @@ textarea.e-input,
2131
2131
  .e-input-group:not(.e-disabled) .e-input-group-icon:hover,
2132
2132
  .e-input-group.e-control-wrapper:not(.e-disabled) .e-input-group-icon:hover {
2133
2133
  background: rgb(91.8, 99.45, 106.25);
2134
- color: #343a40;
2134
+ color: #fff;
2135
2135
  }
2136
2136
 
2137
2137
  .e-input.e-success,
@@ -2335,7 +2335,7 @@ textarea.e-input::selection,
2335
2335
  .e-input-group.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover,
2336
2336
  .e-input-group.e-control-wrapper.e-error:not(.e-disabled):not(:active) .e-input-group-icon:hover {
2337
2337
  color: #6c757d;
2338
- color: #343a40;
2338
+ color: #fff;
2339
2339
  }
2340
2340
 
2341
2341
  .e-input-group input.e-input,
@@ -529,7 +529,6 @@ label.e-float-text,
529
529
  transform: translate3d(-10px, -35px, 0) scale(1);
530
530
  padding-left: 0;
531
531
  left: 12px;
532
- top: 40%;
533
532
  }
534
533
 
535
534
  .e-float-input.e-small input:focus ~ label.e-float-text,
@@ -541,7 +541,6 @@ label.e-float-text,
541
541
  transform: translate3d(-10px, -35px, 0) scale(1);
542
542
  padding-left: 0;
543
543
  left: 12px;
544
- top: 40%;
545
544
  }
546
545
 
547
546
  .e-float-input.e-small input:focus ~ label.e-float-text,
@@ -541,7 +541,6 @@ label.e-float-text,
541
541
  transform: translate3d(-10px, -35px, 0) scale(1);
542
542
  padding-left: 0;
543
543
  left: 12px;
544
- top: 40%;
545
544
  }
546
545
 
547
546
  .e-float-input.e-small input:focus ~ label.e-float-text,