@syncfusion/ej2-dropdowns 25.2.7 → 26.1.38

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 (267) hide show
  1. package/.eslintrc.json +3 -2
  2. package/dist/ej2-dropdowns.min.js +2 -2
  3. package/dist/ej2-dropdowns.umd.min.js +2 -2
  4. package/dist/ej2-dropdowns.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-dropdowns.es2015.js +531 -224
  6. package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
  7. package/dist/es6/ej2-dropdowns.es5.js +524 -216
  8. package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
  9. package/dist/global/ej2-dropdowns.min.js +2 -2
  10. package/dist/global/ej2-dropdowns.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +14 -13
  13. package/src/auto-complete/auto-complete.js +1 -1
  14. package/src/combo-box/combo-box.js +15 -0
  15. package/src/common/interface.js +0 -1
  16. package/src/common/virtual-scroll.js +1 -0
  17. package/src/drop-down-base/drop-down-base-model.d.ts +8 -1
  18. package/src/drop-down-base/drop-down-base.d.ts +28 -2
  19. package/src/drop-down-base/drop-down-base.js +64 -9
  20. package/src/drop-down-list/drop-down-list.d.ts +15 -2
  21. package/src/drop-down-list/drop-down-list.js +129 -13
  22. package/src/drop-down-tree/drop-down-tree-model.d.ts +15 -15
  23. package/src/drop-down-tree/drop-down-tree.d.ts +17 -13
  24. package/src/drop-down-tree/drop-down-tree.js +67 -38
  25. package/src/list-box/list-box.d.ts +1 -0
  26. package/src/list-box/list-box.js +41 -9
  27. package/src/mention/mention.js +23 -8
  28. package/src/multi-select/interface.js +0 -1
  29. package/src/multi-select/multi-select.d.ts +15 -0
  30. package/src/multi-select/multi-select.js +135 -12
  31. package/styles/auto-complete/_bootstrap5.3-definition.scss +2 -0
  32. package/styles/auto-complete/_fluent2-definition.scss +2 -0
  33. package/styles/auto-complete/bootstrap-dark.css +5 -2
  34. package/styles/auto-complete/bootstrap.css +5 -2
  35. package/styles/auto-complete/bootstrap4.css +6 -2
  36. package/styles/auto-complete/bootstrap5-dark.css +6 -2
  37. package/styles/auto-complete/bootstrap5.css +6 -2
  38. package/styles/auto-complete/fabric-dark.css +3 -1
  39. package/styles/auto-complete/fabric.css +3 -1
  40. package/styles/auto-complete/fluent-dark.css +6 -2
  41. package/styles/auto-complete/fluent.css +6 -2
  42. package/styles/auto-complete/fluent2.css +1140 -0
  43. package/styles/auto-complete/fluent2.scss +4 -0
  44. package/styles/auto-complete/highcontrast-light.css +3 -1
  45. package/styles/auto-complete/highcontrast.css +3 -1
  46. package/styles/auto-complete/material-dark.css +16 -5
  47. package/styles/auto-complete/material.css +16 -5
  48. package/styles/auto-complete/material3-dark.css +17 -6
  49. package/styles/auto-complete/material3.css +17 -6
  50. package/styles/auto-complete/tailwind-dark.css +16 -5
  51. package/styles/auto-complete/tailwind.css +16 -5
  52. package/styles/bootstrap-dark.css +197 -228
  53. package/styles/bootstrap-dark.scss +28 -8
  54. package/styles/bootstrap.css +197 -228
  55. package/styles/bootstrap.scss +28 -8
  56. package/styles/bootstrap4.css +200 -229
  57. package/styles/bootstrap4.scss +28 -8
  58. package/styles/bootstrap5-dark.css +197 -221
  59. package/styles/bootstrap5-dark.scss +28 -8
  60. package/styles/bootstrap5.css +197 -221
  61. package/styles/bootstrap5.scss +28 -8
  62. package/styles/combo-box/_bootstrap5.3-definition.scss +2 -0
  63. package/styles/combo-box/_fluent2-definition.scss +2 -0
  64. package/styles/combo-box/bootstrap-dark.css +5 -2
  65. package/styles/combo-box/bootstrap.css +5 -2
  66. package/styles/combo-box/bootstrap4.css +6 -2
  67. package/styles/combo-box/bootstrap5-dark.css +6 -2
  68. package/styles/combo-box/bootstrap5.css +6 -2
  69. package/styles/combo-box/fabric-dark.css +3 -1
  70. package/styles/combo-box/fabric.css +3 -1
  71. package/styles/combo-box/fluent-dark.css +6 -2
  72. package/styles/combo-box/fluent.css +6 -2
  73. package/styles/combo-box/fluent2.css +1140 -0
  74. package/styles/combo-box/fluent2.scss +4 -0
  75. package/styles/combo-box/highcontrast-light.css +3 -1
  76. package/styles/combo-box/highcontrast.css +3 -1
  77. package/styles/combo-box/material-dark.css +16 -5
  78. package/styles/combo-box/material.css +16 -5
  79. package/styles/combo-box/material3-dark.css +17 -6
  80. package/styles/combo-box/material3.css +17 -6
  81. package/styles/combo-box/tailwind-dark.css +16 -5
  82. package/styles/combo-box/tailwind.css +16 -5
  83. package/styles/drop-down-base/_bds-definition.scss +2 -2
  84. package/styles/drop-down-base/_bootstrap5.3-definition.scss +117 -0
  85. package/styles/drop-down-base/_fluent2-definition.scss +134 -0
  86. package/styles/drop-down-base/_layout.scss +12 -2
  87. package/styles/drop-down-base/_material3-definition.scss +0 -11
  88. package/styles/drop-down-base/_theme.scss +2 -11
  89. package/styles/drop-down-base/bootstrap-dark.css +2 -1
  90. package/styles/drop-down-base/bootstrap.css +2 -1
  91. package/styles/drop-down-base/bootstrap4.css +2 -1
  92. package/styles/drop-down-base/bootstrap5-dark.css +2 -1
  93. package/styles/drop-down-base/bootstrap5.css +2 -1
  94. package/styles/drop-down-base/fabric-dark.css +2 -1
  95. package/styles/drop-down-base/fabric.css +2 -1
  96. package/styles/drop-down-base/fluent-dark.css +2 -1
  97. package/styles/drop-down-base/fluent.css +2 -1
  98. package/styles/drop-down-base/fluent2.css +1447 -0
  99. package/styles/drop-down-base/fluent2.scss +3 -0
  100. package/styles/drop-down-base/highcontrast-light.css +2 -1
  101. package/styles/drop-down-base/highcontrast.css +2 -1
  102. package/styles/drop-down-base/material-dark.css +2 -1
  103. package/styles/drop-down-base/material.css +2 -1
  104. package/styles/drop-down-base/material3-dark.css +9 -2
  105. package/styles/drop-down-base/material3.css +9 -2
  106. package/styles/drop-down-base/tailwind-dark.css +2 -1
  107. package/styles/drop-down-base/tailwind.css +2 -1
  108. package/styles/drop-down-list/_bootstrap5.3-definition.scss +201 -0
  109. package/styles/drop-down-list/_fluent2-definition.scss +134 -0
  110. package/styles/drop-down-list/_layout.scss +5 -3
  111. package/styles/drop-down-list/_material3-definition.scss +0 -8
  112. package/styles/drop-down-list/bootstrap-dark.css +38 -3
  113. package/styles/drop-down-list/bootstrap.css +38 -3
  114. package/styles/drop-down-list/bootstrap4.css +39 -3
  115. package/styles/drop-down-list/bootstrap5-dark.css +39 -3
  116. package/styles/drop-down-list/bootstrap5.css +39 -3
  117. package/styles/drop-down-list/fabric-dark.css +36 -2
  118. package/styles/drop-down-list/fabric.css +36 -2
  119. package/styles/drop-down-list/fluent-dark.css +39 -3
  120. package/styles/drop-down-list/fluent.css +39 -3
  121. package/styles/drop-down-list/fluent2.css +1684 -0
  122. package/styles/drop-down-list/fluent2.scss +9 -0
  123. package/styles/drop-down-list/highcontrast-light.css +36 -2
  124. package/styles/drop-down-list/highcontrast.css +36 -2
  125. package/styles/drop-down-list/icons/_bootstrap5.3.scss +14 -0
  126. package/styles/drop-down-list/icons/_fluent2.scss +14 -0
  127. package/styles/drop-down-list/material-dark.css +58 -7
  128. package/styles/drop-down-list/material.css +72 -9
  129. package/styles/drop-down-list/material3-dark.css +74 -10
  130. package/styles/drop-down-list/material3.css +74 -10
  131. package/styles/drop-down-list/tailwind-dark.css +49 -6
  132. package/styles/drop-down-list/tailwind.css +49 -6
  133. package/styles/drop-down-tree/_bds-definition.scss +5 -0
  134. package/styles/drop-down-tree/_bootstrap4-definition.scss +1 -0
  135. package/styles/drop-down-tree/_bootstrap5-definition.scss +5 -0
  136. package/styles/drop-down-tree/_bootstrap5.3-definition.scss +66 -0
  137. package/styles/drop-down-tree/_fluent-definition.scss +4 -0
  138. package/styles/drop-down-tree/_fluent2-definition.scss +75 -0
  139. package/styles/drop-down-tree/_layout.scss +290 -327
  140. package/styles/drop-down-tree/_material3-definition.scss +3 -5
  141. package/styles/drop-down-tree/_tailwind-definition.scss +7 -2
  142. package/styles/drop-down-tree/_theme.scss +24 -41
  143. package/styles/drop-down-tree/bootstrap-dark.css +64 -29
  144. package/styles/drop-down-tree/bootstrap.css +64 -29
  145. package/styles/drop-down-tree/bootstrap4.css +65 -30
  146. package/styles/drop-down-tree/bootstrap5-dark.css +64 -27
  147. package/styles/drop-down-tree/bootstrap5.css +64 -27
  148. package/styles/drop-down-tree/fabric-dark.css +64 -29
  149. package/styles/drop-down-tree/fabric.css +64 -29
  150. package/styles/drop-down-tree/fluent-dark.css +72 -35
  151. package/styles/drop-down-tree/fluent.css +72 -35
  152. package/styles/drop-down-tree/fluent2.css +1733 -0
  153. package/styles/drop-down-tree/fluent2.scss +9 -0
  154. package/styles/drop-down-tree/highcontrast-light.css +64 -29
  155. package/styles/drop-down-tree/highcontrast.css +64 -23
  156. package/styles/drop-down-tree/icons/_bootstrap5.3.scss +11 -0
  157. package/styles/drop-down-tree/icons/_fluent2.scss +14 -0
  158. package/styles/drop-down-tree/material-dark.css +81 -43
  159. package/styles/drop-down-tree/material.css +98 -51
  160. package/styles/drop-down-tree/material3-dark.css +86 -32
  161. package/styles/drop-down-tree/material3.css +86 -32
  162. package/styles/drop-down-tree/tailwind-dark.css +73 -28
  163. package/styles/drop-down-tree/tailwind.css +73 -28
  164. package/styles/fabric-dark.css +195 -227
  165. package/styles/fabric-dark.scss +28 -8
  166. package/styles/fabric.css +195 -227
  167. package/styles/fabric.scss +28 -8
  168. package/styles/fluent-dark.css +207 -236
  169. package/styles/fluent-dark.scss +28 -8
  170. package/styles/fluent.css +207 -236
  171. package/styles/fluent.scss +28 -8
  172. package/styles/fluent2.css +4772 -0
  173. package/styles/fluent2.scss +28 -0
  174. package/styles/highcontrast-light.css +198 -227
  175. package/styles/highcontrast-light.scss +28 -8
  176. package/styles/highcontrast.css +198 -221
  177. package/styles/highcontrast.scss +28 -8
  178. package/styles/list-box/_bootstrap-dark-definition.scss +0 -2
  179. package/styles/list-box/_bootstrap5.3-definition.scss +120 -0
  180. package/styles/list-box/_fabric-dark-definition.scss +0 -2
  181. package/styles/list-box/_fluent2-definition.scss +121 -0
  182. package/styles/list-box/_highcontrast-light-definition.scss +0 -2
  183. package/styles/list-box/_layout.scss +65 -44
  184. package/styles/list-box/_material-dark-definition.scss +0 -2
  185. package/styles/list-box/_tailwind-definition.scss +1 -1
  186. package/styles/list-box/_theme.scss +36 -65
  187. package/styles/list-box/bootstrap-dark.css +72 -112
  188. package/styles/list-box/bootstrap.css +72 -112
  189. package/styles/list-box/bootstrap4.css +72 -112
  190. package/styles/list-box/bootstrap5-dark.css +72 -106
  191. package/styles/list-box/bootstrap5.css +72 -106
  192. package/styles/list-box/fabric-dark.css +72 -112
  193. package/styles/list-box/fabric.css +72 -112
  194. package/styles/list-box/fluent-dark.css +72 -112
  195. package/styles/list-box/fluent.css +72 -112
  196. package/styles/list-box/fluent2.css +2029 -0
  197. package/styles/list-box/fluent2.scss +5 -0
  198. package/styles/list-box/highcontrast-light.css +72 -112
  199. package/styles/list-box/highcontrast.css +72 -112
  200. package/styles/list-box/icons/_bootstrap5.3.scss +25 -0
  201. package/styles/list-box/icons/_fluent2.scss +25 -0
  202. package/styles/list-box/material-dark.css +72 -112
  203. package/styles/list-box/material.css +72 -112
  204. package/styles/list-box/material3-dark.css +73 -113
  205. package/styles/list-box/material3.css +73 -113
  206. package/styles/list-box/tailwind-dark.css +74 -114
  207. package/styles/list-box/tailwind.css +74 -114
  208. package/styles/material-dark.css +237 -260
  209. package/styles/material-dark.scss +28 -8
  210. package/styles/material.css +254 -284
  211. package/styles/material.scss +28 -8
  212. package/styles/material3-dark.css +254 -266
  213. package/styles/material3-dark.scss +28 -8
  214. package/styles/material3.css +254 -266
  215. package/styles/material3.scss +28 -8
  216. package/styles/mention/_bootstrap5.3-definition.scss +1 -0
  217. package/styles/mention/_fluent2-definition.scss +1 -0
  218. package/styles/mention/bootstrap-dark.css +24 -0
  219. package/styles/mention/bootstrap.css +24 -0
  220. package/styles/mention/bootstrap4.css +24 -0
  221. package/styles/mention/bootstrap5-dark.css +24 -0
  222. package/styles/mention/bootstrap5.css +24 -0
  223. package/styles/mention/fabric-dark.css +24 -0
  224. package/styles/mention/fabric.css +24 -0
  225. package/styles/mention/fluent-dark.css +24 -0
  226. package/styles/mention/fluent.css +24 -0
  227. package/styles/mention/fluent2.css +1130 -0
  228. package/styles/mention/fluent2.scss +6 -0
  229. package/styles/mention/highcontrast-light.css +24 -0
  230. package/styles/mention/highcontrast.css +24 -0
  231. package/styles/mention/material-dark.css +24 -0
  232. package/styles/mention/material.css +24 -0
  233. package/styles/mention/material3-dark.css +25 -1
  234. package/styles/mention/material3.css +25 -1
  235. package/styles/mention/tailwind-dark.css +24 -0
  236. package/styles/mention/tailwind.css +24 -0
  237. package/styles/multi-select/_bootstrap5.3-definition.scss +230 -0
  238. package/styles/multi-select/_fluent2-definition.scss +236 -0
  239. package/styles/multi-select/_layout.scss +32 -38
  240. package/styles/multi-select/_material3-definition.scss +0 -15
  241. package/styles/multi-select/_theme.scss +0 -4
  242. package/styles/multi-select/bootstrap-dark.css +67 -28
  243. package/styles/multi-select/bootstrap.css +67 -28
  244. package/styles/multi-select/bootstrap4.css +70 -29
  245. package/styles/multi-select/bootstrap5-dark.css +67 -28
  246. package/styles/multi-select/bootstrap5.css +67 -28
  247. package/styles/multi-select/fabric-dark.css +67 -28
  248. package/styles/multi-select/fabric.css +67 -28
  249. package/styles/multi-select/fluent-dark.css +69 -29
  250. package/styles/multi-select/fluent.css +69 -29
  251. package/styles/multi-select/fluent2.css +2663 -0
  252. package/styles/multi-select/fluent2.scss +9 -0
  253. package/styles/multi-select/highcontrast-light.css +70 -28
  254. package/styles/multi-select/highcontrast.css +70 -28
  255. package/styles/multi-select/icons/_bootstrap5.3.scss +26 -0
  256. package/styles/multi-select/icons/_fluent2.scss +692 -0
  257. package/styles/multi-select/material-dark.css +88 -32
  258. package/styles/multi-select/material.css +102 -34
  259. package/styles/multi-select/material3-dark.css +109 -35
  260. package/styles/multi-select/material3.css +109 -35
  261. package/styles/multi-select/tailwind-dark.css +67 -28
  262. package/styles/multi-select/tailwind.css +67 -28
  263. package/styles/tailwind-dark.css +218 -233
  264. package/styles/tailwind-dark.scss +28 -8
  265. package/styles/tailwind.css +218 -233
  266. package/styles/tailwind.scss +28 -8
  267. package/CHANGELOG.md +0 -2200
