@syncfusion/ej2-splitbuttons 27.2.2 → 28.1.37

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 (112) hide show
  1. package/README.md +4 -4
  2. package/dist/ej2-splitbuttons.min.js +3 -3
  3. package/dist/ej2-splitbuttons.umd.min.js +3 -3
  4. package/dist/ej2-splitbuttons.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-splitbuttons.es2015.js +140 -46
  6. package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
  7. package/dist/es6/ej2-splitbuttons.es5.js +146 -46
  8. package/dist/es6/ej2-splitbuttons.es5.js.map +1 -1
  9. package/dist/global/ej2-splitbuttons.min.js +3 -3
  10. package/dist/global/ej2-splitbuttons.min.js.map +1 -1
  11. package/dist/global/index.d.ts +2 -2
  12. package/package.json +8 -12
  13. package/src/common/common.d.ts +5 -0
  14. package/src/common/common.js +2 -2
  15. package/src/drop-down-button/drop-down-button-model.d.ts +63 -1
  16. package/src/drop-down-button/drop-down-button.d.ts +60 -3
  17. package/src/drop-down-button/drop-down-button.js +146 -45
  18. package/styles/bds-lite.css +1937 -0
  19. package/styles/bds-lite.scss +13 -0
  20. package/styles/bds.css +2148 -0
  21. package/styles/bds.scss +17 -0
  22. package/styles/bootstrap-dark-lite.css +11 -0
  23. package/styles/bootstrap-dark.css +11 -1
  24. package/styles/bootstrap-lite.css +11 -0
  25. package/styles/bootstrap.css +11 -1
  26. package/styles/bootstrap4-lite.css +11 -0
  27. package/styles/bootstrap4.css +11 -1
  28. package/styles/bootstrap5-dark-lite.css +11 -0
  29. package/styles/bootstrap5-dark.css +11 -1
  30. package/styles/bootstrap5-lite.css +11 -0
  31. package/styles/bootstrap5.3-lite.css +11 -0
  32. package/styles/bootstrap5.3.css +11 -1
  33. package/styles/bootstrap5.css +11 -1
  34. package/styles/button-group/_group-button-mixin.scss +2 -2
  35. package/styles/button-group/_layout.scss +1 -1
  36. package/styles/button-group/_tailwind3-definition.scss +31 -0
  37. package/styles/button-group/_theme.scss +83 -12
  38. package/styles/button-group/bds.css +861 -0
  39. package/styles/button-group/bds.scss +5 -0
  40. package/styles/button-group/tailwind3.css +847 -0
  41. package/styles/button-group/tailwind3.scss +5 -0
  42. package/styles/drop-down-button/_bigger.scss +20 -0
  43. package/styles/drop-down-button/_layout.scss +36 -3
  44. package/styles/drop-down-button/_tailwind3-definition.scss +53 -0
  45. package/styles/drop-down-button/_theme.scss +7 -0
  46. package/styles/drop-down-button/bds.css +372 -0
  47. package/styles/drop-down-button/bds.scss +7 -0
  48. package/styles/drop-down-button/bootstrap-dark.css +11 -1
  49. package/styles/drop-down-button/bootstrap.css +11 -1
  50. package/styles/drop-down-button/bootstrap4.css +11 -1
  51. package/styles/drop-down-button/bootstrap5-dark.css +11 -1
  52. package/styles/drop-down-button/bootstrap5.3.css +11 -1
  53. package/styles/drop-down-button/bootstrap5.css +11 -1
  54. package/styles/drop-down-button/fabric-dark.css +11 -1
  55. package/styles/drop-down-button/fabric.css +11 -1
  56. package/styles/drop-down-button/fluent-dark.css +11 -1
  57. package/styles/drop-down-button/fluent.css +11 -1
  58. package/styles/drop-down-button/fluent2.css +11 -1
  59. package/styles/drop-down-button/highcontrast-light.css +11 -1
  60. package/styles/drop-down-button/highcontrast.css +11 -1
  61. package/styles/drop-down-button/icons/_tailwind3.scss +10 -0
  62. package/styles/drop-down-button/material-dark.css +11 -1
  63. package/styles/drop-down-button/material.css +11 -1
  64. package/styles/drop-down-button/material3-dark.css +11 -1
  65. package/styles/drop-down-button/material3.css +11 -1
  66. package/styles/drop-down-button/tailwind-dark.css +11 -1
  67. package/styles/drop-down-button/tailwind.css +11 -1
  68. package/styles/drop-down-button/tailwind3.css +295 -0
  69. package/styles/drop-down-button/tailwind3.scss +7 -0
  70. package/styles/fabric-dark-lite.css +11 -0
  71. package/styles/fabric-dark.css +11 -1
  72. package/styles/fabric-lite.css +11 -0
  73. package/styles/fabric.css +11 -1
  74. package/styles/fluent-dark-lite.css +11 -0
  75. package/styles/fluent-dark.css +11 -1
  76. package/styles/fluent-lite.css +11 -0
  77. package/styles/fluent.css +11 -1
  78. package/styles/fluent2-lite.css +11 -0
  79. package/styles/fluent2.css +11 -1
  80. package/styles/highcontrast-light-lite.css +11 -0
  81. package/styles/highcontrast-light.css +11 -1
  82. package/styles/highcontrast-lite.css +11 -0
  83. package/styles/highcontrast.css +11 -1
  84. package/styles/material-dark-lite.css +11 -0
  85. package/styles/material-dark.css +11 -1
  86. package/styles/material-lite.css +11 -0
  87. package/styles/material.css +11 -1
  88. package/styles/material3-dark-lite.css +11 -0
  89. package/styles/material3-dark.css +11 -1
  90. package/styles/material3-lite.css +11 -0
  91. package/styles/material3.css +11 -1
  92. package/styles/progress-button/_tailwind3-definition.scss +20 -0
  93. package/styles/progress-button/_theme.scss +70 -0
  94. package/styles/progress-button/bds.css +683 -0
  95. package/styles/progress-button/bds.scss +6 -0
  96. package/styles/progress-button/tailwind3.css +636 -0
  97. package/styles/progress-button/tailwind3.scss +6 -0
  98. package/styles/split-button/_layout.scss +2 -2
  99. package/styles/split-button/_tailwind3-definition.scss +23 -0
  100. package/styles/split-button/_theme.scss +6 -1
  101. package/styles/split-button/bds.css +461 -0
  102. package/styles/split-button/bds.scss +7 -0
  103. package/styles/split-button/tailwind3.css +342 -0
  104. package/styles/split-button/tailwind3.scss +7 -0
  105. package/styles/tailwind-dark-lite.css +11 -0
  106. package/styles/tailwind-dark.css +11 -1
  107. package/styles/tailwind-lite.css +11 -0
  108. package/styles/tailwind.css +11 -1
  109. package/styles/tailwind3-lite.css +1891 -0
  110. package/styles/tailwind3-lite.scss +13 -0
  111. package/styles/tailwind3.css +2110 -0
  112. package/styles/tailwind3.scss +17 -0
