@syncfusion/ej2-splitbuttons 25.2.3 → 26.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.
Files changed (177) hide show
  1. package/.eslintrc.json +3 -2
  2. package/dist/ej2-splitbuttons.min.js +2 -2
  3. package/dist/ej2-splitbuttons.umd.min.js +2 -2
  4. package/dist/ej2-splitbuttons.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-splitbuttons.es2015.js +29 -48
  6. package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
  7. package/dist/es6/ej2-splitbuttons.es5.js +30 -45
  8. package/dist/es6/ej2-splitbuttons.es5.js.map +1 -1
  9. package/dist/global/ej2-splitbuttons.min.js +2 -2
  10. package/dist/global/ej2-splitbuttons.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +8 -8
  13. package/src/drop-down-button/drop-down-button.js +6 -1
  14. package/src/progress-button/progress-button.js +3 -3
  15. package/src/split-button/split-button.js +2 -1
  16. package/styles/bootstrap-dark.css +302 -110
  17. package/styles/bootstrap-dark.scss +14 -4
  18. package/styles/bootstrap.css +302 -110
  19. package/styles/bootstrap.scss +14 -4
  20. package/styles/bootstrap4.css +266 -93
  21. package/styles/bootstrap4.scss +14 -4
  22. package/styles/bootstrap5-dark.css +266 -187
  23. package/styles/bootstrap5-dark.scss +14 -4
  24. package/styles/bootstrap5.css +266 -187
  25. package/styles/bootstrap5.scss +14 -4
  26. package/styles/button-group/_bootstrap-dark-definition.scss +0 -2
  27. package/styles/button-group/_bootstrap5.3-definition.scss +31 -0
  28. package/styles/button-group/_fabric-dark-definition.scss +0 -2
  29. package/styles/button-group/_fluent2-definition.scss +31 -0
  30. package/styles/button-group/_group-button-mixin.scss +21 -0
  31. package/styles/button-group/_highcontrast-light-definition.scss +0 -2
  32. package/styles/button-group/_layout.scss +5 -13
  33. package/styles/button-group/_material-dark-definition.scss +0 -2
  34. package/styles/button-group/_theme.scss +32 -85
  35. package/styles/button-group/bootstrap-dark.css +132 -70
  36. package/styles/button-group/bootstrap.css +132 -70
  37. package/styles/button-group/bootstrap4.css +108 -59
  38. package/styles/button-group/bootstrap5-dark.css +108 -59
  39. package/styles/button-group/bootstrap5.css +108 -59
  40. package/styles/button-group/fabric-dark.css +132 -70
  41. package/styles/button-group/fabric.css +137 -75
  42. package/styles/button-group/fluent-dark.css +148 -78
  43. package/styles/button-group/fluent.css +148 -78
  44. package/styles/button-group/fluent2.css +1849 -0
  45. package/styles/button-group/fluent2.scss +4 -0
  46. package/styles/button-group/highcontrast-light.css +132 -70
  47. package/styles/button-group/highcontrast.css +132 -70
  48. package/styles/button-group/material-dark.css +146 -77
  49. package/styles/button-group/material.css +148 -78
  50. package/styles/button-group/material3-dark.css +190 -90
  51. package/styles/button-group/material3.css +190 -90
  52. package/styles/button-group/tailwind-dark.css +130 -70
  53. package/styles/button-group/tailwind.css +130 -70
  54. package/styles/drop-down-button/_bds-definition.scss +5 -5
  55. package/styles/drop-down-button/_bootstrap-dark-definition.scss +0 -3
  56. package/styles/drop-down-button/_bootstrap5-definition.scss +0 -1
  57. package/styles/drop-down-button/_bootstrap5.3-definition.scss +49 -0
  58. package/styles/drop-down-button/_fabric-dark-definition.scss +0 -3
  59. package/styles/drop-down-button/_fluent-definition.scss +0 -1
  60. package/styles/drop-down-button/_fluent2-definition.scss +48 -0
  61. package/styles/drop-down-button/_fusionnew-definition.scss +0 -1
  62. package/styles/drop-down-button/_highcontrast-light-definition.scss +0 -3
  63. package/styles/drop-down-button/_layout.scss +51 -6
  64. package/styles/drop-down-button/_material-dark-definition.scss +0 -3
  65. package/styles/drop-down-button/_material3-definition.scss +0 -1
  66. package/styles/drop-down-button/_tailwind-definition.scss +0 -1
  67. package/styles/drop-down-button/_theme.scss +8 -8
  68. package/styles/drop-down-button/bootstrap-dark.css +27 -14
  69. package/styles/drop-down-button/bootstrap.css +27 -14
  70. package/styles/drop-down-button/bootstrap4.css +23 -12
  71. package/styles/drop-down-button/bootstrap5-dark.css +23 -12
  72. package/styles/drop-down-button/bootstrap5.css +23 -12
  73. package/styles/drop-down-button/fabric-dark.css +27 -14
  74. package/styles/drop-down-button/fabric.css +27 -14
  75. package/styles/drop-down-button/fluent-dark.css +27 -14
  76. package/styles/drop-down-button/fluent.css +27 -14
  77. package/styles/drop-down-button/fluent2.css +1308 -0
  78. package/styles/drop-down-button/fluent2.scss +6 -0
  79. package/styles/drop-down-button/highcontrast-light.css +27 -14
  80. package/styles/drop-down-button/highcontrast.css +27 -14
  81. package/styles/drop-down-button/icons/_bootstrap5.3.scss +10 -0
  82. package/styles/drop-down-button/icons/_fluent2.scss +10 -0
  83. package/styles/drop-down-button/material-dark.css +27 -14
  84. package/styles/drop-down-button/material.css +27 -14
  85. package/styles/drop-down-button/material3-dark.css +33 -17
  86. package/styles/drop-down-button/material3.css +33 -17
  87. package/styles/drop-down-button/tailwind-dark.css +27 -14
  88. package/styles/drop-down-button/tailwind.css +27 -14
  89. package/styles/fabric-dark.css +302 -110
  90. package/styles/fabric-dark.scss +14 -4
  91. package/styles/fabric.css +307 -115
  92. package/styles/fabric.scss +14 -4
  93. package/styles/fluent-dark.css +310 -115
  94. package/styles/fluent-dark.scss +14 -4
  95. package/styles/fluent.css +310 -115
  96. package/styles/fluent.scss +14 -4
  97. package/styles/fluent2.css +3072 -0
  98. package/styles/fluent2.scss +14 -0
  99. package/styles/highcontrast-light.css +302 -110
  100. package/styles/highcontrast-light.scss +14 -4
  101. package/styles/highcontrast.css +302 -110
  102. package/styles/highcontrast.scss +14 -4
  103. package/styles/material-dark.css +316 -117
  104. package/styles/material-dark.scss +14 -4
  105. package/styles/material.css +318 -118
  106. package/styles/material.scss +14 -4
  107. package/styles/material3-dark.css +396 -147
  108. package/styles/material3-dark.scss +14 -4
  109. package/styles/material3.css +392 -145
  110. package/styles/material3.scss +14 -4
  111. package/styles/progress-button/_bootstrap-dark-definition.scss +0 -3
  112. package/styles/progress-button/_bootstrap5-definition.scss +0 -1
  113. package/styles/progress-button/_bootstrap5.3-definition.scss +20 -0
  114. package/styles/progress-button/_fabric-dark-definition.scss +0 -3
  115. package/styles/progress-button/_fluent-definition.scss +0 -1
  116. package/styles/progress-button/_fluent2-definition.scss +26 -0
  117. package/styles/progress-button/_fusionnew-definition.scss +0 -1
  118. package/styles/progress-button/_layout.scss +0 -2
  119. package/styles/progress-button/_material-dark-definition.scss +0 -3
  120. package/styles/progress-button/_material3-definition.scss +0 -1
  121. package/styles/progress-button/_tailwind-definition.scss +0 -1
  122. package/styles/progress-button/_theme.scss +115 -50
  123. package/styles/progress-button/bootstrap-dark.css +118 -13
  124. package/styles/progress-button/bootstrap.css +118 -13
  125. package/styles/progress-button/bootstrap4.css +118 -13
  126. package/styles/progress-button/bootstrap5-dark.css +118 -106
  127. package/styles/progress-button/bootstrap5.css +118 -106
  128. package/styles/progress-button/fabric-dark.css +118 -13
  129. package/styles/progress-button/fabric.css +118 -13
  130. package/styles/progress-button/fluent-dark.css +118 -13
  131. package/styles/progress-button/fluent.css +118 -13
  132. package/styles/progress-button/fluent2.css +1636 -0
  133. package/styles/progress-button/fluent2.scss +5 -0
  134. package/styles/progress-button/highcontrast-light.css +118 -13
  135. package/styles/progress-button/highcontrast.css +118 -13
  136. package/styles/progress-button/material-dark.css +118 -13
  137. package/styles/progress-button/material.css +118 -13
  138. package/styles/progress-button/material3-dark.css +119 -14
  139. package/styles/progress-button/material3.css +119 -14
  140. package/styles/progress-button/tailwind-dark.css +118 -13
  141. package/styles/progress-button/tailwind.css +118 -13
  142. package/styles/split-button/_bds-definition.scss +0 -1
  143. package/styles/split-button/_bootstrap-dark-definition.scss +0 -3
  144. package/styles/split-button/_bootstrap4-definition.scss +0 -3
  145. package/styles/split-button/_bootstrap5-definition.scss +0 -1
  146. package/styles/split-button/_bootstrap5.3-definition.scss +23 -0
  147. package/styles/split-button/_fabric-dark-definition.scss +0 -3
  148. package/styles/split-button/_fluent-definition.scss +0 -1
  149. package/styles/split-button/_fluent2-definition.scss +23 -0
  150. package/styles/split-button/_fusionnew-definition.scss +0 -1
  151. package/styles/split-button/_highcontrast-light-definition.scss +0 -3
  152. package/styles/split-button/_layout.scss +16 -4
  153. package/styles/split-button/_theme.scss +0 -2
  154. package/styles/split-button/bootstrap-dark.css +25 -13
  155. package/styles/split-button/bootstrap.css +25 -13
  156. package/styles/split-button/bootstrap4.css +17 -9
  157. package/styles/split-button/bootstrap5-dark.css +17 -9
  158. package/styles/split-button/bootstrap5.css +17 -9
  159. package/styles/split-button/fabric-dark.css +25 -13
  160. package/styles/split-button/fabric.css +25 -13
  161. package/styles/split-button/fluent-dark.css +17 -9
  162. package/styles/split-button/fluent.css +17 -9
  163. package/styles/split-button/fluent2.css +1379 -0
  164. package/styles/split-button/fluent2.scss +6 -0
  165. package/styles/split-button/highcontrast-light.css +25 -13
  166. package/styles/split-button/highcontrast.css +25 -13
  167. package/styles/split-button/material-dark.css +25 -13
  168. package/styles/split-button/material.css +25 -13
  169. package/styles/split-button/material3-dark.css +57 -28
  170. package/styles/split-button/material3.css +53 -26
  171. package/styles/split-button/tailwind-dark.css +25 -13
  172. package/styles/split-button/tailwind.css +25 -13
  173. package/styles/tailwind-dark.css +300 -111
  174. package/styles/tailwind-dark.scss +14 -4
  175. package/styles/tailwind.css +300 -111
  176. package/styles/tailwind.scss +14 -4
  177. package/CHANGELOG.md +0 -367