@@ -3,6 +3,45 @@
3
3
  transition: transform 300ms ease;
4
4
  }
5
5
 
6
+ @mixin position($position, $right){
7
+ position: $position;
8
+ right: $right;
9
+ }
10
+
11
+ @mixin close-style($font-size, $height, $width) {
12
+ font-size: $font-size;
13
+ height: $height;
14
+ width: $width;
15
+ }
16
+
17
+ @mixin min-style($min-height, $min-width, $font-size, $line-height) {
18
+ min-height: $min-height;
19
+ min-width: $min-width;
20
+ line-height: $line-height;
21
+ &::before {
22
+ font-size: $font-size;
23
+ }
24
+ }
25
+
26
+ @mixin icon-style($bottom, $right) {
27
+ bottom: $bottom;
28
+ right: $right;
29
+ }
30
+
31
+ @mixin chip-last($margin-right, $max-width) {
32
+ .e-chips-wrapper .e-chips:last-child {
33
+ margin-right: $margin-right;
34
+ max-width: $max-width;
35
+ }
36
+ }
37
+
38
+ @mixin chip-last-margin($margin-right, $margin-left) {
39
+ .e-chips-wrapper .e-chips:last-child {
40
+ margin-right: $margin-right;
41
+ margin-left: $margin-left;
42
+ }
43
+ }
44
+
6
45
  @include export-module('dropdowntree-layout') {
7
46
 
8
47
  .e-ddt {
@@ -46,6 +85,15 @@
46
85
  @if $ddt-skin-name == 'FluentUI' {
47
86
  min-height: $ddt-dd-icon-width;
48
87
  }
88
+ @if $ddt-skin-name == 'fluent2' {
89
+ min-width: $ddt-close-icon-min-height;
90
+ margin: 5px 3px 5px 6px;
91
+ align-items: center;
92
+ &::before {
93
+ font-size: 14px;
94
+ padding: 3px;
95
+ }
96
+ }
49
97
  }
50
98
 
51
99
  .e-input-group-icon.e-ddt-icon {
@@ -54,9 +102,16 @@
54
102
  @if $ddt-skin-name == 'bootstrap4' {
55
103
  font-size: 8px;
56
104
  }
57
- @if $ddt-skin-name == 'bootstrap5' {
105
+ @else if $ddt-skin-name == 'bootstrap5' {
58
106
  font-size: 20px;
59
107
  }
108
+ @else if $ddt-skin-name == 'fluent2' {
109
+ font-size: 14px;
110
+ margin: 5px 9px 5px 3px;
111
+ padding: 0;
112
+ min-height: 20px;
113
+ min-width: 20px;
114
+ }
60
115
 
61
116
  @if $ddt-skin-name == 'Material3' {
62
117
  font-size: $ddt-chip-icon-line-height;
@@ -73,8 +128,7 @@
73
128
  &.e-show-text {
74
129
  .e-clear-icon {
75
130
  bottom: $ddt-close-icon-bottom;
76
- position: absolute;
77
- right: 0;
131
+ @include position(absolute, 0);
78
132
  @if $ddt-skin-name == 'Material3' {
79
133
  margin: 0;
80
134
  }
@@ -87,7 +141,7 @@
87
141
  @else {
88
142
  right: $ddt-dd-icon-width;
89
143
  }
90
- @if $ddt-skin-name == 'FluentUI' {
144
+ @if $ddt-skin-name == 'FluentUI' or $ddt-skin-name == 'fluent2' {
91
145
  bottom: 0;
92
146
  }
93
147
  }
@@ -96,8 +150,7 @@
96
150
  @if $ddt-skin-name != 'FluentUI' {
97
151
  bottom: $ddt-dd-icon-bottom;
98
152
  }
99
- position: absolute;
100
- right: 0;
153
+ @include position(absolute, 0);
101
154
  }
102
155
 
103
156
  &.e-input-focus input.e-dropdowntree.e-chip-input,
@@ -106,11 +159,10 @@
106
159
  padding-right: 0;
107
160
  }
108
161
  }
109
- }
110
162
 
111
- &.e-input-group.e-control-wrapper.e-valid-input:hover:not(.e-disabled) .e-clear-icon,
112
- &.e-float-input.e-control-wrapper.e-valid-input:hover:not(.e-disabled) .e-clear-icon {
113
- display: flex;
163
+ &.e-valid-input:hover:not(.e-disabled) .e-clear-icon {
164
+ display: flex;
165
+ }
114
166
  }
115
167
 
116
168
  .e-chips-wrapper {
@@ -121,14 +173,14 @@
121
173
 
122
174
  .e-chips-close {
123
175
  @if $ddt-skin-name != 'bootstrap5' and $ddt-skin-name != 'Material3' {
124
- line-height: $ddt-chip-icon-line-height;
176
+ @include min-style($ddt-chip-close-height, $ddt-chip-close-width, $ddt-chip-close-font, $ddt-chip-icon-line-height);
177
+ }
178
+ @else {
179
+ @include min-style($ddt-chip-close-height, $ddt-chip-close-width, $ddt-chip-close-font, null);
125
180
  }
126
- min-height: $ddt-chip-close-height;
127
- min-width: $ddt-chip-close-width;
128
181
  text-align: center;
129
182
 
130
183
  &::before {
131
- font-size: $ddt-chip-close-font;
132
184
  @if $ddt-skin-name != 'bootstrap5' and $ddt-skin-name != 'material' and $ddt-skin-name != 'material-dark' and $ddt-skin-name != 'Material3' {
133
185
  vertical-align: middle;
134
186
  }
@@ -169,6 +221,7 @@
169
221
  }
170
222
  }
171
223
  }
224
+
172
225
  @if $ddt-skin-name == 'material' or $ddt-skin-name == 'material-dark' {
173
226
  &.e-outline {
174
227
  .e-overflow {
@@ -186,23 +239,19 @@
186
239
  &.e-show-dd-icon .e-clear-icon {
187
240
  right: 30px;
188
241
  }
189
- }
190
242
 
191
- &.e-input-group.e-control-wrapper:not(.e-show-chip),
192
- &.e-float-input.e-control-wrapper:not(.e-show-chip) {
193
- &.e-show-dd-icon.e-input-focus .e-clear-icon {
194
- min-height: 20px;
243
+ &:not(.e-show-chip) {
244
+ &.e-show-dd-icon.e-input-focus .e-clear-icon {
245
+ min-height: 20px;
246
+ }
195
247
  }
196
248
  }
197
- }
198
249
 
199
- &.e-outline.e-show-chip {
200
- .e-overflow {
201
- padding: $ddt-outline-chip-padding;
202
- }
203
-
204
- .e-chips-wrapper {
205
- padding: $ddt-outline-chip-padding;
250
+ &.e-show-chip {
251
+ .e-overflow,
252
+ .e-chips-wrapper {
253
+ padding: $ddt-outline-chip-padding;
254
+ }
206
255
  }
207
256
  }
208
257
 
@@ -220,30 +269,47 @@
220
269
  }
221
270
  }
222
271
  }
223
- }
224
272
 
225
- &.e-float-input.e-control-wrapper:not(.e-show-chip) {
226
- .e-ddt-icon,
227
- &.e-show-dd-icon .e-clear-icon {
228
- padding-top: 8px;
273
+ &:not(.e-show-chip) {
274
+ .e-ddt-icon,
275
+ &.e-show-dd-icon .e-clear-icon {
276
+ padding-top: 8px;
277
+ }
229
278
  }
230
- }
231
279
 
232
- &.e-float-input.e-control-wrapper.e-show-chip,
233
- &.e-float-input.e-control-wrapper.e-show-text {
234
- .e-ddt-icon {
235
- bottom: 6px;
236
- right: 10px;
280
+ &.e-show-chip,
281
+ &.e-show-text {
282
+ .e-ddt-icon {
283
+ @include icon-style(6px, 10px);
284
+ }
285
+
286
+ .e-clear-icon {
287
+ @include icon-style(5px, 38px);
288
+ }
289
+
290
+ &:not(.e-show-dd-icon) .e-clear-icon {
291
+ @include icon-style(9px, 10px);
292
+ }
237
293
  }
238
294
 
239
- .e-clear-icon {
240
- bottom: 5px;
241
- right: 38px;
242
- }
295
+ &.e-show-chip {
296
+ .e-chips-wrapper,
297
+ .e-overflow {
298
+ padding-top: 8px;
299
+
300
+ .e-chips {
301
+ height: 18px;
243
302
 
244
- &:not(.e-show-dd-icon) .e-clear-icon {
245
- bottom: 9px;
246
- right: 10px;
303
+ > .e-chipcontent {
304
+ font-size: 12px;
305
+ padding: 0 4px 0 0;
306
+ }
307
+ }
308
+
309
+ .e-chips-close::before {
310
+ @include close-style(12px, 12px, 12px);
311
+ }
312
+ }
247
313
  }
248
314
  }
249
315
 
@@ -255,28 +321,6 @@
255
321
  }
256
322
  }
257
323
 
258
- &.e-float-input.e-control-wrapper.e-show-chip {
259
- .e-chips-wrapper,
260
- .e-overflow {
261
- padding-top: 8px;
262
-
263
- .e-chips {
264
- height: 18px;
265
- }
266
-
267
- .e-chips > .e-chipcontent {
268
- font-size: 12px;
269
- padding: 0 4px 0 0;
270
- }
271
-
272
- .e-chips-close::before {
273
- font-size: 12px;
274
- height: 12px;
275
- width: 12px;
276
- }
277
- }
278
- }
279
-
280
324
  &.e-input-group.e-control-wrapper:not(.e-float-input) {
281
325
  .e-overflow {
282
326
  &.e-show-text {
@@ -299,17 +343,15 @@
299
343
  height: 28px;
300
344
  margin-top: 8px;
301
345
  padding: 0 8px;
302
- }
303
346
 
304
- .e-chips > .e-chipcontent {
305
- font-size: 13px;
306
- padding: 0 8px 0 0;
347
+ > .e-chipcontent {
348
+ font-size: 13px;
349
+ padding: 0 8px 0 0;
350
+ }
307
351
  }
308
352
 
309
353
  .e-chips-close::before {
310
- font-size: 14px;
311
- height: 14px;
312
- width: 14px;
354
+ @include close-style(14px, 12px, 12px);
313
355
  }
314
356
  }
315
357
  }
@@ -317,19 +359,16 @@
317
359
  &.e-show-dd-icon.e-show-text,
318
360
  &.e-show-dd-icon.e-show-chip {
319
361
  .e-ddt-icon {
320
- bottom: 10px;
321
- right: 10px;
362
+ @include icon-style(10px, 10px);
322
363
  }
323
364
  }
324
365
 
325
366
  .e-clear-icon {
326
- bottom: 9px;
327
- right: 38px;
367
+ @include icon-style(9px, 38px);
328
368
  }
329
369
 
330
370
  &:not(.e-show-dd-icon) .e-clear-icon {
331
- bottom: 9px;
332
- right: 10px;
371
+ @include icon-style(9px, 10px);
333
372
  }
334
373
  }
335
374
  }