@@ -0,0 +1,5 @@
1
+ @import 'ej2-base/styles/definition/tailwind3.scss';
2
+ @import 'ej2-buttons/styles/button/tailwind3-definition.scss';
3
+ @import 'tailwind3-definition.scss';
4
+ @import 'all.scss';
5
+ @import 'bigger.scss';
@@ -19,6 +19,26 @@
19
19
  line-height: 1;
20
20
  padding: $drop-down-btn-vertical-bigger-padding;
21
21
  }
22
+ .e-btn-icon {
23
+ @if $skin-name == 'tailwind3' {
24
+ font-size: $drop-down-btn-icon-font-size-bigger;
25
+ }
26
+ }
27
+ }
28
+ }
29
+
30
+ .e-bigger .e-small.e-dropdown-popup ul,
31
+ .e-bigger.e-small.e-dropdown-popup ul {
32
+ & .e-item {
33
+ @if $skin-name == 'tailwind3' {
34
+ height: $drop-down-btn-bigger-small-li-height;
35
+ font-size: $drop-down-btn-bigger-font-size;
36
+ line-height: $drop-down-btn-bigger-small-li-height;
37
+ .e-menu-icon {
38
+ font-size: $drop-down-btn-icon-font-size-bigger;
39
+ line-height: $drop-down-btn-bigger-small-li-height;
40
+ }
41
+ }
22
42
  }
23
43
  }
24
44
 
@@ -1,7 +1,7 @@
1
1
  @include export-module('drop-down-button-layout') {
2
2
  .e-dropdown-btn,
3
3
  .e-dropdown-btn.e-btn {
4
- @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' and $skin-name != 'bootstrap5.3' and $skin-name != 'fluent2' {
4
+ @if $skin-name != 'bootstrap4' and $skin-name != 'bootstrap5' and $skin-name != 'bootstrap5.3' and $skin-name != 'fluent2' and $skin-name != 'tailwind3' {
5
5
  box-shadow: none;
6
6
  }
7
7
  text-transform: none;
@@ -23,7 +23,9 @@
23
23
  box-shadow: $drop-down-btn-box-shadow;
24
24
  }
25
25
  @else {
26
- box-shadow: none;
26
+ @if $skin-name != 'tailwind3' {
27
+ box-shadow: none;
28
+ }
27
29
  }
28
30
  }