@@ -1,4 +1,14 @@
1
- @import 'drop-down-button/bootstrap5.scss';
2
- @import 'split-button/bootstrap5.scss';
3
- @import 'button-group/bootstrap5.scss';
4
- @import 'progress-button/bootstrap5.scss';
1
+ @import 'ej2-base/styles/definition/bootstrap5.scss';
2
+ @import 'ej2-buttons/styles/button/bootstrap5-definition.scss';
3
+ @import 'ej2-popups/styles/popup/bootstrap5-definition.scss';
4
+ @import 'drop-down-button/bootstrap5-definition.scss';
5
+ @import 'drop-down-button/icons/bootstrap5.scss';
6
+ @import 'drop-down-button/all.scss';
7
+
8
+ @import 'split-button/bootstrap5-definition.scss';
9
+ @import 'split-button/all.scss';
10
+ @import 'button-group/bootstrap5-definition.scss';
11
+ @import 'button-group/all.scss';
12
+ @import 'ej2-popups/styles/spinner/bootstrap5-definition.scss';
13
+ @import 'progress-button/bootstrap5-definition.scss';
14
+ @import 'progress-button/all.scss';
@@ -29,5 +29,3 @@ $btn-grp-outline-focus-warning-color: inherit !default;
29
29
  //Outline danger
