@refinitiv-ui/elements 5.12.0-alpha.2 → 5.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +4 -4
  3. package/lib/accordion/index.js +2 -2
  4. package/lib/appstate-bar/index.js +2 -2
  5. package/lib/autosuggest/index.js +6 -6
  6. package/lib/button/index.d.ts +10 -4
  7. package/lib/button/index.js +26 -8
  8. package/lib/button-bar/index.d.ts +49 -0
  9. package/lib/button-bar/index.js +151 -11
  10. package/lib/calendar/constants.js +1 -1
  11. package/lib/calendar/index.d.ts +1 -1
  12. package/lib/calendar/index.js +11 -11
  13. package/lib/calendar/types.d.ts +1 -1
  14. package/lib/calendar/utils.js +1 -1
  15. package/lib/canvas/index.js +2 -2
  16. package/lib/card/index.js +5 -5
  17. package/lib/chart/index.js +4 -4
  18. package/lib/checkbox/index.js +3 -3
  19. package/lib/clock/index.js +6 -6
  20. package/lib/clock/utils/TickManager.js +2 -2
  21. package/lib/collapse/custom-elements.json +4 -2
  22. package/lib/collapse/custom-elements.md +1 -1
  23. package/lib/collapse/index.d.ts +20 -16
  24. package/lib/collapse/index.js +80 -50
  25. package/lib/collapse/themes/halo/dark/index.js +1 -1
  26. package/lib/collapse/themes/halo/light/index.js +1 -1
  27. package/lib/collapse/themes/solar/charcoal/index.js +1 -1
  28. package/lib/collapse/themes/solar/pearl/index.js +1 -1
  29. package/lib/color-dialog/elements/color-palettes.js +1 -1
  30. package/lib/color-dialog/elements/grayscale-palettes.js +2 -2
  31. package/lib/color-dialog/elements/palettes.js +3 -3
  32. package/lib/color-dialog/helpers/value-model.js +1 -1
  33. package/lib/color-dialog/index.d.ts +1 -1
  34. package/lib/color-dialog/index.js +6 -6
  35. package/lib/combo-box/helpers/filter.d.ts +1 -1
  36. package/lib/combo-box/helpers/types.d.ts +1 -1
  37. package/lib/combo-box/index.d.ts +4 -4
  38. package/lib/combo-box/index.js +9 -9
  39. package/lib/counter/index.js +2 -2
  40. package/lib/datetime-picker/index.js +5 -5
  41. package/lib/datetime-picker/utils.js +1 -1
  42. package/lib/dialog/custom-elements.json +11 -0
  43. package/lib/dialog/custom-elements.md +4 -3
  44. package/lib/dialog/index.d.ts +18 -1
  45. package/lib/dialog/index.js +35 -10
  46. package/lib/email-field/index.d.ts +1 -1
  47. package/lib/email-field/index.js +2 -2
  48. package/lib/flag/index.js +3 -3
  49. package/lib/flag/utils/FlagLoader.d.ts +1 -1
  50. package/lib/flag/utils/FlagLoader.js +1 -1
  51. package/lib/header/index.js +2 -2
  52. package/lib/heatmap/helpers/color.d.ts +1 -1
  53. package/lib/heatmap/helpers/color.js +1 -1
  54. package/lib/heatmap/index.js +5 -5
  55. package/lib/icon/index.js +3 -3
  56. package/lib/icon/utils/IconLoader.d.ts +1 -1
  57. package/lib/icon/utils/IconLoader.js +1 -1
  58. package/lib/interactive-chart/helpers/types.d.ts +1 -1
  59. package/lib/interactive-chart/index.js +4 -4
  60. package/lib/item/helpers/types.d.ts +1 -1
  61. package/lib/item/index.js +3 -3
  62. package/lib/label/index.js +4 -4
  63. package/lib/layout/index.js +2 -2
  64. package/lib/led-gauge/index.js +2 -2
  65. package/lib/list/helpers/types.d.ts +1 -1
  66. package/lib/list/index.d.ts +1 -1
  67. package/lib/list/index.js +3 -3
  68. package/lib/list/renderer.d.ts +1 -1
  69. package/lib/loader/index.js +1 -1
  70. package/lib/multi-input/helpers/types.d.ts +1 -1
  71. package/lib/multi-input/index.js +6 -6
  72. package/lib/notification/elements/notification-tray.js +3 -3
  73. package/lib/notification/elements/notification.js +2 -2
  74. package/lib/number-field/index.d.ts +1 -1
  75. package/lib/number-field/index.js +4 -3
  76. package/lib/overlay/elements/overlay-backdrop.js +2 -2
  77. package/lib/overlay/elements/overlay-viewport.js +1 -1
  78. package/lib/overlay/elements/overlay.js +6 -6
  79. package/lib/overlay/managers/focus-manager.js +1 -1
  80. package/lib/overlay/managers/interaction-lock-manager.js +1 -1
  81. package/lib/overlay/managers/viewport-manager.js +1 -1
  82. package/lib/overlay/managers/zindex-manager.js +1 -1
  83. package/lib/overlay-menu/helpers/types.d.ts +1 -1
  84. package/lib/overlay-menu/index.js +6 -6
  85. package/lib/overlay-menu/managers/menu-manager.js +1 -1
  86. package/lib/pagination/index.d.ts +1 -1
  87. package/lib/pagination/index.js +5 -5
  88. package/lib/panel/index.js +2 -2
  89. package/lib/password-field/index.d.ts +2 -2
  90. package/lib/password-field/index.js +3 -3
  91. package/lib/pill/index.js +3 -3
  92. package/lib/progress-bar/index.js +3 -3
  93. package/lib/radio-button/index.d.ts +2 -2
  94. package/lib/radio-button/index.js +6 -6
  95. package/lib/rating/index.js +4 -4
  96. package/lib/search-field/index.d.ts +2 -2
  97. package/lib/search-field/index.js +3 -3
  98. package/lib/select/index.js +6 -6
  99. package/lib/sidebar-layout/index.js +4 -4
  100. package/lib/slider/index.js +14 -4
  101. package/lib/sparkline/index.js +4 -4
  102. package/lib/swing-gauge/index.js +5 -5
  103. package/lib/tab/custom-elements.json +13 -0
  104. package/lib/tab/custom-elements.md +1 -0
  105. package/lib/tab/index.d.ts +32 -14
  106. package/lib/tab/index.js +63 -35
  107. package/lib/tab-bar/custom-elements.json +12 -0
  108. package/lib/tab-bar/custom-elements.md +7 -0
  109. package/lib/tab-bar/index.d.ts +97 -7
  110. package/lib/tab-bar/index.js +250 -40
  111. package/lib/text-field/index.d.ts +1 -1
  112. package/lib/text-field/index.js +4 -4
  113. package/lib/time-picker/index.d.ts +1 -1
  114. package/lib/time-picker/index.js +9 -9
  115. package/lib/toggle/index.js +2 -2
  116. package/lib/tooltip/index.js +4 -4
  117. package/lib/tooltip/managers/tooltip-manager.js +2 -2
  118. package/lib/tornado-chart/elements/tornado-chart.js +2 -2
  119. package/lib/tornado-chart/elements/tornado-item.js +3 -3
  120. package/lib/tree/elements/tree-item.js +2 -2
  121. package/lib/tree/elements/tree.d.ts +1 -1
  122. package/lib/tree/elements/tree.js +2 -2
  123. package/lib/tree/helpers/types.d.ts +1 -1
  124. package/lib/tree/managers/tree-manager.d.ts +1 -1
  125. package/lib/tree-select/index.d.ts +3 -3
  126. package/lib/tree-select/index.js +9 -9
  127. package/lib/version.js +1 -1
  128. package/package.json +292 -23
  129. package/lib/accordion/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  130. package/lib/accordion/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  131. package/lib/accordion/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  132. package/lib/accordion/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  133. package/lib/appstate-bar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  134. package/lib/appstate-bar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  135. package/lib/appstate-bar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  136. package/lib/appstate-bar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  137. package/lib/autosuggest/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  138. package/lib/autosuggest/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  139. package/lib/autosuggest/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  140. package/lib/autosuggest/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  141. package/lib/button/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  142. package/lib/button/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  143. package/lib/button/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  144. package/lib/button/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  145. package/lib/button-bar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  146. package/lib/button-bar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  147. package/lib/button-bar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  148. package/lib/button-bar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  149. package/lib/calendar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  150. package/lib/calendar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  151. package/lib/calendar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  152. package/lib/calendar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  153. package/lib/canvas/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  154. package/lib/canvas/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  155. package/lib/canvas/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  156. package/lib/canvas/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  157. package/lib/card/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  158. package/lib/card/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  159. package/lib/card/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  160. package/lib/card/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  161. package/lib/chart/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  162. package/lib/chart/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  163. package/lib/chart/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  164. package/lib/chart/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  165. package/lib/checkbox/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  166. package/lib/checkbox/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  167. package/lib/checkbox/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  168. package/lib/checkbox/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  169. package/lib/clock/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  170. package/lib/clock/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  171. package/lib/clock/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  172. package/lib/clock/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  173. package/lib/collapse/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  174. package/lib/collapse/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  175. package/lib/collapse/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  176. package/lib/collapse/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  177. package/lib/color-dialog/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  178. package/lib/color-dialog/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  179. package/lib/color-dialog/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  180. package/lib/color-dialog/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  181. package/lib/combo-box/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  182. package/lib/combo-box/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  183. package/lib/combo-box/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  184. package/lib/combo-box/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  185. package/lib/counter/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  186. package/lib/counter/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  187. package/lib/counter/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  188. package/lib/counter/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  189. package/lib/datetime-picker/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  190. package/lib/datetime-picker/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  191. package/lib/datetime-picker/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  192. package/lib/datetime-picker/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  193. package/lib/dialog/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  194. package/lib/dialog/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  195. package/lib/dialog/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  196. package/lib/dialog/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  197. package/lib/email-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  198. package/lib/email-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  199. package/lib/email-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  200. package/lib/email-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  201. package/lib/flag/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  202. package/lib/flag/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  203. package/lib/flag/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  204. package/lib/flag/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  205. package/lib/header/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  206. package/lib/header/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  207. package/lib/header/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  208. package/lib/header/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  209. package/lib/heatmap/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  210. package/lib/heatmap/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  211. package/lib/heatmap/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  212. package/lib/heatmap/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  213. package/lib/icon/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  214. package/lib/icon/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  215. package/lib/icon/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  216. package/lib/icon/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  217. package/lib/interactive-chart/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  218. package/lib/interactive-chart/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  219. package/lib/interactive-chart/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  220. package/lib/interactive-chart/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  221. package/lib/item/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  222. package/lib/item/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  223. package/lib/item/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  224. package/lib/item/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  225. package/lib/label/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  226. package/lib/label/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  227. package/lib/label/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  228. package/lib/label/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  229. package/lib/layout/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  230. package/lib/layout/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  231. package/lib/layout/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  232. package/lib/layout/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  233. package/lib/led-gauge/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  234. package/lib/led-gauge/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  235. package/lib/led-gauge/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  236. package/lib/led-gauge/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  237. package/lib/list/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  238. package/lib/list/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  239. package/lib/list/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  240. package/lib/list/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  241. package/lib/loader/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  242. package/lib/loader/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  243. package/lib/loader/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  244. package/lib/loader/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  245. package/lib/multi-input/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  246. package/lib/multi-input/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  247. package/lib/multi-input/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  248. package/lib/multi-input/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  249. package/lib/notification/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  250. package/lib/notification/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  251. package/lib/notification/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  252. package/lib/notification/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  253. package/lib/number-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  254. package/lib/number-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  255. package/lib/number-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  256. package/lib/number-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  257. package/lib/overlay/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  258. package/lib/overlay/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  259. package/lib/overlay/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  260. package/lib/overlay/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  261. package/lib/overlay-menu/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  262. package/lib/overlay-menu/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  263. package/lib/overlay-menu/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  264. package/lib/overlay-menu/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  265. package/lib/pagination/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -6
  266. package/lib/pagination/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -6
  267. package/lib/pagination/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -6
  268. package/lib/pagination/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -6
  269. package/lib/panel/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  270. package/lib/panel/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  271. package/lib/panel/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  272. package/lib/panel/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  273. package/lib/password-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  274. package/lib/password-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  275. package/lib/password-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  276. package/lib/password-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  277. package/lib/pill/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  278. package/lib/pill/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  279. package/lib/pill/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  280. package/lib/pill/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  281. package/lib/progress-bar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  282. package/lib/progress-bar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  283. package/lib/progress-bar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  284. package/lib/progress-bar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  285. package/lib/radio-button/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  286. package/lib/radio-button/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  287. package/lib/radio-button/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  288. package/lib/radio-button/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  289. package/lib/rating/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  290. package/lib/rating/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  291. package/lib/rating/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  292. package/lib/rating/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  293. package/lib/search-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  294. package/lib/search-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  295. package/lib/search-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  296. package/lib/search-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  297. package/lib/select/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  298. package/lib/select/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  299. package/lib/select/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -5
  300. package/lib/select/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -5
  301. package/lib/sidebar-layout/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  302. package/lib/sidebar-layout/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  303. package/lib/sidebar-layout/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  304. package/lib/sidebar-layout/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  305. package/lib/slider/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  306. package/lib/slider/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  307. package/lib/slider/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  308. package/lib/slider/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  309. package/lib/sparkline/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  310. package/lib/sparkline/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  311. package/lib/sparkline/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  312. package/lib/sparkline/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  313. package/lib/swing-gauge/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  314. package/lib/swing-gauge/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  315. package/lib/swing-gauge/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  316. package/lib/swing-gauge/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  317. package/lib/tab/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  318. package/lib/tab/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  319. package/lib/tab/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  320. package/lib/tab/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  321. package/lib/tab-bar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  322. package/lib/tab-bar/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  323. package/lib/tab-bar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  324. package/lib/tab-bar/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  325. package/lib/text-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  326. package/lib/text-field/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  327. package/lib/text-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  328. package/lib/text-field/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  329. package/lib/time-picker/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  330. package/lib/time-picker/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  331. package/lib/time-picker/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -4
  332. package/lib/time-picker/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -4
  333. package/lib/toggle/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  334. package/lib/toggle/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  335. package/lib/toggle/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -2
  336. package/lib/toggle/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -2
  337. package/lib/tooltip/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  338. package/lib/tooltip/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  339. package/lib/tooltip/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -3
  340. package/lib/tooltip/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -3
  341. package/lib/tornado-chart/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -6
  342. package/lib/tornado-chart/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -6
  343. package/lib/tornado-chart/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -6
  344. package/lib/tornado-chart/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -6
  345. package/lib/tree/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  346. package/lib/tree/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  347. package/lib/tree/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -7
  348. package/lib/tree/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -7
  349. package/lib/tree-select/themes/halo/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -11
  350. package/lib/tree-select/themes/halo/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -11
  351. package/lib/tree-select/themes/solar/node_modules/@refinitiv-ui/elemental-theme/dark/index.js +0 -11
  352. package/lib/tree-select/themes/solar/node_modules/@refinitiv-ui/elemental-theme/light/index.js +0 -11
