@refinitiv-ui/elements 7.0.0-next.0 → 7.0.0-next.2

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 (385) hide show
  1. package/CHANGELOG.md +115 -0
  2. package/cli.mjs +21 -0
  3. package/lib/accordion/index.js +1 -10
  4. package/lib/appstate-bar/custom-elements.json +2 -2
  5. package/lib/appstate-bar/custom-elements.md +4 -4
  6. package/lib/appstate-bar/index.d.ts +2 -2
  7. package/lib/appstate-bar/index.js +2 -8
  8. package/lib/appstate-bar/themes/halo/dark/index.js +1 -1
  9. package/lib/appstate-bar/themes/halo/light/index.js +1 -1
  10. package/lib/appstate-bar/themes/solar/charcoal/index.js +1 -1
  11. package/lib/appstate-bar/themes/solar/pearl/index.js +1 -1
  12. package/lib/autosuggest/custom-elements.json +8 -8
  13. package/lib/autosuggest/custom-elements.md +8 -8
  14. package/lib/autosuggest/helpers/types.d.ts +18 -18
  15. package/lib/autosuggest/index.d.ts +9 -32
  16. package/lib/autosuggest/index.js +112 -187
  17. package/lib/autosuggest/themes/halo/dark/index.js +1 -1
  18. package/lib/autosuggest/themes/halo/light/index.js +1 -1
  19. package/lib/autosuggest/themes/solar/charcoal/index.js +1 -1
  20. package/lib/autosuggest/themes/solar/pearl/index.js +1 -1
  21. package/lib/button/custom-elements.json +1 -1
  22. package/lib/button/custom-elements.md +1 -1
  23. package/lib/button/index.d.ts +1 -1
  24. package/lib/button/index.js +1 -1
  25. package/lib/button/themes/halo/dark/index.js +2 -1
  26. package/lib/button/themes/halo/light/index.js +2 -1
  27. package/lib/button/themes/solar/charcoal/index.js +2 -1
  28. package/lib/button/themes/solar/pearl/index.js +2 -1
  29. package/lib/button-bar/index.js +0 -5
  30. package/lib/calendar/custom-elements.json +2 -2
  31. package/lib/calendar/custom-elements.md +4 -4
  32. package/lib/calendar/index.d.ts +9 -2
  33. package/lib/calendar/index.js +27 -29
  34. package/lib/calendar/themes/halo/dark/index.js +1 -1
  35. package/lib/calendar/themes/halo/light/index.js +1 -1
  36. package/lib/calendar/themes/solar/charcoal/index.js +1 -1
  37. package/lib/calendar/themes/solar/pearl/index.js +1 -1
  38. package/lib/calendar/types.d.ts +5 -5
  39. package/lib/calendar/utils.d.ts +2 -13
  40. package/lib/calendar/utils.js +2 -20
  41. package/lib/canvas/custom-elements.json +1 -1
  42. package/lib/canvas/custom-elements.md +1 -1
  43. package/lib/canvas/index.d.ts +1 -1
  44. package/lib/canvas/index.js +10 -9
  45. package/lib/card/custom-elements.json +1 -1
  46. package/lib/card/custom-elements.md +3 -3
  47. package/lib/card/helpers/types.d.ts +1 -1
  48. package/lib/card/index.d.ts +2 -1
  49. package/lib/card/index.js +5 -4
  50. package/lib/card/themes/halo/dark/index.js +1 -1
  51. package/lib/card/themes/halo/light/index.js +1 -1
  52. package/lib/card/themes/solar/charcoal/index.js +1 -1
  53. package/lib/card/themes/solar/pearl/index.js +1 -1
  54. package/lib/chart/bare.d.ts +1 -0
  55. package/lib/chart/bare.js +1 -0
  56. package/lib/chart/custom-elements.json +10 -5
  57. package/lib/chart/custom-elements.md +9 -8
  58. package/lib/chart/elements/chart.d.ts +182 -0
  59. package/lib/chart/elements/chart.js +509 -0
  60. package/lib/chart/helpers/index.d.ts +1 -1
  61. package/lib/chart/helpers/index.js +1 -1
  62. package/lib/chart/helpers/merge.d.ts +3 -3
  63. package/lib/chart/helpers/merge.js +1 -1
  64. package/lib/chart/helpers/types.d.ts +1 -66
  65. package/lib/chart/index.d.ts +1 -192
  66. package/lib/chart/index.js +5 -485
  67. package/lib/chart/plugins/doughnut-center-label.d.ts +22 -3
  68. package/lib/chart/plugins/doughnut-center-label.js +62 -51
  69. package/lib/chart/plugins/index.d.ts +1 -0
  70. package/lib/chart/plugins/index.js +1 -0
  71. package/lib/chart/themes/halo/dark/index.js +1 -1
  72. package/lib/chart/themes/halo/light/index.js +1 -1
  73. package/lib/chart/themes/solar/charcoal/index.js +1 -1
  74. package/lib/chart/themes/solar/pearl/index.js +1 -1
  75. package/lib/checkbox/custom-elements.json +1 -1
  76. package/lib/checkbox/custom-elements.md +3 -3
  77. package/lib/checkbox/index.d.ts +1 -1
  78. package/lib/checkbox/index.js +1 -2
  79. package/lib/checkbox/themes/halo/dark/index.js +1 -1
  80. package/lib/checkbox/themes/halo/light/index.js +1 -1
  81. package/lib/checkbox/themes/solar/charcoal/index.js +1 -1
  82. package/lib/checkbox/themes/solar/pearl/index.js +1 -1
  83. package/lib/clock/custom-elements.json +2 -2
  84. package/lib/clock/custom-elements.md +2 -2
  85. package/lib/clock/index.d.ts +2 -2
  86. package/lib/clock/index.js +2 -6
  87. package/lib/clock/utils/TickManager.d.ts +1 -1
  88. package/lib/collapse/custom-elements.json +1 -1
  89. package/lib/collapse/custom-elements.md +3 -3
  90. package/lib/collapse/index.d.ts +7 -1
  91. package/lib/collapse/index.js +27 -30
  92. package/lib/collapse/themes/halo/dark/index.js +1 -1
  93. package/lib/collapse/themes/halo/light/index.js +1 -1
  94. package/lib/collapse/themes/solar/charcoal/index.js +1 -1
  95. package/lib/collapse/themes/solar/pearl/index.js +1 -1
  96. package/lib/color-dialog/custom-elements.json +2 -2
  97. package/lib/color-dialog/custom-elements.md +4 -4
  98. package/lib/color-dialog/helpers/value-model.js +4 -5
  99. package/lib/color-dialog/index.d.ts +4 -4
  100. package/lib/color-dialog/index.js +4 -4
  101. package/lib/color-picker/custom-elements.json +1 -1
  102. package/lib/color-picker/custom-elements.md +3 -3
  103. package/lib/color-picker/index.d.ts +1 -1
  104. package/lib/color-picker/index.js +3 -5
  105. package/lib/combo-box/custom-elements.json +3 -6
  106. package/lib/combo-box/custom-elements.md +5 -6
  107. package/lib/combo-box/helpers/types.d.ts +2 -2
  108. package/lib/combo-box/index.d.ts +3 -12
  109. package/lib/combo-box/index.js +15 -30
  110. package/lib/combo-box/themes/halo/dark/index.js +2 -1
  111. package/lib/combo-box/themes/halo/light/index.js +2 -1
  112. package/lib/combo-box/themes/solar/charcoal/index.js +2 -1
  113. package/lib/combo-box/themes/solar/pearl/index.js +2 -1
  114. package/lib/counter/themes/halo/dark/index.js +2 -1
  115. package/lib/counter/themes/halo/light/index.js +2 -1
  116. package/lib/counter/themes/solar/charcoal/index.js +2 -1
  117. package/lib/counter/themes/solar/pearl/index.js +2 -1
  118. package/lib/datetime-field/index.d.ts +2 -2
  119. package/lib/datetime-field/index.js +7 -12
  120. package/lib/datetime-field/types.d.ts +3 -3
  121. package/lib/datetime-field/utils.d.ts +2 -2
  122. package/lib/datetime-field/utils.js +2 -2
  123. package/lib/datetime-picker/custom-elements.json +4 -4
  124. package/lib/datetime-picker/custom-elements.md +4 -4
  125. package/lib/datetime-picker/index.d.ts +4 -4
  126. package/lib/datetime-picker/index.js +9 -13
  127. package/lib/datetime-picker/themes/halo/dark/index.js +2 -1
  128. package/lib/datetime-picker/themes/halo/light/index.js +2 -1
  129. package/lib/datetime-picker/themes/solar/charcoal/index.js +2 -1
  130. package/lib/datetime-picker/themes/solar/pearl/index.js +2 -1
  131. package/lib/datetime-picker/types.d.ts +1 -1
  132. package/lib/dialog/custom-elements.json +2 -13
  133. package/lib/dialog/custom-elements.md +4 -5
  134. package/lib/dialog/index.d.ts +11 -43
  135. package/lib/dialog/index.js +21 -80
  136. package/lib/dialog/themes/halo/dark/index.js +1 -1
  137. package/lib/dialog/themes/halo/light/index.js +1 -1
  138. package/lib/dialog/themes/solar/charcoal/index.js +1 -1
  139. package/lib/dialog/themes/solar/pearl/index.js +1 -1
  140. package/lib/email-field/custom-elements.json +3 -3
  141. package/lib/email-field/custom-elements.md +5 -5
  142. package/lib/email-field/index.d.ts +3 -3
  143. package/lib/email-field/index.js +5 -4
  144. package/lib/email-field/themes/halo/dark/index.js +2 -1
  145. package/lib/email-field/themes/halo/light/index.js +2 -1
  146. package/lib/email-field/themes/solar/charcoal/index.js +2 -1
  147. package/lib/email-field/themes/solar/pearl/index.js +2 -1
  148. package/lib/events.d.ts +13 -13
  149. package/lib/flag/custom-elements.json +2 -14
  150. package/lib/flag/custom-elements.md +3 -6
  151. package/lib/flag/index.d.ts +21 -9
  152. package/lib/flag/index.js +43 -24
  153. package/lib/header/themes/halo/dark/index.js +1 -1
  154. package/lib/header/themes/halo/light/index.js +1 -1
  155. package/lib/header/themes/solar/charcoal/index.js +1 -1
  156. package/lib/header/themes/solar/pearl/index.js +1 -1
  157. package/lib/heatmap/helpers/color.js +2 -1
  158. package/lib/heatmap/helpers/text.d.ts +1 -1
  159. package/lib/heatmap/helpers/text.js +1 -1
  160. package/lib/heatmap/helpers/types.d.ts +7 -7
  161. package/lib/heatmap/index.js +156 -140
  162. package/lib/icon/custom-elements.json +0 -13
  163. package/lib/icon/custom-elements.md +0 -1
  164. package/lib/icon/index.d.ts +20 -2
  165. package/lib/icon/index.js +41 -14
  166. package/lib/icon/themes/halo/dark/index.js +1 -1
  167. package/lib/icon/themes/halo/light/index.js +1 -1
  168. package/lib/icon/themes/solar/charcoal/index.js +1 -1
  169. package/lib/icon/themes/solar/pearl/index.js +1 -1
  170. package/lib/interactive-chart/custom-elements.json +1 -1
  171. package/lib/interactive-chart/custom-elements.md +3 -3
  172. package/lib/interactive-chart/helpers/merge.d.ts +2 -2
  173. package/lib/interactive-chart/helpers/types.d.ts +7 -7
  174. package/lib/interactive-chart/index.d.ts +1 -1
  175. package/lib/interactive-chart/index.js +5 -3
  176. package/lib/item/custom-elements.json +4 -4
  177. package/lib/item/custom-elements.md +2 -2
  178. package/lib/item/helpers/types.d.ts +2 -2
  179. package/lib/item/index.d.ts +2 -1
  180. package/lib/item/index.js +2 -1
  181. package/lib/item/themes/halo/dark/index.js +1 -1
  182. package/lib/item/themes/halo/light/index.js +1 -1
  183. package/lib/item/themes/solar/charcoal/index.js +1 -1
  184. package/lib/item/themes/solar/pearl/index.js +1 -1
  185. package/lib/label/index.js +9 -34
  186. package/lib/layout/index.js +0 -13
  187. package/lib/led-gauge/index.js +7 -7
  188. package/lib/list/custom-elements.json +1 -1
  189. package/lib/list/custom-elements.md +3 -3
  190. package/lib/list/elements/list.d.ts +1 -1
  191. package/lib/list/elements/list.js +4 -8
  192. package/lib/list/helpers/renderer.d.ts +0 -4
  193. package/lib/list/helpers/renderer.js +5 -5
  194. package/lib/list/helpers/types.d.ts +1 -1
  195. package/lib/list/themes/halo/dark/index.js +2 -2
  196. package/lib/list/themes/halo/light/index.js +2 -2
  197. package/lib/list/themes/solar/charcoal/index.js +2 -2
  198. package/lib/list/themes/solar/pearl/index.js +2 -2
  199. package/lib/multi-input/custom-elements.json +5 -5
  200. package/lib/multi-input/custom-elements.md +5 -5
  201. package/lib/multi-input/helpers/types.d.ts +3 -3
  202. package/lib/multi-input/index.d.ts +5 -17
  203. package/lib/multi-input/index.js +8 -21
  204. package/lib/multi-input/themes/halo/dark/index.js +1 -1
  205. package/lib/multi-input/themes/halo/light/index.js +1 -1
  206. package/lib/multi-input/themes/solar/charcoal/index.js +1 -1
  207. package/lib/multi-input/themes/solar/pearl/index.js +1 -1
  208. package/lib/notification/custom-elements.json +2 -2
  209. package/lib/notification/custom-elements.md +4 -4
  210. package/lib/notification/elements/notification.d.ts +2 -2
  211. package/lib/notification/elements/notification.js +2 -2
  212. package/lib/notification/helpers/types.d.ts +2 -2
  213. package/lib/number-field/custom-elements.json +2 -2
  214. package/lib/number-field/custom-elements.md +4 -4
  215. package/lib/number-field/index.d.ts +4 -4
  216. package/lib/number-field/index.js +24 -19
  217. package/lib/number-field/themes/halo/dark/index.js +2 -1
  218. package/lib/number-field/themes/halo/light/index.js +2 -1
  219. package/lib/number-field/themes/solar/charcoal/index.js +2 -1
  220. package/lib/number-field/themes/solar/pearl/index.js +2 -1
  221. package/lib/overlay/custom-elements.json +6 -9
  222. package/lib/overlay/custom-elements.md +7 -8
  223. package/lib/overlay/elements/overlay-backdrop.d.ts +1 -8
  224. package/lib/overlay/elements/overlay-backdrop.js +3 -13
  225. package/lib/overlay/elements/overlay-viewport.d.ts +1 -8
  226. package/lib/overlay/elements/overlay-viewport.js +3 -13
  227. package/lib/overlay/elements/overlay.d.ts +7 -15
  228. package/lib/overlay/elements/overlay.js +13 -55
  229. package/lib/overlay/helpers/types.d.ts +13 -13
  230. package/lib/overlay/managers/close-manager.d.ts +1 -1
  231. package/lib/overlay/managers/close-manager.js +6 -4
  232. package/lib/overlay/managers/focus-manager.js +2 -1
  233. package/lib/overlay/managers/interaction-lock-manager.js +1 -1
  234. package/lib/overlay/managers/viewport-manager.js +3 -0
  235. package/lib/overlay/managers/zindex-manager.d.ts +1 -1
  236. package/lib/overlay/managers/zindex-manager.js +1 -1
  237. package/lib/overlay/themes/halo/dark/index.js +1 -1
  238. package/lib/overlay/themes/halo/light/index.js +1 -1
  239. package/lib/overlay/themes/solar/charcoal/index.js +1 -1
  240. package/lib/overlay/themes/solar/pearl/index.js +1 -1
  241. package/lib/overlay-menu/custom-elements.json +2 -2
  242. package/lib/overlay-menu/custom-elements.md +2 -2
  243. package/lib/overlay-menu/helpers/types.d.ts +2 -2
  244. package/lib/overlay-menu/index.d.ts +2 -2
  245. package/lib/overlay-menu/index.js +36 -42
  246. package/lib/overlay-menu/managers/menu-manager.d.ts +0 -1
  247. package/lib/overlay-menu/managers/menu-manager.js +1 -5
  248. package/lib/overlay-menu/themes/halo/dark/index.js +1 -1
  249. package/lib/overlay-menu/themes/halo/light/index.js +1 -1
  250. package/lib/overlay-menu/themes/solar/charcoal/index.js +1 -1
  251. package/lib/overlay-menu/themes/solar/pearl/index.js +1 -1
  252. package/lib/pagination/custom-elements.json +1 -1
  253. package/lib/pagination/custom-elements.md +3 -3
  254. package/lib/pagination/index.d.ts +1 -2
  255. package/lib/pagination/index.js +3 -7
  256. package/lib/pagination/themes/halo/dark/index.js +1 -1
  257. package/lib/pagination/themes/halo/light/index.js +1 -1
  258. package/lib/pagination/themes/solar/charcoal/index.js +1 -1
  259. package/lib/pagination/themes/solar/pearl/index.js +1 -1
  260. package/lib/password-field/custom-elements.json +2 -6
  261. package/lib/password-field/custom-elements.md +4 -5
  262. package/lib/password-field/index.d.ts +2 -3
  263. package/lib/password-field/index.js +2 -3
  264. package/lib/password-field/themes/halo/dark/index.js +2 -1
  265. package/lib/password-field/themes/halo/light/index.js +2 -1
  266. package/lib/password-field/themes/solar/charcoal/index.js +2 -1
  267. package/lib/password-field/themes/solar/pearl/index.js +2 -1
  268. package/lib/pill/custom-elements.json +1 -1
  269. package/lib/pill/custom-elements.md +3 -3
  270. package/lib/pill/index.d.ts +1 -1
  271. package/lib/pill/index.js +2 -2
  272. package/lib/pill/themes/halo/dark/index.js +2 -1
  273. package/lib/pill/themes/halo/light/index.js +2 -1
  274. package/lib/pill/themes/solar/charcoal/index.js +2 -1
  275. package/lib/pill/themes/solar/pearl/index.js +2 -1
  276. package/lib/radio-button/custom-elements.json +1 -1
  277. package/lib/radio-button/custom-elements.md +3 -3
  278. package/lib/radio-button/index.d.ts +1 -1
  279. package/lib/radio-button/index.js +1 -6
  280. package/lib/radio-button/themes/halo/dark/index.js +1 -1
  281. package/lib/radio-button/themes/halo/light/index.js +1 -1
  282. package/lib/radio-button/themes/solar/charcoal/index.js +1 -1
  283. package/lib/radio-button/themes/solar/pearl/index.js +1 -1
  284. package/lib/rating/custom-elements.json +1 -1
  285. package/lib/rating/custom-elements.md +3 -3
  286. package/lib/rating/index.d.ts +1 -1
  287. package/lib/rating/index.js +1 -5
  288. package/lib/search-field/custom-elements.json +3 -3
  289. package/lib/search-field/custom-elements.md +5 -5
  290. package/lib/search-field/index.d.ts +3 -3
  291. package/lib/search-field/index.js +6 -7
  292. package/lib/search-field/themes/halo/dark/index.js +2 -1
  293. package/lib/search-field/themes/halo/light/index.js +2 -1
  294. package/lib/search-field/themes/solar/charcoal/index.js +2 -1
  295. package/lib/search-field/themes/solar/pearl/index.js +2 -1
  296. package/lib/select/custom-elements.json +2 -2
  297. package/lib/select/custom-elements.md +4 -4
  298. package/lib/select/helpers/types.d.ts +2 -2
  299. package/lib/select/index.d.ts +2 -2
  300. package/lib/select/index.js +15 -20
  301. package/lib/select/themes/halo/dark/index.js +2 -1
  302. package/lib/select/themes/halo/light/index.js +2 -1
  303. package/lib/select/themes/solar/charcoal/index.js +2 -1
  304. package/lib/select/themes/solar/pearl/index.js +2 -1
  305. package/lib/sidebar-layout/index.js +2 -3
  306. package/lib/sidebar-layout/themes/halo/dark/index.js +1 -1
  307. package/lib/sidebar-layout/themes/halo/light/index.js +1 -1
  308. package/lib/sidebar-layout/themes/solar/charcoal/index.js +1 -1
  309. package/lib/sidebar-layout/themes/solar/pearl/index.js +1 -1
  310. package/lib/slider/custom-elements.json +3 -3
  311. package/lib/slider/custom-elements.md +5 -5
  312. package/lib/slider/index.d.ts +3 -3
  313. package/lib/slider/index.js +117 -111
  314. package/lib/swing-gauge/types.d.ts +1 -1
  315. package/lib/tab/custom-elements.json +1 -1
  316. package/lib/tab/custom-elements.md +3 -3
  317. package/lib/tab/index.d.ts +1 -1
  318. package/lib/tab/index.js +1 -1
  319. package/lib/tab/themes/halo/dark/index.js +1 -1
  320. package/lib/tab/themes/halo/light/index.js +1 -1
  321. package/lib/tab/themes/solar/charcoal/index.js +1 -1
  322. package/lib/tab/themes/solar/pearl/index.js +1 -1
  323. package/lib/tab-bar/custom-elements.json +1 -1
  324. package/lib/tab-bar/custom-elements.md +3 -3
  325. package/lib/tab-bar/index.d.ts +1 -1
  326. package/lib/tab-bar/index.js +1 -5
  327. package/lib/tab-bar/themes/halo/dark/index.js +1 -1
  328. package/lib/tab-bar/themes/halo/light/index.js +1 -1
  329. package/lib/text-field/custom-elements.json +3 -3
  330. package/lib/text-field/custom-elements.md +5 -5
  331. package/lib/text-field/index.d.ts +4 -10
  332. package/lib/text-field/index.js +11 -26
  333. package/lib/text-field/themes/halo/dark/index.js +2 -1
  334. package/lib/text-field/themes/halo/light/index.js +2 -1
  335. package/lib/text-field/themes/solar/charcoal/index.js +2 -1
  336. package/lib/text-field/themes/solar/pearl/index.js +2 -1
  337. package/lib/time-picker/custom-elements.json +1 -1
  338. package/lib/time-picker/custom-elements.md +3 -3
  339. package/lib/time-picker/index.d.ts +1 -1
  340. package/lib/time-picker/index.js +19 -20
  341. package/lib/time-picker/themes/halo/dark/index.js +2 -1
  342. package/lib/time-picker/themes/halo/light/index.js +2 -1
  343. package/lib/time-picker/themes/solar/charcoal/index.js +2 -1
  344. package/lib/time-picker/themes/solar/pearl/index.js +2 -1
  345. package/lib/toggle/custom-elements.json +1 -1
  346. package/lib/toggle/custom-elements.md +3 -3
  347. package/lib/toggle/index.d.ts +1 -1
  348. package/lib/toggle/index.js +2 -5
  349. package/lib/toggle/themes/halo/dark/index.js +1 -1
  350. package/lib/toggle/themes/halo/light/index.js +1 -1
  351. package/lib/toggle/themes/solar/charcoal/index.js +1 -1
  352. package/lib/toggle/themes/solar/pearl/index.js +1 -1
  353. package/lib/tooltip/elements/tooltip-element.js +1 -1
  354. package/lib/tooltip/helpers/types.d.ts +10 -10
  355. package/lib/tooltip/index.js +5 -4
  356. package/lib/tooltip/managers/tooltip-manager.js +2 -5
  357. package/lib/tornado-chart/elements/tornado-item.js +8 -9
  358. package/lib/tornado-chart/themes/halo/dark/index.js +2 -2
  359. package/lib/tornado-chart/themes/halo/light/index.js +2 -2
  360. package/lib/tornado-chart/themes/solar/charcoal/index.js +1 -1
  361. package/lib/tornado-chart/themes/solar/pearl/index.js +1 -1
  362. package/lib/tree/custom-elements.json +2 -2
  363. package/lib/tree/custom-elements.md +2 -2
  364. package/lib/tree/elements/tree.d.ts +2 -2
  365. package/lib/tree/elements/tree.js +2 -4
  366. package/lib/tree/helpers/renderer.d.ts +0 -4
  367. package/lib/tree/helpers/renderer.js +5 -5
  368. package/lib/tree/helpers/types.d.ts +2 -2
  369. package/lib/tree/themes/halo/dark/index.js +2 -2
  370. package/lib/tree/themes/halo/light/index.js +2 -2
  371. package/lib/tree/themes/solar/charcoal/index.js +2 -2
  372. package/lib/tree/themes/solar/pearl/index.js +2 -2
  373. package/lib/tree-select/custom-elements.json +7 -7
  374. package/lib/tree-select/custom-elements.md +7 -7
  375. package/lib/tree-select/helpers/types.d.ts +2 -2
  376. package/lib/tree-select/index.d.ts +5 -6
  377. package/lib/tree-select/index.js +23 -23
  378. package/lib/tree-select/themes/halo/dark/index.js +2 -1
  379. package/lib/tree-select/themes/halo/light/index.js +2 -1
  380. package/lib/tree-select/themes/solar/charcoal/index.js +2 -1
  381. package/lib/tree-select/themes/solar/pearl/index.js +2 -1
  382. package/lib/version.js +1 -1
  383. package/package.json +32 -30
  384. package/lib/chart/helpers/legend.d.ts +0 -5
  385. package/lib/chart/helpers/legend.js +0 -78