30
30
  $btn-grp-outline-danger-focus-border-color: inherit !default;
31
31
  $btn-grp-outline-focus-danger-color: inherit !default;
32
-
33
- //enddefault
@@ -0,0 +1,31 @@
1
+ //layout variables
2
+ $btn-grp-margin: -1px !default;
3
+ $btn-grp-margin-left: -1px !default;
4
+ $btn-grp-wrapper-border: 4px !default;
5
+ $btn-grp-round-radius: 20px !default;
6
+ $btn-grp-icon-font-size: $text-base !default;
7
+ $btn-grp-icon-font-size-bigger: $text-xl !default;
8
+
9
+ //Normal Outline GroupButton
10
+ $btn-grp-outline-focus-border-color: $secondary-border-color !default;
11
+ $btn-grp-outline-focus-color: inherit !default;
12
+
13
+ //Outline Primary
14
+ $btn-grp-outline-primary-focus-border-color: $primary !default;
15
+ $btn-grp-outline-focus-primary-color: inherit !default;
16
+
17
+ //Outline Success
18
+ $btn-grp-outline-success-focus-border-color: $btn-success-focus-border-color !default;
19
+ $btn-grp-outline-focus-success-color: inherit !default;
20
+
21
+ //Outline Info
22
+ $btn-grp-outline-info-focus-border-color: $btn-info-focus-border-color !default;
23
+ $btn-grp-outline-focus-info-color: inherit !default;
24
+
25
+ //Outline warning
26
+ $btn-grp-outline-warning-focus-border-color: $btn-warning-focus-border-color !default;
27
+ $btn-grp-outline-focus-warning-color: inherit !default;
28
+
29
+ //Outline danger
30
+ $btn-grp-outline-danger-focus-border-color: $btn-danger-focus-border-color !default;
31
+ $btn-grp-outline-focus-danger-color: inherit !default;
@@ -29,5 +29,3 @@ $btn-grp-outline-focus-warning-color: $btn-warning-active-color !default;
29
29
  //Outline danger
