@syncfusion/ej2-inputs 20.4.42 → 20.4.51

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 (86) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/GitLeaksReport.json +42 -0
  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 +30 -19
  7. package/dist/es6/ej2-inputs.es2015.js.map +1 -1
  8. package/dist/es6/ej2-inputs.es5.js +31 -19
  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/gitleaks-ci/gitleaks +0 -0
  14. package/gitleaks-ci.tar.gz +0 -0
  15. package/package.json +9 -9
  16. package/src/common/signature-base.js +2 -0
  17. package/src/input/input.d.ts +1 -1
  18. package/src/input/input.js +2 -2
  19. package/src/rating/rating-model.d.ts +13 -13
  20. package/src/rating/rating.d.ts +1 -0
  21. package/src/rating/rating.js +21 -16
  22. package/src/uploader/uploader.js +6 -1
  23. package/styles/bootstrap-dark.css +5 -0
  24. package/styles/bootstrap.css +5 -0
  25. package/styles/bootstrap4.css +5 -0
  26. package/styles/bootstrap5-dark.css +5 -0
  27. package/styles/bootstrap5.css +5 -0
  28. package/styles/color-picker/_layout.scss +14 -0
  29. package/styles/color-picker/fluent-dark.css +6 -0
  30. package/styles/color-picker/fluent.css +6 -0
  31. package/styles/fabric-dark.css +5 -0
  32. package/styles/fabric.css +5 -0
  33. package/styles/fluent-dark.css +12 -1
  34. package/styles/fluent.css +12 -1
  35. package/styles/highcontrast-light.css +5 -0
  36. package/styles/highcontrast.css +5 -0
  37. package/styles/input/_layout.scss +1 -0
  38. package/styles/input/bootstrap-dark.css +1 -0
  39. package/styles/input/bootstrap.css +1 -0
  40. package/styles/input/bootstrap4.css +1 -0
  41. package/styles/input/bootstrap5-dark.css +1 -0
  42. package/styles/input/bootstrap5.css +1 -0
  43. package/styles/input/fabric-dark.css +1 -0
  44. package/styles/input/fabric.css +1 -0
  45. package/styles/input/fluent-dark.css +1 -0
  46. package/styles/input/fluent.css +1 -0
  47. package/styles/input/highcontrast-light.css +1 -0
  48. package/styles/input/highcontrast.css +1 -0
  49. package/styles/input/material-dark.css +1 -0
  50. package/styles/input/material.css +1 -0
  51. package/styles/input/tailwind-dark.css +1 -0
  52. package/styles/input/tailwind.css +1 -0
  53. package/styles/material-dark.css +5 -0
  54. package/styles/material.css +5 -0
  55. package/styles/rating/_bootstrap-dark-definition.scss +1 -0
  56. package/styles/rating/_bootstrap-definition.scss +1 -0
  57. package/styles/rating/_bootstrap4-definition.scss +1 -0
  58. package/styles/rating/_bootstrap5-definition.scss +1 -0
  59. package/styles/rating/_fabric-dark-definition.scss +1 -0
  60. package/styles/rating/_fabric-definition.scss +1 -0
  61. package/styles/rating/_fluent-definition.scss +1 -0
  62. package/styles/rating/_fusionnew-definition.scss +1 -0
  63. package/styles/rating/_highcontrast-definition.scss +1 -0
  64. package/styles/rating/_highcontrast-light-definition.scss +1 -0
  65. package/styles/rating/_layout.scss +6 -1
  66. package/styles/rating/_material-dark-definition.scss +1 -0
  67. package/styles/rating/_material-definition.scss +1 -0
  68. package/styles/rating/_material3-definition.scss +1 -0
  69. package/styles/rating/_tailwind-definition.scss +1 -0
  70. package/styles/rating/bootstrap-dark.css +4 -0
  71. package/styles/rating/bootstrap.css +4 -0
  72. package/styles/rating/bootstrap4.css +4 -0
  73. package/styles/rating/bootstrap5-dark.css +4 -0
  74. package/styles/rating/bootstrap5.css +4 -0
  75. package/styles/rating/fabric-dark.css +4 -0
  76. package/styles/rating/fabric.css +4 -0
  77. package/styles/rating/fluent-dark.css +5 -1
  78. package/styles/rating/fluent.css +5 -1
  79. package/styles/rating/highcontrast-light.css +4 -0
  80. package/styles/rating/highcontrast.css +4 -0
  81. package/styles/rating/material-dark.css +4 -0
  82. package/styles/rating/material.css +4 -0
  83. package/styles/rating/tailwind-dark.css +4 -0
  84. package/styles/rating/tailwind.css +4 -0
  85. package/styles/tailwind-dark.css +5 -0
  86. package/styles/tailwind.css +5 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.4.42
