@refinitiv-ui/elements 6.5.3 → 6.6.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 (299) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/lib/accordion/index.js +1 -3
  3. package/lib/appstate-bar/custom-elements.json +2 -2
  4. package/lib/appstate-bar/custom-elements.md +4 -4
  5. package/lib/appstate-bar/index.d.ts +2 -2
  6. package/lib/appstate-bar/index.js +3 -11
  7. package/lib/appstate-bar/themes/halo/dark/index.js +1 -1
  8. package/lib/appstate-bar/themes/halo/light/index.js +1 -1
  9. package/lib/appstate-bar/themes/solar/charcoal/index.js +1 -1
  10. package/lib/appstate-bar/themes/solar/pearl/index.js +1 -1
  11. package/lib/autosuggest/custom-elements.json +8 -8
  12. package/lib/autosuggest/custom-elements.md +8 -8
  13. package/lib/autosuggest/helpers/types.d.ts +18 -18
  14. package/lib/autosuggest/index.d.ts +8 -8
  15. package/lib/autosuggest/index.js +79 -81
  16. package/lib/button/custom-elements.json +1 -1
  17. package/lib/button/custom-elements.md +1 -1
  18. package/lib/button/index.d.ts +1 -1
  19. package/lib/button/index.js +2 -4
  20. package/lib/button/themes/halo/dark/index.js +2 -1
  21. package/lib/button/themes/halo/light/index.js +2 -1
  22. package/lib/button/themes/solar/charcoal/index.js +2 -1
  23. package/lib/button/themes/solar/pearl/index.js +2 -1
  24. package/lib/button-bar/index.js +1 -3
  25. package/lib/calendar/custom-elements.json +2 -2
  26. package/lib/calendar/custom-elements.md +4 -4
  27. package/lib/calendar/index.d.ts +2 -2
  28. package/lib/calendar/index.js +3 -5
  29. package/lib/calendar/themes/halo/dark/index.js +1 -1
  30. package/lib/calendar/themes/halo/light/index.js +1 -1
  31. package/lib/calendar/themes/solar/charcoal/index.js +1 -1
  32. package/lib/calendar/themes/solar/pearl/index.js +1 -1
  33. package/lib/calendar/types.d.ts +5 -5
  34. package/lib/calendar/utils.d.ts +1 -1
  35. package/lib/canvas/custom-elements.json +1 -1
  36. package/lib/canvas/custom-elements.md +1 -1
  37. package/lib/canvas/index.d.ts +1 -1
  38. package/lib/canvas/index.js +9 -11
  39. package/lib/card/custom-elements.json +1 -1
  40. package/lib/card/custom-elements.md +3 -3
  41. package/lib/card/helpers/types.d.ts +1 -1
  42. package/lib/card/index.d.ts +1 -1
  43. package/lib/card/index.js +2 -4
  44. package/lib/chart/custom-elements.json +4 -0
  45. package/lib/chart/custom-elements.md +1 -0
  46. package/lib/chart/helpers/merge.d.ts +2 -2
  47. package/lib/chart/helpers/types.d.ts +4 -4
  48. package/lib/chart/index.d.ts +1 -1
  49. package/lib/chart/index.js +1 -3
  50. package/lib/chart/themes/halo/dark/index.js +1 -1
  51. package/lib/chart/themes/halo/light/index.js +1 -1
  52. package/lib/chart/themes/solar/charcoal/index.js +1 -1
  53. package/lib/chart/themes/solar/pearl/index.js +1 -1
  54. package/lib/checkbox/custom-elements.json +1 -1
  55. package/lib/checkbox/custom-elements.md +3 -3
  56. package/lib/checkbox/index.d.ts +1 -1
  57. package/lib/checkbox/index.js +2 -4
  58. package/lib/clock/custom-elements.json +2 -2
  59. package/lib/clock/custom-elements.md +2 -2
  60. package/lib/clock/index.d.ts +2 -2
  61. package/lib/clock/index.js +3 -5
  62. package/lib/clock/utils/TickManager.d.ts +1 -1
  63. package/lib/collapse/custom-elements.json +1 -1
  64. package/lib/collapse/custom-elements.md +3 -3
  65. package/lib/collapse/index.d.ts +1 -1
  66. package/lib/collapse/index.js +2 -4
  67. package/lib/color-dialog/custom-elements.json +2 -2
  68. package/lib/color-dialog/custom-elements.md +4 -4
  69. package/lib/color-dialog/helpers/value-model.js +3 -1
  70. package/lib/color-dialog/index.d.ts +2 -2
  71. package/lib/color-dialog/index.js +3 -5
  72. package/lib/color-picker/custom-elements.json +1 -1
  73. package/lib/color-picker/custom-elements.md +3 -3
  74. package/lib/color-picker/index.d.ts +1 -1
  75. package/lib/color-picker/index.js +2 -4
  76. package/lib/combo-box/custom-elements.json +3 -6
  77. package/lib/combo-box/custom-elements.md +5 -6
  78. package/lib/combo-box/helpers/types.d.ts +2 -2
  79. package/lib/combo-box/index.d.ts +3 -12
  80. package/lib/combo-box/index.js +7 -20
  81. package/lib/combo-box/themes/halo/dark/index.js +2 -1
  82. package/lib/combo-box/themes/halo/light/index.js +2 -1
  83. package/lib/combo-box/themes/solar/charcoal/index.js +2 -1
  84. package/lib/combo-box/themes/solar/pearl/index.js +2 -1
  85. package/lib/counter/index.js +1 -3
  86. package/lib/counter/themes/halo/dark/index.js +2 -1
  87. package/lib/counter/themes/halo/light/index.js +2 -1
  88. package/lib/counter/themes/solar/charcoal/index.js +2 -1
  89. package/lib/counter/themes/solar/pearl/index.js +2 -1
  90. package/lib/datetime-field/types.d.ts +3 -3
  91. package/lib/datetime-picker/custom-elements.json +4 -4
  92. package/lib/datetime-picker/custom-elements.md +4 -4
  93. package/lib/datetime-picker/index.d.ts +4 -4
  94. package/lib/datetime-picker/index.js +5 -7
  95. package/lib/datetime-picker/themes/halo/dark/index.js +2 -1
  96. package/lib/datetime-picker/themes/halo/light/index.js +2 -1
  97. package/lib/datetime-picker/themes/solar/charcoal/index.js +2 -1
  98. package/lib/datetime-picker/themes/solar/pearl/index.js +2 -1
  99. package/lib/datetime-picker/types.d.ts +1 -1
  100. package/lib/dialog/custom-elements.json +1 -1
  101. package/lib/dialog/custom-elements.md +1 -1
  102. package/lib/dialog/index.d.ts +1 -1
  103. package/lib/dialog/index.js +2 -4
  104. package/lib/email-field/custom-elements.json +3 -3
  105. package/lib/email-field/custom-elements.md +5 -5
  106. package/lib/email-field/index.d.ts +3 -3
  107. package/lib/email-field/index.js +4 -6
  108. package/lib/email-field/themes/halo/dark/index.js +2 -1
  109. package/lib/email-field/themes/halo/light/index.js +2 -1
  110. package/lib/email-field/themes/solar/charcoal/index.js +2 -1
  111. package/lib/email-field/themes/solar/pearl/index.js +2 -1
  112. package/lib/events.d.ts +13 -13
  113. package/lib/flag/index.js +1 -3
  114. package/lib/header/index.js +1 -3
  115. package/lib/header/themes/halo/dark/index.js +1 -1
  116. package/lib/header/themes/halo/light/index.js +1 -1
  117. package/lib/header/themes/solar/charcoal/index.js +1 -1
  118. package/lib/header/themes/solar/pearl/index.js +1 -1
  119. package/lib/heatmap/helpers/types.d.ts +7 -7
  120. package/lib/heatmap/index.js +118 -120
  121. package/lib/icon/index.js +1 -3
  122. package/lib/interactive-chart/custom-elements.json +1 -1
  123. package/lib/interactive-chart/custom-elements.md +3 -3
  124. package/lib/interactive-chart/helpers/merge.d.ts +2 -2
  125. package/lib/interactive-chart/helpers/types.d.ts +7 -7
  126. package/lib/interactive-chart/index.d.ts +1 -1
  127. package/lib/interactive-chart/index.js +2 -4
  128. package/lib/item/custom-elements.json +4 -4
  129. package/lib/item/custom-elements.md +2 -2
  130. package/lib/item/helpers/types.d.ts +2 -2
  131. package/lib/item/index.d.ts +2 -1
  132. package/lib/item/index.js +3 -4
  133. package/lib/label/index.js +1 -3
  134. package/lib/layout/index.js +1 -3
  135. package/lib/led-gauge/index.js +8 -10
  136. package/lib/list/custom-elements.json +1 -1
  137. package/lib/list/custom-elements.md +3 -3
  138. package/lib/list/elements/list.d.ts +1 -1
  139. package/lib/list/elements/list.js +5 -8
  140. package/lib/list/helpers/renderer.d.ts +0 -4
  141. package/lib/list/helpers/renderer.js +5 -5
  142. package/lib/list/helpers/types.d.ts +1 -1
  143. package/lib/loader/index.js +1 -3
  144. package/lib/multi-input/custom-elements.json +5 -5
  145. package/lib/multi-input/custom-elements.md +5 -5
  146. package/lib/multi-input/helpers/types.d.ts +3 -3
  147. package/lib/multi-input/index.d.ts +5 -17
  148. package/lib/multi-input/index.js +6 -20
  149. package/lib/multi-input/themes/halo/dark/index.js +1 -1
  150. package/lib/multi-input/themes/halo/light/index.js +1 -1
  151. package/lib/multi-input/themes/solar/charcoal/index.js +1 -1
  152. package/lib/multi-input/themes/solar/pearl/index.js +1 -1
  153. package/lib/notification/custom-elements.json +2 -2
  154. package/lib/notification/custom-elements.md +4 -4
  155. package/lib/notification/elements/notification-tray.js +1 -3
  156. package/lib/notification/elements/notification.d.ts +2 -2
  157. package/lib/notification/elements/notification.js +3 -5
  158. package/lib/notification/helpers/types.d.ts +2 -2
  159. package/lib/number-field/custom-elements.json +2 -2
  160. package/lib/number-field/custom-elements.md +4 -4
  161. package/lib/number-field/index.d.ts +3 -3
  162. package/lib/number-field/index.js +3 -5
  163. package/lib/number-field/themes/halo/dark/index.js +2 -1
  164. package/lib/number-field/themes/halo/light/index.js +2 -1
  165. package/lib/number-field/themes/solar/charcoal/index.js +2 -1
  166. package/lib/number-field/themes/solar/pearl/index.js +2 -1
  167. package/lib/overlay/custom-elements.json +6 -9
  168. package/lib/overlay/custom-elements.md +7 -8
  169. package/lib/overlay/elements/overlay.d.ts +7 -7
  170. package/lib/overlay/elements/overlay.js +10 -19
  171. package/lib/overlay/helpers/types.d.ts +13 -13
  172. package/lib/overlay/managers/close-manager.d.ts +1 -1
  173. package/lib/overlay/managers/zindex-manager.d.ts +1 -1
  174. package/lib/overlay-menu/custom-elements.json +2 -2
  175. package/lib/overlay-menu/custom-elements.md +2 -2
  176. package/lib/overlay-menu/helpers/types.d.ts +2 -2
  177. package/lib/overlay-menu/index.d.ts +2 -2
  178. package/lib/overlay-menu/index.js +30 -32
  179. package/lib/pagination/custom-elements.json +1 -1
  180. package/lib/pagination/custom-elements.md +3 -3
  181. package/lib/pagination/index.d.ts +1 -2
  182. package/lib/pagination/index.js +2 -5
  183. package/lib/pagination/themes/halo/dark/index.js +1 -1
  184. package/lib/pagination/themes/halo/light/index.js +1 -1
  185. package/lib/pagination/themes/solar/charcoal/index.js +1 -1
  186. package/lib/pagination/themes/solar/pearl/index.js +1 -1
  187. package/lib/panel/index.js +1 -3
  188. package/lib/password-field/custom-elements.json +2 -6
  189. package/lib/password-field/custom-elements.md +4 -5
  190. package/lib/password-field/index.d.ts +2 -3
  191. package/lib/password-field/index.js +3 -6
  192. package/lib/password-field/themes/halo/dark/index.js +2 -1
  193. package/lib/password-field/themes/halo/light/index.js +2 -1
  194. package/lib/password-field/themes/solar/charcoal/index.js +2 -1
  195. package/lib/password-field/themes/solar/pearl/index.js +2 -1
  196. package/lib/pill/custom-elements.json +1 -1
  197. package/lib/pill/custom-elements.md +3 -3
  198. package/lib/pill/index.d.ts +1 -1
  199. package/lib/pill/index.js +2 -4
  200. package/lib/pill/themes/halo/dark/index.js +2 -1
  201. package/lib/pill/themes/halo/light/index.js +2 -1
  202. package/lib/pill/themes/solar/charcoal/index.js +2 -1
  203. package/lib/pill/themes/solar/pearl/index.js +2 -1
  204. package/lib/progress-bar/index.js +1 -3
  205. package/lib/radio-button/custom-elements.json +1 -1
  206. package/lib/radio-button/custom-elements.md +3 -3
  207. package/lib/radio-button/index.d.ts +1 -1
  208. package/lib/radio-button/index.js +2 -4
  209. package/lib/rating/custom-elements.json +1 -1
  210. package/lib/rating/custom-elements.md +3 -3
  211. package/lib/rating/index.d.ts +1 -1
  212. package/lib/rating/index.js +2 -4
  213. package/lib/search-field/custom-elements.json +3 -3
  214. package/lib/search-field/custom-elements.md +5 -5
  215. package/lib/search-field/index.d.ts +3 -3
  216. package/lib/search-field/index.js +4 -6
  217. package/lib/search-field/themes/halo/dark/index.js +2 -1
  218. package/lib/search-field/themes/halo/light/index.js +2 -1
  219. package/lib/search-field/themes/solar/charcoal/index.js +2 -1
  220. package/lib/search-field/themes/solar/pearl/index.js +2 -1
  221. package/lib/select/custom-elements.json +2 -2
  222. package/lib/select/custom-elements.md +4 -4
  223. package/lib/select/helpers/types.d.ts +2 -2
  224. package/lib/select/index.d.ts +2 -2
  225. package/lib/select/index.js +4 -5
  226. package/lib/select/themes/halo/dark/index.js +2 -1
  227. package/lib/select/themes/halo/light/index.js +2 -1
  228. package/lib/select/themes/solar/charcoal/index.js +2 -1
  229. package/lib/select/themes/solar/pearl/index.js +2 -1
  230. package/lib/sidebar-layout/index.js +1 -3
  231. package/lib/slider/custom-elements.json +3 -3
  232. package/lib/slider/custom-elements.md +5 -5
  233. package/lib/slider/index.d.ts +3 -3
  234. package/lib/slider/index.js +100 -102
  235. package/lib/sparkline/index.js +1 -3
  236. package/lib/swing-gauge/index.js +1 -3
  237. package/lib/swing-gauge/types.d.ts +1 -1
  238. package/lib/tab/custom-elements.json +1 -1
  239. package/lib/tab/custom-elements.md +3 -3
  240. package/lib/tab/index.d.ts +1 -1
  241. package/lib/tab/index.js +2 -4
  242. package/lib/tab/themes/halo/dark/index.js +1 -1
  243. package/lib/tab/themes/halo/light/index.js +1 -1
  244. package/lib/tab/themes/solar/charcoal/index.js +1 -1
  245. package/lib/tab/themes/solar/pearl/index.js +1 -1
  246. package/lib/tab-bar/custom-elements.json +1 -1
  247. package/lib/tab-bar/custom-elements.md +3 -3
  248. package/lib/tab-bar/index.d.ts +1 -1
  249. package/lib/tab-bar/index.js +2 -4
  250. package/lib/text-field/custom-elements.json +3 -3
  251. package/lib/text-field/custom-elements.md +5 -5
  252. package/lib/text-field/index.d.ts +3 -3
  253. package/lib/text-field/index.js +4 -6
  254. package/lib/text-field/themes/halo/dark/index.js +2 -1
  255. package/lib/text-field/themes/halo/light/index.js +2 -1
  256. package/lib/text-field/themes/solar/charcoal/index.js +2 -1
  257. package/lib/text-field/themes/solar/pearl/index.js +2 -1
  258. package/lib/time-picker/custom-elements.json +1 -1
  259. package/lib/time-picker/custom-elements.md +3 -3
  260. package/lib/time-picker/index.d.ts +1 -1
  261. package/lib/time-picker/index.js +2 -4
  262. package/lib/time-picker/themes/halo/dark/index.js +2 -1
  263. package/lib/time-picker/themes/halo/light/index.js +2 -1
  264. package/lib/time-picker/themes/solar/charcoal/index.js +2 -1
  265. package/lib/time-picker/themes/solar/pearl/index.js +2 -1
  266. package/lib/toggle/custom-elements.json +1 -1
  267. package/lib/toggle/custom-elements.md +3 -3
  268. package/lib/toggle/index.d.ts +1 -1
  269. package/lib/toggle/index.js +2 -4
  270. package/lib/toggle/themes/halo/dark/index.js +1 -1
  271. package/lib/toggle/themes/halo/light/index.js +1 -1
  272. package/lib/toggle/themes/solar/charcoal/index.js +1 -1
  273. package/lib/toggle/themes/solar/pearl/index.js +1 -1
  274. package/lib/tooltip/helpers/types.d.ts +10 -10
  275. package/lib/tooltip/index.js +1 -3
  276. package/lib/tornado-chart/elements/tornado-chart.js +1 -3
  277. package/lib/tornado-chart/themes/halo/dark/index.js +1 -1
  278. package/lib/tornado-chart/themes/halo/light/index.js +1 -1
  279. package/lib/tornado-chart/themes/solar/charcoal/index.js +1 -1
  280. package/lib/tornado-chart/themes/solar/pearl/index.js +1 -1
  281. package/lib/tree/custom-elements.json +2 -2
  282. package/lib/tree/custom-elements.md +2 -2
  283. package/lib/tree/elements/tree-item.js +1 -3
  284. package/lib/tree/elements/tree.d.ts +2 -2
  285. package/lib/tree/elements/tree.js +2 -2
  286. package/lib/tree/helpers/renderer.d.ts +0 -4
  287. package/lib/tree/helpers/renderer.js +5 -5
  288. package/lib/tree/helpers/types.d.ts +2 -2
  289. package/lib/tree-select/custom-elements.json +7 -7
  290. package/lib/tree-select/custom-elements.md +7 -7
  291. package/lib/tree-select/helpers/types.d.ts +2 -2
  292. package/lib/tree-select/index.d.ts +5 -6
  293. package/lib/tree-select/index.js +15 -18
  294. package/lib/tree-select/themes/halo/dark/index.js +2 -1
  295. package/lib/tree-select/themes/halo/light/index.js +2 -1
  296. package/lib/tree-select/themes/solar/charcoal/index.js +2 -1
  297. package/lib/tree-select/themes/solar/pearl/index.js +2 -1
  298. package/lib/version.js +1 -1
  299. package/package.json +9 -9