@@ -379,18 +418,19 @@
379
418
  display: inline-block;
380
419
  font-size: $ddt-chip-font-size;
381
420
  padding: $ddt-remains-padding;
421
+ @if $ddt-skin-name == 'fluent2' {
422
+ line-height: $ddt-remains-line-height;
423
+ }
382
424
 
383
425
  &.e-wrap-count {
384
426
  @if $ddt-skin-name == 'bootstrap5' {
385
427
  padding: $ddt-overflow-count-padding;
386
428
  }
429
+ @else if $ddt-skin-name == 'FluentUI' {
430
+ line-height: 30px;
431
+ }
387
432
  @else {
388
- @if $ddt-skin-name == 'FluentUI' {
389
- line-height: 30px;
390
- }
391
- @else {
392
- padding-top: $ddt-overflow-count-padding-top;
393
- }
433
+ padding-top: $ddt-overflow-count-padding-top;
394
434
  }
395
435
  }
396
436
  }
@@ -411,29 +451,16 @@
411
451
  }
412
452
  }
413
453
 
414
- &.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
415
- @if $ddt-skin-name == 'tailwind' {
416
- margin-right: 18px;
417
- }
418
- @else {
419
- margin-right: $ddt-dd-icon-width;
420
- }
421
- max-width: $ddt-chip-ddi-width;
454
+ &.e-show-dd-icon {
455
+ @include chip-last($ddt-dd-icon-width, $ddt-chip-ddi-width);
422
456
  }