3
+ * version : 20.4.51
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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
Binary file
Binary file
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-inputs@*",
3
- "_id": "@syncfusion/ej2-inputs@20.4.40",
3
+ "_id": "@syncfusion/ej2-inputs@20.4.48",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-QNBevj26CfCNoO5BrbIa44IZ8wckJUfTbc1aIBQeH+IVTVQcrOcqpSaCWsYt1ocotu6Vw+cqNTBLxUS3taoRhA==",
5
+ "_integrity": "sha512-FRWDUwkYLJk9gnXe6Vl0eipQzrAurV1MkwWdl4gHD4SSwy0d04AaDO9ppCIUIAQieC+enqNzIlfgaKfhx0AHWw==",
6
6
  "_location": "/@syncfusion/ej2-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-schedule",
40
40
  "/@syncfusion/ej2-vue-inputs"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-20.4.40.tgz",
43
- "_shasum": "833c32633801cc7e55292c80ee511a1ada4cf67b",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-20.4.48.tgz",
43
+ "_shasum": "536c3e9c1ad5374b53999855749003f596899ba4",
44
44
  "_spec": "@syncfusion/ej2-inputs@*",
45
45
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
46
46
  "author": {
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "bundleDependencies": false,
50
50
  "dependencies": {
51
- "@syncfusion/ej2-base": "~20.4.42",
52
- "@syncfusion/ej2-buttons": "~20.4.42",
53
- "@syncfusion/ej2-popups": "~20.4.42",
54
- "@syncfusion/ej2-splitbuttons": "~20.4.42"
51
+ "@syncfusion/ej2-base": "~20.4.51",
52
+ "@syncfusion/ej2-buttons": "~20.4.50",
53
+ "@syncfusion/ej2-popups": "~20.4.51",
54
+ "@syncfusion/ej2-splitbuttons": "~20.4.50"
55
55
  },
56
56
  "deprecated": false,
57
57
  "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.",
@@ -119,7 +119,7 @@
119
119
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
120
120
  },
121
121
  "typings": "index.d.ts",
122
- "version": "20.4.42",
122
+ "version": "20.4.51",
123
123
  "sideEffects": false,
124
124
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
125
125
  }
