@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.
- package/dist/ej2-inputs.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +5 -4
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +5 -4
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/color-picker/color-picker.js +4 -3
- package/src/input/input.js +1 -1
- package/styles/bootstrap4-lite.css +2 -2
- package/styles/bootstrap4.css +2 -2
- package/styles/bootstrap5-dark-lite.css +2 -2
- package/styles/bootstrap5-dark.css +2 -2
- package/styles/bootstrap5-lite.css +2 -2
- package/styles/bootstrap5.css +2 -2
- package/styles/input/_bootstrap4-definition.scss +1 -1
- package/styles/input/_bootstrap5-definition.scss +1 -1
- package/styles/input/_layout.scss +0 -1
- package/styles/input/bootstrap4.css +2 -2
- package/styles/input/bootstrap5-dark.css +2 -2
- package/styles/input/bootstrap5.css +2 -2
- package/styles/input/tailwind3.css +0 -1
- package/styles/tailwind3-lite.css +0 -1
- package/styles/tailwind3.css +0 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
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": "
|
|
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": "~
|
|
12
|
-
"@syncfusion/ej2-buttons": "~
|
|
13
|
-
"@syncfusion/ej2-popups": "~
|
|
14
|
-
"@syncfusion/ej2-splitbuttons": "~
|
|
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
|
};
|
package/src/input/input.js
CHANGED
|
@@ -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: #
|
|
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: #
|
|
2308
|
+
color: #f8f9fa;
|
|
2309
2309
|
}
|
|
2310
2310
|
|
|
2311
2311
|
.e-input-group input.e-input,
|
package/styles/bootstrap4.css
CHANGED
|
@@ -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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
2348
|
+
color: #fff;
|
|
2349
2349
|
}
|
|
2350
2350
|
|
|
2351
2351
|
.e-input-group input.e-input,
|
package/styles/bootstrap5.css
CHANGED
|
@@ -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: #
|
|
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: #
|
|
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: $
|
|
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: $
|
|
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;
|
|
@@ -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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
2338
|
+
color: #fff;
|
|
2339
2339
|
}
|
|
2340
2340
|
|
|
2341
2341
|
.e-input-group input.e-input,
|