423
457
 
424
- &.e-show-clear .e-chips-wrapper .e-chips:last-child {
425
- @if $ddt-skin-name == 'tailwind' {
426
- margin-right: 18px;
427
- }
428
- @else {
429
- margin-right: $ddt-close-icon-width;
430
- }
431
- max-width: $ddt-chip-ci-width;
458
+ &.e-show-clear {
459
+ @include chip-last($ddt-close-icon-width, $ddt-chip-ci-width);
432
460
  }
433
461
 
434
- &.e-show-clear.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
435
- margin-right: $ddt-last-chip-right-margin;
436
- max-width: $ddt-chip-ddi-ci-width;
462
+ &.e-show-clear.e-show-dd-icon {
463
+ @include chip-last($ddt-last-chip-right-margin, $ddt-chip-ddi-ci-width);
437
464
  }
438
465
 
439
466
  input[readonly],
@@ -443,6 +470,7 @@
443
470
 
444
471
  &.e-chip-input {
445
472
  width: 0;
473
+ display: none;
446
474
  }
447
475
  }
448
476
 
@@ -450,29 +478,24 @@
450
478
  @if $skin-name != 'material' and $skin-name != 'FluentUI' and $skin-name != 'Material3' {
451
479
  border: 1px solid $ddt-popup-border-color;
452
480
  }
