@syncfusion/ej2-inputs 20.4.40 → 20.4.48

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.
Files changed (82) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/README.md +1 -1
  3. package/dist/ej2-inputs.min.js +2 -2
  4. package/dist/ej2-inputs.umd.min.js +2 -2
  5. package/dist/ej2-inputs.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-inputs.es2015.js +60 -39
  7. package/dist/es6/ej2-inputs.es2015.js.map +1 -1
  8. package/dist/es6/ej2-inputs.es5.js +61 -39
  9. package/dist/es6/ej2-inputs.es5.js.map +1 -1
  10. package/dist/global/ej2-inputs.min.js +2 -2
  11. package/dist/global/ej2-inputs.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +9 -9
  14. package/src/common/signature-base.js +2 -0
  15. package/src/rating/rating-model.d.ts +57 -41
  16. package/src/rating/rating.d.ts +88 -56
  17. package/src/rating/rating.js +52 -32
  18. package/src/uploader/uploader.js +8 -8
  19. package/styles/bootstrap-dark.css +5 -0
  20. package/styles/bootstrap.css +5 -0
  21. package/styles/bootstrap4.css +5 -0
  22. package/styles/bootstrap5-dark.css +5 -0
  23. package/styles/bootstrap5.css +5 -0
  24. package/styles/color-picker/_layout.scss +14 -0
  25. package/styles/color-picker/fluent-dark.css +6 -0
  26. package/styles/color-picker/fluent.css +6 -0
  27. package/styles/fabric-dark.css +5 -0
  28. package/styles/fabric.css +5 -0
  29. package/styles/fluent-dark.css +12 -1
  30. package/styles/fluent.css +12 -1
  31. package/styles/highcontrast-light.css +5 -0
  32. package/styles/highcontrast.css +5 -0
  33. package/styles/input/_layout.scss +1 -0
  34. package/styles/input/bootstrap-dark.css +1 -0
  35. package/styles/input/bootstrap.css +1 -0
  36. package/styles/input/bootstrap4.css +1 -0
  37. package/styles/input/bootstrap5-dark.css +1 -0
  38. package/styles/input/bootstrap5.css +1 -0
  39. package/styles/input/fabric-dark.css +1 -0
  40. package/styles/input/fabric.css +1 -0
  41. package/styles/input/fluent-dark.css +1 -0
  42. package/styles/input/fluent.css +1 -0
  43. package/styles/input/highcontrast-light.css +1 -0
  44. package/styles/input/highcontrast.css +1 -0
  45. package/styles/input/material-dark.css +1 -0
  46. package/styles/input/material.css +1 -0
  47. package/styles/input/tailwind-dark.css +1 -0
  48. package/styles/input/tailwind.css +1 -0
  49. package/styles/material-dark.css +5 -0
  50. package/styles/material.css +5 -0
  51. package/styles/rating/_bootstrap-dark-definition.scss +1 -0
  52. package/styles/rating/_bootstrap-definition.scss +1 -0
  53. package/styles/rating/_bootstrap4-definition.scss +1 -0
  54. package/styles/rating/_bootstrap5-definition.scss +1 -0
  55. package/styles/rating/_fabric-dark-definition.scss +1 -0
  56. package/styles/rating/_fabric-definition.scss +1 -0
  57. package/styles/rating/_fluent-definition.scss +1 -0
  58. package/styles/rating/_fusionnew-definition.scss +1 -0
  59. package/styles/rating/_highcontrast-definition.scss +1 -0
  60. package/styles/rating/_highcontrast-light-definition.scss +1 -0
  61. package/styles/rating/_layout.scss +6 -1
  62. package/styles/rating/_material-dark-definition.scss +1 -0
  63. package/styles/rating/_material-definition.scss +1 -0
  64. package/styles/rating/_material3-definition.scss +1 -0
  65. package/styles/rating/_tailwind-definition.scss +1 -0
  66. package/styles/rating/bootstrap-dark.css +4 -0
  67. package/styles/rating/bootstrap.css +4 -0
  68. package/styles/rating/bootstrap4.css +4 -0
  69. package/styles/rating/bootstrap5-dark.css +4 -0
  70. package/styles/rating/bootstrap5.css +4 -0
  71. package/styles/rating/fabric-dark.css +4 -0
  72. package/styles/rating/fabric.css +4 -0
  73. package/styles/rating/fluent-dark.css +5 -1
  74. package/styles/rating/fluent.css +5 -1
  75. package/styles/rating/highcontrast-light.css +4 -0
  76. package/styles/rating/highcontrast.css +4 -0
  77. package/styles/rating/material-dark.css +4 -0
  78. package/styles/rating/material.css +4 -0
  79. package/styles/rating/tailwind-dark.css +4 -0
  80. package/styles/rating/tailwind.css +4 -0
  81. package/styles/tailwind-dark.css +5 -0
  82. package/styles/tailwind.css +5 -0
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
17
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { addClass, Event, attributes, compile, Component, EventHandler, getUniqueID, select } from '@syncfusion/ej2-base';
20
+ import { addClass, Event, attributes, compile, Component, EventHandler, getUniqueID, select, Browser } from '@syncfusion/ej2-base';
21
21
  import { isNullOrUndefined, KeyboardEvents, NotifyPropertyChanges, Property, remove, removeClass } from '@syncfusion/ej2-base';
