@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,13 +1,13 @@
1
1
  import { __decorate } from "tslib";
2
- import { html, css, BasicElement } from '@refinitiv-ui/core';
2
+ import { BasicElement, css, 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
5
  import { query } from '@refinitiv-ui/core/decorators/query.js';
6
- import { VERSION } from '../version.js';
7
- import { tweenAnimate } from './helpers/animate.js';
8
- import { Tab } from '../tab/index.js';
9
6
  import '../button/index.js';
10
7
  import '../layout/index.js';
8
+ import { Tab } from '../tab/index.js';
9
+ import { VERSION } from '../version.js';
10
+ import { tweenAnimate } from './helpers/animate.js';
11
11
  const BAR_TRAVEL_DISTANCE = 150; // scroll distance
12
12
  /**
13
13
  * Container for tabs
@@ -54,13 +54,13 @@ let TabBar = class TabBar extends BasicElement {
54
54
  :host {
55
55
  display: flex;
56
56
  }
57
- :host([alignment=center]) {
57
+ :host([alignment='center']) {
58
58
  justify-content: center;
59
59
  }
60
- :host([alignment=right]) {
60
+ :host([alignment='right']) {
61
61
  justify-content: flex-end;
62
62
  }
63
- :host [part=content] {
63
+ :host [part='content'] {
64
64
  flex-grow: 0;
65
65
  }
66
66
  `;
@@ -129,7 +129,7 @@ let TabBar = class TabBar extends BasicElement {
129
129
  */
130
130
  isValidValue(value) {
131
131
  const tabList = this.getFocusableTabs();
132
- return tabList.some(tab => this.getTabValue(tab) === value);
132
+ return tabList.some((tab) => this.getTabValue(tab) === value);
133
133
  }
134
134
  /**
135
135
  * On *user-interaction* set the value and notify.
@@ -153,7 +153,7 @@ let TabBar = class TabBar extends BasicElement {
153
153
  }
154
154
  this.setLevel();
155
155
  // get tab value from active tab
156
- const activeTab = tabList.find(tab => tab.active) || tabList[0];
156
+ const activeTab = tabList.find((tab) => tab.active) || tabList[0];
157
157
  if (activeTab) {
158
158
  this.value = this.getTabValue(activeTab);
159
159
  }
@@ -170,7 +170,7 @@ let TabBar = class TabBar extends BasicElement {
170
170
  }
171
171
  let hasActiveTab = false;
172
172
  const tabList = this.getTabElements(); // get all tab elements include disabled tab
173
- tabList.forEach(tab => {
173
+ tabList.forEach((tab) => {
174
174
  const tabValue = this.getTabValue(tab);
175
175
  // only mark tab as active once
176
176
  if (tabValue === value && !hasActiveTab && !tab.disabled) {
@@ -231,7 +231,7 @@ let TabBar = class TabBar extends BasicElement {
231
231
  * @returns the array of focusable tab
232
232
  */
233
233
  getFocusableTabs() {
234
- return this.getTabElements().filter(tab => !tab.disabled);
234
+ return this.getTabElements().filter((tab) => !tab.disabled);
235
235
  }
236
236
  /**
237
237
  * Set tab level attribute accordingly
@@ -332,7 +332,7 @@ let TabBar = class TabBar extends BasicElement {
332
332
  if (tabList.length <= 0) {
333
333
  return;
334
334
  }
335
- const focusedTabIndex = tabList.findIndex(tab => tab === document.activeElement);
335
+ const focusedTabIndex = tabList.findIndex((tab) => tab === document.activeElement);
336
336
  const nextTab = direction === 'next'
337
337
  ? tabList[focusedTabIndex + 1] || tabList[0]
338
338
  : tabList[focusedTabIndex - 1] || tabList[tabList.length - 1];
@@ -387,7 +387,7 @@ let TabBar = class TabBar extends BasicElement {
387
387
  manageTabIndex() {
388
388
  const tabList = this.getFocusableTabs();
389
389
  if (tabList && tabList.length > 0) {
390
- const focusedTabIndex = tabList.findIndex(tab => tab.active);
390
+ const focusedTabIndex = tabList.findIndex((tab) => tab.active);
391
391
  this.rovingTabIndex(tabList[focusedTabIndex], tabList);
392
392
  }
393
393
  }
@@ -398,11 +398,27 @@ let TabBar = class TabBar extends BasicElement {
398
398
  */
399
399
  render() {
400
400
  return html `
401
- ${!this.vertical ? html `<ef-button tabIndex="-1" aria-hidden="true" icon="left" part="left-btn" @tap=${this.handleScrollLeft}></ef-button>` : null}
402
- <ef-layout part="content" @resize=${this.handleResize}>
403
- <slot @slotchange=${this.onSlotChange}></slot>
404
- </ef-layout>
405
- ${!this.vertical ? html `<ef-button tabIndex="-1" aria-hidden="true" icon="right" part="right-btn" @tap=${this.handleScrollRight}></ef-button>` : null}
401
+ ${!this.vertical
402
+ ? html `<ef-button
403
+ tabIndex="-1"
404
+ aria-hidden="true"
405
+ icon="left"
406
+ part="left-btn"
407
+ @tap=${this.handleScrollLeft}
408
+ ></ef-button>`
409
+ : null}
410
+ <ef-layout part="content" @resize=${this.handleResize}>
411
+ <slot @slotchange=${this.onSlotChange}></slot>
412
+ </ef-layout>
413
+ ${!this.vertical
414
+ ? html `<ef-button
415
+ tabIndex="-1"
416
+ aria-hidden="true"
417
+ icon="right"
418
+ part="right-btn"
419
+ @tap=${this.handleScrollRight}
420
+ ></ef-button>`
421
+ : null}
406
422
  `;
407
423
  }
408
424
  };