453
-
454
481
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' {
455
- border-radius: 4px;
456
482
  margin-top: 4px;
457
483
  }
458
-
459
- @if $skin-name == 'bootstrap4' or $skin-name == 'Material3' {
460
- border-radius: $ddt-chip-radius;
461
- }
462
-
463
- @if $skin-name == 'Material3' {
484
+ @else if $skin-name == 'Material3' {
464
485
  margin-top: 2px;
465
486
  }
466
-
467
- @if $skin-name == 'FluentUI' {
468
- border-radius: 2px;
487
+ @else if $skin-name == 'fluent2' {
488
+ margin-top: 1px;
489
+ }
490
+ @if $skin-name == 'bootstrap4' or $skin-name == 'Material3' or $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'fluent2' {
491
+ border-radius: $ddt-popup-radius;
469
492
  }
470
493
  box-shadow: $ddt-box-shadow;
471
494
  position: absolute;
472
495
 
473
496
  .e-active .e-checkbox-wrapper {
474
497
  .e-frame:not(.e-check):not(.e-stop) {
475
- @if$ddt-skin-name == 'bootstrap5' {
498
+ @if $ddt-skin-name == 'bootstrap5' {
476
499
  background-color: $ddt-readonly-input-bg-color;
477
500
  }
478
501
  }
@@ -480,7 +503,7 @@
480
503
 
481
504
  .e-checkbox-wrapper {
482
505
  .e-frame:not(.e-check):not(.e-stop) {
483
- @if$ddt-skin-name == 'bootstrap5' {
506
+ @if $ddt-skin-name == 'bootstrap5' {
484
507
  background-color: transparent;
485
508
  }
486
509
  }
@@ -498,13 +521,7 @@
498
521
  text-indent: $ddt-select-all-text-indent;
499
522
  white-space: nowrap;
500
523
  width: 100%;
501
- @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'FluentUI' {
502
- padding: 8px 12px;
503
- }
504
- @else if $ddt-skin-name == 'bootstrap5' {
505
- padding: 0 8px;
506
- }
507
- @else if $ddt-skin-name == 'Material3' {
524
+ @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' or $ddt-skin-name == 'fluent2' or $ddt-skin-name == 'Material3' {
508
525
  padding: $ddt-select-all-padding;
509
526
  }
510
527
 
@@ -533,68 +550,64 @@
533
550
  }
534
551
  }
535
552
 
536
- & .e-filter-wrap .e-input,
537
- & .e-filter-wrap .e-input:focus {
538
- @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' {
539
- padding: $ddt-list-filter-text-indent;
540
- }
541
- }
542
-
543
553
  .e-filter-wrap {
554
+ border-top-width: $ddt-filter-top-border;
555
+ display: block;
556
+ padding: $ddt-filter-padding;
544
557
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'FluentUI' {
545
558
  border-bottom: $ddt-filter-border;
546
559
  }
547
560
  @else {
548
561
  border: $ddt-filter-border;
549
562
  }
550
- border-top-width: $ddt-filter-top-border;
551
- display: block;
552
- padding: $ddt-filter-padding;
553
- }
554
563
 
555
- .e-filter-wrap {
556
564
  @if $ddt-skin-name == 'fabric' or $ddt-skin-name == 'fabric-dark' or $ddt-skin-name == 'highcontrast' or $ddt-skin-name == 'highcontrast-light' {
557
565
  border-left-width: 0;
558
566
  border-right-width: 0;
559
567
  }
560
-
561
568
  @if $ddt-skin-name == 'bootstrap-dark' or $ddt-skin-name == 'bootstrap' {
562
569
  border-bottom: $ddt-filter-border-bottom-color;
563
570
  }
564
-
565
571
  @if $ddt-skin-name == 'bootstrap4' {
566
572
  background: $ddt-filter-bg;
567
573
  }
568
574
 
569
- .e-input-group:not(.e-disabled):not(.e-float-icon-left)::before,
570
- .e-input-group:not(.e-disabled):not(.e-float-icon-left)::after,
571
- .e-input-group.e-control-wrapper:not(.e-disabled):not(.e-float-icon-left)::before,
572
- .e-input-group.e-control-wrapper:not(.e-disabled):not(.e-float-icon-left)::after {
573
- @if $ddt-skin-name == 'material' {
574
- bottom: -1px;
575
- height: 1px;
575
+ .e-input,
576
+ .e-input:focus {
577
+ @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' {
578
+ padding: $ddt-list-filter-text-indent;
576
579
  }
577
580
  }
578
- }
579
-
580
- .e-filter-wrap .e-input-group {
581
- margin-bottom: 0;
582
-
583
- @if $ddt-skin-name == 'tailwind' {
584
- border: 1px solid $border;
585
- border-radius: 4px;
586
- }
587
581
 
588
- @if $ddt-skin-name == 'bootstrap4' {
589
- background: $ddt-filter-bg;
590
- }
582
+ .e-input-group {
583
+ margin-bottom: 0;
584
+
585
+ @if $ddt-skin-name == 'tailwind' {
586
+ border: 1px solid $border;
587
+ border-radius: 4px;
588
+ }
589
+
590
+ @if $ddt-skin-name == 'bootstrap4' {
591
+ background: $ddt-filter-bg;
592
+ }
593
+
594
+ .e-clear-icon {
595
+ @if $ddt-skin-name == 'material' or $ddt-skin-name == 'material-dark' {
596
+ margin: 6px 6px 5px;
597
+ min-height: 12px;
598
+ min-width: 12px;
599
+ padding: 6px;
600
+ }
601
+ }
591
602
 
592
- .e-clear-icon {
593
- @if $ddt-skin-name == 'material' or $ddt-skin-name == 'material-dark' {
594
- margin: 6px 6px 5px;
595
- min-height: 12px;
596
- min-width: 12px;
597
- padding: 6px;
603
+ &:not(.e-disabled):not(.e-float-icon-left)::before,
604
+ &:not(.e-disabled):not(.e-float-icon-left)::after,
605
+ &.e-control-wrapper:not(.e-disabled):not(.e-float-icon-left)::before,
606
+ &.e-control-wrapper:not(.e-disabled):not(.e-float-icon-left)::after {
607
+ @if $ddt-skin-name == 'material' {
608
+ bottom: -1px;
609
+ height: 1px;
610
+ }
598
611
  }
599
612
  }
600
613
  }
@@ -611,6 +624,7 @@
611
624
  cursor: default;
612
625
  font-family: inherit;
613
626
  font-size: 14px;
627
+ text-align: center;
614
628
  @if $ddt-skin-name == 'tailwind' {
615
629
  padding: 8px 16px;
616
630
  }
@@ -620,7 +634,6 @@
620
634
  @else {
621
635
  padding: 14px 16px;
622
636
  }
623
- text-align: center;
624
637
 
625
638
  .e-treeview {
626
639
  display: none;
@@ -640,11 +653,13 @@
640
653
  width: 100%;
641
654
 
642
655
  .e-list-item {
643
- padding: 0;
656
+ @if $ddt-skin-name != 'fluent2' {
657
+ padding: 0;
644
658
 
645
- .e-ul {
646
- margin: 0;
647
- padding: 0 0 0 14px;
659
+ .e-ul {
660
+ margin: 0;
661
+ padding: 0 0 0 14px;
662
+ }
648
663
  }
649
664
  }
650
665
 
@@ -652,20 +667,20 @@
652
667
  @if $ddt-skin-name == 'highcontrast' or $ddt-skin-name == 'highcontrast-light' {
653
668
  border-width: 2px;
654
669
  }
655
- @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' and $ddt-skin-name != 'Material3' {
670
+ @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' and $ddt-skin-name != 'Material3' and $ddt-skin-name != 'fluent2' {
656
671
  height: $ddt-treeview-fullrow-height;
657
672
  }
658
673
  }
659
674
 
660
675
  & > .e-ul {
661
676
  overflow: hidden;
662
- @if $ddt-skin-name != 'FluentUI' and $ddt-skin-name != 'Material3' {
677
+ @if $ddt-skin-name != 'FluentUI' and $ddt-skin-name != 'Material3' and $ddt-skin-name != 'fluent2' {
663
678
  padding: $ddt-treeview-padding;
664
679
  }
665
680
  }
666
681
 
667
682
  &.e-fullrow-wrap .e-text-content {
668
- @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' and $ddt-skin-name != 'FluentUI' and $ddt-skin-name != 'Material3' {
683
+ @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' and $ddt-skin-name != 'FluentUI' and $ddt-skin-name != 'Material3' and $ddt-skin-name != 'fluent2' {
669
684
  padding-bottom: $ddt-treeview-content-padding-top;
670
685
  padding-top: $ddt-treeview-content-padding-bottom;
671
686
  }
@@ -707,8 +722,7 @@
707
722
  }
708
723
 
709
724
  &.e-wrap-count {
710
- position: absolute;
711
- right: auto;
725
+ @include position(absolute, auto);
712
726
  }
713
727
  }
714
728
  }
@@ -824,35 +838,30 @@
824
838
  }
825
839
  }
826
840
 
827
- &.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
841
+ &.e-show-dd-icon {
828
842
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
829
- margin-left: 18px;
830
- margin-right: 4px;
843
+ @include chip-last-margin(4px, 18px);
831
844
  }
832
845
  @else {
833
- margin-left: $ddt-dd-icon-width;
834
- margin-right: 1px;
846
+ @include chip-last-margin(1px, $ddt-dd-icon-width);
835
847
  }
836
848
  }
837
849
 
838
- &.e-show-clear .e-chips-wrapper .e-chips:last-child {
850
+ &.e-show-clear {
839
851
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
840
- margin-left: 18px;
841
- margin-right: 4px;
852
+ @include chip-last-margin(4px, 18px);
842
853
  }
843
854
  @else {
844
- margin-left: $ddt-close-icon-width;
845
- margin-right: 1px;
855
+ @include chip-last-margin(1px, $ddt-close-icon-width);
846
856
  }
847
857
  }
848
858
 
849
- &.e-show-clear.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
850
- margin-left: $ddt-last-chip-right-margin;
859
+ &.e-show-clear.e-show-dd-icon {
851
860
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
852
- margin-right: 4px;
861
+ @include chip-last-margin(4px, $ddt-last-chip-right-margin);
853
862
  }
854
863
  @else {
855
- margin-right: 1px;
864
+ @include chip-last-margin(1px, $ddt-last-chip-right-margin);
856
865
  }
857
866
  }