@@ -1,10 +1,10 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { css, html } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { query } from '@refinitiv-ui/core/decorators/query.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { query } from '@refinitiv-ui/core/lib/decorators/query.js';
6
6
  import { VERSION } from '../version.js';
7
- import { isIE } from '@refinitiv-ui/utils/browser.js';
7
+ import { isIE } from '@refinitiv-ui/utils/lib/browser.js';
8
8
  import { deregister as draggableDeregister, register as draggableRegister } from './draggable-element.js';
9
9
  import { Overlay } from '../overlay/index.js';
10
10
  import '../icon/index.js';
@@ -12,7 +12,7 @@ import '../panel/index.js';
12
12
  import '../header/index.js';
13
13
  import '../button/index.js';
14
14
  import { translate, TranslatePropertyKey } from '@refinitiv-ui/translate';
15
- import '@refinitiv-ui/phrasebook/locale/en/dialog.js';
15
+ import '@refinitiv-ui/phrasebook/lib/locale/en/dialog.js';
16
16
  /**
17
17
  * Popup window, designed to contain and show any HTML content.
18
18
  * It provides modal and dragging functionality,
@@ -47,6 +47,10 @@ import '@refinitiv-ui/phrasebook/locale/en/dialog.js';
47
47
  let Dialog = class Dialog extends Overlay {
48
48
  constructor() {
49
49
  super(...arguments);
50
+ /**
51
+ * Default role of the element
52
+ */
53
+ this.defaultRole = 'dialog';
50
54
  /**
51
55
  * Set Header/Title of the dialog
52
56
  */
