@refinitiv-ui/elements 6.5.3 → 6.6.0

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 (295) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/lib/accordion/index.js +1 -3
  3. package/lib/appstate-bar/custom-elements.json +2 -2
  4. package/lib/appstate-bar/custom-elements.md +4 -4
  5. package/lib/appstate-bar/index.d.ts +2 -2
  6. package/lib/appstate-bar/index.js +3 -11
  7. package/lib/appstate-bar/themes/halo/dark/index.js +1 -1
  8. package/lib/appstate-bar/themes/halo/light/index.js +1 -1
  9. package/lib/appstate-bar/themes/solar/charcoal/index.js +1 -1
  10. package/lib/appstate-bar/themes/solar/pearl/index.js +1 -1
  11. package/lib/autosuggest/custom-elements.json +8 -8
  12. package/lib/autosuggest/custom-elements.md +8 -8
  13. package/lib/autosuggest/helpers/types.d.ts +18 -18
  14. package/lib/autosuggest/index.d.ts +8 -8
  15. package/lib/autosuggest/index.js +79 -81
  16. package/lib/button/custom-elements.json +1 -1
  17. package/lib/button/custom-elements.md +1 -1
  18. package/lib/button/index.d.ts +1 -1
  19. package/lib/button/index.js +2 -4
  20. package/lib/button/themes/halo/dark/index.js +1 -1
  21. package/lib/button/themes/halo/light/index.js +1 -1
  22. package/lib/button/themes/solar/charcoal/index.js +1 -1
  23. package/lib/button/themes/solar/pearl/index.js +1 -1
  24. package/lib/button-bar/index.js +1 -3
  25. package/lib/calendar/custom-elements.json +2 -2
  26. package/lib/calendar/custom-elements.md +4 -4
  27. package/lib/calendar/index.d.ts +2 -2
  28. package/lib/calendar/index.js +3 -5
  29. package/lib/calendar/themes/halo/dark/index.js +1 -1
  30. package/lib/calendar/themes/halo/light/index.js +1 -1
  31. package/lib/calendar/themes/solar/charcoal/index.js +1 -1
  32. package/lib/calendar/themes/solar/pearl/index.js +1 -1
  33. package/lib/calendar/types.d.ts +5 -5
  34. package/lib/calendar/utils.d.ts +1 -1
  35. package/lib/canvas/custom-elements.json +1 -1
  36. package/lib/canvas/custom-elements.md +1 -1
  37. package/lib/canvas/index.d.ts +1 -1
  38. package/lib/canvas/index.js +9 -11
  39. package/lib/card/custom-elements.json +1 -1
  40. package/lib/card/custom-elements.md +3 -3
  41. package/lib/card/helpers/types.d.ts +1 -1
  42. package/lib/card/index.d.ts +1 -1
  43. package/lib/card/index.js +2 -4
  44. package/lib/chart/custom-elements.json +4 -0
  45. package/lib/chart/custom-elements.md +1 -0
  46. package/lib/chart/helpers/merge.d.ts +2 -2
  47. package/lib/chart/helpers/types.d.ts +4 -4
  48. package/lib/chart/index.d.ts +1 -1
  49. package/lib/chart/index.js +1 -3
  50. package/lib/chart/themes/halo/dark/index.js +1 -1
  51. package/lib/chart/themes/halo/light/index.js +1 -1
  52. package/lib/chart/themes/solar/charcoal/index.js +1 -1
  53. package/lib/chart/themes/solar/pearl/index.js +1 -1
  54. package/lib/checkbox/custom-elements.json +1 -1
  55. package/lib/checkbox/custom-elements.md +3 -3
  56. package/lib/checkbox/index.d.ts +1 -1
  57. package/lib/checkbox/index.js +2 -4
  58. package/lib/clock/custom-elements.json +2 -2
  59. package/lib/clock/custom-elements.md +2 -2
  60. package/lib/clock/index.d.ts +2 -2
  61. package/lib/clock/index.js +3 -5
  62. package/lib/clock/utils/TickManager.d.ts +1 -1
  63. package/lib/collapse/custom-elements.json +1 -1
  64. package/lib/collapse/custom-elements.md +3 -3
  65. package/lib/collapse/index.d.ts +1 -1
  66. package/lib/collapse/index.js +2 -4
  67. package/lib/color-dialog/custom-elements.json +2 -2
  68. package/lib/color-dialog/custom-elements.md +4 -4
  69. package/lib/color-dialog/helpers/value-model.js +3 -1
  70. package/lib/color-dialog/index.d.ts +2 -2
  71. package/lib/color-dialog/index.js +3 -5
  72. package/lib/color-picker/custom-elements.json +1 -1
  73. package/lib/color-picker/custom-elements.md +3 -3
  74. package/lib/color-picker/index.d.ts +1 -1
  75. package/lib/color-picker/index.js +2 -4
  76. package/lib/combo-box/custom-elements.json +3 -6
  77. package/lib/combo-box/custom-elements.md +5 -6
  78. package/lib/combo-box/helpers/types.d.ts +2 -2
  79. package/lib/combo-box/index.d.ts +3 -12
  80. package/lib/combo-box/index.js +7 -20
  81. package/lib/combo-box/themes/halo/dark/index.js +1 -1
  82. package/lib/combo-box/themes/halo/light/index.js +1 -1
  83. package/lib/combo-box/themes/solar/charcoal/index.js +1 -1
  84. package/lib/combo-box/themes/solar/pearl/index.js +1 -1
  85. package/lib/counter/index.js +1 -3
  86. package/lib/counter/themes/halo/dark/index.js +1 -1
  87. package/lib/counter/themes/halo/light/index.js +1 -1
  88. package/lib/counter/themes/solar/charcoal/index.js +1 -1
  89. package/lib/counter/themes/solar/pearl/index.js +1 -1
  90. package/lib/datetime-field/types.d.ts +3 -3
  91. package/lib/datetime-picker/custom-elements.json +4 -4
  92. package/lib/datetime-picker/custom-elements.md +4 -4
  93. package/lib/datetime-picker/index.d.ts +4 -4
  94. package/lib/datetime-picker/index.js +5 -7
  95. package/lib/datetime-picker/themes/halo/dark/index.js +1 -1
  96. package/lib/datetime-picker/themes/halo/light/index.js +1 -1
  97. package/lib/datetime-picker/themes/solar/charcoal/index.js +1 -1
  98. package/lib/datetime-picker/themes/solar/pearl/index.js +1 -1
  99. package/lib/datetime-picker/types.d.ts +1 -1
  100. package/lib/dialog/custom-elements.json +1 -1
  101. package/lib/dialog/custom-elements.md +1 -1
  102. package/lib/dialog/index.d.ts +1 -1
  103. package/lib/dialog/index.js +2 -4
  104. package/lib/email-field/custom-elements.json +3 -3
  105. package/lib/email-field/custom-elements.md +5 -5
  106. package/lib/email-field/index.d.ts +3 -3
  107. package/lib/email-field/index.js +4 -6
  108. package/lib/email-field/themes/halo/dark/index.js +1 -1
  109. package/lib/email-field/themes/halo/light/index.js +1 -1
  110. package/lib/email-field/themes/solar/charcoal/index.js +1 -1
  111. package/lib/email-field/themes/solar/pearl/index.js +1 -1
  112. package/lib/events.d.ts +13 -13
  113. package/lib/flag/index.js +1 -3
  114. package/lib/header/index.js +1 -3
  115. package/lib/header/themes/halo/dark/index.js +1 -1
  116. package/lib/header/themes/halo/light/index.js +1 -1
  117. package/lib/header/themes/solar/charcoal/index.js +1 -1
  118. package/lib/header/themes/solar/pearl/index.js +1 -1
  119. package/lib/heatmap/helpers/types.d.ts +7 -7
  120. package/lib/heatmap/index.js +118 -120
  121. package/lib/icon/index.js +1 -3
  122. package/lib/interactive-chart/custom-elements.json +1 -1
  123. package/lib/interactive-chart/custom-elements.md +3 -3
  124. package/lib/interactive-chart/helpers/merge.d.ts +2 -2
  125. package/lib/interactive-chart/helpers/types.d.ts +7 -7
  126. package/lib/interactive-chart/index.d.ts +1 -1
  127. package/lib/interactive-chart/index.js +2 -4
  128. package/lib/item/custom-elements.json +4 -4
  129. package/lib/item/custom-elements.md +2 -2
  130. package/lib/item/helpers/types.d.ts +2 -2
  131. package/lib/item/index.d.ts +2 -1
  132. package/lib/item/index.js +3 -4
  133. package/lib/label/index.js +1 -3
  134. package/lib/layout/index.js +1 -3
  135. package/lib/led-gauge/index.js +8 -10
  136. package/lib/list/custom-elements.json +1 -1
  137. package/lib/list/custom-elements.md +3 -3
  138. package/lib/list/elements/list.d.ts +1 -1
  139. package/lib/list/elements/list.js +2 -4
  140. package/lib/list/helpers/types.d.ts +1 -1
  141. package/lib/loader/index.js +1 -3
  142. package/lib/multi-input/custom-elements.json +5 -5
  143. package/lib/multi-input/custom-elements.md +5 -5
  144. package/lib/multi-input/helpers/types.d.ts +3 -3
  145. package/lib/multi-input/index.d.ts +5 -17
  146. package/lib/multi-input/index.js +6 -20
  147. package/lib/multi-input/themes/halo/dark/index.js +1 -1
  148. package/lib/multi-input/themes/halo/light/index.js +1 -1
  149. package/lib/multi-input/themes/solar/charcoal/index.js +1 -1
  150. package/lib/multi-input/themes/solar/pearl/index.js +1 -1
  151. package/lib/notification/custom-elements.json +2 -2
  152. package/lib/notification/custom-elements.md +4 -4
  153. package/lib/notification/elements/notification-tray.js +1 -3
  154. package/lib/notification/elements/notification.d.ts +2 -2
  155. package/lib/notification/elements/notification.js +3 -5
  156. package/lib/notification/helpers/types.d.ts +2 -2
  157. package/lib/number-field/custom-elements.json +2 -2
  158. package/lib/number-field/custom-elements.md +4 -4
  159. package/lib/number-field/index.d.ts +3 -3
  160. package/lib/number-field/index.js +3 -5
  161. package/lib/number-field/themes/halo/dark/index.js +1 -1
  162. package/lib/number-field/themes/halo/light/index.js +1 -1
  163. package/lib/number-field/themes/solar/charcoal/index.js +1 -1
  164. package/lib/number-field/themes/solar/pearl/index.js +1 -1
  165. package/lib/overlay/custom-elements.json +6 -9
  166. package/lib/overlay/custom-elements.md +7 -8
  167. package/lib/overlay/elements/overlay.d.ts +7 -7
  168. package/lib/overlay/elements/overlay.js +10 -19
  169. package/lib/overlay/helpers/types.d.ts +13 -13
  170. package/lib/overlay/managers/close-manager.d.ts +1 -1
  171. package/lib/overlay/managers/zindex-manager.d.ts +1 -1
  172. package/lib/overlay-menu/custom-elements.json +2 -2
  173. package/lib/overlay-menu/custom-elements.md +2 -2
  174. package/lib/overlay-menu/helpers/types.d.ts +2 -2
  175. package/lib/overlay-menu/index.d.ts +2 -2
  176. package/lib/overlay-menu/index.js +30 -32
  177. package/lib/pagination/custom-elements.json +1 -1
  178. package/lib/pagination/custom-elements.md +3 -3
  179. package/lib/pagination/index.d.ts +1 -1
  180. package/lib/pagination/index.js +2 -4
  181. package/lib/pagination/themes/halo/dark/index.js +1 -1
  182. package/lib/pagination/themes/halo/light/index.js +1 -1
  183. package/lib/pagination/themes/solar/charcoal/index.js +1 -1
  184. package/lib/pagination/themes/solar/pearl/index.js +1 -1
  185. package/lib/panel/index.js +1 -3
  186. package/lib/password-field/custom-elements.json +2 -6
  187. package/lib/password-field/custom-elements.md +4 -5
  188. package/lib/password-field/index.d.ts +2 -3
  189. package/lib/password-field/index.js +3 -6
  190. package/lib/password-field/themes/halo/dark/index.js +1 -1
  191. package/lib/password-field/themes/halo/light/index.js +1 -1
  192. package/lib/password-field/themes/solar/charcoal/index.js +1 -1
  193. package/lib/password-field/themes/solar/pearl/index.js +1 -1
  194. package/lib/pill/custom-elements.json +1 -1
  195. package/lib/pill/custom-elements.md +3 -3
  196. package/lib/pill/index.d.ts +1 -1
  197. package/lib/pill/index.js +2 -4
  198. package/lib/pill/themes/halo/dark/index.js +1 -1
  199. package/lib/pill/themes/halo/light/index.js +1 -1
  200. package/lib/pill/themes/solar/charcoal/index.js +1 -1
  201. package/lib/pill/themes/solar/pearl/index.js +1 -1
  202. package/lib/progress-bar/index.js +1 -3
  203. package/lib/radio-button/custom-elements.json +1 -1
  204. package/lib/radio-button/custom-elements.md +3 -3
  205. package/lib/radio-button/index.d.ts +1 -1
  206. package/lib/radio-button/index.js +2 -4
  207. package/lib/rating/custom-elements.json +1 -1
  208. package/lib/rating/custom-elements.md +3 -3
  209. package/lib/rating/index.d.ts +1 -1
  210. package/lib/rating/index.js +2 -4
  211. package/lib/search-field/custom-elements.json +3 -3
  212. package/lib/search-field/custom-elements.md +5 -5
  213. package/lib/search-field/index.d.ts +3 -3
  214. package/lib/search-field/index.js +4 -6
  215. package/lib/search-field/themes/halo/dark/index.js +1 -1
  216. package/lib/search-field/themes/halo/light/index.js +1 -1
  217. package/lib/search-field/themes/solar/charcoal/index.js +1 -1
  218. package/lib/search-field/themes/solar/pearl/index.js +1 -1
  219. package/lib/select/custom-elements.json +2 -2
  220. package/lib/select/custom-elements.md +4 -4
  221. package/lib/select/helpers/types.d.ts +2 -2
  222. package/lib/select/index.d.ts +2 -2
  223. package/lib/select/index.js +3 -5
  224. package/lib/select/themes/halo/dark/index.js +1 -1
  225. package/lib/select/themes/halo/light/index.js +1 -1
  226. package/lib/select/themes/solar/charcoal/index.js +1 -1
  227. package/lib/select/themes/solar/pearl/index.js +1 -1
  228. package/lib/sidebar-layout/index.js +1 -3
  229. package/lib/slider/custom-elements.json +3 -3
  230. package/lib/slider/custom-elements.md +5 -5
  231. package/lib/slider/index.d.ts +3 -3
  232. package/lib/slider/index.js +100 -102
  233. package/lib/sparkline/index.js +1 -3
  234. package/lib/swing-gauge/index.js +1 -3
  235. package/lib/swing-gauge/types.d.ts +1 -1
  236. package/lib/tab/custom-elements.json +1 -1
  237. package/lib/tab/custom-elements.md +3 -3
  238. package/lib/tab/index.d.ts +1 -1
  239. package/lib/tab/index.js +2 -4
  240. package/lib/tab/themes/halo/dark/index.js +1 -1
  241. package/lib/tab/themes/halo/light/index.js +1 -1
  242. package/lib/tab/themes/solar/charcoal/index.js +1 -1
  243. package/lib/tab/themes/solar/pearl/index.js +1 -1
  244. package/lib/tab-bar/custom-elements.json +1 -1
  245. package/lib/tab-bar/custom-elements.md +3 -3
  246. package/lib/tab-bar/index.d.ts +1 -1
  247. package/lib/tab-bar/index.js +2 -4
  248. package/lib/text-field/custom-elements.json +3 -3
  249. package/lib/text-field/custom-elements.md +5 -5
  250. package/lib/text-field/index.d.ts +3 -3
  251. package/lib/text-field/index.js +4 -6
  252. package/lib/text-field/themes/halo/dark/index.js +1 -1
  253. package/lib/text-field/themes/halo/light/index.js +1 -1
  254. package/lib/text-field/themes/solar/charcoal/index.js +1 -1
  255. package/lib/text-field/themes/solar/pearl/index.js +1 -1
  256. package/lib/time-picker/custom-elements.json +1 -1
  257. package/lib/time-picker/custom-elements.md +3 -3
  258. package/lib/time-picker/index.d.ts +1 -1
  259. package/lib/time-picker/index.js +2 -4
  260. package/lib/time-picker/themes/halo/dark/index.js +1 -1
  261. package/lib/time-picker/themes/halo/light/index.js +1 -1
  262. package/lib/time-picker/themes/solar/charcoal/index.js +1 -1
  263. package/lib/time-picker/themes/solar/pearl/index.js +1 -1
  264. package/lib/toggle/custom-elements.json +1 -1
  265. package/lib/toggle/custom-elements.md +3 -3
  266. package/lib/toggle/index.d.ts +1 -1
  267. package/lib/toggle/index.js +2 -4
  268. package/lib/toggle/themes/halo/dark/index.js +1 -1
  269. package/lib/toggle/themes/halo/light/index.js +1 -1
  270. package/lib/toggle/themes/solar/charcoal/index.js +1 -1
  271. package/lib/toggle/themes/solar/pearl/index.js +1 -1
  272. package/lib/tooltip/helpers/types.d.ts +10 -10
  273. package/lib/tooltip/index.js +1 -3
  274. package/lib/tornado-chart/elements/tornado-chart.js +1 -3
  275. package/lib/tornado-chart/themes/halo/dark/index.js +1 -1
  276. package/lib/tornado-chart/themes/halo/light/index.js +1 -1
  277. package/lib/tornado-chart/themes/solar/charcoal/index.js +1 -1
  278. package/lib/tornado-chart/themes/solar/pearl/index.js +1 -1
  279. package/lib/tree/custom-elements.json +2 -2
  280. package/lib/tree/custom-elements.md +2 -2
  281. package/lib/tree/elements/tree-item.js +1 -3
  282. package/lib/tree/elements/tree.d.ts +2 -2
  283. package/lib/tree/elements/tree.js +2 -2
  284. package/lib/tree/helpers/types.d.ts +2 -2
  285. package/lib/tree-select/custom-elements.json +7 -7
  286. package/lib/tree-select/custom-elements.md +7 -7
  287. package/lib/tree-select/helpers/types.d.ts +2 -2
  288. package/lib/tree-select/index.d.ts +5 -5
  289. package/lib/tree-select/index.js +15 -17
  290. package/lib/tree-select/themes/halo/dark/index.js +1 -1
  291. package/lib/tree-select/themes/halo/light/index.js +1 -1
  292. package/lib/tree-select/themes/solar/charcoal/index.js +1 -1
  293. package/lib/tree-select/themes/solar/pearl/index.js +1 -1
  294. package/lib/version.js +1 -1
  295. package/package.json +9 -9