29
31
 
@@ -76,6 +78,12 @@
76
78
  padding: $drop-down-btn-vertical-btn-padding;
77
79
  }
78
80
 
81
+ & .e-btn-icon {
82
+ @if $skin-name == 'tailwind3' {
83
+ font-size: $drop-down-btn-small-icon-font-size;
84
+ }
85
+ }
86
+
79
87
  & .e-btn-icon.e-caret {
80
88
  @if $skin-name == 'fluent2' {
81
89
  font-size: 12px;
@@ -84,6 +92,20 @@
84
92
  }
85
93
  }
86
94
 
95
+ .e-small.e-dropdown-popup ul {
96
+ & .e-item {
97
+ @if $skin-name == 'tailwind3' {
98
+ height: $drop-down-btn-small-li-height;
99
+ font-size: $drop-down-btn-small-font-size;
100
+ line-height: $drop-down-btn-small-li-height;
101
+ .e-menu-icon {
102
+ font-size: $drop-down-btn-small-icon-font-size;
103
+ line-height: $drop-down-btn-small-li-height;
104
+ }
105
+ }
106
+ }
107
+ }
108
+
87
109
  .e-dropdown-popup {
88
110
  position: absolute;
89
111
  @if $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' or $theme-name == 'tailwind-dark' or $theme-name == 'bootstrap5-dark' {
@@ -159,7 +181,7 @@
159
181
  @if $skin-name == 'Material3' {
160
182
  box-shadow: $drop-down-btn-sub-ul-box-shadow;
161
183
  }
162
- @if $skin-name == 'fluent2' {
184
+ @if $skin-name == 'fluent2' or $skin-name == 'tailwind3' {
163
185
  color: $flyout-text-color-disabled;
164
186
  opacity: 1;
165
187
 
@@ -206,4 +228,15 @@
206
228
  margin-right: 0;
207
229
  }
208
230
  }
231
+
232
+ .e-dropdown-popup-width ul {
233
+ min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
234
+ }
235
+
236
+ .e-dropdown-popup-width ul li {
237
+ overflow: hidden;
238
+ white-space: nowrap;
239
+ text-overflow: ellipsis;
240
+ display: block !important; /* stylelint-disable-line declaration-no-important */
241
+ }
209
242
  }
