@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
|
@@ -639,7 +639,7 @@ var Input;
|
|
|
639
639
|
else {
|
|
640
640
|
parentElement.classList.add(CLASSNAMES.NOFLOATLABEL);
|
|
641
641
|
var floatTextContent = parentElement.getElementsByClassName('e-float-text-content')[0];
|
|
642
|
-
if (floatTextContent) {
|
|
642
|
+
if (floatTextContent && floatTextContent.children[0]) {
|
|
643
643
|
floatTextContent.children[0].textContent = '';
|
|
644
644
|
}
|
|
645
645
|
else {
|
|
@@ -11908,7 +11908,8 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
11908
11908
|
if (this.formElement) {
|
|
11909
11909
|
EventHandler.add(this.formElement, 'reset', this.formResetHandler, this);
|
|
11910
11910
|
}
|
|
11911
|
-
var localeText = { Apply: 'Apply', Cancel: 'Cancel', ModeSwitcher: 'Switch Mode', RecentColors: 'Recent colors'
|
|
11911
|
+
var localeText = { Apply: 'Apply', Cancel: 'Cancel', ModeSwitcher: 'Switch Mode', RecentColors: 'Recent colors',
|
|
11912
|
+
CurrentColor: 'Current', PreviousColor: 'Previous' };
|
|
11912
11913
|
this.l10n = new L10n('colorpicker', localeText, this.locale);
|
|
11913
11914
|
if (ele.getAttribute('ejs-for') && !ele.getAttribute('name')) {
|
|
11914
11915
|
ele.setAttribute('name', ele.id);
|
|
@@ -12367,11 +12368,11 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
12367
12368
|
ColorPicker.prototype.createPreview = function (parentEle) {
|
|
12368
12369
|
var previewContainer = this.createElement('div', { className: PREVIEW });
|
|
12369
12370
|
parentEle.appendChild(previewContainer);
|
|
12370
|
-
var preview = this.createElement('span', { className: 'e-preview ' + CURRENT });
|
|
12371
|
+
var preview = this.createElement('span', { className: 'e-preview ' + CURRENT, attrs: { title: this.l10n.getConstant('CurrentColor') } });
|
|
12371
12372
|
previewContainer.appendChild(preview);
|
|
12372
12373
|
var colorValue = this.convertToRgbString(this.rgb);
|
|
12373
12374
|
preview.style.backgroundColor = colorValue;
|
|
12374
|
-
preview = this.createElement('span', { className: 'e-preview ' + PREVIOUS });
|
|
12375
|
+
preview = this.createElement('span', { className: 'e-preview ' + PREVIOUS, attrs: { title: this.l10n.getConstant('PreviousColor') } });
|
|
12375
12376
|
previewContainer.appendChild(preview);
|
|
12376
12377
|
preview.style.backgroundColor = colorValue;
|
|
12377
12378
|
};
|