@@ -63,7 +63,7 @@
63
63
  "events": [
64
64
  {
65
65
  "name": "checked-changed",
66
- "description": "Fired when the `checked` property changes."
66
+ "description": "Fired when the user checks or unchecks the checkbox. The event is not fired if the `checked` property is changed programmatically."
67
67
  }
68
68
  ]
69
69
  }
@@ -13,6 +13,6 @@ Form control for selecting one or several options
13
13
 
14
14
  ## Events
15
15
 
16
- | Event | Description |
17
- |-------------------|--------------------------------------------|
18
- | `checked-changed` | Fired when the `checked` property changes. |
16
+ | Event | Description |
17
+ |-------------------|--------------------------------------------------|
18
+ | `checked-changed` | Fired when the user checks or unchecks the checkbox. The event is not fired if the `checked` property is changed programmatically. |
@@ -3,7 +3,7 @@ import { ControlElement, TemplateResult, CSSResultGroup, PropertyValues } from '
3
3
  import '../icon/index.js';
4
4
  /**
5
5
  * Form control for selecting one or several options
6
- * @fires checked-changed - Fired when the `checked` property changes.
6
+ * @fires checked-changed - Fired when the user checks or unchecks the checkbox. The event is not fired if the `checked` property is changed programmatically.
7
7
  *
8
8
  * @attr {boolean} readonly - Set readonly state
9
9
  * @prop {boolean} [readonly=false] - Set readonly state
@@ -8,7 +8,7 @@ import { registerOverflowTooltip } from '../tooltip/index.js';
8
8
  import '../icon/index.js';
9
9
  /**
10
10
  * Form control for selecting one or several options
11
- * @fires checked-changed - Fired when the `checked` property changes.
11
+ * @fires checked-changed - Fired when the user checks or unchecks the checkbox. The event is not fired if the `checked` property is changed programmatically.
12
12
  *
13
13
  * @attr {boolean} readonly - Set readonly state
14
14
  * @prop {boolean} [readonly=false] - Set readonly state
@@ -165,8 +165,6 @@ __decorate([
165
165
  query('[part=label]', true)
166
166
  ], Checkbox.prototype, "labelEl", void 0);
167
167
  Checkbox = __decorate([
168
- customElement('ef-checkbox', {
169
- alias: 'coral-checkbox'
170
- })
168
+ customElement('ef-checkbox')
171
169
  ], Checkbox);
172
170
  export { Checkbox };
@@ -100,11 +100,11 @@
100
100
  "events": [
101
101
  {
102
102
  "name": "value-changed",
103
- "description": "Fired when the value property changes while ticking."
103
+ "description": "Fired when `value` property changes while ticking."
104
104
  },
105
105
  {
106
106
  "name": "offset-changed",
107
- "description": "Fired when the the user offsets the clock in `interactive` mode."
107
+ "description": "Fired when the user offsets the clock in `interactive` mode. The event is not triggered if `offset` property is changed programmatically."
108
108
  }
109
109
  ],
110
110
  "methods": [
@@ -24,5 +24,5 @@ Display hours, minutes and seconds as clock interface
24
24
 
25
25
  | Event | Description |
26
26
  |------------------|--------------------------------------------------|
27
- | `offset-changed` | Fired when the the user offsets the clock in `interactive` mode. |
28
- | `value-changed` | Fired when the value property changes while ticking. |
27
+ | `offset-changed` | Fired when the user offsets the clock in `interactive` mode. The event is not triggered if `offset` property is changed programmatically. |
28
+ | `value-changed` | Fired when `value` property changes while ticking. |
@@ -4,8 +4,8 @@ import '@refinitiv-ui/phrasebook/locale/en/clock.js';
4
4
  import { TranslatePromise } from '@refinitiv-ui/translate';
5
5
  /**
6
6
  * Display hours, minutes and seconds as clock interface
7
- * @fires value-changed - Fired when the value property changes while ticking.
8
- * @fires offset-changed - Fired when the the user offsets the clock in `interactive` mode.
7
+ * @fires value-changed - Fired when `value` property changes while ticking.
8
+ * @fires offset-changed - Fired when the user offsets the clock in `interactive` mode. The event is not triggered if `offset` property is changed programmatically.
9
9
  */
