@refinitiv-ui/elements 7.0.0-next.5 → 7.0.1

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 (416) hide show
  1. package/CHANGELOG.md +202 -420
  2. package/LICENSE +2 -2
  3. package/README.md +13 -11
  4. package/cli.mjs +5 -3
  5. package/lib/accordion/index.d.ts +1 -1
  6. package/lib/accordion/index.js +4 -7
  7. package/lib/accordion/themes/halo/dark/index.js +0 -1
  8. package/lib/accordion/themes/halo/light/index.js +0 -1
  9. package/lib/accordion/themes/solar/charcoal/index.js +0 -1
  10. package/lib/accordion/themes/solar/pearl/index.js +0 -1
  11. package/lib/appstate-bar/index.d.ts +2 -2
  12. package/lib/appstate-bar/index.js +10 -4
  13. package/lib/appstate-bar/themes/halo/dark/index.js +0 -1
  14. package/lib/appstate-bar/themes/halo/light/index.js +0 -1
  15. package/lib/appstate-bar/themes/solar/charcoal/index.js +0 -1
  16. package/lib/appstate-bar/themes/solar/pearl/index.js +0 -1
  17. package/lib/autosuggest/index.d.ts +7 -7
  18. package/lib/autosuggest/index.js +80 -80
  19. package/lib/autosuggest/themes/halo/dark/index.js +0 -1
  20. package/lib/autosuggest/themes/halo/light/index.js +0 -1
  21. package/lib/autosuggest/themes/solar/charcoal/index.js +1 -2
  22. package/lib/autosuggest/themes/solar/pearl/index.js +1 -2
  23. package/lib/button/index.js +7 -10
  24. package/lib/button/themes/halo/dark/index.js +0 -1
  25. package/lib/button/themes/halo/light/index.js +0 -1
  26. package/lib/button/themes/solar/charcoal/index.js +0 -1
  27. package/lib/button/themes/solar/pearl/index.js +0 -1
  28. package/lib/button-bar/index.d.ts +1 -1
  29. package/lib/button-bar/index.js +12 -12
  30. package/lib/button-bar/themes/halo/dark/index.js +0 -1
  31. package/lib/button-bar/themes/halo/light/index.js +0 -1
  32. package/lib/button-bar/themes/solar/charcoal/index.js +0 -1
  33. package/lib/button-bar/themes/solar/pearl/index.js +0 -1
  34. package/lib/calendar/index.d.ts +39 -39
  35. package/lib/calendar/index.js +156 -123
  36. package/lib/calendar/themes/halo/dark/index.js +0 -1
  37. package/lib/calendar/themes/halo/light/index.js +0 -1
  38. package/lib/calendar/themes/solar/charcoal/index.js +0 -1
  39. package/lib/calendar/themes/solar/pearl/index.js +0 -1
  40. package/lib/calendar/utils.js +1 -1
  41. package/lib/canvas/index.d.ts +1 -1
  42. package/lib/canvas/index.js +2 -4
  43. package/lib/canvas/themes/halo/dark/index.js +0 -1
  44. package/lib/canvas/themes/halo/light/index.js +0 -1
  45. package/lib/canvas/themes/solar/charcoal/index.js +0 -1
  46. package/lib/canvas/themes/solar/pearl/index.js +0 -1
  47. package/lib/card/helpers/types.d.ts +2 -2
  48. package/lib/card/index.d.ts +5 -5
  49. package/lib/card/index.js +34 -28
  50. package/lib/card/themes/halo/dark/index.js +0 -1
  51. package/lib/card/themes/halo/light/index.js +0 -1
  52. package/lib/card/themes/solar/charcoal/index.js +0 -1
  53. package/lib/card/themes/solar/pearl/index.js +0 -1
  54. package/lib/chart/elements/chart.d.ts +4 -4
  55. package/lib/chart/elements/chart.js +39 -33
  56. package/lib/chart/plugins/doughnut-center-label.d.ts +3 -3
  57. package/lib/chart/plugins/doughnut-center-label.js +13 -9
  58. package/lib/chart/themes/halo/dark/index.js +0 -1
  59. package/lib/chart/themes/halo/light/index.js +0 -1
  60. package/lib/chart/themes/solar/charcoal/index.js +0 -1
  61. package/lib/chart/themes/solar/pearl/index.js +0 -1
  62. package/lib/checkbox/index.d.ts +1 -1
  63. package/lib/checkbox/index.js +12 -13
  64. package/lib/checkbox/themes/halo/dark/index.js +0 -1
  65. package/lib/checkbox/themes/halo/light/index.js +0 -1
  66. package/lib/checkbox/themes/solar/charcoal/index.js +0 -1
  67. package/lib/checkbox/themes/solar/pearl/index.js +0 -1
  68. package/lib/clock/index.d.ts +55 -55
  69. package/lib/clock/index.js +84 -95
  70. package/lib/clock/themes/halo/dark/index.js +1 -2
  71. package/lib/clock/themes/halo/light/index.js +1 -2
  72. package/lib/clock/themes/solar/charcoal/index.js +1 -2
  73. package/lib/clock/themes/solar/pearl/index.js +1 -2
  74. package/lib/collapse/index.d.ts +1 -1
  75. package/lib/collapse/index.js +27 -18
  76. package/lib/collapse/themes/halo/dark/index.js +1 -2
  77. package/lib/collapse/themes/halo/light/index.js +1 -2
  78. package/lib/collapse/themes/solar/charcoal/index.js +0 -1
  79. package/lib/collapse/themes/solar/pearl/index.js +0 -1
  80. package/lib/color-dialog/elements/color-palettes.d.ts +1 -1
  81. package/lib/color-dialog/elements/color-palettes.js +5 -6
  82. package/lib/color-dialog/elements/grayscale-palettes.d.ts +1 -1
  83. package/lib/color-dialog/elements/grayscale-palettes.js +9 -9
  84. package/lib/color-dialog/elements/palettes.js +5 -4
  85. package/lib/color-dialog/helpers/value-model.js +7 -9
  86. package/lib/color-dialog/index.d.ts +6 -6
  87. package/lib/color-dialog/index.js +53 -37
  88. package/lib/color-dialog/themes/halo/dark/index.js +0 -1
  89. package/lib/color-dialog/themes/halo/light/index.js +0 -1
  90. package/lib/color-dialog/themes/solar/charcoal/index.js +0 -1
  91. package/lib/color-dialog/themes/solar/pearl/index.js +0 -1
  92. package/lib/color-picker/index.d.ts +2 -2
  93. package/lib/color-picker/index.js +40 -34
  94. package/lib/color-picker/themes/halo/dark/index.js +0 -1
  95. package/lib/color-picker/themes/halo/light/index.js +0 -1
  96. package/lib/color-picker/themes/solar/charcoal/index.js +0 -1
  97. package/lib/color-picker/themes/solar/pearl/index.js +0 -1
  98. package/lib/combo-box/helpers/filter.d.ts +2 -2
  99. package/lib/combo-box/helpers/types.d.ts +1 -1
  100. package/lib/combo-box/index.d.ts +9 -9
  101. package/lib/combo-box/index.js +61 -55
  102. package/lib/combo-box/themes/halo/dark/index.js +0 -1
  103. package/lib/combo-box/themes/halo/light/index.js +0 -1
  104. package/lib/combo-box/themes/solar/charcoal/index.js +0 -1
  105. package/lib/combo-box/themes/solar/pearl/index.js +0 -1
  106. package/lib/configuration/elements/configuration.d.ts +1 -1
  107. package/lib/configuration/elements/configuration.js +2 -2
  108. package/lib/counter/index.d.ts +4 -4
  109. package/lib/counter/index.js +9 -7
  110. package/lib/counter/themes/halo/dark/index.js +0 -1
  111. package/lib/counter/themes/halo/light/index.js +0 -1
  112. package/lib/counter/themes/solar/charcoal/index.js +0 -1
  113. package/lib/counter/themes/solar/pearl/index.js +0 -1
  114. package/lib/datetime-field/index.d.ts +4 -5
  115. package/lib/datetime-field/index.js +32 -23
  116. package/lib/datetime-field/themes/halo/dark/index.js +0 -1
  117. package/lib/datetime-field/themes/halo/light/index.js +0 -1
  118. package/lib/datetime-field/themes/solar/charcoal/index.js +0 -1
  119. package/lib/datetime-field/themes/solar/pearl/index.js +0 -1
  120. package/lib/datetime-field/utils.js +11 -1
  121. package/lib/datetime-picker/index.d.ts +75 -75
  122. package/lib/datetime-picker/index.js +150 -131
  123. package/lib/datetime-picker/locales.js +5 -5
  124. package/lib/datetime-picker/themes/halo/dark/index.js +0 -1
  125. package/lib/datetime-picker/themes/halo/light/index.js +0 -1
  126. package/lib/datetime-picker/themes/solar/charcoal/index.js +0 -1
  127. package/lib/datetime-picker/themes/solar/pearl/index.js +0 -1
  128. package/lib/datetime-picker/utils.js +9 -9
  129. package/lib/dialog/draggable-element.js +1 -2
  130. package/lib/dialog/index.d.ts +5 -5
  131. package/lib/dialog/index.js +51 -47
  132. package/lib/dialog/themes/halo/dark/index.js +0 -1
  133. package/lib/dialog/themes/halo/light/index.js +0 -1
  134. package/lib/dialog/themes/solar/charcoal/index.js +0 -1
  135. package/lib/dialog/themes/solar/pearl/index.js +0 -1
  136. package/lib/email-field/index.d.ts +1 -1
  137. package/lib/email-field/index.js +6 -6
  138. package/lib/email-field/themes/halo/dark/index.js +0 -1
  139. package/lib/email-field/themes/halo/light/index.js +0 -1
  140. package/lib/email-field/themes/solar/charcoal/index.js +0 -1
  141. package/lib/email-field/themes/solar/pearl/index.js +0 -1
  142. package/lib/events.d.ts +1 -1
  143. package/lib/flag/index.d.ts +1 -1
  144. package/lib/flag/index.js +7 -7
  145. package/lib/flag/themes/halo/dark/index.js +0 -1
  146. package/lib/flag/themes/halo/light/index.js +0 -1
  147. package/lib/flag/themes/solar/charcoal/index.js +0 -1
  148. package/lib/flag/themes/solar/pearl/index.js +0 -1
  149. package/lib/flag/utils/FlagLoader.js +1 -1
  150. package/lib/header/index.d.ts +1 -1
  151. package/lib/header/index.js +2 -2
  152. package/lib/header/themes/halo/dark/index.js +1 -2
  153. package/lib/header/themes/halo/light/index.js +1 -2
  154. package/lib/header/themes/solar/charcoal/index.js +1 -2
  155. package/lib/header/themes/solar/pearl/index.js +1 -2
  156. package/lib/heatmap/helpers/color.d.ts +1 -1
  157. package/lib/heatmap/helpers/color.js +11 -5
  158. package/lib/heatmap/helpers/track.js +3 -3
  159. package/lib/heatmap/index.d.ts +9 -9
  160. package/lib/heatmap/index.js +51 -42
  161. package/lib/heatmap/themes/halo/dark/index.js +0 -1
  162. package/lib/heatmap/themes/halo/light/index.js +0 -1
  163. package/lib/heatmap/themes/solar/charcoal/index.js +0 -1
  164. package/lib/heatmap/themes/solar/pearl/index.js +0 -1
  165. package/lib/icon/index.d.ts +2 -2
  166. package/lib/icon/index.js +9 -11
  167. package/lib/icon/themes/halo/dark/index.js +0 -1
  168. package/lib/icon/themes/halo/light/index.js +0 -1
  169. package/lib/icon/themes/solar/charcoal/index.js +0 -1
  170. package/lib/icon/themes/solar/pearl/index.js +0 -1
  171. package/lib/interactive-chart/helpers/types.d.ts +3 -3
  172. package/lib/interactive-chart/index.d.ts +29 -29
  173. package/lib/interactive-chart/index.js +69 -55
  174. package/lib/interactive-chart/themes/halo/dark/index.js +0 -1
  175. package/lib/interactive-chart/themes/halo/light/index.js +0 -1
  176. package/lib/interactive-chart/themes/solar/charcoal/index.js +0 -1
  177. package/lib/interactive-chart/themes/solar/pearl/index.js +0 -1
  178. package/lib/item/helpers/types.d.ts +1 -1
  179. package/lib/item/index.d.ts +3 -3
  180. package/lib/item/index.js +24 -20
  181. package/lib/item/themes/halo/dark/index.js +0 -1
  182. package/lib/item/themes/halo/light/index.js +0 -1
  183. package/lib/item/themes/solar/charcoal/index.js +0 -1
  184. package/lib/item/themes/solar/pearl/index.js +0 -1
  185. package/lib/jsx.d.ts +6 -4
  186. package/lib/label/index.d.ts +1 -1
  187. package/lib/label/index.js +10 -7
  188. package/lib/label/themes/halo/dark/index.js +0 -1
  189. package/lib/label/themes/halo/light/index.js +0 -1
  190. package/lib/label/themes/solar/charcoal/index.js +0 -1
  191. package/lib/label/themes/solar/pearl/index.js +0 -1
  192. package/lib/layout/index.d.ts +7 -7
  193. package/lib/layout/index.js +7 -7
  194. package/lib/layout/themes/halo/dark/index.js +0 -1
  195. package/lib/layout/themes/halo/light/index.js +0 -1
  196. package/lib/layout/themes/solar/charcoal/index.js +0 -1
  197. package/lib/layout/themes/solar/pearl/index.js +0 -1
  198. package/lib/led-gauge/index.d.ts +1 -1
  199. package/lib/led-gauge/index.js +10 -10
  200. package/lib/led-gauge/themes/halo/dark/index.js +0 -1
  201. package/lib/led-gauge/themes/halo/light/index.js +0 -1
  202. package/lib/led-gauge/themes/solar/charcoal/index.js +0 -1
  203. package/lib/led-gauge/themes/solar/pearl/index.js +0 -1
  204. package/lib/list/elements/list.d.ts +3 -3
  205. package/lib/list/elements/list.js +10 -12
  206. package/lib/list/helpers/renderer.js +2 -2
  207. package/lib/list/helpers/types.d.ts +1 -1
  208. package/lib/list/index.d.ts +1 -1
  209. package/lib/list/renderer.d.ts +7 -7
  210. package/lib/list/themes/halo/dark/index.js +0 -2
  211. package/lib/list/themes/halo/light/index.js +0 -2
  212. package/lib/list/themes/solar/charcoal/index.js +0 -2
  213. package/lib/list/themes/solar/pearl/index.js +0 -2
  214. package/lib/loader/index.js +7 -8
  215. package/lib/loader/themes/halo/dark/index.js +0 -1
  216. package/lib/loader/themes/halo/light/index.js +0 -1
  217. package/lib/loader/themes/solar/charcoal/index.js +0 -1
  218. package/lib/loader/themes/solar/pearl/index.js +0 -1
  219. package/lib/multi-input/index.d.ts +6 -6
  220. package/lib/multi-input/index.js +39 -45
  221. package/lib/multi-input/themes/halo/dark/index.js +0 -1
  222. package/lib/multi-input/themes/halo/light/index.js +0 -1
  223. package/lib/multi-input/themes/solar/charcoal/index.js +0 -1
  224. package/lib/multi-input/themes/solar/pearl/index.js +0 -1
  225. package/lib/notification/elements/notification-tray.d.ts +2 -2
  226. package/lib/notification/elements/notification-tray.js +3 -3
  227. package/lib/notification/elements/notification.d.ts +2 -2
  228. package/lib/notification/elements/notification.js +19 -13
  229. package/lib/notification/helpers/status.js +1 -1
  230. package/lib/notification/themes/halo/dark/index.js +0 -2
  231. package/lib/notification/themes/halo/light/index.js +0 -2
  232. package/lib/notification/themes/solar/charcoal/index.js +0 -2
  233. package/lib/notification/themes/solar/pearl/index.js +0 -2
  234. package/lib/number-field/index.d.ts +5 -6
  235. package/lib/number-field/index.js +37 -47
  236. package/lib/number-field/themes/halo/dark/index.js +0 -1
  237. package/lib/number-field/themes/halo/light/index.js +0 -1
  238. package/lib/number-field/themes/solar/charcoal/index.js +0 -1
  239. package/lib/number-field/themes/solar/pearl/index.js +0 -1
  240. package/lib/overlay/elements/overlay-viewport.d.ts +1 -1
  241. package/lib/overlay/elements/overlay.d.ts +2 -2
  242. package/lib/overlay/elements/overlay.js +152 -96
  243. package/lib/overlay/helpers/types.d.ts +1 -1
  244. package/lib/overlay/managers/backdrop-manager.d.ts +1 -1
  245. package/lib/overlay/managers/backdrop-manager.js +2 -2
  246. package/lib/overlay/managers/close-manager.js +2 -1
  247. package/lib/overlay/managers/focus-manager.js +23 -13
  248. package/lib/overlay/managers/interaction-lock-manager.d.ts +4 -4
  249. package/lib/overlay/managers/interaction-lock-manager.js +33 -25
  250. package/lib/overlay/managers/viewport-manager.d.ts +2 -2
  251. package/lib/overlay/managers/viewport-manager.js +3 -2
  252. package/lib/overlay/managers/zindex-manager.js +4 -2
  253. package/lib/overlay/themes/halo/dark/index.js +0 -2
  254. package/lib/overlay/themes/halo/light/index.js +0 -2
  255. package/lib/overlay/themes/solar/charcoal/index.js +0 -2
  256. package/lib/overlay/themes/solar/pearl/index.js +0 -2
  257. package/lib/overlay-menu/helpers/types.d.ts +2 -2
  258. package/lib/overlay-menu/index.d.ts +1 -1
  259. package/lib/overlay-menu/index.js +44 -33
  260. package/lib/overlay-menu/managers/menu-manager.d.ts +10 -10
  261. package/lib/overlay-menu/managers/menu-manager.js +14 -13
  262. package/lib/overlay-menu/themes/halo/dark/index.js +0 -1
  263. package/lib/overlay-menu/themes/halo/light/index.js +0 -1
  264. package/lib/overlay-menu/themes/solar/charcoal/index.js +0 -1
  265. package/lib/overlay-menu/themes/solar/pearl/index.js +0 -1
  266. package/lib/pagination/index.d.ts +4 -4
  267. package/lib/pagination/index.js +39 -14
  268. package/lib/pagination/themes/halo/dark/index.js +0 -1
  269. package/lib/pagination/themes/halo/light/index.js +0 -1
  270. package/lib/pagination/themes/solar/charcoal/index.js +0 -1
  271. package/lib/pagination/themes/solar/pearl/index.js +0 -1
  272. package/lib/panel/index.js +1 -1
  273. package/lib/panel/themes/halo/dark/index.js +0 -1
  274. package/lib/panel/themes/halo/light/index.js +0 -1
  275. package/lib/panel/themes/solar/charcoal/index.js +0 -1
  276. package/lib/panel/themes/solar/pearl/index.js +0 -1
  277. package/lib/password-field/index.d.ts +2 -2
  278. package/lib/password-field/index.js +6 -3
  279. package/lib/password-field/themes/halo/dark/index.js +1 -2
  280. package/lib/password-field/themes/halo/light/index.js +1 -2
  281. package/lib/password-field/themes/solar/charcoal/index.js +1 -2
  282. package/lib/password-field/themes/solar/pearl/index.js +1 -2
  283. package/lib/pill/index.d.ts +1 -1
  284. package/lib/pill/index.js +22 -19
  285. package/lib/pill/themes/halo/dark/index.js +0 -1
  286. package/lib/pill/themes/halo/light/index.js +0 -1
  287. package/lib/pill/themes/solar/charcoal/index.js +0 -1
  288. package/lib/pill/themes/solar/pearl/index.js +0 -1
  289. package/lib/progress-bar/index.d.ts +1 -1
  290. package/lib/progress-bar/index.js +38 -37
  291. package/lib/progress-bar/themes/halo/dark/index.js +0 -1
  292. package/lib/progress-bar/themes/halo/light/index.js +0 -1
  293. package/lib/progress-bar/themes/solar/charcoal/index.js +0 -1
  294. package/lib/progress-bar/themes/solar/pearl/index.js +0 -1
  295. package/lib/radio-button/index.d.ts +2 -2
  296. package/lib/radio-button/index.js +17 -12
  297. package/lib/radio-button/radio-button-registry.js +8 -5
  298. package/lib/radio-button/themes/halo/dark/index.js +0 -1
  299. package/lib/radio-button/themes/halo/light/index.js +0 -1
  300. package/lib/radio-button/themes/solar/charcoal/index.js +0 -1
  301. package/lib/radio-button/themes/solar/pearl/index.js +0 -1
  302. package/lib/rating/index.d.ts +1 -1
  303. package/lib/rating/index.js +2 -5
  304. package/lib/rating/themes/halo/dark/index.js +0 -1
  305. package/lib/rating/themes/halo/light/index.js +0 -1
  306. package/lib/rating/themes/solar/charcoal/index.js +0 -1
  307. package/lib/rating/themes/solar/pearl/index.js +0 -1
  308. package/lib/rating/utils.d.ts +6 -6
  309. package/lib/rating/utils.js +6 -6
  310. package/lib/search-field/index.d.ts +2 -2
  311. package/lib/search-field/index.js +4 -4
  312. package/lib/search-field/themes/halo/dark/index.js +0 -1
  313. package/lib/search-field/themes/halo/light/index.js +0 -1
  314. package/lib/search-field/themes/solar/charcoal/index.js +0 -1
  315. package/lib/search-field/themes/solar/pearl/index.js +0 -1
  316. package/lib/select/index.d.ts +34 -34
  317. package/lib/select/index.js +69 -82
  318. package/lib/select/themes/halo/dark/index.js +0 -1
  319. package/lib/select/themes/halo/light/index.js +0 -1
  320. package/lib/select/themes/solar/charcoal/index.js +0 -1
  321. package/lib/select/themes/solar/pearl/index.js +0 -1
  322. package/lib/sidebar-layout/index.d.ts +2 -2
  323. package/lib/sidebar-layout/index.js +7 -9
  324. package/lib/sidebar-layout/themes/halo/dark/index.js +0 -1
  325. package/lib/sidebar-layout/themes/halo/light/index.js +0 -1
  326. package/lib/sidebar-layout/themes/solar/charcoal/index.js +0 -1
  327. package/lib/sidebar-layout/themes/solar/pearl/index.js +0 -1
  328. package/lib/slider/index.d.ts +2 -2
  329. package/lib/slider/index.js +57 -45
  330. package/lib/slider/themes/halo/dark/index.js +0 -1
  331. package/lib/slider/themes/halo/light/index.js +0 -1
  332. package/lib/slider/themes/solar/charcoal/index.js +0 -1
  333. package/lib/slider/themes/solar/pearl/index.js +0 -1
  334. package/lib/slider/utils.d.ts +10 -10
  335. package/lib/slider/utils.js +10 -10
  336. package/lib/sparkline/index.d.ts +1 -1
  337. package/lib/sparkline/index.js +7 -8
  338. package/lib/sparkline/themes/halo/dark/index.js +0 -1
  339. package/lib/sparkline/themes/halo/light/index.js +0 -1
  340. package/lib/sparkline/themes/solar/charcoal/index.js +0 -1
  341. package/lib/sparkline/themes/solar/pearl/index.js +0 -1
  342. package/lib/swing-gauge/helpers.js +2 -2
  343. package/lib/swing-gauge/index.d.ts +19 -19
  344. package/lib/swing-gauge/index.js +91 -81
  345. package/lib/swing-gauge/themes/halo/dark/index.js +0 -1
  346. package/lib/swing-gauge/themes/halo/light/index.js +0 -1
  347. package/lib/swing-gauge/themes/solar/charcoal/index.js +0 -1
  348. package/lib/swing-gauge/themes/solar/pearl/index.js +0 -1
  349. package/lib/tab/index.d.ts +1 -1
  350. package/lib/tab/index.js +16 -27
  351. package/lib/tab/themes/halo/dark/index.js +1 -2
  352. package/lib/tab/themes/halo/light/index.js +1 -2
  353. package/lib/tab/themes/solar/charcoal/index.js +1 -2
  354. package/lib/tab/themes/solar/pearl/index.js +1 -2
  355. package/lib/tab-bar/helpers/animate.js +1 -1
  356. package/lib/tab-bar/index.d.ts +1 -1
  357. package/lib/tab-bar/index.js +34 -18
  358. package/lib/tab-bar/themes/halo/dark/index.js +1 -2
  359. package/lib/tab-bar/themes/halo/light/index.js +1 -2
  360. package/lib/tab-bar/themes/solar/charcoal/index.js +0 -1
  361. package/lib/tab-bar/themes/solar/pearl/index.js +0 -1
  362. package/lib/text-field/index.d.ts +1 -1
  363. package/lib/text-field/index.js +34 -31
  364. package/lib/text-field/themes/halo/dark/index.js +0 -1
  365. package/lib/text-field/themes/halo/light/index.js +0 -1
  366. package/lib/text-field/themes/solar/charcoal/index.js +0 -1
  367. package/lib/text-field/themes/solar/pearl/index.js +0 -1
  368. package/lib/time-picker/index.d.ts +6 -6
  369. package/lib/time-picker/index.js +103 -89
  370. package/lib/time-picker/themes/halo/dark/index.js +0 -1
  371. package/lib/time-picker/themes/halo/light/index.js +0 -1
  372. package/lib/time-picker/themes/solar/charcoal/index.js +0 -1
  373. package/lib/time-picker/themes/solar/pearl/index.js +0 -1
  374. package/lib/toggle/index.d.ts +1 -1
  375. package/lib/toggle/index.js +4 -3
  376. package/lib/toggle/themes/halo/dark/index.js +0 -1
  377. package/lib/toggle/themes/halo/light/index.js +0 -1
  378. package/lib/toggle/themes/solar/charcoal/index.js +0 -1
  379. package/lib/toggle/themes/solar/pearl/index.js +0 -1
  380. package/lib/tooltip/elements/title-tooltip.js +2 -2
  381. package/lib/tooltip/index.d.ts +27 -27
  382. package/lib/tooltip/index.js +42 -38
  383. package/lib/tooltip/managers/tooltip-manager.d.ts +1 -1
  384. package/lib/tooltip/themes/halo/dark/index.js +0 -1
  385. package/lib/tooltip/themes/halo/light/index.js +0 -1
  386. package/lib/tooltip/themes/solar/charcoal/index.js +0 -1
  387. package/lib/tooltip/themes/solar/pearl/index.js +0 -1
  388. package/lib/tornado-chart/elements/tornado-chart.d.ts +1 -1
  389. package/lib/tornado-chart/elements/tornado-chart.js +2 -2
  390. package/lib/tornado-chart/elements/tornado-item.d.ts +2 -2
  391. package/lib/tornado-chart/elements/tornado-item.js +12 -10
  392. package/lib/tornado-chart/themes/halo/dark/index.js +0 -2
  393. package/lib/tornado-chart/themes/halo/light/index.js +0 -2
  394. package/lib/tornado-chart/themes/solar/charcoal/index.js +0 -2
  395. package/lib/tornado-chart/themes/solar/pearl/index.js +0 -2
  396. package/lib/tree/elements/tree-item.d.ts +3 -3
  397. package/lib/tree/elements/tree-item.js +21 -19
  398. package/lib/tree/elements/tree.d.ts +1 -1
  399. package/lib/tree/elements/tree.js +12 -11
  400. package/lib/tree/helpers/renderer.js +4 -3
  401. package/lib/tree/index.d.ts +1 -1
  402. package/lib/tree/managers/tree-manager.d.ts +1 -1
  403. package/lib/tree/managers/tree-manager.js +17 -18
  404. package/lib/tree/themes/halo/dark/index.js +0 -2
  405. package/lib/tree/themes/halo/light/index.js +0 -2
  406. package/lib/tree/themes/solar/charcoal/index.js +1 -3
  407. package/lib/tree/themes/solar/pearl/index.js +1 -3
  408. package/lib/tree-select/index.d.ts +9 -9
  409. package/lib/tree-select/index.js +91 -82
  410. package/lib/tree-select/themes/halo/dark/index.js +1 -2
  411. package/lib/tree-select/themes/halo/light/index.js +1 -2
  412. package/lib/tree-select/themes/solar/charcoal/index.js +1 -2
  413. package/lib/tree-select/themes/solar/pearl/index.js +1 -2
  414. package/lib/version.js +1 -1
  415. package/package.json +17 -16
  416. package/tsconfig.tsbuildinfo +1 -0
