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