@@ -147,7 +151,28 @@ let Dialog = class Dialog extends Overlay {
147
151
  shouldUpdate(changedProperties) {
148
152
  const shouldUpdate = super.shouldUpdate(changedProperties);
149
153
  return shouldUpdate
150
- || ((changedProperties.has('draggable') || changedProperties.has('header') || changedProperties.has(TranslatePropertyKey)) && this.opened);
154
+ || ((changedProperties.has('draggable') || changedProperties.has('header') || changedProperties.has('noInteractionLock') || changedProperties.has(TranslatePropertyKey)) && this.opened);
155
+ }
156
+ /**
157
+ * Compute property values that depend on other properties
158
+ * and are used in the rest of the update process.
159
+ * @param changedProperties Properties that has changed
160
+ * @returns {void}
161
+ */
162
+ willUpdate(changedProperties) {
163
+ // dialog only update when it is opened, so also checking `opened` change.
164
+ if (changedProperties.has('opened') || changedProperties.has('noInteractionLock')) {
165
+ this.setAttribute('aria-modal', String(!this.noInteractionLock));
166
+ }
167
+ }
168
+ /**
169
+ * Called after the component is first rendered
170
+ * @param changedProperties Properties which have changed
171
+ * @return {void}
172
+ */
173
+ firstUpdated(changedProperties) {
174
+ super.firstUpdated(changedProperties);
175
+ this.setAttribute('aria-modal', String(!this.noInteractionLock));
151
176
  }
152
177
  /**
153
178
  * Called after the element’s properties has been updated
@@ -283,7 +308,7 @@ let Dialog = class Dialog extends Overlay {
283
308
  get headerRegion() {
284
309
  return html `
285
310
  ${this.header === null ? this.t('HEADER') : this.header}
286
- <ef-icon part="close" icon="cross" slot="right" @tap="${this.defaultCancel}"></ef-icon>
311
+ <ef-icon aria-hidden="true" part="close" icon="cross" slot="right" @tap="${this.defaultCancel}"></ef-icon>
287
312
  `;
288
313
  }
289
314
  /**
@@ -293,9 +318,9 @@ let Dialog = class Dialog extends Overlay {
293
318
  */
294
319
  render() {
295
320
  return html `
296
- <ef-header drag-handle part="header">${this.headerRegion}</ef-header>
297
- <ef-panel part="content" spacing transparent>${this.contentRegion}</ef-panel>
298
- <div part="footer">${this.footerRegion}</div>
321
+ <ef-header drag-handle part="header">${this.headerRegion}</ef-header>
322
+ <ef-panel part="content" spacing transparent>${this.contentRegion}</ef-panel>
323
+ <div part="footer">${this.footerRegion}</div>
299
324
  `;
300
325
  }
301
326
  };