22
22
  import { Tooltip } from '@syncfusion/ej2-popups';
23
23
  var ICONCSS = 'e-rating-icon e-icons e-star-filled';
@@ -37,49 +37,64 @@ var EMPTYTEMPLATE = 'e-rating-empty';
37
37
  var SELECTEDVALUE = 'e-selected-value';
38
38
  var RATINGVALUE = '--rating-value';
39
39
  /**
40
- * Defines the position of the label in the rating.
40
+ * Defines where to position the label in rating
41
41
  */
42
42
  export var LabelPosition;
43
43
  (function (LabelPosition) {
44
44
  /**
45
- * Shows the label above the rating.
45
+ * The label is positioned at the top center of the rating component.
46
46
  */
47
47
  LabelPosition["Top"] = "Top";
48
48
  /**
49
- * Shows the label below the rating.
49
+ * The label is positioned at the bottom center of the rating component.
50
50
  */
51
51
  LabelPosition["Bottom"] = "Bottom";
52
52
  /**
53
- * Shows the label to the left of rating.
53
+ * The label is positioned at the left side of the rating component.
54
54
  */
55
55
  LabelPosition["Left"] = "Left";
56
56
  /**
57
- * Shows the label to the right of rating.
57
+ * The label is positioned at the right side of the rating component.
58
58
  */
59
59
  LabelPosition["Right"] = "Right";
60
60
  })(LabelPosition || (LabelPosition = {}));
61
61
  /**
62
- * Defines the minimum increase in the value in Rating Control.
62
+ * Defines the precision type of the rating.
63
+ * It is used to component the granularity of the rating, allowing users to provide ratings with varying levels of precision.
63
64
  */
64
65
  export var PrecisionType;
65
66
  (function (PrecisionType) {
66
67
  /**
67
- * Process the value as whole numbers.
68
+ * The rating is increased in whole number increments.
68
69
  */
69
70
  PrecisionType["Full"] = "Full";
70
71
  /**
71
- * Process the value in terms of 0.5 (half).
72
+ * The rating is increased in increments of 0.5 (half).
72
73
  */
73
74
  PrecisionType["Half"] = "Half";
74
75
  /**
75
- * Process the value in terms of 0.25 (quarter).
76
+ * The rating is increased in increments of 0.25 (quarter).
76
77
  */
77
78
  PrecisionType["Quarter"] = "Quarter";
78
79
  /**
79
- * Process the value in terms of 0.1.
80
+ * The rating is increased in increments of 0.1.
80
81
  */
81
82
  PrecisionType["Exact"] = "Exact";
82
83
  })(PrecisionType || (PrecisionType = {}));