30
30
  $btn-grp-outline-danger-focus-border-color: inherit !default;
31
31
  $btn-grp-outline-focus-danger-color: $btn-danger-active-color !default;
32
-
33
- //enddefault
@@ -0,0 +1,31 @@
1
+ //layout variables
2
+ $btn-grp-margin: -1px !default;
3
+ $btn-grp-margin-left: -1px !default;
4
+ $btn-grp-wrapper-border: 4px !default;
5
+ $btn-grp-round-radius: 20px !default;
6
+ $btn-grp-icon-font-size: $text-sm !default;
7
+ $btn-grp-icon-font-size-bigger: 16px !default;
8
+
9
+ //Normal Outline GroupButton
10
+ $btn-grp-outline-focus-border-color: $secondary-border-color !default;
11
+ $btn-grp-outline-focus-color: inherit !default;
12
+
13
+ //Outline Primary
14
+ $btn-grp-outline-primary-focus-border-color: $primary !default;
15
+ $btn-grp-outline-focus-primary-color: inherit !default;
16
+
17
+ //Outline Success
18
+ $btn-grp-outline-success-focus-border-color: $btn-success-focus-border-color !default;
19
+ $btn-grp-outline-focus-success-color: inherit !default;
20
+
21
+ //Outline Info
22
+ $btn-grp-outline-info-focus-border-color: $btn-info-focus-border-color !default;
23
+ $btn-grp-outline-focus-info-color: inherit !default;
24
+
25
+ //Outline warning
26
+ $btn-grp-outline-warning-focus-border-color: $btn-warning-focus-border-color !default;
27
+ $btn-grp-outline-focus-warning-color: inherit !default;
28
+
29
+ //Outline danger
30
+ $btn-grp-outline-danger-focus-border-color: $btn-danger-focus-border-color !default;
31
+ $btn-grp-outline-focus-danger-color: inherit !default;
@@ -70,3 +70,24 @@
70
70
  box-shadow: $btn-flat-box-shadow;