@@ -2,7 +2,7 @@ import { JSXInterface } from '../jsx';
2
2
  import { PropertyValues } from '@refinitiv-ui/core';
3
3
  import '../icon/index.js';
4
4
  import { TextField } from '../text-field/index.js';
5
- import { TemplateMap } from '@refinitiv-ui/core/directives/template-map.js';
5
+ import { TemplateMap } from '@refinitiv-ui/core/lib/directives/template-map.js';
6
6
  /**
7
7
  * A form control element for email.
8
8
  *
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
3
- import { property } from '@refinitiv-ui/core/decorators/property.js';
2
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
3
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
4
4
  import '../icon/index.js';
5
5
  import { TextField } from '../text-field/index.js';
6
6
  /**
package/lib/flag/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, svg, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { unsafeHTML } from '@refinitiv-ui/core/directives/unsafe-html.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { unsafeHTML } from '@refinitiv-ui/core/lib/directives/unsafe-html.js';
6
6
  import { VERSION } from '../version.js';
7
7
  import { FlagLoader } from './utils/FlagLoader.js';
8
8
  export { preload } from './utils/FlagLoader.js';
@@ -1,4 +1,4 @@
1
- import { CdnLoader } from '@refinitiv-ui/utils/loader.js';
1
+ import { CdnLoader } from '@refinitiv-ui/utils/lib/loader.js';
2
2
  /**
3
3
  * Caches and provides flag SVGs, Loaded either by name from CDN or directly by URL.
4
4
  * Uses singleton pattern
@@ -1,4 +1,4 @@
1
- import { CdnLoader, Deferred } from '@refinitiv-ui/utils/loader.js';
1
+ import { CdnLoader, Deferred } from '@refinitiv-ui/utils/lib/loader.js';
2
2
  const isUrl = (str) => (/^https?:\/\//i).test(str);
3
3
  /**
4
4
  * Caches and provides flag SVGs, Loaded either by name from CDN or directly by URL.
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, html, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
5
  import { VERSION } from '../version.js';
6
6
  /**
7
7
  * Use to identify and separate different sections of a page.
@@ -1,4 +1,4 @@
1
- import { ColorCommonInstance } from '@refinitiv-ui/utils/color.js';
1
+ import { ColorCommonInstance } from '@refinitiv-ui/utils/lib/color.js';
2
2
  import { interpolate } from 'd3-interpolate';
3
3
  /**
4
4
  * Check if the color is a light color
@@ -1,5 +1,5 @@
1
1
  /* istanbul ignore file */