@@ -1,5 +1,4 @@
1
1
  import '@refinitiv-ui/elements/tab/themes/halo/dark';
2
2
  import '@refinitiv-ui/elements/button/themes/halo/dark';
3
3
  import '@refinitiv-ui/elements/layout/themes/halo/dark';
4
-
5
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab-bar', styles: ':host{position:relative;background-color:#1a1a1a}:host [part=content]{display:flex;overflow:hidden}:host [part=left-btn],:host [part=right-btn]{display:none;position:absolute;height:auto;margin:auto;z-index:2;top:0;bottom:0;background-color:#404040;width:36px;border:none}:host [part=left-btn]:hover,:host [part=right-btn]:hover{background-color:#1429bd}:host [part=left-btn]:active,:host [part=right-btn]:active{background-color:#0f1e8a}:host [part=left-btn]:focus:not([focused]),:host [part=left-btn][focused=visible],:host [part=right-btn]:focus:not([focused]),:host [part=right-btn][focused=visible]{background-color:#1429bd}:host [part=left-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=left-btn][focused=visible]:not([active]):not(:hover),:host [part=right-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=right-btn][focused=visible]:not([active]):not(:hover){color:#6678ff;background-color:#404040}:host [part=left-btn]{left:0}:host [part=right-btn]{right:0}:host([vertical]){width:180px;flex-shrink:0}:host([vertical]) [part=content]{flex-direction:column}:host([vertical]) [part=content] ::slotted(ef-tab){justify-content:flex-start;border-bottom:1px solid #404040}:host [part=left-btn]::after,:host [part=right-btn]::after{content:\'\';position:absolute;margin:auto;width:1px;background:#404040;height:70%;top:0;bottom:0}:host([level="1"]) [part=left-btn]::after,:host([level="1"]) [part=right-btn]::after{content:none}:host([level="1"]) [part=left-btn]{border-right:1px solid #0d0d0d}:host([level="1"]) [part=right-btn]{border-left:1px solid #0d0d0d}:host([level="2"]) [part=left-btn]::after,:host([level="3"]) [part=left-btn]::after{right:0}:host([level="2"]) [part=right-btn]::after,:host([level="3"]) [part=right-btn]::after{left:0}:host([level="2"]) [part=left-btn]:not(:active):not(:hover),:host([level="2"]) [part=right-btn]:not(:active):not(:hover){background-color:#262626}:host([level="2"]) [part=left-btn]::after,:host([level="2"]) [part=right-btn]::after{height:70%}:host([level="3"]) [part=left-btn],:host([level="3"]) [part=right-btn]{border-color:transparent}:host([level="3"]) [part=left-btn]:not(:active):not(:hover),:host([level="3"]) [part=right-btn]:not(:active):not(:hover){background-color:#0d0d0d}:host([level="3"]) [part=left-btn]::after,:host([level="3"]) [part=right-btn]::after{height:30%}:host([vertical]) [part=content] ::slotted(ef-tab){border-bottom-color:transparent;border-right:none;background:linear-gradient(#1a1a1a,#1a1a1a) left calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#1a1a1a,#1a1a1a) right calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#404040,#404040) center calc(100% + 1px)/100% 1px no-repeat}:host([vertical]) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)){background:linear-gradient(#0d0d0d,#0d0d0d) left calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#0d0d0d,#0d0d0d) right calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#404040,#404040) center calc(100% + 1px)/100% 1px no-repeat}:host([vertical]) [part=content] ::slotted(ef-tab:not([active]):not(:active):not(:hover)){background-color:#1a1a1a}:host([vertical]) [part=content] ::slotted(ef-tab:hover){color:#fff;background-color:#1429bd}:host([vertical]) [part=content] ::slotted(ef-tab:active){background-color:#0f1e8a}:host([vertical][level="1"]) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)),:host([vertical][level="3"]) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)){color:#6678ff;background-color:#0d0d0d}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab-bar', styles: ':host{position:relative;background-color:#1a1a1a}:host [part=content]{display:flex;overflow:hidden}:host [part=left-btn],:host [part=right-btn]{display:none;position:absolute;height:auto;margin:auto;z-index:2;top:0;bottom:0;background-color:#404040;width:36px;border:none}:host [part=left-btn]:hover,:host [part=right-btn]:hover{background-color:#1429bd}:host [part=left-btn]:active,:host [part=right-btn]:active{background-color:#0f1e8a}:host [part=left-btn]:focus:not([focused]),:host [part=left-btn][focused=visible],:host [part=right-btn]:focus:not([focused]),:host [part=right-btn][focused=visible]{background-color:#1429bd}:host [part=left-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=left-btn][focused=visible]:not([active]):not(:hover),:host [part=right-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=right-btn][focused=visible]:not([active]):not(:hover){color:#6678ff;background-color:#404040}:host [part=left-btn]{left:0}:host [part=right-btn]{right:0}:host([vertical]){width:180px;flex-shrink:0}:host([vertical]) [part=content]{flex-direction:column}:host([vertical]) [part=content] ::slotted(ef-tab){justify-content:flex-start;border-bottom:1px solid #404040}:host [part=left-btn]::after,:host [part=right-btn]::after{content:\'\';position:absolute;margin:auto;width:1px;background:#404040;height:70%;top:0;bottom:0}:host([level=\'1\']) [part=left-btn]::after,:host([level=\'1\']) [part=right-btn]::after{content:none}:host([level=\'1\']) [part=left-btn]{border-right:1px solid #0d0d0d}:host([level=\'1\']) [part=right-btn]{border-left:1px solid #0d0d0d}:host([level=\'2\']) [part=left-btn]::after,:host([level=\'3\']) [part=left-btn]::after{right:0}:host([level=\'2\']) [part=right-btn]::after,:host([level=\'3\']) [part=right-btn]::after{left:0}:host([level=\'2\']) [part=left-btn]:not(:active):not(:hover),:host([level=\'2\']) [part=right-btn]:not(:active):not(:hover){background-color:#262626}:host([level=\'2\']) [part=left-btn]::after,:host([level=\'2\']) [part=right-btn]::after{height:70%}:host([level=\'3\']) [part=left-btn],:host([level=\'3\']) [part=right-btn]{border-color:transparent}:host([level=\'3\']) [part=left-btn]:not(:active):not(:hover),:host([level=\'3\']) [part=right-btn]:not(:active):not(:hover){background-color:#0d0d0d}:host([level=\'3\']) [part=left-btn]::after,:host([level=\'3\']) [part=right-btn]::after{height:30%}:host([vertical]) [part=content] ::slotted(ef-tab){border-bottom-color:transparent;border-right:none;background:linear-gradient(#1a1a1a,#1a1a1a) left calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#1a1a1a,#1a1a1a) right calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#404040,#404040) center calc(100% + 1px)/100% 1px no-repeat}:host([vertical]) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)){background:linear-gradient(#0d0d0d,#0d0d0d) left calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#0d0d0d,#0d0d0d) right calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#404040,#404040) center calc(100% + 1px)/100% 1px no-repeat}:host([vertical]) [part=content] ::slotted(ef-tab:not([active]):not(:active):not(:hover)){background-color:#1a1a1a}:host([vertical]) [part=content] ::slotted(ef-tab:hover){color:#fff;background-color:#1429bd}:host([vertical]) [part=content] ::slotted(ef-tab:active){background-color:#0f1e8a}:host([vertical][level=\'1\']) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)),:host([vertical][level=\'3\']) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)){color:#6678ff;background-color:#0d0d0d}' }}));
@@ -1,5 +1,4 @@
1
1
  import '@refinitiv-ui/elements/tab/themes/halo/light';
2
2
  import '@refinitiv-ui/elements/button/themes/halo/light';
3
3
  import '@refinitiv-ui/elements/layout/themes/halo/light';
4
-
5
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab-bar', styles: ':host{position:relative;background-color:#f2f2f2}:host [part=content]{display:flex;overflow:hidden}:host [part=left-btn],:host [part=right-btn]{display:none;position:absolute;height:auto;margin:auto;z-index:2;top:0;bottom:0;background-color:#e6e6e6;width:36px;border:none}:host [part=left-btn]:hover,:host [part=right-btn]:hover{background-color:#1429bd}:host [part=left-btn]:active,:host [part=right-btn]:active{background-color:#0f1e8a}:host [part=left-btn]:focus:not([focused]),:host [part=left-btn][focused=visible],:host [part=right-btn]:focus:not([focused]),:host [part=right-btn][focused=visible]{background-color:#1429bd}:host [part=left-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=left-btn][focused=visible]:not([active]):not(:hover),:host [part=right-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=right-btn][focused=visible]:not([active]):not(:hover){color:#6678ff;background-color:#e6e6e6}:host [part=left-btn]{left:0}:host [part=right-btn]{right:0}:host([vertical]){width:180px;flex-shrink:0}:host([vertical]) [part=content]{flex-direction:column}:host([vertical]) [part=content] ::slotted(ef-tab){justify-content:flex-start;border-bottom:1px solid #d9d9d9}:host [part=left-btn]::after,:host [part=right-btn]::after{content:\'\';position:absolute;margin:auto;width:1px;background:#d9d9d9;height:70%;top:0;bottom:0}:host([level="1"]) [part=left-btn]::after,:host([level="1"]) [part=right-btn]::after{content:none}:host([level="1"]) [part=left-btn]{border-right:1px solid #fff}:host([level="1"]) [part=right-btn]{border-left:1px solid #fff}:host([level="2"]) [part=left-btn]::after,:host([level="3"]) [part=left-btn]::after{right:0}:host([level="2"]) [part=right-btn]::after,:host([level="3"]) [part=right-btn]::after{left:0}:host([level="2"]) [part=left-btn]:not(:active):not(:hover),:host([level="2"]) [part=right-btn]:not(:active):not(:hover){background-color:#f2f2f2}:host([level="2"]) [part=left-btn]::after,:host([level="2"]) [part=right-btn]::after{height:70%}:host([level="3"]) [part=left-btn],:host([level="3"]) [part=right-btn]{border-color:transparent}:host([level="3"]) [part=left-btn]:not(:active):not(:hover),:host([level="3"]) [part=right-btn]:not(:active):not(:hover){background-color:#fff}:host([level="3"]) [part=left-btn]::after,:host([level="3"]) [part=right-btn]::after{height:30%}:host([vertical]) [part=content] ::slotted(ef-tab){border-bottom-color:transparent;border-right:none;background:linear-gradient(#f2f2f2,#f2f2f2) left calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#f2f2f2,#f2f2f2) right calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#d9d9d9,#d9d9d9) center calc(100% + 1px)/100% 1px no-repeat}:host([vertical]) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)){background:linear-gradient(#fff,#fff) left calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#fff,#fff) right calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#d9d9d9,#d9d9d9) center calc(100% + 1px)/100% 1px no-repeat}:host([vertical]) [part=content] ::slotted(ef-tab:not([active]):not(:active):not(:hover)){background-color:#f2f2f2}:host([vertical]) [part=content] ::slotted(ef-tab:hover){color:#fff;background-color:#1429bd}:host([vertical]) [part=content] ::slotted(ef-tab:active){background-color:#0f1e8a}:host([vertical][level="1"]) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)),:host([vertical][level="3"]) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)){color:#334bff;background-color:#fff}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab-bar', styles: ':host{position:relative;background-color:#f2f2f2}:host [part=content]{display:flex;overflow:hidden}:host [part=left-btn],:host [part=right-btn]{display:none;position:absolute;height:auto;margin:auto;z-index:2;top:0;bottom:0;background-color:#e6e6e6;width:36px;border:none}:host [part=left-btn]:hover,:host [part=right-btn]:hover{background-color:#1429bd}:host [part=left-btn]:active,:host [part=right-btn]:active{background-color:#0f1e8a}:host [part=left-btn]:focus:not([focused]),:host [part=left-btn][focused=visible],:host [part=right-btn]:focus:not([focused]),:host [part=right-btn][focused=visible]{background-color:#1429bd}:host [part=left-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=left-btn][focused=visible]:not([active]):not(:hover),:host [part=right-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=right-btn][focused=visible]:not([active]):not(:hover){color:#6678ff;background-color:#e6e6e6}:host [part=left-btn]{left:0}:host [part=right-btn]{right:0}:host([vertical]){width:180px;flex-shrink:0}:host([vertical]) [part=content]{flex-direction:column}:host([vertical]) [part=content] ::slotted(ef-tab){justify-content:flex-start;border-bottom:1px solid #d9d9d9}:host [part=left-btn]::after,:host [part=right-btn]::after{content:\'\';position:absolute;margin:auto;width:1px;background:#d9d9d9;height:70%;top:0;bottom:0}:host([level=\'1\']) [part=left-btn]::after,:host([level=\'1\']) [part=right-btn]::after{content:none}:host([level=\'1\']) [part=left-btn]{border-right:1px solid #fff}:host([level=\'1\']) [part=right-btn]{border-left:1px solid #fff}:host([level=\'2\']) [part=left-btn]::after,:host([level=\'3\']) [part=left-btn]::after{right:0}:host([level=\'2\']) [part=right-btn]::after,:host([level=\'3\']) [part=right-btn]::after{left:0}:host([level=\'2\']) [part=left-btn]:not(:active):not(:hover),:host([level=\'2\']) [part=right-btn]:not(:active):not(:hover){background-color:#f2f2f2}:host([level=\'2\']) [part=left-btn]::after,:host([level=\'2\']) [part=right-btn]::after{height:70%}:host([level=\'3\']) [part=left-btn],:host([level=\'3\']) [part=right-btn]{border-color:transparent}:host([level=\'3\']) [part=left-btn]:not(:active):not(:hover),:host([level=\'3\']) [part=right-btn]:not(:active):not(:hover){background-color:#fff}:host([level=\'3\']) [part=left-btn]::after,:host([level=\'3\']) [part=right-btn]::after{height:30%}:host([vertical]) [part=content] ::slotted(ef-tab){border-bottom-color:transparent;border-right:none;background:linear-gradient(#f2f2f2,#f2f2f2) left calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#f2f2f2,#f2f2f2) right calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#d9d9d9,#d9d9d9) center calc(100% + 1px)/100% 1px no-repeat}:host([vertical]) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)){background:linear-gradient(#fff,#fff) left calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#fff,#fff) right calc(100% + 1px)/2% 1px no-repeat,linear-gradient(#d9d9d9,#d9d9d9) center calc(100% + 1px)/100% 1px no-repeat}:host([vertical]) [part=content] ::slotted(ef-tab:not([active]):not(:active):not(:hover)){background-color:#f2f2f2}:host([vertical]) [part=content] ::slotted(ef-tab:hover){color:#fff;background-color:#1429bd}:host([vertical]) [part=content] ::slotted(ef-tab:active){background-color:#0f1e8a}:host([vertical][level=\'1\']) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)),:host([vertical][level=\'3\']) [part=content] ::slotted(ef-tab[active]:not(:active):not(:hover)){color:#334bff;background-color:#fff}' }}));
@@ -1,5 +1,4 @@
1
1
  import '@refinitiv-ui/elements/tab/themes/solar/charcoal';
2
2
  import '@refinitiv-ui/elements/button/themes/solar/charcoal';
3
3
  import '@refinitiv-ui/elements/layout/themes/solar/charcoal';
4
-
5
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab-bar', styles: ':host{position:relative;background-color:#151516}:host [part=content]{display:flex;overflow:hidden}:host [part=left-btn],:host [part=right-btn]{display:none;position:absolute;height:auto;margin:auto;z-index:2;top:0;bottom:0;background-color:#3c3c42}:host [part=left-btn]:hover,:host [part=right-btn]:hover{background-color:#4a4a4f}:host [part=left-btn]:active,:host [part=right-btn]:active{background-color:#38383d}:host [part=left-btn]:focus:not([focused]),:host [part=left-btn][focused=visible],:host [part=right-btn]:focus:not([focused]),:host [part=right-btn][focused=visible]{background-color:#ffa041}:host [part=left-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=left-btn][focused=visible]:not([active]):not(:hover),:host [part=right-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=right-btn][focused=visible]:not([active]):not(:hover){color:#e2e2e2;background-color:#3c3c42}:host [part=left-btn]{left:0}:host [part=right-btn]{right:0}:host([vertical]){width:180px;flex-shrink:0}:host([vertical]) [part=content]{flex-direction:column}:host([vertical]) [part=content] ::slotted(ef-tab){justify-content:flex-start;border:none;border-bottom:1px solid #000}:host(:not([vertical])) [part=content] ::slotted(ef-tab:first-of-type){border-left:1px solid #000}' }}));
@@ -1,5 +1,4 @@
1
1
  import '@refinitiv-ui/elements/tab/themes/solar/pearl';
2
2
  import '@refinitiv-ui/elements/button/themes/solar/pearl';
3
3
  import '@refinitiv-ui/elements/layout/themes/solar/pearl';
4
-
5
4
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab-bar', styles: ':host{position:relative;background-color:#c2c2c2}:host [part=content]{display:flex;overflow:hidden}:host [part=left-btn],:host [part=right-btn]{display:none;position:absolute;height:auto;margin:auto;z-index:2;top:0;bottom:0;background-color:#fafbfc}:host [part=left-btn]:hover,:host [part=right-btn]:hover{background-color:#fafbfc}:host [part=left-btn]:active,:host [part=right-btn]:active{background-color:#e8e9ea}:host [part=left-btn]:focus:not([focused]),:host [part=left-btn][focused=visible],:host [part=right-btn]:focus:not([focused]),:host [part=right-btn][focused=visible]{background-color:#ffb771}:host [part=left-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=left-btn][focused=visible]:not([active]):not(:hover),:host [part=right-btn]:focus:not([focused]):not([active]):not(:hover),:host [part=right-btn][focused=visible]:not([active]):not(:hover){color:#1d1d1d;background-color:#fafbfc}:host [part=left-btn]{left:0}:host [part=right-btn]{right:0}:host([vertical]){width:180px;flex-shrink:0}:host([vertical]) [part=content]{flex-direction:column}:host([vertical]) [part=content] ::slotted(ef-tab){justify-content:flex-start;border:none;border-bottom:1px solid #a9afba}:host(:not([vertical])) [part=content] ::slotted(ef-tab:first-of-type){border-left:1px solid #a9afba}' }}));
@@ -1,5 +1,5 @@
1
1
  import { JSXInterface } from '../jsx';
2
- import { FormFieldElement, CSSResultGroup, PropertyValues, TemplateResult } from '@refinitiv-ui/core';
2
+ import { CSSResultGroup, FormFieldElement, PropertyValues, TemplateResult } from '@refinitiv-ui/core';
3
3
  import { TemplateMap } from '@refinitiv-ui/core/directives/template-map.js';
4
4
  import '../icon/index.js';
5
5
  /**
@@ -1,11 +1,11 @@
1
1
  import { __decorate } from "tslib";
2
- import { FormFieldElement, css, nothing, html } from '@refinitiv-ui/core';
2
+ import { FormFieldElement, 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
5
  import { isElementOverflown } from '@refinitiv-ui/utils/element.js';
6
- import { VERSION } from '../version.js';
7
6
  import '../icon/index.js';
8
7
  import { registerOverflowTooltip } from '../tooltip/index.js';
8
+ import { VERSION } from '../version.js';
9
9
  const hasChanged = (newVal, oldVal) => oldVal === undefined ? false : newVal !== oldVal;
10
10
  /**
11
11
  * Form control element for text.
@@ -76,24 +76,25 @@ let TextField = class TextField extends FormFieldElement {
76
76
  :host {
77
77
  display: inline-block;
78
78
  }
79
- :host(:focus), :host input:focus {
79
+ :host(:focus),
80
+ :host input:focus {
80
81
  outline: none;
81
82
  }
82
- [part=input] {
83
+ [part='input'] {
83
84
  font: inherit;
84
85
  background: none;
85
86
  color: currentColor;
86
87
  border: none;
87
88
  text-align: inherit;
88
89
  }
89
- :host([icon]) [part=icon]{
90
+ :host([icon]) [part='icon'] {
90
91
  display: flex;
91
92
  }
92
93
  :host([transparent]) {
93
94
  background: none !important;
94
95
  border: none !important;
95
96
  }
96
- :host([icon][icon-has-action]) [part=icon] {
97
+ :host([icon][icon-has-action]) [part='icon'] {
97
98
  cursor: pointer;
98
99
  }
99
100
  `;
@@ -105,7 +106,7 @@ let TextField = class TextField extends FormFieldElement {
105
106
  */
106
107
  firstUpdated(changedProperties) {
107
108
  super.firstUpdated(changedProperties);
108
- registerOverflowTooltip(this, () => this.inputValue, () => this.inputElement ? isElementOverflown(this.inputElement) : false);
109
+ registerOverflowTooltip(this, () => this.inputValue, () => (this.inputElement ? isElementOverflown(this.inputElement) : false));
109
110
  }
110
111
  /**
111
112
  * Called when the element’s DOM has been updated and rendered
@@ -148,9 +149,12 @@ let TextField = class TextField extends FormFieldElement {
148
149
  /* c8 ignore start */
149
150
  shouldValidateInput(changedProperties) {
150
151
  // TODO: This validation should be refactored
151
- return (changedProperties.has('pattern') || !!(this.pattern && changedProperties.has('value')))
152
- || (changedProperties.has('minLength') || !!(this.minLength && changedProperties.has('value')))
153
- || (changedProperties.has('maxLength') || !!(this.maxLength && changedProperties.has('value')));
152
+ return (changedProperties.has('pattern') ||
153
+ !!(this.pattern && changedProperties.has('value')) ||
154
+ changedProperties.has('minLength') ||
155
+ !!(this.minLength && changedProperties.has('value')) ||
156
+ changedProperties.has('maxLength') ||
157
+ !!(this.maxLength && changedProperties.has('value')));
154
158
  }
155
159
  /* c8 ignore stop */
156
160
  /**
@@ -207,11 +211,11 @@ let TextField = class TextField extends FormFieldElement {
207
211
  get decorateInputMap() {
208
212
  return {
209
213
  ...super.decorateInputMap,
210
- 'type': 'text',
211
- 'part': 'input',
212
- 'maxlength': this.maxLength,
213
- 'minlength': this.minLength,
214
- 'pattern': this.pattern || null
214
+ type: 'text',
215
+ part: 'input',
216
+ maxlength: this.maxLength,
217
+ minlength: this.minLength,
218
+ pattern: this.pattern || null
215
219
  };
216
220
  }
217
221
  /**
@@ -219,18 +223,20 @@ let TextField = class TextField extends FormFieldElement {
219
223
  * @returns {void}
220
224
  */
221
225
  renderIcon() {
222
- return this.icon ? html `
223
- <ef-icon
224
- role="${this.iconHasAction ? 'button' : nothing}"
225
- tabindex="${this.iconHasAction ? '0' : nothing}"
226
- aria-label="${this.iconHasAction ? this.icon : nothing}"
227
- part="icon"
228
- icon="${this.icon}"
229
- ?readonly="${this.readonly}"
230
- ?disabled="${this.disabled}"
231
- @tap="${this.iconClick}"
232
- ></ef-icon>
233
- ` : null;
226
+ return this.icon
227
+ ? html `
228
+ <ef-icon
229
+ role="${this.iconHasAction ? 'button' : nothing}"
230
+ tabindex="${this.iconHasAction ? '0' : nothing}"
231
+ aria-label="${this.iconHasAction ? this.icon : nothing}"
232
+ part="icon"
233
+ icon="${this.icon}"
234
+ ?readonly="${this.readonly}"
235
+ ?disabled="${this.disabled}"
236
+ @tap="${this.iconClick}"
237
+ ></ef-icon>
238
+ `
239
+ : null;
234
240
  }
235
241
  /**
236
242
  * A `TemplateResult` that will be used
@@ -238,10 +244,7 @@ let TextField = class TextField extends FormFieldElement {
238
244
  * @return Render template
239
245
  */
240
246
  render() {
241
- return html `
242
- ${super.render()}
243
- ${this.renderIcon()}
244
- `;
247
+ return html ` ${super.render()} ${this.renderIcon()} `;
245
248
  }
246
249
  };
247
250
  __decorate([
@@ -1,4 +1,3 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/halo/dark';
2
2
  import '@refinitiv-ui/elements/tooltip/themes/halo/dark';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-text-field', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12px;font-weight:400;height:24px;width:152px;max-width:100%;padding:0 8px;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;border-radius:0;background-color:#0d0d0d;text-overflow:ellipsis;border:1px solid #404040;color:#ccc}:host([disabled]){border:1px solid rgba(64,64,64,.5);color:rgba(204,204,204,.5);background-color:rgba(13,13,13,.5)}:host([type=number]){padding-right:0}:host([warning]){border:1px solid #ffc800}:host([warning][disabled]){color:rgba(204,204,204,.5);border:1px solid rgba(127,100,0,.5)}:host([error]),:host([error][warning]){border:1px solid #f5475b}:host([error][disabled]),:host([error][warning][disabled]){color:rgba(204,204,204,.5);border:1px solid rgba(160,28,43,.5)}:host([focused]){background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#334bff}:host [part=input]{color:inherit;padding:0;margin:0;flex:1 1 auto;min-width:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;touch-action:manipulation}:host [part=input]::-webkit-clear-button,:host [part=input]::-webkit-inner-spin-button,:host [part=input]::-webkit-search-cancel-button,:host [part=input]::-webkit-search-decoration{-webkit-appearance:none}:host [part=input]:invalid{box-shadow:none}:host [part=icon]{color:#ccc;min-width:1em;margin-left:2px}:host([disabled]) [part=input]{-webkit-user-select:none;-moz-user-select:none;user-select:none}:host ::-moz-selection{color:#fff;background-color:#334bff}:host ::selection{color:#fff;background-color:#334bff}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover){border-color:grey;color:#fff}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover) [part=icon]{color:#6678ff}:host([warning]:hover:not([readonly]):not([focused])){color:#fff;border-color:#ffe999}:host([warning][disabled]),:host([warning][readonly]:not([focused])){border-color:rgba(255,233,153,.5)}:host([error]:hover:not([readonly]):not([focused])){color:#fff;border-color:#faa8b1}:host([error][disabled]),:host([error][readonly]:not([focused])),:host([error][warning][disabled]){border-color:rgba(250,168,177,.5)}:host([readonly]:not([focused])){border-color:rgba(64,64,64,.5);background-color:rgba(13,13,13,.5)}:host([readonly]:not([focused])) [part=icon]{color:rgba(204,204,204,.5)}:host([focused]),:host([focused][error][warning]){border-color:#334bff;color:#fff}:host([focused]) [part=icon],:host([focused][error][warning]) [part=icon]{color:#6678ff}' }}));
@@ -1,4 +1,3 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/halo/light';
2
2
  import '@refinitiv-ui/elements/tooltip/themes/halo/light';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-text-field', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:12px;font-weight:400;height:24px;width:152px;max-width:100%;padding:0 8px;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;border-radius:0;background-color:#fff;text-overflow:ellipsis;border:1px solid #595959;color:#404040}:host([disabled]){border:1px solid rgba(89,89,89,.5);color:rgba(64,64,64,.5);background-color:rgba(255,255,255,.5)}:host([type=number]){padding-right:0}:host([warning]){border:1px solid #cca000}:host([warning][disabled]){color:rgba(64,64,64,.5);border:1px solid rgba(204,160,0,.5)}:host([error]),:host([error][warning]){border:1px solid #d94255}:host([error][disabled]),:host([error][warning][disabled]){color:rgba(64,64,64,.5);border:1px solid rgba(182,50,67,.5)}:host([focused]){background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#334bff}:host [part=input]{color:inherit;padding:0;margin:0;flex:1 1 auto;min-width:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;touch-action:manipulation}:host [part=input]::-webkit-clear-button,:host [part=input]::-webkit-inner-spin-button,:host [part=input]::-webkit-search-cancel-button,:host [part=input]::-webkit-search-decoration{-webkit-appearance:none}:host [part=input]:invalid{box-shadow:none}:host [part=icon]{color:#404040;min-width:1em;margin-left:2px}:host([disabled]) [part=input]{-webkit-user-select:none;-moz-user-select:none;user-select:none}:host ::-moz-selection{color:#fff;background-color:#334bff}:host ::selection{color:#fff;background-color:#334bff}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover){border-color:#0d0d0d;color:#0d0d0d}:host(:not([readonly]):not([error]):not([warning]):not([focused]):hover) [part=icon]{color:#334bff}:host([warning]:hover:not([readonly]):not([focused])){color:#0d0d0d;border-color:#ffe999}:host([warning][disabled]),:host([warning][readonly]:not([focused])){border-color:rgba(255,233,153,.5)}:host([error]:hover:not([readonly]):not([focused])){color:#0d0d0d;border-color:#eeacb4}:host([error][disabled]),:host([error][readonly]:not([focused])),:host([error][warning][disabled]){border-color:rgba(238,172,180,.5)}:host([readonly]:not([focused])){border-color:rgba(89,89,89,.5);background-color:rgba(255,255,255,.5)}:host([readonly]:not([focused])) [part=icon]{color:rgba(64,64,64,.5)}:host([focused]),:host([focused][error][warning]){border-color:#334bff;color:#0d0d0d}:host([focused]) [part=icon],:host([focused][error][warning]) [part=icon]{color:#334bff}' }}));
