@syncfusion/ej2-splitbuttons 23.1.36 → 23.1.41

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.
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.1.36
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
3
+ * version : 23.1.41
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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-splitbuttons@*",
3
- "_id": "@syncfusion/ej2-splitbuttons@19.16.4",
3
+ "_id": "@syncfusion/ej2-splitbuttons@23.1.36",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ocOceYodpXXGOAdz/KwkNSF7GLW0c8wA+jb+KJBrxWSBD6z91aFG+OykoFr6J5B8IQRoIEktf0sPhpwijl6jaQ==",
5
+ "_integrity": "sha512-eNpbWTgWfST6tCZlET/CMlvY/FLJk0bwzXOMqO/Qq4x7CRvDoOHNjeDIIiXw9q1Ooyjl/EFURBLqL2KfFzIVZw==",
6
6
  "_location": "/@syncfusion/ej2-splitbuttons",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -33,8 +33,8 @@
33
33
  "/@syncfusion/ej2-richtexteditor",
34
34
  "/@syncfusion/ej2-vue-splitbuttons"
35
35
  ],
36
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-19.16.4.tgz",
37
- "_shasum": "3cc5d85675d1a9c02709ce072ae0ad6387c61923",
36
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-23.1.36.tgz",
37
+ "_shasum": "143d9d206ff348b784ea0854a03e3ab570779800",
38
38
  "_spec": "@syncfusion/ej2-splitbuttons@*",
39
39
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
40
40
  "author": {
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "bundleDependencies": false,
47
47
  "dependencies": {
48
- "@syncfusion/ej2-base": "~23.1.36",
49
- "@syncfusion/ej2-popups": "~23.1.36"
48
+ "@syncfusion/ej2-base": "~23.1.41",
49
+ "@syncfusion/ej2-popups": "~23.1.38"
50
50
  },
51
51
  "deprecated": false,
52
52
  "description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.",
@@ -89,6 +89,6 @@
89
89
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
90
90
  },
91
91
  "typings": "index.d.ts",
92
- "version": "23.1.36",
92
+ "version": "23.1.41",
93
93
  "sideEffects": false
94
94
  }
@@ -177,7 +177,6 @@ var DropDownButton = /** @class */ (function (_super) {
177
177
  _a['aria-haspopup'] = this.items.length || this.target ? 'true' : 'false',
178
178
  _a['aria-expanded'] = 'false',
179
179
  _a['type'] = 'button',
180
- _a['aria-label'] = this.element.textContent ? this.element.textContent : 'dropdownbutton',
181
180
  _a));
182
181
  if (this.cssClass) {
183
182
  addClass([div], this.cssClass.replace(/\s+/g, ' ').trim().split(' '));
@@ -277,6 +276,7 @@ var DropDownButton = /** @class */ (function (_super) {
277
276
  }
278
277
  this.appendArrowSpan();
279
278
  this.setActiveElem([this.element]);
279
+ this.element.setAttribute('aria-label', this.element.textContent ? this.element.textContent : 'dropdownbutton');
280
280
  if ((this.target && !this.isColorPicker() && !this.createPopupOnClick) || !this.createPopupOnClick) {
281
281
  this.createPopup();
282
282
  }
@@ -218,7 +218,7 @@ var SplitButton = /** @class */ (function (_super) {
218
218
  SplitButton.prototype.setAria = function () {
219
219
  attributes(this.element, {
220
220
  'aria-expanded': 'false', 'aria-haspopup': 'true',
221
- 'aria-label': this.element.textContent + ' splitbutton', 'aria-owns': this.element.id + '_dropdownbtn-popup'
221
+ 'aria-label': this.element.textContent ? this.element.textContent + ' splitbutton' : 'splitbutton', 'aria-owns': this.element.id + '_dropdownbtn-popup'
222
222
  });
223
223
  };
224
224
  /**