858
867
 
@@ -880,7 +889,6 @@
880
889
  }
881
890
 
882
891
  &.e-popup {
883
-
884
892
  .e-treeview .e-list-item .e-ul {
885
893
  padding: 0 14px 0 0;
886
894
  }
@@ -917,15 +925,13 @@
917
925
  &.e-show-text {
918
926
  &.e-show-dd-icon .e-clear-icon {
919
927
  @if $ddt-skin-name == 'tailwind' {
920
- bottom: 3px;
921
- right: 32px;
928
+ @include icon-style(3px, 32px);
922
929
  }
923
930
  @else if $ddt-skin-name == 'bootstrap4' {
924
931
  right: 33px;
925
932
  }
926
933
  @else if $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
927
- bottom: auto;
928
- right: 36px;
934
+ @include icon-style(auto, 36px);
929
935
  }
930
936
  @else if $ddt-skin-name != 'Material3' {
931
937
  right: $ddt-dd-icon-bigger-width;
@@ -949,6 +955,9 @@
949
955
  @if $ddt-skin-name == 'bootstrap4' {
950
956
  font-size: 10px;
951
957
  }
958
+ @else if $ddt-skin-name == 'fluent2' {
959
+ font-size: 18px;
960
+ }
952
961
  }
953
962
 
954
963
  .e-clear-icon {
@@ -959,45 +968,60 @@
959
968
  @else {
960
969
  min-height: $ddt-close-icon-bigger-min-height;
961
970
  }
971
+ @if $ddt-skin-name == 'fluent2' {
972
+ &::before {
973
+ font-size: 18px;
974
+ }
975
+ }
962
976
  }
963
977
  }
964
978
 
965
979
  &.e-show-chip {
966
980
  .e-chips-close {
967
981
  @if $ddt-skin-name == 'bootstrap4' {
968
- line-height: 27px;
969
- min-height: 30px;
970
- min-width: 30px;
971
-
972
- &::before {
973
- font-size: 10px;
974
- }
982
+ @include min-style(30px, 30px, 10px, 27px);
975
983
  }
976
984
  @if $ddt-skin-name == 'tailwind' {
977
- line-height: 18px;
978
- min-height: 24px;
979
- min-width: 24px;
980
-
981
- &::before {
982
- font-size: 20px;
983
- }
985
+ @include min-style(24px, 24px, 20px, 18px);
984
986
  }
985
987
  @if $ddt-skin-name == 'bootstrap5' {
986
- min-height: 24px;
987
- min-width: 24px;
988
-
988
+ @include min-style(24px, 24px, 12px, null);
989
989
  &::before {
990
- font-size: 12px;
991
990
  vertical-align: middle;
992
991
  }
993
992
  }
994
993
  @if $ddt-skin-name == 'FluentUI' {
995
- line-height: 27px;
996
- min-height: 32px;
997
- min-width: 32px;
994
+ @include min-style(32px, 32px, 12px, 27px);
995
+ }
996
+ }
998
997
 
999
- &::before {
1000
- font-size: 12px;
998
+ .e-overflow {
999
+ .e-remain {
1000
+ &.e-wrap-count {
1001
+ @if $ddt-skin-name == 'tailwind' {
1002
+ line-height: 22px;
1003
+ padding-top: 7px;
1004
+ }
1005
+ @if $ddt-skin-name == 'FluentUI' {
1006
+ line-height: 38px;
1007
+ padding-top: 0;
1008
+ }
1009
+ }
1010
+ }
1011
+
1012
+ &.e-total-count {
1013
+ .e-remain {
1014
+ @if $ddt-skin-name == 'bootstrap5' {
1015
+ line-height: 36px;
1016
+ padding: 0 12px;
1017
+ }
1018
+ @else if $ddt-skin-name == 'tailwind' {
1019
+ padding: 8px 12px;
1020
+ }
1021
+ @else if $ddt-skin-name == 'FluentUI' {
1022
+ line-height: 38px;
1023
+ padding: 0 8px;
1024
+ }
1001
1025
  }
1002
1026
  }
1003
1027
  }
@@ -1016,11 +1040,8 @@
1016
1040
  }
1017
1041
 
1018
1042
  .e-remain {
1019
- @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' {
1020
- font-size: $text-base;
1021
- }
1022
- @else if $ddt-skin-name == 'FluentUI' {
1023
- font-size: $text-lg;
1043
+ @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
1044
+ font-size: $ddt-remains-font-size;
1024
1045
  }
1025
1046
  }
1026
1047
  }