84
+ /**
85
+ * The Rating component allows the user to rate something by clicking on a set of symbols on a numeric scale.
86
+ * This allows users to provide feedback or ratings for products, services, or content.
87
+ *
88
+ * ```html
89
+ * <input id="rating">
90
+ * ```
91
+ * ```typescript
92
+ * <script>
93
+ * let ratingObj: Rating = new Rating();
94
+ * ratingObj.appendTo('#rating');
95
+ * </script>
96
+ * ```
97
+ */
83
98
  var Rating = /** @class */ (function (_super) {
84
99
  __extends(Rating, _super);
85
100
  /**
@@ -158,7 +173,7 @@ var Rating = /** @class */ (function (_super) {
158
173
  attributes(this.ratingItemList, { 'aria-label': 'rating', 'role': 'slider' });
159
174
  this.wrapper.appendChild(this.ratingItemList);
160
175
  EventHandler.add(this.ratingItemList, 'touchmove', function (e) { return _this.touchMoveHandler(e); }, this);
161
- EventHandler.add(this.ratingItemList, 'touchend', this.touchEndHandler, this);
176
+ EventHandler.add(this.ratingItemList, Browser.touchEndEvent, this.touchEndHandler, this);
162
177
  };
163
178
  Rating.prototype.touchMoveHandler = function (e) {
164
179
  var rect = this.ratingItemList.getBoundingClientRect();
@@ -244,9 +259,9 @@ var Rating = /** @class */ (function (_super) {
244
259
  if (this.showTooltip) {
245
260
  this.tooltipObj = new Tooltip({
246
261
  target: '.e-rating-item-container', windowCollision: true,
247
- opensOn: 'Custom', cssClass: 'e-rating-tooltip'
262
+ opensOn: 'Custom', cssClass: this.cssClass ? ('e-rating-tooltip ' + this.cssClass) : 'e-rating-tooltip'
248
263
  });
249
- this.tooltipObj.appendTo('#' + this.ratingItemList.id);
264
+ this.tooltipObj.appendTo(this.ratingItemList);
250
265
  }
251
266
  else {
252
267
  if (!isNullOrUndefined(this.tooltipObj)) {
@@ -275,14 +290,14 @@ var Rating = /** @class */ (function (_super) {
275
290
  currentValue = 0;
276
291
  }
277
292
  else {
278
- currentValue = (this.precision === PrecisionType.Full) ? Math.round(currentValue) :
293
+ currentValue = ((this.precision === PrecisionType.Full) || this.enableSingleSelection) ? Math.round(currentValue) :
279
294
  (this.precision === PrecisionType.Half) ? (Math.round(currentValue * 2) / 2) :
280
295
  (this.precision === PrecisionType.Quarter) ? (Math.round(currentValue * 4) / 4) : (Math.round(currentValue * 10) / 10);
281
296
  }
282
297
  return currentValue;
283
298
  };
284
299
  Rating.prototype.getRatingValue = function (value, i) {
285
- return (this.enableSingleSelection && this.precision === PrecisionType.Full) ? ((value === i + 1) ? 1 : 0) :
300
+ return (this.enableSingleSelection) ? (((value > i) && (value <= i + 1)) ? 1 : 0) :
286
301
  (value >= i + 1) ? 1 : ((value < i) ? 0 : (value - i));
287
302
  };
288
303
  Rating.prototype.updateItemValue = function () {
@@ -437,6 +452,12 @@ var Rating = /** @class */ (function (_super) {
437
452
  this.updateResetButton();
438
453
  }
439
454
  };
455
+ Rating.prototype.updateValueChange = function (e, val, isInteracted) {
456
+ if (isInteracted === void 0) { isInteracted = true; }
457
+ this.triggerChange(e, val, isInteracted);
458
+ this.updateItemValue();
459
+ this.updateLabel();
460
+ };
440
461
  Rating.prototype.triggerChange = function (e, val, isInteracted) {
441
462
  if (isInteracted === void 0) { isInteracted = true; }
442
463
  val = this.validateValue(val);
@@ -491,7 +512,7 @@ var Rating = /** @class */ (function (_super) {
491
512
  };
492
513
  Rating.prototype.calculateCurrentValue = function (index, args) {
493
514
  var currentValue = index;
494
- if (this.precision !== PrecisionType.Full) {
515
+ if (!(this.enableSingleSelection || (this.precision === PrecisionType.Full))) {
495
516
  currentValue = args.offsetX / this.itemElements[index - 1].clientWidth;
496
517
  currentValue = (this.enableRtl) ? (1 - currentValue) : currentValue;
497
518
  if (this.precision === PrecisionType.Quarter) {
@@ -514,9 +535,7 @@ var Rating = /** @class */ (function (_super) {
514
535
  };
515
536
  Rating.prototype.resetClicked = function (e, isInteracted) {
516
537
  if (isInteracted === void 0) { isInteracted = true; }
517
- this.triggerChange(e, this.min, isInteracted);
518
- this.updateItemValue();
519
- this.updateLabel();
538
+ this.updateValueChange(e, this.min, isInteracted);
520
539
  this.updateResetButton();
521
540
  };
522
541
  Rating.prototype.wireKeyboardEvent = function () {
@@ -556,12 +575,11 @@ var Rating = /** @class */ (function (_super) {
556
575
  };
557
576
  Rating.prototype.handleNavigation = function (e, isIncrease) {
558
577
  if ((!isIncrease && (this.value > this.min)) || (isIncrease && (this.value < this.itemsCount))) {
559
- var currentValue = (this.precision === PrecisionType.Full) ? 1 : (this.precision === PrecisionType.Half) ? 0.5 :
560
- (this.precision === PrecisionType.Quarter) ? 0.25 : Math.round(0.1 * 10) / 10;
578
+ var currentValue = (this.precision === PrecisionType.Full || this.enableSingleSelection) ? 1 :
579
+ (this.precision === PrecisionType.Half) ? 0.5 : (this.precision === PrecisionType.Quarter) ? 0.25 :
580
+ Math.round(0.1 * 10) / 10;
561
581
  currentValue = isIncrease ? this.value + currentValue : this.value - currentValue;
562
- this.triggerChange(e, (currentValue));
563
- this.updateItemValue();
564
- this.updateLabel();
582
+ this.updateValueChange(e, (currentValue));
565
583
  if (this.allowReset) {
566
584
  this.updateResetButton();
567
585
  }
@@ -641,9 +659,7 @@ var Rating = /** @class */ (function (_super) {
641
659
  var prop = _a[_i];
642
660
  switch (prop) {
643
661
  case 'value':
644
- this.triggerChange(null, (this.value > this.min) ? this.value : this.min, false);
645
- this.updateItemValue();
646
- this.updateLabel();
662
+ this.updateValueChange(null, (this.value > this.min) ? this.value : this.min, false);
647
663
  break;
648
664
  case 'min':
649
665
  this.updateMinValue();
@@ -675,6 +691,9 @@ var Rating = /** @class */ (function (_super) {
675
691
  if (newProp.cssClass) {
676
692
  addClass([this.wrapper], newProp.cssClass.split(' '));
677
693
  }
694
+ if (this.tooltipObj) {
695
+ this.tooltipObj.setProperties({ cssClass: this.cssClass ? ('e-rating-tooltip ' + this.cssClass) : 'e-rating-tooltip' });
696
+ }
678
697
  break;
679
698
  case 'labelPosition':
680
699
  this.updateLabelPosition();
@@ -687,7 +706,8 @@ var Rating = /** @class */ (function (_super) {
687
706
  this.updateLabel();
688
707
  break;
689
708
  case 'enableSingleSelection':
690
- this.updateItemValue();
709
+ //To validate the value against single selection and update the items, label + trigger change event if value changed
710
+ this.updateValueChange(null, this.currentValue, false);
691
711
  break;
692
712
  case 'enableAnimation':
693
713
  this.wrapper.classList[this.enableAnimation ? 'add' : 'remove'](ANIMATION);
@@ -718,12 +738,12 @@ var Rating = /** @class */ (function (_super) {
718
738
  __decorate([
719
739
  Property(false)
720
740
  ], Rating.prototype, "disabled", void 0);
721
- __decorate([
722
- Property(true)
723
- ], Rating.prototype, "enableAnimation", void 0);
724
741
  __decorate([
725
742
  Property('')
726
743
  ], Rating.prototype, "emptyTemplate", void 0);
744
+ __decorate([
745
+ Property(true)
746
+ ], Rating.prototype, "enableAnimation", void 0);
727
747
  __decorate([
728
748
  Property(false)
729
749
  ], Rating.prototype, "enableSingleSelection", void 0);
@@ -718,13 +718,6 @@ var Uploader = /** @class */ (function (_super) {
718
718
  }
719
719
  };
720
720
  Uploader.prototype.setCSSClass = function (oldCSSClass) {
721
- var updatedCssClassValue = this.cssClass;
722
- if (!isNullOrUndefined(this.cssClass) && this.cssClass !== '') {
723
- updatedCssClassValue = (this.cssClass.replace(/\s+/g, ' ')).trim();
724
- }
725
- if (!isNullOrUndefined(this.cssClass) && updatedCssClassValue !== '') {
726
- addClass([this.uploadWrapper], updatedCssClassValue.split(updatedCssClassValue.indexOf(',') > -1 ? ',' : ' '));
727
- }
728
721
  var updatedOldCssClass = oldCSSClass;
729
722
  if (!isNullOrUndefined(oldCSSClass)) {
730
723
  updatedOldCssClass = (oldCSSClass.replace(/\s+/g, ' ')).trim();
@@ -732,6 +725,13 @@ var Uploader = /** @class */ (function (_super) {
732
725
  if (!isNullOrUndefined(oldCSSClass) && updatedOldCssClass !== '') {
733
726
  removeClass([this.uploadWrapper], updatedOldCssClass.split(' '));
734
727
  }
728
+ var updatedCssClassValue = this.cssClass;
729
+ if (!isNullOrUndefined(this.cssClass) && this.cssClass !== '') {
730
+ updatedCssClassValue = (this.cssClass.replace(/\s+/g, ' ')).trim();
731
+ }
732
+ if (!isNullOrUndefined(this.cssClass) && updatedCssClassValue !== '') {
733
+ addClass([this.uploadWrapper], updatedCssClassValue.split(updatedCssClassValue.indexOf(',') > -1 ? ',' : ' '));
734
+ }
735
735
  };
736
736
  Uploader.prototype.wireEvents = function () {
737
737
  EventHandler.add(this.browseButton, 'click', this.browseButtonClick, this);
@@ -3324,7 +3324,7 @@ var Uploader = /** @class */ (function (_super) {
3324
3324
  var files = this.getFiles(fileData);
3325
3325
  for (var i = 0; i < files.length; i++) {
3326
3326
  if (files[i].statusCode === '5' || files[i].statusCode === '0') {
3327
- if (this.asyncSettings.chunkSize > 0) {
3327
+ if (this.asyncSettings.chunkSize > 0 && this.getCurrentMetaData(files[i], null)) {
3328
3328
  this.retryUpload(this.getCurrentMetaData(files[i], null), fromcanceledStage);
3329
3329
  }
3330
3330
  else {
@@ -2124,6 +2124,7 @@ textarea.e-input,
2124
2124
 
2125
2125
  input.e-input.e-rtl,
2126
2126
  .e-input-group.e-rtl input.e-input,
2127
+ .e-input-group.e-control-container.e-rtl input.e-control,
2127
2128
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2128
2129
  .e-float-input.e-rtl input,
2129
2130
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -6830,6 +6831,10 @@ body.e-colorpicker-overflow {
6830
6831
  .e-rating-container .e-reset.e-disabled {
6831
6832
  cursor: default;
6832
6833
  }
6834
+ .e-rating-container .e-reset:focus-visible {
6835
+ outline: 1px solid;
6836
+ border-radius: 2px;
6837
+ }
6833
6838
  .e-rating-container .e-rating-label {
6834
6839
  font-size: 12px;
6835
6840
  line-height: 18px;
@@ -2124,6 +2124,7 @@ textarea.e-input,
2124
2124
 
2125
2125
  input.e-input.e-rtl,
2126
2126
  .e-input-group.e-rtl input.e-input,
2127
+ .e-input-group.e-control-container.e-rtl input.e-control,
2127
2128
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2128
2129
  .e-float-input.e-rtl input,
2129
2130
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -6809,6 +6810,10 @@ body.e-colorpicker-overflow {
6809
6810
  .e-rating-container .e-reset.e-disabled {
6810
6811
  cursor: default;
6811
6812
  }
6813
+ .e-rating-container .e-reset:focus-visible {
6814
+ outline: 1px solid;
6815
+ border-radius: 2px;
6816
+ }
6812
6817
  .e-rating-container .e-rating-label {
6813
6818
  font-size: 12px;
6814
6819
  line-height: 18px;
@@ -2124,6 +2124,7 @@ textarea.e-input,
2124
2124
 
2125
2125
  input.e-input.e-rtl,
2126
2126
  .e-input-group.e-rtl input.e-input,
2127
+ .e-input-group.e-control-container.e-rtl input.e-control,
2127
2128
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2128
2129
  .e-float-input.e-rtl input,
2129
2130
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -6963,6 +6964,10 @@ body.e-colorpicker-overflow {
6963
6964
  .e-rating-container .e-reset.e-disabled {
6964
6965
  cursor: default;
6965
6966
  }
6967
+ .e-rating-container .e-reset:focus-visible {
6968
+ outline: 1px solid;
6969
+ border-radius: 4px;
6970
+ }
6966
6971
  .e-rating-container .e-rating-label {
6967
6972
  font-size: 12px;
6968
6973
  line-height: 18px;
@@ -2213,6 +2213,7 @@ textarea.e-input,
2213
2213
 
2214
2214
  input.e-input.e-rtl,
2215
2215
  .e-input-group.e-rtl input.e-input,
2216
+ .e-input-group.e-control-container.e-rtl input.e-control,
2216
2217
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2217
2218
  .e-float-input.e-rtl input,
2218
2219
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -7113,6 +7114,10 @@ body.e-colorpicker-overflow {
7113
7114
  .e-rating-container .e-reset.e-disabled {
7114
7115
  cursor: default;
7115
7116
  }
7117
+ .e-rating-container .e-reset:focus-visible {
7118
+ outline: 1px solid;
7119
+ border-radius: 4px;
7120
+ }
7116
7121
  .e-rating-container .e-rating-label {
7117
7122
  font-size: 12px;
7118
7123
  line-height: 18px;
@@ -2213,6 +2213,7 @@ textarea.e-input,
2213
2213
 
2214
2214
  input.e-input.e-rtl,
2215
2215
  .e-input-group.e-rtl input.e-input,
2216
+ .e-input-group.e-control-container.e-rtl input.e-control,
2216
2217
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2217
2218
  .e-float-input.e-rtl input,
2218
2219
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -7113,6 +7114,10 @@ body.e-colorpicker-overflow {
7113
7114
  .e-rating-container .e-reset.e-disabled {
7114
7115
  cursor: default;
7115
7116
  }
7117
+ .e-rating-container .e-reset:focus-visible {
7118
+ outline: 1px solid;
7119
+ border-radius: 4px;
7120
+ }
7116
7121
  .e-rating-container .e-rating-label {
7117
7122
  font-size: 12px;
7118
7123
  line-height: 18px;
@@ -744,12 +744,26 @@
744
744
  & .e-slider-track {
745
745
  background: linear-gradient(to left, $cpicker-gradient-0 0, $cpicker-gradient-16 16%, $cpicker-gradient-33 33%, $cpicker-gradient-50 50%, $cpicker-gradient-67 67%, $cpicker-gradient-84 84%, $cpicker-gradient-100 100%);
746
746
  }
747
+
748
+ & .e-handle {
749
+ @if $skin-name == 'FluentUI' {
750
+ top: $cpicker-slider-handle-top !important; /* stylelint-disable-line declaration-no-important */
751
+ }
752
+ }
747
753
  }
748
754
 
749
755
  & .e-preview-container {
750
756
  margin-left: 0;
751
757
  margin-right: $cpicker-preview-margin-left;
752
758
  }
759
+
760
+ & .e-opacity-slider {
761
+ & .e-handle-first {
762
+ @if $skin-name == 'FluentUI' {
763
+ top: $cpicker-slider-handle-top !important; /* stylelint-disable-line declaration-no-important */
764
+ }
765
+ }
766
+ }
753
767
  }
754
768
 
755
769
  & .e-selected-value {
@@ -470,10 +470,16 @@ body.e-colorpicker-overflow {
470
470
  .e-rtl .e-container .e-slider-preview .e-hue-slider .e-slider-track {
471
471
  background: linear-gradient(to left, #f00 0, #ff0 16%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 84%, #ff0004 100%);
472
472
  }
473
+ .e-rtl .e-container .e-slider-preview .e-hue-slider .e-handle {
474
+ top: calc(66% - 10px) !important; /* stylelint-disable-line declaration-no-important */
475
+ }
473
476
  .e-rtl .e-container .e-slider-preview .e-preview-container {
474
477
  margin-left: 0;
475
478
  margin-right: 4.205%;
476
479
  }
480
+ .e-rtl .e-container .e-slider-preview .e-opacity-slider .e-handle-first {
481
+ top: calc(66% - 10px) !important; /* stylelint-disable-line declaration-no-important */
482
+ }
477
483
  .e-rtl .e-container .e-selected-value .e-float-input {
478
484
  margin-left: 2.75%;
479
485
  margin-right: 0;
@@ -470,10 +470,16 @@ body.e-colorpicker-overflow {
470
470
  .e-rtl .e-container .e-slider-preview .e-hue-slider .e-slider-track {
471
471
  background: linear-gradient(to left, #f00 0, #ff0 16%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 84%, #ff0004 100%);
472
472
  }
473
+ .e-rtl .e-container .e-slider-preview .e-hue-slider .e-handle {
474
+ top: calc(66% - 10px) !important; /* stylelint-disable-line declaration-no-important */
475
+ }
473
476
  .e-rtl .e-container .e-slider-preview .e-preview-container {
474
477
  margin-left: 0;
475
478
  margin-right: 4.205%;
476
479
  }
480
+ .e-rtl .e-container .e-slider-preview .e-opacity-slider .e-handle-first {
481
+ top: calc(66% - 10px) !important; /* stylelint-disable-line declaration-no-important */
482
+ }
477
483
  .e-rtl .e-container .e-selected-value .e-float-input {
478
484
  margin-left: 2.75%;
479
485
  margin-right: 0;
@@ -2081,6 +2081,7 @@ textarea.e-input,
2081
2081
 
2082
2082
  input.e-input.e-rtl,
2083
2083
  .e-input-group.e-rtl input.e-input,
2084
+ .e-input-group.e-control-container.e-rtl input.e-control,
2084
2085
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2085
2086
  .e-float-input.e-rtl input,
2086
2087
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -6759,6 +6760,10 @@ body.e-colorpicker-overflow {
6759
6760
  .e-rating-container .e-reset.e-disabled {
6760
6761
  cursor: default;
6761
6762
  }
6763
+ .e-rating-container .e-reset:focus-visible {
6764
+ outline: 1px solid;
6765
+ border-radius: 0;
6766
+ }
6762
6767
  .e-rating-container .e-rating-label {
6763
6768
  font-size: 12px;
6764
6769
  line-height: 18px;
package/styles/fabric.css CHANGED
@@ -2081,6 +2081,7 @@ textarea.e-input,
2081
2081
 
2082
2082
  input.e-input.e-rtl,
2083
2083
  .e-input-group.e-rtl input.e-input,
2084
+ .e-input-group.e-control-container.e-rtl input.e-control,
2084
2085
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2085
2086
  .e-float-input.e-rtl input,
2086
2087
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -6759,6 +6760,10 @@ body.e-colorpicker-overflow {
6759
6760
  .e-rating-container .e-reset.e-disabled {
6760
6761
  cursor: default;
6761
6762
  }
6763
+ .e-rating-container .e-reset:focus-visible {
6764
+ outline: 1px solid;
6765
+ border-radius: 0;
6766
+ }
6762
6767
  .e-rating-container .e-rating-label {
6763
6768
  font-size: 12px;
6764
6769
  line-height: 18px;
@@ -2049,6 +2049,7 @@ textarea.e-input,
2049
2049
 
2050
2050
  input.e-input.e-rtl,
2051
2051
  .e-input-group.e-rtl input.e-input,
2052
+ .e-input-group.e-control-container.e-rtl input.e-control,
2052
2053
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2053
2054
  .e-float-input.e-rtl input,
2054
2055
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -6557,10 +6558,16 @@ body.e-colorpicker-overflow {
6557
6558
  .e-rtl .e-container .e-slider-preview .e-hue-slider .e-slider-track {
6558
6559
  background: linear-gradient(to left, #f00 0, #ff0 16%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 84%, #ff0004 100%);
6559
6560
  }
6561
+ .e-rtl .e-container .e-slider-preview .e-hue-slider .e-handle {
6562
+ top: calc(66% - 10px) !important; /* stylelint-disable-line declaration-no-important */
6563
+ }
6560
6564
  .e-rtl .e-container .e-slider-preview .e-preview-container {
6561
6565
  margin-left: 0;
6562
6566
  margin-right: 4.205%;
6563
6567
  }
6568
+ .e-rtl .e-container .e-slider-preview .e-opacity-slider .e-handle-first {
6569
+ top: calc(66% - 10px) !important; /* stylelint-disable-line declaration-no-important */
6570
+ }
6564
6571
  .e-rtl .e-container .e-selected-value .e-float-input {
6565
6572
  margin-left: 2.75%;
6566
6573
  margin-right: 0;
@@ -6888,6 +6895,10 @@ body.e-colorpicker-overflow {
6888
6895
  .e-rating-container .e-reset.e-disabled {
6889
6896
  cursor: default;
6890
6897
  }
6898
+ .e-rating-container .e-reset:focus-visible {
6899
+ outline: 1px solid;
6900
+ border-radius: 0;
6901
+ }
6891
6902
  .e-rating-container .e-rating-label {
6892
6903
  font-size: 12px;
6893
6904
  line-height: 18px;
@@ -6926,7 +6937,7 @@ body.e-colorpicker-overflow {
6926
6937
  -ms-flex-pack: center;
6927
6938
  justify-content: center;
6928
6939
  left: 50%;
6929
- top: -8px;
6940
+ top: -12.5px;
6930
6941
  transform: translate(-50%, -100%);
6931
6942
  }
6932
6943
  .e-rating-container .e-tooltip-wrap.e-rating-tooltip.e-show-tooltip {
package/styles/fluent.css CHANGED
@@ -2049,6 +2049,7 @@ textarea.e-input,
2049
2049
 
2050
2050
  input.e-input.e-rtl,
2051
2051
  .e-input-group.e-rtl input.e-input,
2052
+ .e-input-group.e-control-container.e-rtl input.e-control,
2052
2053
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2053
2054
  .e-float-input.e-rtl input,
2054
2055
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -6557,10 +6558,16 @@ body.e-colorpicker-overflow {
6557
6558
  .e-rtl .e-container .e-slider-preview .e-hue-slider .e-slider-track {
6558
6559
  background: linear-gradient(to left, #f00 0, #ff0 16%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 84%, #ff0004 100%);
6559
6560
  }
6561
+ .e-rtl .e-container .e-slider-preview .e-hue-slider .e-handle {
6562
+ top: calc(66% - 10px) !important; /* stylelint-disable-line declaration-no-important */
6563
+ }
6560
6564
  .e-rtl .e-container .e-slider-preview .e-preview-container {
6561
6565
  margin-left: 0;
6562
6566
  margin-right: 4.205%;
6563
6567
  }
6568
+ .e-rtl .e-container .e-slider-preview .e-opacity-slider .e-handle-first {
6569
+ top: calc(66% - 10px) !important; /* stylelint-disable-line declaration-no-important */
6570
+ }
6564
6571
  .e-rtl .e-container .e-selected-value .e-float-input {
6565
6572
  margin-left: 2.75%;
6566
6573
  margin-right: 0;
@@ -6888,6 +6895,10 @@ body.e-colorpicker-overflow {
6888
6895
  .e-rating-container .e-reset.e-disabled {
6889
6896
  cursor: default;
6890
6897
  }
6898
+ .e-rating-container .e-reset:focus-visible {
6899
+ outline: 1px solid;
6900
+ border-radius: 0;
6901
+ }
6891
6902
  .e-rating-container .e-rating-label {
6892
6903
  font-size: 12px;
6893
6904
  line-height: 18px;
@@ -6926,7 +6937,7 @@ body.e-colorpicker-overflow {
6926
6937
  -ms-flex-pack: center;
6927
6938
  justify-content: center;
6928
6939
  left: 50%;
6929
- top: -8px;
6940
+ top: -12.5px;
6930
6941
  transform: translate(-50%, -100%);
6931
6942
  }
6932
6943
  .e-rating-container .e-tooltip-wrap.e-rating-tooltip.e-show-tooltip {
@@ -2197,6 +2197,7 @@ textarea.e-input,
2197
2197
 
2198
2198
  input.e-input.e-rtl,
2199
2199
  .e-input-group.e-rtl input.e-input,
2200
+ .e-input-group.e-control-container.e-rtl input.e-control,
2200
2201
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2201
2202
  .e-float-input.e-rtl input,
2202
2203
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -7075,6 +7076,10 @@ body.e-colorpicker-overflow {
7075
7076
  .e-rating-container .e-reset.e-disabled {
7076
7077
  cursor: default;
7077
7078
  }
7079
+ .e-rating-container .e-reset:focus-visible {
7080
+ outline: 1px solid;
7081
+ border-radius: 0;
7082
+ }
7078
7083
  .e-rating-container .e-rating-label {
7079
7084
  font-size: 12px;
7080
7085
  line-height: 18px;
@@ -2197,6 +2197,7 @@ textarea.e-input,
2197
2197
 
2198
2198
  input.e-input.e-rtl,
2199
2199
  .e-input-group.e-rtl input.e-input,
2200
+ .e-input-group.e-control-container.e-rtl input.e-control,
2200
2201
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2201
2202
  .e-float-input.e-rtl input,
2202
2203
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -7075,6 +7076,10 @@ body.e-colorpicker-overflow {
7075
7076
  .e-rating-container .e-reset.e-disabled {
7076
7077
  cursor: default;
7077
7078
  }
7079
+ .e-rating-container .e-reset:focus-visible {
7080
+ outline: 1px solid;
7081
+ border-radius: 0;
7082
+ }
7078
7083
  .e-rating-container .e-rating-label {
7079
7084
  font-size: 12px;
7080
7085
  line-height: 18px;
@@ -3036,6 +3036,7 @@
3036
3036
 
3037
3037
  input.e-input.e-rtl#{$css},
3038
3038
  .e-input-group.e-rtl input.e-input,
3039
+ .e-input-group.e-control-container.e-rtl input.e-control,
3039
3040
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
3040
3041
  .e-float-input.e-rtl input,
3041
3042
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -2114,6 +2114,7 @@ textarea.e-input,
2114
2114
 
2115
2115
  input.e-input.e-rtl,
2116
2116
  .e-input-group.e-rtl input.e-input,
2117
+ .e-input-group.e-control-container.e-rtl input.e-control,
2117
2118
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2118
2119
  .e-float-input.e-rtl input,
2119
2120
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -2114,6 +2114,7 @@ textarea.e-input,
2114
2114
 
2115
2115
  input.e-input.e-rtl,
2116
2116
  .e-input-group.e-rtl input.e-input,
2117
+ .e-input-group.e-control-container.e-rtl input.e-control,
2117
2118
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2118
2119
  .e-float-input.e-rtl input,
2119
2120
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -2114,6 +2114,7 @@ textarea.e-input,
2114
2114
 
2115
2115
  input.e-input.e-rtl,
2116
2116
  .e-input-group.e-rtl input.e-input,
2117
+ .e-input-group.e-control-container.e-rtl input.e-control,
2117
2118
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2118
2119
  .e-float-input.e-rtl input,
2119
2120
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -2203,6 +2203,7 @@ textarea.e-input,
2203
2203
 
2204
2204
  input.e-input.e-rtl,
2205
2205
  .e-input-group.e-rtl input.e-input,
2206
+ .e-input-group.e-control-container.e-rtl input.e-control,
2206
2207
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2207
2208
  .e-float-input.e-rtl input,
2208
2209
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -2203,6 +2203,7 @@ textarea.e-input,
2203
2203
 
2204
2204
  input.e-input.e-rtl,
2205
2205
  .e-input-group.e-rtl input.e-input,
2206
+ .e-input-group.e-control-container.e-rtl input.e-control,
2206
2207
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2207
2208
  .e-float-input.e-rtl input,
2208
2209
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -2071,6 +2071,7 @@ textarea.e-input,
2071
2071
 
2072
2072
  input.e-input.e-rtl,
2073
2073
  .e-input-group.e-rtl input.e-input,
2074
+ .e-input-group.e-control-container.e-rtl input.e-control,
2074
2075
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2075
2076
  .e-float-input.e-rtl input,
2076
2077
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -2071,6 +2071,7 @@ textarea.e-input,
2071
2071
 
2072
2072
  input.e-input.e-rtl,
2073
2073
  .e-input-group.e-rtl input.e-input,
2074
+ .e-input-group.e-control-container.e-rtl input.e-control,
2074
2075
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2075
2076
  .e-float-input.e-rtl input,
2076
2077
  .e-float-input.e-control-wrapper.e-rtl input,
@@ -2039,6 +2039,7 @@ textarea.e-input,
2039
2039
 
2040
2040
  input.e-input.e-rtl,
2041
2041
  .e-input-group.e-rtl input.e-input,
2042
+ .e-input-group.e-control-container.e-rtl input.e-control,
2042
2043
  .e-input-group.e-control-wrapper.e-rtl input.e-input,
2043
2044
  .e-float-input.e-rtl input,
2044
2045
  .e-float-input.e-control-wrapper.e-rtl input,