@@ -663,6 +663,7 @@ var SignatureBase = /** @class */ (function (_super) {
663
663
  * @returns {void}.
664
664
  */
665
665
  SignatureBase.prototype.draw = function (text, fontFamily, fontSize) {
666
+ var args = { actionName: 'draw-text' };
666
667
  this.canvasContext.clearRect(0, 0, this.canvasContext.canvas.width, this.canvasContext.canvas.height);
667
668
  fontFamily = fontFamily || 'Arial';
668
669
  fontSize = fontSize || 30;
@@ -672,6 +673,7 @@ var SignatureBase = /** @class */ (function (_super) {
672
673
  this.canvasContext.fillText(text, this.element.width / 2, this.element.height / 2);
673
674
  this.updateSnapCollection();
674
675
  this.isSignatureEmpty = false;
676
+ this.trigger('change', args);
675
677
  };
676
678
  /**
677
679
  * To load the signature with the given base 64 string, height and width.
@@ -51,7 +51,7 @@ export declare namespace Input {
51
51
  * @param {any} element - Input element which is need to add.
52
52
  * @param {HTMLElement} container - The parent element which is need to get the label span to calculate width
53
53
  */
54
- function calculateWidth(element: any, container: HTMLElement): void;
54
+ function calculateWidth(element: any, container: HTMLElement, moduleName?: string): void;
55
55
  /**
56
56
  * Set the width to the wrapper of input element.
57
57
  * ```
@@ -430,8 +430,8 @@ export var Input;
430
430
  * @param {any} element - Input element which is need to add.
431
431
  * @param {HTMLElement} container - The parent element which is need to get the label span to calculate width
432
432
  */
433
- function calculateWidth(element, container) {
434
- var elementWidth = element.clientWidth - parseInt(getComputedStyle(element, null).getPropertyValue('padding-left'));
433
+ function calculateWidth(element, container, moduleName) {
434
+ var elementWidth = moduleName === 'multiselect' ? element : element.clientWidth - parseInt(getComputedStyle(element, null).getPropertyValue('padding-left'));
435
435
  if (!isNullOrUndefined(container.getElementsByClassName('e-float-text-content')[0])) {
436
436
  if (container.getElementsByClassName('e-float-text-content')[0].classList.contains('e-float-text-overflow')) {
437
437
  container.getElementsByClassName('e-float-text-content')[0].classList.remove('e-float-text-overflow');
@@ -18,7 +18,7 @@ export interface RatingModel extends ComponentModel{
18
18
  /**
19
19
  * Defines one or more CSS classes that can be used to customize the appearance of a rating component.
20
20
  * One or more CSS classes to customize the appearance of the rating component, such as by changing its colors, fonts, sizes, or other visual aspects.
21
- *
21
+ *
22
22
  * @default ''
23
23
  */
24
24
  cssClass?: string;
@@ -27,7 +27,7 @@ export interface RatingModel extends ComponentModel{
27
27
  * Defines whether a rating component is enabled or disabled.
28
28
  * A disabled rating component may have a different visual appearance than an enabled one.
29
29
  * When set to "true", the rating component will be disabled, and the user will not be able to interact with it.
30
- *
30
+ *
31
31
  * @default false
32
32
  */
33
33
  disabled?: boolean;
@@ -42,7 +42,7 @@ export interface RatingModel extends ComponentModel{
42
42
  /**
43
43
  * Defines whether to add animation (to provide visual feedback to the user) when an item in a rating component is hovered.
44
44
  * When set to "true", an animation will be added when the user hovers their cursor over an item in the rating component.
45
- *
45
+ *
46
46
  * @default true
47
47
  */
48
48
  enableAnimation?: boolean;
@@ -51,7 +51,7 @@ export interface RatingModel extends ComponentModel{
51
51
  * Defines whether to select all the items before the selected item should be in selected state in a rating component.
52
52
  * When set to "true", only the selected item will be in the selected state, and all other items will be un-selected.
53
53
  * When set to "false", all items before the selected one will be in the selected state.
54
- *
54
+ *
55
55
  * @default false
56
56
  */
57
57
  enableSingleSelection?: boolean;
@@ -74,7 +74,7 @@ export interface RatingModel extends ComponentModel{
74
74
 
75
75
  /**
76
76
  * Defines the position of the label in rating component.
77
- *
77
+ *
78
78
  * The possible values are:
79
79
  * * Top
80
80
  * * Bottom
@@ -97,16 +97,16 @@ export interface RatingModel extends ComponentModel{
97
97
  /**
98
98
  * Defines the value that specifies minimum rating that a user can select.
99
99
  * The value is set to 0, which means that the minimum possible rating is 0.
100
- *
100
+ *
101
101
  * @default 0.0
102
102
  * @aspType double
103
103
  */
104
104
  min?: number;
105
105
 
106
106
  /**
107
- * Defines the precision type of the rating which used to component the granularity of the rating,
107
+ * Defines the precision type of the rating which used to component the granularity of the rating,
108
108
  * allowing users to provide ratings with varying levels of precision.
109
- *
109
+ *
110
110
  * The possible values are:
111
111
  * * Full
112
112
  * * Half
@@ -130,7 +130,7 @@ export interface RatingModel extends ComponentModel{
130
130
  /**
131
131
  * Defines a value that specifies whether to display a label that shows the current value of a rating.
132
132
  * When set to "true", a label will be displayed that shows the current value of the rating; otherwise false.
133
- *
133
+ *
134
134
  * @default false
135
135
  */
136
136
  showLabel?: boolean;
@@ -138,14 +138,14 @@ export interface RatingModel extends ComponentModel{
138
138
  /**
139
139
  * Defines a value that defines whether to show tooltip for the items.
140
140
  * When set to "true", show tooltip for the items.
141
- *
141
+ *
142
142
  * @default true
143
143
  */
144
144
  showTooltip?: boolean;
145
145
 
146
146
  /**
147
147
  * Defines the template that used as tooltip content over default tooltip content of the rating.
148
- * The current value of rating passed as context to build the content.
148
+ * The current value of rating passed as context to build the content.
149
149
  *
150
150
  * @default ''
151
151
  */
@@ -154,7 +154,7 @@ export interface RatingModel extends ComponentModel{
154
154
  /**
155
155
  * Defines the current rating value which used to display and update the rating selected by the user.
156
156
  * Based on "PrecisionType", users can select ratings with varying levels of precision.
157
- * The "value" is a decimal value that ranges from the minimum value to the items count,
157
+ * The "value" is a decimal value that ranges from the minimum value to the items count,
158
158
  * as specified by the "min" and "itemsCount" properties of the rating.
159
159
  *
160
160
  * @default 0.0
@@ -164,7 +164,7 @@ export interface RatingModel extends ComponentModel{
164
164
 
165
165
  /**
166
166
  * Defines a value that indicates whether the rating component is visible or hidden.
167
- * When set to "true", if the rating component is visible.
167
+ * When set to "true", if the rating component is visible.
168
168
  *
169
169
  * @default true
170
170
  */
@@ -325,6 +325,7 @@ export declare class Rating extends Component<HTMLElement> implements INotifyPro
325
325
  private clearLabelPosition;
326
326
  private wireItemsEvents;
327
327
  private clickHandler;
328
+ private updateValueChange;
328
329
  private triggerChange;
329
330
  private mouseMoveHandler;
330
331
  private openRatingTooltip;
@@ -259,7 +259,7 @@ var Rating = /** @class */ (function (_super) {
259
259
  if (this.showTooltip) {
260
260
  this.tooltipObj = new Tooltip({
261
261
  target: '.e-rating-item-container', windowCollision: true,
262
- opensOn: 'Custom', cssClass: 'e-rating-tooltip'
262
+ opensOn: 'Custom', cssClass: this.cssClass ? ('e-rating-tooltip ' + this.cssClass) : 'e-rating-tooltip'
263
263
  });
264
264
  this.tooltipObj.appendTo(this.ratingItemList);
265
265
  }
@@ -290,14 +290,14 @@ var Rating = /** @class */ (function (_super) {
290
290
  currentValue = 0;
291
291
  }
292
292
  else {
293
- currentValue = (this.precision === PrecisionType.Full) ? Math.round(currentValue) :
293
+ currentValue = ((this.precision === PrecisionType.Full) || this.enableSingleSelection) ? Math.round(currentValue) :
294
294
  (this.precision === PrecisionType.Half) ? (Math.round(currentValue * 2) / 2) :
295
295
  (this.precision === PrecisionType.Quarter) ? (Math.round(currentValue * 4) / 4) : (Math.round(currentValue * 10) / 10);
296
296
  }
297
297
  return currentValue;
298
298
  };
299
299
  Rating.prototype.getRatingValue = function (value, i) {
300
- return (this.enableSingleSelection && this.precision === PrecisionType.Full) ? ((value === i + 1) ? 1 : 0) :
300
+ return (this.enableSingleSelection) ? (((value > i) && (value <= i + 1)) ? 1 : 0) :
301
301
  (value >= i + 1) ? 1 : ((value < i) ? 0 : (value - i));
302
302
  };
303
303
  Rating.prototype.updateItemValue = function () {
@@ -452,6 +452,12 @@ var Rating = /** @class */ (function (_super) {
452
452
  this.updateResetButton();
453
453
  }
454
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
+ };
455
461
  Rating.prototype.triggerChange = function (e, val, isInteracted) {
456
462
  if (isInteracted === void 0) { isInteracted = true; }
457
463
  val = this.validateValue(val);
@@ -506,7 +512,7 @@ var Rating = /** @class */ (function (_super) {
506
512
  };
507
513
  Rating.prototype.calculateCurrentValue = function (index, args) {
508
514
  var currentValue = index;
509
- if (this.precision !== PrecisionType.Full) {
515
+ if (!(this.enableSingleSelection || (this.precision === PrecisionType.Full))) {
510
516
  currentValue = args.offsetX / this.itemElements[index - 1].clientWidth;
511
517
  currentValue = (this.enableRtl) ? (1 - currentValue) : currentValue;
512
518
  if (this.precision === PrecisionType.Quarter) {
@@ -529,9 +535,7 @@ var Rating = /** @class */ (function (_super) {
529
535
  };
530
536
  Rating.prototype.resetClicked = function (e, isInteracted) {
531
537
  if (isInteracted === void 0) { isInteracted = true; }
532
- this.triggerChange(e, this.min, isInteracted);
533
- this.updateItemValue();
534
- this.updateLabel();
538
+ this.updateValueChange(e, this.min, isInteracted);
535
539
  this.updateResetButton();
536
540
  };
537
541
  Rating.prototype.wireKeyboardEvent = function () {
@@ -571,12 +575,11 @@ var Rating = /** @class */ (function (_super) {
571
575
  };
572
576
  Rating.prototype.handleNavigation = function (e, isIncrease) {
573
577
  if ((!isIncrease && (this.value > this.min)) || (isIncrease && (this.value < this.itemsCount))) {
574
- var currentValue = (this.precision === PrecisionType.Full) ? 1 : (this.precision === PrecisionType.Half) ? 0.5 :
575
- (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;
576
581
  currentValue = isIncrease ? this.value + currentValue : this.value - currentValue;
577
- this.triggerChange(e, (currentValue));
578
- this.updateItemValue();
579
- this.updateLabel();
582
+ this.updateValueChange(e, (currentValue));
580
583
  if (this.allowReset) {
581
584
  this.updateResetButton();
582
585
  }
@@ -656,9 +659,7 @@ var Rating = /** @class */ (function (_super) {
656
659
  var prop = _a[_i];
657
660
  switch (prop) {
658
661
  case 'value':
659
- this.triggerChange(null, (this.value > this.min) ? this.value : this.min, false);
660
- this.updateItemValue();
661
- this.updateLabel();
662
+ this.updateValueChange(null, (this.value > this.min) ? this.value : this.min, false);
662
663
  break;
663
664
  case 'min':
664
665
  this.updateMinValue();
@@ -690,6 +691,9 @@ var Rating = /** @class */ (function (_super) {
690
691
  if (newProp.cssClass) {
691
692
  addClass([this.wrapper], newProp.cssClass.split(' '));
692
693
  }
694
+ if (this.tooltipObj) {
695
+ this.tooltipObj.setProperties({ cssClass: this.cssClass ? ('e-rating-tooltip ' + this.cssClass) : 'e-rating-tooltip' });
696
+ }
693
697
  break;
694
698
  case 'labelPosition':
695
699
  this.updateLabelPosition();
@@ -702,7 +706,8 @@ var Rating = /** @class */ (function (_super) {
702
706
  this.updateLabel();
703
707
  break;
704
708
  case 'enableSingleSelection':
705
- 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);
706
711
  break;
707
712
  case 'enableAnimation':
708
713
  this.wrapper.classList[this.enableAnimation ? 'add' : 'remove'](ANIMATION);
@@ -337,7 +337,12 @@ var Uploader = /** @class */ (function (_super) {
337
337
  var inputElement = this.createElement('input', { attrs: { type: 'file' } });
338
338
  var index = 0;
339
339
  for (index; index < this.element.attributes.length; index++) {
340
- inputElement.setAttribute(this.element.attributes[index].nodeName, this.element.attributes[index].nodeValue);
340
+ if (this.element.attributes[index].nodeName !== 'id') {
341
+ inputElement.setAttribute(this.element.attributes[index].nodeName, this.element.attributes[index].nodeValue);
342
+ }
343
+ else if (this.element.attributes[index].nodeName === 'id') {
344
+ inputElement.setAttribute(this.element.attributes[index].nodeName, getUniqueID('uploader'));
345
+ }
341
346
  inputElement.innerHTML = this.element.innerHTML;
342
347
  }
343
348
  if (!inputElement.hasAttribute('name')) {
@@ -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;