@syncfusion/ej2-ribbon 23.1.38 → 23.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 (44) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/ej2-ribbon.umd.min.js +2 -2
  3. package/dist/ej2-ribbon.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-ribbon.es2015.js +67 -1
  5. package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
  6. package/dist/es6/ej2-ribbon.es5.js +67 -1
  7. package/dist/es6/ej2-ribbon.es5.js.map +1 -1
  8. package/dist/global/ej2-ribbon.min.js +2 -2
  9. package/dist/global/ej2-ribbon.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +12 -12
  12. package/src/ribbon/base/ribbon.js +2 -0
  13. package/src/ribbon/base/utils.d.ts +11 -0
  14. package/src/ribbon/base/utils.js +27 -1
  15. package/src/ribbon/items/ribbon-button.js +4 -1
  16. package/src/ribbon/items/ribbon-checkbox.js +1 -0
  17. package/src/ribbon/items/ribbon-colorpicker.js +4 -1
  18. package/src/ribbon/items/ribbon-combobox.js +1 -0
  19. package/src/ribbon/items/ribbon-dropdown.js +4 -1
  20. package/src/ribbon/items/ribbon-groupbutton.js +4 -1
  21. package/src/ribbon/items/ribbon-splitbutton.js +4 -1
  22. package/src/ribbon/models/ribbon-button-settings-model.d.ts +7 -0
  23. package/src/ribbon/models/ribbon-button-settings.d.ts +8 -0
  24. package/src/ribbon/models/ribbon-button-settings.js +3 -0
  25. package/src/ribbon/models/ribbon-checkbox-settings-model.d.ts +7 -0
  26. package/src/ribbon/models/ribbon-checkbox-settings.d.ts +8 -0
  27. package/src/ribbon/models/ribbon-checkbox-settings.js +3 -0
  28. package/src/ribbon/models/ribbon-colorpicker-settings-model.d.ts +7 -0
  29. package/src/ribbon/models/ribbon-colorpicker-settings.d.ts +8 -0
  30. package/src/ribbon/models/ribbon-colorpicker-settings.js +3 -0
  31. package/src/ribbon/models/ribbon-combobox-settings-model.d.ts +7 -0
  32. package/src/ribbon/models/ribbon-combobox-settings.d.ts +8 -0
  33. package/src/ribbon/models/ribbon-combobox-settings.js +3 -0
  34. package/src/ribbon/models/ribbon-dropdown-settings-model.d.ts +7 -0
  35. package/src/ribbon/models/ribbon-dropdown-settings.d.ts +8 -0
  36. package/src/ribbon/models/ribbon-dropdown-settings.js +3 -0
  37. package/src/ribbon/models/ribbon-group-button-item-model.d.ts +7 -0
  38. package/src/ribbon/models/ribbon-group-button-item.d.ts +8 -0
  39. package/src/ribbon/models/ribbon-group-button-item.js +3 -0
  40. package/src/ribbon/models/ribbon-splitbutton-settings-model.d.ts +7 -0
  41. package/src/ribbon/models/ribbon-splitbutton-settings.d.ts +8 -0
  42. package/src/ribbon/models/ribbon-splitbutton-settings.js +3 -0
  43. package/styles/bootstrap4.css +13 -2
  44. package/styles/ribbon/bootstrap4.css +13 -2
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.1.38
3
+ * version : 23.1.43
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-ribbon@*",
3
- "_id": "@syncfusion/ej2-ribbon@23.1.36",
3
+ "_id": "@syncfusion/ej2-ribbon@23.1.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-B1DZY4Vp7t4b8VuJyWI8481QkATx23V2c6f1CWIlwRgZMte0jnRf47jTvfhEpTlpN/bG4w/sc2o3qiXU8P8UYQ==",
5
+ "_integrity": "sha512-KTXgq4hhzbsAEO2xsUfoF0ZsRBK0Jnx3x9qpn8AcczeIqd87Gp09SiXnSSf+PGxOoAixSmkA9aLQzoyLmFMkoA==",
6
6
  "_location": "/@syncfusion/ej2-ribbon",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-ribbon",
