@syncfusion/ej2-splitbuttons 24.2.5 → 25.1.35
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.
- package/CHANGELOG.md +2 -26
- package/dist/ej2-splitbuttons.min.js +2 -2
- package/dist/ej2-splitbuttons.umd.min.js +2 -2
- package/dist/ej2-splitbuttons.umd.min.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es2015.js +5 -5
- package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es5.js +5 -5
- package/dist/es6/ej2-splitbuttons.es5.js.map +1 -1
- package/dist/global/ej2-splitbuttons.min.js +2 -2
- package/dist/global/ej2-splitbuttons.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/dist/ts/button-group/button-group.ts +84 -0
- package/dist/ts/common/common.ts +212 -0
- package/dist/ts/drop-down-button/drop-down-button.ts +920 -0
- package/dist/ts/progress-button/progress-button.ts +709 -0
- package/dist/ts/split-button/split-button.ts +534 -0
- package/package.json +7 -7
- package/src/drop-down-button/drop-down-button-model.d.ts +3 -2
- package/src/drop-down-button/drop-down-button.d.ts +3 -2
- package/src/drop-down-button/drop-down-button.js +1 -1
- package/src/progress-button/progress-button-model.d.ts +3 -2
- package/src/progress-button/progress-button.d.ts +3 -2
- package/src/progress-button/progress-button.js +4 -4
- package/styles/button-group/_bds-definition.scss +31 -0
- package/styles/drop-down-button/_bds-definition.scss +89 -0
- package/styles/drop-down-button/icons/_bds.scss +10 -0
- package/styles/progress-button/_bds-definition.scss +28 -0
- package/styles/split-button/_bds-definition.scss +24 -0
|
@@ -974,7 +974,7 @@ var DropDownButton = /** @__PURE__ @class */ (function (_super) {
|
|
|
974
974
|
Property('Left')
|
|
975
975
|
], DropDownButton.prototype, "iconPosition", void 0);
|
|
976
976
|
__decorate$1([
|
|
977
|
-
Property(
|
|
977
|
+
Property(true)
|
|
978
978
|
], DropDownButton.prototype, "enableHtmlSanitizer", void 0);
|
|
979
979
|
__decorate$1([
|
|
980
980
|
Collection([], Item)
|
|
@@ -1842,7 +1842,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
|
|
|
1842
1842
|
this.step = args.step;
|
|
1843
1843
|
if ((progressTime - prevProgressTime) % (this.duration * args.step / 100) === 0 || percent === 100) {
|
|
1844
1844
|
this.timerId = requestAnimationFrame(function () {
|
|
1845
|
-
if (_this.enableProgress) {
|
|
1845
|
+
if (_this.enableProgress && _this.getProgress()) {
|
|
1846
1846
|
_this.getProgress().style[isVertical ? 'height' : 'width'] = percent + '%';
|
|
1847
1847
|
}
|
|
1848
1848
|
_this.element.setAttribute('aria-valuenow', percent.toString());
|
|
@@ -1859,7 +1859,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
|
|
|
1859
1859
|
else {
|
|
1860
1860
|
this.interval = window.setTimeout(function () {
|
|
1861
1861
|
_this.progressTime = _this.percent = 0;
|
|
1862
|
-
if (_this.enableProgress) {
|
|
1862
|
+
if (_this.enableProgress && _this.getProgress()) {
|
|
1863
1863
|
_this.getProgress().style[isVertical ? 'height' : 'width'] = '0%';
|
|
1864
1864
|
}
|
|
1865
1865
|
_this.element.setAttribute('aria-valuenow', '0');
|
|
@@ -1900,7 +1900,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
|
|
|
1900
1900
|
if (i > 100) {
|
|
1901
1901
|
i = 100;
|
|
1902
1902
|
}
|
|
1903
|
-
if (this.enableProgress) {
|
|
1903
|
+
if (this.enableProgress && this.getProgress()) {
|
|
1904
1904
|
this.getProgress().style[isVertical ? 'height' : 'width'] = (this.percent < 100) ? (i + '%') : '100%';
|
|
1905
1905
|
}
|
|
1906
1906
|
}
|
|
@@ -2053,7 +2053,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
|
|
|
2053
2053
|
Property(false)
|
|
2054
2054
|
], ProgressButton.prototype, "isToggle", void 0);
|
|
2055
2055
|
__decorate$3([
|
|
2056
|
-
Property(
|
|
2056
|
+
Property(true)
|
|
2057
2057
|
], ProgressButton.prototype, "enableHtmlSanitizer", void 0);
|
|
2058
2058
|
__decorate$3([
|
|
2059
2059
|
Complex({}, SpinSettings)
|