@@ -1,4 +1,3 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/solar/charcoal';
2
2
  import '@refinitiv-ui/elements/tooltip/themes/solar/charcoal';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-text-field', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:13px;font-weight:400;height:23px;width:140px;max-width:100%;padding:0 5px;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#c2c2c2;border-radius:0;text-overflow:ellipsis;background-color:#000;border:1px solid #4a4a52}:host([type=number]){padding-right:0}:host([error]),:host([error][warning]){border:1px solid #f5475b}:host([error][disabled]),:host([error][warning][disabled]){color:rgba(194,194,194,.6);border:1px solid rgba(245,71,91,.6)}:host [part=input]{color:inherit;padding:0;margin:0;flex:1 1 auto;min-width:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;touch-action:manipulation}:host [part=input]::-webkit-clear-button,:host [part=input]::-webkit-inner-spin-button,:host [part=input]::-webkit-search-cancel-button,:host [part=input]::-webkit-search-decoration{-webkit-appearance:none}:host [part=input]:invalid{box-shadow:none}:host [part=icon]{color:#e2e2e2;min-width:1em}:host([disabled]) [part=input]{-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]){border:1px solid rgba(74,74,82,.6);color:rgba(194,194,194,.6)}:host([readonly]){border:1px solid rgba(74,74,82,.6)}:host(:not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #77777d}:host([warning]){background-color:#000;border:1px solid #f93}:host([warning][disabled]){border:1px solid rgba(255,153,51,.6);color:rgba(194,194,194,.6)}:host([warning][readonly]){border:1px solid rgba(255,153,51,.6)}:host([warning]:not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #ffb366}:host([error]),:host([error][warning]:not([focused])){background-color:#000;border:1px solid #f5475b}:host([error][disabled]),:host([error][warning]:not([focused])[disabled]){border:1px solid rgba(245,71,91,.6);color:rgba(194,194,194,.6)}:host([error][readonly]),:host([error][warning]:not([focused])[readonly]){border:1px solid rgba(245,71,91,.6)}:host([error]:not([focused]):not(:focus):not([disabled]):not([readonly]):hover),:host([error][warning]:not([focused]):not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #f87584}:host([highlight]){background-color:#1b252f;border:1px solid #4a4a52}:host([highlight][disabled]){border:1px solid rgba(74,74,82,.6);color:rgba(194,194,194,.6);background-color:rgba(27,37,47,.6)}:host([highlight][readonly]){border:1px solid rgba(74,74,82,.6)}:host([highlight]:not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #77777d}:host([indirect]){color:#0fd;background-color:#000;border:1px solid #898623}:host([indirect][disabled]){border:1px solid rgba(137,134,35,.6);color:rgba(0,255,221,.6)}:host([indirect][readonly]){border:1px solid rgba(137,134,35,.6)}:host([indirect]:not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #a7a45a}:host([focused]){background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#f93;border-style:dotted}:host([disabled]) [part=input]::-moz-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]::placeholder{color:rgba(102,101,112,.6)}' }}));