71
71
  color: $btn-disabled-color;
72
72
  }
73
+
74
+ @mixin box-shadow-theme {
75
+ @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
76
+ box-shadow: none;
77
+ }
78
+ @if $skin-name == 'fabric' {
79
+ border-color: transparent;
80
+ }
81
+ }
82
+
83
+ @mixin outline-box-shadow-theme {
84
+ @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
85
+ box-shadow: none;
86
+ }
87
+ }
88
+
89
+ @mixin Mat3-box-shadow-none {
90
+ @if $skin-name == 'Material3' {
91
+ box-shadow: none;
92
+ }
93
+ }
@@ -31,5 +31,3 @@ $btn-grp-outline-focus-warning-color: inherit !default;
31
31
  //Outline danger
32
32
  $btn-grp-outline-danger-focus-border-color: inherit !default;
33
33
  $btn-grp-outline-focus-danger-color: inherit !default;
34
-
35
- //enddefault
@@ -48,7 +48,7 @@
48
48
  // Sharp corner for sides individual Button and SplitButton
49
49
  &:not(.e-rtl):not(.e-vertical) {
50
50
  .e-btn {
51
- @if $skin-name != 'Material3' {
51
+ @if $skin-name != 'Material3' and $skin-name != 'fluent2' {
52
52
  margin-left: $btn-grp-margin-left;
53
53
  }
54
54
 
@@ -56,7 +56,8 @@
56
56
  border-radius: 0;
57
57
  }
58
58
 
59
- &:first-of-type {
59
+ &:first-of-type,
60
+ &:last-of-type:not(:last-child) {
60
61
  border-bottom-right-radius: 0;
61
62
  border-top-right-radius: 0;
62
63
  }
@@ -65,11 +66,6 @@
65
66
  border-bottom-left-radius: 0;
66
67
  border-top-left-radius: 0;
67
68
  }
68
-
69
- &:last-of-type:not(:last-child) {
70
- border-bottom-right-radius: 0;
71
- border-top-right-radius: 0;
72
- }
73
69
  }
74
70
 
75
71
  .e-split-btn-wrapper {
@@ -115,7 +111,8 @@
115
111
  border-radius: 0;
116
112
  }
117
113
 
118
- &:first-of-type {
114
+ &:first-of-type,
115
+ &:last-of-type:not(:last-child) {
119
116
  border-bottom-left-radius: 0;
120
117
  border-top-left-radius: 0;
121
118
  }
@@ -124,11 +121,6 @@
124
121
  border-bottom-right-radius: 0;
125
122
  border-top-right-radius: 0;
126
123
  }
127
-
128
- &:last-of-type:not(:last-child) {
129
- border-bottom-left-radius: 0;
130
- border-top-left-radius: 0;
131
- }
132
124
  }
133
125
 
134
126
  .e-split-btn-wrapper {
@@ -29,5 +29,3 @@ $btn-grp-outline-focus-warning-color: inherit !default;
29
29
  //Outline danger
30
30
  $btn-grp-outline-danger-focus-border-color: inherit !default;
31
31
  $btn-grp-outline-focus-danger-color: inherit !default;
32
-
33
- //enddefault
@@ -50,9 +50,17 @@
50
50
  }
51
51
  }
52
52
 
53
+ @if $skin-name == 'fluent2' {
54
+ .e-btn:focus-visible,
55
+ input:focus-visible+label.e-btn { // only for keybord
56
+ box-shadow: $btn-keyboard-focus-box-shadow !important;
57
+ }
58
+ }
59
+
53
60
  //Focus state for Normal and Outline GroupButton