@@ -0,0 +1,53 @@
1
+ $drop-down-btn-arrow-content: '\e70d' !default;
2
+ $drop-down-btn-vertical-btn-padding: 6px 12px !default;
3
+ $drop-down-btn-vertical-bigger-padding: 8px 16px !default;
4
+ $drop-down-btn-bigger-font-size: $text-base !default;
5
+ $drop-down-btn-bigger-li-height: 40px !default;
6
+ $drop-down-btn-bigger-small-li-height: 32px !default;
7
+ $drop-down-btn-bigger-max-width: 202px !default;
8
+ $drop-down-btn-bigger-min-width: 112px !default;
9
+ $drop-down-btn-icon-font-size: $text-sm !default;
10
+ $drop-down-btn-small-icon-font-size: $text-xs !default;
11
+ $drop-down-btn-icon-margin-right: 11px !default;
12
+ $drop-down-btn-bigger-icon-margin-right: 12px !default;
13
+ $drop-down-btn-li-border-width: 1px !default;
14
+ $drop-down-btn-li-height: 32px !default;
15
+ $drop-down-btn-small-li-height: 24px !default;
16
+ $drop-down-btn-li-padding: 0 12px !default;
17
+ $drop-down-btn-bigger-li-padding: 0 16px !default;
18
+ $drop-down-btn-small-li-padding: 0 8px !default;
19
+ $drop-down-btn-max-width: 178px !default;
20
+ $drop-down-btn-menu-icon-bigger-font-size: 16px !default;
21
+ $drop-down-btn-menu-icon-font-size: $text-sm !default;
22
+ $drop-down-btn-min-width: 120px !default;
23
+ $drop-down-btn-seperator-padding: 3px 0 !default;
24
+ $drop-down-btn-sub-ul-box-shadow: none !default;
25
+ $drop-down-btn-ul-border-radius: 4px !default;
26
+ $drop-down-btn-ul-padding: 4px 0 !default;
27
+ $drop-down-btn-ul-bigger-padding: 8px 0 !default;
28
+ $drop-down-btn-ul-small-padding: 4px 0 !default;
29
+ $drop-down-btn-caret-icon-font-size: $text-sm !default;
30
+ $drop-down-btn-icon-font-size-bigger: $text-base !default;
31
+ $drop-down-btn-caret-icon-font-size-bigger: $text-base !default;
32
+ $drop-down-btn-box-shadow: $secondary-shadow-focus !default;
33
+ $drop-down-btn-popup-margin-top: 2px !default;
34
+ $drop-down-btn-bigger-popup-margin-top: 4px !default;
35
+ $drop-down-btn-ul-border: 1px solid $border-light !default;
36
+ $drop-down-btn-li-box-shadow: $shadow-focus-ring2 !default;
37
+ $drop-down-btn-li-border-style: solid !default;
38
+ $drop-down-btn-color: $content-text-color !default;
39
+ $drop-down-btn-disable-text: $secondary-text-color-disabled !default;
40
+ $drop-down-btn-font-size: $text-sm !default;
41
+ $drop-down-btn-small-font-size: $text-xs !default;
42
+ $drop-down-btn-font-weight: $font-weight-normal !default;
43
+ $drop-down-btn-li-bgcolor: $flyout-bg-color-hover !default;
44
+ $drop-down-btn-ul-bgcolor: $flyout-bg-color !default;
45
+ $drop-down-btn-li-border-color: $border-light !default;
46
+ $drop-down-btn-selected-color: $flyout-text-color-selected !default;
47
+ $drop-down-btn-parent-ul-box-shadow: $shadow-lg !default;
48
+ $drop-down-btn-li-focus-bgcolor: $flyout-bg-color-hover !default;
49
+ $drop-down-btn-li-selection-bgcolor: $flyout-bg-color-selected !default;
50
+ $drop-down-btn-li-selection-font-color: $content-text-color !default;
51
+ $drop-down-btn-menu-icon-color: $icon-color !default;
52
+ $drop-down-btn-menu-icon-disabled-color: $secondary-text-color-disabled !default;
53
+ $drop-down-btn-li-hover-bgcolor: $flyout-bg-color-hover !default;
@@ -55,6 +55,13 @@
55
55
  }
56
56
  }
57
57
 
