@syncfusion/ej2-splitbuttons 32.1.19 → 32.1.22

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,3 +1,12 @@
1
+ /*!
2
+ * filename: index.d.ts
3
+ * version : 32.1.22
4
+ * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
1
10
  import * as _splitbuttons from '@syncfusion/ej2-splitbuttons';
2
11
 
3
12
  export declare namespace ej {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-splitbuttons",
3
- "version": "32.1.19",
3
+ "version": "32.1.22",
4
4
  "description": "A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -849,7 +849,7 @@ var DropDownButton = /** @class */ (function (_super) {
849
849
  EventHandler.remove(this.getPopUpElement(), 'keydown', this.keyBoardHandler);
850
850
  }
851
851
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
852
- EventHandler.remove(window, 'resize', this.windowResize);
852
+ EventHandler.remove(window, 'resize', this.windowResize.bind(this));
853
853
  };
854
854
  /**
855
855
  * Called internally if any of the property value changed.
@@ -1432,8 +1432,25 @@
1432
1432
  overflow: hidden;
1433
1433
  pointer-events: none;
1434
1434
  }
1435
- .e-progress-btn.e-progress-active .e-progress {
1436
- opacity: 1;
1435
+ .e-progress-btn.e-progress-active .e-progress,
1436
+ .e-progress-btn.e-progress-active .e-primary .e-progress,
1437
+ .e-progress-btn.e-progress-active .e-success .e-progress,
1438
+ .e-progress-btn.e-progress-active .e-danger .e-progress {
1439
+ opacity: 0.3;
1440
+ }
1441
+ .e-progress-btn.e-progress-active .e-warning .e-progress,
1442
+ .e-progress-btn.e-progress-active .e-info .e-progress,
1443
+ .e-progress-btn.e-progress-active .e-primary.e-outline .e-progress,
1444
+ .e-progress-btn.e-progress-active .e-primary.e-flat .e-progress,
1445
+ .e-progress-btn.e-progress-active .e-success.e-outline .e-progress,
1446
+ .e-progress-btn.e-progress-active .e-success.e-flat .e-progress,
1447
+ .e-progress-btn.e-progress-active .e-danger.e-outline .e-progress,
1448
+ .e-progress-btn.e-progress-active .e-danger.e-flat .e-progress,
1449
+ .e-progress-btn.e-progress-active .e-warning.e-outline .e-progress,
1450
+ .e-progress-btn.e-progress-active .e-warning.e-flat .e-progress,
1451
+ .e-progress-btn.e-progress-active .e-info.e-outline .e-progress,
1452
+ .e-progress-btn.e-progress-active .e-info.e-flat .e-progress {
1453
+ opacity: 0.2;
1437
1454
  }
1438
1455
  .e-progress-btn.e-progress-active .e-animate-end {
1439
1456
  opacity: 0;
@@ -1817,17 +1834,17 @@
1817
1834
  }
1818
1835
 
1819
1836
  .e-progress {
1820
- background: rgba(var(--color-sf-white), 0.2);
1837
+ background: currentColor;
1821
1838
  }
1822
1839
 
1823
1840
  *.e-primary .e-progress,
1824
1841
  *.e-success .e-progress,
1825
1842
  *.e-danger .e-progress {
1826
- background: rgba(var(--color-sf-icon-color), 0.2);
1843
+ background: currentColor;
1827
1844
  }
1828
1845
 
1829
1846
  *.e-info .e-progress {
1830
- background: rgba(var(--color-sf-icon-color), 0.2);
1847
+ background: currentColor;
1831
1848
  }
1832
1849
 
1833
1850
  .e-progress-btn.e-outline .e-spinner-pane .e-spinner-inner svg {
@@ -1576,8 +1576,25 @@
1576
1576
  overflow: hidden;
1577
1577
  pointer-events: none;
1578
1578
  }
1579
- .e-progress-btn.e-progress-active .e-progress {
1580
- opacity: 1;
1579
+ .e-progress-btn.e-progress-active .e-progress,
1580
+ .e-progress-btn.e-progress-active .e-primary .e-progress,
1581
+ .e-progress-btn.e-progress-active .e-success .e-progress,
1582
+ .e-progress-btn.e-progress-active .e-danger .e-progress {
1583
+ opacity: 0.3;
1584
+ }
1585
+ .e-progress-btn.e-progress-active .e-warning .e-progress,
1586
+ .e-progress-btn.e-progress-active .e-info .e-progress,
1587
+ .e-progress-btn.e-progress-active .e-primary.e-outline .e-progress,
1588
+ .e-progress-btn.e-progress-active .e-primary.e-flat .e-progress,
1589
+ .e-progress-btn.e-progress-active .e-success.e-outline .e-progress,
1590
+ .e-progress-btn.e-progress-active .e-success.e-flat .e-progress,
1591
+ .e-progress-btn.e-progress-active .e-danger.e-outline .e-progress,
1592
+ .e-progress-btn.e-progress-active .e-danger.e-flat .e-progress,
1593
+ .e-progress-btn.e-progress-active .e-warning.e-outline .e-progress,
1594
+ .e-progress-btn.e-progress-active .e-warning.e-flat .e-progress,
1595
+ .e-progress-btn.e-progress-active .e-info.e-outline .e-progress,
1596
+ .e-progress-btn.e-progress-active .e-info.e-flat .e-progress {
1597
+ opacity: 0.2;
1581
1598
  }
1582
1599
  .e-progress-btn.e-progress-active .e-animate-end {
1583
1600
  opacity: 0;
@@ -1961,17 +1978,17 @@
1961
1978
  }
1962
1979
 
1963
1980
  .e-progress {
1964
- background: rgba(var(--color-sf-white), 0.2);
1981
+ background: currentColor;
1965
1982
  }
1966
1983
 
1967
1984
  *.e-primary .e-progress,
1968
1985
  *.e-success .e-progress,
1969
1986
  *.e-danger .e-progress {
1970
- background: rgba(var(--color-sf-icon-color), 0.2);
1987
+ background: currentColor;
1971
1988
  }
1972
1989
 
1973
1990
  *.e-info .e-progress {
1974
- background: rgba(var(--color-sf-icon-color), 0.2);
1991
+ background: currentColor;
1975
1992
  }
1976
1993
 
1977
1994
  .e-progress-btn.e-outline .e-spinner-pane .e-spinner-inner svg {
@@ -13,14 +13,6 @@ $progress-btn-small-spin-btn-padding: 14px !default;
13
13
  $progress-btn-bigger-spin-btn-padding: 20px !default;
14
14
  $progress-btn-bigger-small-spin-btn-padding: 16px !default;
15
15
  $progress-btn-color: $secondary-text-color !default;
16
- $progress-btn-bgcolor: rgba($icon-color, .2) !default;
17
- $progress-btn-bgcolor-normal: rgba($white, .2) !default;
18
- $progress-btn-warning-progress-color: $progress-btn-bgcolor !default;
19
- $progress-btn-flat-primary-progress-color: rgba($primary-text-color, 1) !default;
20
- $progress-btn-flat-success-progress-color: rgba($success-text, 1) !default;
21
- $progress-btn-flat-info-progress-color: rgba($info-text, 1) !default;
22
- $progress-btn-flat-warning-progress-color: rgba($warning-text, 1) !default;
23
- $progress-btn-flat-danger-progress-color: rgba($danger-text, 1) !default;
24
16
  $btn-flat-primary-path-arc: $white;
25
17
  $progress-btn-zero-padding-margin: 0 !default;
26
18
  $progress-btn-line-height: 1 !default;
@@ -1,5 +1,6 @@
1
1
  @use 'ej2-base/styles/common/mixin' as *;
2
2
  @use './theme-variables' as *;
3
+
3
4
  @include export-module('progress-button-layout') {
4
5
  .e-progress-btn {
5
6
  position: relative;
@@ -49,9 +50,34 @@
49
50
  &.e-progress-active {
50
51
  overflow: hidden;
51
52
  pointer-events: none;
53
+
54
+ @if $skin-name == 'bootstrap5.3' {
55
+ .e-progress,
56
+ .e-primary .e-progress,
57
+ .e-success .e-progress,
58
+ .e-danger .e-progress {
59
+ opacity: .3;
60
+ }
52
61
 
53
- .e-progress {
54
- opacity: 1;
62
+ .e-warning .e-progress,
63
+ .e-info .e-progress,
64
+ .e-primary.e-outline .e-progress,
65
+ .e-primary.e-flat .e-progress,
66
+ .e-success.e-outline .e-progress,
67
+ .e-success.e-flat .e-progress,
68
+ .e-danger.e-outline .e-progress,
69
+ .e-danger.e-flat .e-progress,
70
+ .e-warning.e-outline .e-progress,
71
+ .e-warning.e-flat .e-progress,
72
+ .e-info.e-outline .e-progress,
73
+ .e-info.e-flat .e-progress {
74
+ opacity: .2;
75
+ }
76
+ }
77
+ @else {
78
+ .e-progress {
79
+ opacity: 1;
80
+ }
55
81
  }
56
82
 
57
83
  .e-animate-end {
@@ -1,6 +1,7 @@
1
1
  @use 'sass:color';
2
2
  @use 'ej2-base/styles/common/mixin' as *;
3
3
  @use './theme-variables' as *;
4
+
4
5
  @include export-module('progress-button-theme') {
5
6
 
6
7
  /*! Progress Button Theme */