2
- import { color, rgb, hsl } from '@refinitiv-ui/utils/color.js';
2
+ import { color, rgb, hsl } from '@refinitiv-ui/utils/lib/color.js';
3
3
  import { interpolate } from 'd3-interpolate';
4
4
  /**
5
5
  * Check if the color is a light color
@@ -1,11 +1,11 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ResponsiveElement, html, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { query } from '@refinitiv-ui/core/decorators/query.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { query } from '@refinitiv-ui/core/lib/decorators/query.js';
6
6
  import { VERSION } from '../version.js';
7
- import { MicroTaskRunner } from '@refinitiv-ui/utils/async.js';
8
- import { color } from '@refinitiv-ui/utils/color.js';
7
+ import { MicroTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
8
+ import { color } from '@refinitiv-ui/utils/lib/color.js';
9
9
  import '../canvas/index.js';
10
10
  import '../tooltip/index.js';
11
11
  import { Track } from './helpers/track.js';
package/lib/icon/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, svg, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { unsafeSVG } from '@refinitiv-ui/core/directives/unsafe-svg.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { unsafeSVG } from '@refinitiv-ui/core/lib/directives/unsafe-svg.js';
6
6
  import { VERSION } from '../version.js';
7
7
  import { IconLoader } from './utils/IconLoader.js';
8
8
  export { preload } from './utils/IconLoader.js';
@@ -1,4 +1,4 @@
1
- import { CdnLoader } from '@refinitiv-ui/utils/loader.js';
1
+ import { CdnLoader } from '@refinitiv-ui/utils/lib/loader.js';
2
2
  /**
3
3
  * Caches and provides icon SVGs, Loaded either by name from CDN or directly by URL.
4
4
  * Uses singleton pattern
@@ -1,4 +1,4 @@
1
- import { CdnLoader, Deferred } from '@refinitiv-ui/utils/loader.js';
1
+ import { CdnLoader, Deferred } from '@refinitiv-ui/utils/lib/loader.js';
2
2
  const isUrl = (str) => (/^(https?:\/{2}|\.?\/)/i).test(str);
3
3
  /**
4
4
  * Caches and provides icon SVGs, Loaded either by name from CDN or directly by URL.
@@ -1,5 +1,5 @@
1
1
  import type { LineData, BarData, HistogramData, DeepPartial, ChartOptions, SeriesPartialOptions, LineSeriesPartialOptions, AreaSeriesPartialOptions, BarSeriesPartialOptions, CandlestickSeriesPartialOptions, HistogramSeriesPartialOptions, LineStyleOptions, AreaStyleOptions, BarStyleOptions, CandlestickStyleOptions, HistogramStyleOptions, ISeriesApi, SeriesType } from 'lightweight-charts';
2
- import type { RGBColor, HSLColor } from '@refinitiv-ui/utils/color.js';
2
+ import type { RGBColor, HSLColor } from '@refinitiv-ui/utils/lib/color.js';
3
3
  declare type SeriesOptions = AreaSeriesPartialOptions | BarSeriesPartialOptions | CandlestickSeriesPartialOptions | HistogramSeriesPartialOptions | LineSeriesPartialOptions;
4
4
  declare type SeriesStyleOptions = LineStyleOptions & AreaStyleOptions & BarStyleOptions & CandlestickStyleOptions & HistogramStyleOptions;
5
5
  declare type SeriesData = LineData[] | BarData[] | HistogramData[];
@@ -1,11 +1,11 @@
1
1
  var InteractiveChart_1;
2
2
  import { __decorate } from "tslib";
3
3
  import { ResponsiveElement, html, css, DeprecationNotice } from '@refinitiv-ui/core';
4
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
5
- import { property } from '@refinitiv-ui/core/decorators/property.js';
6
- import { query } from '@refinitiv-ui/core/decorators/query.js';
4
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
5
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
6
+ import { query } from '@refinitiv-ui/core/lib/decorators/query.js';
7
7
  import { VERSION } from '../version.js';
8
- import { color as parseColor } from '@refinitiv-ui/utils/color.js';
8
+ import { color as parseColor } from '@refinitiv-ui/utils/lib/color.js';
9
9
  import { createChart as chart } from 'lightweight-charts';
10
10
  import '../tooltip/index.js';
11
11
  import { LegendStyle } from './helpers/types.js';
@@ -1,4 +1,4 @@
1
- import type { DataItem } from '@refinitiv-ui/utils/collection.js';
1
+ import type { DataItem } from '@refinitiv-ui/utils/lib/collection.js';
2
2
  export declare type ItemType = 'text' | 'header' | 'divider';
3
3
  interface CommonItem extends DataItem {
4
4
  /**
package/lib/item/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ControlElement, css, html } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { query } from '@refinitiv-ui/core/decorators/query.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { query } from '@refinitiv-ui/core/lib/decorators/query.js';
6
6
  import { VERSION } from '../version.js';
7
7
  import '../icon/index.js';
8
8
  import '../checkbox/index.js';
@@ -1,10 +1,10 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, html, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { styleMap } from '@refinitiv-ui/core/directives/style-map.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { styleMap } from '@refinitiv-ui/core/lib/directives/style-map.js';
6
6
  import { VERSION } from '../version.js';
7
- import { isIE } from '@refinitiv-ui/utils/browser.js';
7
+ import { isIE } from '@refinitiv-ui/utils/lib/browser.js';
8
8
  import { addTooltipCondition, removeTooltipCondition } from '../tooltip/index.js';
9
9
  /**
10
10
  * Configuration object
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ResponsiveElement, html, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
5
  import { VERSION } from '../version.js';
6
6
  /**
7
7
  * Layout component for creating responsive applications and components
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, html, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
5
  import { VERSION } from '../version.js';
6
6
  import '../canvas/index.js';
7
7
  const ZERO_MAP = {
@@ -1,3 +1,3 @@
1
- import type { CollectionComposer, DataItem } from '@refinitiv-ui/utils/collection.js';
1
+ import type { CollectionComposer, DataItem } from '@refinitiv-ui/utils/lib/collection.js';
2
2
  import type { ItemData } from '../../item';
3
3
  export declare type ListData<T extends DataItem = ItemData> = T[] | CollectionComposer<T> | null;
@@ -1,6 +1,6 @@
1
1
  import { JSXInterface } from '../jsx';
2
2
  import { ControlElement, CSSResultGroup, PropertyValues, TapEvent, TemplateResult } from '@refinitiv-ui/core';
3
- import { CollectionComposer, DataItem } from '@refinitiv-ui/utils/collection.js';
3
+ import { CollectionComposer, DataItem } from '@refinitiv-ui/utils/lib/collection.js';
4
4
  import type { ItemData } from '../item';
5
5
  import type { ListData } from './helpers/types';
6
6
  import { ListRenderer } from './helpers/list-renderer.js';
package/lib/list/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ControlElement, css, html, WarningNotice } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
5
  import { VERSION } from '../version.js';
6
- import { CollectionComposer } from '@refinitiv-ui/utils/collection.js';
6
+ import { CollectionComposer } from '@refinitiv-ui/utils/lib/collection.js';
7
7
  import { ListRenderer } from './helpers/list-renderer.js';
8
8
  import '../item/index.js';
9
9
  export { ListRenderer };
@@ -1,5 +1,5 @@
1
1
  import { ExtensibleFunction } from './extensible-function.js';
2
- import type { DataItem, CollectionComposer } from '@refinitiv-ui/utils/collection.js';
2
+ import type { DataItem, CollectionComposer } from '@refinitiv-ui/utils/lib/collection.js';
3
3
  /**
4
4
  * Render function interface
5
5
  * TODO: Move this to @refinitiv-ui/utils
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, html } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
4
  import { VERSION } from '../version.js';
5
5
  /**
6
6
  * Global cache for loader template parts
@@ -1,4 +1,4 @@
1
- import type { CollectionItem } from '@refinitiv-ui/utils/collection.js';
1
+ import type { CollectionItem } from '@refinitiv-ui/utils/lib/collection.js';
2
2
  export declare type SelectionIndex = number | null;
3
3
  export declare type MultiInputEvents = 'item-added' | 'item-removed' | 'item-error';
4
4
  export declare type MultiInputData = MultiInputDataItem[];
@@ -1,11 +1,11 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ControlElement, css, html } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { query } from '@refinitiv-ui/core/decorators/query.js';
6
- import { ifDefined } from '@refinitiv-ui/core/directives/if-defined.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { query } from '@refinitiv-ui/core/lib/decorators/query.js';
6
+ import { ifDefined } from '@refinitiv-ui/core/lib/directives/if-defined.js';
7
7
  import { VERSION } from '../version.js';
8
- import { CollectionComposer } from '@refinitiv-ui/utils/collection.js';
8
+ import { CollectionComposer } from '@refinitiv-ui/utils/lib/collection.js';
9
9
  import '../pill/index.js';
10
10
  import '../text-field/index.js';
11
11
  const hasChanged = (newVal, oldVal) => oldVal === undefined ? false : newVal !== oldVal;
@@ -445,7 +445,7 @@ let MultiInput = class MultiInput extends ControlElement {
445
445
  onPillClearsHandler(event) {
446
446
  const pill = event.target;
447
447
  const index = pill.getAttribute('index');
448
- if (index == null) {
448
+ if (index === null) {
449
449
  return;
450
450
  }
451
451
  const items = this.composer.queryItems(() => true);
@@ -1,9 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ResponsiveElement, html } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
5
  import { VERSION } from '../../version.js';
6
- import { TimeoutTaskRunner } from '@refinitiv-ui/utils/async.js';
6
+ import { TimeoutTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
7
7
  let NotificationTray = class NotificationTray extends ResponsiveElement {
8
8
  constructor() {
9
9
  super(...arguments);
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, html, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
5
  import { VERSION } from '../../version.js';
6
6
  import '../../icon/index.js';
7
7
  /**
@@ -1,6 +1,6 @@
1
1
  import { JSXInterface } from '../jsx';
2
2
  import { FormFieldElement, CSSResultGroup, TemplateResult, PropertyValues, TapEvent } from '@refinitiv-ui/core';
3
- import { TemplateMap } from '@refinitiv-ui/core/directives/template-map.js';
3
+ import { TemplateMap } from '@refinitiv-ui/core/lib/directives/template-map.js';
4
4
  import '../icon/index.js';
5
5
  declare type SelectionDirection = 'forward' | 'backward' | 'none';
6
6
  declare enum Direction {
@@ -1,8 +1,8 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { FormFieldElement, html, css, FocusedPropertyKey } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { query } from '@refinitiv-ui/core/decorators/query.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { query } from '@refinitiv-ui/core/lib/decorators/query.js';
6
6
  import { VERSION } from '../version.js';
7
7
  import '../icon/index.js';
8
8
  const NUMBER_PATTERN = '^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$';
@@ -658,6 +658,7 @@ let NumberField = class NumberField extends FormFieldElement {
658
658
  * @inheritDoc
659
659
  */