@@ -8,7 +8,7 @@ import { ref, createRef } from '@refinitiv-ui/core/directives/ref.js';
8
8
  import { unsafeHTML } from '@refinitiv-ui/core/directives/unsafe-html.js';
9
9
  import { VERSION } from '../version.js';
10
10
  import { AnimationTaskRunner, TimeoutTaskRunner } from '@refinitiv-ui/utils/async.js';
11
- import { isIE, isMobile } from '@refinitiv-ui/utils/browser.js';
11
+ import { isMobile } from '@refinitiv-ui/utils/browser.js';
12
12
  import { translate, TranslatePropertyKey } from '@refinitiv-ui/translate';
13
13
  import { escapeRegExp, itemHighlightable, queryWordSelect } from './helpers/utils.js';
14
14
  import { renderer } from './helpers/renderer.js';
@@ -26,14 +26,14 @@ export { itemHighlightable, escapeRegExp, queryWordSelect, renderer, renderer as
26
26
  * Autosuggest supports various use cases such as
27
27
  * custom rendering, pagination, asynchronous data request, etc.
28
28
  *
29
- * @fires item-highlight Fired when an item gets highlighted or highlight is removed
30
- * @fires add-attach-target-events Fired when attach has been set
31
- * @fires remove-attach-target-events Fired when attach has been removed
32
- * @fires item-select Fired when an item gets selected
33
- * @fires suggestions-fetch-requested Fired when auto suggest requests the data
34
- * @fires suggestions-clear-requested Fired when auto suggest requests to clear the data. If used in reactive application, prevent default and set suggestions to []
35
- * @fires suggestions-query Fired when input value has changed and the query must be set
36
- * @fires suggestions-changed Fired when suggestions changed
29
+ * @fires item-highlight - Fired when the user highlights an item or removes highlight from the item.
30
+ * @fires add-attach-target-events - Fired when `attach` has been set to bind the control with any custom inputs.
31
+ * @fires remove-attach-target-events - Fired when `attach` has been removed to unbind the control with the inputs.
32
+ * @fires item-select - Fired when the user selects an item on autosuggest.
33
+ * @fires suggestions-fetch-requested - Fired when autosuggest requests the data. The event will be triggered when the value of the attached control has changed or when keyboard navigation is performed.
34
+ * @fires suggestions-clear-requested - Fired when autosuggest requests to clear the data. If used in reactive application, prevent default and set suggestions to [].
35
+ * @fires suggestions-query - Fired when the user changes value in input control and you might need to update suggestion items accordingly.
36
+ * @fires suggestions-changed - Fired when suggestion items changed.
37
37
  *
38
38
  * @attr {boolean} opened - Set to open auto suggest popup
39
39
  * @prop {boolean} [opened=false] - Auto suggest popup's open state
@@ -42,6 +42,76 @@ export { itemHighlightable, escapeRegExp, queryWordSelect, renderer, renderer as
42
42
  * @slot footer - Slot to add custom contents at the bottom of autosuggest popup
43
43
  */
44
44
  let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
45
+ /**
46
+ * Element version number
47
+ * @returns version number
48
+ */
49
+ static get version() {
50
+ return VERSION;
51
+ }
52
+ /**
53
+ * A `CSSResultGroup` that will be used
54
+ * to style the host, slotted children
55
+ * and the internal template of the element.
56
+ * @return CSS template
57
+ */
58
+ static get styles() {
59
+ return [
60
+ super.styles,
61
+ css `
62
+ :host {
63
+ overflow: hidden;
64
+ display: flex;
65
+ flex-direction: column;
66
+ }
67
+ [part=content] {
68
+ flex: 1 1 auto;
69
+ overflow-x: hidden;
70
+ overflow-y: auto;
71
+ -webkit-overflow-scrolling: touch;
72
+ }
73
+ [part=header], [part=footer] {
74
+ flex: none;
75
+ }
76
+ `
77
+ ];
78
+ }
79
+ /**
80
+ * A basic regexp matching pattern to replace text based on string input.
81
+ * @param text Value to test against
82
+ * @param query The query
83
+ * @param [pattern=<mark>$1</mark>] Provide a pattern to replace string
84
+ * @returns innerHTML The text that can be used as innerHTML
85
+ */
86
+ static QueryWordSelect(text, query = '', pattern = '<mark>$1</mark>') {
87
+ return queryWordSelect(text, query, pattern);
88
+ }
89
+ /**
90
+ * Build item element from data object
91
+ * @param suggestion Suggestion data
92
+ * @param query A query data (usually string, but could be any entity )
93
+ * @returns item
94
+ */
95
+ static ItemRenderer(suggestion, query) {
96
+ return renderer(suggestion, query);
97
+ }
98
+ /**
99
+ * Replace forbidden characters in regular expressions
100
+ * @param string A string to process
101
+ * @returns clean string
102
+ */
103
+ static EscapeRegExp(string = '') {
104
+ return escapeRegExp(string);
105
+ }
106
+ /**
107
+ * Check whether item can be highlighted
108
+ * @param suggestion Suggestion object
109
+ * @param target item element
110
+ * @returns highlightable
111
+ */
112
+ static ItemHighlightable(suggestion, target) {
113
+ return itemHighlightable(suggestion, target);
114
+ }
45
115
  /**
46
116
  * creates auto-suggest
47
117
  */
@@ -111,7 +181,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
111
181
  this.lastActiveElement = null;
112
182
  this.suspendedKey = false;
113
183
  this.preservedQueryValue = null;
114
- this.focusSuspended = false;
115
184
  this.jobRunner = new TimeoutTaskRunner(this.debounceRate);
116
185
  this.attachChangeRunner = new AnimationTaskRunner();
117
186
  this.moreResultsRunner = new AnimationTaskRunner();
@@ -200,76 +269,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
200
269
  */
201
270
  this.onOutsideClick = this.onOutsideClick.bind(this);
202
271
  }
203
- /**
204
- * Element version number
205
- * @returns version number
206
- */
207
- static get version() {
208
- return VERSION;
209
- }
210
- /**
211
- * A `CSSResultGroup` that will be used
212
- * to style the host, slotted children
213
- * and the internal template of the element.
214
- * @return CSS template
215
- */
216
- static get styles() {
217
- return [
218
- super.styles,
219
- css `
220
- :host {
221
- overflow: hidden;
222
- display: flex;
223
- flex-direction: column;
224
- }
225
- [part=content] {
226
- flex: 1 1 auto;
227
- overflow-x: hidden;
228
- overflow-y: auto;
229
- -webkit-overflow-scrolling: touch;
230
- }
231
- [part=header], [part=footer] {
232
- flex: none;
233
- }
234
- `
235
- ];
236
- }
237
- /**
238
- * A basic regexp matching pattern to replace text based on string input.
239
- * @param text Value to test against
240
- * @param query The query
241
- * @param [pattern=<mark>$1</mark>] Provide a pattern to replace string
242
- * @returns innerHTML The text that can be used as innerHTML
243
- */
244
- static QueryWordSelect(text, query = '', pattern = '<mark>$1</mark>') {
245
- return queryWordSelect(text, query, pattern);
246
- }
247
- /**
248
- * Build item element from data object
249
- * @param suggestion Suggestion data
250
- * @param query A query data (usually string, but could be any entity )
251
- * @returns item
252
- */
253
- static ItemRenderer(suggestion, query) {
254
- return renderer(suggestion, query);
255
- }
256
- /**
257
- * Replace forbidden characters in regular expressions
258
- * @param string A string to process
259
- * @returns clean string
260
- */
261
- static EscapeRegExp(string = '') {
262
- return escapeRegExp(string);
263
- }
264
- /**
265
- * Check whether item can be highlighted
266
- * @param suggestion Suggestion object
267
- * @param target item element
268
- * @returns highlightable
269
- */
270
- static ItemHighlightable(suggestion, target) {
271
- return itemHighlightable(suggestion, target);
272
- }
273
272
  disconnectedCallback() {
274
273
  this.dispatchAttachEventsRemoveAction();
275
274
  super.disconnectedCallback();
@@ -281,7 +280,7 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
281
280
  */
282
281
  onInputValueChange(event) {
283
282
  if (!this.suspended) { // avoid circular
284
- /* istanbul ignore next */
283
+ /* c8 ignore next */
285
284
  if (isMobile) {
286
285
  this.lastActiveElement = event.target;
287
286
  }
@@ -308,11 +307,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
308
307
  */
309
308
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
310
309
  onInputFocus(event) {
311
- /* istanbul ignore next */
312
- if (this.focusSuspended) {
313
- // see _onItemMousedown, it is an IE fix for scrollbar
314
- return;
315
- }
316
310
  this.requestOnFocus && this.requestSuggestions('input-focus');
317
311
  }
318
312
  /**
@@ -326,18 +320,14 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
326
320
  }
327
321
  switch (event.key) {
328
322
  case 'ArrowUp':
329
- case 'Up':
330
323
  this.onUpKey();
331
324
  break;
332
325
  case 'ArrowDown':
333
- case 'Down':
334
326
  this.onDownKey();
335
327
  break;
336
328
  case 'Escape':
337
- case 'Esc':
338
329
  this.onEscKey();
339
330
  break;
340
- case 'Return':
341
331
  case 'Enter':
342
332
  this.onEnterKey(event);
343
333
  break;
@@ -346,16 +336,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
346
336
  }
347
337
  event.preventDefault();
348
338
  }
349
- /**
350
- * @ignore
351
- * Called when the element's dimensions have changed
352
- * @param size dimension details
353
- * @returns {void}
354
- */
355
- resizedCallback(size) {
356
- super.resizedCallback(size);
357
- this.calculateContentMaxHeight(size);
358
- }
359
339
  /**
360
340
  * Called once after the component is first rendered
361
341
  * @param changedProperties map of changed properties with old values
@@ -371,9 +351,8 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
371
351
  * @returns shouldUpdate
372
352
  */
373
353
  shouldUpdate(changedProperties) {
374
- let result = super.shouldUpdate(changedProperties);
375
- result = result || this.shouldAutosuggestUpdate(changedProperties);
376
- return result;
354
+ const shouldUpdate = super.shouldUpdate(changedProperties);
355
+ return shouldUpdate || this.shouldAutosuggestUpdate(changedProperties);
377
356
  }
378
357
  /**
379
358
  * Called after the element’s DOM has been updated
@@ -387,9 +366,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
387
366
  }
388
367
  this.changedCallbacks(changedProperties);
389
368
  }
390
- /**
391
- * inheritance callbacks
392
- */
393
369
  /**
394
370
  * Run when the slot has changed.
395
371
  * @param event Slot change query
@@ -398,18 +374,18 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
398
374
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
399
375
  onSlotChange(event) {
400
376
  const contentSlot = this.contentSlotRef.value;
401
- const nodes = (contentSlot && contentSlot.assignedNodes()) || [];
377
+ const nodes = contentSlot?.assignedNodes() ?? [];
402
378
  this.setOpened(this.attachTargetFocused && this.hasContent);
403
379
  // make a brave assumption that suggestions are populated as well
404
380
  const suggestions = this.suggestions;
405
381
  this.highlightItem(); // hide highlight
406
382
  this.suggestionMap.clear();
407
- nodes.forEach((node, idx) => {
408
- /* istanbul ignore next */
383
+ nodes.forEach((node, index) => {
384
+ /* c8 ignore next */
409
385
  if (node.nodeType !== Node.ELEMENT_NODE) {
410
386
  return;
411
387
  }
412
- const suggestion = suggestions[idx];
388
+ const suggestion = suggestions[index];
413
389
  if (this.highlightable(suggestion, node)) {
414
390
  this.suggestionMap.set(node, suggestion);
415
391
  }
@@ -431,9 +407,9 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
431
407
  */
432
408
  itemSelectAction(event) {
433
409
  const { detail: { query, suggestion } } = event;
434
- /* istanbul ignore next */
410
+ /* c8 ignore next */
435
411
  if (this.attachTarget) {
436
- this.attachTarget.value = suggestion && suggestion?.label || query;
412
+ this.attachTarget.value = suggestion && suggestion.label || query;
437
413
  }
438
414
  }
439
415
  /**
@@ -481,7 +457,7 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
481
457
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
482
458
  attachEventsAddAction(event) {
483
459
  const attachTarget = this.attachTarget;
484
- /* istanbul ignore next */
460
+ /* c8 ignore next */
485
461
  if (!attachTarget) {
486
462
  return;
487
463
  }
@@ -559,12 +535,13 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
559
535
  }
560
536
  const query = this.xmlSerializer.serializeToString(document.createTextNode(this.query ? this.query.toString() : ''));
561
537
  return html `
562
- <span part="more-results-text">${this.moreSearchText
563
- ? unsafeHTML(this.moreSearchText.replace(/{0\}/g, `<mark>${query}</mark>`))
538
+ <span part="more-results-text">
539
+ ${this.moreSearchText ? unsafeHTML(this.moreSearchText.replace(/{0\}/g, `<mark>${query}</mark>`))
564
540
  : this.t('MORE_RESULTS', {
565
541
  query,
566
542
  mark: (chunks) => `<mark>${chunks}</mark>`
567
- })}</span>
543
+ })}
544
+ </span>
568
545
  <span part="more-results-keys" slot="right"><kbd>SHIFT</kbd> + <kbd>ENTER</kbd></span>
569
546
  `;
570
547
  }
@@ -614,7 +591,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
614
591
  */
615
592
  onClosed() {
616
593
  super.onClosed();
617
- this.restrictContentMaxHeight();
618
594
  document.removeEventListener('tapstart', this.onOutsideClick);
619
595
  }
620
596
  /**
@@ -627,7 +603,7 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
627
603
  this.requestSuggestions('enter-pressed');
628
604
  return;
629
605
  }
630
- /* istanbul ignore next */
606
+ /* c8 ignore next */
631
607
  if (this.loading) {
632
608
  return;
633
609
  }
@@ -651,7 +627,7 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
651
627
  this.requestSuggestions('suggestions-revealed');
652
628
  return;
653
629
  }
654
- /* istanbul ignore next */
630
+ /* c8 ignore next */
655
631
  if (this.loading) {
656
632
  return;
657
633
  }
@@ -666,7 +642,7 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
666
642
  this.requestSuggestions('suggestions-revealed');
667
643
  return;
668
644
  }
669
- /* istanbul ignore next */
645
+ /* c8 ignore next */
670
646
  if (this.loading) {
671
647
  return;
672
648
  }
@@ -751,9 +727,9 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
751
727
  */
752
728
  get renderedSuggestions() {
753
729
  const keys = [];
754
- this.suggestionMap.forEach((value, key) => {
730
+ for (const [key] of this.suggestionMap) {
755
731
  keys.push(key);
756
- });
732
+ }
757
733
  if (this.moreResults && this.moreResultsItem) {
758
734
  keys.push(this.moreResultsItem);
759
735
  }
@@ -763,7 +739,7 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
763
739
  * Fired when mouse leave event happens. Remove highlight from the item
764
740
  * @returns {void}
765
741
  */
766
- /* istanbul ignore next */
742
+ /* c8 ignore next */
767
743
  onItemMouseLeave() {
768
744
  this.highlightItem(); // remove highlight
769
745
  }
@@ -897,8 +873,8 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
897
873
  */
898
874
  suggestionsChange() {
899
875
  const contentSlot = this.contentSlotRef.value;
900
- contentSlot && contentSlot.assignedNodes().forEach((node) => {
901
- node.parentNode && node.parentNode.removeChild(node);
876
+ contentSlot?.assignedNodes().forEach((node) => {
877
+ node.parentNode?.removeChild(node);
902
878
  });
903
879
  this.appendChild(this.suggestions.reduce((fragment, suggestion) => this.generateSuggestionsFragment(fragment, suggestion), document.createDocumentFragment()));
904
880
  }
@@ -1026,7 +1002,7 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
1026
1002
  }
1027
1003
  // Space characters (e.g. space, tab, EOL) don't count as having content
1028
1004
  const contentSlot = this.contentSlotRef.value;
1029
- const nodes = contentSlot && contentSlot.assignedNodes() || [];
1005
+ const nodes = contentSlot?.assignedNodes() ?? [];
1030
1006
  return nodes.some(({ nodeType, textContent }) => nodeType === Node.ELEMENT_NODE || (textContent && textContent.search(/\S/) >= 0)); // If node is element always return true
1031
1007
  }
1032
1008
  /**
@@ -1060,14 +1036,14 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
1060
1036
  const path = event.composedPath();
1061
1037
  for (let i = 0; i <= path.length; i += 1) {
1062
1038
  const node = path[i];
1063
- /* istanbul ignore next */
1039
+ /* c8 ignore next */
1064
1040
  if (node.nodeType !== Node.ELEMENT_NODE) {
1065
1041
  continue;
1066
1042
  }
1067
1043
  if (this.canSelect(node)) {
1068
1044
  return node;
1069
1045
  }
1070
- /* istanbul ignore next */
1046
+ /* c8 ignore next */
1071
1047
  if (node === this) {
1072
1048
  return event.target;
1073
1049
  }
@@ -1128,8 +1104,8 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
1128
1104
  }
1129
1105
  }
1130
1106
  generateSuggestionsFragment(fragment, suggestion) {
1131
- const el = this.renderer(suggestion, this.preservedQueryValue);
1132
- fragment.appendChild(el);
1107
+ const element = this.renderer(suggestion, this.preservedQueryValue);
1108
+ fragment.appendChild(element);
1133
1109
  return fragment;
1134
1110
  }
1135
1111
  /**
@@ -1142,7 +1118,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
1142
1118
  const rect = this.positionTarget.getBoundingClientRect();
1143
1119
  this.style.minWidth = `${rect.width}px`;
1144
1120
  }
1145
- this.restrictContentMaxHeight();
1146
1121
  }
1147
1122
  /**
1148
1123
  * Fired when mouse down event happens. Select the item
@@ -1150,16 +1125,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
1150
1125
  * @returns {void}
1151
1126
  */
1152
1127
  onItemMousedown(event) {
1153
- // do not loose focus from input when click happens on the popup
1154
- // note, in IE when scrolling the focus is lost regardless, so
1155
- // do hacking here and with on blur
1156
- /* istanbul ignore next */
1157
- requestAnimationFrame(() => {
1158
- // Ignore any focus query events!
1159
- this.focusSuspended = true;
1160
- this.attachTarget && this.attachTarget.focus();
1161
- this.focusSuspended = false;
1162
- });
1163
1128
  event.stopPropagation();
1164
1129
  event.preventDefault();
1165
1130
  }
@@ -1185,10 +1150,12 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
1185
1150
  return null;
1186
1151
  }