24
24
  "/@syncfusion/ej2-vue-ribbon"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-ribbon/-/ej2-ribbon-23.1.36.tgz",
27
- "_shasum": "0e5222e8707a0aebdd62211cad981f8e02f45d83",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-ribbon/-/ej2-ribbon-23.1.41.tgz",
27
+ "_shasum": "f1ecd3e3fae61627bdb8f3b7cda411b45fac53ac",
28
28
  "_spec": "@syncfusion/ej2-ribbon@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
30
30
  "author": {
@@ -35,13 +35,13 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~23.1.38",
39
- "@syncfusion/ej2-buttons": "~23.1.36",
40
- "@syncfusion/ej2-dropdowns": "~23.1.38",
41
- "@syncfusion/ej2-lists": "~23.1.36",
42
- "@syncfusion/ej2-navigations": "~23.1.36",
43
- "@syncfusion/ej2-popups": "~23.1.38",
44
- "@syncfusion/ej2-splitbuttons": "~23.1.36"
38
+ "@syncfusion/ej2-base": "~23.1.41",
39
+ "@syncfusion/ej2-buttons": "~23.1.43",
40
+ "@syncfusion/ej2-dropdowns": "~23.1.43",
41
+ "@syncfusion/ej2-lists": "~23.1.43",
42
+ "@syncfusion/ej2-navigations": "~23.1.43",
43
+ "@syncfusion/ej2-popups": "~23.1.43",
44
+ "@syncfusion/ej2-splitbuttons": "~23.1.43"
45
45
  },
46
46
  "deprecated": false,
47
47
  "description": "Essential JS 2 Component",
@@ -62,6 +62,6 @@
62
62
  "url": "git+https://github.com/syncfusion/ej2-ribbon-component.git"
63
63
  },
64
64
  "typings": "index.d.ts",
65
- "version": "23.1.38",
65
+ "version": "23.1.43",
66
66
  "sideEffects": false
67
67
  }
@@ -1854,6 +1854,8 @@ var Ribbon = /** @class */ (function (_super) {
1854
1854
  }
1855
1855
  }
1856
1856
  }
1857
+ var activeContent = this.tabObj.element.querySelector('#' + this.tabs[this.selectedTab].id + constants.CONTENT_ID);
1858
+ this.checkOverflow(this.selectedTab, activeContent);
1857
1859
  };