660
660
  /* istanbul ignore next */
661
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
661
662
  setSelectionRange(startSelection, endSelection, selectionDirection) {
662
663
  throw new Error('Failed to execute \'setSelectionRange\' on \'NumberField\': The element does not support selection.');
663
664
  }
@@ -1,8 +1,8 @@
1
1
  var OverlayBackdrop_1;
2
2
  import { __decorate } from "tslib";
3
3
  import { BasicElement, css, html } from '@refinitiv-ui/core';
4
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
5
- import { property } from '@refinitiv-ui/core/decorators/property.js';
4
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
5
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
6
6
  import { VERSION } from '../../version.js';
7
7
  /**
8
8
  * A private element to show backdrop for overlay
@@ -1,7 +1,7 @@
1
1
  var OverlayViewport_1;
2
2
  import { __decorate } from "tslib";
3
3
  import { ResponsiveElement, css, html } from '@refinitiv-ui/core';
4
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
5
5
  import { VERSION } from '../../version.js';
6
6
  /**
7
7
  * A private element to find overlay size boundaries
@@ -1,11 +1,11 @@
1
1
  var Overlay_1;
2
2
  import { __decorate } from "tslib";
3
3
  import { ResponsiveElement, html, css } from '@refinitiv-ui/core';
4
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
5
- import { property } from '@refinitiv-ui/core/decorators/property.js';
4
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
5
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
6
6
  import { VERSION } from '../../version.js';
7
- import { MicroTaskRunner, AnimationTaskRunner } from '@refinitiv-ui/utils/async.js';
8
- import { isIE, isEdge } from '@refinitiv-ui/utils/browser.js';
7
+ import { MicroTaskRunner, AnimationTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
8
+ import { isIE, isEdge } from '@refinitiv-ui/utils/lib/browser.js';
9
9
  import { DEFAULT_ALIGN, DEFAULT_TARGET_STRATEGY } from '../helpers/types.js';
10
10
  import { valueOrZero, valueOrNull } from '../helpers/functions.js';
11
11
  import { applyLock } from '../managers/interaction-lock-manager.js';
@@ -631,7 +631,7 @@ let Overlay = Overlay_1 = class Overlay extends ResponsiveElement {
631
631
  this.setOpened(false);
632
632
  });
633
633
  }
634
- const enablingFocusManagement = (opening && !this.noFocusManagement) || (opened && changedProperties.get('noFocusManagement'));
634
+ const enablingFocusManagement = (opening && !this.noFocusManagement) || (opened && !!changedProperties.get('noFocusManagement'));
635
635
  const disablingFocusManagement = opened && changedProperties.get('noFocusManagement') === false;
636
636
  if (enablingFocusManagement) {
637
637
  focusableRegister(this);
@@ -643,7 +643,7 @@ let Overlay = Overlay_1 = class Overlay extends ResponsiveElement {
643
643
  applyLock();
644
644
  }
645
645
  const enablingBackdrop = (opening && this.withBackdrop) || (opened && changedProperties.get('withBackdrop') === false);
646
- const disablingBackdrop = opened && changedProperties.get('withBackdrop');
646
+ const disablingBackdrop = opened && !!changedProperties.get('withBackdrop');
647
647
  if (enablingBackdrop) {
648
648
  backdropRegister(this);
649
649
  }
@@ -1,4 +1,4 @@
1
- import { AnimationTaskRunner } from '@refinitiv-ui/utils/async.js';
1
+ import { AnimationTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
2
2
  import { getOverlays } from './zindex-manager.js';
3
3
  import { FocusableHelper } from '@refinitiv-ui/core';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { AnimationTaskRunner } from '@refinitiv-ui/utils/async.js';
1
+ import { AnimationTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
2
2
  import { getOverlays } from './zindex-manager.js';
3
3
  /**
4
4
  * Check if two arrays are shallow equal
@@ -1,4 +1,4 @@
1
- import { AnimationTaskRunner } from '@refinitiv-ui/utils/async.js';
1
+ import { AnimationTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
2
2
  import '../elements/overlay-viewport.js';
3
3
  /**
4
4
  * Default values for area info
@@ -1,4 +1,4 @@
1
- import { AfterRenderTaskRunner } from '@refinitiv-ui/utils/async.js';
1
+ import { AfterRenderTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
2
2
  export const ZIndex = 103; /* initial z-index to match Polymer. 102 is used for backdrop */