54
61
  .e-btn:focus,
55
- input:focus-visible+label.e-btn {
62
+ input:focus-visible+label.e-btn,
63
+ input:focus+label.e-btn {
56
64
  @include button-focus;
57
65
  @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
58
66
  box-shadow: none;
@@ -71,72 +79,47 @@
71
79
 
72
80
  &.e-primary {
73
81
  @include primary-focus;
74
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
75
- box-shadow: none;
76
- }
82
+ @include box-shadow-theme;
77
83
  @if $skin-name == 'bootstrap5' {
78
84
  border-color: $btn-primary-focus-bgcolor;
79
85
  }
80
86
  outline-color: $btn-grp-outline-focus-primary-color;
81
- @if $skin-name == 'fabric' {
82
- border-color: transparent;
83
- }
84
87
  }
85
88
 
86
89
  &.e-success {
87
90
  @include success-focus;
88
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
89
- box-shadow: none;
90
- }
91
+ @include box-shadow-theme;
91
92
  @if $skin-name == 'bootstrap5' {
92
93
  border-color: $btn-success-focus-bgcolor;
93
94
  }
94
95
  outline-color: $btn-grp-outline-focus-success-color;
95
- @if $skin-name == 'fabric' {
96
- border-color: transparent;
97
- }
98
96
  }
99
97
 
100
98
  &.e-info {
101
99
  @include info-focus;
102
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
103
- box-shadow: none;
104
- }
100
+ @include box-shadow-theme;
105
101
  @if $skin-name == 'bootstrap5' {
106
102
  border-color: $btn-info-focus-bgcolor;
107
103
  }
108
104
  outline-color: $btn-grp-outline-focus-info-color;
109
- @if $skin-name == 'fabric' {
110
- border-color: transparent;
111
- }
112
105
  }
113
106
 
114
107
  &.e-warning {
115
108
  @include warning-focus;
116
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
117
- box-shadow: none;
118
- }
109
+ @include box-shadow-theme;
119
110
  @if $skin-name == 'bootstrap5' {
120
111
  border-color: $btn-warning-focus-bgcolor;
121
112
  }
122
113
  outline-color: $btn-grp-outline-focus-warning-color;
123
- @if $skin-name == 'fabric' {
124
- border-color: transparent;
125
- }
126
114
  }
127
115
 
128
116
  &.e-danger {
129
117
  @include danger-focus;
130
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
131
- box-shadow: none;
132
- }
118
+ @include box-shadow-theme;
133
119
  @if $skin-name == 'bootstrap5' {
134
120
  border-color: $btn-danger-focus-bgcolor;
135
121
  }
136
122
  outline-color: $btn-grp-outline-focus-danger-color;
137
- @if $skin-name == 'fabric' {
138
- border-color: transparent;
139
- }
140
123
  }
141
124
 