1858
1860
  Ribbon.prototype.switchLayout = function () {
1859
1861
  this.currentControlIndex = 0;
@@ -125,3 +125,14 @@ export declare function destroyTooltip(element: HTMLElement): void;
125
125
  * @hidden
126
126
  */
127
127
  export declare function updateTooltipProp(element: HTMLElement, prop: commonProperties): void;
128
+ /**
129
+ * Sets the HTML attributes of an element
130
+ *
131
+ * @param {HTMLElement} element - The HTML element for which attributes are to be updated.
132
+ * @param {commonProperties} attributes - An object containing key-value pairs of attributes to be updated.
133
+ * @returns {void}
134
+ * @hidden
135
+ */
136
+ export declare function setCustomAttributes(element: HTMLElement, attributes: {
137
+ [key: string]: string;
138
+ }): void;
@@ -1,4 +1,4 @@
1
- import { compile, getComponent, select } from '@syncfusion/ej2-base';
1
+ import { compile, getComponent, select, addClass } from '@syncfusion/ej2-base';
2
2
  import { Tooltip } from '@syncfusion/ej2-popups';
3
3
  import { DisplayMode, RibbonLayout } from './interface';
4
4
  import * as constants from './constant';
@@ -307,3 +307,29 @@ export function updateTooltipProp(element, prop) {
307
307
  var control = getComponent(element, Tooltip);
308
308
  control.setProperties(prop);
309
309
  }
310
+ /**
311
+ * Sets the HTML attributes of an element
312
+ *
313
+ * @param {HTMLElement} element - The HTML element for which attributes are to be updated.
314
+ * @param {commonProperties} attributes - An object containing key-value pairs of attributes to be updated.
315
+ * @returns {void}
316
+ * @hidden
317
+ */
318
+ export function setCustomAttributes(element, attributes) {
319
+ for (var key in attributes) {
320
+ if (key === 'class') {
321
+ var elementClass = attributes['class'].replace(/\s+/g, ' ').trim();
322
+ if (elementClass) {
323
+ addClass([element], elementClass.split(' '));
324
+ }
325
+ }
326
+ else if (key === 'style') {
327
+ var prevStyles = element.getAttribute('style') || '';
328
+ var value = "" + prevStyles + attributes["" + key];
329
+ element.setAttribute("" + key, value);
330
+ }
331
+ else {
332
+ element.setAttribute(key, attributes["" + key]);
333
+ }
334
+ }
335
+ }
@@ -1,6 +1,6 @@
1
1
  import { getComponent, merge } from '@syncfusion/ej2-base';
2
2
  import { Button } from '@syncfusion/ej2-buttons';
3
- import { getItem, getItemElement, RibbonItemSize } from '../base/index';
3
+ import { getItem, getItemElement, RibbonItemSize, setCustomAttributes } from '../base/index';
4
4
  import { ITEM_VERTICAL_CENTER, RIBBON_CONTROL, RIBBON_POPUP_CONTROL, SPACE } from '../base/constant';
5
5
  /**
6
6
  * Defines the items of Ribbon.
@@ -43,6 +43,9 @@ var RibbonButton = /** @class */ (function () {
43
43
  isToggle: btnSettings.isToggle,
44
44
  created: btnSettings.created
45
45
  }, buttonEle);
46
+ if (btnSettings.htmlAttributes) {
47
+ setCustomAttributes(buttonEle, btnSettings.htmlAttributes);
48
+ }
46
49
  buttonEle.onclick = function (e) {
47
50
  if (btnSettings.clicked) {
48
51
  btnSettings.clicked.call(_this, e);
@@ -39,6 +39,7 @@ var RibbonCheckBox = /** @class */ (function () {
39
39
  labelPosition: checkBoxSettings.labelPosition,
40
40
  disabled: item.disabled,
41
41
  created: checkBoxSettings.created,
42
+ htmlAttributes: checkBoxSettings.htmlAttributes,
42
43
  change: function (e) {
43
44
  if (checkBoxSettings.change) {
44
45
  checkBoxSettings.change.call(_this, e);
@@ -1,6 +1,6 @@
1
1
  import { EventHandler, getComponent, merge } from '@syncfusion/ej2-base';
2
2
  import { ColorPicker } from '@syncfusion/ej2-inputs';
3
- import { getItem, getItemElement } from '../base/index';
3
+ import { getItem, getItemElement, setCustomAttributes } from '../base/index';
4
4
  import { RIBBON_CONTROL, RIBBON_HOVER, RIBBON_POPUP_CONTROL, RIBBON_POPUP_OPEN, SPACE } from '../base/constant';
5
5
  /**
6
6
  * Defines the items of Ribbon.
@@ -62,6 +62,9 @@ var RibbonColorPicker = /** @class */ (function () {
62
62
  },
63
63
  select: colorPickerSettings.select
64
64
  }, inputEle);
65
+ if (colorPickerSettings.htmlAttributes) {
66
+ setCustomAttributes(inputEle, colorPickerSettings.htmlAttributes);
67
+ }
65
68
  var wrapper = colorPicker.element.parentElement;
66
69
  EventHandler.add(wrapper, 'mouseenter', this.toggleWrapperHover.bind(this, wrapper, true), this);
67
70
  EventHandler.add(wrapper, 'mouseleave', this.toggleWrapperHover.bind(this, wrapper, false), this);
@@ -60,6 +60,7 @@ var RibbonComboBox = /** @class */ (function () {
60
60
  width: comboBoxSettings.width,
61
61
  beforeOpen: comboBoxSettings.beforeOpen,
62
62
  open: comboBoxSettings.open,
63
+ htmlAttributes: comboBoxSettings.htmlAttributes,
63
64
  close: function (e) {
64
65
  if (comboBoxSettings.close) {
65
66
  comboBoxSettings.close.call(_this, e);
@@ -1,7 +1,7 @@
1
1
  import { closest, getComponent, isNullOrUndefined, merge, remove } from '@syncfusion/ej2-base';
2
2
  import { DropDownButton } from '@syncfusion/ej2-splitbuttons';
3
3
  import { Tooltip } from '@syncfusion/ej2-popups';
4
- import { getItem, getItemElement, RibbonItemSize, createTooltip } from '../base/index';
4
+ import { getItem, getItemElement, RibbonItemSize, createTooltip, setCustomAttributes } from '../base/index';
5
5
  import { DROPDOWN_ID, ITEM_VERTICAL_CENTER, OVERFLOW_ID, RIBBON_CONTROL, RIBBON_GROUP_OVERFLOW_DDB, RIBBON_POPUP_CONTROL, SPACE, VERTICAL_DDB } from '../base/constant';
6
6
  /**
7
7
  * Defines the items of Ribbon.
@@ -62,6 +62,9 @@ var RibbonDropDown = /** @class */ (function () {
62
62
  open: dropDownSettings.open,
63
63
  select: dropDownSettings.select
64
64
  }).appendTo(buttonEle);
65
+ if (dropDownSettings.htmlAttributes) {
66
+ setCustomAttributes(buttonEle, dropDownSettings.htmlAttributes);
67
+ }
65
68
  };
66
69
  /**
67
70
  * Adds the additional event handlers as the item moved into overflow popup.
@@ -3,7 +3,7 @@ import * as constants from '../base/constant';
3
3
  import { Button } from '@syncfusion/ej2-buttons';
4
4
  import { RibbonGroupButtonSelection, RibbonItemSize } from '../base/interface';
5
5
  import { DropDownButton } from '@syncfusion/ej2-splitbuttons';
6
- import { createTooltip, isTooltipPresent } from '../base/utils';
6
+ import { createTooltip, isTooltipPresent, setCustomAttributes } from '../base/utils';
7
7
  import { Tooltip } from '@syncfusion/ej2-popups';
8
8
  /**
9
9
  * Defines the items of Ribbon.
@@ -50,6 +50,9 @@ var RibbonGroupButton = /** @class */ (function () {
50
50
  content: item.activeSize === RibbonItemSize.Small ? '' : groupBtnSettings.items[parseInt(i.toString(), 10)].content,
51
51
  iconPosition: item.activeSize === RibbonItemSize.Large ? 'Top' : 'Left'
52
52
  }, groupButtonEle);
53
+ if (groupBtnSettings.items[parseInt(i.toString(), 10)].htmlAttributes) {
54
+ setCustomAttributes(groupButtonEle, groupBtnSettings.items[parseInt(i.toString(), 10)].htmlAttributes);
55
+ }
53
56
  var buttonEle = itemElement.querySelector('#' + item.id + constants.RIBBON_GROUP_BUTTON_ID + i);
54
57
  if (groupBtnSettings.selection === RibbonGroupButtonSelection.Single) {
55
58
  btnContainerEle.classList.add(constants.RIBBON_SINGLE_BUTTON_SELECTION);
@@ -1,6 +1,6 @@
1
1
  import { EventHandler, getComponent, merge } from '@syncfusion/ej2-base';
2
2
  import { SplitButton } from '@syncfusion/ej2-splitbuttons';
3
- import { getItem, getItemElement, RibbonItemSize } from '../base/index';
3
+ import { getItem, getItemElement, RibbonItemSize, setCustomAttributes } from '../base/index';
4
4
  import { ITEM_VERTICAL_CENTER, RIBBON_CONTROL, RIBBON_HOVER, RIBBON_POPUP_CONTROL, RIBBON_POPUP_OPEN, SPACE, VERTICAL_DDB } from '../base/constant';
5
5
  /**
6
6
  * Defines the items of Ribbon.
@@ -70,6 +70,9 @@ var RibbonSplitButton = /** @class */ (function () {
70
70
  }
71
71
  }
72
72
  }, buttonEle);
73
+ if (splitButtonSettings.htmlAttributes) {
74
+ setCustomAttributes(buttonEle, splitButtonSettings.htmlAttributes);
75
+ }
73
76
  var dropdownEle = buttonEle.parentElement.querySelector('.e-dropdown-btn');
74
77
  dropdownEle.onkeydown = function (e) {
75
78
  if (e.key === 'Enter') {
@@ -40,6 +40,13 @@ export interface RibbonButtonSettingsModel {
40
40
  */
41
41
  isPrimary?: boolean;
42
42
 
43
+ /**
44
+ * Specifies additional HTML attributes to be applied to the button.
45
+ *
46
+ * @default {}
47
+ */
48
+ htmlAttributes?: { [key: string]: string };
49
+
43
50
  /**
44
51
  * Event triggers once the button is created.
45
52
  *
@@ -33,6 +33,14 @@ export declare class RibbonButtonSettings extends ChildProperty<RibbonButtonSett
33
33
  * @default false
34
34
  */
35
35
  isPrimary: boolean;
36
+ /**
37
+ * Specifies additional HTML attributes to be applied to the button.
38
+ *
39
+ * @default {}
40
+ */
41
+ htmlAttributes: {
42
+ [key: string]: string;
43
+ };
36
44
  /**
37
45
  * Event triggers once the button is created.
38
46
  *
@@ -50,6 +50,9 @@ var RibbonButtonSettings = /** @class */ (function (_super) {
50
50
  __decorate([
51
51
  Property(false)
52
52
  ], RibbonButtonSettings.prototype, "isPrimary", void 0);
53
+ __decorate([
54
+ Property({})
55
+ ], RibbonButtonSettings.prototype, "htmlAttributes", void 0);
53
56
  __decorate([
54
57
  Event()
55
58
  ], RibbonButtonSettings.prototype, "created", void 0);
@@ -33,6 +33,13 @@ export interface RibbonCheckBoxSettingsModel {
33
33
  */
34
34
  labelPosition?: LabelPosition;
35
35
 
36
+ /**
37
+ * Specifies additional HTML attributes to be applied to the checkbox.
38
+ *
39
+ * @default {}
40
+ */
41
+ htmlAttributes?: { [key: string]: string };
42
+
36
43
  /**
37
44
  * Event triggers once the checkbox is created.
38
45
  *
@@ -28,6 +28,14 @@ export declare class RibbonCheckBoxSettings extends ChildProperty<RibbonCheckBox
28
28
  * @default 'After'
29
29
  */
30
30
  labelPosition: LabelPosition;
31
+ /**
32
+ * Specifies additional HTML attributes to be applied to the checkbox.
33
+ *
34
+ * @default {}
35
+ */
36
+ htmlAttributes: {
37
+ [key: string]: string;
38
+ };
31
39
  /**
32
40
  * Event triggers once the checkbox is created.
33
41
  *
@@ -47,6 +47,9 @@ var RibbonCheckBoxSettings = /** @class */ (function (_super) {
47
47
  __decorate([
48
48
  Property('After')
49
49
  ], RibbonCheckBoxSettings.prototype, "labelPosition", void 0);
50
+ __decorate([
51
+ Property({})
52
+ ], RibbonCheckBoxSettings.prototype, "htmlAttributes", void 0);
50
53
  __decorate([
51
54
  Event()
52
55
  ], RibbonCheckBoxSettings.prototype, "created", void 0);
@@ -69,6 +69,13 @@ export interface RibbonColorPickerSettingsModel {
69
69
  */
70
70
  value?: string;
71
71
 
72
+ /**
73
+ * Specifies additional HTML attributes to be applied to the color picker.
74
+ *
75
+ * @default {}
76
+ */
77
+ htmlAttributes?: { [key: string]: string };
78
+
72
79
  /**
73
80
  * Event triggers before closing the ColorPicker popup.
74
81
  *
@@ -61,6 +61,14 @@ export declare class RibbonColorPickerSettings extends ChildProperty<RibbonColor
61
61
  * @default '#008000ff'
62
62
  */
63
63
  value: string;
64
+ /**
65
+ * Specifies additional HTML attributes to be applied to the color picker.
66
+ *
67
+ * @default {}
68
+ */
69
+ htmlAttributes: {
70
+ [key: string]: string;
71
+ };
64
72
  /**
65
73
  * Event triggers before closing the ColorPicker popup.
66
74
  *
@@ -62,6 +62,9 @@ var RibbonColorPickerSettings = /** @class */ (function (_super) {
62
62
  __decorate([
63
63
  Property('#008000ff')
64
64
  ], RibbonColorPickerSettings.prototype, "value", void 0);
65
+ __decorate([
66
+ Property({})
67
+ ], RibbonColorPickerSettings.prototype, "htmlAttributes", void 0);
65
68
  __decorate([
66
69
  Event()
67
70
  ], RibbonColorPickerSettings.prototype, "beforeClose", void 0);
@@ -209,6 +209,13 @@ export interface RibbonComboBoxSettingsModel {
209
209
  */
210
210
  width?: string | number;
211
211
 
212
+ /**
213
+ * Specifies additional HTML attributes to be applied to the combobox.
214
+ *
215
+ * @default {}
216
+ */
217
+ htmlAttributes?: { [key: string]: string };
218
+
212
219
  /**
213
220
  * Event triggers before opening the popup.
214
221
  *
@@ -191,6 +191,14 @@ export declare class RibbonComboBoxSettings extends ChildProperty<RibbonComboBox
191
191
  * @aspType string
192
192
  */
193
193
  width: string | number;
194
+ /**
195
+ * Specifies additional HTML attributes to be applied to the combobox.
196
+ *
197
+ * @default {}
198
+ */
199
+ htmlAttributes: {
200
+ [key: string]: string;
201
+ };
194
202
  /**
195
203
  * Event triggers before opening the popup.
196
204
  *
@@ -96,6 +96,9 @@ var RibbonComboBoxSettings = /** @class */ (function (_super) {
96
96
  __decorate([
97
97
  Property('150px')
98
98
  ], RibbonComboBoxSettings.prototype, "width", void 0);
99
+ __decorate([
100
+ Property({})
101
+ ], RibbonComboBoxSettings.prototype, "htmlAttributes", void 0);
99
102
  __decorate([
100
103
  Event()
101
104
  ], RibbonComboBoxSettings.prototype, "beforeOpen", void 0);
@@ -55,6 +55,13 @@ export interface RibbonDropDownSettingsModel {
55
55
  */
56
56
  createPopupOnClick?: boolean;
57
57
 
58
+ /**
59
+ * Specifies additional HTML attributes to be applied to the DropDownButton.
60
+ *
61
+ * @default {}
62
+ */
63
+ htmlAttributes?: { [key: string]: string };
64
+
58
65
  /**
59
66
  * Triggers before closing the DropDownButton popup.
60
67
  *
@@ -47,6 +47,14 @@ export declare class RibbonDropDownSettings extends ChildProperty<RibbonDropDown
47
47
  * @default false
48
48
  */
49
49
  createPopupOnClick: boolean;
50
+ /**
51
+ * Specifies additional HTML attributes to be applied to the DropDownButton.
52
+ *
53
+ * @default {}
54
+ */
55
+ htmlAttributes: {
56
+ [key: string]: string;
57
+ };
50
58
  /**
51
59
  * Triggers before closing the DropDownButton popup.
52
60
  *
@@ -57,6 +57,9 @@ var RibbonDropDownSettings = /** @class */ (function (_super) {
57
57
  __decorate([
58
58
  Property(false)
59
59
  ], RibbonDropDownSettings.prototype, "createPopupOnClick", void 0);
60
+ __decorate([
61
+ Property({})
62
+ ], RibbonDropDownSettings.prototype, "htmlAttributes", void 0);
60
63
  __decorate([
61
64
  Event()
62
65
  ], RibbonDropDownSettings.prototype, "beforeClose", void 0);
@@ -33,6 +33,13 @@ export interface RibbonGroupButtonItemModel {
33
33
  */
34
34
  selected?: boolean;
35
35
 
36
+ /**
37
+ * Specifies additional HTML attributes to be applied to the group button item.
38
+ *
39
+ * @default {}
40
+ */
41
+ htmlAttributes?: { [key: string]: string };
42
+
36
43
  /**
37
44
  * Triggers before clicking the button from group button.
38
45
  *
@@ -29,6 +29,14 @@ export declare class RibbonGroupButtonItem extends ChildProperty<RibbonGroupButt
29
29
  * @default false
30
30
  */
31
31
  selected: boolean;
32
+ /**
33
+ * Specifies additional HTML attributes to be applied to the group button item.
34
+ *
35
+ * @default {}
36
+ */
37
+ htmlAttributes: {
38
+ [key: string]: string;
39
+ };
32
40
  /**
33
41
  * Triggers before clicking the button from group button.
34
42
  *
@@ -39,6 +39,9 @@ var RibbonGroupButtonItem = /** @class */ (function (_super) {
39
39
  __decorate([
40
40
  Property(false)
41
41
  ], RibbonGroupButtonItem.prototype, "selected", void 0);
42
+ __decorate([
43
+ Property({})
44
+ ], RibbonGroupButtonItem.prototype, "htmlAttributes", void 0);
42
45
  __decorate([
43
46
  Event()
44
47
  ], RibbonGroupButtonItem.prototype, "beforeClick", void 0);
@@ -48,6 +48,13 @@ export interface RibbonSplitButtonSettingsModel {
48
48
  */
49
49
  target?: string | HTMLElement;
50
50
 
51
+ /**
52
+ * Specifies additional HTML attributes to be applied to the SplitButton.
53
+ *
54
+ * @default {}
55
+ */
56
+ htmlAttributes?: { [key: string]: string };
57
+
51
58
  /**
52
59
  * Triggers before closing the SplitButton popup.
53
60
  *
@@ -41,6 +41,14 @@ export declare class RibbonSplitButtonSettings extends ChildProperty<RibbonSplit
41
41
  * @aspType string
42
42
  */
43
43
  target: string | HTMLElement;
44
+ /**
45
+ * Specifies additional HTML attributes to be applied to the SplitButton.
46
+ *
47
+ * @default {}
48
+ */
49
+ htmlAttributes: {
50
+ [key: string]: string;
51
+ };
44
52
  /**
45
53
  * Triggers before closing the SplitButton popup.
46
54
  *
@@ -54,6 +54,9 @@ var RibbonSplitButtonSettings = /** @class */ (function (_super) {
54
54
  __decorate([
55
55
  Property('')
56
56
  ], RibbonSplitButtonSettings.prototype, "target", void 0);
57
+ __decorate([
58
+ Property({})
59
+ ], RibbonSplitButtonSettings.prototype, "htmlAttributes", void 0);
57
60
  __decorate([
58
61
  Event()
59
62
  ], RibbonSplitButtonSettings.prototype, "beforeClose", void 0);
@@ -130,13 +130,24 @@
130
130
  }
131
131
 
132
132
  .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
133
- font-size: 8px;
133
+ font-size: 12px;
134
+ }
135
+
136
+ .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
137
+ .e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
138
+ font-size: 14px;
134
139
  }
135
140
 
136
- .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
141
+ .e-small .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
142
+ .e-small.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
137
143
  font-size: 10px;
138
144
  }
139
145
 
146
+ .e-small.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
147
+ .e-small.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
148
+ font-size: 12px;
149
+ }
150
+
140
151
  .e-bigger.e-small .e-ddl.e-popup .e-list-item, .e-bigger.e-small .e-ddl.e-popup .e-list-group-item, .e-bigger.e-small .e-ddl.e-popup .e-fixed-head {
141
152
  font-size: 14px;
142
153
  line-height: 34px;
@@ -130,13 +130,24 @@
130
130
  }
131
131
 
132
132
  .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
133
- font-size: 8px;
133
+ font-size: 12px;
134
+ }
135
+
136
+ .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
137
+ .e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
138
+ font-size: 14px;
134
139
  }
135
140
 
136
- .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
141
+ .e-small .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
142
+ .e-small.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
137
143
  font-size: 10px;
138
144
  }
139
145
 
146
+ .e-small.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
147
+ .e-small.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
148
+ font-size: 12px;
149
+ }
150
+
140
151
  .e-bigger.e-small .e-ddl.e-popup .e-list-item, .e-bigger.e-small .e-ddl.e-popup .e-list-group-item, .e-bigger.e-small .e-ddl.e-popup .e-fixed-head {
141
152
  font-size: 14px;
142
153
  line-height: 34px;