58
+ &:focus {
59
+ @if $skin-name == 'tailwind3' {
60
+ background: $drop-down-btn-li-bgcolor;
61
+ color: $drop-down-btn-li-selection-font-color;
62
+ }
63
+ }
64
+
58
65
  &:focus-visible {
59
66
  @if $theme-name == 'fluent2' {
60
67
  background-color: $flyout-bg-color-focus;
@@ -0,0 +1,372 @@
1
+
2
+
3
+
4
+
5
+ /* stylelint-disable */
6
+ .e-btn.e-primary:focus {
7
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow) !important;
8
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow) !important;
9
+ }
10
+
11
+ .e-btn.e-success:focus {
12
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(23, 177, 105, 0.24) !important;
13
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(23, 177, 105, 0.24) !important;
14
+ }
15
+
16
+ .e-btn.e-info:focus {
17
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow) !important;
18
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px var(--color-sf-brand-solid-shadow) !important;
19
+ }
20
+
21
+ .e-btn.e-warning:focus {
22
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(247, 143, 8, 0.24) !important;
23
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(247, 143, 8, 0.24) !important;
24
+ }
25
+
26
+ .e-btn.e-danger:focus {
27
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(240, 68, 55, 0.24) !important;
28
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(240, 68, 55, 0.24) !important;
29
+ }
30
+
31
+ .e-btn.e-outline.e-info {
32
+ background: transparent !important;
33
+ border-color: var(--color-sf-utility-info-border-color) !important;
34
+ color: var(--color-sf-utility-info-text) !important;
35
+ }
36
+
37
+ .e-btn.e-outline.e-info:hover {
38
+ background: var(--color-sf-utility-info-bg-color-hover) !important;
39
+ border-color: var(--color-sf-utility-info-border-color) !important;
40
+ color: var(--color-sf-utility-info-text-hover) !important;
41
+ }
42
+
43
+ .e-btn.e-outline.e-info:active {
44
+ background: var(--color-sf-utility-info-bg-color-pressed) !important;
45
+ border-color: var(--color-sf-utility-info-border-color) !important;
46
+ color: var(--color-sf-utility-info-text-hover) !important;
47
+ }
48
+
49
+ .e-btn.e-flat.e-info {
50
+ color: var(--color-sf-utility-info-text) !important;
51
+ }
52
+
53
+ .e-bigger .e-btn,
54
+ .e-bigger .e-btn,
55
+ .e-bigger .e-css.e-btn,
56
+ .e-bigger.e-css.e-btn {
57
+ font-size: 14px;
58
+ line-height: 1.572em;
59
+ padding: 8px 15px;
60
+ border-radius: 8px !important;
61
+ font-weight: 600;
62
+ }
63
+
64
+ /* stylelint-disable-line no-empty-source */
65
+ .e-dropdown-popup {
66
+ position: absolute;
67
+ border-radius: 8px;
68
+ margin-top: 4px;
69
+ }
70
+ .e-dropdown-popup ul {
71
+ border: 1px solid var(--color-sf-border-secondary);
72
+ border-radius: 8px;
73
+ -webkit-box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.05);
74
+ box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.05);
75
+ -webkit-box-sizing: border-box;
76
+ box-sizing: border-box;
77
+ font-size: 14px;
78
+ font-weight: 500;
79
+ list-style-image: none;
80
+ list-style-position: outside;
81
+ list-style-type: none;
82
+ margin: 0;
83
+ min-width: 120px;
84
+ overflow: hidden;
85
+ padding: 4px 0;
86
+ -webkit-user-select: none;
87
+ -moz-user-select: none;
88
+ -ms-user-select: none;
89
+ user-select: none;
90
+ white-space: nowrap;
91
+ }
92
+ .e-dropdown-popup ul .e-item {
93
+ cursor: pointer;
94
+ display: -webkit-box;
95
+ display: -ms-flexbox;
96
+ display: flex;
97
+ height: 32px;
98
+ line-height: 32px;
99
+ padding: 0 12px;
100
+ margin: 0 6px;
101
+ border-radius: 6px;
102
+ }
103
+ .e-dropdown-popup ul .e-item.e-url {
104
+ padding: 0;
105
+ }
106
+
107
+ .e-dropdown-btn .e-caret::before,
108
+ .e-dropdown-btn.e-btn .e-caret::before {
109
+ content: "\e729";
110
+ }
111
+
112
+ .e-dropdown-btn,
113
+ .e-dropdown-btn.e-btn {
114
+ -webkit-box-shadow: none;
115
+ box-shadow: none;
116
+ text-transform: none;
117
+ white-space: normal;
118
+ }
119
+ .e-dropdown-btn:hover,
120
+ .e-dropdown-btn.e-btn:hover {
121
+ -webkit-box-shadow: none;
122
+ box-shadow: none;
123
+ }
124
+ .e-dropdown-btn:focus,
125
+ .e-dropdown-btn.e-btn:focus {
126
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(102, 112, 133, 0.24);
127
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(102, 112, 133, 0.24);
128
+ }
129
+ .e-dropdown-btn:active,
130
+ .e-dropdown-btn.e-btn:active {
131
+ -webkit-box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(102, 112, 133, 0.24);
132
+ box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05), 0 0 0 4px rgba(102, 112, 133, 0.24);
133
+ }
134
+ .e-dropdown-btn .e-btn-icon,
135
+ .e-dropdown-btn.e-btn .e-btn-icon {
136
+ font-size: 14px;
137
+ }
138
+ .e-dropdown-btn .e-caret,
139
+ .e-dropdown-btn.e-btn .e-caret {
140
+ font-size: 18px;
141
+ }
142
+ .e-dropdown-btn.e-vertical,
143
+ .e-dropdown-btn.e-btn.e-vertical {
144
+ line-height: 1;
145
+ padding: 6px 12px;
146
+ }
147
+ .e-dropdown-btn.e-caret-hide .e-caret,
148
+ .e-dropdown-btn.e-btn.e-caret-hide .e-caret {
149
+ display: none;
150
+ }
151
+ .e-dropdown-btn.e-small .e-dropdown-popup ul,
152
+ .e-dropdown-btn.e-btn.e-small .e-dropdown-popup ul {
153
+ padding: 4px 0;
154
+ }
155
+ .e-dropdown-btn.e-small .e-dropdown-popup ul .e-item,
156
+ .e-dropdown-btn.e-btn.e-small .e-dropdown-popup ul .e-item {
157
+ padding: 0 8px;
158
+ }
159
+ .e-dropdown-btn.e-small.e-vertical,
160
+ .e-dropdown-btn.e-btn.e-small.e-vertical {
161
+ line-height: 1;
162
+ padding: 6px 12px;
163
+ }
164
+ .e-dropdown-popup {
165
+ position: absolute;
166
+ border-radius: 8px;
167
+ margin-top: 4px;
168
+ }
169
+ .e-dropdown-popup ul {
170
+ border: 1px solid var(--color-sf-border-secondary);
171
+ border-radius: 8px;
172
+ -webkit-box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.05);
173
+ box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.05);
174
+ -webkit-box-sizing: border-box;
175
+ box-sizing: border-box;
176
+ font-size: 14px;
177
+ font-weight: 500;
178
+ list-style-image: none;
179
+ list-style-position: outside;
180
+ list-style-type: none;
181
+ margin: 0;
182
+ min-width: 120px;
183
+ overflow: hidden;
184
+ padding: 4px 0;
185
+ -webkit-user-select: none;
186
+ -moz-user-select: none;
187
+ -ms-user-select: none;
188
+ user-select: none;
189
+ white-space: nowrap;
190
+ }
191
+ .e-dropdown-popup ul .e-item {
192
+ cursor: pointer;
193
+ display: -webkit-box;
194
+ display: -ms-flexbox;
195
+ display: flex;
196
+ height: 32px;
197
+ line-height: 32px;
198
+ padding: 0 12px;
199
+ }
200
+ .e-dropdown-popup ul .e-item.e-separator {
201
+ padding: 0 !important; /* stylelint-disable-line declaration-no-important */
202
+ }
203
+ .e-dropdown-popup ul .e-item.e-url {
204
+ padding: 0;
205
+ }
206
+ .e-dropdown-popup ul .e-item .e-menu-url {
207
+ display: block;
208
+ padding: 0 12px;
209
+ text-decoration: none;
210
+ width: 100%;
211
+ }
212
+ .e-dropdown-popup ul .e-item .e-menu-icon {
213
+ float: left;
214
+ font-size: 18px;
215
+ line-height: 32px;
216
+ margin-right: 12px;
217
+ vertical-align: middle;
218
+ width: 1em;
219
+ }
220
+ .e-dropdown-popup ul .e-item.e-disabled {
221
+ cursor: auto;
222
+ pointer-events: none;
223
+ }
224
+ .e-dropdown-popup ul .e-item.e-separator {
225
+ border-bottom-style: solid;
226
+ border-bottom-width: 1px;
227
+ cursor: auto;
228
+ height: auto;
229
+ line-height: normal;
230
+ margin: 3px 0;
231
+ pointer-events: none;
232
+ }
233
+ .e-dropdown-popup.e-transparent {
234
+ background: transparent;
235
+ -webkit-box-shadow: none;
236
+ box-shadow: none;
237
+ }
238
+ .e-dropdown-popup.e-transparent .e-dropdown-menu {
239
+ border: 0;
240
+ height: 1px;
241
+ min-width: 0;
242
+ padding: 0;
243
+ width: 1px;
244
+ }
245
+ .e-dropdown-popup.e-hidden {
246
+ display: none !important; /* stylelint-disable-line declaration-no-important */
247
+ }
248
+
249
+ .e-rtl.e-dropdown-popup .e-item .e-menu-icon {
250
+ float: right;
251
+ margin-left: 12px;
252
+ margin-right: 0;
253
+ }
254
+
255
+ .e-dropdown-popup-width ul {
256
+ min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
257
+ }
258
+
259
+ .e-dropdown-popup-width ul li {
260
+ overflow: hidden;
261
+ white-space: nowrap;
262
+ text-overflow: ellipsis;
263
+ display: block !important; /* stylelint-disable-line declaration-no-important */
264
+ }
265
+
266
+ .e-dropdown-popup {
267
+ background: var(--color-sf-bg-primary-alt);
268
+ color: var(--color-sf-utility-secondary-text-color);
269
+ }
270
+ .e-dropdown-popup ul .e-item .e-menu-url {
271
+ color: var(--color-sf-utility-secondary-text-color);
272
+ }
273
+ .e-dropdown-popup ul .e-item .e-menu-icon {
274
+ color: var(--color-sf-utility-secondary-text-color);
275
+ }
276
+ .e-dropdown-popup ul .e-item.e-focused {
277
+ background: var(--color-sf-bg-secondary-hover);
278
+ -webkit-box-shadow: none;
279
+ box-shadow: none;
280
+ }
281
+ .e-dropdown-popup ul .e-item:hover {
282
+ background: var(--color-sf-bg-secondary-hover);
283
+ color: var(--color-sf-text-primary);
284
+ }
285
+ .e-dropdown-popup ul .e-item:active, .e-dropdown-popup ul .e-item.e-selected {
286
+ background: var(--color-sf-bg-tertiary);
287
+ color: var(--color-sf-text-primary);
288
+ }
289
+ .e-dropdown-popup ul .e-item:active .e-menu-url, .e-dropdown-popup ul .e-item.e-selected .e-menu-url {
290
+ color: var(--color-sf-text-primary);
291
+ }
292
+ .e-dropdown-popup ul .e-item:active .e-menu-icon, .e-dropdown-popup ul .e-item.e-selected .e-menu-icon {
293
+ color: var(--color-sf-text-primary);
294
+ }
295
+ .e-dropdown-popup ul .e-separator {
296
+ border-bottom-color: var(--color-sf-border-secondary);
297
+ }
298
+
299
+ .e-dropdown-btn.e-inherit,
300
+ .e-dropdown-btn.e-btn.e-inherit {
301
+ background: inherit;
302
+ border-color: transparent;
303
+ -webkit-box-shadow: none;
304
+ box-shadow: none;
305
+ color: inherit;
306
+ }
307
+ .e-dropdown-btn.e-inherit:hover, .e-dropdown-btn.e-inherit:focus, .e-dropdown-btn.e-inherit:active, .e-dropdown-btn.e-inherit.e-active,
308
+ .e-dropdown-btn.e-btn.e-inherit:hover,
309
+ .e-dropdown-btn.e-btn.e-inherit:focus,
310
+ .e-dropdown-btn.e-btn.e-inherit:active,
311
+ .e-dropdown-btn.e-btn.e-inherit.e-active {
312
+ background: rgba(0, 0, 0, 0.056);
313
+ border-color: transparent;
314
+ -webkit-box-shadow: none;
315
+ box-shadow: none;
316
+ color: inherit;
317
+ }
318
+
319
+ .e-bigger .e-dropdown-btn .e-btn-icon,
320
+ .e-bigger.e-dropdown-btn .e-btn-icon {
321
+ font-size: 16px;
322
+ }
323
+ .e-bigger .e-dropdown-btn .e-caret,
324
+ .e-bigger.e-dropdown-btn .e-caret {
325
+ font-size: 22px;
326
+ }
327
+ .e-bigger .e-dropdown-btn.e-vertical,
328
+ .e-bigger.e-dropdown-btn.e-vertical {
329
+ line-height: 1;
330
+ padding: 8px 16px;
331
+ }
332
+ .e-bigger .e-dropdown-btn.e-small.e-vertical,
333
+ .e-bigger.e-dropdown-btn.e-small.e-vertical {
334
+ line-height: 1;
335
+ padding: 8px 16px;
336
+ }
337
+ *.e-bigger .e-dropdown-popup {
338
+ background-color: transparent;
339
+ border-radius: 8px;
340
+ }
341
+
342
+ *.e-bigger .e-dropdown-popup ul,
343
+ *.e-bigger.e-dropdown-popup ul {
344
+ -webkit-box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.05);
345
+ box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.05);
346
+ font-size: 14px;
347
+ max-width: 240px;
348
+ min-width: 112px;
349
+ padding: 4px 0;
350
+ background-color: var(--color-sf-bg-primary-alt);
351
+ margin-top: 4px;
352
+ }
353
+ *.e-bigger .e-dropdown-popup ul .e-item,
354
+ *.e-bigger.e-dropdown-popup ul .e-item {
355
+ height: 40px;
356
+ line-height: 40px;
357
+ padding: 0 16px;
358
+ }
359
+ *.e-bigger .e-dropdown-popup ul .e-item.e-url,
360
+ *.e-bigger.e-dropdown-popup ul .e-item.e-url {
361
+ padding: 0;
362
+ }
363
+ *.e-bigger .e-dropdown-popup ul .e-item .e-menu-icon,
364
+ *.e-bigger.e-dropdown-popup ul .e-item .e-menu-icon {
365
+ font-size: 22px;
366
+ line-height: 40px;
367
+ }
368
+ *.e-bigger .e-dropdown-popup ul .e-item.e-separator,
369
+ *.e-bigger.e-dropdown-popup ul .e-item.e-separator {
370
+ height: auto;
371
+ line-height: normal;
372
+ }
@@ -0,0 +1,7 @@
1
+ @import 'ej2-base/styles/definition/bds.scss';
2
+ @import 'ej2-buttons/styles/button/bds-definition.scss';
3
+ @import 'ej2-popups/styles/popup/bds-definition.scss';
4
+ @import 'bds-definition.scss';
5
+ @import 'icons/bds.scss';
6
+ @import 'all.scss';
7
+ @import 'bigger.scss';
@@ -144,6 +144,17 @@
144
144
  margin-right: 0;
