@syncfusion/ej2-dropdowns 23.2.7 → 24.1.43

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 (66) hide show
  1. package/CHANGELOG.md +26 -118
  2. package/dist/ej2-dropdowns.min.js +2 -2
  3. package/dist/ej2-dropdowns.umd.min.js +2 -2
  4. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-dropdowns.es2015.js +690 -117
  6. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  7. package/dist/es6/ej2-dropdowns.es5.js +694 -120
  8. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  9. package/dist/global/ej2-dropdowns.min.js +2 -2
  10. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +13 -13
  13. package/src/auto-complete/auto-complete.js +10 -5
  14. package/src/combo-box/combo-box.js +74 -2
  15. package/src/common/incremental-search.d.ts +1 -1
  16. package/src/common/incremental-search.js +50 -7
  17. package/src/common/interface.d.ts +2 -0
  18. package/src/common/virtual-scroll.js +22 -1
  19. package/src/drop-down-base/drop-down-base.d.ts +23 -3
  20. package/src/drop-down-base/drop-down-base.js +153 -40
  21. package/src/drop-down-list/drop-down-list.d.ts +10 -3
  22. package/src/drop-down-list/drop-down-list.js +332 -41
  23. package/src/drop-down-tree/drop-down-tree.js +24 -20
  24. package/src/list-box/list-box.d.ts +1 -0
  25. package/src/list-box/list-box.js +12 -1
  26. package/src/mention/mention.js +10 -1
  27. package/src/multi-select/checkbox-selection.js +4 -1
  28. package/src/multi-select/multi-select.js +4 -2
  29. package/styles/bootstrap-dark.css +0 -3
  30. package/styles/bootstrap.css +0 -3
  31. package/styles/bootstrap4.css +0 -3
  32. package/styles/bootstrap5-dark.css +0 -3
  33. package/styles/bootstrap5.css +0 -3
  34. package/styles/drop-down-base/_layout.scss +0 -3
  35. package/styles/drop-down-base/bootstrap-dark.css +0 -3
  36. package/styles/drop-down-base/bootstrap.css +0 -3
  37. package/styles/drop-down-base/bootstrap4.css +0 -3
  38. package/styles/drop-down-base/bootstrap5-dark.css +0 -3
  39. package/styles/drop-down-base/bootstrap5.css +0 -3
  40. package/styles/drop-down-base/fabric-dark.css +0 -3
  41. package/styles/drop-down-base/fabric.css +0 -3
  42. package/styles/drop-down-base/fluent-dark.css +0 -3
  43. package/styles/drop-down-base/fluent.css +0 -3
  44. package/styles/drop-down-base/highcontrast-light.css +0 -3
  45. package/styles/drop-down-base/highcontrast.css +0 -3
  46. package/styles/drop-down-base/material-dark.css +0 -3
  47. package/styles/drop-down-base/material.css +0 -3
  48. package/styles/drop-down-base/material3-dark.css +0 -3
  49. package/styles/drop-down-base/material3.css +0 -3
  50. package/styles/drop-down-base/tailwind-dark.css +0 -3
  51. package/styles/drop-down-base/tailwind.css +0 -3
  52. package/styles/drop-down-tree/_layout.scss +6 -0
  53. package/styles/drop-down-tree/fluent-dark.css +2 -0
  54. package/styles/drop-down-tree/fluent.css +2 -0
  55. package/styles/fabric-dark.css +0 -3
  56. package/styles/fabric.css +0 -3
  57. package/styles/fluent-dark.css +2 -3
  58. package/styles/fluent.css +2 -3
  59. package/styles/highcontrast-light.css +0 -3
  60. package/styles/highcontrast.css +0 -3
  61. package/styles/material-dark.css +0 -3
  62. package/styles/material.css +0 -3
  63. package/styles/material3-dark.css +0 -3
  64. package/styles/material3.css +0 -3
  65. package/styles/tailwind-dark.css +0 -3
  66. package/styles/tailwind.css +0 -3