@@ -1,3 +1,2 @@
1
1
  import '@refinitiv-ui/elements/overlay/themes/solar/charcoal';
2
-
3
2
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tooltip', styles: ':host [part=tooltip]{--panel-background-color:#3C3C42;pointer-events:none;border:1px solid #000;padding:5px 8px;background-color:#3c3c42;border-radius:0;overflow:hidden;max-width:250px;overflow-wrap:break-word;word-wrap:break-word;margin:7px}:host(:not([position])) [part=tooltip],:host([position=auto]) [part=tooltip]{margin-top:20px;margin-left:0}' }}));
@@ -1,3 +1,2 @@
1
1
  import '@refinitiv-ui/elements/overlay/themes/solar/pearl';
2
-
3
2
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tooltip', styles: ':host [part=tooltip]{--panel-background-color:#FFFFFF;pointer-events:none;border:1px solid #a9afba;padding:5px 8px;background-color:#fff;border-radius:0;overflow:hidden;max-width:250px;overflow-wrap:break-word;word-wrap:break-word;margin:7px}:host(:not([position])) [part=tooltip],:host([position=auto]) [part=tooltip]{margin-top:20px;margin-left:0}' }}));
@@ -1,5 +1,5 @@
1
1
  import { JSXInterface } from '../../jsx';
2
- import { ResponsiveElement, TemplateResult, CSSResultGroup, ElementSize } from '@refinitiv-ui/core';
2
+ import { CSSResultGroup, ElementSize, ResponsiveElement, TemplateResult } from '@refinitiv-ui/core';
3
3
  import './tornado-item.js';
4
4
  /**
5
5
  * A data visualization that helps to
@@ -1,8 +1,8 @@
1
1
  import { __decorate } from "tslib";
2
- import { ResponsiveElement, html, css } from '@refinitiv-ui/core';
2
+ import { ResponsiveElement, css, html } from '@refinitiv-ui/core';
3
3
  import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { AnimationTaskRunner } from '@refinitiv-ui/utils/async.js';
5
4
  import { property } from '@refinitiv-ui/core/decorators/property.js';
5
+ import { AnimationTaskRunner } from '@refinitiv-ui/utils/async.js';
6
6
  import { VERSION } from '../../version.js';
7
7
  import './tornado-item.js';
8
8
  /**
@@ -1,7 +1,7 @@
1
1
  import { JSXInterface } from '../../jsx';
2
- import { BasicElement, TemplateResult, CSSResultGroup } from '@refinitiv-ui/core';
3
- import '../../progress-bar/index.js';
2
+ import { BasicElement, CSSResultGroup, TemplateResult } from '@refinitiv-ui/core';
4
3
  import '../../layout/index.js';
4
+ import '../../progress-bar/index.js';
5
5
  /**
6
6
  * A part of <ef-tornado-chart />,
7
7
  * consists mainly of primary, secondary ef-progress-bar and labels.
@@ -1,10 +1,10 @@
1
1
  import { __decorate } from "tslib";
2
- import { BasicElement, html, css, nothing } from '@refinitiv-ui/core';
2
+ import { BasicElement, css, html, nothing } from '@refinitiv-ui/core';
3
3
  import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
4
  import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { VERSION } from '../../version.js';
6
- import '../../progress-bar/index.js';
7
5
  import '../../layout/index.js';
6
+ import '../../progress-bar/index.js';
7
+ import { VERSION } from '../../version.js';
8
8
  /**
9
9
  * A part of <ef-tornado-chart />,
10
10
  * consists mainly of primary, secondary ef-progress-bar and labels.
@@ -132,18 +132,18 @@ let TornadoItem = class TornadoItem extends BasicElement {
132
132
  :host {
133
133
  display: block;
134
134
  }
135
- :host([vertical]) [part=seperator] {
135
+ :host([vertical]) [part='seperator'] {
136
136
  display: none;
137
137
  }
138
- :host([vertical]) [part=container] {
138
+ :host([vertical]) [part='container'] {
139
139
  align-items: inherit;
140
140
  }
141
- [part=container] {
141
+ [part='container'] {
142
142
  padding: 0;
143
143
  align-items: center;
144
144
  }
145
- [part=primary-bar],
146
- [part=secondary-bar] {
145
+ [part='primary-bar'],
146
+ [part='secondary-bar'] {
147
147
  width: 100%;
148
148
  }
149
149
  `;
@@ -166,7 +166,8 @@ let TornadoItem = class TornadoItem extends BasicElement {
166
166
  part="primary-bar"
167
167
  alignment=${this.primaryBarAlignment}
168
168
  label="${this.primaryLabel || nothing}"
169
- value="${this.primaryValue || nothing}">
169
+ value="${this.primaryValue || nothing}"
170
+ >
170
171
  </ef-progress-bar>
171
172
  </ef-layout>
172
173
  <div part="seperator"></div>
@@ -175,7 +176,8 @@ let TornadoItem = class TornadoItem extends BasicElement {
175
176
  part="secondary-bar"
176
177
  alignment="${this.secondaryBarAlignment}"
177
178
  label="${this.secondaryLabel || nothing}"
178
- value="${this.secondaryValue || nothing}">
179
+ value="${this.secondaryValue || nothing}"
180
+ >
179
181
  </ef-progress-bar>
180
182
  </ef-layout>
181
183
  </ef-layout>
@@ -1,6 +1,4 @@
1
1
  import '@refinitiv-ui/elements/layout/themes/halo/dark';
2
2
  import '@refinitiv-ui/elements/progress-bar/themes/halo/dark';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tornado-chart', styles: ':host{--primary-color:#6678FF;--secondary-color:#6678FF;--responsive-width:450;font-size:12px;--primary-color:#6678FF;--secondary-color:#FFFFFF}:host [part=legend]{display:flex;justify-content:flex-end;margin-bottom:25px}:host [part=legend-item]{display:inline-flex;overflow:hidden;align-items:center;margin-right:10px}:host [part=legend][vertical]{justify-content:flex-start;flex-wrap:wrap}:host [part=primary-symbol],:host [part=secondary-symbol]{flex:none;width:15px;height:15px;border-radius:1px;margin-right:5px}:host [part=primary-symbol]{background-color:var(--primary-color)}:host [part=secondary-symbol]{background-color:var(--secondary-color)}:host [part=primary-label],:host [part=secondary-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}' }}));
5
-
6
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tornado-item', styles: ':host{margin:0;padding:0 5px;--primary-color:var(\'--primary-color\', #6678FF);--secondary-color:var(\'--secondary-color\', #6678FF)}:host(:hover),:host([highlighted]){background-color:rgba(204,204,204,.05)}:host [part=label]{text-align:left;margin:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host [part=primary-bar],:host [part=secondary-bar]{width:100%;height:20px}:host [part=primary-bar]{color:var(--primary-color);margin-left:50px}:host [part=secondary-bar]{color:var(--secondary-color);margin-right:50px}:host [part=seperator]{height:30px;border-left:2px solid #404040}:host([vertical]){border-left:2px solid #404040;padding-bottom:5px}:host([vertical]) [part=label]{margin:3px}:host([vertical]) [part=seperator]{display:none}:host([vertical]) [part=container]{align-items:inherit}:host([vertical]) [part=primary-bar]{margin:0 50px 0 0}:host([vertical]) [part=secondary-bar]{margin:3px 50px 0 0}:host([highlighted]) [part=label],:host([highlighted]) [part=primary-bar],:host([highlighted]) [part=secondary-bar]{font-weight:600}' }}));
@@ -1,6 +1,4 @@
1
1
  import '@refinitiv-ui/elements/layout/themes/halo/light';
2
2
  import '@refinitiv-ui/elements/progress-bar/themes/halo/light';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tornado-chart', styles: ':host{--primary-color:#334BFF;--secondary-color:#6678FF;--responsive-width:450;font-size:12px;--primary-color:#334BFF;--secondary-color:#000000}:host [part=legend]{display:flex;justify-content:flex-end;margin-bottom:25px}:host [part=legend-item]{display:inline-flex;overflow:hidden;align-items:center;margin-right:10px}:host [part=legend][vertical]{justify-content:flex-start;flex-wrap:wrap}:host [part=primary-symbol],:host [part=secondary-symbol]{flex:none;width:15px;height:15px;border-radius:1px;margin-right:5px}:host [part=primary-symbol]{background-color:var(--primary-color)}:host [part=secondary-symbol]{background-color:var(--secondary-color)}:host [part=primary-label],:host [part=secondary-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}' }}));
5
-
6
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tornado-item', styles: ':host{margin:0;padding:0 5px;--primary-color:var(\'--primary-color\', #334BFF);--secondary-color:var(\'--secondary-color\', #6678FF)}:host(:hover),:host([highlighted]){background-color:rgba(13,13,13,.05)}:host [part=label]{text-align:left;margin:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host [part=primary-bar],:host [part=secondary-bar]{width:100%;height:20px}:host [part=primary-bar]{color:var(--primary-color);margin-left:50px}:host [part=secondary-bar]{color:var(--secondary-color);margin-right:50px}:host [part=seperator]{height:30px;border-left:2px solid #d9d9d9}:host([vertical]){border-left:2px solid #d9d9d9;padding-bottom:5px}:host([vertical]) [part=label]{margin:3px}:host([vertical]) [part=seperator]{display:none}:host([vertical]) [part=container]{align-items:inherit}:host([vertical]) [part=primary-bar]{margin:0 50px 0 0}:host([vertical]) [part=secondary-bar]{margin:3px 50px 0 0}:host([highlighted]) [part=label],:host([highlighted]) [part=primary-bar],:host([highlighted]) [part=secondary-bar]{font-weight:600}' }}));
@@ -1,6 +1,4 @@
1
1
  import '@refinitiv-ui/elements/layout/themes/solar/charcoal';
2
2
  import '@refinitiv-ui/elements/progress-bar/themes/solar/charcoal';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tornado-chart', styles: ':host{--primary-color:#FF9933;--secondary-color:#b35900;--responsive-width:450;font-size:14px;--secondary-color:#BEC3CC}:host [part=legend]{display:flex;justify-content:flex-end;margin-bottom:25px}:host [part=legend-item]{display:inline-flex;overflow:hidden;align-items:center;margin-right:10px}:host [part=legend][vertical]{justify-content:flex-start;flex-wrap:wrap}:host [part=primary-symbol],:host [part=secondary-symbol]{flex:none;width:15px;height:15px;border-radius:1px;margin-right:5px}:host [part=primary-symbol]{background-color:var(--primary-color)}:host [part=secondary-symbol]{background-color:var(--secondary-color)}:host [part=primary-label],:host [part=secondary-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}' }}));
5
-
6
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tornado-item', styles: ':host{margin:0;padding:0 5px;--primary-color:var(\'--primary-color\', #FF9933);--secondary-color:var(\'--secondary-color\', #b35900);--secondary-color:var(\'--secondary-color\', #BEC3CC)}:host(:hover),:host([highlighted]){background-color:rgba(194,194,194,.05)}:host [part=label]{text-align:left;margin:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host [part=primary-bar],:host [part=secondary-bar]{width:100%;height:20px}:host [part=primary-bar]{color:var(--primary-color);margin-left:50px}:host [part=secondary-bar]{color:var(--secondary-color);margin-right:50px}:host [part=seperator]{height:30px;border-left:2px solid #0a0a0a}:host([highlighted]) [part=label],:host([highlighted]) [part=primary-bar],:host([highlighted]) [part=secondary-bar]{font-weight:700}:host([vertical]){border-left:2px solid #0a0a0a;padding-bottom:5px}:host([vertical]) [part=label]{margin:3px}:host([vertical]) [part=seperator]{display:none}:host([vertical]) [part=container]{align-items:inherit}:host([vertical]) [part=primary-bar]{margin:0 50px 0 0}:host([vertical]) [part=secondary-bar]{margin:3px 50px 0 0}' }}));
@@ -1,6 +1,4 @@
1
1
  import '@refinitiv-ui/elements/layout/themes/solar/pearl';
2
2
  import '@refinitiv-ui/elements/progress-bar/themes/solar/pearl';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tornado-chart', styles: ':host{--primary-color:#EE7600;--secondary-color:#EE7600;--responsive-width:450;font-size:14px;--secondary-color:#BEC3CC}:host [part=legend]{display:flex;justify-content:flex-end;margin-bottom:25px}:host [part=legend-item]{display:inline-flex;overflow:hidden;align-items:center;margin-right:10px}:host [part=legend][vertical]{justify-content:flex-start;flex-wrap:wrap}:host [part=primary-symbol],:host [part=secondary-symbol]{flex:none;width:15px;height:15px;border-radius:1px;margin-right:5px}:host [part=primary-symbol]{background-color:var(--primary-color)}:host [part=secondary-symbol]{background-color:var(--secondary-color)}:host [part=primary-label],:host [part=secondary-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}' }}));
5
-
6
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tornado-item', styles: ':host{margin:0;padding:0 5px;--primary-color:var(\'--primary-color\', #EE7600);--secondary-color:var(\'--secondary-color\', #EE7600);--secondary-color:var(\'--secondary-color\', #BEC3CC)}:host(:hover),:host([highlighted]){background-color:rgba(72,72,72,.05)}:host [part=label]{text-align:left;margin:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host [part=primary-bar],:host [part=secondary-bar]{width:100%;height:20px}:host [part=primary-bar]{color:var(--primary-color);margin-left:50px}:host [part=secondary-bar]{color:var(--secondary-color);margin-right:50px}:host [part=seperator]{height:30px;border-left:2px solid #d5d8db}:host([highlighted]) [part=label],:host([highlighted]) [part=primary-bar],:host([highlighted]) [part=secondary-bar]{font-weight:700}:host([vertical]){border-left:2px solid #d5d8db;padding-bottom:5px}:host([vertical]) [part=label]{margin:3px}:host([vertical]) [part=seperator]{display:none}:host([vertical]) [part=container]{align-items:inherit}:host([vertical]) [part=primary-bar]{margin:0 50px 0 0}:host([vertical]) [part=secondary-bar]{margin:3px 50px 0 0}' }}));
@@ -1,9 +1,9 @@
1
1
  import { JSXInterface } from '../../jsx';
2
- import { TemplateResult, ControlElement, PropertyValues } from '@refinitiv-ui/core';
3
- import '../../icon/index.js';
2
+ import { ControlElement, PropertyValues, TemplateResult } from '@refinitiv-ui/core';
4
3
  import '../../checkbox/index.js';
5
- import type { TreeDataItem } from '../helpers/types';
4
+ import '../../icon/index.js';
6
5
  import { CheckedState } from '../managers/tree-manager.js';
6
+ import type { TreeDataItem } from '../helpers/types';
7
7
  /**
8
8
  * Displays a tree list item.
9
9
  * Groups display expansion arrows.
@@ -1,10 +1,10 @@
1
1
  import { __decorate } from "tslib";
2
- import { html, ControlElement } from '@refinitiv-ui/core';
2
+ import { ControlElement, html } from '@refinitiv-ui/core';
3
3
  import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
4
  import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { VERSION } from '../../version.js';
6
- import '../../icon/index.js';
7
5
  import '../../checkbox/index.js';
6
+ import '../../icon/index.js';
7
+ import { VERSION } from '../../version.js';
8
8
  import { CheckedState } from '../managers/tree-manager.js';
9
9
  const emptyTemplate = html ``;
10
10
  /**
@@ -73,9 +73,13 @@ let TreeItem = class TreeItem extends ControlElement {
73
73
  */
74
74
  get toggleTemplate() {
75
75
  return html `
76
- <div expand-toggle part="toggle" style="pointer-events:all;visibility:${this.parent ? 'visible' : 'hidden'}">
77
- <ef-icon part="toggle-icon${this.expanded ? ' toggle-icon-expanded' : ''}" icon="right"></ef-icon>
78
- </div>
76
+ <div
77
+ expand-toggle
78
+ part="toggle"
79
+ style="pointer-events:all;visibility:${this.parent ? 'visible' : 'hidden'}"
80
+ >
81
+ <ef-icon part="toggle-icon${this.expanded ? ' toggle-icon-expanded' : ''}" icon="right"></ef-icon>
82
+ </div>
79
83
  `;
80
84
  }
81
85
  /**
@@ -86,14 +90,15 @@ let TreeItem = class TreeItem extends ControlElement {
86
90
  return emptyTemplate;
87
91
  }
88
92
  return html `
89
- <ef-checkbox
90
- part="checkbox"
91
- tabindex="-1"
92
- .disabled="${this.disabled}"
93
- .readonly="${this.readonly}"
94
- .indeterminate="${this.indeterminate}"
95
- .checked="${this.checked}"
96
- style="pointer-events:none"></ef-checkbox>
93
+ <ef-checkbox
94
+ part="checkbox"
95
+ tabindex="-1"
96
+ .disabled="${this.disabled}"
97
+ .readonly="${this.readonly}"
98
+ .indeterminate="${this.indeterminate}"
99
+ .checked="${this.checked}"
100
+ style="pointer-events:none"
101
+ ></ef-checkbox>
97
102
  `;
98
103
  }
99
104
  /**
@@ -193,14 +198,11 @@ let TreeItem = class TreeItem extends ControlElement {
193
198
  */
194
199
  render() {
195
200
  return html `
196
- ${this.indentTemplate}
197
- ${this.toggleTemplate}
198
- ${this.checkboxTemplate}
199
- ${this.iconTemplate}
201
+ ${this.indentTemplate} ${this.toggleTemplate} ${this.checkboxTemplate} ${this.iconTemplate}
200
202
  <div part="label">
201
203
  <slot>${this.label}</slot>
202
204
  </div>
203
- `;
205
+ `;
204
206
  }
205
207
  };
206
208
  __decorate([
@@ -3,9 +3,9 @@ import { PropertyValues, TapEvent } from '@refinitiv-ui/core';
3
3
  import { CollectionComposer } from '@refinitiv-ui/utils/collection.js';
4
4
  import { List } from '../../list/index.js';
5
5
  import { TreeRenderer } from '../helpers/renderer.js';
6
- import type { TreeData, TreeDataItem, TreeFilter } from '../helpers/types';
7
6
  import { TreeManagerMode } from '../managers/tree-manager.js';
8
7
  import './tree-item.js';
8
+ import type { TreeData, TreeDataItem, TreeFilter } from '../helpers/types';
9
9
  /**
10
10
  * Displays a tree structure
11
11
  * to be used for menus and group selections
@@ -1,10 +1,10 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
3
3
  import { property } from '@refinitiv-ui/core/decorators/property.js';
4
- import { VERSION } from '../../version.js';
5
4
  import { List, valueFormatWarning } from '../../list/index.js';
6
- import { TreeRenderer } from '../helpers/renderer.js';
5
+ import { VERSION } from '../../version.js';
7
6
  import { defaultFilter } from '../helpers/filter.js';
7
+ import { TreeRenderer } from '../helpers/renderer.js';
8
8
  import { TreeManager, TreeManagerMode } from '../managers/tree-manager.js';
9
9
  import './tree-item.js';
10
10
  const EXPAND_TOGGLE_ATTR = 'expand-toggle';
@@ -109,7 +109,7 @@ let Tree = class Tree extends List {
109
109
  }
110
110
  // Single selection - check item
111
111
  if (this.manager.checkItem(item)) {
112
- this.manager.checkedItems.forEach(checkedItem => {
112
+ this.manager.checkedItems.forEach((checkedItem) => {
113
113
  checkedItem !== item && this.forceUncheckItem(checkedItem);
114
114
  });
115
115
  return true;
@@ -133,9 +133,9 @@ let Tree = class Tree extends List {
133
133
  */
134
134
  dispatchExpandedChangedEvent(item) {
135
135
  /**
136
- * Property `detail.value` is the current expanded state.
137
- * Property `detail.item` is the original data item of which the property has been modified.
138
- */
136
+ * Property `detail.value` is the current expanded state.
137
+ * Property `detail.item` is the original data item of which the property has been modified.
138
+ */
139
139
  const event = new CustomEvent('expanded-changed', {
140
140
  bubbles: false,
141
141
  cancelable: false,
@@ -154,7 +154,9 @@ let Tree = class Tree extends List {
154
154
  * @returns True or False depending if the event was handled
155
155
  */
156
156
  handleExpandCollapse(event) {
157
- const containsToggle = event.composedPath().some((target) => target instanceof HTMLElement && target.hasAttribute(EXPAND_TOGGLE_ATTR));
157
+ const containsToggle = event
158
+ .composedPath()
159
+ .some((target) => target instanceof HTMLElement && target.hasAttribute(EXPAND_TOGGLE_ATTR));
158
160
  const itemElement = containsToggle && this.findItemElementFromTarget(event.target);
159
161
  const item = itemElement && this.itemFromElement(itemElement);
160
162
  if (item) {
@@ -321,7 +323,7 @@ let Tree = class Tree extends List {
321
323
  * @returns {void}
322
324
  */
323
325
  addNestedItemsToRender(items, excludeItems, includeHidden = false) {
324
- items.forEach(item => {
326
+ items.forEach((item) => {
325
327
  // Skip hidden and exclude item
326
328
  if (!item.hidden && !excludeItems.includes(item)) {
327
329
  // Add item and nested children
@@ -371,7 +373,7 @@ let Tree = class Tree extends List {
371
373
  * @default []
372
374
  */
373
375
  get values() {
374
- return this.manager.checkedItems.map(item => {
376
+ return this.manager.checkedItems.map((item) => {
375
377
  return this.composer.getItemPropertyValue(item, 'value') || '';
376
378
  });
377
379
  }
@@ -418,8 +420,7 @@ let Tree = class Tree extends List {
418
420
  * Mode to use in the tree manager
419
421
  */
420
422
  get mode() {
421
- return !this.multiple || !this.noRelation
422
- ? TreeManagerMode.RELATIONAL : TreeManagerMode.INDEPENDENT;
423
+ return !this.multiple || !this.noRelation ? TreeManagerMode.RELATIONAL : TreeManagerMode.INDEPENDENT;
423
424
  }
424
425
  };
425
426
  __decorate([
@@ -1,7 +1,7 @@
1
1
  import { uuid } from '@refinitiv-ui/utils/uuid.js';
2
- import { TreeManager, TreeManagerMode, CheckedState } from '../managers/tree-manager.js';
3
- import { Renderer } from '../../list/renderer.js';
4
2
  import { getItemId } from '../../list/helpers/item-id.js';
3
+ import { Renderer } from '../../list/renderer.js';
4
+ import { CheckedState, TreeManager, TreeManagerMode } from '../managers/tree-manager.js';
5
5
  export class TreeRenderer extends Renderer {
6
6
  constructor(scope) {
7
7
  /**
@@ -26,7 +26,8 @@ export class TreeRenderer extends Renderer {
26
26
  element.depth = composer.getItemDepth(item);
27
27
  element.parent = composer.getItemChildren(item).length > 0;
28
28
  element.expanded = manager.isItemExpanded(item);
29
- element.checkedState = !multiple && element.parent ? CheckedState.UNCHECKED : manager.getItemCheckedState(item);
29
+ element.checkedState =
30
+ !multiple && element.parent ? CheckedState.UNCHECKED : manager.getItemCheckedState(item);
30
31
  element.icon = composer.getItemPropertyValue(item, 'icon');
31
32
  element.label = composer.getItemPropertyValue(item, 'label');
32
33
  element.disabled = composer.getItemPropertyValue(item, 'disabled') === true;
@@ -1,6 +1,6 @@
1
+ import type { TreeData, TreeDataItem } from './helpers/types';
1
2
  export * from './elements/tree.js';
2
3
  export * from './elements/tree-item.js';
3
4
  export { TreeRenderer } from './helpers/renderer.js';
4
5
  export { TreeManager, TreeManagerMode, CheckedState } from './managers/tree-manager.js';
5
- import type { TreeData, TreeDataItem } from './helpers/types';
6
6
  export type { TreeData, TreeDataItem };
@@ -1,5 +1,5 @@
1
- import type { CollectionComposer } from '@refinitiv-ui/utils/collection.js';
2
1
  import type { TreeDataItem } from '../helpers/types';
2
+ import type { CollectionComposer } from '@refinitiv-ui/utils/collection.js';
3
3
  export declare enum CheckedState {
4
4
  CHECKED = 1,
5
5
  UNCHECKED = 0,
@@ -40,7 +40,7 @@ export class TreeManager {
40
40
  * Return all items which have children
41
41
  */
42
42
  get parentItems() {
43
- return this.items.filter(item => this.isItemParent(item));
43
+ return this.items.filter((item) => this.isItemParent(item));
44
44
  }
45
45
  /**
46
46
  * Returns all checked items.
@@ -116,7 +116,7 @@ export class TreeManager {
116
116
  */
117
117
  isItemChecked(item) {
118
118
  if (this.manageRelationships && this.isItemParent(item)) {
119
- return !this.getItemChildren(item).some(child => !this.isItemChecked(child));
119
+ return !this.getItemChildren(item).some((child) => !this.isItemChecked(child));
120
120
  }
121
121
  return this.composer.getItemPropertyValue(item, 'selected') === true;
122
122
  }
@@ -127,7 +127,7 @@ export class TreeManager {
127
127
  */
128
128
  isItemCheckedIndeterminate(item) {
129
129
  if (this.manageRelationships && this.isItemParent(item)) {
130
- return this.getItemDescendants(item).some(desc => this.isItemChecked(desc));
130
+ return this.getItemDescendants(item).some((desc) => this.isItemChecked(desc));
131
131
  }
132
132
  return false;
133
133
  }
@@ -138,7 +138,7 @@ export class TreeManager {
138
138
  */
139
139
  canCheckItem(item) {
140
140
  if (this.manageRelationships && this.isItemParent(item)) {
141
- return this.getItemChildren(item).some(child => this.canCheckItem(child));
141
+ return this.getItemChildren(item).some((child) => this.canCheckItem(child));
142
142
  }
143
143
  return this.isItemCheckable(item) && this.composer.getItemPropertyValue(item, 'selected') !== true;
144
144
  }
@@ -149,7 +149,7 @@ export class TreeManager {
149
149
  */
150
150
  canUncheckItem(item) {
151
151
  if (this.manageRelationships && this.isItemParent(item)) {
152
- return this.getItemChildren(item).some(child => this.canUncheckItem(child));
152
+ return this.getItemChildren(item).some((child) => this.canUncheckItem(child));
153
153
  }
154
154
  return this.isItemCheckable(item) && this.composer.getItemPropertyValue(item, 'selected') === true;
155
155
  }
@@ -177,7 +177,7 @@ export class TreeManager {
177
177
  */
178
178
  forceUpdateOnPath(item) {
179
179
  const path = [...this.getItemAncestors(item), item];
180
- path.forEach(item => this.composer.updateItemTimestamp(item));
180
+ path.forEach((item) => this.composer.updateItemTimestamp(item));
181
181
  }
182
182
  /**
183
183
  * Sets the mode (algorithm) the manager should use
@@ -187,7 +187,7 @@ export class TreeManager {
187
187
  setMode(mode) {
188
188
  this.mode = mode;
189
189
  // Force update of all visible parent items, making sure any indeterminate states are remove.
190
- this.parentItems.forEach(item => this.updateItem(item));
190
+ this.parentItems.forEach((item) => this.updateItem(item));
191
191
  }
192
192
  /**
193
193
  * Updates the data item, forcing a render
@@ -222,9 +222,9 @@ export class TreeManager {
222
222
  * @returns `True` if the item is not disabled or readonly
223
223
  */
224
224
  isItemCheckable(item) {
225
- return !this.composer.isItemLocked(item)
226
- && this.composer.getItemPropertyValue(item, 'disabled') !== true
227
- && this.composer.getItemPropertyValue(item, 'readonly') !== true;
225
+ return (!this.composer.isItemLocked(item) &&
226
+ this.composer.getItemPropertyValue(item, 'disabled') !== true &&
227
+ this.composer.getItemPropertyValue(item, 'readonly') !== true);
228
228
  }
229
229
  /**
230
230
  * Is the item expanded?
@@ -232,8 +232,7 @@ export class TreeManager {
232
232
  * @returns `True` if the item is expanded and its children should be visible
233
233
  */
234
234
  isItemExpanded(item) {
235
- return this.isItemParent(item)
236
- && this.composer.getItemPropertyValue(item, 'expanded') === true;
235
+ return this.isItemParent(item) && this.composer.getItemPropertyValue(item, 'expanded') === true;
237
236
  }
238
237
  /**
239
238
  * Is the item a parent?
@@ -323,14 +322,14 @@ export class TreeManager {
323
322
  * @returns {void}
324
323
  */
325
324
  expandAllItems() {
326
- this.parentItems.forEach(item => this.expandItem(item));
325
+ this.parentItems.forEach((item) => this.expandItem(item));
327
326
  }
328
327
  /**
329
328
  * Collapses all items in the tree
330
329
  * @returns {void}
331
330
  */
332
331
  collapseAllItems() {
333
- this.parentItems.forEach(item => this.collapseItem(item));
332
+ this.parentItems.forEach((item) => this.collapseItem(item));
334
333
  }
335
334
  /**
336
335
  * Checks the item
@@ -345,7 +344,7 @@ export class TreeManager {
345
344
  this.composer.setItemPropertyValue(item, 'selected', true);
346
345
  if (manageRelationships) {
347
346
  this.forceUpdateOnPath(item);
348
- this.getItemDescendants(item).forEach(descendant => this._checkItem(descendant, false));
347
+ this.getItemDescendants(item).forEach((descendant) => this._checkItem(descendant, false));
349
348
  }
350
349
  return true;
351
350
  }
@@ -364,7 +363,7 @@ export class TreeManager {
364
363
  this.composer.setItemPropertyValue(item, 'selected', false);
365
364
  if (manageRelationships) {
366
365
  this.forceUpdateOnPath(item);
367
- this.getItemDescendants(item).forEach(descendant => this._uncheckItem(descendant, false));
366
+ this.getItemDescendants(item).forEach((descendant) => this._uncheckItem(descendant, false));
368
367
  }
369
368
  this.updateItem(item);
370
369
  return true;
@@ -384,7 +383,7 @@ export class TreeManager {
384
383
  * @returns {void}
385
384
  */
386
385
  checkAllItems() {
387
- this.editableItems.forEach(item => this.checkItem(item));
386
+ this.editableItems.forEach((item) => this.checkItem(item));
388
387
  }
389
388
  /**
390
389
  * Unchecks all items
@@ -393,6 +392,6 @@ export class TreeManager {
393
392
  uncheckAllItems() {
394
393
  // uncheck items from top levels when manage relationships to avoid redundant re-renders
395
394
  const items = this.manageRelationships ? this.composer.queryItems(() => true, 0) : this.checkedItems;
396
- items.forEach(item => this.uncheckItem(item));
395
+ items.forEach((item) => this.uncheckItem(item));
397
396
  }
398
397
  }
@@ -1,6 +1,4 @@
1
1
  import '@refinitiv-ui/elements/checkbox/themes/halo/dark';
2
2
  import '@refinitiv-ui/elements/icon/themes/halo/dark';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree-item', styles: ':host([selected]){color:#fff;font-weight:600}:host([readonly]){cursor:default}:host([focused]),:host([highlighted]){background-color:#1429bd;color:#fff}:host([focused]:not([selected])),:host([highlighted]:not([selected])){color:#fff}:host [part=center],:host [part=sub-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host([disabled]){color:rgba(204,204,204,.5)}:host([type=divider]),:host([type=header]){pointer-events:none;min-height:auto}:host([type=divider]) [part=sub-label],:host([type=header]) [part=sub-label]{display:none}:host([type=header]){color:#999;background-color:transparent;font-size:83%;font-weight:600;border:none;height:24px;align-items:flex-end;margin:0;min-height:0;text-transform:uppercase}:host([type=divider]){border:none;padding:0;margin:0;height:5px;background:linear-gradient(#404040,#404040) 0 center/calc(100% - (0px * 2)) 1px no-repeat}:host [part=checkbox],:host [part=icon],:host [part=left] ::slotted(*){margin:0 .5em 0 0}:host [part=right] ::slotted(*){margin-left:.5em}:host{line-height:normal;outline:0;cursor:pointer;padding:0 8px;min-height:24px;box-sizing:border-box;touch-action:manipulation;min-width:300px;display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-top:-1px;border-top:1px solid #404040;border-bottom:1px solid #404040;background-color:#1a1a1a;min-height:28px}:host [part=indent]{height:0;width:0;flex:none}:host [part=toggle]{width:24px;height:24px;margin-top:-4px;margin-bottom:-4px;margin-left:-4px;max-height:100%;display:flex;align-items:center;justify-content:center;flex:none}:host [part~=toggle-icon]{transition:transform .1s}:host [part~=toggle-icon-expanded]{transform:rotate(90deg)}:host [part=checkbox]{margin:0 8px 0 0;flex:none}:host [part=label-icon]{flex-shrink:0;margin:0 4px 0 0}:host [part=label]{width:100%;word-break:break-word;padding:4px 6px 4px 0;line-height:1.2}:host([type=header]){align-items:center}:host [part=sub-label]{font-size:90%}:host([sub-label]){padding:4px 8px}:host([selected]:not([highlighted]):not([focused])){background-color:#333}:host([selected]:not([highlighted]):not([focused]):not([multiple])){background-image:linear-gradient(#334bff,#334bff);background-size:4px 100%;background-position:left top;background-repeat:no-repeat}:host([selected][focused]),:host([selected][highlighted]){color:#fff}:host([group]:not([focused]):not([highlighted])){background-color:#262626}:host([group][focused]:not([multiple])),:host([group][highlighted]:not([multiple])){color:#fff;background-color:#333}:host [part=indent]{font-size:20px}' }}));
5
-
6
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree', styles: ':host{overflow-x:auto;--item-indent:8px;--item-height:24px;color:#ccc;background-color:transparent;touch-action:manipulation;scrollbar-color:#595959 #1a1a1a;scrollbar-width:thin}:host(:focus){outline:0}:host([focused=visible]){outline:#334bff solid 1px}:host([readonly]) [part=list-item]{cursor:default}::-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}' }}));
@@ -1,6 +1,4 @@
1
1
  import '@refinitiv-ui/elements/checkbox/themes/halo/light';
2
2
  import '@refinitiv-ui/elements/icon/themes/halo/light';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree-item', styles: ':host([selected]){color:#0d0d0d;font-weight:600}:host([readonly]){cursor:default}:host([focused]),:host([highlighted]){background-color:#1429bd;color:#fff}:host([focused]:not([selected])),:host([highlighted]:not([selected])){color:#fff}:host [part=center],:host [part=sub-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host([disabled]){color:rgba(64,64,64,.5)}:host([type=divider]),:host([type=header]){pointer-events:none;min-height:auto}:host([type=divider]) [part=sub-label],:host([type=header]) [part=sub-label]{display:none}:host([type=header]){color:#737373;background-color:transparent;font-size:83%;font-weight:600;border:none;height:24px;align-items:flex-end;margin:0;min-height:0;text-transform:uppercase}:host([type=divider]){border:none;padding:0;margin:0;height:5px;background:linear-gradient(#d9d9d9,#d9d9d9) 0 center/calc(100% - (0px * 2)) 1px no-repeat}:host [part=checkbox],:host [part=icon],:host [part=left] ::slotted(*){margin:0 .5em 0 0}:host [part=right] ::slotted(*){margin-left:.5em}:host{line-height:normal;outline:0;cursor:pointer;padding:0 8px;min-height:24px;box-sizing:border-box;touch-action:manipulation;min-width:300px;display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-top:-1px;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;background-color:#fafafa;min-height:28px}:host [part=indent]{height:0;width:0;flex:none}:host [part=toggle]{width:24px;height:24px;margin-top:-4px;margin-bottom:-4px;margin-left:-4px;max-height:100%;display:flex;align-items:center;justify-content:center;flex:none}:host [part~=toggle-icon]{transition:transform .1s}:host [part~=toggle-icon-expanded]{transform:rotate(90deg)}:host [part=checkbox]{margin:0 8px 0 0;flex:none}:host [part=label-icon]{flex-shrink:0;margin:0 4px 0 0}:host [part=label]{width:100%;word-break:break-word;padding:4px 6px 4px 0;line-height:1.2}:host([type=header]){align-items:center}:host [part=sub-label]{font-size:90%}:host([sub-label]){padding:4px 8px}:host([selected]:not([highlighted]):not([focused])){background-color:#e6e6e6}:host([selected]:not([highlighted]):not([focused]):not([multiple])){background-image:linear-gradient(#334bff,#334bff);background-size:4px 100%;background-position:left top;background-repeat:no-repeat}:host([selected][focused]),:host([selected][highlighted]){color:#fff}:host([group]:not([focused]):not([highlighted])){background-color:#f2f2f2}:host([group][focused]:not([multiple])),:host([group][highlighted]:not([multiple])){color:#0d0d0d;background-color:#e6e6e6}:host [part=indent]{font-size:20px}' }}));
5
-
6
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree', styles: ':host{overflow-x:auto;--item-indent:8px;--item-height:24px;color:#262626;background-color:transparent;touch-action:manipulation;scrollbar-color:#999 #f2f2f2;scrollbar-width:thin}:host(:focus){outline:0}:host([focused=visible]){outline:#334bff solid 1px}:host([readonly]) [part=list-item]{cursor:default}::-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}' }}));
@@ -1,6 +1,4 @@
1
1
  import '@refinitiv-ui/elements/checkbox/themes/solar/charcoal';
2
2
  import '@refinitiv-ui/elements/icon/themes/solar/charcoal';
3
-
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree-item', styles: ':host([selected]){color:#f93}:host([readonly]){cursor:default}:host([focused]),:host([highlighted]){background-color:rgba(255,255,255,.1)}:host([focused]:not([selected])),:host([highlighted]:not([selected])){color:#fff}:host [part=center],:host [part=sub-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host([disabled]){color:rgba(194,194,194,.5)}:host([type=divider]),:host([type=header]){pointer-events:none;min-height:auto}:host([type=divider]) [part=sub-label],:host([type=header]) [part=sub-label]{display:none}:host([type=header]){color:#c2c2c2;background-color:#4a4a52;font-size:100%;font-weight:400;border:1px solid #0a0a0a;height:22px;align-items:flex-end;margin:0;min-height:0;text-transform:uppercase}:host([type=divider]){border:none;padding:0;margin:0;height:5px;background:linear-gradient(#2e2e33,#2e2e33) 0 center/calc(100% - (0px * 2)) 1px no-repeat}:host [part=checkbox],:host [part=icon],:host [part=left] ::slotted(*){margin:0 .5em 0 0}:host [part=right] ::slotted(*){margin-left:.5em}:host [part=sub-label]{font-size:80%}:host{line-height:normal;outline:0;cursor:pointer;padding:0 7px;min-height:22px;box-sizing:border-box;touch-action:manipulation;min-width:300px;display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;min-height:29px;background-color:#151516;border-bottom:1px solid #0a0a0a}:host [part=indent]{height:0;width:0;flex:none;font-size:22px}:host [part=toggle]{width:22px;height:22px;margin-top:0;margin-bottom:0;margin-left:0;max-height:100%;display:flex;align-items:center;justify-content:center;flex:none}:host [part~=toggle-icon]{transition:transform .2s}:host [part~=toggle-icon-expanded]{transform:rotate(90deg)}:host [part=checkbox]{flex:none;margin:0 8px 0 0}:host [part=label-icon]{flex-shrink:0;margin:0 4px 0 0}:host [part=label]{width:100%;word-break:break-word;padding:4px 6px 4px 0}:host([depth="0"]){background-color:#212124}:host([highlighted]){background-color:#2e2d33}:host([focused=visible]){outline:#f93 dotted 1px;outline-offset:-1px;border-color:transparent}:host(:last-of-type){border-color:transparent}' }}));
5
-
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree-item', styles: ':host([selected]){color:#f93}:host([readonly]){cursor:default}:host([focused]),:host([highlighted]){background-color:rgba(255,255,255,.1)}:host([focused]:not([selected])),:host([highlighted]:not([selected])){color:#fff}:host [part=center],:host [part=sub-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host([disabled]){color:rgba(194,194,194,.5)}:host([type=divider]),:host([type=header]){pointer-events:none;min-height:auto}:host([type=divider]) [part=sub-label],:host([type=header]) [part=sub-label]{display:none}:host([type=header]){color:#c2c2c2;background-color:#4a4a52;font-size:100%;font-weight:400;border:1px solid #0a0a0a;height:22px;align-items:flex-end;margin:0;min-height:0;text-transform:uppercase}:host([type=divider]){border:none;padding:0;margin:0;height:5px;background:linear-gradient(#2e2e33,#2e2e33) 0 center/calc(100% - (0px * 2)) 1px no-repeat}:host [part=checkbox],:host [part=icon],:host [part=left] ::slotted(*){margin:0 .5em 0 0}:host [part=right] ::slotted(*){margin-left:.5em}:host [part=sub-label]{font-size:80%}:host{line-height:normal;outline:0;cursor:pointer;padding:0 7px;min-height:22px;box-sizing:border-box;touch-action:manipulation;min-width:300px;display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;min-height:29px;background-color:#151516;border-bottom:1px solid #0a0a0a}:host [part=indent]{height:0;width:0;flex:none;font-size:22px}:host [part=toggle]{width:22px;height:22px;margin-top:0;margin-bottom:0;margin-left:0;max-height:100%;display:flex;align-items:center;justify-content:center;flex:none}:host [part~=toggle-icon]{transition:transform .2s}:host [part~=toggle-icon-expanded]{transform:rotate(90deg)}:host [part=checkbox]{flex:none;margin:0 8px 0 0}:host [part=label-icon]{flex-shrink:0;margin:0 4px 0 0}:host [part=label]{width:100%;word-break:break-word;padding:4px 6px 4px 0}:host([depth=\'0\']){background-color:#212124}:host([highlighted]){background-color:#2e2d33}:host([focused=visible]){outline:#f93 dotted 1px;outline-offset:-1px;border-color:transparent}:host(:last-of-type){border-color:transparent}' }}));
6
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree', styles: ':host{overflow-x:auto;--item-indent:7px;--item-height:22px;color:#c2c2c2;background-color:transparent;touch-action:manipulation;scrollbar-color:#666570 #2e2e33}:host(:focus){outline:0}:host([focused=visible]){outline:#f93 solid 1px}:host([readonly]) [part=list-item]{cursor:default}::-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}' }}));
@@ -1,6 +1,4 @@
1
1
  import '@refinitiv-ui/elements/checkbox/themes/solar/pearl';
2
2
  import '@refinitiv-ui/elements/icon/themes/solar/pearl';
3
-
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree-item', styles: ':host([selected]){color:#ee7600}:host([readonly]){cursor:default}:host([focused]),:host([highlighted]){background-color:rgba(0,0,0,.08)}:host([focused]:not([selected])),:host([highlighted]:not([selected])){color:#000}:host [part=center],:host [part=sub-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host([disabled]){color:rgba(72,72,72,.5)}:host([type=divider]),:host([type=header]){pointer-events:none;min-height:auto}:host([type=divider]) [part=sub-label],:host([type=header]) [part=sub-label]{display:none}:host([type=header]){color:#484848;background-color:#f2f3f7;font-size:100%;font-weight:400;border:1px solid #d5d8db;height:22px;align-items:flex-end;margin:0;min-height:0;text-transform:uppercase}:host([type=divider]){border:none;padding:0;margin:0;height:5px;background:linear-gradient(#a9afba,#a9afba) 0 center/calc(100% - (0px * 2)) 1px no-repeat}:host [part=checkbox],:host [part=icon],:host [part=left] ::slotted(*){margin:0 .5em 0 0}:host [part=right] ::slotted(*){margin-left:.5em}:host [part=sub-label]{font-size:80%}:host{line-height:normal;outline:0;cursor:pointer;padding:0 7px;min-height:22px;box-sizing:border-box;touch-action:manipulation;min-width:300px;display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;min-height:29px;background-color:#fafbfc;border-bottom:1px solid #d5d8db}:host [part=indent]{height:0;width:0;flex:none;font-size:22px}:host [part=toggle]{width:22px;height:22px;margin-top:0;margin-bottom:0;margin-left:0;max-height:100%;display:flex;align-items:center;justify-content:center;flex:none}:host [part~=toggle-icon]{transition:transform .2s}:host [part~=toggle-icon-expanded]{transform:rotate(90deg)}:host [part=checkbox]{flex:none;margin:0 8px 0 0}:host [part=label-icon]{flex-shrink:0;margin:0 4px 0 0}:host [part=label]{width:100%;word-break:break-word;padding:4px 6px 4px 0}:host([depth="0"]){background-color:#f2f3f7}:host([highlighted]){background-color:#e4e8ed}:host([focused=visible]){outline:#f93 dotted 1px;outline-offset:-1px;border-color:transparent}:host(:last-of-type){border-color:transparent}' }}));
5
-
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree-item', styles: ':host([selected]){color:#ee7600}:host([readonly]){cursor:default}:host([focused]),:host([highlighted]){background-color:rgba(0,0,0,.08)}:host([focused]:not([selected])),:host([highlighted]:not([selected])){color:#000}:host [part=center],:host [part=sub-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}:host([disabled]){color:rgba(72,72,72,.5)}:host([type=divider]),:host([type=header]){pointer-events:none;min-height:auto}:host([type=divider]) [part=sub-label],:host([type=header]) [part=sub-label]{display:none}:host([type=header]){color:#484848;background-color:#f2f3f7;font-size:100%;font-weight:400;border:1px solid #d5d8db;height:22px;align-items:flex-end;margin:0;min-height:0;text-transform:uppercase}:host([type=divider]){border:none;padding:0;margin:0;height:5px;background:linear-gradient(#a9afba,#a9afba) 0 center/calc(100% - (0px * 2)) 1px no-repeat}:host [part=checkbox],:host [part=icon],:host [part=left] ::slotted(*){margin:0 .5em 0 0}:host [part=right] ::slotted(*){margin-left:.5em}:host [part=sub-label]{font-size:80%}:host{line-height:normal;outline:0;cursor:pointer;padding:0 7px;min-height:22px;box-sizing:border-box;touch-action:manipulation;min-width:300px;display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;min-height:29px;background-color:#fafbfc;border-bottom:1px solid #d5d8db}:host [part=indent]{height:0;width:0;flex:none;font-size:22px}:host [part=toggle]{width:22px;height:22px;margin-top:0;margin-bottom:0;margin-left:0;max-height:100%;display:flex;align-items:center;justify-content:center;flex:none}:host [part~=toggle-icon]{transition:transform .2s}:host [part~=toggle-icon-expanded]{transform:rotate(90deg)}:host [part=checkbox]{flex:none;margin:0 8px 0 0}:host [part=label-icon]{flex-shrink:0;margin:0 4px 0 0}:host [part=label]{width:100%;word-break:break-word;padding:4px 6px 4px 0}:host([depth=\'0\']){background-color:#f2f3f7}:host([highlighted]){background-color:#e4e8ed}:host([focused=visible]){outline:#f93 dotted 1px;outline-offset:-1px;border-color:transparent}:host(:last-of-type){border-color:transparent}' }}));
6
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tree', styles: ':host{overflow-x:auto;--item-indent:7px;--item-height:22px;color:#484848;background-color:transparent;touch-action:manipulation;scrollbar-color:#8a8a96 #fff}:host(:focus){outline:0}:host([focused=visible]){outline:#f93 solid 1px}:host([readonly]) [part=list-item]{cursor:default}::-webkit-scrollbar{width:13px;height:13px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #fff;height:12px;width:12px;display:block}::-webkit-scrollbar-thumb{background:#8a8a96;border-radius:7px;border:2px solid #fff}::-webkit-scrollbar-thumb:hover{background:#a9afba}::-webkit-scrollbar-thumb:active{background:#ee7600}::-webkit-scrollbar-track{background:#fff}::-webkit-scrollbar-corner{background:#fff}::-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(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96);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(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba);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(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600);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(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96);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(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba);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(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600);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(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96);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(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba);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(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600);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(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96),linear-gradient(#8a8a96,#8a8a96);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(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba),linear-gradient(#a9afba,#a9afba);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(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600),linear-gradient(#ee7600,#ee7600);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}' }}));