145
145
  }
146
146
 
147
+ .e-dropdown-popup-width ul {
148
+ min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
149
+ }
150
+
151
+ .e-dropdown-popup-width ul li {
152
+ overflow: hidden;
153
+ white-space: nowrap;
154
+ text-overflow: ellipsis;
155
+ display: block !important; /* stylelint-disable-line declaration-no-important */
156
+ }
157
+
147
158
  .e-dropdown-popup {
148
159
  background: #2a2a2a;
149
160
  color: #f0f0f0;
@@ -215,7 +226,6 @@
215
226
  line-height: 1;
216
227
  padding: 8px 16px;
217
228
  }
218
-
219
229
  *.e-bigger .e-dropdown-popup ul,
220
230
  *.e-bigger.e-dropdown-popup ul {
221
231
  -webkit-box-shadow: 0 6px 12px rgba(26, 26, 26, 0.175);
@@ -144,6 +144,17 @@
144
144
  margin-right: 0;
145
145
  }
146
146
 
147
+ .e-dropdown-popup-width ul {
148
+ min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
149
+ }
150
+
151
+ .e-dropdown-popup-width ul li {
152
+ overflow: hidden;
153
+ white-space: nowrap;
154
+ text-overflow: ellipsis;
155
+ display: block !important; /* stylelint-disable-line declaration-no-important */
156
+ }
157
+
147
158
  .e-dropdown-popup {
148
159
  background: #fff;
149
160
  color: #333;
@@ -215,7 +226,6 @@
215
226
  line-height: 1;
216
227
  padding: 8px 16px;
217
228
  }