@@ -467,20 +468,33 @@
467
468
  }
468
469
 
469
470
  .e-progress {
470
- background: $progress-btn-bgcolor-normal;
471
+ @if $skin-name == 'bootstrap5.3' {
472
+ background: currentColor;
473
+ }
474
+ @else {
475
+ background: $progress-btn-bgcolor-normal;
476
+ }
471
477
  }
472
478
 
473
479
  #{if(&, '&', '*')}.e-primary,
474
480
  #{if(&, '&', '*')}.e-success,
475
481
  #{if(&, '&', '*')}.e-danger {
476
482
  .e-progress {
477
- background: $progress-btn-bgcolor;
483
+ @if $skin-name == 'bootstrap5.3' {
484
+ background: currentColor;
485
+ }
486
+ @else {
487
+ background: $progress-btn-bgcolor;
488
+ }
478
489
  }
479
490
  }
480
491
 
481
492
  #{if(&, '&', '*')}.e-info {
482
493
  .e-progress {
483
- @if $skin-name != 'fluent2' {
494
+ @if $skin-name == 'bootstrap5.3' {
495
+ background: currentColor;
496
+ }
497
+ @else if $skin-name != 'fluent2' {
484
498
  background: $progress-btn-bgcolor;
485
499
  }
486
500
  }
@@ -162,8 +162,25 @@
162
162
  overflow: hidden;
163
163
  pointer-events: none;
164
164
  }