@@ -1,4 +1,3 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/solar/pearl';
2
2
  import '@refinitiv-ui/elements/tooltip/themes/solar/pearl';
3
-
4
3
  dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-text-field', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:13px;font-weight:400;height:23px;width:140px;max-width:100%;padding:0 5px;margin:1px 0;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#484848;border-radius:0;text-overflow:ellipsis;background-color:#fff;border:1px solid #a9afba}:host([type=number]){padding-right:0}:host([error]),:host([error][warning]){border:1px solid #d94255}:host([error][disabled]),:host([error][warning][disabled]){color:rgba(72,72,72,.6);border:1px solid rgba(217,66,85,.6)}:host [part=input]{color:inherit;padding:0;margin:0;flex:1 1 auto;min-width:0;width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-overflow:ellipsis;touch-action:manipulation}:host [part=input]::-webkit-clear-button,:host [part=input]::-webkit-inner-spin-button,:host [part=input]::-webkit-search-cancel-button,:host [part=input]::-webkit-search-decoration{-webkit-appearance:none}:host [part=input]:invalid{box-shadow:none}:host [part=icon]{color:#acafb5;min-width:1em}:host([disabled]) [part=input]{-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]){border:1px solid rgba(169,175,186,.6);color:rgba(72,72,72,.6)}:host([readonly]){border:1px solid rgba(169,175,186,.6)}:host(:not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #bfc3cb}:host([warning]){background-color:#fff;border:1px solid #f93}:host([warning][disabled]){border:1px solid rgba(255,153,51,.6);color:rgba(72,72,72,.6)}:host([warning][readonly]){border:1px solid rgba(255,153,51,.6)}:host([warning]:not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #ffb366}:host([error]),:host([error][warning]:not([focused])){background-color:#fff;border:1px solid #d94255}:host([error][disabled]),:host([error][warning]:not([focused])[disabled]){border:1px solid rgba(217,66,85,.6);color:rgba(72,72,72,.6)}:host([error][readonly]),:host([error][warning]:not([focused])[readonly]){border:1px solid rgba(217,66,85,.6)}:host([error]:not([focused]):not(:focus):not([disabled]):not([readonly]):hover),:host([error][warning]:not([focused]):not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #e37180}:host([highlight]){background-color:#b0ffff;border:1px solid #a9afba}:host([highlight][disabled]){border:1px solid rgba(169,175,186,.6);color:rgba(72,72,72,.6);background-color:rgba(176,255,255,.6)}:host([highlight][readonly]){border:1px solid rgba(169,175,186,.6)}:host([highlight]:not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #bfc3cb}:host([indirect]){color:#009494;background-color:#effefe;border:1px solid #898623}:host([indirect][disabled]){border:1px solid rgba(137,134,35,.6);color:rgba(0,148,148,.6)}:host([indirect][readonly]){border:1px solid rgba(137,134,35,.6)}:host([indirect]:not([focused]):not(:focus):not([disabled]):not([readonly]):hover){border:1px solid #a7a45a}:host([focused]){background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#ffb266;border-style:dotted}:host([disabled]) [part=input]::-moz-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]::placeholder{color:rgba(102,101,112,.6)}' }}));
@@ -1,8 +1,8 @@
1
1
  import { JSXInterface } from '../jsx';
2
- import { ControlElement, TemplateResult, CSSResultGroup, PropertyValues } from '@refinitiv-ui/core';
3
- import '../number-field/index.js';
4
- import { TranslateDirective } from '@refinitiv-ui/translate';
2
+ import { CSSResultGroup, ControlElement, PropertyValues, TemplateResult } from '@refinitiv-ui/core';
5
3
  import '@refinitiv-ui/phrasebook/locale/en/time-picker.js';
4
+ import { TranslateDirective } from '@refinitiv-ui/translate';
5
+ import '../number-field/index.js';
6
6
  declare enum Segment {
7
7
  HOURS = "hours",
8
8
  MINUTES = "minutes",
@@ -90,9 +90,9 @@ export declare class TimePicker extends ControlElement {
90
90
  */
91
91
  showSeconds: boolean;
92
92
  /**
93
- * Value of the element
94
- * @param value Element value
95
- */
93
+ * Value of the element
94
+ * @param value Element value
95
+ */
96
96
  set value(value: string);
97
97
  get value(): string;
98
98
  /**