@@ -253,14 +253,17 @@ var DropDownTree = /** @class */ (function (_super) {
253
253
  DropDownTree.prototype.render = function () {
254
254
  var isTree = select('#' + this.element.id + '_tree', document);
255
255
  if (isTree) {
256
- var popupDiv = select('#' + this.element.id + '_popup', document);
256
+ var popupDiv = select('#' + this.element.id + '_options', document);
257
257
  detach(popupDiv ? popupDiv : isTree.parentElement);
258
258
  }
259
259
  this.ensureAutoCheck();
260
260
  if (this.element.tagName === 'INPUT') {
261
261
  this.inputEle = this.element;
262
262
  if (isNOU(this.inputEle.getAttribute('role'))) {
263
- this.inputEle.setAttribute('role', 'textbox');
263
+ this.inputEle.setAttribute('aria-expanded', 'false');
264
+ this.inputEle.setAttribute('role', 'combobox');
265
+ this.inputEle.setAttribute('aria-haspopup', 'tree');
266
+ this.inputEle.setAttribute('aria-controls', this.element.id + "_options");
264
267
  }
265
268
  if (isNOU(this.inputEle.getAttribute('type'))) {
266
269
  this.inputEle.setAttribute('type', 'text');
@@ -428,8 +431,12 @@ var DropDownTree = /** @class */ (function (_super) {
428
431
  }
429
432
  _this.treeObj.fields = _this.getTreeFields(fields);
430
433
  _this.treeObj.dataBind();
431
- if (_this.hasTemplate && _this.portals) {
432
- _this.portals = [].concat(_this.treeObj.portals);
434
+ if (_this.hasTemplate && _this.portals && _this.treeObj.portals) {
435
+ for (var i = 0; i < _this.treeObj.portals.length; i++) {
436
+ if (_this.portals.indexOf(_this.treeObj.portals[i]) == -1) {
437
+ _this.portals.push(_this.treeObj.portals[i]);
438
+ }
439
+ }
433
440
  if (_this.isReact) {
434
441
  _this.renderReactTemplates();
435
442
  }
@@ -889,16 +896,7 @@ var DropDownTree = /** @class */ (function (_super) {
889
896
  }
890
897
  };
891
898
  DropDownTree.prototype.getAriaAttributes = function () {
892
- var disable = this.enabled ? 'false' : 'true';
893
- return {
894
- 'aria-disabled': disable,
895
- 'aria-owns': this.element.id + '_options',
896
- 'role': 'listbox',
897
- 'aria-haspopup': 'true',
898
- 'aria-expanded': 'false',
899
- 'aria-activedescendant': 'null',
900
- 'aria-labelledby': this.hiddenElement.id
901
- };
899
+ return {};
902
900
  };
903
901
  DropDownTree.prototype.updateOverFlowView = function () {
904
902
  this.overFlowWrapper.classList.remove(TOTAL_COUNT_WRAPPER);
@@ -1249,7 +1247,7 @@ var DropDownTree = /** @class */ (function (_super) {
1249
1247
  }
1250
1248
  }
1251
1249
  else {
1252
- this.inputWrapper.setAttribute(htmlAttr, this.htmlAttributes["" + htmlAttr]);
1250
+ this.inputEle.setAttribute(htmlAttr, this.htmlAttributes["" + htmlAttr]);
1253
1251
  }
1254
1252
  }
1255
1253
  }
@@ -1503,8 +1501,10 @@ var DropDownTree = /** @class */ (function (_super) {
1503
1501
  addClass([_this.inputWrapper], [ICONANIMATION]);
1504
1502
  if (_this.isFirstRender) {
1505
1503
  _this.popupEle = _this.createElement('div', {
1506
- id: _this.element.id + '_popup', className: POPUP_CLASS + ' ' + (_this.cssClass != null ? _this.cssClass : '')
1504
+ id: _this.element.id + '_options', className: POPUP_CLASS + ' ' + (_this.cssClass != null ? _this.cssClass : '')
1507
1505
  });
1506
+ _this.popupEle.setAttribute('role', 'region');
1507
+ _this.popupEle.setAttribute('aria-label', _this.element.id);
1508
1508
  document.body.appendChild(_this.popupEle);
1509
1509
  _this.createPopup(_this.popupEle);
1510
1510
  }
@@ -1540,7 +1540,7 @@ var DropDownTree = /** @class */ (function (_super) {
1540
1540
  }
1541
1541
  }
1542
1542
  if (!isCancelled) {
1543
- attributes(_this.inputWrapper, { 'aria-expanded': 'true' });
1543
+ attributes(_this.inputEle, { 'aria-expanded': 'true' });
1544
1544
  _this.popupObj.show(null, (_this.zIndex === 1000) ? _this.inputEle : null);
1545
1545
  removeClass([_this.popupEle], DDTHIDEICON);
1546
1546
  _this.updatePopupHeight();
@@ -1992,8 +1992,12 @@ var DropDownTree = /** @class */ (function (_super) {
1992
1992
  }
1993
1993
  };
1994
1994
  DropDownTree.prototype.onNodeExpanded = function (args) {
1995
- if (this.hasTemplate && this.portals) {
1996
- this.portals = [].concat(this.treeObj.portals);
1995
+ if (this.hasTemplate && this.portals && this.treeObj.portals) {
1996
+ for (var i = 0; i < this.treeObj.portals.length; i++) {
1997
+ if (this.portals.indexOf(this.treeObj.portals[i]) == -1) {
1998
+ this.portals.push(this.treeObj.portals[i]);
1999
+ }
2000
+ }
1997
2001
  /* eslint-enable */
1998
2002
  this.renderReactTemplates();
1999
2003
  }
@@ -3027,7 +3031,7 @@ var DropDownTree = /** @class */ (function (_super) {
3027
3031
  if (this.popupEle) {
3028
3032
  addClass([this.popupEle], DDTHIDEICON);
3029
3033
  }
3030
- attributes(this.inputWrapper, { 'aria-expanded': 'false' });
3034
+ attributes(this.inputEle, { 'aria-expanded': 'false' });
3031
3035
  if (this.popupObj && this.isPopupOpen) {
3032
3036
  this.popupObj.hide();
3033
3037
  if (this.inputFocus) {
@@ -134,6 +134,7 @@ export declare class ListBox extends DropDownBase {
134
134
  private dragValue;
135
135
  private customDraggedItem;
136
136
  private timer;
137
+ private inputFormName;
137
138
  /**
138
139
  * Sets the CSS classes to root element of this component, which helps to customize the
139
140
  * complete styles.
@@ -129,6 +129,7 @@ var ListBox = /** @class */ (function (_super) {
129
129
  this.initLoad = true;
130
130
  this.isCustomFiltering = false;
131
131
  this.initialSelectedOptions = this.value;
132
+ this.inputFormName = this.element.getAttribute('name');
132
133
  _super.prototype.render.call(this);
133
134
  this.setEnabled();
134
135
  this.renderComplete();
@@ -137,6 +138,12 @@ var ListBox = /** @class */ (function (_super) {
137
138
  var hiddenSelect = this.createElement('select', { className: 'e-hidden-select', attrs: { 'multiple': '' } });
138
139
  hiddenSelect.style.visibility = 'hidden';
139
140
  this.list.classList.add('e-listbox-wrapper');
141
+ this.list.querySelector('.e-list-parent').setAttribute('role', 'presentation');
142
+ var groupHdrs = this.list.querySelectorAll('.e-list-group-item');
143
+ for (var i = 0; i < groupHdrs.length; i++) {
144
+ groupHdrs[i].removeAttribute('tabindex');
145
+ groupHdrs[i].setAttribute('role', 'option');
146
+ }
140
147
  if (this.itemTemplate) {
141
148
  this.list.classList.add('e-list-template');
142
149
  }
@@ -271,6 +278,9 @@ var ListBox = /** @class */ (function (_super) {
271
278
  });
272
279
  };
273
280
  ListBox.prototype.validationAttribute = function (input, hiddenSelect) {
281
+ if (this.inputFormName) {
282
+ input.setAttribute('name', this.inputFormName);
283
+ }
274
284
  _super.prototype.validationAttribute.call(this, input, hiddenSelect);
275
285
  hiddenSelect.required = input.required;
276
286
  input.required = false;
@@ -1201,7 +1211,8 @@ var ListBox = /** @class */ (function (_super) {
1201
1211
  'autocomplete': 'off',
1202
1212
  'autocorrect': 'off',
1203
1213
  'autocapitalize': 'off',
1204
- 'spellcheck': 'false'
1214
+ 'spellcheck': 'false',
1215
+ 'role': 'textbox'
1205
1216
  });
1206
1217
  if (this.height.toString().indexOf('%') < 0) {
1207
1218
  addClass([this.list], 'e-filter-list');
@@ -149,6 +149,7 @@ var Mention = /** @class */ (function (_super) {
149
149
  }
150
150
  }
151
151
  this.inputElement.setAttribute('role', 'textbox');
152
+ this.inputElement.setAttribute('aria-label', 'mention');
152
153
  this.queryString = this.elementValue();
153
154
  this.wireEvent();
154
155
  };
@@ -313,12 +314,17 @@ var Mention = /** @class */ (function (_super) {
313
314
  }
314
315
  var currentRange = this.getTextRange();
315
316
  var lastWordRange = this.getLastLetter(currentRange);
317
+ var lastTwoLetters = this.mentionChar.toString() + this.mentionChar.toString();
316
318
  // eslint-disable-next-line security/detect-non-literal-regexp
317
319
  var Regex = new RegExp(this.mentionChar.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'g');
318
320
  var charRegex = new RegExp('[a-zA-Z]', 'g');
319
321
  if (e.key === 'Shift' || e.keyCode === 37 || e.keyCode === 39) {
320
322
  return;
321
323
  }
324
+ if (this.beforePopupOpen && this.isPopupOpen && lastWordRange == lastTwoLetters) {
325
+ this.hidePopup();
326
+ return;
327
+ }
322
328
  if ((!currentRange || !lastWordRange) || e.code === 'Enter' || e.keyCode === 27 ||
323
329
  (lastWordRange.match(Regex) && lastWordRange.match(Regex).length > 1) ||
324
330
  (this.isContentEditable(this.inputElement) && this.range.startContainer &&
@@ -459,7 +465,10 @@ var Mention = /** @class */ (function (_super) {
459
465
  var value = this.getFormattedValue(focusItem.getAttribute('data-value'));
460
466
  this.selectEventCallback(focusItem, this.getDataByValue(value), value, true);
461
467
  }
462
- if (this.beforePopupOpen) {
468
+ if (this.beforePopupOpen && this.isPopupOpen) {
469
+ if (!isNullOrUndefined(this.popupObj.element)) {
470
+ this.popupObj.element.remove();
471
+ }
463
472
  this.renderPopup();
464
473
  }
465
474
  }
@@ -282,7 +282,10 @@ var CheckBoxSelection = /** @class */ (function () {
282
282
  'role': 'combobox',
283
283
  'autocomplete': 'off',
284
284
  'autocapitalize': 'off',
285
- 'spellcheck': 'false'
285
+ 'spellcheck': 'false',
286
+ 'aria-label': 'multiselect',
287
+ 'aria-expanded': 'true',
288
+ 'aria-controls': args.popupElement.id
286
289
  });
287
290
  this.clearIconElement = this.filterInput.parentElement.querySelector('.' + clearIcon);
288
291
  if (!Browser.isDevice && this.clearIconElement) {
@@ -259,7 +259,7 @@ var MultiSelect = /** @class */ (function (_super) {
259
259
  if (_this.popupObj) {
260
260
  _this.popupObj.show(eventArgs.animation, (_this.zIndex === 1000) ? _this.element : null);
261
261
  }
262
- attributes(_this.inputElement, { 'aria-expanded': 'true', 'aria-owns': _this.inputElement.id + '_options' });
262
+ attributes(_this.inputElement, { 'aria-expanded': 'true', 'aria-owns': _this.element.id + '_popup', 'aria-controls': _this.element.id });
263
263
  _this.updateAriaActiveDescendant();
264
264
  if (_this.isFirstClick) {
265
265
  _this.loadTemplate();
@@ -340,7 +340,7 @@ var MultiSelect = /** @class */ (function (_super) {
340
340
  };
341
341
  MultiSelect.prototype.updateListARIA = function () {
342
342
  if (!isNullOrUndefined(this.ulElement)) {
343
- attributes(this.ulElement, { 'id': this.element.id + '_options', 'role': 'listbox', 'aria-hidden': 'false' });
343
+ attributes(this.ulElement, { 'id': this.element.id + '_options', 'role': 'listbox', 'aria-hidden': 'false', 'aria-label': 'list' });
344
344
  }
345
345
  var disableStatus = !isNullOrUndefined(this.inputElement) && (this.inputElement.disabled) ? true : false;
346
346
  if (!this.isPopupOpen() && !isNullOrUndefined(this.inputElement)) {
@@ -3937,6 +3937,8 @@ var MultiSelect = /** @class */ (function (_super) {
3937
3937
  this.setWidth(this.width);
3938
3938
  this.overAllWrapper.appendChild(this.componentWrapper);
3939
3939
  this.popupWrapper = this.createElement('div', { id: this.element.id + '_popup', className: POPUP_WRAPPER });
3940
+ this.popupWrapper.setAttribute('aria-label', this.element.id);
3941
+ this.popupWrapper.setAttribute('role', 'dialog');
3940
3942
  if (this.mode === 'Delimiter' || this.mode === 'CheckBox') {
3941
3943
  this.delimiterWrapper = this.createElement('span', { className: DELIMITER_WRAPPER, styles: 'display:none' });
3942
3944
  this.componentWrapper.appendChild(this.delimiterWrapper);
@@ -68,9 +68,6 @@
68
68
  position: absolute;
69
69
  top: 0;
70
70
  }
71
- .e-rtl .e-dropdownbase .e-fixed-head {
72
- left: 33px;
73
- }
74
71
 
75
72
  .e-dropdownbase.e-content {
76
73
  overflow: auto;
@@ -68,9 +68,6 @@
68
68
  position: absolute;
69
69
  top: 0;
70
70
  }
71
- .e-rtl .e-dropdownbase .e-fixed-head {
72
- left: 33px;
73
- }
74
71
 
75
72
  .e-dropdownbase.e-content {
76
73
  overflow: auto;
@@ -78,9 +78,6 @@
78
78
  position: absolute;
79
79
  top: 0;
80
80
  }
81
- .e-rtl .e-dropdownbase .e-fixed-head {
82
- left: 33px;
83
- }
84
81
 
85
82
  .e-dropdownbase.e-content {
86
83
  overflow: auto;
@@ -94,9 +94,6 @@
94
94
  position: absolute;
95
95
  top: 0;
96
96
  }
97
- .e-rtl .e-dropdownbase .e-fixed-head {
98
- left: 33px;
99
- }
100
97
 
101
98
  .e-dropdownbase.e-content {
102
99
  overflow: auto;
@@ -94,9 +94,6 @@
94
94
  position: absolute;
95
95
  top: 0;
96
96
  }
97
- .e-rtl .e-dropdownbase .e-fixed-head {
98
- left: 33px;
99
- }
100
97
 
101
98
  .e-dropdownbase.e-content {
102
99
  overflow: auto;
@@ -57,9 +57,6 @@
57
57
  #{if(&, '&', '*')} .e-fixed-head {
58
58
  position: absolute;
59
59
  top: 0;
60
- .e-rtl #{if(&, '&', '*')} {
61
- left: 33px;
62
- }
63
60
  }
64
61
  }
65
62
  }
@@ -68,9 +68,6 @@
68
68
  position: absolute;
69
69
  top: 0;
70
70
  }
71
- .e-rtl .e-dropdownbase .e-fixed-head {
72
- left: 33px;
73
- }
74
71
 
75
72
  .e-dropdownbase.e-content {
76
73
  overflow: auto;
@@ -68,9 +68,6 @@
68
68
  position: absolute;
69
69
  top: 0;
70
70
  }
71
- .e-rtl .e-dropdownbase .e-fixed-head {
72
- left: 33px;
73
- }
74
71
 
75
72
  .e-dropdownbase.e-content {
76
73
  overflow: auto;
@@ -78,9 +78,6 @@
78
78
  position: absolute;
79
79
  top: 0;
80
80
  }
81
- .e-rtl .e-dropdownbase .e-fixed-head {
82
- left: 33px;
83
- }
84
81
 
85
82
  .e-dropdownbase.e-content {
86
83
  overflow: auto;
@@ -94,9 +94,6 @@
94
94
  position: absolute;
95
95
  top: 0;
96
96
  }
97
- .e-rtl .e-dropdownbase .e-fixed-head {
98
- left: 33px;
99
- }
100
97
 
101
98
  .e-dropdownbase.e-content {
102
99
  overflow: auto;
@@ -94,9 +94,6 @@
94
94
  position: absolute;
95
95
  top: 0;
96
96
  }
97
- .e-rtl .e-dropdownbase .e-fixed-head {
98
- left: 33px;
99
- }
100
97
 
101
98
  .e-dropdownbase.e-content {
102
99
  overflow: auto;
@@ -68,9 +68,6 @@
68
68
  position: absolute;
69
69
  top: 0;
70
70
  }
71
- .e-rtl .e-dropdownbase .e-fixed-head {
72
- left: 33px;
73
- }
74
71
 
75
72
  .e-dropdownbase.e-content {
76
73
  overflow: auto;
@@ -68,9 +68,6 @@
68
68
  position: absolute;
69
69
  top: 0;
70
70
  }
71
- .e-rtl .e-dropdownbase .e-fixed-head {
72
- left: 33px;
73
- }
74
71
 
75
72
  .e-dropdownbase.e-content {
76
73
  overflow: auto;
@@ -94,9 +94,6 @@
94
94
  position: absolute;
95
95
  top: 0;
96
96
  }
97
- .e-rtl .e-dropdownbase .e-fixed-head {
98
- left: 33px;
99
- }
100
97
 
101
98
  .e-dropdownbase.e-content {
102
99
  overflow: auto;
@@ -94,9 +94,6 @@
94
94
  position: absolute;
95
95
  top: 0;
96
96
  }
97
- .e-rtl .e-dropdownbase .e-fixed-head {
98
- left: 33px;
99
- }
100
97
 
101
98
  .e-dropdownbase.e-content {
102
99
  overflow: auto;
@@ -82,9 +82,6 @@
82
82
  position: absolute;
83
83
  top: 0;
84
84
  }
85
- .e-rtl .e-dropdownbase .e-fixed-head {
86
- left: 33px;
87
- }
88
85
 
89
86
  .e-dropdownbase.e-content {
90
87
  overflow: auto;
@@ -82,9 +82,6 @@
82
82
  position: absolute;
83
83
  top: 0;
84
84
  }
85
- .e-rtl .e-dropdownbase .e-fixed-head {
86
- left: 33px;
87
- }
88
85
 
89
86
  .e-dropdownbase.e-content {
90
87
  overflow: auto;
@@ -67,9 +67,6 @@
67
67
  position: absolute;
68
68
  top: 0;
69
69
  }
70
- .e-rtl .e-dropdownbase .e-fixed-head {
71
- left: 33px;
72
- }
73
70
 
74
71
  .e-dropdownbase.e-content {
75
72
  overflow: auto;
@@ -67,9 +67,6 @@
67
67
  position: absolute;
68
68
  top: 0;
69
69
  }
70
- .e-rtl .e-dropdownbase .e-fixed-head {
71
- left: 33px;
72
- }
73
70
 
74
71
  .e-dropdownbase.e-content {
75
72
  overflow: auto;
@@ -122,9 +122,6 @@
122
122
  position: absolute;
123
123
  top: 0;
124
124
  }
125
- .e-rtl .e-dropdownbase .e-fixed-head {
126
- left: 33px;
127
- }
128
125
 
129
126
  .e-dropdownbase.e-content {
130
127
  overflow: auto;
@@ -178,9 +178,6 @@
178
178
  position: absolute;
179
179
  top: 0;
180
180
  }
181
- .e-rtl .e-dropdownbase .e-fixed-head {
182
- left: 33px;
183
- }
184
181
 
185
182
  .e-dropdownbase.e-content {
186
183
  overflow: auto;
@@ -102,9 +102,6 @@
102
102
  position: absolute;
103
103
  top: 0;
104
104
  }
105
- .e-rtl .e-dropdownbase .e-fixed-head {
106
- left: 33px;
107
- }
108
105
 
109
106
  .e-dropdownbase.e-content {
110
107
  overflow: auto;
@@ -102,9 +102,6 @@
102
102
  position: absolute;
103
103
  top: 0;
104
104
  }
105
- .e-rtl .e-dropdownbase .e-fixed-head {
106
- left: 33px;
107
- }
108
105
 
109
106
  .e-dropdownbase.e-content {
110
107
  overflow: auto;
@@ -43,6 +43,9 @@
43
43
  @if $ddt-skin-name == 'Material3' {
44
44
  margin: $ddt-dd-icon-margin;
45
45
  }
46
+ @if $ddt-skin-name == 'FluentUI' {
47
+ min-height: $ddt-dd-icon-width;
48
+ }
46
49
  }
47
50
 
48
51
  .e-input-group-icon.e-ddt-icon {
@@ -84,6 +87,9 @@
84
87
  @else {
85
88
  right: $ddt-dd-icon-width;
86
89
  }
90
+ @if $ddt-skin-name == 'FluentUI' {
91
+ bottom: 0;
92
+ }
87
93
  }
88
94
 
89
95
  .e-ddt-icon {
@@ -86,6 +86,7 @@
86
86
  }
87
87
  .e-ddt.e-input-group.e-control-wrapper .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper .e-clear-icon {
88
88
  box-sizing: content-box;
89
+ min-height: 30px;
89
90
  }
90
91
  .e-ddt.e-input-group.e-control-wrapper .e-input-group-icon.e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper .e-input-group-icon.e-ddt-icon {
91
92
  border: 0;
@@ -100,6 +101,7 @@
100
101
  }
101
102
  .e-ddt.e-input-group.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon {
102
103
  right: 30px;
104
+ bottom: 0;
103
105
  }
104
106
  .e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-ddt-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-ddt-icon {
105
107
  position: absolute;
@@ -86,6 +86,7 @@
86
86
  }
87
87
  .e-ddt.e-input-group.e-control-wrapper .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper .e-clear-icon {
88
88
  box-sizing: content-box;
89
+ min-height: 30px;
89
90
  }
90
91
  .e-ddt.e-input-group.e-control-wrapper .e-input-group-icon.e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper .e-input-group-icon.e-ddt-icon {
91
92
  border: 0;
@@ -100,6 +101,7 @@
100
101
  }
101
102
  .e-ddt.e-input-group.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon {
102
103
  right: 30px;
104
+ bottom: 0;
103
105
  }
104
106
  .e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-ddt-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-ddt-icon {
105
107
  position: absolute;
@@ -68,9 +68,6 @@
68
68
  position: absolute;
69
69
  top: 0;
70
70
  }
71
- .e-rtl .e-dropdownbase .e-fixed-head {
72
- left: 33px;
73
- }
74
71
 
75
72
  .e-dropdownbase.e-content {
76
73
  overflow: auto;
package/styles/fabric.css CHANGED
@@ -68,9 +68,6 @@
68
68
  position: absolute;
69
69
  top: 0;
70
70
  }
71
- .e-rtl .e-dropdownbase .e-fixed-head {
72
- left: 33px;
73
- }
74
71
 
75
72
  .e-dropdownbase.e-content {
76
73
  overflow: auto;
@@ -94,9 +94,6 @@
94
94
  position: absolute;
95
95
  top: 0;
96
96
  }
97
- .e-rtl .e-dropdownbase .e-fixed-head {
98
- left: 33px;
99
- }
100
97
 
101
98
  .e-dropdownbase.e-content {
102
99
  overflow: auto;
@@ -868,6 +865,7 @@ ejs-dropdownlist {
868
865
  }
869
866
  .e-ddt.e-input-group.e-control-wrapper .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper .e-clear-icon {
870
867
  box-sizing: content-box;
868
+ min-height: 30px;
871
869
  }
872
870
  .e-ddt.e-input-group.e-control-wrapper .e-input-group-icon.e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper .e-input-group-icon.e-ddt-icon {
873
871
  border: 0;
@@ -882,6 +880,7 @@ ejs-dropdownlist {
882
880
  }
883
881
  .e-ddt.e-input-group.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon {
884
882
  right: 30px;
883
+ bottom: 0;
885
884
  }
886
885
  .e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-ddt-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-ddt-icon {
887
886
  position: absolute;
package/styles/fluent.css CHANGED
@@ -94,9 +94,6 @@
94
94
  position: absolute;
95
95
  top: 0;
96
96
  }
97
- .e-rtl .e-dropdownbase .e-fixed-head {
98
- left: 33px;
99
- }
100
97
 
101
98
  .e-dropdownbase.e-content {
102
99
  overflow: auto;
@@ -868,6 +865,7 @@ ejs-dropdownlist {
868
865
  }
869
866
  .e-ddt.e-input-group.e-control-wrapper .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper .e-clear-icon {
870
867
  box-sizing: content-box;
868
+ min-height: 30px;
871
869
  }
872
870
  .e-ddt.e-input-group.e-control-wrapper .e-input-group-icon.e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper .e-input-group-icon.e-ddt-icon {
873
871
  border: 0;
@@ -882,6 +880,7 @@ ejs-dropdownlist {
882
880
  }
883
881
  .e-ddt.e-input-group.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip.e-show-dd-icon .e-clear-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text.e-show-dd-icon .e-clear-icon {
884
882
  right: 30px;
883
+ bottom: 0;
885
884
  }
886
885
  .e-ddt.e-input-group.e-control-wrapper.e-show-chip .e-ddt-icon, .e-ddt.e-input-group.e-control-wrapper.e-show-text .e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-chip .e-ddt-icon, .e-ddt.e-float-input.e-control-wrapper.e-show-text .e-ddt-icon {
887
886
  position: absolute;
@@ -82,9 +82,6 @@
82
82
  position: absolute;
83
83
  top: 0;
84
84
  }
85
- .e-rtl .e-dropdownbase .e-fixed-head {
86
- left: 33px;
87
- }
88
85
 
89
86
  .e-dropdownbase.e-content {
90
87
  overflow: auto;
@@ -82,9 +82,6 @@
82
82
  position: absolute;
83
83
  top: 0;
84
84
  }
85
- .e-rtl .e-dropdownbase .e-fixed-head {
86
- left: 33px;
87
- }
88
85
 
89
86
  .e-dropdownbase.e-content {
90
87
  overflow: auto;
@@ -67,9 +67,6 @@
67
67
  position: absolute;
68
68
  top: 0;
69
69
  }
70
- .e-rtl .e-dropdownbase .e-fixed-head {
71
- left: 33px;
72
- }
73
70
 
74
71
  .e-dropdownbase.e-content {
75
72
  overflow: auto;
@@ -67,9 +67,6 @@
67
67
  position: absolute;
68
68
  top: 0;
69
69
  }
70
- .e-rtl .e-dropdownbase .e-fixed-head {
71
- left: 33px;
72
- }
73
70
 
74
71
  .e-dropdownbase.e-content {
75
72
  overflow: auto;