@syncfusion/ej2-inputs 32.1.19 → 32.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 +10 -1
- package/dist/ej2-inputs.umd.min.js +10 -1
- 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 +10 -1
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +9 -0
- package/package.json +1 -1
- package/src/maskedtextbox/maskedtextbox/maskedtextbox.js +1 -1
- package/src/numerictextbox/numerictextbox.js +1 -1
- package/src/textarea/textarea.js +1 -1
- package/src/textbox/textbox.js +2 -1
- package/styles/input/_bigger.scss +4 -1
- package/styles/input/_material3-dark-definition.scss +3 -3
- package/styles/input/_material3-definition.scss +3 -3
- package/styles/input/material3-dark.css +4 -4
- package/styles/input/material3.css +4 -4
- package/styles/material3-dark-lite.css +2 -2
- package/styles/material3-dark.css +4 -4
- package/styles/material3-lite.css +2 -2
- package/styles/material3.css +4 -4
|
@@ -2560,7 +2560,7 @@ let NumericTextBox = class NumericTextBox extends Component {
|
|
|
2560
2560
|
const container = this.inputWrapper.container;
|
|
2561
2561
|
const label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
|
|
2562
2562
|
const calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
2563
|
-
if (label && calculateWidth) {
|
|
2563
|
+
if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
|
|
2564
2564
|
label.style.width = calculateWidth + 'px';
|
|
2565
2565
|
}
|
|
2566
2566
|
}
|
|
@@ -4373,7 +4373,7 @@ let MaskedTextBox = class MaskedTextBox extends Component {
|
|
|
4373
4373
|
const container = this.inputObj.container;
|
|
4374
4374
|
const label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
|
|
4375
4375
|
const calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
4376
|
-
if (label && calculateWidth) {
|
|
4376
|
+
if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
|
|
4377
4377
|
label.style.width = calculateWidth + 'px';
|
|
4378
4378
|
}
|
|
4379
4379
|
}
|
|
@@ -14534,7 +14534,8 @@ let TextBox = class TextBox extends Component {
|
|
|
14534
14534
|
}
|
|
14535
14535
|
}
|
|
14536
14536
|
keydownHandler(args) {
|
|
14537
|
-
|
|
14537
|
+
const isUndoAction = args.ctrlKey && args.keyCode === 90;
|
|
14538
|
+
if ((args.keyCode === 13 || args.keyCode === 9 || isUndoAction) && !((this.previousValue === null || this.previousValue === '') && (this.value === null || this.value === '') && this.respectiveElement.value === '')) {
|
|
14538
14539
|
this.setProperties({ value: this.respectiveElement.value }, true);
|
|
14539
14540
|
}
|
|
14540
14541
|
}
|
|
@@ -15660,7 +15661,7 @@ let TextArea = class TextArea extends Component {
|
|
|
15660
15661
|
const container = this.textareaWrapper.container;
|
|
15661
15662
|
const label = container.querySelector('.e-float-text-overflow') || container.querySelector('.e-float-text');
|
|
15662
15663
|
const calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
15663
|
-
if (label && calculateWidth && (!this.prependTemplate || !this.appendTemplate)) {
|
|
15664
|
+
if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1) && (!this.prependTemplate || !this.appendTemplate)) {
|
|
15664
15665
|
label.style.width = calculateWidth + 'px';
|
|
15665
15666
|
}
|
|
15666
15667
|
else if (this.floatLabelType === 'Auto' && (this.prependTemplate || this.appendTemplate)) {
|