@@ -25,107 +25,11 @@ import { clamp, preventDefault, isDecimalNumber, countDecimalPlace } from './uti
25
25
  * @attr {boolean} disabled - Set disabled state
26
26
  * @prop {boolean} [disabled=false] - Set disabled state
27
27
  *
28
- * @fires value-changed - Fired when the `value` changes.
29
- * @fires from-changed - Fired when the `from` changes.
30
- * @fires to-changed - Fired when the `to` changes.
28
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
29
+ * @fires from-changed - Fired when the user changes from's value. The event is not triggered if `from` property is changed programmatically.
30
+ * @fires to-changed - Fired when the user changes to's value. The event is not triggered if `to` property is changed programmatically.
31
31
  */
32
32
  let Slider = class Slider extends ControlElement {
33
- constructor() {
34
- super();
35
- /**
36
- * Whether if the thumb is being drag
37
- */
38
- this.dragging = false;
39
- this.valuePrevious = '';
40
- this.fromPrevious = '';
41
- this.toPrevious = '';
42
- /**
43
- * Specified size of increment or decrement jump between value.
44
- */
45
- this.step = '1';
46
- /**
47
- * Set minimum value of slider.
48
- */
49
- this.min = '0';
50
- /**
51
- * Slider maximum value of slider.
52
- */
53
- this.max = '100';
54
- /**
55
- * Uses with `range`. Low value of slider in range mode.
56
- */
57
- this.from = '0';
58
- /**
59
- * Uses with `range`. High value of slider in range mode
60
- */
61
- this.to = '100';
62
- /**
63
- * Set slider appearances to show pin mode.
64
- * @ignore
65
- * NOTE: Pin isn't applicable in Halo. Hide this from document
66
- */
67
- this.pin = false;
68
- /**
69
- * Set slider to range mode. Instead of a single value, slider will provide `from` and `to`.
70
- */
71
- this.range = false;
72
- /**
73
- * Show steps marker on slider.
74
- */
75
- this.showSteps = false;
76
- /**
77
- * Show input number field.
78
- */
79
- this.showInputField = null;
80
- /**
81
- * Uses with `range`. Set minimum allowance value (distance) between `from` and `to`.
82
- */
83
- this.minRange = '0';
84
- /**
85
- * Slider element reference
86
- */
87
- this.sliderRef = createRef();
88
- /**
89
- * Slider's track reference
90
- */
91
- this.trackRef = createRef();
92
- /**
93
- * From value thumb reference, rendered only in range mode
94
- */
95
- this.fromThumbRef = createRef();
96
- /**
97
- * To value thumb reference, rendered only in range mode
98
- */
99
- this.toThumbRef = createRef();
100
- /**
101
- * Value thumb reference
102
- */
103
- this.valueThumbRef = createRef();
104
- /**
105
- * Current focused thumb
106
- */
107
- this.activeThumb = null;
108
- /**
109
- * Thumb that may involves data changes
110
- */
111
- this.changedThumb = null;
112
- /**
113
- * @ignore
114
- */
115
- this.onDrag = this.onDrag.bind(this);
116
- /**
117
- * @ignore
118
- */
119
- this.onDragStart = this.onDragStart.bind(this);
120
- /**
121
- * @ignore
122
- */
123
- this.onDragEnd = this.onDragEnd.bind(this);
124
- /**
125
- * @ignore
126
- */
127
- this.onKeyDown = this.onKeyDown.bind(this);
128
- }
129
33
  /**
130
34
  * Element version number
131
35
  * @returns version number
@@ -315,6 +219,102 @@ let Slider = class Slider extends ControlElement {
315
219
  get isShowInputField() {
316
220
  return this.showInputField !== null && this.showInputField !== undefined;
317
221
  }
222
+ constructor() {
223
+ super();
224
+ /**
225
+ * Whether if the thumb is being drag
226
+ */
227
+ this.dragging = false;
228
+ this.valuePrevious = '';
229
+ this.fromPrevious = '';
230
+ this.toPrevious = '';
231
+ /**
232
+ * Specified size of increment or decrement jump between value.
233
+ */
234
+ this.step = '1';
235
+ /**
236
+ * Set minimum value of slider.
237
+ */
238
+ this.min = '0';
239
+ /**
240
+ * Slider maximum value of slider.
241
+ */
242
+ this.max = '100';
243
+ /**
244
+ * Uses with `range`. Low value of slider in range mode.
245
+ */
246
+ this.from = '0';
247
+ /**
248
+ * Uses with `range`. High value of slider in range mode
249
+ */
250
+ this.to = '100';
251
+ /**
252
+ * Set slider appearances to show pin mode.
253
+ * @ignore
254
+ * NOTE: Pin isn't applicable in Halo. Hide this from document
255
+ */
256
+ this.pin = false;
257
+ /**
258
+ * Set slider to range mode. Instead of a single value, slider will provide `from` and `to`.
259
+ */
260
+ this.range = false;
261
+ /**
262
+ * Show steps marker on slider.
263
+ */
264
+ this.showSteps = false;
265
+ /**
266
+ * Show input number field.
267
+ */
268
+ this.showInputField = null;
269
+ /**
270
+ * Uses with `range`. Set minimum allowance value (distance) between `from` and `to`.
271
+ */
272
+ this.minRange = '0';
273
+ /**
274
+ * Slider element reference
275
+ */
276
+ this.sliderRef = createRef();
277
+ /**
278
+ * Slider's track reference
279
+ */
280
+ this.trackRef = createRef();
281
+ /**
282
+ * From value thumb reference, rendered only in range mode
283
+ */
284
+ this.fromThumbRef = createRef();
285
+ /**
286
+ * To value thumb reference, rendered only in range mode
287
+ */
288
+ this.toThumbRef = createRef();
289
+ /**
290
+ * Value thumb reference
291
+ */
292
+ this.valueThumbRef = createRef();
293
+ /**
294
+ * Current focused thumb
295
+ */
296
+ this.activeThumb = null;
297
+ /**
298
+ * Thumb that may involves data changes
299
+ */
300
+ this.changedThumb = null;
301
+ /**
302
+ * @ignore
303
+ */
304
+ this.onDrag = this.onDrag.bind(this);
305
+ /**
306
+ * @ignore
307
+ */
308
+ this.onDragStart = this.onDragStart.bind(this);
309
+ /**
310
+ * @ignore
311
+ */
312
+ this.onDragEnd = this.onDragEnd.bind(this);
313
+ /**
314
+ * @ignore
315
+ */
316
+ this.onKeyDown = this.onKeyDown.bind(this);
317
+ }
318
318
  /**
319
319
  * On first updated lifecycle
320
320
  * @param changedProperties changed properties
@@ -1244,8 +1244,6 @@ __decorate([
1244
1244
  state()
1245
1245
  ], Slider.prototype, "changedThumb", void 0);
1246
1246
  Slider = __decorate([
1247
- customElement('ef-slider', {
1248
- alias: 'coral-slider'
1249
- })
1247
+ customElement('ef-slider')
1250
1248
  ], Slider);
1251
1249
  export { Slider };
@@ -180,8 +180,6 @@ __decorate([
180
180
  query('browser-sparkline-chart')
181
181
  ], Sparkline.prototype, "chart", void 0);
182
182
  Sparkline = __decorate([
183
- customElement('ef-sparkline', {
184
- alias: 'sapphire-sparkline'
185
- })
183
+ customElement('ef-sparkline')
186
184
  ], Sparkline);
187
185
  export { Sparkline };
@@ -763,8 +763,6 @@ __decorate([
763
763
  query('[part=canvas]', true)
764
764
  ], SwingGauge.prototype, "canvas", void 0);
765
765
  SwingGauge = __decorate([
766
- customElement('ef-swing-gauge', {
767
- alias: 'sapphire-swing-gauge'
768
- })
766
+ customElement('ef-swing-gauge')
769
767
  ], SwingGauge);
770
768
  export { SwingGauge };
@@ -1,4 +1,4 @@
1
- declare type SwingGaugeValueFormatter = (value: number, rawValue?: number) => string | number | undefined;
1
+ type SwingGaugeValueFormatter = (value: number, rawValue?: number) => string | number | undefined;
2
2
  interface SwingGaugeData {
3
3
  size: number;
4
4
  width: number;
@@ -128,7 +128,7 @@
128
128
  "events": [
129
129
  {
130
130
  "name": "clear",
131
- "description": "Dispatched when click on cross button occurs"
131
+ "description": "Fired when the user clicks on clear button"
132
132
  }
133
133
  ]
134
134
  }
@@ -18,6 +18,6 @@ A building block for individual tab
18
18
 
19
19
  ## Events
20
20
 
21
- | Event | Description |
22
- |---------|----------------------------------------------|
23
- | `clear` | Dispatched when click on cross button occurs |
21
+ | Event | Description |
22
+ |---------|--------------------------------------------|
23
+ | `clear` | Fired when the user clicks on clear button |
@@ -10,7 +10,7 @@ import '../label/index.js';
10
10
  * @attr {string} value - Tab's value
11
11
  * @prop {string} [value=""] - Tab's value
12
12
  *
13
- * @fires clear - Dispatched when click on cross button occurs
13
+ * @fires clear - Fired when the user clicks on clear button
14
14
  */
