@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
|
@@ -936,7 +936,7 @@ __decorate$1([
|
|
|
936
936
|
Property('Left')
|
|
937
937
|
], DropDownButton.prototype, "iconPosition", void 0);
|
|
938
938
|
__decorate$1([
|
|
939
|
-
Property(
|
|
939
|
+
Property(true)
|
|
940
940
|
], DropDownButton.prototype, "enableHtmlSanitizer", void 0);
|
|
941
941
|
__decorate$1([
|
|
942
942
|
Collection([], Item)
|
|
@@ -1753,7 +1753,7 @@ let ProgressButton = class ProgressButton extends Button {
|
|
|
1753
1753
|
this.step = args.step;
|
|
1754
1754
|
if ((progressTime - prevProgressTime) % (this.duration * args.step / 100) === 0 || percent === 100) {
|
|
1755
1755
|
this.timerId = requestAnimationFrame(() => {
|
|
1756
|
-
if (this.enableProgress) {
|
|
1756
|
+
if (this.enableProgress && this.getProgress()) {
|
|
1757
1757
|
this.getProgress().style[isVertical ? 'height' : 'width'] = percent + '%';
|
|
1758
1758
|
}
|
|
1759
1759
|
this.element.setAttribute('aria-valuenow', percent.toString());
|
|
@@ -1770,7 +1770,7 @@ let ProgressButton = class ProgressButton extends Button {
|
|
|
1770
1770
|
else {
|
|
1771
1771
|
this.interval = window.setTimeout(() => {
|
|
1772
1772
|
this.progressTime = this.percent = 0;
|
|
1773
|
-
if (this.enableProgress) {
|
|
1773
|
+
if (this.enableProgress && this.getProgress()) {
|
|
1774
1774
|
this.getProgress().style[isVertical ? 'height' : 'width'] = '0%';
|
|
1775
1775
|
}
|
|
1776
1776
|
this.element.setAttribute('aria-valuenow', '0');
|
|
@@ -1810,7 +1810,7 @@ let ProgressButton = class ProgressButton extends Button {
|
|
|
1810
1810
|
if (i > 100) {
|
|
1811
1811
|
i = 100;
|
|
1812
1812
|
}
|
|
1813
|
-
if (this.enableProgress) {
|
|
1813
|
+
if (this.enableProgress && this.getProgress()) {
|
|
1814
1814
|
this.getProgress().style[isVertical ? 'height' : 'width'] = (this.percent < 100) ? (i + '%') : '100%';
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
@@ -1963,7 +1963,7 @@ __decorate$3([
|
|
|
1963
1963
|
Property(false)
|
|
1964
1964
|
], ProgressButton.prototype, "isToggle", void 0);
|
|
1965
1965
|
__decorate$3([
|
|
1966
|
-
Property(
|
|
1966
|
+
Property(true)
|
|
1967
1967
|
], ProgressButton.prototype, "enableHtmlSanitizer", void 0);
|
|
1968
1968
|
__decorate$3([
|
|
1969
1969
|
Complex({}, SpinSettings)
|