165
- .e-progress-btn.e-progress-active .e-progress {
166
- opacity: 1;
165
+ .e-progress-btn.e-progress-active .e-progress,
166
+ .e-progress-btn.e-progress-active .e-primary .e-progress,
167
+ .e-progress-btn.e-progress-active .e-success .e-progress,
168
+ .e-progress-btn.e-progress-active .e-danger .e-progress {
169
+ opacity: 0.3;
170
+ }
171
+ .e-progress-btn.e-progress-active .e-warning .e-progress,
172
+ .e-progress-btn.e-progress-active .e-info .e-progress,
173
+ .e-progress-btn.e-progress-active .e-primary.e-outline .e-progress,
174
+ .e-progress-btn.e-progress-active .e-primary.e-flat .e-progress,
175
+ .e-progress-btn.e-progress-active .e-success.e-outline .e-progress,
176
+ .e-progress-btn.e-progress-active .e-success.e-flat .e-progress,
177
+ .e-progress-btn.e-progress-active .e-danger.e-outline .e-progress,
178
+ .e-progress-btn.e-progress-active .e-danger.e-flat .e-progress,
179
+ .e-progress-btn.e-progress-active .e-warning.e-outline .e-progress,
180
+ .e-progress-btn.e-progress-active .e-warning.e-flat .e-progress,
181
+ .e-progress-btn.e-progress-active .e-info.e-outline .e-progress,
182
+ .e-progress-btn.e-progress-active .e-info.e-flat .e-progress {
183
+ opacity: 0.2;
167
184
  }
168
185
  .e-progress-btn.e-progress-active .e-animate-end {
169
186
  opacity: 0;
@@ -547,17 +564,17 @@
547
564
  }
548
565
 
549
566
  .e-progress {
550
- background: rgba(var(--color-sf-white), 0.2);
567
+ background: currentColor;
551
568
  }
552
569
 
553
570
  *.e-primary .e-progress,
554
571
  *.e-success .e-progress,
555
572
  *.e-danger .e-progress {
556
- background: rgba(var(--color-sf-icon-color), 0.2);
573
+ background: currentColor;
557
574
  }
558
575
 
559
576
  *.e-info .e-progress {
560
- background: rgba(var(--color-sf-icon-color), 0.2);
577
+ background: currentColor;
561
578
  }
562
579
 
563
580
  .e-progress-btn.e-outline .e-spinner-pane .e-spinner-inner svg {