1187
1152
  return html `
1188
- <ef-item tabIndex="-1"
1189
- role="option"
1190
- id="moreResults"
1191
- part="more-results">${this.moreResultsTextTemplate}</ef-item>
1153
+ <ef-item
1154
+ tabIndex="-1"
1155
+ role="option"
1156
+ id="moreResults"
1157
+ part="more-results">${this.moreResultsTextTemplate}
1158
+ </ef-item>
1192
1159
  `;
1193
1160
  }
1194
1161
  /**
@@ -1218,48 +1185,6 @@ let Autosuggest = Autosuggest_1 = class Autosuggest extends Overlay {
1218
1185
  ${this.loaderTemplate}
1219
1186
  `;
1220
1187
  }
1221
- /**
1222
- * IE11 only: Restrict maximum height of content element
1223
- * @param [maxHeight] Maximum height of content element
1224
- * @returns {void}
1225
- */
1226
- /* istanbul ignore next */
1227
- restrictContentMaxHeight(maxHeight) {
1228
- const contentElement = this.contentElementRef.value;
1229
- if (!isIE || !contentElement) {
1230
- return;
1231
- }
1232
- if (maxHeight) {
1233
- contentElement.style.setProperty('max-height', `${maxHeight}px`);
1234
- }
1235
- else {
1236
- contentElement.style.removeProperty('max-height');
1237
- }
1238
- }
1239
- /**
1240
- * IE11 only: Calculate the maxHeight of content element
1241
- * @param size Size of the dialog
1242
- * @returns {void}
1243
- */
1244
- /* istanbul ignore next */
1245
- calculateContentMaxHeight(size) {
1246
- if (!isIE) {
1247
- return;
1248
- }
1249
- const headerElement = this.headerElementRef.value;
1250
- const footerElement = this.footerElementRef.value;
1251
- const contentElement = this.contentElementRef.value;
1252
- const headerRect = headerElement?.getBoundingClientRect();
1253
- const footerRect = footerElement?.getBoundingClientRect();
1254
- const contentRect = contentElement?.getBoundingClientRect();
1255
- const dialogHeight = size.height;
1256
- const headerHeight = headerRect ? headerRect.height : 0;
1257
- const footerHeight = footerRect ? footerRect.height : 0;
1258
- const contentHeight = contentRect ? contentRect.height : 0;
1259
- if (headerHeight + footerHeight + contentHeight > dialogHeight) {
1260
- this.restrictContentMaxHeight(dialogHeight - footerHeight - headerHeight);
1261
- }
1262
- }
1263
1188
  };