@@ -1028,10 +1049,7 @@
1028
1049
  @if $ddt-skin-name == 'material' or $ddt-skin-name == 'material-dark' {
1029
1050
  &.e-outline {
1030
1051
  .e-overflow {
1031
- &.e-show-text {
1032
- padding: $ddt-outline-bigger-padding;
1033
- }
1034
-
1052
+ &.e-show-text,
1035
1053
  &.e-total-count {
1036
1054
  padding: $ddt-outline-bigger-padding;
1037
1055
  }
@@ -1093,18 +1111,15 @@
1093
1111
  &.e-float-input.e-control-wrapper.e-show-chip,
1094
1112
  &.e-float-input.e-control-wrapper.e-show-text {
1095
1113
  .e-ddt-icon {
1096
- bottom: 12px;
1097
- right: 12px;
1114
+ @include icon-style(12px, 12px);
1098
1115
  }
1099
1116
 
1100
1117
  .e-clear-icon {
1101
- bottom: 11px;
1102
- right: 44px;
1118
+ @include icon-style(11px, 44px);
1103
1119
  }
1104
1120
 
1105
1121
  &:not(.e-show-dd-icon) .e-clear-icon {
1106
- bottom: 14px;
1107
- right: 12px;
1122
+ @include icon-style(14px, 12px);
1108
1123
  }
1109
1124
  }
1110
1125
 
@@ -1130,9 +1145,7 @@
1130
1145
  }
1131
1146
 
1132
1147
  .e-chips-close::before {
1133
- font-size: 14px;
1134
- height: 14px;
1135
- width: 14px;
1148
+ @include close-style(14px, 14px, 14px);
1136
1149
  }
1137
1150
  }
1138
1151
  }
@@ -1157,16 +1170,14 @@
1157
1170
  .e-chips {
1158
1171
  height: 32px;
1159
1172
  padding: 0 12px;
1160
- }
1161
1173
 
1162
- .e-chips > .e-chipcontent {
1163
- font-size: 14px;
1174
+ > .e-chipcontent {
1175
+ font-size: 14px;
1176
+ }
1164
1177
  }
1165
1178
 
1166
1179
  .e-chips-close::before {
1167
- font-size: 16px;
1168
- height: 16px;
1169
- width: 16px;
1180
+ @include close-style(16px, 16px, 16px);
1170
1181
  }
1171
1182
  }
1172
1183
  }
@@ -1175,47 +1186,12 @@
1175
1186
  &.e-show-dd-icon.e-show-chip {
1176
1187
  .e-ddt-icon,
1177
1188
  &:not(.e-show-dd-icon) .e-clear-icon {
1178
- bottom: 16px;
1179
- right: 12px;
1189
+ @include icon-style(16px, 12px);
1180
1190
  }
1181
1191
  }
1182
1192
 