15
15
  export declare class Tab extends ControlElement {
16
16
  /**
package/lib/tab/index.js CHANGED
@@ -16,7 +16,7 @@ import '../label/index.js';
16
16
  * @attr {string} value - Tab's value
17
17
  * @prop {string} [value=""] - Tab's value
18
18
  *
19
- * @fires clear - Dispatched when click on cross button occurs
19
+ * @fires clear - Fired when the user clicks on clear button
20
20
  */
21
21
  let Tab = class Tab extends ControlElement {
22
22
  constructor() {
@@ -236,8 +236,6 @@ __decorate([
236
236
  state()
237
237
  ], Tab.prototype, "isSlotHasContent", void 0);
238
238
  Tab = __decorate([
239
- customElement('ef-tab', {
240
- alias: 'coral-tab'
241
- })
239
+ customElement('ef-tab')
242
240
  ], Tab);
243
241
  export { Tab };
@@ -1,4 +1,4 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/halo/dark';
2
2
  import '@refinitiv-ui/elements/label/themes/halo/dark';
3
3
 
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab', styles: ':host{cursor:pointer;background-color:#404040;color:#ccc;height:36px;padding:9px 12px;outline:0;font-size:12rem;font-weight:500;transition:120ms;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;touch-action:manipulation}:host [part=icon]{min-width:1em;font-size:1.5em}:host [part=label-container]{display:flex;align-items:flex-start;flex-direction:column;width:100%;min-width:0}:host(:not([sub-label])) [part=label-container]{align-items:center}:host([icon]) [part=label-container]{padding-left:.3em}:host [part=sub-label]{font-weight:400;font-size:.875em}:host(:not([active]):not(:active):not(:hover)) [part=sub-label]{opacity:.7}:host([sub-label]){height:46px}:host([sub-label]) [part=icon]{font-size:1.8em}:host([sub-label]) [part=close]{font-size:1.25em}:host([sub-label][clears]){padding-right:2.5em}:host([line-clamp="2"]),:host([line-clamp="3"]){height:46px}:host([icon][sub-label]) [part=label-container]{padding-left:.5em}:host([clears]){padding-right:2em}:host [part=close-container]{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}:host [part=close]{margin-right:.5em;min-width:1em;font-size:1em}:host([clears-on-hover]) [part=close]{color:#fff}:host([clears-on-hover]) [part=close-container]{width:2em;opacity:0;transition:120ms;background:#1429bd;box-shadow:-1em 0 .75em -.5em #1429bd}:host([active]){color:#fff;background-color:#334bff}:host([active]:hover){background-color:#1429bd}:host([active]:hover[clears-on-hover]) [part=close-container]{background-color:#1429bd;box-shadow:-1em 0 .75em -.5em #1429bd}:host([active]:active){background-color:#0f1e8a}:host([active]:active[clears-on-hover]) [part=close-container]{background-color:#0f1e8a;box-shadow:-1em 0 .75em -.5em #0f1e8a}:host([active][disabled]){color:rgba(255,255,255,.5);background-color:rgba(51,75,255,.5)}:host([disabled]){pointer-events:none;color:rgba(204,204,204,.5);background-color:rgba(64,64,64,.5)}:host(:focus:not([focused])),:host([focused=visible]){box-shadow:none;background-color:#1429bd}:host(:focus:not([focused]):not([active]):not(:hover)),:host([focused=visible]:not([active]):not(:hover)){color:#6678ff;background-color:#404040}:host(:hover){color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8);background-color:#1429bd}:host(:hover[clears-on-hover]) [part=close-container]{opacity:1}:host(:active){color:#fff;background-color:#0f1e8a}:host(:active[clears-on-hover]) [part=close-container]{background-color:#0f1e8a;box-shadow:-1em 0 .75em -.5em #0f1e8a}:host([level="1"]){border-right:1px solid #0d0d0d}:host([level="2"]:not(:last-child)){border-right:none}:host([level="2"]:not(:last-child)) [part=label-container]::after{content:\'\';position:absolute;margin:auto;width:1px;background:#404040;height:70%;right:0;top:0;bottom:0;z-index:1}:host([level="2"]:not(:active):not([active]):not(:hover)){background-color:#262626}:host([level="2"][active]:not(:active):not(:hover)){color:#6678ff;background-color:#0d0d0d}:host([level="2"][active]:focus:not([focused])),:host([level="2"][focused=visible]:not(:active):not(:hover)){color:#6678ff}:host([level="3"]){border-bottom:2px solid transparent;color:#ccc;background-color:#0d0d0d}:host([level="3"][clears-on-hover]) [part=close-container]{background:#0d0d0d;box-shadow:-1em 0 .75em -.5em #0d0d0d}:host([level="3"]:focus:not([focused])),:host([level="3"][focused=visible]){color:#fff;background-color:#262626}:host([level="3"]:active),:host([level="3"]:hover),:host([level="3"][active]){color:#fff;background-color:#0d0d0d;border-color:#334bff}:host([level="3"]:active[clears-on-hover]) [part=close-container],:host([level="3"]:hover[clears-on-hover]) [part=close-container],:host([level="3"][active][clears-on-hover]) [part=close-container]{background:#0d0d0d;box-shadow:-1em 0 .75em -.5em #0d0d0d}:host([level="3"]:active) [part=close],:host([level="3"]:hover) [part=close],:host([level="3"][active]) [part=close]{color:#fff}:host([level="3"]:hover){border-color:#1429bd}:host([level="3"]:active){border-color:#0f1e8a}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab', styles: ':host{cursor:pointer;background-color:#404040;color:#ccc;height:36px;padding:9px 12px;outline:0;font-size:12px;font-weight:500;transition:120ms;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;touch-action:manipulation}:host [part=icon]{min-width:1em;font-size:1.5em}:host [part=label-container]{display:flex;align-items:flex-start;flex-direction:column;width:100%;min-width:0}:host(:not([sub-label])) [part=label-container]{align-items:center}:host([icon]) [part=label-container]{padding-left:.3em}:host [part=sub-label]{font-weight:400;font-size:.875em}:host(:not([active]):not(:active):not(:hover)) [part=sub-label]{opacity:.7}:host([sub-label]){height:46px}:host([sub-label]) [part=icon]{font-size:1.8em}:host([sub-label]) [part=close]{font-size:1.25em}:host([sub-label][clears]){padding-right:2.5em}:host([line-clamp="2"]),:host([line-clamp="3"]){height:46px}:host([icon][sub-label]) [part=label-container]{padding-left:.5em}:host([clears]){padding-right:2em}:host [part=close-container]{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}:host [part=close]{margin-right:.5em;min-width:1em;font-size:1em}:host([clears-on-hover]) [part=close]{color:#fff}:host([clears-on-hover]) [part=close-container]{width:2em;opacity:0;transition:120ms;background:#1429bd;box-shadow:-1em 0 .75em -.5em #1429bd}:host([active]){color:#fff;background-color:#334bff}:host([active]:hover){background-color:#1429bd}:host([active]:hover[clears-on-hover]) [part=close-container]{background-color:#1429bd;box-shadow:-1em 0 .75em -.5em #1429bd}:host([active]:active){background-color:#0f1e8a}:host([active]:active[clears-on-hover]) [part=close-container]{background-color:#0f1e8a;box-shadow:-1em 0 .75em -.5em #0f1e8a}:host([active][disabled]){color:rgba(255,255,255,.5);background-color:rgba(51,75,255,.5)}:host([disabled]){pointer-events:none;color:rgba(204,204,204,.5);background-color:rgba(64,64,64,.5)}:host(:focus:not([focused])),:host([focused=visible]){box-shadow:none;background-color:#1429bd}:host(:focus:not([focused]):not([active]):not(:hover)),:host([focused=visible]:not([active]):not(:hover)){color:#6678ff;background-color:#404040}:host(:hover){color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8);background-color:#1429bd}:host(:hover[clears-on-hover]) [part=close-container]{opacity:1}:host(:active){color:#fff;background-color:#0f1e8a}:host(:active[clears-on-hover]) [part=close-container]{background-color:#0f1e8a;box-shadow:-1em 0 .75em -.5em #0f1e8a}:host([level="1"]){border-right:1px solid #0d0d0d}:host([level="2"]:not(:last-child)){border-right:none}:host([level="2"]:not(:last-child)) [part=label-container]::after{content:\'\';position:absolute;margin:auto;width:1px;background:#404040;height:70%;right:0;top:0;bottom:0;z-index:1}:host([level="2"]:not(:active):not([active]):not(:hover)){background-color:#262626}:host([level="2"][active]:not(:active):not(:hover)){color:#6678ff;background-color:#0d0d0d}:host([level="2"][active]:focus:not([focused])),:host([level="2"][focused=visible]:not(:active):not(:hover)){color:#6678ff}:host([level="3"]){border-bottom:2px solid transparent;color:#ccc;background-color:#0d0d0d}:host([level="3"][clears-on-hover]) [part=close-container]{background:#0d0d0d;box-shadow:-1em 0 .75em -.5em #0d0d0d}:host([level="3"]:focus:not([focused])),:host([level="3"][focused=visible]){color:#fff;background-color:#262626}:host([level="3"]:active),:host([level="3"]:hover),:host([level="3"][active]){color:#fff;background-color:#0d0d0d;border-color:#334bff}:host([level="3"]:active[clears-on-hover]) [part=close-container],:host([level="3"]:hover[clears-on-hover]) [part=close-container],:host([level="3"][active][clears-on-hover]) [part=close-container]{background:#0d0d0d;box-shadow:-1em 0 .75em -.5em #0d0d0d}:host([level="3"]:active) [part=close],:host([level="3"]:hover) [part=close],:host([level="3"][active]) [part=close]{color:#fff}:host([level="3"]:hover){border-color:#1429bd}:host([level="3"]:active){border-color:#0f1e8a}' }}));
@@ -1,4 +1,4 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/halo/light';
2
2
  import '@refinitiv-ui/elements/label/themes/halo/light';
3
3
 
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab', styles: ':host{cursor:pointer;background-color:#e6e6e6;color:#0d0d0d;height:36px;padding:9px 12px;outline:0;font-size:12rem;font-weight:500;transition:120ms;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;touch-action:manipulation}:host [part=icon]{min-width:1em;font-size:1.5em}:host [part=label-container]{display:flex;align-items:flex-start;flex-direction:column;width:100%;min-width:0}:host(:not([sub-label])) [part=label-container]{align-items:center}:host([icon]) [part=label-container]{padding-left:.3em}:host [part=sub-label]{font-weight:400;font-size:.875em}:host(:not([active]):not(:active):not(:hover)) [part=sub-label]{opacity:.7}:host([sub-label]){height:46px}:host([sub-label]) [part=icon]{font-size:1.8em}:host([sub-label]) [part=close]{font-size:1.25em}:host([sub-label][clears]){padding-right:2.5em}:host([line-clamp="2"]),:host([line-clamp="3"]){height:46px}:host([icon][sub-label]) [part=label-container]{padding-left:.5em}:host([clears]){padding-right:2em}:host [part=close-container]{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}:host [part=close]{margin-right:.5em;min-width:1em;font-size:1em}:host([clears-on-hover]) [part=close]{color:#fff}:host([clears-on-hover]) [part=close-container]{width:2em;opacity:0;transition:120ms;background:#1429bd;box-shadow:-1em 0 .75em -.5em #1429bd}:host([active]){color:#fff;background-color:#334bff}:host([active]:hover){background-color:#1429bd}:host([active]:hover[clears-on-hover]) [part=close-container]{background-color:#1429bd;box-shadow:-1em 0 .75em -.5em #1429bd}:host([active]:active){background-color:#0f1e8a}:host([active]:active[clears-on-hover]) [part=close-container]{background-color:#0f1e8a;box-shadow:-1em 0 .75em -.5em #0f1e8a}:host([active][disabled]){color:rgba(255,255,255,.5);background-color:rgba(51,75,255,.5)}:host([disabled]){pointer-events:none;color:rgba(13,13,13,.5);background-color:rgba(230,230,230,.5)}:host(:focus:not([focused])),:host([focused=visible]){box-shadow:none;background-color:#1429bd}:host(:focus:not([focused]):not([active]):not(:hover)),:host([focused=visible]:not([active]):not(:hover)){color:#6678ff;background-color:#e6e6e6}:host(:hover){color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55);background-color:#1429bd}:host(:hover[clears-on-hover]) [part=close-container]{opacity:1}:host(:active){color:#fff;background-color:#0f1e8a}:host(:active[clears-on-hover]) [part=close-container]{background-color:#0f1e8a;box-shadow:-1em 0 .75em -.5em #0f1e8a}:host([level="1"]){border-right:1px solid #fff}:host([level="2"]:not(:last-child)){border-right:none}:host([level="2"]:not(:last-child)) [part=label-container]::after{content:\'\';position:absolute;margin:auto;width:1px;background:#d9d9d9;height:70%;right:0;top:0;bottom:0;z-index:1}:host([level="2"]:not(:active):not([active]):not(:hover)){background-color:#f2f2f2}:host([level="2"][active]:not(:active):not(:hover)){color:#334bff;background-color:#fff}:host([level="2"][active]:focus:not([focused])),:host([level="2"][focused=visible]:not(:active):not(:hover)){color:#6678ff}:host([level="3"]){border-bottom:2px solid transparent;color:#404040;background-color:#fff}:host([level="3"][clears-on-hover]) [part=close-container]{background:#fff;box-shadow:-1em 0 .75em -.5em #fff}:host([level="3"]:focus:not([focused])),:host([level="3"][focused=visible]){color:#0d0d0d;background-color:#f2f2f2}:host([level="3"]:active),:host([level="3"]:hover),:host([level="3"][active]){color:#0d0d0d;background-color:#fff;border-color:#334bff}:host([level="3"]:active[clears-on-hover]) [part=close-container],:host([level="3"]:hover[clears-on-hover]) [part=close-container],:host([level="3"][active][clears-on-hover]) [part=close-container]{background:#fff;box-shadow:-1em 0 .75em -.5em #fff}:host([level="3"]:active) [part=close],:host([level="3"]:hover) [part=close],:host([level="3"][active]) [part=close]{color:#0d0d0d}:host([level="3"]:hover){border-color:#1429bd}:host([level="3"]:active){border-color:#0f1e8a}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab', styles: ':host{cursor:pointer;background-color:#e6e6e6;color:#0d0d0d;height:36px;padding:9px 12px;outline:0;font-size:12px;font-weight:500;transition:120ms;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;touch-action:manipulation}:host [part=icon]{min-width:1em;font-size:1.5em}:host [part=label-container]{display:flex;align-items:flex-start;flex-direction:column;width:100%;min-width:0}:host(:not([sub-label])) [part=label-container]{align-items:center}:host([icon]) [part=label-container]{padding-left:.3em}:host [part=sub-label]{font-weight:400;font-size:.875em}:host(:not([active]):not(:active):not(:hover)) [part=sub-label]{opacity:.7}:host([sub-label]){height:46px}:host([sub-label]) [part=icon]{font-size:1.8em}:host([sub-label]) [part=close]{font-size:1.25em}:host([sub-label][clears]){padding-right:2.5em}:host([line-clamp="2"]),:host([line-clamp="3"]){height:46px}:host([icon][sub-label]) [part=label-container]{padding-left:.5em}:host([clears]){padding-right:2em}:host [part=close-container]{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}:host [part=close]{margin-right:.5em;min-width:1em;font-size:1em}:host([clears-on-hover]) [part=close]{color:#fff}:host([clears-on-hover]) [part=close-container]{width:2em;opacity:0;transition:120ms;background:#1429bd;box-shadow:-1em 0 .75em -.5em #1429bd}:host([active]){color:#fff;background-color:#334bff}:host([active]:hover){background-color:#1429bd}:host([active]:hover[clears-on-hover]) [part=close-container]{background-color:#1429bd;box-shadow:-1em 0 .75em -.5em #1429bd}:host([active]:active){background-color:#0f1e8a}:host([active]:active[clears-on-hover]) [part=close-container]{background-color:#0f1e8a;box-shadow:-1em 0 .75em -.5em #0f1e8a}:host([active][disabled]){color:rgba(255,255,255,.5);background-color:rgba(51,75,255,.5)}:host([disabled]){pointer-events:none;color:rgba(13,13,13,.5);background-color:rgba(230,230,230,.5)}:host(:focus:not([focused])),:host([focused=visible]){box-shadow:none;background-color:#1429bd}:host(:focus:not([focused]):not([active]):not(:hover)),:host([focused=visible]:not([active]):not(:hover)){color:#6678ff;background-color:#e6e6e6}:host(:hover){color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55);background-color:#1429bd}:host(:hover[clears-on-hover]) [part=close-container]{opacity:1}:host(:active){color:#fff;background-color:#0f1e8a}:host(:active[clears-on-hover]) [part=close-container]{background-color:#0f1e8a;box-shadow:-1em 0 .75em -.5em #0f1e8a}:host([level="1"]){border-right:1px solid #fff}:host([level="2"]:not(:last-child)){border-right:none}:host([level="2"]:not(:last-child)) [part=label-container]::after{content:\'\';position:absolute;margin:auto;width:1px;background:#d9d9d9;height:70%;right:0;top:0;bottom:0;z-index:1}:host([level="2"]:not(:active):not([active]):not(:hover)){background-color:#f2f2f2}:host([level="2"][active]:not(:active):not(:hover)){color:#334bff;background-color:#fff}:host([level="2"][active]:focus:not([focused])),:host([level="2"][focused=visible]:not(:active):not(:hover)){color:#6678ff}:host([level="3"]){border-bottom:2px solid transparent;color:#404040;background-color:#fff}:host([level="3"][clears-on-hover]) [part=close-container]{background:#fff;box-shadow:-1em 0 .75em -.5em #fff}:host([level="3"]:focus:not([focused])),:host([level="3"][focused=visible]){color:#0d0d0d;background-color:#f2f2f2}:host([level="3"]:active),:host([level="3"]:hover),:host([level="3"][active]){color:#0d0d0d;background-color:#fff;border-color:#334bff}:host([level="3"]:active[clears-on-hover]) [part=close-container],:host([level="3"]:hover[clears-on-hover]) [part=close-container],:host([level="3"][active][clears-on-hover]) [part=close-container]{background:#fff;box-shadow:-1em 0 .75em -.5em #fff}:host([level="3"]:active) [part=close],:host([level="3"]:hover) [part=close],:host([level="3"][active]) [part=close]{color:#0d0d0d}:host([level="3"]:hover){border-color:#1429bd}:host([level="3"]:active){border-color:#0f1e8a}' }}));
@@ -1,4 +1,4 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/solar/charcoal';
2
2
  import '@refinitiv-ui/elements/label/themes/solar/charcoal';
3
3
 
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab', styles: ':host{cursor:pointer;background-color:#3c3c42;color:#c2c2c2;height:23px;padding:7px 15px;outline:0;font-size:13rem;font-weight:500;transition:70ms;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;touch-action:manipulation;border:1px solid #000;border-left:none}:host [part=label-container]{display:flex;align-items:flex-start;flex-direction:column;width:100%;min-width:0}:host(:not([sub-label])) [part=label-container]{align-items:center}:host([icon]) [part=label-container]{padding-left:.3em}:host [part=sub-label]{font-weight:400;font-size:.875em}:host(:not([active]):not(:active):not(:hover)) [part=sub-label]{opacity:.7}:host([sub-label]){height:33px}:host([sub-label]) [part=close]{font-size:1.25em}:host([sub-label][clears]){padding-right:2.5em}:host([line-clamp="2"]),:host([line-clamp="3"]){height:33px}:host([icon][sub-label]) [part=label-container]{padding-left:.5em}:host([clears]){padding-right:2em}:host [part=close-container]{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}:host [part=close]{margin-right:.5em;min-width:1em;font-size:1em}:host([clears-on-hover]) [part=close]{color:#e2e2e2}:host([clears-on-hover]) [part=close-container]{width:2em;opacity:0;transition:70ms;background:#4a4a4f;box-shadow:-1em 0 .75em -.5em #4a4a4f}:host([active]){color:#0a0a0a;background-color:#f93}:host([active]:hover[clears-on-hover]) [part=close-container]{background-color:#ffa041;box-shadow:-1em 0 .75em -.5em #ffa041}:host([active]:active){background-color:#ed8e2f}:host([active]:active[clears-on-hover]) [part=close-container]{background-color:#ed8e2f;box-shadow:-1em 0 .75em -.5em #ed8e2f}:host([active][disabled]){background-color:#ffad5c;color:rgba(10,10,10,.7)}:host([disabled]){pointer-events:none;color:#c2c2c2;background-color:#636368}:host(:focus:not([focused])),:host([focused=visible]){box-shadow:none;background-color:#ffa041}:host(:focus:not([focused]):not([active]):not(:hover)),:host([focused=visible]:not([active]):not(:hover)){color:#e2e2e2;background-color:#3c3c42}:host(:hover){color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9);background-color:#4a4a4f}:host(:hover[clears-on-hover]) [part=close-container]{opacity:1}:host(:active){color:#c2c2c2;background-color:#38383d}:host(:active[clears-on-hover]) [part=close-container]{background-color:#38383d;box-shadow:-1em 0 .75em -.5em #38383d}:host [part=icon]{min-width:1em;font-size:1em}:host([sub-label]) [part=icon]{font-size:1.2em}:host([active]:hover){color:#0a0a0a;background-color:#ffb366}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab', styles: ':host{cursor:pointer;background-color:#3c3c42;color:#c2c2c2;height:23px;padding:7px 15px;outline:0;font-size:13px;font-weight:500;transition:70ms;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;touch-action:manipulation;border:1px solid #000;border-left:none}:host [part=label-container]{display:flex;align-items:flex-start;flex-direction:column;width:100%;min-width:0}:host(:not([sub-label])) [part=label-container]{align-items:center}:host([icon]) [part=label-container]{padding-left:.3em}:host [part=sub-label]{font-weight:400;font-size:.875em}:host(:not([active]):not(:active):not(:hover)) [part=sub-label]{opacity:.7}:host([sub-label]){height:33px}:host([sub-label]) [part=close]{font-size:1.25em}:host([sub-label][clears]){padding-right:2.5em}:host([line-clamp="2"]),:host([line-clamp="3"]){height:33px}:host([icon][sub-label]) [part=label-container]{padding-left:.5em}:host([clears]){padding-right:2em}:host [part=close-container]{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}:host [part=close]{margin-right:.5em;min-width:1em;font-size:1em}:host([clears-on-hover]) [part=close]{color:#e2e2e2}:host([clears-on-hover]) [part=close-container]{width:2em;opacity:0;transition:70ms;background:#4a4a4f;box-shadow:-1em 0 .75em -.5em #4a4a4f}:host([active]){color:#0a0a0a;background-color:#f93}:host([active]:hover[clears-on-hover]) [part=close-container]{background-color:#ffa041;box-shadow:-1em 0 .75em -.5em #ffa041}:host([active]:active){background-color:#ed8e2f}:host([active]:active[clears-on-hover]) [part=close-container]{background-color:#ed8e2f;box-shadow:-1em 0 .75em -.5em #ed8e2f}:host([active][disabled]){background-color:#ffad5c;color:rgba(10,10,10,.7)}:host([disabled]){pointer-events:none;color:#c2c2c2;background-color:#636368}:host(:focus:not([focused])),:host([focused=visible]){box-shadow:none;background-color:#ffa041}:host(:focus:not([focused]):not([active]):not(:hover)),:host([focused=visible]:not([active]):not(:hover)){color:#e2e2e2;background-color:#3c3c42}:host(:hover){color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9);background-color:#4a4a4f}:host(:hover[clears-on-hover]) [part=close-container]{opacity:1}:host(:active){color:#c2c2c2;background-color:#38383d}:host(:active[clears-on-hover]) [part=close-container]{background-color:#38383d;box-shadow:-1em 0 .75em -.5em #38383d}:host [part=icon]{min-width:1em;font-size:1em}:host([sub-label]) [part=icon]{font-size:1.2em}:host([active]:hover){color:#0a0a0a;background-color:#ffb366}' }}));
@@ -1,4 +1,4 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/solar/pearl';
2
2
  import '@refinitiv-ui/elements/label/themes/solar/pearl';
3
3
 
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab', styles: ':host{cursor:pointer;background-color:#fafbfc;color:#505050;height:23px;padding:7px 15px;outline:0;font-size:13rem;font-weight:500;transition:70ms;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;touch-action:manipulation;border:1px solid #a9afba;border-left:none}:host [part=label-container]{display:flex;align-items:flex-start;flex-direction:column;width:100%;min-width:0}:host(:not([sub-label])) [part=label-container]{align-items:center}:host([icon]) [part=label-container]{padding-left:.3em}:host [part=sub-label]{font-weight:400;font-size:.875em}:host(:not([active]):not(:active):not(:hover)) [part=sub-label]{opacity:.7}:host([sub-label]){height:33px}:host([sub-label]) [part=close]{font-size:1.25em}:host([sub-label][clears]){padding-right:2.5em}:host([line-clamp="2"]),:host([line-clamp="3"]){height:33px}:host([icon][sub-label]) [part=label-container]{padding-left:.5em}:host([clears]){padding-right:2em}:host [part=close-container]{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}:host [part=close]{margin-right:.5em;min-width:1em;font-size:1em}:host([clears-on-hover]) [part=close]{color:#1d1d1d}:host([clears-on-hover]) [part=close-container]{width:2em;opacity:0;transition:70ms;background:#fafbfc;box-shadow:-1em 0 .75em -.5em #fafbfc}:host([active]){color:#505050;background-color:#ffb266}:host([active]:hover[clears-on-hover]) [part=close-container]{background-color:#ffb771;box-shadow:-1em 0 .75em -.5em #ffb771}:host([active]:active){background-color:#eda65f}:host([active]:active[clears-on-hover]) [part=close-container]{background-color:#eda65f;box-shadow:-1em 0 .75em -.5em #eda65f}:host([active][disabled]){color:#a8896a;background-color:#ffc185}:host([disabled]){pointer-events:none;color:#505050;background-color:#fbfcfd}:host(:focus:not([focused])),:host([focused=visible]){box-shadow:none;background-color:#ffb771}:host(:focus:not([focused]):not([active]):not(:hover)),:host([focused=visible]:not([active]):not(:hover)){color:#1d1d1d;background-color:#fafbfc}:host(:hover){color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.6);background-color:#fafbfc}:host(:hover[clears-on-hover]) [part=close-container]{opacity:1}:host(:active){color:#505050;background-color:#e8e9ea}:host(:active[clears-on-hover]) [part=close-container]{background-color:#e8e9ea;box-shadow:-1em 0 .75em -.5em #e8e9ea}:host [part=icon]{min-width:1em;font-size:1em}:host([sub-label]) [part=icon]{font-size:1.2em}:host([active]:hover){color:#505050;background-color:#fc9}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-tab', styles: ':host{cursor:pointer;background-color:#fafbfc;color:#505050;height:23px;padding:7px 15px;outline:0;font-size:13px;font-weight:500;transition:70ms;position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;touch-action:manipulation;border:1px solid #a9afba;border-left:none}:host [part=label-container]{display:flex;align-items:flex-start;flex-direction:column;width:100%;min-width:0}:host(:not([sub-label])) [part=label-container]{align-items:center}:host([icon]) [part=label-container]{padding-left:.3em}:host [part=sub-label]{font-weight:400;font-size:.875em}:host(:not([active]):not(:active):not(:hover)) [part=sub-label]{opacity:.7}:host([sub-label]){height:33px}:host([sub-label]) [part=close]{font-size:1.25em}:host([sub-label][clears]){padding-right:2.5em}:host([line-clamp="2"]),:host([line-clamp="3"]){height:33px}:host([icon][sub-label]) [part=label-container]{padding-left:.5em}:host([clears]){padding-right:2em}:host [part=close-container]{position:absolute;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center}:host [part=close]{margin-right:.5em;min-width:1em;font-size:1em}:host([clears-on-hover]) [part=close]{color:#1d1d1d}:host([clears-on-hover]) [part=close-container]{width:2em;opacity:0;transition:70ms;background:#fafbfc;box-shadow:-1em 0 .75em -.5em #fafbfc}:host([active]){color:#505050;background-color:#ffb266}:host([active]:hover[clears-on-hover]) [part=close-container]{background-color:#ffb771;box-shadow:-1em 0 .75em -.5em #ffb771}:host([active]:active){background-color:#eda65f}:host([active]:active[clears-on-hover]) [part=close-container]{background-color:#eda65f;box-shadow:-1em 0 .75em -.5em #eda65f}:host([active][disabled]){color:#a8896a;background-color:#ffc185}:host([disabled]){pointer-events:none;color:#505050;background-color:#fbfcfd}:host(:focus:not([focused])),:host([focused=visible]){box-shadow:none;background-color:#ffb771}:host(:focus:not([focused]):not([active]):not(:hover)),:host([focused=visible]:not([active]):not(:hover)){color:#1d1d1d;background-color:#fafbfc}:host(:hover){color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.6);background-color:#fafbfc}:host(:hover[clears-on-hover]) [part=close-container]{opacity:1}:host(:active){color:#505050;background-color:#e8e9ea}:host(:active[clears-on-hover]) [part=close-container]{background-color:#e8e9ea;box-shadow:-1em 0 .75em -.5em #e8e9ea}:host [part=icon]{min-width:1em;font-size:1em}:host([sub-label]) [part=icon]{font-size:1.2em}:host([active]:hover){color:#505050;background-color:#fc9}' }}));
@@ -56,7 +56,7 @@
56
56
  "events": [
57
57
  {
58
58
  "name": "value-changed",
59
- "description": "Fired when the `value` changes."
59
+ "description": "Fired when the user changes an active tab. The event is not triggered if `value` property is changed programmatically."
60
60
  }
61
61
  ]
62
62
  }
@@ -13,6 +13,6 @@ Container for tabs
13
13
 
14
14
  ## Events
15
15
 
16
- | Event | Description |
17
- |-----------------|---------------------------------|
18
- | `value-changed` | Fired when the `value` changes. |
16
+ | Event | Description |
17
+ |-----------------|--------------------------------------------------|
18
+ | `value-changed` | Fired when the user changes an active tab. The event is not triggered if `value` property is changed programmatically. |
@@ -5,7 +5,7 @@ import '../layout/index.js';
5
5
  /**
6
6
  * Container for tabs
7
7
  *
8
- * @fires value-changed - Fired when the `value` changes.
8
+ * @fires value-changed - Fired when the user changes an active tab. The event is not triggered if `value` property is changed programmatically.
9
9
  */
10
10
  export declare class TabBar extends BasicElement {
11
11
  /**
@@ -12,7 +12,7 @@ const BAR_TRAVEL_DISTANCE = 150; // scroll distance
12
12
  /**
13
13
  * Container for tabs
14
14
  *
15
- * @fires value-changed - Fired when the `value` changes.
15
+ * @fires value-changed - Fired when the user changes an active tab. The event is not triggered if `value` property is changed programmatically.
16
16
  */
17
17
  let TabBar = class TabBar extends BasicElement {
18
18
  constructor() {
@@ -432,8 +432,6 @@ __decorate([
432
432
  query('[part="right-btn"]')
433
433
  ], TabBar.prototype, "rightBtn", void 0);
434
434
  TabBar = __decorate([
435
- customElement('ef-tab-bar', {
436
- alias: 'coral-tab-bar'
437
- })
435
+ customElement('ef-tab-bar')
438
436
  ], TabBar);
439
437
  export { TabBar };
@@ -161,15 +161,15 @@
161
161
  "events": [
162
162
  {
163
163
  "name": "value-changed",
164
- "description": "Dispatched when value changes"
164
+ "description": "Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically."
165
165
  },
166
166
  {
167
167
  "name": "error-changed",
168
- "description": "Dispatched when error state changes"
168
+ "description": "Fired when the user inputs an invalid value. The event is not triggered if `error` property is changed programmatically."
169
169
  },
170
170
  {
171
171
  "name": "icon-click",
172
- "description": "Dispatched when icon is clicked"
172
+ "description": "Fired when the user taps on icon added into control's slot."
173
173
  }
174
174
  ]
175
175
  }
@@ -21,8 +21,8 @@ Form control element for text.
21
21
 
22
22
  ## Events
23
23
 
24
- | Event | Description |
25
- |-----------------|-------------------------------------|
26
- | `error-changed` | Dispatched when error state changes |
27
- | `icon-click` | Dispatched when icon is clicked |
28
- | `value-changed` | Dispatched when value changes |
24
+ | Event | Description |
25
+ |-----------------|--------------------------------------------------|
26
+ | `error-changed` | Fired when the user inputs an invalid value. The event is not triggered if `error` property is changed programmatically. |
27
+ | `icon-click` | Fired when the user taps on icon added into control's slot. |
28
+ | `value-changed` | Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically. |
@@ -5,9 +5,9 @@ import '../icon/index.js';
5
5
  /**
6
6
  * Form control element for text.
7
7
  *
8
- * @fires value-changed - Dispatched when value changes
9
- * @fires error-changed - Dispatched when error state changes
10
- * @fires icon-click - Dispatched when icon is clicked
8
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
9
+ * @fires error-changed - Fired when the user inputs an invalid value. The event is not triggered if `error` property is changed programmatically.
10
+ * @fires icon-click - Fired when the user taps on icon added into control's slot.
11
11
  *
12
12
  * @attr {boolean} disabled - Set disabled state
13
13
  * @prop {boolean} [disabled=false] - Set disabled state
@@ -12,9 +12,9 @@ const hasChanged = (newVal, oldVal) => oldVal === undefined ? false : newVal !==
12
12
  /**
13
13
  * Form control element for text.
14
14
  *
15
- * @fires value-changed - Dispatched when value changes
16
- * @fires error-changed - Dispatched when error state changes
17
- * @fires icon-click - Dispatched when icon is clicked
15
+ * @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
16
+ * @fires error-changed - Fired when the user inputs an invalid value. The event is not triggered if `error` property is changed programmatically.
17
+ * @fires icon-click - Fired when the user taps on icon added into control's slot.
18
18
  *
19
19
  * @attr {boolean} disabled - Set disabled state
20
20
  * @prop {boolean} [disabled=false] - Set disabled state
@@ -275,8 +275,6 @@ __decorate([
275
275
  property({ type: Number, attribute: 'minlength', reflect: true, hasChanged })
276
276
  ], TextField.prototype, "minLength", void 0);
277
277
  TextField = __decorate([
278
- customElement('ef-text-field', {
279
- alias: 'coral-text-field'
280
- })
278
+ customElement('ef-text-field')
281
279
  ], TextField);
282
280
  export { TextField };
@@ -1,3 +1,4 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/halo/dark';
2
+ import '@refinitiv-ui/elements/tooltip/themes/halo/dark';
2
3
 
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:12rem;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 ::-ms-clear{display:none}: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}' }}));
4
+ 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 ::-ms-clear{display:none}: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,3 +1,4 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/halo/light';
2
+ import '@refinitiv-ui/elements/tooltip/themes/halo/light';
2
3
 
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:12rem;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 ::-ms-clear{display:none}: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}' }}));
4
+ 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 ::-ms-clear{display:none}: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,3 +1,4 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/solar/charcoal';
2
+ import '@refinitiv-ui/elements/tooltip/themes/solar/charcoal';
2
3
 
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:13rem;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 ::-ms-clear{display:none}: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]::-webkit-input-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]::-moz-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]:-ms-input-placeholder{color:rgba(102,101,112,.6)}' }}));
4
+ 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 ::-ms-clear{display:none}: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]::-webkit-input-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]::-moz-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]:-ms-input-placeholder{color:rgba(102,101,112,.6)}' }}));
@@ -1,3 +1,4 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/solar/pearl';
2
+ import '@refinitiv-ui/elements/tooltip/themes/solar/pearl';
2
3
 
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:13rem;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 ::-ms-clear{display:none}: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]::-webkit-input-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]::-moz-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]:-ms-input-placeholder{color:rgba(102,101,112,.6)}' }}));
4
+ 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 ::-ms-clear{display:none}: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]::-webkit-input-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]::-moz-placeholder{color:rgba(102,101,112,.6)}:host([disabled]) [part=input]:-ms-input-placeholder{color:rgba(102,101,112,.6)}' }}));
@@ -107,7 +107,7 @@
107
107
  "events": [
108
108
  {
109
109
  "name": "value-changed",
110
- "description": "Dispatched when value changes"
110
+ "description": "Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically."
111
111
  }
112
112
  ],
113
113
  "methods": [
@@ -23,6 +23,6 @@ Control the time input
23
23
 
24
24
  ## Events
25
25
 
26
- | Event | Description |
27
- |-----------------|-------------------------------|
28
- | `value-changed` | Dispatched when value changes |
26
+ | Event | Description |
27
+ |-----------------|--------------------------------------------------|
28
+ | `value-changed` | Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically. |
@@ -10,7 +10,7 @@ declare enum Segment {
10
10
  }
11
11
  /**
12
12
  * Control the time input
13
- * @event value-changed - Dispatched when value changes
13
+ * @event value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
14
14
  *
15
15
  * @attr {boolean} readonly - Set readonly state
16
16
  * @prop {boolean} [readonly=false] - Set readonly state