1264
1189
  Autosuggest.defaultDebounceRate = 100;
1265
1190
  __decorate([
@@ -2,4 +2,4 @@ import '@refinitiv-ui/elements/item/themes/halo/dark';
2
2
  import '@refinitiv-ui/elements/overlay/themes/halo/dark';
3
3
  import '@refinitiv-ui/elements/loader/themes/halo/dark';
4
4
 
5
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-autosuggest', styles: 'mark{color:#fff;background-color:#334bff}:host{min-height:0;max-height:350px;border:1px solid #404040;background-color:#0d0d0d}:host([loading]){min-height:50px;min-width:150px}:host [part=content]{overflow:auto;touch-action:manipulation;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}:host [part=more-results]{border-top:1px solid #404040}:host [part=more-results] mark{background-color:inherit;font-weight:500}:host [part=more-results-text]{font-size:.76em;font-size:inherit}:host [part=more-results-keys],:host [part=more-results] mark{color:#fff}:host [part=loader]{top:0;bottom:0;left:0;right:0;position:absolute}:host [part=backdrop]{background-color:#000;opacity:.6;width:100%;height:100%}::-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}kbd{font-family:inherit;justify-content:center;align-items:center;vertical-align:middle;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.3);min-width:1.33em;display:inline-block;color:#fff;background-color:#404040;box-shadow:0 0 0 2px #404040;font-weight:600;font-family:inherit;font-size:.83333333em;border-radius:1em;padding:0 .5em;height:1.2em;margin-top:-.1em}:host{border-color:#334bff;margin:2px 0}:host [part=content] ::slotted(ef-item:not([part=more-results])){background-color:#262626}:host [part=content] ::slotted(ef-item:not([type=header]):not([part=more-results])){color:#ccc}:host [part=content] ::slotted(ef-item:not([part=more-results]):not(:first-child)){box-shadow:0 -1px 0 #404040}:host [part=content] ::slotted(ef-item:not([part=more-results]):focus),:host [part=content] ::slotted(ef-item:not([part=more-results])[highlighted]){background-color:#333}:host [part=content] ::slotted(ef-item:not([part=more-results]):focus:not([selected])),:host [part=content] ::slotted(ef-item:not([part=more-results])[highlighted]:not([selected])){color:#fff}:host [part=more-results]{border-top-color:#404040;color:#ccc;background-color:#1a1a1a}:host [part=more-results]:focus,:host [part=more-results][highlighted]{background-color:#333;color:#ccc}:host [part=more-results-keys] kbd{margin-left:4px;margin-right:4px}:host [part=more-results-keys] kbd:first-of-type{margin-left:0}:host [part=more-results-keys] kbd:last-of-type{margin-right:0}' }}));
5
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-autosuggest', styles: 'mark{color:#fff;background-color:#334bff}:host{min-height:0;max-height:350px;border:1px solid #404040;background-color:#0d0d0d}:host([loading]){min-height:50px;min-width:150px}:host [part=content]{overflow:auto;touch-action:manipulation;scrollbar-color:#595959 #1a1a1a;scrollbar-width:thin}:host [part=more-results]{border-top:1px solid #404040}:host [part=more-results] mark{background-color:inherit;font-weight:500}:host [part=more-results-text]{font-size:.76em;font-size:inherit}:host [part=more-results-keys],:host [part=more-results] mark{color:#fff}:host [part=loader]{top:0;bottom:0;left:0;right:0;position:absolute}:host [part=backdrop]{background-color:#000;opacity:.6;width:100%;height:100%}::-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}kbd{font-family:inherit;justify-content:center;align-items:center;vertical-align:middle;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.3);min-width:1.33em;display:inline-block;color:#fff;background-color:#404040;box-shadow:0 0 0 2px #404040;font-weight:600;font-family:inherit;font-size:.83333333em;border-radius:1em;padding:0 .5em;height:1.2em;margin-top:-.1em}:host{border-color:#334bff;margin:2px 0}:host [part=content] ::slotted(ef-item:not([part=more-results])){background-color:#262626}:host [part=content] ::slotted(ef-item:not([type=header]):not([part=more-results])){color:#ccc}:host [part=content] ::slotted(ef-item:not([part=more-results]):not(:first-child)){box-shadow:0 -1px 0 #404040}:host [part=content] ::slotted(ef-item:not([part=more-results]):focus),:host [part=content] ::slotted(ef-item:not([part=more-results])[highlighted]){background-color:#333}:host [part=content] ::slotted(ef-item:not([part=more-results]):focus:not([selected])),:host [part=content] ::slotted(ef-item:not([part=more-results])[highlighted]:not([selected])){color:#fff}:host [part=more-results]{border-top-color:#404040;color:#ccc;background-color:#1a1a1a}:host [part=more-results]:focus,:host [part=more-results][highlighted]{background-color:#333;color:#ccc}:host [part=more-results-keys] kbd{margin-left:4px;margin-right:4px}:host [part=more-results-keys] kbd:first-of-type{margin-left:0}:host [part=more-results-keys] kbd:last-of-type{margin-right:0}' }}));
@@ -2,4 +2,4 @@ import '@refinitiv-ui/elements/item/themes/halo/light';
2
2
  import '@refinitiv-ui/elements/overlay/themes/halo/light';
3
3
  import '@refinitiv-ui/elements/loader/themes/halo/light';
4
4
 
5
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-autosuggest', styles: 'mark{color:#fff;background-color:#334bff}:host{min-height:0;max-height:350px;border:1px solid #595959;background-color:#fff}:host([loading]){min-height:50px;min-width:150px}:host [part=content]{overflow:auto;touch-action:manipulation;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}:host [part=more-results]{border-top:1px solid #595959}:host [part=more-results] mark{background-color:inherit;font-weight:500}:host [part=more-results-text]{font-size:.76em;font-size:inherit}:host [part=more-results-keys],:host [part=more-results] mark{color:#0d0d0d}:host [part=loader]{top:0;bottom:0;left:0;right:0;position:absolute}:host [part=backdrop]{background-color:#000;opacity:.6;width:100%;height:100%}::-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}kbd{font-family:inherit;justify-content:center;align-items:center;vertical-align:middle;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.3);min-width:1.33em;display:inline-block;color:#0d0d0d;background-color:#d9d9d9;box-shadow:0 0 0 2px #d9d9d9;font-weight:600;font-family:inherit;font-size:.83333333em;border-radius:1em;padding:0 .5em;height:1.2em;margin-top:-.1em}:host{border-color:#334bff;margin:2px 0}:host [part=content] ::slotted(ef-item:not([part=more-results])){background-color:#f2f2f2}:host [part=content] ::slotted(ef-item:not([type=header]):not([part=more-results])){color:#404040}:host [part=content] ::slotted(ef-item:not([part=more-results]):not(:first-child)){box-shadow:0 -1px 0 #d9d9d9}:host [part=content] ::slotted(ef-item:not([part=more-results]):focus),:host [part=content] ::slotted(ef-item:not([part=more-results])[highlighted]){background-color:#e6e6e6}:host [part=content] ::slotted(ef-item:not([part=more-results]):focus:not([selected])),:host [part=content] ::slotted(ef-item:not([part=more-results])[highlighted]:not([selected])){color:#0d0d0d}:host [part=more-results]{border-top-color:#d9d9d9;color:#737373;background-color:#fafafa}:host [part=more-results]:focus,:host [part=more-results][highlighted]{background-color:#e6e6e6;color:#737373}:host [part=more-results-keys] kbd{margin-left:4px;margin-right:4px}:host [part=more-results-keys] kbd:first-of-type{margin-left:0}:host [part=more-results-keys] kbd:last-of-type{margin-right:0}' }}));
5
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-autosuggest', styles: 'mark{color:#fff;background-color:#334bff}:host{min-height:0;max-height:350px;border:1px solid #595959;background-color:#fff}:host([loading]){min-height:50px;min-width:150px}:host [part=content]{overflow:auto;touch-action:manipulation;scrollbar-color:#999 #f2f2f2;scrollbar-width:thin}:host [part=more-results]{border-top:1px solid #595959}:host [part=more-results] mark{background-color:inherit;font-weight:500}:host [part=more-results-text]{font-size:.76em;font-size:inherit}:host [part=more-results-keys],:host [part=more-results] mark{color:#0d0d0d}:host [part=loader]{top:0;bottom:0;left:0;right:0;position:absolute}:host [part=backdrop]{background-color:#000;opacity:.6;width:100%;height:100%}::-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}kbd{font-family:inherit;justify-content:center;align-items:center;vertical-align:middle;box-sizing:border-box;box-shadow:0 1px 3px rgba(0,0,0,.3);min-width:1.33em;display:inline-block;color:#0d0d0d;background-color:#d9d9d9;box-shadow:0 0 0 2px #d9d9d9;font-weight:600;font-family:inherit;font-size:.83333333em;border-radius:1em;padding:0 .5em;height:1.2em;margin-top:-.1em}:host{border-color:#334bff;margin:2px 0}:host [part=content] ::slotted(ef-item:not([part=more-results])){background-color:#f2f2f2}:host [part=content] ::slotted(ef-item:not([type=header]):not([part=more-results])){color:#404040}:host [part=content] ::slotted(ef-item:not([part=more-results]):not(:first-child)){box-shadow:0 -1px 0 #d9d9d9}:host [part=content] ::slotted(ef-item:not([part=more-results]):focus),:host [part=content] ::slotted(ef-item:not([part=more-results])[highlighted]){background-color:#e6e6e6}:host [part=content] ::slotted(ef-item:not([part=more-results]):focus:not([selected])),:host [part=content] ::slotted(ef-item:not([part=more-results])[highlighted]:not([selected])){color:#0d0d0d}:host [part=more-results]{border-top-color:#d9d9d9;color:#737373;background-color:#fafafa}:host [part=more-results]:focus,:host [part=more-results][highlighted]{background-color:#e6e6e6;color:#737373}:host [part=more-results-keys] kbd{margin-left:4px;margin-right:4px}:host [part=more-results-keys] kbd:first-of-type{margin-left:0}:host [part=more-results-keys] kbd:last-of-type{margin-right:0}' }}));
@@ -2,4 +2,4 @@ import '@refinitiv-ui/elements/item/themes/solar/charcoal';
2
2
  import '@refinitiv-ui/elements/overlay/themes/solar/charcoal';
3
3
  import '@refinitiv-ui/elements/loader/themes/solar/charcoal';
4
4
 
5
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-autosuggest', styles: 'kbd{display:inline-flex;border-radius:2px;font-family:inherit;justify-content:center;align-items:center;vertical-align:middle;box-sizing:border-box;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);color:#151516;min-width:1.33em;height:1.33em;padding:0 .3em;font-size:.76em}mark{color:#ee7600;background-color:transparent}:host{min-height:0;max-height:350px;border:1px solid #4a4a52;margin-top:1px;background-color:#151516}:host([loading]){min-height:50px;min-width:150px;min-height:32px}:host [part=content]{overflow:auto;touch-action:manipulation;scrollbar-face-color:#666570;scrollbar-shadow-color:#666570;scrollbar-highlight-color:#666570;scrollbar-arrow-color:#666570;scrollbar-track-color:#2e2e33;scrollbar-3dlight-color:#2e2e33;scrollbar-darkshadow-color:#2e2e33;scrollbar-color:#666570 #2e2e33;background-color:#3c3c42}:host [part=more-results] mark{background-color:inherit;color:#ee7600;font-weight:400}:host [part=more-results-text]{font-size:.76em}:host [part=more-results-keys],:host [part=more-results] mark{color:#ee7600}:host [part=loader]{top:0;bottom:0;left:0;right:0;position:absolute}:host [part=backdrop]{background-color:#000;opacity:.6;width:100%;height:100%}::-webkit-scrollbar{width:13px;height:13px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #2e2e33;height:12px;width:12px;display:block}::-webkit-scrollbar-thumb{background:#666570;border-radius:7px;border:2px solid #2e2e33}::-webkit-scrollbar-thumb:hover{background:#e2e2e2}::-webkit-scrollbar-thumb:active{background:#f93}::-webkit-scrollbar-track{background:#2e2e33}::-webkit-scrollbar-corner{background:#2e2e33}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{background-image:linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570);background-position:10px 6.5px,9px 5.5px,8px 4.5px,7px 3.5px,6px 2.5px,5px 3.5px,4px 4.5px,3px 5.5px,2px 6.5px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2);background-position:10px 6.5px,9px 5.5px,8px 4.5px,7px 3.5px,6px 2.5px,5px 3.5px,4px 4.5px,3px 5.5px,2px 6.5px}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93);background-position:10px 6.5px,9px 5.5px,8px 4.5px,7px 3.5px,6px 2.5px,5px 3.5px,4px 4.5px,3px 5.5px,2px 6.5px}::-webkit-scrollbar-button:vertical:end:increment{background-image:linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570);background-position:10px 3.5px,9px 4.5px,8px 5.5px,7px 6.5px,6px 7.5px,5px 6.5px,4px 5.5px,3px 4.5px,2px 3.5px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2);background-position:10px 3.5px,9px 4.5px,8px 5.5px,7px 6.5px,6px 7.5px,5px 6.5px,4px 5.5px,3px 4.5px,2px 3.5px}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93);background-position:10px 3.5px,9px 4.5px,8px 5.5px,7px 6.5px,6px 7.5px,5px 6.5px,4px 5.5px,3px 4.5px,2px 3.5px}::-webkit-scrollbar-button:horizontal:start:decrement{background-image:linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570);background-position:6.5px 10px,5.5px 9px,4.5px 8px,3.5px 7px,2.5px 6px,3.5px 5px,4.5px 4px,5.5px 3px,6.5px 2px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2);background-position:6.5px 10px,5.5px 9px,4.5px 8px,3.5px 7px,2.5px 6px,3.5px 5px,4.5px 4px,5.5px 3px,6.5px 2px}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93);background-position:6.5px 10px,5.5px 9px,4.5px 8px,3.5px 7px,2.5px 6px,3.5px 5px,4.5px 4px,5.5px 3px,6.5px 2px}::-webkit-scrollbar-button:horizontal:end:increment{background-image:linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570);background-position:3.5px 10px,4.5px 9px,5.5px 8px,6.5px 7px,7.5px 6px,6.5px 5px,5.5px 4px,4.5px 3px,3.5px 2px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2);background-position:3.5px 10px,4.5px 9px,5.5px 8px,6.5px 7px,7.5px 6px,6.5px 5px,5.5px 4px,4.5px 3px,3.5px 2px}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93);background-position:3.5px 10px,4.5px 9px,5.5px 8px,6.5px 7px,7.5px 6px,6.5px 5px,5.5px 4px,4.5px 3px,3.5px 2px}:host [part=more-results]{border-top:1px solid #4a4a52;height:32px;font-size:13px}:host [part=more-results],:host [part=more-results]:focus,:host [part=more-results]:hover,:host [part=more-results][highlighted],:host [part=more-results][selected]{color:#46a0f0}:host [part=more-results-keys],:host [part=more-results-keys] kbd{font-size:inherit;color:#46a0f0}:host [part=more-results-keys] kbd{font-size:inherit;background-color:transparent;box-shadow:none;border-radius:0;padding:0;line-height:13px;display:inline}:host [part=more-results-text]{font-size:inherit}:host [part=more-results] mark:after,:host [part=more-results] mark:before{color:#46a0f0;content:"\\""}' }}));
5
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-autosuggest', styles: 'kbd{display:inline-flex;border-radius:2px;font-family:inherit;justify-content:center;align-items:center;vertical-align:middle;box-sizing:border-box;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);color:#151516;min-width:1.33em;height:1.33em;padding:0 .3em;font-size:.76em}mark{color:#ee7600;background-color:transparent}:host{min-height:0;max-height:350px;border:1px solid #4a4a52;margin-top:1px;background-color:#151516}:host([loading]){min-height:50px;min-width:150px;min-height:32px}:host [part=content]{overflow:auto;touch-action:manipulation;scrollbar-color:#666570 #2e2e33;background-color:#3c3c42}:host [part=more-results] mark{background-color:inherit;color:#ee7600;font-weight:400}:host [part=more-results-text]{font-size:.76em}:host [part=more-results-keys],:host [part=more-results] mark{color:#ee7600}:host [part=loader]{top:0;bottom:0;left:0;right:0;position:absolute}:host [part=backdrop]{background-color:#000;opacity:.6;width:100%;height:100%}::-webkit-scrollbar{width:13px;height:13px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #2e2e33;height:12px;width:12px;display:block}::-webkit-scrollbar-thumb{background:#666570;border-radius:7px;border:2px solid #2e2e33}::-webkit-scrollbar-thumb:hover{background:#e2e2e2}::-webkit-scrollbar-thumb:active{background:#f93}::-webkit-scrollbar-track{background:#2e2e33}::-webkit-scrollbar-corner{background:#2e2e33}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{background-image:linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570);background-position:10px 6.5px,9px 5.5px,8px 4.5px,7px 3.5px,6px 2.5px,5px 3.5px,4px 4.5px,3px 5.5px,2px 6.5px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2);background-position:10px 6.5px,9px 5.5px,8px 4.5px,7px 3.5px,6px 2.5px,5px 3.5px,4px 4.5px,3px 5.5px,2px 6.5px}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93);background-position:10px 6.5px,9px 5.5px,8px 4.5px,7px 3.5px,6px 2.5px,5px 3.5px,4px 4.5px,3px 5.5px,2px 6.5px}::-webkit-scrollbar-button:vertical:end:increment{background-image:linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570);background-position:10px 3.5px,9px 4.5px,8px 5.5px,7px 6.5px,6px 7.5px,5px 6.5px,4px 5.5px,3px 4.5px,2px 3.5px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2);background-position:10px 3.5px,9px 4.5px,8px 5.5px,7px 6.5px,6px 7.5px,5px 6.5px,4px 5.5px,3px 4.5px,2px 3.5px}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93);background-position:10px 3.5px,9px 4.5px,8px 5.5px,7px 6.5px,6px 7.5px,5px 6.5px,4px 5.5px,3px 4.5px,2px 3.5px}::-webkit-scrollbar-button:horizontal:start:decrement{background-image:linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570);background-position:6.5px 10px,5.5px 9px,4.5px 8px,3.5px 7px,2.5px 6px,3.5px 5px,4.5px 4px,5.5px 3px,6.5px 2px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2);background-position:6.5px 10px,5.5px 9px,4.5px 8px,3.5px 7px,2.5px 6px,3.5px 5px,4.5px 4px,5.5px 3px,6.5px 2px}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93);background-position:6.5px 10px,5.5px 9px,4.5px 8px,3.5px 7px,2.5px 6px,3.5px 5px,4.5px 4px,5.5px 3px,6.5px 2px}::-webkit-scrollbar-button:horizontal:end:increment{background-image:linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570),linear-gradient(#666570,#666570);background-position:3.5px 10px,4.5px 9px,5.5px 8px,6.5px 7px,7.5px 6px,6.5px 5px,5.5px 4px,4.5px 3px,3.5px 2px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2),linear-gradient(#e2e2e2,#e2e2e2);background-position:3.5px 10px,4.5px 9px,5.5px 8px,6.5px 7px,7.5px 6px,6.5px 5px,5.5px 4px,4.5px 3px,3.5px 2px}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93),linear-gradient(#f93,#f93);background-position:3.5px 10px,4.5px 9px,5.5px 8px,6.5px 7px,7.5px 6px,6.5px 5px,5.5px 4px,4.5px 3px,3.5px 2px}:host [part=more-results]{border-top:1px solid #4a4a52;height:32px;font-size:13px}:host [part=more-results],:host [part=more-results]:focus,:host [part=more-results]:hover,:host [part=more-results][highlighted],:host [part=more-results][selected]{color:#46a0f0}:host [part=more-results-keys],:host [part=more-results-keys] kbd{font-size:inherit;color:#46a0f0}:host [part=more-results-keys] kbd{font-size:inherit;background-color:transparent;box-shadow:none;border-radius:0;padding:0;line-height:13px;display:inline}:host [part=more-results-text]{font-size:inherit}:host [part=more-results] mark:after,:host [part=more-results] mark:before{color:#46a0f0;content:"\\""}' }}));