@syncfusion/ej2-splitbuttons 21.1.41 → 21.2.5

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.5
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.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-efqVVLEEEBI7cSu4xL5DeK5R4Lw9JFQrQvEB7DDwLBK9OPN8oeJql401Tc9g+lW/m7MXShkkoxedeF16qeyY1g==",
5
+ "_integrity": "sha512-aaTkfYkoS/hBmvS4RAUisx3HdU9/xIPdr98CkoMhW0I0Y1ymVVLs+H6QWUo0yHTJw0rQTkWwNAlpDH8cxD7NkQ==",
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-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-21.1.35.tgz",
37
- "_shasum": "2ff685df5f3261313d6860c27bcaa0d151835fd1",
36
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-splitbuttons/-/ej2-splitbuttons-21.2.3.tgz",
37
+ "_shasum": "fd49d6a00019fe2150245e6e649237d1a9486cca",
38
38
  "_spec": "@syncfusion/ej2-splitbuttons@*",
39
39
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
40
40
  "author": {
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "bundleDependencies": false,
47
47
  "dependencies": {
48
- "@syncfusion/ej2-base": "~21.1.40",
49
- "@syncfusion/ej2-popups": "~21.1.41"
48
+ "@syncfusion/ej2-base": "~21.2.3",
49
+ "@syncfusion/ej2-popups": "~21.2.4"
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": "21.1.41",
92
+ "version": "21.2.5",
93
93
  "sideEffects": false
94
94
  }
@@ -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
  };
@@ -247,7 +247,7 @@ var ProgressButton = /** @class */ (function (_super) {
247
247
  var isVertical = clsList.contains('e-vertical');
248
248
  clsList.add(PROGRESSACTIVE);
249
249
  if (!(clsList.contains(HIDESPINNER))) {
250
- showSpinner(this.element);
250
+ showSpinner(this.element.querySelector(".e-spinner"));
251
251
  }
252
252
  this.startAnimate(Date.now(), progressTime ? progressTime : 0, progressTime ? Date.now() - (this.duration * 1 / 100) : Date.now(), percent ? percent : 0, 0, this.step, 0, isVertical);
253
253
  this.startContAnimate();
@@ -380,7 +380,7 @@ var ProgressButton = /** @class */ (function (_super) {
380
380
  ProgressButton.prototype.hideSpin = function () {
381
381
  var cont = this.element.getElementsByClassName(CONTENTCLS)[0];
382
382
  if (!(this.element.classList.contains(HIDESPINNER))) {
383
- hideSpinner(this.element);
383
+ hideSpinner(this.element.querySelector(".e-spinner"));
384
384
  }
385
385
  this.element.classList.remove(PROGRESSACTIVE);
386
386
  if (this.animationSettings.effect !== 'None') {
@@ -437,7 +437,7 @@ var ProgressButton = /** @class */ (function (_super) {
437
437
  this.setContent();
438
438
  this.createSpinner();
439
439
  if (isSpinning) {
440
- showSpinner(this.element);
440
+ showSpinner(this.element.querySelector(".e-spinner"));
441
441
  isSpinning = false;
442
442
  }
443
443
  if (this.enableProgress) {