1183
1193
  .e-clear-icon {
1184
- bottom: 15px;
1185
- right: 44px;
1186
- }
1187
- }
1188
- }
1189
- }
1190
-
1191
- &.e-show-chip {
1192
- .e-overflow {
1193
- .e-remain {
1194
- &.e-wrap-count {
1195
- @if $ddt-skin-name == 'tailwind' {
1196
- line-height: 22px;
1197
- padding-top: 7px;
1198
- }
1199
- @if $ddt-skin-name == 'FluentUI' {
1200
- line-height: 38px;
1201
- padding-top: 0;
1202
- }
1203
- }
1204
- }
1205
-
1206
- &.e-total-count {
1207
- .e-remain {
1208
- @if $ddt-skin-name == 'bootstrap5' {
1209
- line-height: 36px;
1210
- padding: 0 12px;
1211
- }
1212
- @else if $ddt-skin-name == 'tailwind' {
1213
- padding: 8px 12px;
1214
- }
1215
- @else if $ddt-skin-name == 'FluentUI' {
1216
- line-height: 38px;
1217
- padding: 0 8px;
1218
- }
1194
+ @include icon-style(15px, 44px);
1219
1195
  }
1220
1196
  }
1221
1197
  }
@@ -1235,31 +1211,19 @@
1235
1211
  max-width: $ddt-big-chip-ci-width;
1236
1212
  }
1237
1213
 
1238
- &.e-show-clear.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
1239
- margin-right: $ddt-last-chip-bigger-right-margin;
1240
- max-width: $ddt-big-chip-ddi-ci-width;
1214
+ &.e-show-clear.e-show-dd-icon {
1215
+ @include chip-last($ddt-last-chip-bigger-right-margin, $ddt-big-chip-ddi-ci-width);
1241
1216
  }
1242
1217
 
1243
1218
  &.e-popup {
1244
- @if $ddt-skin-name == 'tailwind' {
1245
- margin-top: 8px;
1246
- }
1247
- @else if $ddt-skin-name == 'bootstrap5' {
1248
- margin-top: 4px;
1219
+ @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' {
1220
+ margin-top: $ddt-popup-margin;
1249
1221
  }
1250
1222
 
1251
1223
  .e-selectall-parent {
1252
1224
  text-indent: $ddt-select-all-bigger-text-indent;
1253
1225
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
1254
- @if $ddt-skin-name == 'bootstrap5' {
1255
- padding: 3px 12px;
1256
- }
1257
- @else if $ddt-skin-name == 'tailwind' {
1258
- padding: 12px 16px;
1259
- }
1260
- @else {
1261
- padding: 10px 16px;
1262
- }
1226
+ padding: $ddt-big-select-all-padding;
1263
1227
 
1264
1228
  .e-all-text {
1265
1229
  font-size: $text-base;
@@ -1301,18 +1265,20 @@
1301
1265
  }
1302
1266
  }
1303
1267
 
1304
- .e-treeview .e-fullrow {
1305
- @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' and $ddt-skin-name != 'Material3' {
1306
- height: $ddt-treeview-fullrow-bigger-height;
1268
+ .e-treeview {
1269
+ .e-fullrow {
1270
+ @if $ddt-skin-name != 'tailwind' and $ddt-skin-name != 'bootstrap5' and $ddt-skin-name != 'Material3' {
1271
+ height: $ddt-treeview-fullrow-bigger-height;
1272
+ }
1307
1273
  }
1308
- }
1309
1274
 
1310
- .e-treeview > .e-ul {
1311
- @if $ddt-skin-name == 'bootstrap5' {
1312
- padding: 8px 16px;
1313
- }
1314
- @if $ddt-skin-name == 'tailwind' {
1315
- padding: 8px 0 8px 16px;
1275
+ > .e-ul {
1276
+ @if $ddt-skin-name == 'bootstrap5' {
1277
+ padding: 8px 16px;
1278
+ }
1279
+ @if $ddt-skin-name == 'tailwind' {
1280
+ padding: 8px 0 8px 16px;
1281
+ }
1316
1282
  }
1317
1283
  }
1318
1284
  }
@@ -1345,19 +1311,19 @@
1345
1311
  padding: 19px 0 0 12px;
1346
1312
  }
1347
1313
  }
1348
- }
1349
1314
 
1350
- &.e-float-input.e-control-wrapper.e-show-chip,
1351
- &.e-float-input.e-control-wrapper.e-show-text {
1352
- .e-ddt-icon,
1353
- &:not(.e-show-dd-icon) .e-clear-icon {
1354
- left: 12px;
1355
- right: auto;
1356
- }
1315
+ &.e-show-chip,
1316
+ &.e-show-text {
1317
+ .e-ddt-icon,
1318
+ &:not(.e-show-dd-icon) .e-clear-icon {
1319
+ left: 12px;
1320
+ right: auto;
1321
+ }
1357
1322
 
1358
- &.e-show-dd-icon .e-clear-icon {
1359
- left: 44px;
1360
- right: auto;
1323
+ &.e-show-dd-icon .e-clear-icon {
1324
+ left: 44px;
1325
+ right: auto;
1326
+ }
1361
1327
  }
1362
1328
  }
1363
1329
 
@@ -1379,33 +1345,30 @@
1379
1345
  }
1380
1346
  }
1381
1347
 
1382
- &.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
1348
+ &.e-show-dd-icon {
1383
1349
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
1384
- margin-right: 4px;
1350
+ @include chip-last-margin(4px, null);
1385
1351
  }
1386
1352
  @else if $ddt-skin-name != 'Material3' {
1387
- margin-left: $ddt-dd-icon-bigger-width;
1388
- margin-right: 1px;
1353
+ @include chip-last-margin(1px, $ddt-dd-icon-bigger-width);
1389
1354
  }
1390
1355
  }
1391
1356
 
1392
- &.e-show-clear .e-chips-wrapper .e-chips:last-child {
1357
+ &.e-show-clear {
1393
1358
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
1394
- margin-right: 4px;
1359
+ @include chip-last-margin(4px, null);
1395
1360
  }
1396
1361
  @else if $ddt-skin-name != 'Material3' {
1397
- margin-left: $ddt-close-icon-bigger-width;
1398
- margin-right: 1px;
1362
+ @include chip-last-margin(1px, $ddt-close-icon-bigger-width);
1399
1363
  }
1400
1364
  }
1401
1365
 
1402
- &.e-show-clear.e-show-dd-icon .e-chips-wrapper .e-chips:last-child {
1403
- margin-left: $ddt-last-chip-bigger-right-margin;
1366
+ &.e-show-clear.e-show-dd-icon {
1404
1367
  @if $ddt-skin-name == 'tailwind' or $ddt-skin-name == 'bootstrap5' or $ddt-skin-name == 'FluentUI' {
1405
- margin-right: 4px;
1368
+ @include chip-last-margin($ddt-last-chip-bigger-right-margin, 4px);
1406
1369
  }
1407
1370
  @else {
1408
- margin-right: 1px;
1371
+ @include chip-last-margin($ddt-last-chip-bigger-right-margin, 1px);
1409
1372
  }
1410
1373
  }
1411
1374