142
125
  &.e-link {
@@ -149,18 +132,14 @@
149
132
 
150
133
  &.e-outline {
151
134
  @include outline-focus;
152
- @if $skin-name != 'bootstrap5' $skin-name != 'bootstrap4' and and $skin-name != 'tailwind' {
153
- box-shadow: none;
154
- }
135
+ @include outline-box-shadow-theme;
155
136
  @if $skin-name == 'bootstrap5' {
156
137
  border-color: $btn-outline-focus-bgcolor;
157
138
  }
158
139
 
159
140
  &.e-primary {
160
141
  @include outline-primary-focus;
161
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
162
- box-shadow: none;
163
- }
142
+ @include outline-box-shadow-theme;
164
143
  @if $skin-name == 'bootstrap5' {
165
144
  border-color: $btn-outline-primary-focus-bgcolor;
166
145
  }
@@ -168,9 +147,7 @@
168
147
 
169
148
  &.e-success {
170
149
  @include outline-success-focus;
171
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
172
- box-shadow: none;
173
- }
150
+ @include outline-box-shadow-theme;
174
151
  @if $skin-name == 'bootstrap5' {
175
152
  border-color: $btn-success-focus-bgcolor;
176
153
  }
@@ -178,9 +155,7 @@
178
155
 
179
156
  &.e-info {
180
157
  @include outline-info-focus;
181
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
182
- box-shadow: none;
183
- }
158
+ @include outline-box-shadow-theme;
184
159
  @if $skin-name == 'bootstrap5' {
185
160
  border-color: $btn-info-hover-bgcolor;
186
161
  }
@@ -188,9 +163,7 @@
188
163
 
189
164
  &.e-warning {
190
165
  @include outline-warning-focus;
191
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
192
- box-shadow: none;
193
- }
166
+ @include outline-box-shadow-theme;
194
167
  @if $skin-name == 'bootstrap5' {
195
168
  border-color: $btn-warning-hover-bgcolor;
196
169
  }
@@ -198,9 +171,7 @@
198
171
 
199
172
  &.e-danger {
200
173
  @include outline-danger-focus;
201
- @if $skin-name != 'bootstrap5' and $skin-name != 'bootstrap4' and $skin-name != 'tailwind' {
202
- box-shadow: none;
203
- }
174
+ @include outline-box-shadow-theme;
204
175
  @if $skin-name == 'bootstrap5' {
205
176
  border-color: $btn-danger-hover-bgcolor;
206
177
  }
@@ -213,84 +184,60 @@
213
184
  input:active+label.e-btn,
214
185
  input:checked+label.e-btn {
215
186
  @include button-active;
216
- @if $skin-name == 'Material3' {
217
- box-shadow: none;
218
- }
187
+ @include Mat3-box-shadow-none;
219
188
 
220
189
  &.e-primary {
221
190
  @include primary-active;
222
- @if $skin-name == 'Material3' {
223
- box-shadow: none;
224
- }
191
+ @include Mat3-box-shadow-none;
225
192
  }
226
193
 
227
194
  &.e-success {
228
195
  @include success-active;
229
- @if $skin-name == 'Material3' {
230
- box-shadow: none;
231
- }
196
+ @include Mat3-box-shadow-none;
232
197
  }
233
198
 
234
199
  &.e-info {
235
200
  @include info-active;
236
- @if $skin-name == 'Material3' {
237
- box-shadow: none;
238
- }
201
+ @include Mat3-box-shadow-none;
239
202
  }
240
203
 
241
204
  &.e-warning {
242
205
  @include warning-active;
243
- @if $skin-name == 'Material3' {
244
- box-shadow: none;
245
- }
206
+ @include Mat3-box-shadow-none;
246
207
  }
247
208
 
248
209
  &.e-danger {
249
210
  @include danger-active;
250
- @if $skin-name == 'Material3' {
251
- box-shadow: none;
252
- }
211
+ @include Mat3-box-shadow-none;
253
212
  }
254
213
 
255
214
  &.e-outline {
256
215
  @include outline-active;
257
- @if $skin-name == 'Material3' {
258
- box-shadow: none;
259
- }
216
+ @include Mat3-box-shadow-none;
260
217
 
261
218
  &.e-primary {
262
219
  @include outline-primary-active;
263
- @if $skin-name == 'Material3' {
264
- box-shadow: none;
265
- }
220
+ @include Mat3-box-shadow-none;
266
221
  }
267
222
 
268
223
  &.e-success {
269
224
  @include outline-success-active;
270
- @if $skin-name == 'Material3' {
271
- box-shadow: none;
272
- }
225
+ @include Mat3-box-shadow-none;
273
226
  }
274
227
 
275
228
  &.e-info {
276
229
  @include outline-info-active;
277
- @if $skin-name == 'Material3' {
278
- box-shadow: none;
279
- }
230
+ @include Mat3-box-shadow-none;
280
231
  }
281
232
 
282
233
  &.e-warning {
283
234
  @include outline-warning-active;
284
- @if $skin-name == 'Material3' {
285
- box-shadow: none;
286
- }
235
+ @include Mat3-box-shadow-none;
287
236
  }
288
237
 
289
238
  &.e-danger {
290
239
  @include outline-danger-active;
291
- @if $skin-name == 'Material3' {
292
- box-shadow: none;
293
- }
240
+ @include Mat3-box-shadow-none;
294
241
  }
295
242
  }
296
243
  }