@syncfusion/ej2-splitbuttons 21.1.41 → 21.2.3

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,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.1.41
3
+ * version : 21.2.3
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
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-splitbuttons@*",
3
- "_id": "@syncfusion/ej2-splitbuttons@21.1.35",
3
+ "_id": "@syncfusion/ej2-splitbuttons@21.1.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-efqVVLEEEBI7cSu4xL5DeK5R4Lw9JFQrQvEB7DDwLBK9OPN8oeJql401Tc9g+lW/m7MXShkkoxedeF16qeyY1g==",
5
+ "_integrity": "sha512-7cHFt4hNOadZYLS595oVcj/sD03puRBCkYUJuzu8LJ/1drY5Y8AuALOWvfdE2MBYarJSm0ntnT0iJqnNm3BUEQ==",
6
6
  "_location": "/@syncfusion/ej2-splitbuttons",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,7 +19,6 @@
19
19
  "_requiredBy": [
20
20
  "/",
21
21
  "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-splitbuttons",
23
22
  "/@syncfusion/ej2-documenteditor",
24
23
  "/@syncfusion/ej2-filemanager",
25
24
  "/@syncfusion/ej2-grids",
@@ -28,13 +27,11 @@
28
27
  "/@syncfusion/ej2-inputs",
29
28
  "/@syncfusion/ej2-pivotview",
30
29
  "/@syncfusion/ej2-querybuilder",
31
- "/@syncfusion/ej2-react-splitbuttons",
32
30
  "/@syncfusion/ej2-ribbon",
33
- "/@syncfusion/ej2-richtexteditor",
34
- "/@syncfusion/ej2-vue-splitbuttons"
31
+ "/@syncfusion/ej2-richtexteditor"
35
32
  ],
36
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-21.1.35.tgz",
37
- "_shasum": "2ff685df5f3261313d6860c27bcaa0d151835fd1",
33
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-21.1.41.tgz",
34
+ "_shasum": "610f58ad71a3b79df4352c14af180016742f238c",
38
35
  "_spec": "@syncfusion/ej2-splitbuttons@*",
39
36
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
40
37
  "author": {
@@ -45,8 +42,8 @@
45
42
  },
46
43
  "bundleDependencies": false,
47
44
  "dependencies": {
48
- "@syncfusion/ej2-base": "~21.1.40",
49
- "@syncfusion/ej2-popups": "~21.1.41"
45
+ "@syncfusion/ej2-base": "~21.2.3",
46
+ "@syncfusion/ej2-popups": "~21.2.3"
50
47
  },
51
48
  "deprecated": false,
52
49
  "description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.",
@@ -89,6 +86,6 @@
89
86
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
90
87
  },
91
88
  "typings": "index.d.ts",
92
- "version": "21.1.41",
89
+ "version": "21.2.3",
93
90
  "sideEffects": false
94
91
  }
@@ -355,7 +355,8 @@ var DropDownButton = /** @class */ (function (_super) {
355
355
  }
356
356
  EventHandler.remove(this.getPopUpElement(), 'click', this.clickHandler);
357
357
  EventHandler.remove(this.getPopUpElement(), 'keydown', this.keyBoardHandler);
358
- if (this.isPopupCreated) {
358
+ if (this.isPopupCreated && this.dropDown) {
359
+ this.dropDown.element = null;
359
360
  this.dropDown = undefined;
360
361
  }
361
362
  }
@@ -580,10 +581,6 @@ var DropDownButton = /** @class */ (function (_super) {
580
581
  }
581
582
  var openArgs = { element: ul_1, items: _this.items };
582
583
  _this.trigger('open', openArgs);
583
- if (_this.enableRtl && ul_1.parentElement.style.left !== '0px') {
584
- var popupRect = ul_1.parentElement.offsetWidth - _this.element.offsetWidth;
585
- ul_1.parentElement.style.left = parseFloat(ul_1.parentElement.style.left) - popupRect + "px";
586
- }
587
584
  }
588
585
  });
589
586
  };