10
10
  export declare class Clock extends ResponsiveElement {
11
11
  /**
@@ -23,8 +23,8 @@ var Segment;
23
23
  })(Segment || (Segment = {}));
24
24
  /**
25
25
  * Display hours, minutes and seconds as clock interface
26
- * @fires value-changed - Fired when the value property changes while ticking.
27
- * @fires offset-changed - Fired when the the user offsets the clock in `interactive` mode.
26
+ * @fires value-changed - Fired when `value` property changes while ticking.
27
+ * @fires offset-changed - Fired when the user offsets the clock in `interactive` mode. The event is not triggered if `offset` property is changed programmatically.
28
28
  */
29
29
  let Clock = class Clock extends ResponsiveElement {
30
30
  constructor() {
@@ -693,8 +693,6 @@ __decorate([
693
693
  property({ type: String, attribute: 'size', reflect: true })
694
694
  ], Clock.prototype, "size", void 0);
695
695
  Clock = __decorate([
696
- customElement('ef-clock', {
697
- alias: 'sapphire-clock'
698
- })
696
+ customElement('ef-clock')
699
697
  ], Clock);
700
698
  export { Clock };
@@ -1,4 +1,4 @@
1
- declare type TickCallback = () => void;
1
+ type TickCallback = () => void;
2
2
  /**
3
3
  * Register new tick callback
4
4
  * @param tickCallback tick callback
@@ -63,7 +63,7 @@
63
63
  "events": [
64
64
  {
65
65
  "name": "expanded-changed",
66
- "description": "Fired when the `expanded` property changes."
66
+ "description": "Fired when the user expands or collapses the control. The event is not triggered if `expanded` property is changed programmatically."
67
67
  }
68
68
  ],
69
69
  "slots": [
@@ -15,9 +15,9 @@ for their primary displays.
15
15
 
16
16
  ## Events
17
17
 
18
- | Event | Description |
19
- |--------------------|---------------------------------------------|
20
- | `expanded-changed` | Fired when the `expanded` property changes. |
18
+ | Event | Description |
19
+ |--------------------|--------------------------------------------------|
20
+ | `expanded-changed` | Fired when the user expands or collapses the control. The event is not triggered if `expanded` property is changed programmatically. |
21
21
 
22
22
  ## Slots
23
23
 
@@ -8,7 +8,7 @@ import '../icon/index.js';
8
8
  * or areas of the screen, maximizing the amount of real estate
9
9
  * for their primary displays.
10
10
  *
11
- * @fires expanded-changed - Fired when the `expanded` property changes.
11
+ * @fires expanded-changed - Fired when the user expands or collapses the control. The event is not triggered if `expanded` property is changed programmatically.
12
12
  *
13
13
  * @slot header-left - Slot to add custom contents to the left side of header e.g. ef-icon, ef-checkbox
14
14
  * @slot header-right - Slot to add custom contents to the right side of header e.g. ef-icon, ef-checkbox
@@ -16,7 +16,7 @@ preload('right'); /* preload calendar icons for faster loading */
16
16
  * or areas of the screen, maximizing the amount of real estate
17
17
  * for their primary displays.
18
18
  *
19
- * @fires expanded-changed - Fired when the `expanded` property changes.
19
+ * @fires expanded-changed - Fired when the user expands or collapses the control. The event is not triggered if `expanded` property is changed programmatically.
20
20
  *
21
21
  * @slot header-left - Slot to add custom contents to the left side of header e.g. ef-icon, ef-checkbox
22
22
  * @slot header-right - Slot to add custom contents to the right side of header e.g. ef-icon, ef-checkbox
@@ -218,8 +218,6 @@ __decorate([
218
218
  state()
219
219
  ], Collapse.prototype, "headingLevel", void 0);
220
220
  Collapse = __decorate([
221
- customElement('ef-collapse', {
222
- alias: 'coral-collapse'
223
- })
221
+ customElement('ef-collapse')
224
222
  ], Collapse);
225
223
  export { Collapse };
@@ -194,11 +194,11 @@
194
194
  "events": [
195
195
  {
196
196
  "name": "value-changed",
197
- "description": "Fired when the `value` property changes."
197
+ "description": "Fired when the user commits a value change. The event is not triggered if the value is changed programmatically."
198
198
  },
199
199
  {
200
200
  "name": "opened-changed",
201
- "description": "Fired when the `opened` property changes."
201
+ "description": "Fired when the user changes open state of the dialog e.g. when the user presses escape key or uses close button to close the dialog. The event is not triggered if `opened` property is changed programmatically."
202
202
  }
203
203
  ]
204
204
  }
@@ -33,7 +33,7 @@ for selecting a predefined range of colours.
33
33
 
34
34
  ## Events
35
35
 
36
- | Event | Description |
37
- |------------------|-------------------------------------------|
38
- | `opened-changed` | Fired when the `opened` property changes. |
39
- | `value-changed` | Fired when the `value` property changes. |
36
+ | Event | Description |
37
+ |------------------|--------------------------------------------------|
38
+ | `opened-changed` | Fired when the user changes open state of the dialog e.g. when the user presses escape key or uses close button to close the dialog. The event is not triggered if `opened` property is changed programmatically. |
39
+ | `value-changed` | Fired when the user commits a value change. The event is not triggered if the value is changed programmatically. |
@@ -46,7 +46,9 @@ class ValueModel {
46
46
  * @returns true if different
47
47
  */
48
48
  hasChanged() {
49
- return rgb(this.initialValue).formatHex() !== rgb(this.value).formatHex();
49
+ // Avoid the same hex color format of empty string and black color
50
+ return ((this.initialValue !== this.value) && ((!!this.initialValue && !!this.value) === false))
51
+ || rgb(this.initialValue).formatHex() !== rgb(this.value).formatHex();
50
52
  }
51
53
  /**
52
54
  * Check if RGB and Hex values are valid
@@ -12,8 +12,8 @@ import '@refinitiv-ui/phrasebook/locale/en/color-dialog.js';
12
12
  * Displays a colour picker dialog,
13
13
  * for selecting a predefined range of colours.
14
14
  *
15
- * @fires value-changed - Fired when the `value` property changes.
16
- * @fires opened-changed - Fired when the `opened` property changes.
15
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if the value is changed programmatically.
16
+ * @fires opened-changed - Fired when the user changes open state of the dialog e.g. when the user presses escape key or uses close button to close the dialog. The event is not triggered if `opened` property is changed programmatically.
17
17
  *
18
18
  * @attr {string | null} header - Set Header/Title of the color dialog
19
19
  * @prop {string | null} [header=null] - Set Header/Title of the color dialog
@@ -19,8 +19,8 @@ import '@refinitiv-ui/phrasebook/locale/en/color-dialog.js';
19
19
  * Displays a colour picker dialog,
20
20
  * for selecting a predefined range of colours.
21
21
  *
22
- * @fires value-changed - Fired when the `value` property changes.
23
- * @fires opened-changed - Fired when the `opened` property changes.
22
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if the value is changed programmatically.
23
+ * @fires opened-changed - Fired when the user changes open state of the dialog e.g. when the user presses escape key or uses close button to close the dialog. The event is not triggered if `opened` property is changed programmatically.
24
24
  *
25
25
  * @attr {string | null} header - Set Header/Title of the color dialog
26
26
  * @prop {string | null} [header=null] - Set Header/Title of the color dialog
@@ -456,8 +456,6 @@ __decorate([
456
456
  query('#blueInput')
457
457
  ], ColorDialog.prototype, "blueInputEl", void 0);
458
458
  ColorDialog = __decorate([
459
- customElement('ef-color-dialog', {
460
- alias: 'emerald-color-dialog'
461
- })
459
+ customElement('ef-color-dialog')
462
460
  ], ColorDialog);
463
461
  export { ColorDialog };
@@ -63,7 +63,7 @@
63
63
  "events": [
64
64
  {
65
65
  "name": "value-changed",
66
- "description": "Dispatched when value changes"
66
+ "description": "Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically."
67
67
  }
68
68
  ]
69
69
  }
@@ -14,6 +14,6 @@ Color picker control
14
14
 
15
15
  ## Events
16
16
 
17
- | Event | Description |
18
- |-----------------|-------------------------------|
19
- | `value-changed` | Dispatched when value changes |
17
+ | Event | Description |
18
+ |-----------------|--------------------------------------------------|
19
+ | `value-changed` | Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically. |
@@ -6,7 +6,7 @@ import { TranslatePromise } from '@refinitiv-ui/translate';
6
6
  /**
7
7
  *
8
8
  * Color picker control
9
- * @fires value-changed - Dispatched when value changes
9
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
10
10
  *
11
11
  * @attr {boolean} readonly - Set readonly state
12
12
  * @prop {boolean} [readonly=false] - Set readonly state
@@ -15,7 +15,7 @@ const DIALOG_POSITION = ['right-start', 'right-end', 'right-middle', 'left-start
15
15
  /**
16
16
  *
17
17
  * Color picker control
18
- * @fires value-changed - Dispatched when value changes
18
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
19
19
  *
20
20
  * @attr {boolean} readonly - Set readonly state
21
21
  * @prop {boolean} [readonly=false] - Set readonly state
@@ -294,8 +294,6 @@ __decorate([
294
294
  property({ type: Boolean, reflect: true })
295
295
  ], ColorPicker.prototype, "opened", void 0);
296
296
  ColorPicker = __decorate([
297
- customElement('ef-color-picker', {
298
- alias: 'emerald-color-picker'
299
- })
297
+ customElement('ef-color-picker')
300
298
  ], ColorPicker);
301
299
  export { ColorPicker };
@@ -200,18 +200,15 @@
200
200
  "events": [
201
201
  {
202
202
  "name": "value-changed",
203
- "description": "Dispatched when value changes"
203
+ "description": "Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically."
204
204
  },
205
205
  {
206
206
  "name": "query-changed",
207
- "description": "Dispatched when query changes"
207
+ "description": "Fired when the user changes value in the input to change a query word. If `query-debounce-rate` is set, this event will be triggered after debounce completion. The event is not triggered if `query` property is changed programmatically."
208
208
  },
209
209
  {
210
210
  "name": "opened-changed",
211
- "description": "Dispatched when opened state changes"
212
- },
213
- {
214
- "name": "animationiteration"
211
+ "description": "Fired when the user opens or closes control's popup. The event is not triggered if `opened` property is changed programmatically."
215
212
  }
216
213
  ]
217
214
  }
@@ -27,9 +27,8 @@ Combines a popup with a filterable selection list
27
27
 
28
28
  ## Events
29
29
 
30
- | Event | Description |
31
- |----------------------|--------------------------------------|
32
- | `animationiteration` | |
33
- | `opened-changed` | Dispatched when opened state changes |
34
- | `query-changed` | Dispatched when query changes |
35
- | `value-changed` | Dispatched when value changes |
30
+ | Event | Description |
31
+ |------------------|--------------------------------------------------|
32
+ | `opened-changed` | Fired when the user opens or closes control's popup. The event is not triggered if `opened` property is changed programmatically. |
33
+ | `query-changed` | Fired when the user changes value in the input to change a query word. If `query-debounce-rate` is set, this event will be triggered after debounce completion. The event is not triggered if `query` property is changed programmatically. |
34
+ | `value-changed` | Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically. |
@@ -7,5 +7,5 @@ import type { ItemData } from '../../item';
7
7
  * @param item Item to filter
8
8
  * @return Does item match filter
9
9
  */
10
- export declare type ComboBoxFilter<T extends DataItem = ItemData> = (item: T) => boolean;
11
- export declare type ComboBoxData<T extends DataItem = ItemData> = T[] | Promise<T[]>;
10
+ export type ComboBoxFilter<T extends DataItem = ItemData> = (item: T) => boolean;
11
+ export type ComboBoxData<T extends DataItem = ItemData> = T[] | Promise<T[]>;
@@ -28,9 +28,9 @@ export { ComboBoxRenderer };
28
28
  * @attr {string} name - Set name of the element
29
29
  * @prop {string} [name=''] - Set name of the element
30
30
  *
31
- * @fires value-changed - Dispatched when value changes
32
- * @fires query-changed - Dispatched when query changes
33
- * @fires opened-changed - Dispatched when opened state changes
31
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
32
+ * @fires query-changed - Fired when the user changes value in the input to change a query word. If `query-debounce-rate` is set, this event will be triggered after debounce completion. The event is not triggered if `query` property is changed programmatically.
33
+ * @fires opened-changed - Fired when the user opens or closes control's popup. The event is not triggered if `opened` property is changed programmatically.
34
34
  */
35
35
  export declare class ComboBox<T extends DataItem = ItemData> extends FormFieldElement {
36
36
  /**
@@ -371,15 +371,6 @@ export declare class ComboBox<T extends DataItem = ItemData> extends FormFieldEl
371
371
  * @returns can highlight
372
372
  */
373
373
  protected canHighlightItem(item: T, composer: CollectionComposer<T>): boolean;
374
- /**
375
- * https://github.com/juggle/resize-observer/issues/42
376
- *
377
- * This event ensures that ResizeObserver picks up resize events
378
- * when popup is deeply nested inside shadow root.
379
- * TODO: remove this workaround once ResizeObserver handles shadow root scenario
380
- * @returns {void}
381
- */
382
- protected forcePopupLayout(): void;
383
374
  /**
384
375
  * Shift focus back to input.
385
376
  * This method is required to prevent popup from focusing
@@ -1,5 +1,5 @@
1
1
  import { __decorate } from "tslib";
2
- import { FormFieldElement, css, html, WarningNotice, FocusedPropertyKey } from '@refinitiv-ui/core';
2
+ import { FormFieldElement, css, html, WarningNotice, FocusedPropertyKey, triggerResize } from '@refinitiv-ui/core';
3
3
  import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
4
  import { property } from '@refinitiv-ui/core/decorators/property.js';
5
5
  import { query } from '@refinitiv-ui/core/decorators/query.js';
@@ -42,9 +42,9 @@ const freeTextMultipleWarning = new WarningNotice('"free-text" mode is not compa
42
42
  * @attr {string} name - Set name of the element
43
43
  * @prop {string} [name=''] - Set name of the element
44
44
  *
45
- * @fires value-changed - Dispatched when value changes
46
- * @fires query-changed - Dispatched when query changes
47
- * @fires opened-changed - Dispatched when opened state changes
45
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
46
+ * @fires query-changed - Fired when the user changes value in the input to change a query word. If `query-debounce-rate` is set, this event will be triggered after debounce completion. The event is not triggered if `query` property is changed programmatically.
47
+ * @fires opened-changed - Fired when the user opens or closes control's popup. The event is not triggered if `opened` property is changed programmatically.
48
48
  */
49
49
  let ComboBox = class ComboBox extends FormFieldElement {
50
50
  constructor() {
@@ -506,7 +506,7 @@ let ComboBox = class ComboBox extends FormFieldElement {
506
506
  // If data is set asynchronously while popup is opened
507
507
  // list might not trigger popup update
508
508
  if (changedProperties.has('data') && this.opened) {
509
- this.forcePopupLayout();
509
+ triggerResize();
510
510
  }
511
511
  super.update(changedProperties);
512
512
  }
@@ -700,7 +700,7 @@ let ComboBox = class ComboBox extends FormFieldElement {
700
700
  return result;
701
701
  });
702
702
  }
703
- this.forcePopupLayout();
703
+ triggerResize();
704
704
  }
705
705
  /**
706
706
  * Highlight the selected item or the first available item
@@ -737,17 +737,6 @@ let ComboBox = class ComboBox extends FormFieldElement {
737
737
  }
738
738
  return canHighlight;
739
739
  }
740
- /**
741
- * https://github.com/juggle/resize-observer/issues/42
742
- *
743
- * This event ensures that ResizeObserver picks up resize events
744
- * when popup is deeply nested inside shadow root.
745
- * TODO: remove this workaround once ResizeObserver handles shadow root scenario
746
- * @returns {void}
747
- */
748
- forcePopupLayout() {
749
- window.dispatchEvent(new Event('animationiteration'));
750
- }
751
740
  /**
752
741
  * Shift focus back to input.
753
742
  * This method is required to prevent popup from focusing
@@ -1200,8 +1189,6 @@ __decorate([
1200
1189
  eventOptions({ capture: true })
1201
1190
  ], ComboBox.prototype, "shiftFocus", null);
1202
1191
  ComboBox = __decorate([
1203
- customElement('ef-combo-box', {
1204
- alias: 'coral-combo-box'
1205
- })
1192
+ customElement('ef-combo-box')
1206
1193
  ], ComboBox);
1207
1194
  export { ComboBox };
@@ -4,4 +4,4 @@ import '@refinitiv-ui/elements/counter/themes/halo/dark';
4
4
  import '@refinitiv-ui/elements/item/themes/halo/dark';
5
5
  import '@refinitiv-ui/elements/icon/themes/halo/dark';
6
6
 
7
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-combo-box', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12rem;font-weight:400;height:24px;width:152px;max-width:100%;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;border-radius:0;background-color:#0d0d0d;text-overflow:ellipsis;border:1px solid #404040;scrollbar-face-color:#595959;scrollbar-shadow-color:#595959;scrollbar-highlight-color:#595959;scrollbar-arrow-color:#595959;scrollbar-track-color:#1a1a1a;scrollbar-3dlight-color:#1a1a1a;scrollbar-darkshadow-color:#1a1a1a;scrollbar-color:#595959 #1a1a1a;scrollbar-width:thin;color:#ccc;cursor:pointer;scrollbar-face-color:#595959;scrollbar-shadow-color:#595959;scrollbar-highlight-color:#595959;scrollbar-arrow-color:#595959;scrollbar-track-color:#1a1a1a;scrollbar-3dlight-color:#1a1a1a;scrollbar-darkshadow-color:#1a1a1a;scrollbar-color:#595959 #1a1a1a;scrollbar-width:thin;padding:0}:host([disabled]){border:1px solid rgba(64,64,64,.5)}:host([type=number]){padding-right:0}:host([warning]){border:1px solid #7f6400}:host([warning][disabled]){color:rgba(204,204,204,.5);border:1px solid rgba(127,100,0,.5)}:host([error]),:host([error][warning]){border:1px solid #a01c2b}:host([error][disabled]),:host([error][warning][disabled]){color:rgba(204,204,204,.5);border:1px solid rgba(160,28,43,.5)}:host ::-ms-clear{display:none}:host(:not([readonly])[focused]),:host([focused]){background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#334bff}:host [part=input]{color:inherit;padding:0;margin:0;flex:1 1 auto;min-width:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;touch-action:manipulation}:host [part=input]::-webkit-clear-button,:host [part=input]::-webkit-inner-spin-button,:host [part=input]::-webkit-search-cancel-button,:host [part=input]::-webkit-search-decoration{-webkit-appearance:none}:host [part=input]:invalid{box-shadow:none}:host([disabled]) [part=input]{-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([readonly]){cursor:default}:host [part=placeholder]{opacity:.5;opacity:.7}:host [part=label],:host [part=placeholder]{margin-right:3px}:host [part~=icon]{color:#ccc;opacity:.7}:host(:not([readonly]):hover) [part~=icon],:host(:not([readonly])[focused]) [part~=icon]{opacity:1}:host(:not([readonly])[focused]) [part~=icon]{color:#334bff}:host([disabled]) [part~=icon]{color:rgba(64,64,64,.5)}:host [part=list]{max-width:var(--list-max-width,300px);max-height:var(--list-max-height)}:host [part~=input-wrapper]{touch-action:manipulation;display:flex;align-items:center;width:100%;height:100%}:host [part~=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12rem;font-weight:400;height:24px;max-width:100%;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#ccc;border-radius:0;text-overflow:ellipsis;border:1px solid #404040;width:100%;background:0 0;border:none;padding:0 8px}:host [part~=input][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(64,64,64,.5)}:host [part~=input][type=number]{padding-right:0}:host [part~=input][warning]{border:1px solid #7f6400}:host [part~=input][warning][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(127,100,0,.5)}:host [part~=input][error],:host [part~=input][error][warning]{border:1px solid #a01c2b}:host [part~=input][error][disabled],:host [part~=input][error][warning][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(160,28,43,.5)}:host [part~=input] ::-ms-clear{display:none}:host [part~=button]{display:flex;justify-content:center;align-items:center;flex:none;height:100%;width:24px}:host [part~=list]{display:flex;flex-flow:column nowrap}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){:host [part~=list] ::slotted(ef-list){max-height:inherit}}:host [part=selection-badge]{flex-shrink:0}:host([disabled]) [part~=selection-badge]{opacity:.4}:host ::-moz-selection{color:#fff;background-color:#334bff}:host ::selection{color:#fff;background-color:#334bff}:host [part=icon]{color:#ccc;min-width:1em;margin-left:2px;color:inherit}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover){border-color:grey;color:#fff}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover) [part=icon]{color:#6678ff}:host([warning]){border-color:#ffc800}:host([error]),:host([error][warning]){border-color:#f5475b}:host([warning]:hover:not([readonly]):not([focused])){color:#fff;border-color:#ffe999}:host([warning][disabled]),:host([warning][readonly]:not([focused])){border-color:rgba(255,233,153,.5)}:host([error]:hover:not([readonly]):not([focused])){color:#fff;border-color:#faa8b1}:host([error][disabled]),:host([error][readonly]:not([focused])),:host([error][warning][disabled]){border-color:rgba(250,168,177,.5)}:host([disabled]){color:rgba(204,204,204,.5);border-color:rgba(64,64,64,.5);background-color:rgba(13,13,13,.5)}:host([readonly]:not([focused])){border-color:rgba(64,64,64,.5);background-color:rgba(13,13,13,.5)}:host([readonly]:not([focused])) [part=icon]{color:rgba(204,204,204,.5)}:host(:not([readonly])[focused]),:host([focused]),:host([focused][error][warning]){border-color:#334bff;color:#fff}:host([focused]) [part=icon],:host([focused][error][warning]) [part=icon]{color:#6678ff}:host [part=list]{color:#ccc;max-width:var(--list-max-width,300px);max-height:var(--list-max-height);border:1px solid #334bff;margin:2px 0;background-color:#262626}:host [part=list] ::slotted(ef-item:not(:first-child):not([type=divider])),:host [part=list] ef-item:not(:first-child):not([type=divider]){box-shadow:0 -1px 0 #404040}:host [part=list] ::slotted(:not(ef-item)){display:none}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#595959;border-radius:0;border:1px solid transparent}::-webkit-scrollbar-thumb:hover{background:#1429bd}::-webkit-scrollbar-thumb:active{background:#0f1e8a}::-webkit-scrollbar-track{background:#1a1a1a}::-webkit-scrollbar-thumb:horizontal{background-size:auto 6px;background-repeat:repeat-x;background-image:linear-gradient(to bottom,#595959,#595959);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:horizontal:hover{background-image:linear-gradient(to bottom,#1429bd,#1429bd);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:horizontal:active{background-image:linear-gradient(to bottom,#0f1e8a,#0f1e8a);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical{background-size:6px auto;background-repeat:repeat-y;background-image:linear-gradient(to right,#595959,#595959);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical:hover{background-image:linear-gradient(to right,#1429bd,#1429bd);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical:active{background-image:linear-gradient(to right,#0f1e8a,#0f1e8a);background-color:transparent;background-position:center}::-webkit-scrollbar-track:horizontal{border-top:1px solid #0d0d0d;border-bottom:1px solid #0d0d0d}::-webkit-scrollbar-track:vertical{border-left:1px solid #0d0d0d;border-right:1px solid #0d0d0d}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #1a1a1a;height:16px;width:16px;display:none;border:1px solid #0d0d0d}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:hover{background-color:#1429bd;border:1px solid #1429bd}::-webkit-scrollbar-button:active{background-color:#0f1e8a;border:1px solid #0d0d0d}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{border-bottom-color:#0d0d0d;background-image:linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px;border-bottom-color:#1429bd}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px;border-bottom-color:#0d0d0d}::-webkit-scrollbar-button:vertical:end:increment{border-top-color:#0d0d0d;background-image:linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px;border-top-color:#1429bd}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px;border-top-color:#0d0d0d}::-webkit-scrollbar-button:horizontal:start:decrement{border-right-color:#0d0d0d;background-image:linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px;border-right-color:#1429bd}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px;border-right-color:#0d0d0d}::-webkit-scrollbar-button:horizontal:end:increment{border-left-color:#0d0d0d;background-image:linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px;border-left-color:#1429bd}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px;border-left-color:#0d0d0d}:host [part~=input-wrapper]{border-left-color:inherit}:host [part~=button-toggle]{border-left:1px solid #404040;border-left-color:inherit}:host [part~=button-toggle]::before{content:\'\';display:block;position:absolute;top:-1px;right:-1px;bottom:-1px;width:24px;border:1px solid transparent}:host(:not([readonly])) [part~=button-clear]:hover{color:#334bff}:host(:not([readonly]):hover) [part~=button-toggle]{color:#334bff}:host(:not([readonly])[focused]) [part~=button-toggle]{border-left-color:#334bff;color:#334bff}:host(:not([readonly])) [part~=button-toggle]:hover{border-left-color:#334bff;color:#fff;background:#1429bd}:host(:not([readonly])) [part~=button-toggle]:hover::after{content:\'\';display:block;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid #334bff;pointer-events:none}:host(:not([readonly])) [part~=button-toggle]:active{background:#0f1e8a}:host(:not([readonly])) [part~=button]:active{color:#fff}:host(:not([readonly])) [part~=icon]{color:inherit!important}:host([disabled]) [part~=button-toggle],:host([readonly]) [part~=button-toggle]{border-left-color:rgba(64,64,64,.5)}:host([readonly]) [part~=button-toggle]{color:rgba(204,204,204,.5);cursor:default}:host([focused][readonly]) [part~=button-toggle]{border-left-color:#334bff}:host [part=list] ::slotted(ef-list){display:block}' }}));
7
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-combo-box', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12px;font-weight:400;height:24px;width:152px;max-width:100%;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;border-radius:0;background-color:#0d0d0d;text-overflow:ellipsis;border:1px solid #404040;scrollbar-face-color:#595959;scrollbar-shadow-color:#595959;scrollbar-highlight-color:#595959;scrollbar-arrow-color:#595959;scrollbar-track-color:#1a1a1a;scrollbar-3dlight-color:#1a1a1a;scrollbar-darkshadow-color:#1a1a1a;scrollbar-color:#595959 #1a1a1a;scrollbar-width:thin;color:#ccc;cursor:pointer;scrollbar-face-color:#595959;scrollbar-shadow-color:#595959;scrollbar-highlight-color:#595959;scrollbar-arrow-color:#595959;scrollbar-track-color:#1a1a1a;scrollbar-3dlight-color:#1a1a1a;scrollbar-darkshadow-color:#1a1a1a;scrollbar-color:#595959 #1a1a1a;scrollbar-width:thin;padding:0}:host([disabled]){border:1px solid rgba(64,64,64,.5)}:host([type=number]){padding-right:0}:host([warning]){border:1px solid #7f6400}:host([warning][disabled]){color:rgba(204,204,204,.5);border:1px solid rgba(127,100,0,.5)}:host([error]),:host([error][warning]){border:1px solid #a01c2b}:host([error][disabled]),:host([error][warning][disabled]){color:rgba(204,204,204,.5);border:1px solid rgba(160,28,43,.5)}:host ::-ms-clear{display:none}:host(:not([readonly])[focused]),:host([focused]){background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#334bff}:host [part=input]{color:inherit;padding:0;margin:0;flex:1 1 auto;min-width:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;touch-action:manipulation}:host [part=input]::-webkit-clear-button,:host [part=input]::-webkit-inner-spin-button,:host [part=input]::-webkit-search-cancel-button,:host [part=input]::-webkit-search-decoration{-webkit-appearance:none}:host [part=input]:invalid{box-shadow:none}:host([disabled]) [part=input]{-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([readonly]){cursor:default}:host [part=placeholder]{opacity:.5;opacity:.7}:host [part=label],:host [part=placeholder]{margin-right:3px}:host [part~=icon]{color:#ccc;opacity:.7}:host(:not([readonly]):hover) [part~=icon],:host(:not([readonly])[focused]) [part~=icon]{opacity:1}:host(:not([readonly])[focused]) [part~=icon]{color:#334bff}:host([disabled]) [part~=icon]{color:rgba(64,64,64,.5)}:host [part=list]{max-width:var(--list-max-width,300px);max-height:var(--list-max-height)}:host [part~=input-wrapper]{touch-action:manipulation;display:flex;align-items:center;width:100%;height:100%}:host [part~=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12px;font-weight:400;height:24px;max-width:100%;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#ccc;border-radius:0;text-overflow:ellipsis;border:1px solid #404040;width:100%;background:0 0;border:none;padding:0 8px}:host [part~=input][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(64,64,64,.5)}:host [part~=input][type=number]{padding-right:0}:host [part~=input][warning]{border:1px solid #7f6400}:host [part~=input][warning][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(127,100,0,.5)}:host [part~=input][error],:host [part~=input][error][warning]{border:1px solid #a01c2b}:host [part~=input][error][disabled],:host [part~=input][error][warning][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(160,28,43,.5)}:host [part~=input] ::-ms-clear{display:none}:host [part~=button]{display:flex;justify-content:center;align-items:center;flex:none;height:100%;width:24px}:host [part~=list]{display:flex;flex-flow:column nowrap}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){:host [part~=list] ::slotted(ef-list){max-height:inherit}}:host [part=selection-badge]{flex-shrink:0}:host([disabled]) [part~=selection-badge]{opacity:.4}:host ::-moz-selection{color:#fff;background-color:#334bff}:host ::selection{color:#fff;background-color:#334bff}:host [part=icon]{color:#ccc;min-width:1em;margin-left:2px;color:inherit}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover){border-color:grey;color:#fff}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover) [part=icon]{color:#6678ff}:host([warning]){border-color:#ffc800}:host([error]),:host([error][warning]){border-color:#f5475b}:host([warning]:hover:not([readonly]):not([focused])){color:#fff;border-color:#ffe999}:host([warning][disabled]),:host([warning][readonly]:not([focused])){border-color:rgba(255,233,153,.5)}:host([error]:hover:not([readonly]):not([focused])){color:#fff;border-color:#faa8b1}:host([error][disabled]),:host([error][readonly]:not([focused])),:host([error][warning][disabled]){border-color:rgba(250,168,177,.5)}:host([disabled]){color:rgba(204,204,204,.5);border-color:rgba(64,64,64,.5);background-color:rgba(13,13,13,.5)}:host([readonly]:not([focused])){border-color:rgba(64,64,64,.5);background-color:rgba(13,13,13,.5)}:host([readonly]:not([focused])) [part=icon]{color:rgba(204,204,204,.5)}:host(:not([readonly])[focused]),:host([focused]),:host([focused][error][warning]){border-color:#334bff;color:#fff}:host([focused]) [part=icon],:host([focused][error][warning]) [part=icon]{color:#6678ff}:host [part=list]{color:#ccc;max-width:var(--list-max-width,300px);max-height:var(--list-max-height);border:1px solid #334bff;margin:2px 0;background-color:#262626}:host [part=list] ::slotted(ef-item:not(:first-child):not([type=divider])),:host [part=list] ef-item:not(:first-child):not([type=divider]){box-shadow:0 -1px 0 #404040}:host [part=list] ::slotted(:not(ef-item)){display:none}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#595959;border-radius:0;border:1px solid transparent}::-webkit-scrollbar-thumb:hover{background:#1429bd}::-webkit-scrollbar-thumb:active{background:#0f1e8a}::-webkit-scrollbar-track{background:#1a1a1a}::-webkit-scrollbar-thumb:horizontal{background-size:auto 6px;background-repeat:repeat-x;background-image:linear-gradient(to bottom,#595959,#595959);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:horizontal:hover{background-image:linear-gradient(to bottom,#1429bd,#1429bd);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:horizontal:active{background-image:linear-gradient(to bottom,#0f1e8a,#0f1e8a);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical{background-size:6px auto;background-repeat:repeat-y;background-image:linear-gradient(to right,#595959,#595959);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical:hover{background-image:linear-gradient(to right,#1429bd,#1429bd);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical:active{background-image:linear-gradient(to right,#0f1e8a,#0f1e8a);background-color:transparent;background-position:center}::-webkit-scrollbar-track:horizontal{border-top:1px solid #0d0d0d;border-bottom:1px solid #0d0d0d}::-webkit-scrollbar-track:vertical{border-left:1px solid #0d0d0d;border-right:1px solid #0d0d0d}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #1a1a1a;height:16px;width:16px;display:none;border:1px solid #0d0d0d}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:hover{background-color:#1429bd;border:1px solid #1429bd}::-webkit-scrollbar-button:active{background-color:#0f1e8a;border:1px solid #0d0d0d}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{border-bottom-color:#0d0d0d;background-image:linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px;border-bottom-color:#1429bd}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px;border-bottom-color:#0d0d0d}::-webkit-scrollbar-button:vertical:end:increment{border-top-color:#0d0d0d;background-image:linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px;border-top-color:#1429bd}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px;border-top-color:#0d0d0d}::-webkit-scrollbar-button:horizontal:start:decrement{border-right-color:#0d0d0d;background-image:linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px;border-right-color:#1429bd}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px;border-right-color:#0d0d0d}::-webkit-scrollbar-button:horizontal:end:increment{border-left-color:#0d0d0d;background-image:linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc),linear-gradient(#ccc,#ccc);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px;border-left-color:#1429bd}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px;border-left-color:#0d0d0d}:host [part~=input-wrapper]{border-left-color:inherit}:host [part~=button-toggle]{border-left:1px solid #404040;border-left-color:inherit}:host [part~=button-toggle]::before{content:\'\';display:block;position:absolute;top:-1px;right:-1px;bottom:-1px;width:24px;border:1px solid transparent}:host(:not([readonly])) [part~=button-clear]:hover{color:#334bff}:host(:not([readonly]):hover) [part~=button-toggle]{color:#334bff}:host(:not([readonly])[focused]) [part~=button-toggle]{border-left-color:#334bff;color:#334bff}:host(:not([readonly])) [part~=button-toggle]:hover{border-left-color:#334bff;color:#fff;background:#1429bd}:host(:not([readonly])) [part~=button-toggle]:hover::after{content:\'\';display:block;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid #334bff;pointer-events:none}:host(:not([readonly])) [part~=button-toggle]:active{background:#0f1e8a}:host(:not([readonly])) [part~=button]:active{color:#fff}:host(:not([readonly])) [part~=icon]{color:inherit!important}:host([disabled]) [part~=button-toggle],:host([readonly]) [part~=button-toggle]{border-left-color:rgba(64,64,64,.5)}:host([readonly]) [part~=button-toggle]{color:rgba(204,204,204,.5);cursor:default}:host([focused][readonly]) [part~=button-toggle]{border-left-color:#334bff}:host [part=list] ::slotted(ef-list){display:block}' }}));
@@ -4,4 +4,4 @@ import '@refinitiv-ui/elements/counter/themes/halo/light';
4
4
  import '@refinitiv-ui/elements/item/themes/halo/light';
5
5
  import '@refinitiv-ui/elements/icon/themes/halo/light';
6
6
 
7
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-combo-box', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12rem;font-weight:400;height:24px;width:152px;max-width:100%;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;border-radius:0;background-color:#fff;text-overflow:ellipsis;border:1px solid #595959;scrollbar-face-color:#999;scrollbar-shadow-color:#999;scrollbar-highlight-color:#999;scrollbar-arrow-color:#999;scrollbar-track-color:#f2f2f2;scrollbar-3dlight-color:#f2f2f2;scrollbar-darkshadow-color:#f2f2f2;scrollbar-color:#999 #f2f2f2;scrollbar-width:thin;color:#404040;cursor:pointer;scrollbar-face-color:#999;scrollbar-shadow-color:#999;scrollbar-highlight-color:#999;scrollbar-arrow-color:#999;scrollbar-track-color:#f2f2f2;scrollbar-3dlight-color:#f2f2f2;scrollbar-darkshadow-color:#f2f2f2;scrollbar-color:#999 #f2f2f2;scrollbar-width:thin;padding:0}:host([disabled]){border:1px solid rgba(89,89,89,.5)}:host([type=number]){padding-right:0}:host([warning]){border:1px solid #cca000}:host([warning][disabled]){color:rgba(64,64,64,.5);border:1px solid rgba(204,160,0,.5)}:host([error]),:host([error][warning]){border:1px solid #b63243}:host([error][disabled]),:host([error][warning][disabled]){color:rgba(64,64,64,.5);border:1px solid rgba(182,50,67,.5)}:host ::-ms-clear{display:none}:host(:not([readonly])[focused]),:host([focused]){background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#334bff}:host [part=input]{color:inherit;padding:0;margin:0;flex:1 1 auto;min-width:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;touch-action:manipulation}:host [part=input]::-webkit-clear-button,:host [part=input]::-webkit-inner-spin-button,:host [part=input]::-webkit-search-cancel-button,:host [part=input]::-webkit-search-decoration{-webkit-appearance:none}:host [part=input]:invalid{box-shadow:none}:host([disabled]) [part=input]{-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([readonly]){cursor:default}:host [part=placeholder]{opacity:.5;opacity:.7}:host [part=label],:host [part=placeholder]{margin-right:3px}:host [part~=icon]{color:#404040;opacity:.7}:host(:not([readonly]):hover) [part~=icon],:host(:not([readonly])[focused]) [part~=icon]{opacity:1}:host(:not([readonly])[focused]) [part~=icon]{color:#334bff}:host([disabled]) [part~=icon]{color:rgba(89,89,89,.5)}:host [part=list]{max-width:var(--list-max-width,300px);max-height:var(--list-max-height)}:host [part~=input-wrapper]{touch-action:manipulation;display:flex;align-items:center;width:100%;height:100%}:host [part~=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12rem;font-weight:400;height:24px;max-width:100%;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#404040;border-radius:0;text-overflow:ellipsis;border:1px solid #595959;width:100%;background:0 0;border:none;padding:0 8px}:host [part~=input][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(89,89,89,.5)}:host [part~=input][type=number]{padding-right:0}:host [part~=input][warning]{border:1px solid #cca000}:host [part~=input][warning][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(204,160,0,.5)}:host [part~=input][error],:host [part~=input][error][warning]{border:1px solid #b63243}:host [part~=input][error][disabled],:host [part~=input][error][warning][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(182,50,67,.5)}:host [part~=input] ::-ms-clear{display:none}:host [part~=button]{display:flex;justify-content:center;align-items:center;flex:none;height:100%;width:24px}:host [part~=list]{display:flex;flex-flow:column nowrap}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){:host [part~=list] ::slotted(ef-list){max-height:inherit}}:host [part=selection-badge]{flex-shrink:0}:host([disabled]) [part~=selection-badge]{opacity:.4}:host ::-moz-selection{color:#fff;background-color:#334bff}:host ::selection{color:#fff;background-color:#334bff}:host [part=icon]{min-width:1em;margin-left:2px;color:#595959}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover){border-color:#0d0d0d;color:#0d0d0d}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover) [part=icon]{color:#334bff}:host([warning]){border-color:#cca000}:host([error]),:host([error][warning]){border-color:#d94255}:host([warning]:hover:not([readonly]):not([focused])){color:#0d0d0d;border-color:#ffe999}:host([warning][disabled]),:host([warning][readonly]:not([focused])){border-color:rgba(255,233,153,.5)}:host([error]:hover:not([readonly]):not([focused])){color:#0d0d0d;border-color:#eeacb4}:host([error][disabled]),:host([error][readonly]:not([focused])),:host([error][warning][disabled]){border-color:rgba(238,172,180,.5)}:host([disabled]){color:rgba(64,64,64,.5);border-color:rgba(89,89,89,.5);background-color:rgba(255,255,255,.5)}:host([readonly]:not([focused])){border-color:rgba(89,89,89,.5);background-color:rgba(255,255,255,.5)}:host([readonly]:not([focused])) [part=icon]{color:rgba(64,64,64,.5)}:host(:not([readonly])[focused]),:host([focused]),:host([focused][error][warning]){border-color:#334bff;color:#0d0d0d}:host([focused]) [part=icon],:host([focused][error][warning]) [part=icon]{color:#334bff}:host([disabled]) [part=icon]{color:rgba(89,89,89,.5)}:host [part=list]{color:#404040;max-width:var(--list-max-width,300px);max-height:var(--list-max-height);border:1px solid #334bff;margin:2px 0;background-color:#f2f2f2}:host [part=list] ::slotted(ef-item:not(:first-child):not([type=divider])),:host [part=list] ef-item:not(:first-child):not([type=divider]){box-shadow:0 -1px 0 #d9d9d9}:host [part=list] ::slotted(:not(ef-item)){display:none}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#999;border-radius:0;border:1px solid transparent}::-webkit-scrollbar-thumb:hover{background:#1429bd}::-webkit-scrollbar-thumb:active{background:#0f1e8a}::-webkit-scrollbar-track{background:#f2f2f2}::-webkit-scrollbar-thumb:horizontal{background-size:auto 6px;background-repeat:repeat-x;background-image:linear-gradient(to bottom,#999,#999);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:horizontal:hover{background-image:linear-gradient(to bottom,#1429bd,#1429bd);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:horizontal:active{background-image:linear-gradient(to bottom,#0f1e8a,#0f1e8a);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical{background-size:6px auto;background-repeat:repeat-y;background-image:linear-gradient(to right,#999,#999);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical:hover{background-image:linear-gradient(to right,#1429bd,#1429bd);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical:active{background-image:linear-gradient(to right,#0f1e8a,#0f1e8a);background-color:transparent;background-position:center}::-webkit-scrollbar-track:horizontal{border-top:1px solid #fff;border-bottom:1px solid #fff}::-webkit-scrollbar-track:vertical{border-left:1px solid #fff;border-right:1px solid #fff}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #f2f2f2;height:16px;width:16px;display:none;border:1px solid #fff}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:hover{background-color:#1429bd;border:1px solid #1429bd}::-webkit-scrollbar-button:active{background-color:#0f1e8a;border:1px solid #fff}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{border-bottom-color:#fff;background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px;border-bottom-color:#1429bd}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px;border-bottom-color:#fff}::-webkit-scrollbar-button:vertical:end:increment{border-top-color:#fff;background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px;border-top-color:#1429bd}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px;border-top-color:#fff}::-webkit-scrollbar-button:horizontal:start:decrement{border-right-color:#fff;background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px;border-right-color:#1429bd}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px;border-right-color:#fff}::-webkit-scrollbar-button:horizontal:end:increment{border-left-color:#fff;background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px;border-left-color:#1429bd}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px;border-left-color:#fff}:host [part~=input-wrapper]{border-left-color:inherit}:host [part~=button-toggle]{border-left:1px solid #595959;border-left-color:inherit}:host [part~=button-toggle]::before{content:\'\';display:block;position:absolute;top:-1px;right:-1px;bottom:-1px;width:24px;border:1px solid transparent}:host(:not([readonly])) [part~=button-clear]:hover{color:#334bff}:host(:not([readonly]):hover) [part~=button-toggle]{color:#334bff}:host(:not([readonly])[focused]) [part~=button-toggle]{border-left-color:#334bff;color:#334bff}:host(:not([readonly])) [part~=button-toggle]:hover{border-left-color:#334bff;color:#fff;background:#1429bd}:host(:not([readonly])) [part~=button-toggle]:hover::after{content:\'\';display:block;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid #334bff;pointer-events:none}:host(:not([readonly])) [part~=button-toggle]:active{background:#0f1e8a}:host(:not([readonly])) [part~=button]:active{color:#fff}:host(:not([readonly])) [part~=icon]{color:inherit!important}:host([disabled]) [part~=button-toggle],:host([readonly]) [part~=button-toggle]{border-left-color:rgba(89,89,89,.5)}:host([readonly]) [part~=button-toggle]{color:rgba(64,64,64,.5);cursor:default}:host([focused][readonly]) [part~=button-toggle]{border-left-color:#334bff}:host [part=list] ::slotted(ef-list){display:block}' }}));
7
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-combo-box', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12px;font-weight:400;height:24px;width:152px;max-width:100%;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;border-radius:0;background-color:#fff;text-overflow:ellipsis;border:1px solid #595959;scrollbar-face-color:#999;scrollbar-shadow-color:#999;scrollbar-highlight-color:#999;scrollbar-arrow-color:#999;scrollbar-track-color:#f2f2f2;scrollbar-3dlight-color:#f2f2f2;scrollbar-darkshadow-color:#f2f2f2;scrollbar-color:#999 #f2f2f2;scrollbar-width:thin;color:#404040;cursor:pointer;scrollbar-face-color:#999;scrollbar-shadow-color:#999;scrollbar-highlight-color:#999;scrollbar-arrow-color:#999;scrollbar-track-color:#f2f2f2;scrollbar-3dlight-color:#f2f2f2;scrollbar-darkshadow-color:#f2f2f2;scrollbar-color:#999 #f2f2f2;scrollbar-width:thin;padding:0}:host([disabled]){border:1px solid rgba(89,89,89,.5)}:host([type=number]){padding-right:0}:host([warning]){border:1px solid #cca000}:host([warning][disabled]){color:rgba(64,64,64,.5);border:1px solid rgba(204,160,0,.5)}:host([error]),:host([error][warning]){border:1px solid #b63243}:host([error][disabled]),:host([error][warning][disabled]){color:rgba(64,64,64,.5);border:1px solid rgba(182,50,67,.5)}:host ::-ms-clear{display:none}:host(:not([readonly])[focused]),:host([focused]){background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#334bff}:host [part=input]{color:inherit;padding:0;margin:0;flex:1 1 auto;min-width:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;touch-action:manipulation}:host [part=input]::-webkit-clear-button,:host [part=input]::-webkit-inner-spin-button,:host [part=input]::-webkit-search-cancel-button,:host [part=input]::-webkit-search-decoration{-webkit-appearance:none}:host [part=input]:invalid{box-shadow:none}:host([disabled]) [part=input]{-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([readonly]){cursor:default}:host [part=placeholder]{opacity:.5;opacity:.7}:host [part=label],:host [part=placeholder]{margin-right:3px}:host [part~=icon]{color:#404040;opacity:.7}:host(:not([readonly]):hover) [part~=icon],:host(:not([readonly])[focused]) [part~=icon]{opacity:1}:host(:not([readonly])[focused]) [part~=icon]{color:#334bff}:host([disabled]) [part~=icon]{color:rgba(89,89,89,.5)}:host [part=list]{max-width:var(--list-max-width,300px);max-height:var(--list-max-height)}:host [part~=input-wrapper]{touch-action:manipulation;display:flex;align-items:center;width:100%;height:100%}:host [part~=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12px;font-weight:400;height:24px;max-width:100%;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#404040;border-radius:0;text-overflow:ellipsis;border:1px solid #595959;width:100%;background:0 0;border:none;padding:0 8px}:host [part~=input][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(89,89,89,.5)}:host [part~=input][type=number]{padding-right:0}:host [part~=input][warning]{border:1px solid #cca000}:host [part~=input][warning][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(204,160,0,.5)}:host [part~=input][error],:host [part~=input][error][warning]{border:1px solid #b63243}:host [part~=input][error][disabled],:host [part~=input][error][warning][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(182,50,67,.5)}:host [part~=input] ::-ms-clear{display:none}:host [part~=button]{display:flex;justify-content:center;align-items:center;flex:none;height:100%;width:24px}:host [part~=list]{display:flex;flex-flow:column nowrap}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){:host [part~=list] ::slotted(ef-list){max-height:inherit}}:host [part=selection-badge]{flex-shrink:0}:host([disabled]) [part~=selection-badge]{opacity:.4}:host ::-moz-selection{color:#fff;background-color:#334bff}:host ::selection{color:#fff;background-color:#334bff}:host [part=icon]{min-width:1em;margin-left:2px;color:#595959}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover){border-color:#0d0d0d;color:#0d0d0d}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover) [part=icon]{color:#334bff}:host([warning]){border-color:#cca000}:host([error]),:host([error][warning]){border-color:#d94255}:host([warning]:hover:not([readonly]):not([focused])){color:#0d0d0d;border-color:#ffe999}:host([warning][disabled]),:host([warning][readonly]:not([focused])){border-color:rgba(255,233,153,.5)}:host([error]:hover:not([readonly]):not([focused])){color:#0d0d0d;border-color:#eeacb4}:host([error][disabled]),:host([error][readonly]:not([focused])),:host([error][warning][disabled]){border-color:rgba(238,172,180,.5)}:host([disabled]){color:rgba(64,64,64,.5);border-color:rgba(89,89,89,.5);background-color:rgba(255,255,255,.5)}:host([readonly]:not([focused])){border-color:rgba(89,89,89,.5);background-color:rgba(255,255,255,.5)}:host([readonly]:not([focused])) [part=icon]{color:rgba(64,64,64,.5)}:host(:not([readonly])[focused]),:host([focused]),:host([focused][error][warning]){border-color:#334bff;color:#0d0d0d}:host([focused]) [part=icon],:host([focused][error][warning]) [part=icon]{color:#334bff}:host([disabled]) [part=icon]{color:rgba(89,89,89,.5)}:host [part=list]{color:#404040;max-width:var(--list-max-width,300px);max-height:var(--list-max-height);border:1px solid #334bff;margin:2px 0;background-color:#f2f2f2}:host [part=list] ::slotted(ef-item:not(:first-child):not([type=divider])),:host [part=list] ef-item:not(:first-child):not([type=divider]){box-shadow:0 -1px 0 #d9d9d9}:host [part=list] ::slotted(:not(ef-item)){display:none}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#999;border-radius:0;border:1px solid transparent}::-webkit-scrollbar-thumb:hover{background:#1429bd}::-webkit-scrollbar-thumb:active{background:#0f1e8a}::-webkit-scrollbar-track{background:#f2f2f2}::-webkit-scrollbar-thumb:horizontal{background-size:auto 6px;background-repeat:repeat-x;background-image:linear-gradient(to bottom,#999,#999);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:horizontal:hover{background-image:linear-gradient(to bottom,#1429bd,#1429bd);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:horizontal:active{background-image:linear-gradient(to bottom,#0f1e8a,#0f1e8a);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical{background-size:6px auto;background-repeat:repeat-y;background-image:linear-gradient(to right,#999,#999);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical:hover{background-image:linear-gradient(to right,#1429bd,#1429bd);background-color:transparent;background-position:center}::-webkit-scrollbar-thumb:vertical:active{background-image:linear-gradient(to right,#0f1e8a,#0f1e8a);background-color:transparent;background-position:center}::-webkit-scrollbar-track:horizontal{border-top:1px solid #fff;border-bottom:1px solid #fff}::-webkit-scrollbar-track:vertical{border-left:1px solid #fff;border-right:1px solid #fff}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #f2f2f2;height:16px;width:16px;display:none;border:1px solid #fff}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:hover{background-color:#1429bd;border:1px solid #1429bd}::-webkit-scrollbar-button:active{background-color:#0f1e8a;border:1px solid #fff}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{border-bottom-color:#fff;background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px;border-bottom-color:#1429bd}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 8px,9.55px 7px,8.55px 6px,7.55px 5px,6.55px 4px,5.55px 5px,4.55px 6px,3.55px 7px,2.55px 8px;border-bottom-color:#fff}::-webkit-scrollbar-button:vertical:end:increment{border-top-color:#fff;background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px;border-top-color:#1429bd}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:10.55px 4px,9.55px 5px,8.55px 6px,7.55px 7px,6.55px 8px,5.55px 7px,4.55px 6px,3.55px 5px,2.55px 4px;border-top-color:#fff}::-webkit-scrollbar-button:horizontal:start:decrement{border-right-color:#fff;background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px;border-right-color:#1429bd}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:7.5px 10.55px,6.5px 9.55px,5.5px 8.55px,4.5px 7.55px,3.5px 6.55px,4.5px 5.55px,5.5px 4.55px,6.5px 3.55px,7.5px 2.55px;border-right-color:#fff}::-webkit-scrollbar-button:horizontal:end:increment{border-left-color:#fff;background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px;border-left-color:#1429bd}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);background-position:5px 10.55px,6px 9.55px,7px 8.55px,8px 7.55px,9px 6.55px,8px 5.55px,7px 4.55px,6px 3.55px,5px 2.55px;border-left-color:#fff}:host [part~=input-wrapper]{border-left-color:inherit}:host [part~=button-toggle]{border-left:1px solid #595959;border-left-color:inherit}:host [part~=button-toggle]::before{content:\'\';display:block;position:absolute;top:-1px;right:-1px;bottom:-1px;width:24px;border:1px solid transparent}:host(:not([readonly])) [part~=button-clear]:hover{color:#334bff}:host(:not([readonly]):hover) [part~=button-toggle]{color:#334bff}:host(:not([readonly])[focused]) [part~=button-toggle]{border-left-color:#334bff;color:#334bff}:host(:not([readonly])) [part~=button-toggle]:hover{border-left-color:#334bff;color:#fff;background:#1429bd}:host(:not([readonly])) [part~=button-toggle]:hover::after{content:\'\';display:block;position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid #334bff;pointer-events:none}:host(:not([readonly])) [part~=button-toggle]:active{background:#0f1e8a}:host(:not([readonly])) [part~=button]:active{color:#fff}:host(:not([readonly])) [part~=icon]{color:inherit!important}:host([disabled]) [part~=button-toggle],:host([readonly]) [part~=button-toggle]{border-left-color:rgba(89,89,89,.5)}:host([readonly]) [part~=button-toggle]{color:rgba(64,64,64,.5);cursor:default}:host([focused][readonly]) [part~=button-toggle]{border-left-color:#334bff}:host [part=list] ::slotted(ef-list){display:block}' }}));