@syncfusion/ej2-inputs 34.2.2 → 34.2.7
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/README.md +14 -0
- 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 +47 -3
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +46 -2
- 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/input/input.js +27 -1
- package/src/maskedtextbox/maskedtextbox/maskedtextbox-model.d.ts +11 -8
- package/src/maskedtextbox/maskedtextbox/maskedtextbox.d.ts +11 -8
- package/src/maskedtextbox/maskedtextbox/maskedtextbox.js +1 -1
- package/src/numerictextbox/numerictextbox-model.d.ts +1 -10
- package/src/numerictextbox/numerictextbox.d.ts +3 -10
- package/src/numerictextbox/numerictextbox.js +9 -0
- package/src/textarea/textarea.d.ts +2 -0
- package/src/textarea/textarea.js +9 -0
- package/src/uploader/uploader-model.d.ts +1 -1
- package/src/uploader/uploader.d.ts +1 -1
- package/styles/fluent2-lite.css +4 -4
- package/styles/fluent2.css +8 -8
- package/styles/input/_bigger.scss +18 -2
- package/styles/input/_layout.scss +19 -2
- package/styles/input/fluent2.css +8 -8
- package/styles/input/tailwind3.css +8 -8
- package/styles/tailwind3-lite.css +4 -4
- package/styles/tailwind3.css +8 -8
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 34.2.
|
|
3
|
+
* version : 34.2.7
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. 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": "34.2.
|
|
3
|
+
"version": "34.2.7",
|
|
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": "~34.2.
|
|
12
|
-
"@syncfusion/ej2-buttons": "~34.2.
|
|
13
|
-
"@syncfusion/ej2-popups": "~34.2.
|
|
14
|
-
"@syncfusion/ej2-splitbuttons": "~34.2.
|
|
11
|
+
"@syncfusion/ej2-base": "~34.2.6",
|
|
12
|
+
"@syncfusion/ej2-buttons": "~34.2.6",
|
|
13
|
+
"@syncfusion/ej2-popups": "~34.2.6",
|
|
14
|
+
"@syncfusion/ej2-splitbuttons": "~34.2.6"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {},
|
|
17
17
|
"keywords": [
|
package/src/input/input.js
CHANGED
|
@@ -40,6 +40,7 @@ export var Input;
|
|
|
40
40
|
};
|
|
41
41
|
var floatType;
|
|
42
42
|
var isBindClearAction = true;
|
|
43
|
+
var resizeHandlers = new Map();
|
|
43
44
|
/**
|
|
44
45
|
* Create a wrapper to input element with multiple span elements and set the basic properties to input based components.
|
|
45
46
|
* ```
|
|
@@ -462,6 +463,11 @@ export var Input;
|
|
|
462
463
|
_internalRipple(false, null, args.buttons);
|
|
463
464
|
}
|
|
464
465
|
unwireFloatingEvents(args.element);
|
|
466
|
+
var resizeHandler = resizeHandlers.get(args.element);
|
|
467
|
+
if (resizeHandler) {
|
|
468
|
+
window.removeEventListener('resize', resizeHandler);
|
|
469
|
+
resizeHandlers.delete(args.element);
|
|
470
|
+
}
|
|
465
471
|
if (!isNullOrUndefined(args.element)) {
|
|
466
472
|
delete args.element.__eventHandlers;
|
|
467
473
|
if (args.element.classList.contains(CLASSNAMES.INPUT)) {
|
|
@@ -582,10 +588,30 @@ export var Input;
|
|
|
582
588
|
* @param {HTMLElement} container - The parent element which is need to get the label span to calculate width
|
|
583
589
|
*/
|
|
584
590
|
function calculateWidth(element, container, moduleName) {
|
|
591
|
+
if (moduleName !== 'multiselect' && element && container && !resizeHandlers.has(element)) {
|
|
592
|
+
var resizeHandler_1 = function () {
|
|
593
|
+
if (!document.documentElement.contains(container)) {
|
|
594
|
+
window.removeEventListener('resize', resizeHandler_1);
|
|
595
|
+
resizeHandlers.delete(element);
|
|
596
|
+
return;
|
|
597
|
+
}
|
|
598
|
+
calculateWidth(element, container, moduleName);
|
|
599
|
+
};
|
|
600
|
+
resizeHandlers.set(element, resizeHandler_1);
|
|
601
|
+
window.addEventListener('resize', resizeHandler_1);
|
|
602
|
+
}
|
|
585
603
|
if (moduleName !== 'multiselect' && !_isElementVisible(element)) {
|
|
586
604
|
return;
|
|
587
605
|
}
|
|
588
606
|
var elementWidth = moduleName === 'multiselect' ? element : element.clientWidth - parseInt(getComputedStyle(element, null).getPropertyValue('padding-left'), 10);
|
|
607
|
+
if (moduleName !== 'multiselect' && element && container) {
|
|
608
|
+
var iconWidth_1 = 0;
|
|
609
|
+
var icons = container.getElementsByClassName('e-input-group-icon');
|
|
610
|
+
Array.from(icons).forEach(function (icon) {
|
|
611
|
+
iconWidth_1 += icon.clientWidth + parseInt(getComputedStyle(icon, null).getPropertyValue('margin-right'), 10);
|
|
612
|
+
});
|
|
613
|
+
elementWidth = elementWidth + (iconWidth_1 - parseInt(getComputedStyle(element, null).getPropertyValue('padding-left'), 10));
|
|
614
|
+
}
|
|
589
615
|
if (!isNullOrUndefined(container) && !isNullOrUndefined(container.getElementsByClassName('e-float-text-content')[0])) {
|
|
590
616
|
if (container.getElementsByClassName('e-float-text-content')[0].classList.contains('e-float-text-overflow')) {
|
|
591
617
|
container.getElementsByClassName('e-float-text-content')[0].classList.remove('e-float-text-overflow');
|
|
@@ -627,7 +653,7 @@ export var Input;
|
|
|
627
653
|
function setPlaceholder(placeholder, element, moduleName) {
|
|
628
654
|
var modules = [
|
|
629
655
|
'textbox', 'numerictextbox', 'textarea', 'combobox',
|
|
630
|
-
'datepicker', 'daterangepicker', 'datetimepicker'
|
|
656
|
+
'datepicker', 'daterangepicker', 'datetimepicker', 'maskedtextbox'
|
|
631
657
|
];
|
|
632
658
|
placeholder = encodePlaceHolder(placeholder);
|
|
633
659
|
var parentElement = getParentNode(element);
|
|
@@ -82,14 +82,17 @@ export interface MaskedTextBoxModel extends ComponentModel{
|
|
|
82
82
|
enablePersistence?: boolean;
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
|
-
* Sets a value that masks the MaskedTextBox to allow
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
85
|
+
* Sets a value that masks the MaskedTextBox to allow or validate user input.
|
|
86
|
+
*
|
|
87
|
+
* Mask supports
|
|
88
|
+
* [`standard mask elements`](../../maskedtextbox/mask-configuration#standard-mask-elements),
|
|
89
|
+
* [`custom characters`](../../maskedtextbox/mask-configuration#custom-characters) snd
|
|
90
|
+
* [`regular expression`](../../maskedtextbox/mask-configuration#regular-expression)
|
|
91
|
+
* as mask elements.
|
|
92
|
+
*
|
|
93
|
+
* For more information, refer to the [mask](../../maskedtextbox/mask-configuration#standard-mask-elements) documentation.
|
|
94
|
+
*
|
|
95
|
+
* If the `mask` value is empty, the MaskedTextBox behaves as an input element with text type.
|
|
93
96
|
*
|
|
94
97
|
* {% codeBlock src='maskedtextbox/mask/index.md' %}{% endcodeBlock %}
|
|
95
98
|
*
|
|
@@ -111,14 +111,17 @@ export declare class MaskedTextBox extends Component<HTMLInputElement> implement
|
|
|
111
111
|
*/
|
|
112
112
|
enablePersistence: boolean;
|
|
113
113
|
/**
|
|
114
|
-
* Sets a value that masks the MaskedTextBox to allow
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
114
|
+
* Sets a value that masks the MaskedTextBox to allow or validate user input.
|
|
115
|
+
*
|
|
116
|
+
* Mask supports
|
|
117
|
+
* [`standard mask elements`](../../maskedtextbox/mask-configuration#standard-mask-elements),
|
|
118
|
+
* [`custom characters`](../../maskedtextbox/mask-configuration#custom-characters) snd
|
|
119
|
+
* [`regular expression`](../../maskedtextbox/mask-configuration#regular-expression)
|
|
120
|
+
* as mask elements.
|
|
121
|
+
*
|
|
122
|
+
* For more information, refer to the [mask](../../maskedtextbox/mask-configuration#standard-mask-elements) documentation.
|
|
123
|
+
*
|
|
124
|
+
* If the `mask` value is empty, the MaskedTextBox behaves as an input element with text type.
|
|
122
125
|
*
|
|
123
126
|
* {% codeBlock src='maskedtextbox/mask/index.md' %}{% endcodeBlock %}
|
|
124
127
|
*
|
|
@@ -240,7 +240,7 @@ var MaskedTextBox = /** @class */ (function (_super) {
|
|
|
240
240
|
};
|
|
241
241
|
MaskedTextBox.prototype.setMaskPlaceholder = function (setVal, dynamicPlaceholder) {
|
|
242
242
|
if (dynamicPlaceholder || this.placeholder) {
|
|
243
|
-
Input.setPlaceholder(this.placeholder, this.element);
|
|
243
|
+
Input.setPlaceholder(this.placeholder, this.element, this.getModuleName());
|
|
244
244
|
if ((this.element.value === this.promptMask && setVal && this.floatLabelType !== 'Always') ||
|
|
245
245
|
this.element.value === this.promptMask && this.floatLabelType === 'Never') {
|
|
246
246
|
setElementValue.call(this, '');
|
|
@@ -26,8 +26,6 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Specifies a minimum value that is allowed a user can enter.
|
|
29
|
-
* For more information on min, refer to
|
|
30
|
-
* [min](../../numerictextbox/getting-started/#range-validation).
|
|
31
29
|
*
|
|
32
30
|
* @default null
|
|
33
31
|
* @aspType object
|
|
@@ -38,8 +36,6 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* Specifies a maximum value that is allowed a user can enter.
|
|
41
|
-
* For more information on max, refer to
|
|
42
|
-
* [max](../../numerictextbox/getting-started/#range-validation).
|
|
43
39
|
*
|
|
44
40
|
* @default null
|
|
45
41
|
* @aspType object
|
|
@@ -50,8 +46,6 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
50
46
|
|
|
51
47
|
/**
|
|
52
48
|
* Specifies the incremental or decremental step size for the NumericTextBox.
|
|
53
|
-
* For more information on step, refer to
|
|
54
|
-
* [step](../../numerictextbox/getting-started/#range-validation).
|
|
55
49
|
*
|
|
56
50
|
* @default 1
|
|
57
51
|
* @isGenericType true
|
|
@@ -121,8 +115,7 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
121
115
|
|
|
122
116
|
/**
|
|
123
117
|
* Specifies the number format that indicates the display format for the value of the NumericTextBox.
|
|
124
|
-
* For more information on formats, refer to
|
|
125
|
-
* [formats](../../numerictextbox/formats/#standard-formats).
|
|
118
|
+
* For more information on formats, refer to [formats](../../numerictextbox/formats#standard-formats).
|
|
126
119
|
*
|
|
127
120
|
* @default 'n2'
|
|
128
121
|
*/
|
|
@@ -130,8 +123,6 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
130
123
|
|
|
131
124
|
/**
|
|
132
125
|
* Specifies the number precision applied to the textbox value when the NumericTextBox is focused.
|
|
133
|
-
* For more information on decimals, refer to
|
|
134
|
-
* [decimals](../../numerictextbox/formats/#precision-of-numbers).
|
|
135
126
|
*
|
|
136
127
|
* @default null
|
|
137
128
|
*/
|
|
@@ -54,6 +54,7 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
54
54
|
private prependedElement;
|
|
55
55
|
private appendedElement;
|
|
56
56
|
private iconTemplateFunction;
|
|
57
|
+
private resizeHandler;
|
|
57
58
|
/**
|
|
58
59
|
* Gets or Sets the CSS classes to root element of the NumericTextBox which helps to customize the
|
|
59
60
|
* complete UI styles for the NumericTextBox component.
|
|
@@ -71,8 +72,6 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
71
72
|
value: number;
|
|
72
73
|
/**
|
|
73
74
|
* Specifies a minimum value that is allowed a user can enter.
|
|
74
|
-
* For more information on min, refer to
|
|
75
|
-
* [min](../../numerictextbox/getting-started/#range-validation).
|
|
76
75
|
*
|
|
77
76
|
* @default null
|
|
78
77
|
* @aspType object
|
|
@@ -82,8 +81,6 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
82
81
|
min: number;
|
|
83
82
|
/**
|
|
84
83
|
* Specifies a maximum value that is allowed a user can enter.
|
|
85
|
-
* For more information on max, refer to
|
|
86
|
-
* [max](../../numerictextbox/getting-started/#range-validation).
|
|
87
84
|
*
|
|
88
85
|
* @default null
|
|
89
86
|
* @aspType object
|
|
@@ -93,8 +90,6 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
93
90
|
max: number;
|
|
94
91
|
/**
|
|
95
92
|
* Specifies the incremental or decremental step size for the NumericTextBox.
|
|
96
|
-
* For more information on step, refer to
|
|
97
|
-
* [step](../../numerictextbox/getting-started/#range-validation).
|
|
98
93
|
*
|
|
99
94
|
* @default 1
|
|
100
95
|
* @isGenericType true
|
|
@@ -157,16 +152,13 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
157
152
|
enablePersistence: boolean;
|
|
158
153
|
/**
|
|
159
154
|
* Specifies the number format that indicates the display format for the value of the NumericTextBox.
|
|
160
|
-
* For more information on formats, refer to
|
|
161
|
-
* [formats](../../numerictextbox/formats/#standard-formats).
|
|
155
|
+
* For more information on formats, refer to [formats](../../numerictextbox/formats#standard-formats).
|
|
162
156
|
*
|
|
163
157
|
* @default 'n2'
|
|
164
158
|
*/
|
|
165
159
|
format: string;
|
|
166
160
|
/**
|
|
167
161
|
* Specifies the number precision applied to the textbox value when the NumericTextBox is focused.
|
|
168
|
-
* For more information on decimals, refer to
|
|
169
|
-
* [decimals](../../numerictextbox/formats/#precision-of-numbers).
|
|
170
162
|
*
|
|
171
163
|
* @default null
|
|
172
164
|
*/
|
|
@@ -355,6 +347,7 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
355
347
|
private keyPressHandler;
|
|
356
348
|
private numericRegex;
|
|
357
349
|
private mouseWheel;
|
|
350
|
+
private windowResize;
|
|
358
351
|
private focusHandler;
|
|
359
352
|
private focusOutHandler;
|
|
360
353
|
private mouseDownOnSpinner;
|
|
@@ -495,6 +495,8 @@ var NumericTextBox = /** @class */ (function (_super) {
|
|
|
495
495
|
EventHandler.add(this.formEle, 'reset', this.resetFormHandler, this);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
+
this.resizeHandler = this.windowResize.bind(this);
|
|
499
|
+
window.addEventListener('resize', this.resizeHandler);
|
|
498
500
|
};
|
|
499
501
|
NumericTextBox.prototype.wireSpinBtnEvents = function () {
|
|
500
502
|
/* bind spin button events */
|
|
@@ -517,6 +519,10 @@ var NumericTextBox = /** @class */ (function (_super) {
|
|
|
517
519
|
if (this.formEle) {
|
|
518
520
|
EventHandler.remove(this.formEle, 'reset', this.resetFormHandler);
|
|
519
521
|
}
|
|
522
|
+
if (this.resizeHandler) {
|
|
523
|
+
window.removeEventListener('resize', this.resizeHandler);
|
|
524
|
+
this.resizeHandler = null;
|
|
525
|
+
}
|
|
520
526
|
};
|
|
521
527
|
NumericTextBox.prototype.unwireSpinBtnEvents = function () {
|
|
522
528
|
/* unbind spin button events */
|
|
@@ -1043,6 +1049,9 @@ var NumericTextBox = /** @class */ (function (_super) {
|
|
|
1043
1049
|
}
|
|
1044
1050
|
this.cancelEvent(event);
|
|
1045
1051
|
};
|
|
1052
|
+
NumericTextBox.prototype.windowResize = function () {
|
|
1053
|
+
this.updateFloatLabelOverflowWidth();
|
|
1054
|
+
};
|
|
1046
1055
|
NumericTextBox.prototype.focusHandler = function (event) {
|
|
1047
1056
|
var _this = this;
|
|
1048
1057
|
clearTimeout(selectionTimeOut);
|
|
@@ -25,6 +25,7 @@ export declare class TextArea extends Component<HTMLTextAreaElement> implements
|
|
|
25
25
|
private prependedElement;
|
|
26
26
|
private appendedElement;
|
|
27
27
|
private iconTemplateFn;
|
|
28
|
+
private resizeHandler;
|
|
28
29
|
/**
|
|
29
30
|
* Specifies the boolean value whether the TextArea allows user to change the text.
|
|
30
31
|
*
|
|
@@ -247,6 +248,7 @@ export declare class TextArea extends Component<HTMLTextAreaElement> implements
|
|
|
247
248
|
* @returns {void}
|
|
248
249
|
*/
|
|
249
250
|
destroy(): void;
|
|
251
|
+
private windowResize;
|
|
250
252
|
private focusHandler;
|
|
251
253
|
private focusOutHandler;
|
|
252
254
|
protected keydownHandler(args: KeyboardEvent): void;
|
package/src/textarea/textarea.js
CHANGED
|
@@ -494,6 +494,8 @@ var TextArea = /** @class */ (function (_super) {
|
|
|
494
494
|
EventHandler.add(this.formElement, 'reset', this.resetForm, this);
|
|
495
495
|
}
|
|
496
496
|
this.bindClearEvent();
|
|
497
|
+
this.resizeHandler = this.windowResize.bind(this);
|
|
498
|
+
window.addEventListener('resize', this.resizeHandler);
|
|
497
499
|
};
|
|
498
500
|
TextArea.prototype.unWireEvents = function () {
|
|
499
501
|
EventHandler.remove(this.element, 'focus', this.focusHandler);
|
|
@@ -504,6 +506,10 @@ var TextArea = /** @class */ (function (_super) {
|
|
|
504
506
|
if (this.isForm) {
|
|
505
507
|
EventHandler.remove(this.formElement, 'reset', this.resetForm);
|
|
506
508
|
}
|
|
509
|
+
if (this.resizeHandler) {
|
|
510
|
+
window.removeEventListener('resize', this.resizeHandler);
|
|
511
|
+
this.resizeHandler = null;
|
|
512
|
+
}
|
|
507
513
|
};
|
|
508
514
|
/**
|
|
509
515
|
* Removes the component from the DOM and detaches all its related event handlers.
|
|
@@ -542,6 +548,9 @@ var TextArea = /** @class */ (function (_super) {
|
|
|
542
548
|
}
|
|
543
549
|
_super.prototype.destroy.call(this);
|
|
544
550
|
};
|
|
551
|
+
TextArea.prototype.windowResize = function () {
|
|
552
|
+
this.updateFloatLabelOverflowWidth();
|
|
553
|
+
};
|
|
545
554
|
TextArea.prototype.focusHandler = function (args) {
|
|
546
555
|
var eventArgs = {
|
|
547
556
|
container: this.textareaWrapper.container,
|
|
@@ -229,7 +229,7 @@ export interface UploaderModel extends ComponentModel{
|
|
|
229
229
|
* Specifies the drop target to handle the drag-and-drop upload.
|
|
230
230
|
* By default, the component creates wrapper around file input that will act as drop target.
|
|
231
231
|
*
|
|
232
|
-
* > For more information, refer to the [drag-and-drop](../../uploader/file-source
|
|
232
|
+
* > For more information, refer to the [drag-and-drop](../../uploader/file-source#drag-and-drop) section from the documentation.
|
|
233
233
|
*
|
|
234
234
|
* @default null
|
|
235
235
|
*/
|
|
@@ -642,7 +642,7 @@ export declare class Uploader extends Component<HTMLInputElement> implements INo
|
|
|
642
642
|
* Specifies the drop target to handle the drag-and-drop upload.
|
|
643
643
|
* By default, the component creates wrapper around file input that will act as drop target.
|
|
644
644
|
*
|
|
645
|
-
* > For more information, refer to the [drag-and-drop](../../uploader/file-source
|
|
645
|
+
* > For more information, refer to the [drag-and-drop](../../uploader/file-source#drag-and-drop) section from the documentation.
|
|
646
646
|
*
|
|
647
647
|
* @default null
|
|
648
648
|
*/
|
package/styles/fluent2-lite.css
CHANGED
|
@@ -2185,8 +2185,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
2185
2185
|
.e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2186
2186
|
font-size: 14px;
|
|
2187
2187
|
top: -28px;
|
|
2188
|
-
-webkit-transform: translate3d(
|
|
2189
|
-
transform: translate3d(
|
|
2188
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.92);
|
|
2189
|
+
transform: translate3d(-8px, 6px, 0) scale(0.92);
|
|
2190
2190
|
}
|
|
2191
2191
|
|
|
2192
2192
|
.e-float-input.e-small textarea:focus ~ label.e-float-text,
|
|
@@ -2407,8 +2407,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
2407
2407
|
.e-small .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
2408
2408
|
.e-small .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
2409
2409
|
.e-small .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2410
|
-
-webkit-transform: translate3d(
|
|
2411
|
-
transform: translate3d(
|
|
2410
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
2411
|
+
transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
2412
2412
|
}
|
|
2413
2413
|
|
|
2414
2414
|
.e-float-input textarea[disabled],
|
package/styles/fluent2.css
CHANGED
|
@@ -2185,8 +2185,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
2185
2185
|
.e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2186
2186
|
font-size: 14px;
|
|
2187
2187
|
top: -28px;
|
|
2188
|
-
-webkit-transform: translate3d(
|
|
2189
|
-
transform: translate3d(
|
|
2188
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.92);
|
|
2189
|
+
transform: translate3d(-8px, 6px, 0) scale(0.92);
|
|
2190
2190
|
}
|
|
2191
2191
|
|
|
2192
2192
|
.e-float-input.e-small textarea:focus ~ label.e-float-text,
|
|
@@ -2407,8 +2407,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
2407
2407
|
.e-small .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
2408
2408
|
.e-small .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
2409
2409
|
.e-small .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2410
|
-
-webkit-transform: translate3d(
|
|
2411
|
-
transform: translate3d(
|
|
2410
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
2411
|
+
transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
2412
2412
|
}
|
|
2413
2413
|
|
|
2414
2414
|
.e-float-input textarea[disabled],
|
|
@@ -6905,8 +6905,8 @@ textarea.e-input.e-bigger.e-small,
|
|
|
6905
6905
|
.e-bigger .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
6906
6906
|
.e-bigger .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
6907
6907
|
.e-bigger .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
6908
|
-
-webkit-transform: translate3d(
|
|
6909
|
-
transform: translate3d(
|
|
6908
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
6909
|
+
transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
6910
6910
|
}
|
|
6911
6911
|
|
|
6912
6912
|
.e-float-input.e-small.e-bigger textarea:focus ~ label.e-float-text,
|
|
@@ -6933,8 +6933,8 @@ textarea.e-input.e-bigger.e-small,
|
|
|
6933
6933
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
6934
6934
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
6935
6935
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
6936
|
-
-webkit-transform: translate3d(
|
|
6937
|
-
transform: translate3d(
|
|
6936
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
6937
|
+
transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
6938
6938
|
}
|
|
6939
6939
|
|
|
6940
6940
|
.e-input-group.e-bigger textarea,
|
|
@@ -2088,7 +2088,15 @@
|
|
|
2088
2088
|
.e-bigger .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
2089
2089
|
.e-bigger .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2090
2090
|
@if $input-skin-name == 'material' or $input-skin-name == 'Material3' or $input-skin-name == 'fluent2' or $input-skin-name == 'tailwind3' {
|
|
2091
|
-
|
|
2091
|
+
@if $input-skin-name == 'fluent2'{
|
|
2092
|
+
transform: translate3d(-8px, 6px, 0) scale(.86);
|
|
2093
|
+
}
|
|
2094
|
+
@else if $input-skin-name == 'tailwind3'{
|
|
2095
|
+
transform: translate3d(-10px, 6px, 0) scale(.86);
|
|
2096
|
+
}
|
|
2097
|
+
@else{
|
|
2098
|
+
transform: translate3d(0, 6px, 0) scale(.86);
|
|
2099
|
+
}
|
|
2092
2100
|
}
|
|
2093
2101
|
@else if $input-skin-name == 'fabric' or $input-skin-name == 'highcontrast' {
|
|
2094
2102
|
font-style: $input-font-normal;
|
|
@@ -2142,7 +2150,15 @@
|
|
|
2142
2150
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
2143
2151
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2144
2152
|
@if $input-skin-name == 'material' or $input-skin-name == 'Material3' or $input-skin-name == 'fluent2' or $input-skin-name == 'tailwind3' {
|
|
2145
|
-
|
|
2153
|
+
@if $input-skin-name == 'fluent2'{
|
|
2154
|
+
transform: translate3d(-8px, 6px, 0) scale(.86);
|
|
2155
|
+
}
|
|
2156
|
+
@else if $input-skin-name == 'tailwind3'{
|
|
2157
|
+
transform: translate3d(-10px, 6px, 0) scale(.86);
|
|
2158
|
+
}
|
|
2159
|
+
@else{
|
|
2160
|
+
transform: translate3d(0, 6px, 0) scale(.86);
|
|
2161
|
+
}
|
|
2146
2162
|
}
|
|
2147
2163
|
@else if $input-skin-name == 'fabric' or $input-skin-name == 'highcontrast' {
|
|
2148
2164
|
font-style: $input-font-normal;
|
|
@@ -2432,7 +2432,16 @@
|
|
|
2432
2432
|
font-size: $float-label-font-size;
|
|
2433
2433
|
@if $input-skin-name == 'material' or $input-skin-name == 'Material3' or $input-skin-name == 'fluent2' or $input-skin-name == 'tailwind3' {
|
|
2434
2434
|
top: $textarea-float-top;
|
|
2435
|
-
|
|
2435
|
+
@if $input-skin-name == 'fluent2'{
|
|
2436
|
+
transform: translate3d(-8px, 6px, 0) scale(.92);
|
|
2437
|
+
}
|
|
2438
|
+
@else if $input-skin-name == 'tailwind3'{
|
|
2439
|
+
transform: translate3d(-10px, 6px, 0) scale(.92);
|
|
2440
|
+
}
|
|
2441
|
+
@else{
|
|
2442
|
+
transform: translate3d(0, 6px, 0) scale(.92);
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2436
2445
|
@if $input-skin-name == 'tailwind3' {
|
|
2437
2446
|
left: 2px;
|
|
2438
2447
|
}
|
|
@@ -2859,7 +2868,15 @@
|
|
|
2859
2868
|
.e-small .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
2860
2869
|
.e-small .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2861
2870
|
@if $input-skin-name == 'material' or $input-skin-name == 'Material3' or $input-skin-name == 'fluent2' or $input-skin-name == 'tailwind3' {
|
|
2862
|
-
|
|
2871
|
+
@if $input-skin-name == 'fluent2'{
|
|
2872
|
+
transform: translate3d(-8px, 6px, 0) scale(.86);
|
|
2873
|
+
}
|
|
2874
|
+
@else if $input-skin-name == 'tailwind3'{
|
|
2875
|
+
transform: translate3d(-10px, 6px, 0) scale(.86);
|
|
2876
|
+
}
|
|
2877
|
+
@else{
|
|
2878
|
+
transform: translate3d(0, 6px, 0) scale(.86);
|
|
2879
|
+
}
|
|
2863
2880
|
}
|
|
2864
2881
|
@else if $input-skin-name == 'fabric' or $input-skin-name == 'highcontrast' {
|
|
2865
2882
|
font-style: $input-font-normal;
|
package/styles/input/fluent2.css
CHANGED
|
@@ -2175,8 +2175,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
2175
2175
|
.e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2176
2176
|
font-size: 14px;
|
|
2177
2177
|
top: -28px;
|
|
2178
|
-
-webkit-transform: translate3d(
|
|
2179
|
-
transform: translate3d(
|
|
2178
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.92);
|
|
2179
|
+
transform: translate3d(-8px, 6px, 0) scale(0.92);
|
|
2180
2180
|
}
|
|
2181
2181
|
|
|
2182
2182
|
.e-float-input.e-small textarea:focus ~ label.e-float-text,
|
|
@@ -2397,8 +2397,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
2397
2397
|
.e-small .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
2398
2398
|
.e-small .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
2399
2399
|
.e-small .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2400
|
-
-webkit-transform: translate3d(
|
|
2401
|
-
transform: translate3d(
|
|
2400
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
2401
|
+
transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
2402
2402
|
}
|
|
2403
2403
|
|
|
2404
2404
|
.e-float-input textarea[disabled],
|
|
@@ -6895,8 +6895,8 @@ textarea.e-input.e-bigger.e-small,
|
|
|
6895
6895
|
.e-bigger .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
6896
6896
|
.e-bigger .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
6897
6897
|
.e-bigger .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
6898
|
-
-webkit-transform: translate3d(
|
|
6899
|
-
transform: translate3d(
|
|
6898
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
6899
|
+
transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
6900
6900
|
}
|
|
6901
6901
|
|
|
6902
6902
|
.e-float-input.e-small.e-bigger textarea:focus ~ label.e-float-text,
|
|
@@ -6923,8 +6923,8 @@ textarea.e-input.e-bigger.e-small,
|
|
|
6923
6923
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
6924
6924
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
6925
6925
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
6926
|
-
-webkit-transform: translate3d(
|
|
6927
|
-
transform: translate3d(
|
|
6926
|
+
-webkit-transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
6927
|
+
transform: translate3d(-8px, 6px, 0) scale(0.86);
|
|
6928
6928
|
}
|
|
6929
6929
|
|
|
6930
6930
|
.e-input-group.e-bigger textarea,
|
|
@@ -1848,8 +1848,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1848
1848
|
.e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
1849
1849
|
font-size: 12px;
|
|
1850
1850
|
top: -24px;
|
|
1851
|
-
-webkit-transform: translate3d(
|
|
1852
|
-
transform: translate3d(
|
|
1851
|
+
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1852
|
+
transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1853
1853
|
left: 2px;
|
|
1854
1854
|
}
|
|
1855
1855
|
|
|
@@ -1998,8 +1998,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1998
1998
|
.e-small .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
1999
1999
|
.e-small .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
2000
2000
|
.e-small .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2001
|
-
-webkit-transform: translate3d(
|
|
2002
|
-
transform: translate3d(
|
|
2001
|
+
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.86);
|
|
2002
|
+
transform: translate3d(-10px, 6px, 0) scale(0.86);
|
|
2003
2003
|
}
|
|
2004
2004
|
|
|
2005
2005
|
.e-float-input textarea[disabled],
|
|
@@ -6499,8 +6499,8 @@ textarea.e-input.e-bigger.e-small,
|
|
|
6499
6499
|
.e-bigger .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
6500
6500
|
.e-bigger .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
6501
6501
|
.e-bigger .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
6502
|
-
-webkit-transform: translate3d(
|
|
6503
|
-
transform: translate3d(
|
|
6502
|
+
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.86);
|
|
6503
|
+
transform: translate3d(-10px, 6px, 0) scale(0.86);
|
|
6504
6504
|
}
|
|
6505
6505
|
|
|
6506
6506
|
.e-float-input.e-small.e-bigger textarea:focus ~ label.e-float-text,
|
|
@@ -6527,8 +6527,8 @@ textarea.e-input.e-bigger.e-small,
|
|
|
6527
6527
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
6528
6528
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
6529
6529
|
.e-small.e-bigger .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
6530
|
-
-webkit-transform: translate3d(
|
|
6531
|
-
transform: translate3d(
|
|
6530
|
+
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.86);
|
|
6531
|
+
transform: translate3d(-10px, 6px, 0) scale(0.86);
|
|
6532
6532
|
}
|
|
6533
6533
|
|
|
6534
6534
|
.e-input-group.e-bigger textarea,
|
|
@@ -1860,8 +1860,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1860
1860
|
.e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
1861
1861
|
font-size: 12px;
|
|
1862
1862
|
top: -24px;
|
|
1863
|
-
-webkit-transform: translate3d(
|
|
1864
|
-
transform: translate3d(
|
|
1863
|
+
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1864
|
+
transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1865
1865
|
left: 2px;
|
|
1866
1866
|
}
|
|
1867
1867
|
|
|
@@ -2010,8 +2010,8 @@ textarea.e-input.e-small.e-rtl,
|
|
|
2010
2010
|
.e-small .e-float-input.e-control-wrapper textarea[readonly] ~ label.e-label-top.e-float-text,
|
|
2011
2011
|
.e-small .e-float-input.e-control-wrapper textarea[disabled] ~ label.e-label-top.e-float-text,
|
|
2012
2012
|
.e-small .e-float-input.e-control-wrapper textarea label.e-float-text.e-label-top {
|
|
2013
|
-
-webkit-transform: translate3d(
|
|
2014
|
-
transform: translate3d(
|
|
2013
|
+
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.86);
|
|
2014
|
+
transform: translate3d(-10px, 6px, 0) scale(0.86);
|
|
2015
2015
|
}
|
|
2016
2016
|
|
|
2017
2017
|
.e-float-input textarea[disabled],
|