@syncfusion/ej2-inputs 30.1.38 → 30.2.4
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/.eslintrc.json +263 -0
- package/aceconfig.js +17 -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 +22 -16
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +22 -16
- 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 +19 -7
- package/src/maskedtextbox/base/mask-base.js +1 -1
- package/src/rating/rating.js +2 -8
- 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.3-lite.css +2 -2
- package/styles/bootstrap5.3.css +2 -2
- package/styles/bootstrap5.css +2 -2
- package/styles/fluent2-lite.css +6 -6
- package/styles/fluent2.css +6 -6
- package/styles/input/_bootstrap5-definition.scss +1 -1
- package/styles/input/_bootstrap5.3-definition.scss +1 -1
- package/styles/input/bootstrap5-dark.css +2 -2
- package/styles/input/bootstrap5.3.css +2 -2
- package/styles/input/bootstrap5.css +2 -2
- package/styles/rating/fluent2.css +6 -6
- package/tslint.json +111 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 30.
|
|
3
|
+
* version : 30.2.4
|
|
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.
|
|
3
|
+
"version": "30.2.4",
|
|
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.
|
|
12
|
-
"@syncfusion/ej2-buttons": "~30.
|
|
13
|
-
"@syncfusion/ej2-popups": "~30.
|
|
14
|
-
"@syncfusion/ej2-splitbuttons": "~30.
|
|
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"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {},
|
|
17
17
|
"keywords": [
|
package/src/input/input.js
CHANGED
|
@@ -493,14 +493,26 @@ export var Input;
|
|
|
493
493
|
return container;
|
|
494
494
|
}
|
|
495
495
|
function encodePlaceHolder(placeholder) {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
var spanEle = document.createElement('span');
|
|
499
|
-
spanEle.innerHTML = '<input placeholder="' + placeholder + '"/>';
|
|
500
|
-
var hiddenInput = (spanEle.children[0]);
|
|
501
|
-
result = hiddenInput.placeholder;
|
|
496
|
+
if (placeholder == null || placeholder === '') {
|
|
497
|
+
return '';
|
|
502
498
|
}
|
|
503
|
-
|
|
499
|
+
var decoded = decodeHtmlEntities(placeholder);
|
|
500
|
+
return decoded;
|
|
501
|
+
}
|
|
502
|
+
function decodeHtmlEntities(str) {
|
|
503
|
+
var entityMap = {
|
|
504
|
+
'&': '&',
|
|
505
|
+
// eslint-disable-next-line quotes
|
|
506
|
+
'"': '"',
|
|
507
|
+
// eslint-disable-next-line quotes
|
|
508
|
+
''': "'",
|
|
509
|
+
'<': '<',
|
|
510
|
+
'>': '>',
|
|
511
|
+
'é': 'é' // tslint:disable-line:comma-dangle
|
|
512
|
+
};
|
|
513
|
+
// tslint:disable-next-line:typedef
|
|
514
|
+
// tslint-disable-next-line security/detect-object-injection
|
|
515
|
+
return str.replace(/&[a-zA-Z#0-9]+;/g, function (entity) { return entityMap[entity] || entity; });
|
|
504
516
|
}
|
|
505
517
|
/**
|
|
506
518
|
* Sets the value to the input element.
|
|
@@ -475,7 +475,7 @@ function maskInputHandler(event) {
|
|
|
475
475
|
this.element.value = this.element.value + this.promptMask;
|
|
476
476
|
this.element.setSelectionRange(1, 1);
|
|
477
477
|
}
|
|
478
|
-
if (!this._callPasteHandler) {
|
|
478
|
+
if ((!this._callPasteHandler && !Browser.isDevice) || this._callPasteHandler) {
|
|
479
479
|
removeMaskInputValues.call(this, event);
|
|
480
480
|
}
|
|
481
481
|
if (this.element.value.length > this.promptMask.length) {
|
package/src/rating/rating.js
CHANGED
|
@@ -313,9 +313,6 @@ var Rating = /** @class */ (function (_super) {
|
|
|
313
313
|
};
|
|
314
314
|
Rating.prototype.updateItemValue = function (isUpdate) {
|
|
315
315
|
if (isUpdate === void 0) { isUpdate = true; }
|
|
316
|
-
if (isUpdate && this.isReact) {
|
|
317
|
-
this.clearTemplate(['ratingEmptyTemplate', 'ratingFullTemplate']);
|
|
318
|
-
}
|
|
319
316
|
for (var i = 0; i < this.itemsCount; i++) {
|
|
320
317
|
var itemElement = this.itemElements[parseInt(i.toString(), 10)];
|
|
321
318
|
itemElement.classList.remove(SELECTED, INTERMEDIATE, SELECTEDVALUE);
|
|
@@ -348,7 +345,7 @@ var Rating = /** @class */ (function (_super) {
|
|
|
348
345
|
}
|
|
349
346
|
var spanEle = this.itemElements[parseInt(index.toString(), 10)].querySelector('.e-rating-item');
|
|
350
347
|
if (this.fullTemplate && ratingValue === 1) {
|
|
351
|
-
if (
|
|
348
|
+
if (spanEle.classList.contains(FULLTEMPLATE)) {
|
|
352
349
|
return;
|
|
353
350
|
}
|
|
354
351
|
this.removeItemContent(spanEle);
|
|
@@ -356,7 +353,7 @@ var Rating = /** @class */ (function (_super) {
|
|
|
356
353
|
append(this.fullTemplateFunction({ ratingValue: ratingValue, index: index }, this, 'ratingFullTemplate', (this.element.id + 'fullTemplate' + index), this.isStringTemplate), spanEle);
|
|
357
354
|
}
|
|
358
355
|
else if (this.emptyTemplate) {
|
|
359
|
-
if (
|
|
356
|
+
if (spanEle.classList.contains(EMPTYTEMPLATE)) {
|
|
360
357
|
return;
|
|
361
358
|
}
|
|
362
359
|
this.removeItemContent(spanEle);
|
|
@@ -639,9 +636,6 @@ var Rating = /** @class */ (function (_super) {
|
|
|
639
636
|
}
|
|
640
637
|
};
|
|
641
638
|
Rating.prototype.updateContent = function () {
|
|
642
|
-
if (this.isReact) {
|
|
643
|
-
this.clearTemplate(['ratingEmptyTemplate', 'ratingFullTemplate']);
|
|
644
|
-
}
|
|
645
639
|
for (var i = 0; i < this.itemsCount; i++) {
|
|
646
640
|
var itemElement = this.itemElements[parseInt(i.toString(), 10)].firstElementChild;
|
|
647
641
|
this.renderItemContent(itemElement, this.getRatingValue(this.value, i), i, true);
|
|
@@ -2099,7 +2099,7 @@ textarea.e-input,
|
|
|
2099
2099
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2100
2100
|
.e-float-input textarea[readonly],
|
|
2101
2101
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2102
|
-
background: #
|
|
2102
|
+
background: #212529;
|
|
2103
2103
|
color: #e9ecef;
|
|
2104
2104
|
}
|
|
2105
2105
|
|
|
@@ -2108,7 +2108,7 @@ textarea.e-input,
|
|
|
2108
2108
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2109
2109
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2110
2110
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2111
|
-
background: #
|
|
2111
|
+
background: #212529;
|
|
2112
2112
|
color: #adb5bd;
|
|
2113
2113
|
}
|
|
2114
2114
|
|
|
@@ -2099,7 +2099,7 @@ textarea.e-input,
|
|
|
2099
2099
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2100
2100
|
.e-float-input textarea[readonly],
|
|
2101
2101
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2102
|
-
background: #
|
|
2102
|
+
background: #212529;
|
|
2103
2103
|
color: #e9ecef;
|
|
2104
2104
|
}
|
|
2105
2105
|
|
|
@@ -2108,7 +2108,7 @@ textarea.e-input,
|
|
|
2108
2108
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2109
2109
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2110
2110
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2111
|
-
background: #
|
|
2111
|
+
background: #212529;
|
|
2112
2112
|
color: #adb5bd;
|
|
2113
2113
|
}
|
|
2114
2114
|
|
|
@@ -2099,7 +2099,7 @@ textarea.e-input,
|
|
|
2099
2099
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2100
2100
|
.e-float-input textarea[readonly],
|
|
2101
2101
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2102
|
-
background: #
|
|
2102
|
+
background: #fff;
|
|
2103
2103
|
color: #343a40;
|
|
2104
2104
|
}
|
|
2105
2105
|
|
|
@@ -2108,7 +2108,7 @@ textarea.e-input,
|
|
|
2108
2108
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2109
2109
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2110
2110
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2111
|
-
background: #
|
|
2111
|
+
background: #fff;
|
|
2112
2112
|
color: #6c757d;
|
|
2113
2113
|
}
|
|
2114
2114
|
|
|
@@ -2103,7 +2103,7 @@ textarea.e-input,
|
|
|
2103
2103
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2104
2104
|
.e-float-input textarea[readonly],
|
|
2105
2105
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2106
|
-
background: var(--color-sf-content-bg-color
|
|
2106
|
+
background: var(--color-sf-content-bg-color);
|
|
2107
2107
|
color: var(--color-sf-content-text-color);
|
|
2108
2108
|
}
|
|
2109
2109
|
|
|
@@ -2112,7 +2112,7 @@ textarea.e-input,
|
|
|
2112
2112
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2113
2113
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2114
2114
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2115
|
-
background: var(--color-sf-content-bg-color
|
|
2115
|
+
background: var(--color-sf-content-bg-color);
|
|
2116
2116
|
color: var(--color-sf-icon-color);
|
|
2117
2117
|
}
|
|
2118
2118
|
|
package/styles/bootstrap5.3.css
CHANGED
|
@@ -2103,7 +2103,7 @@ textarea.e-input,
|
|
|
2103
2103
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2104
2104
|
.e-float-input textarea[readonly],
|
|
2105
2105
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2106
|
-
background: var(--color-sf-content-bg-color
|
|
2106
|
+
background: var(--color-sf-content-bg-color);
|
|
2107
2107
|
color: var(--color-sf-content-text-color);
|
|
2108
2108
|
}
|
|
2109
2109
|
|
|
@@ -2112,7 +2112,7 @@ textarea.e-input,
|
|
|
2112
2112
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2113
2113
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2114
2114
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2115
|
-
background: var(--color-sf-content-bg-color
|
|
2115
|
+
background: var(--color-sf-content-bg-color);
|
|
2116
2116
|
color: var(--color-sf-icon-color);
|
|
2117
2117
|
}
|
|
2118
2118
|
|
package/styles/bootstrap5.css
CHANGED
|
@@ -2099,7 +2099,7 @@ textarea.e-input,
|
|
|
2099
2099
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2100
2100
|
.e-float-input textarea[readonly],
|
|
2101
2101
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2102
|
-
background: #
|
|
2102
|
+
background: #fff;
|
|
2103
2103
|
color: #343a40;
|
|
2104
2104
|
}
|
|
2105
2105
|
|
|
@@ -2108,7 +2108,7 @@ textarea.e-input,
|
|
|
2108
2108
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2109
2109
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2110
2110
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2111
|
-
background: #
|
|
2111
|
+
background: #fff;
|
|
2112
2112
|
color: #6c757d;
|
|
2113
2113
|
}
|
|
2114
2114
|
|
package/styles/fluent2-lite.css
CHANGED
|
@@ -7217,16 +7217,16 @@ body.e-colorpicker-overflow {
|
|
|
7217
7217
|
-webkit-text-stroke: 1px var(--color-sf-rating-selected-color);
|
|
7218
7218
|
}
|
|
7219
7219
|
.e-rating-container .e-rating-item-container.e-selected-value .e-rating-icon {
|
|
7220
|
-
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color
|
|
7220
|
+
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color);
|
|
7221
7221
|
}
|
|
7222
7222
|
.e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
7223
|
-
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-hover-color
|
|
7224
|
-
background: linear-gradient(to right, var(--color-sf-rating-selected-hover-color
|
|
7223
|
+
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-hover-color)), to(transparent));
|
|
7224
|
+
background: linear-gradient(to right, var(--color-sf-rating-selected-hover-color) var(--rating-value), transparent var(--rating-value));
|
|
7225
7225
|
background-clip: text;
|
|
7226
7226
|
/* stylelint-disable property-no-vendor-prefix */
|
|
7227
7227
|
-webkit-background-clip: text;
|
|
7228
7228
|
/* stylelint-enable property-no-vendor-prefix */
|
|
7229
|
-
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color
|
|
7229
|
+
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color);
|
|
7230
7230
|
}
|
|
7231
7231
|
.e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-selected:active .e-rating-icon, .e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-intermediate:active .e-rating-icon {
|
|
7232
7232
|
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-color)), to(transparent));
|
|
@@ -7246,8 +7246,8 @@ body.e-colorpicker-overflow {
|
|
|
7246
7246
|
/* stylelint-enable property-no-vendor-prefix */
|
|
7247
7247
|
}
|
|
7248
7248
|
.e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
7249
|
-
background: -webkit-gradient(linear, right top, left top, from(var(--color-sf-rating-selected-hover-color
|
|
7250
|
-
background: linear-gradient(to left, var(--color-sf-rating-selected-hover-color
|
|
7249
|
+
background: -webkit-gradient(linear, right top, left top, from(var(--color-sf-rating-selected-hover-color)), to(transparent));
|
|
7250
|
+
background: linear-gradient(to left, var(--color-sf-rating-selected-hover-color) var(--rating-value), transparent var(--rating-value));
|
|
7251
7251
|
background-clip: text;
|
|
7252
7252
|
/* stylelint-disable property-no-vendor-prefix */
|
|
7253
7253
|
-webkit-background-clip: text;
|
package/styles/fluent2.css
CHANGED
|
@@ -12180,16 +12180,16 @@ body.e-colorpicker-overflow {
|
|
|
12180
12180
|
-webkit-text-stroke: 1px var(--color-sf-rating-selected-color);
|
|
12181
12181
|
}
|
|
12182
12182
|
.e-rating-container .e-rating-item-container.e-selected-value .e-rating-icon {
|
|
12183
|
-
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color
|
|
12183
|
+
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color);
|
|
12184
12184
|
}
|
|
12185
12185
|
.e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
12186
|
-
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-hover-color
|
|
12187
|
-
background: linear-gradient(to right, var(--color-sf-rating-selected-hover-color
|
|
12186
|
+
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-hover-color)), to(transparent));
|
|
12187
|
+
background: linear-gradient(to right, var(--color-sf-rating-selected-hover-color) var(--rating-value), transparent var(--rating-value));
|
|
12188
12188
|
background-clip: text;
|
|
12189
12189
|
/* stylelint-disable property-no-vendor-prefix */
|
|
12190
12190
|
-webkit-background-clip: text;
|
|
12191
12191
|
/* stylelint-enable property-no-vendor-prefix */
|
|
12192
|
-
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color
|
|
12192
|
+
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color);
|
|
12193
12193
|
}
|
|
12194
12194
|
.e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-selected:active .e-rating-icon, .e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-intermediate:active .e-rating-icon {
|
|
12195
12195
|
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-color)), to(transparent));
|
|
@@ -12209,8 +12209,8 @@ body.e-colorpicker-overflow {
|
|
|
12209
12209
|
/* stylelint-enable property-no-vendor-prefix */
|
|
12210
12210
|
}
|
|
12211
12211
|
.e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
12212
|
-
background: -webkit-gradient(linear, right top, left top, from(var(--color-sf-rating-selected-hover-color
|
|
12213
|
-
background: linear-gradient(to left, var(--color-sf-rating-selected-hover-color
|
|
12212
|
+
background: -webkit-gradient(linear, right top, left top, from(var(--color-sf-rating-selected-hover-color)), to(transparent));
|
|
12213
|
+
background: linear-gradient(to left, var(--color-sf-rating-selected-hover-color) var(--rating-value), transparent var(--rating-value));
|
|
12214
12214
|
background-clip: text;
|
|
12215
12215
|
/* stylelint-disable property-no-vendor-prefix */
|
|
12216
12216
|
-webkit-background-clip: text;
|
|
@@ -237,7 +237,7 @@ $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
239
|
$input-group-hovered-color: $icon-color-hover !default;
|
|
240
|
-
$input-readonly-bg-color: $content-bg-color
|
|
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;
|
|
243
243
|
$input-border-shadow: 0 0 0 3px rgba($primary-light, .25) !default;
|
|
@@ -237,7 +237,7 @@ $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
239
|
$input-group-hovered-color: $close-icon-color-hover !default;
|
|
240
|
-
$input-readonly-bg-color: $content-bg-color
|
|
240
|
+
$input-readonly-bg-color: $content-bg-color !default;
|
|
241
241
|
$input-readonly-color: $content-text-color !default;
|
|
242
242
|
$input-icon-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) !default;
|
|
243
243
|
$input-border-shadow: 0 0 0 3px rgba($primary-light, .25) !default;
|
|
@@ -2089,7 +2089,7 @@ textarea.e-input,
|
|
|
2089
2089
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2090
2090
|
.e-float-input textarea[readonly],
|
|
2091
2091
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2092
|
-
background: #
|
|
2092
|
+
background: #212529;
|
|
2093
2093
|
color: #e9ecef;
|
|
2094
2094
|
}
|
|
2095
2095
|
|
|
@@ -2098,7 +2098,7 @@ textarea.e-input,
|
|
|
2098
2098
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2099
2099
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2100
2100
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2101
|
-
background: #
|
|
2101
|
+
background: #212529;
|
|
2102
2102
|
color: #adb5bd;
|
|
2103
2103
|
}
|
|
2104
2104
|
|
|
@@ -2093,7 +2093,7 @@ textarea.e-input,
|
|
|
2093
2093
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2094
2094
|
.e-float-input textarea[readonly],
|
|
2095
2095
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2096
|
-
background: var(--color-sf-content-bg-color
|
|
2096
|
+
background: var(--color-sf-content-bg-color);
|
|
2097
2097
|
color: var(--color-sf-content-text-color);
|
|
2098
2098
|
}
|
|
2099
2099
|
|
|
@@ -2102,7 +2102,7 @@ textarea.e-input,
|
|
|
2102
2102
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2103
2103
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2104
2104
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2105
|
-
background: var(--color-sf-content-bg-color
|
|
2105
|
+
background: var(--color-sf-content-bg-color);
|
|
2106
2106
|
color: var(--color-sf-icon-color);
|
|
2107
2107
|
}
|
|
2108
2108
|
|
|
@@ -2089,7 +2089,7 @@ textarea.e-input,
|
|
|
2089
2089
|
.e-float-input.e-control-wrapper input[readonly],
|
|
2090
2090
|
.e-float-input textarea[readonly],
|
|
2091
2091
|
.e-float-input.e-control-wrapper textarea[readonly] {
|
|
2092
|
-
background: #
|
|
2092
|
+
background: #fff;
|
|
2093
2093
|
color: #343a40;
|
|
2094
2094
|
}
|
|
2095
2095
|
|
|
@@ -2098,7 +2098,7 @@ textarea.e-input,
|
|
|
2098
2098
|
.e-float-input input[readonly] ~ span.e-input-group-icon,
|
|
2099
2099
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-input-group-icon,
|
|
2100
2100
|
.e-float-input.e-control-wrapper input[readonly] ~ span.e-clear-icon {
|
|
2101
|
-
background: #
|
|
2101
|
+
background: #fff;
|
|
2102
2102
|
color: #6c757d;
|
|
2103
2103
|
}
|
|
2104
2104
|
|
|
@@ -200,16 +200,16 @@
|
|
|
200
200
|
-webkit-text-stroke: 1px var(--color-sf-rating-selected-color);
|
|
201
201
|
}
|
|
202
202
|
.e-rating-container .e-rating-item-container.e-selected-value .e-rating-icon {
|
|
203
|
-
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color
|
|
203
|
+
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color);
|
|
204
204
|
}
|
|
205
205
|
.e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
206
|
-
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-hover-color
|
|
207
|
-
background: linear-gradient(to right, var(--color-sf-rating-selected-hover-color
|
|
206
|
+
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-hover-color)), to(transparent));
|
|
207
|
+
background: linear-gradient(to right, var(--color-sf-rating-selected-hover-color) var(--rating-value), transparent var(--rating-value));
|
|
208
208
|
background-clip: text;
|
|
209
209
|
/* stylelint-disable property-no-vendor-prefix */
|
|
210
210
|
-webkit-background-clip: text;
|
|
211
211
|
/* stylelint-enable property-no-vendor-prefix */
|
|
212
|
-
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color
|
|
212
|
+
-webkit-text-stroke: 1px var(--color-sf-rating-selected-hover-color);
|
|
213
213
|
}
|
|
214
214
|
.e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-selected:active .e-rating-icon, .e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-intermediate:active .e-rating-icon {
|
|
215
215
|
background: -webkit-gradient(linear, left top, right top, from(var(--color-sf-rating-selected-color)), to(transparent));
|
|
@@ -229,8 +229,8 @@
|
|
|
229
229
|
/* stylelint-enable property-no-vendor-prefix */
|
|
230
230
|
}
|
|
231
231
|
.e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
232
|
-
background: -webkit-gradient(linear, right top, left top, from(var(--color-sf-rating-selected-hover-color
|
|
233
|
-
background: linear-gradient(to left, var(--color-sf-rating-selected-hover-color
|
|
232
|
+
background: -webkit-gradient(linear, right top, left top, from(var(--color-sf-rating-selected-hover-color)), to(transparent));
|
|
233
|
+
background: linear-gradient(to left, var(--color-sf-rating-selected-hover-color) var(--rating-value), transparent var(--rating-value));
|
|
234
234
|
background-clip: text;
|
|
235
235
|
/* stylelint-disable property-no-vendor-prefix */
|
|
236
236
|
-webkit-background-clip: text;
|
package/tslint.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rules": {
|
|
3
|
+
"chai-vague-errors": true,
|
|
4
|
+
"use-isnan": true,
|
|
5
|
+
"missing-jsdoc": true,
|
|
6
|
+
"missing-optional-annotation": true,
|
|
7
|
+
"no-backbone-get-set-outside-model": true,
|
|
8
|
+
"no-banned-terms": true,
|
|
9
|
+
"no-constant-condition": true,
|
|
10
|
+
"no-control-regex": true,
|
|
11
|
+
"no-cookies": true,
|
|
12
|
+
"no-delete-expression": true,
|
|
13
|
+
"no-document-write": true,
|
|
14
|
+
"no-document-domain": true,
|
|
15
|
+
"no-disable-auto-sanitization": true,
|
|
16
|
+
"no-duplicate-case": true,
|
|
17
|
+
"no-duplicate-parameter-names": true,
|
|
18
|
+
"no-empty-interfaces": true,
|
|
19
|
+
"no-exec-script": true,
|
|
20
|
+
"no-function-constructor-with-string-args": true,
|
|
21
|
+
"no-function-expression": true,
|
|
22
|
+
"no-invalid-regexp": true,
|
|
23
|
+
"no-for-in": true,
|
|
24
|
+
"member-access": true,
|
|
25
|
+
"no-multiline-string": true,
|
|
26
|
+
"no-multiple-var-decl": true,
|
|
27
|
+
"no-unnecessary-bind": true,
|
|
28
|
+
"no-unnecessary-semicolons": true,
|
|
29
|
+
"no-octal-literal": true,
|
|
30
|
+
"no-regex-spaces": true,
|
|
31
|
+
"no-sparse-arrays": true,
|
|
32
|
+
"no-string-based-set-immediate": true,
|
|
33
|
+
"no-string-based-set-interval": true,
|
|
34
|
+
"no-unused-imports": true,
|
|
35
|
+
"no-with-statement": true,
|
|
36
|
+
"prefer-array-literal": true,
|
|
37
|
+
"promise-must-complete": false,
|
|
38
|
+
"react-no-dangerous-html": true,
|
|
39
|
+
"use-named-parameter": true,
|
|
40
|
+
"valid-typeof": true,
|
|
41
|
+
"max-func-body-length": [true, 100, {
|
|
42
|
+
"ignore-parameters-to-function-regex": "describe"
|
|
43
|
+
}],
|
|
44
|
+
"class-name": true,
|
|
45
|
+
"curly": true,
|
|
46
|
+
"eofline": false,
|
|
47
|
+
"forin": true,
|
|
48
|
+
"indent": [
|
|
49
|
+
true,
|
|
50
|
+
"spaces"
|
|
51
|
+
],
|
|
52
|
+
"label-position": true,
|
|
53
|
+
"max-line-length": [true, 140],
|
|
54
|
+
"no-arg": true,
|
|
55
|
+
"no-console": [true,
|
|
56
|
+
"debug",
|
|
57
|
+
"info",
|
|
58
|
+
"log",
|
|
59
|
+
"time",
|
|
60
|
+
"timeEnd",
|
|
61
|
+
"trace"
|
|
62
|
+
],
|
|
63
|
+
"no-construct": true,
|
|
64
|
+
"no-parameter-properties": true,
|
|
65
|
+
"no-debugger": true,
|
|
66
|
+
"no-duplicate-variable": true,
|
|
67
|
+
"no-empty": true,
|
|
68
|
+
"no-eval": true,
|
|
69
|
+
"no-string-literal": true,
|
|
70
|
+
"no-switch-case-fall-through": true,
|
|
71
|
+
"trailing-comma": true,
|
|
72
|
+
"no-trailing-whitespace": true,
|
|
73
|
+
"no-unused-expression": true,
|
|
74
|
+
"no-use-before-declare": false,
|
|
75
|
+
"no-var-requires": true,
|
|
76
|
+
"one-line": [true,
|
|
77
|
+
"check-open-brace",
|
|
78
|
+
"check-catch",
|
|
79
|
+
"check-else",
|
|
80
|
+
"check-whitespace"
|
|
81
|
+
],
|
|
82
|
+
"no-any": true,
|
|
83
|
+
"no-conditional-assignment": true,
|
|
84
|
+
"no-angle-bracket-type-assertion": false,
|
|
85
|
+
"align": [true, "parameters", "arguments", "statements"],
|
|
86
|
+
"no-empty-line-after-opening-brace": false,
|
|
87
|
+
"typedef-whitespace": [false],
|
|
88
|
+
"ban": true,
|
|
89
|
+
"quotemark": [true, "single"],
|
|
90
|
+
"semicolon": true,
|
|
91
|
+
"triple-equals": [true, "allow-null-check"],
|
|
92
|
+
"typedef": [true,
|
|
93
|
+
"call-signature",
|
|
94
|
+
"parameter",
|
|
95
|
+
"property-declaration",
|
|
96
|
+
"variable-declaration",
|
|
97
|
+
"arrow-parameter",
|
|
98
|
+
"member-variable-declaration"],
|
|
99
|
+
"variable-name": true,
|
|
100
|
+
"whitespace": [true,
|
|
101
|
+
"check-branch",
|
|
102
|
+
"check-decl",
|
|
103
|
+
"check-operator",
|
|
104
|
+
"check-separator",
|
|
105
|
+
"check-type"
|
|
106
|
+
],
|
|
107
|
+
"jsdoc-format": true,
|
|
108
|
+
"no-var-keyword": true,
|
|
109
|
+
"radix": true
|
|
110
|
+
}
|
|
111
|
+
}
|