218
-
219
229
  *.e-bigger .e-dropdown-popup ul,
220
230
  *.e-bigger.e-dropdown-popup ul {
221
231
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
@@ -137,6 +137,17 @@
137
137
  margin-right: 0;
138
138
  }
139
139
 
140
+ .e-dropdown-popup-width ul {
141
+ min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
142
+ }
143
+
144
+ .e-dropdown-popup-width ul li {
145
+ overflow: hidden;
146
+ white-space: nowrap;
147
+ text-overflow: ellipsis;
148
+ display: block !important; /* stylelint-disable-line declaration-no-important */
149
+ }
150
+
140
151
  .e-dropdown-popup {
141
152
  background: #fff;
142
153
  color: #212529;
@@ -208,7 +219,6 @@
208
219
  line-height: 1;
209
220
  padding: 8px 16px;
210
221
  }
211
-
212
222
  *.e-bigger .e-dropdown-popup ul,
213
223
  *.e-bigger.e-dropdown-popup ul {
214
224
  -webkit-box-shadow: none;
@@ -140,6 +140,17 @@
140
140
  margin-right: 0;
141
141
  }
142
142
 
143
+ .e-dropdown-popup-width ul {
144
+ min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
145
+ }
146
+
147
+ .e-dropdown-popup-width ul li {
148
+ overflow: hidden;
149
+ white-space: nowrap;
150
+ text-overflow: ellipsis;
151
+ display: block !important; /* stylelint-disable-line declaration-no-important */
152
+ }
153
+
143
154
  .e-dropdown-popup {
144
155
  background: #343a40;
145
156
  color: #fff;
@@ -211,7 +222,6 @@
211
222
  line-height: 1;
212
223
  padding: 8px 16px;
213
224
  }
214
-
215
225
  *.e-bigger .e-dropdown-popup {
216
226
  background-color: transparent;
217
227
  border-radius: 4px;
@@ -144,6 +144,17 @@
144
144
  margin-right: 0;
145
145
  }
146
146
 
147
+ .e-dropdown-popup-width ul {
148
+ min-width: 0 !important; /* stylelint-disable-line declaration-no-important */
149
+ }
150
+
151
+ .e-dropdown-popup-width ul li {
152
+ overflow: hidden;
153
+ white-space: nowrap;
154
+ text-overflow: ellipsis;
155
+ display: block !important; /* stylelint-disable-line declaration-no-important */
156
+ }
157
+
147
158
  .e-dropdown-popup {
148
159
  background: var(--color-sf-flyout-bg-color);
149
160
  color: var(--color-sf-content-text-color);
@@ -215,7 +226,6 @@
215
226
  line-height: 1;
216
227
  padding: 8px 16px;
217
228
  }
218
-
219
229
  *.e-bigger .e-dropdown-popup {
220
230
  background-color: transparent;
221
231
  border-radius: 4px;