3
3
  /**
4
4
  * Z-index manager monitors z-indexes and ensures that the last opened/last
@@ -1,4 +1,4 @@
1
- import type { CollectionComposer } from '@refinitiv-ui/utils/collection.js';
1
+ import type { CollectionComposer } from '@refinitiv-ui/utils/lib/collection';
2
2
  import type { OverlayMenu } from '../index';
3
3
  import type { Item, ItemData } from '../../item';
4
4
  export declare type NestedMenu = {
@@ -1,13 +1,13 @@
1
1
  var OverlayMenu_1;
2
2
  import { __decorate } from "tslib";
3
3
  import { html, css, WarningNotice } from '@refinitiv-ui/core';
4
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
5
- import { property } from '@refinitiv-ui/core/decorators/property.js';
6
- import { ifDefined } from '@refinitiv-ui/core/directives/if-defined.js';
4
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
5
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
6
+ import { ifDefined } from '@refinitiv-ui/core/lib/directives/if-defined.js';
7
7
  import { VERSION } from '../version.js';
8
- import { AnimationTaskRunner } from '@refinitiv-ui/utils/async.js';
9
- import { CollectionComposer } from '@refinitiv-ui/utils/collection.js';
10
- import { uuid } from '@refinitiv-ui/utils/uuid.js';
8
+ import { AnimationTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
9
+ import { CollectionComposer } from '@refinitiv-ui/utils/lib/collection.js';
10
+ import { uuid } from '@refinitiv-ui/utils/lib/uuid.js';
11
11
  import '../icon/index.js';
12
12
  import '../item/index.js';
13
13
  import { Item } from '../item/index.js';
@@ -1,4 +1,4 @@
1
- import { AfterRenderTaskRunner } from '@refinitiv-ui/utils/async.js';
1
+ import { AfterRenderTaskRunner } from '@refinitiv-ui/utils/lib/async.js';
2
2
  import { OverlayMenu } from '../index.js';
3
3
  import { getOverlays } from '../../overlay/managers/zindex-manager.js';
4
4
  /**
@@ -4,7 +4,7 @@ import '../button/index.js';
4
4
  import '../button-bar/index.js';
5
5
  import '../layout/index.js';
6
6
  import '../text-field/index.js';
7
- import '@refinitiv-ui/phrasebook/locale/en/pagination.js';
7
+ import '@refinitiv-ui/phrasebook/lib/locale/en/pagination.js';
8
8
  import { Translate } from '@refinitiv-ui/translate';
9
9
  /**
10
10
  * Used to control and navigate through multiple pages
@@ -1,15 +1,15 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, html, css, WarningNotice, DeprecationNotice } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
5
- import { state } from '@refinitiv-ui/core/decorators/state.js';
6
- import { query } from '@refinitiv-ui/core/decorators/query.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
+ import { state } from '@refinitiv-ui/core/lib/decorators/state.js';
6
+ import { query } from '@refinitiv-ui/core/lib/decorators/query.js';
7
7
  import { VERSION } from '../version.js';
8
8
  import '../button/index.js';
9
9
  import '../button-bar/index.js';
10
10
  import '../layout/index.js';
11
11
  import '../text-field/index.js';
12
- import '@refinitiv-ui/phrasebook/locale/en/pagination.js';
12
+ import '@refinitiv-ui/phrasebook/lib/locale/en/pagination.js';
13
13
  import { translate } from '@refinitiv-ui/translate';
14
14
  const pageDeprecation = new DeprecationNotice('Property `page` is deprecated, use `value` instead.');
15
15
  const pageSizeDeprecation = new DeprecationNotice('Property `pageSize ` is deprecated, use `max` instead.');
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { BasicElement, html, css } from '@refinitiv-ui/core';
3
- import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
- import { property } from '@refinitiv-ui/core/decorators/property.js';
3
+ import { customElement } from '@refinitiv-ui/core/lib/decorators/custom-element.js';
4
+ import { property } from '@refinitiv-ui/core/lib/decorators/property.js';
5
5
  import { VERSION } from '../version.js';
6
6
  /**
7
7
  * A container for components.
@@ -1,9 +1,9 @@
1
1
  import { JSXInterface } from '../jsx';
2
2
  import { PropertyValues, TemplateResult } from '@refinitiv-ui/core';
3
- import { TemplateMap } from '@refinitiv-ui/core/directives/template-map.js';
3
+ import { TemplateMap } from '@refinitiv-ui/core/lib/directives/template-map.js';
4
4
  import { TextField } from '../text-field/index.js';
5
5
  import '../icon/index.js';
6
- import '@refinitiv-ui/phrasebook/locale/en/password-field.js';
6
+ import '@refinitiv-ui/phrasebook/lib/locale/en/password-field.js';
7
7
  import { Translate } from '@refinitiv-ui/translate';
8
8
  /**
9
9
  * A form control element for password.