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

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 (64) hide show
  1. package/lib/accordion/index.js +1 -3
  2. package/lib/appstate-bar/index.d.ts +1 -7
  3. package/lib/appstate-bar/index.js +1 -15
  4. package/lib/autosuggest/index.js +1 -3
  5. package/lib/button/index.js +1 -3
  6. package/lib/button-bar/index.js +1 -3
  7. package/lib/calendar/index.js +1 -3
  8. package/lib/canvas/index.js +1 -3
  9. package/lib/card/index.js +1 -3
  10. package/lib/chart/index.js +1 -3
  11. package/lib/checkbox/index.js +1 -3
  12. package/lib/clock/index.js +1 -3
  13. package/lib/collapse/index.js +1 -3
  14. package/lib/color-dialog/index.js +1 -3
  15. package/lib/color-picker/index.js +1 -3
  16. package/lib/combo-box/index.js +1 -3
  17. package/lib/counter/index.js +1 -3
  18. package/lib/datetime-picker/index.js +1 -3
  19. package/lib/dialog/index.js +1 -3
  20. package/lib/email-field/index.js +1 -3
  21. package/lib/flag/index.js +1 -3
  22. package/lib/header/index.js +1 -3
  23. package/lib/heatmap/index.js +1 -3
  24. package/lib/icon/index.js +1 -3
  25. package/lib/interactive-chart/index.js +1 -3
  26. package/lib/item/index.js +1 -3
  27. package/lib/label/index.js +1 -3
  28. package/lib/layout/index.js +1 -3
  29. package/lib/led-gauge/index.js +1 -3
  30. package/lib/list/elements/list.js +1 -3
  31. package/lib/loader/index.js +1 -3
  32. package/lib/multi-input/index.js +1 -3
  33. package/lib/notification/elements/notification-tray.js +1 -3
  34. package/lib/notification/elements/notification.d.ts +0 -1
  35. package/lib/notification/elements/notification.js +1 -10
  36. package/lib/number-field/index.js +1 -3
  37. package/lib/overlay/elements/overlay.js +1 -3
  38. package/lib/overlay-menu/index.js +1 -3
  39. package/lib/pagination/index.js +1 -3
  40. package/lib/panel/index.js +1 -3
  41. package/lib/password-field/index.js +1 -3
  42. package/lib/pill/index.js +1 -3
  43. package/lib/progress-bar/index.js +1 -3
  44. package/lib/radio-button/index.js +1 -3
  45. package/lib/rating/index.js +1 -3
  46. package/lib/search-field/index.js +1 -3
  47. package/lib/select/index.js +1 -3
  48. package/lib/sidebar-layout/index.js +1 -3
  49. package/lib/slider/index.js +1 -3
  50. package/lib/sparkline/index.js +1 -3
  51. package/lib/swing-gauge/index.js +1 -3
  52. package/lib/tab/index.js +1 -3
  53. package/lib/tab-bar/index.js +1 -3
  54. package/lib/text-field/index.js +1 -3
  55. package/lib/time-picker/index.js +1 -3
  56. package/lib/toggle/index.js +1 -3
  57. package/lib/tooltip/elements/title-tooltip.js +1 -2
  58. package/lib/tooltip/index.js +3 -5
  59. package/lib/tornado-chart/elements/tornado-chart.d.ts +4 -0
  60. package/lib/tornado-chart/elements/tornado-chart.js +10 -5
  61. package/lib/tree/elements/tree-item.js +1 -3
  62. package/lib/tree-select/index.js +1 -3
  63. package/lib/version.js +1 -1
  64. package/package.json +16 -16
@@ -129,8 +129,6 @@ __decorate([
129
129
  property({ type: Boolean, reflect: true })
130
130
  ], Accordion.prototype, "spacing", void 0);
131
131
  Accordion = __decorate([
132
- customElement('ef-accordion', {
133
- alias: 'coral-accordion'
134
- })
132
+ customElement('ef-accordion')
135
133
  ], Accordion);
136
134
  export { Accordion };
@@ -1,5 +1,5 @@
1
1
  import { JSXInterface } from '../jsx';
2
- import { BasicElement, TemplateResult, CSSResultGroup, PropertyValues } from '@refinitiv-ui/core';
2
+ import { BasicElement, TemplateResult, CSSResultGroup } from '@refinitiv-ui/core';
3
3
  import { Translate } from '@refinitiv-ui/translate';
4
4
  import '@refinitiv-ui/phrasebook/locale/en/appstate-bar.js';
5
5
  import '../icon/index.js';
@@ -35,12 +35,6 @@ export declare class AppstateBar extends BasicElement {
35
35
  * Used for translations
36
36
  */
37
37
  protected t: Translate;
38
- /**
39
- * Invoked whenever the element is updated
40
- * @param {PropertyValues} changedProperties Map of changed properties with old values
41
- * @returns {void}
42
- */
43
- protected updated(changedProperties: PropertyValues): void;
44
38
  /**
45
39
  * Hide the element when clear button is clicked
46
40
  * @param {Event} event - event params
@@ -62,18 +62,6 @@ let AppstateBar = class AppstateBar extends BasicElement {
62
62
  }
63
63
  `;
64
64
  }
65
- /**
66
- * Invoked whenever the element is updated
67
- * @param {PropertyValues} changedProperties Map of changed properties with old values
68
- * @returns {void}
69
- */
70
- updated(changedProperties) {
71
- super.updated(changedProperties);
72
- // Call this.updateStyles() to update css variables
73
- if (changedProperties.has('state')) {
74
- this.updateStyles();
75
- }
76
- }
77
65
  /**
78
66
  * A `TemplateResult` that will be used
79
67
  * to render the updated internal template.
@@ -98,8 +86,6 @@ __decorate([
98
86
  translate()
99
87
  ], AppstateBar.prototype, "t", void 0);
100
88
  AppstateBar = __decorate([
101
- customElement('ef-appstate-bar', {
102
- alias: 'amber-appstate-bar'
103
- })
89
+ customElement('ef-appstate-bar')
104
90
  ], AppstateBar);
105
91
  export { AppstateBar };
@@ -1302,8 +1302,6 @@ __decorate([
1302
1302
  query('#moreResults')
1303
1303
  ], Autosuggest.prototype, "moreResultsItem", void 0);
1304
1304
  Autosuggest = Autosuggest_1 = __decorate([
1305
- customElement('ef-autosuggest', {
1306
- alias: 'emerald-autosuggest'
1307
- })
1305
+ customElement('ef-autosuggest')
1308
1306
  ], Autosuggest);
1309
1307
  export { Autosuggest };
@@ -200,8 +200,6 @@ __decorate([
200
200
  query('[part="label"]')
201
201
  ], Button.prototype, "labelElement", void 0);
202
202
  Button = __decorate([
203
- customElement('ef-button', {
204
- alias: 'coral-button'
205
- })
203
+ customElement('ef-button')
206
204
  ], Button);
207
205
  export { Button };
@@ -287,8 +287,6 @@ __decorate([
287
287
  property({ type: Boolean, reflect: true })
288
288
  ], ButtonBar.prototype, "managed", void 0);
289
289
  ButtonBar = ButtonBar_1 = __decorate([
290
- customElement('ef-button-bar', {
291
- alias: 'coral-split-button'
292
- })
290
+ customElement('ef-button-bar')
293
291
  ], ButtonBar);
294
292
  export { ButtonBar };
@@ -1292,8 +1292,6 @@ __decorate([
1292
1292
  state()
1293
1293
  ], Calendar.prototype, "announceValues", void 0);
1294
1294
  Calendar = __decorate([
1295
- customElement('ef-calendar', {
1296
- alias: 'coral-calendar'
1297
- })
1295
+ customElement('ef-calendar')
1298
1296
  ], Calendar);
1299
1297
  export { Calendar };
@@ -165,8 +165,6 @@ __decorate([
165
165
  property({ type: Boolean, reflect: true })
166
166
  ], Canvas.prototype, "autoloop", null);
167
167
  Canvas = __decorate([
168
- customElement('ef-canvas', {
169
- alias: 'sapphire-canvas'
170
- })
168
+ customElement('ef-canvas')
171
169
  ], Canvas);
172
170
  export { Canvas };
package/lib/card/index.js CHANGED
@@ -263,8 +263,6 @@ __decorate([
263
263
  state()
264
264
  ], Card.prototype, "footerHasContent", void 0);
265
265
  Card = __decorate([
266
- customElement('ef-card', {
267
- alias: 'coral-card'
268
- })
266
+ customElement('ef-card')
269
267
  ], Card);
270
268
  export { Card };
@@ -480,8 +480,6 @@ __decorate([
480
480
  query('ef-header')
481
481
  ], Chart.prototype, "titleElement", void 0);
482
482
  Chart = __decorate([
483
- customElement('ef-chart', {
484
- alias: 'sapphire-chart'
485
- })
483
+ customElement('ef-chart')
486
484
  ], Chart);
487
485
  export { Chart };
@@ -165,8 +165,6 @@ __decorate([
165
165
  query('[part=label]', true)
166
166
  ], Checkbox.prototype, "labelEl", void 0);
167
167
  Checkbox = __decorate([
168
- customElement('ef-checkbox', {
169
- alias: 'coral-checkbox'
170
- })
168
+ customElement('ef-checkbox')
171
169
  ], Checkbox);
172
170
  export { Checkbox };
@@ -693,8 +693,6 @@ __decorate([
693
693
  property({ type: String, attribute: 'size', reflect: true })
694
694
  ], Clock.prototype, "size", void 0);
695
695
  Clock = __decorate([
696
- customElement('ef-clock', {
697
- alias: 'sapphire-clock'
698
- })
696
+ customElement('ef-clock')
699
697
  ], Clock);
700
698
  export { Clock };
@@ -218,8 +218,6 @@ __decorate([
218
218
  state()
219
219
  ], Collapse.prototype, "headingLevel", void 0);
220
220
  Collapse = __decorate([
221
- customElement('ef-collapse', {
222
- alias: 'coral-collapse'
223
- })
221
+ customElement('ef-collapse')
224
222
  ], Collapse);
225
223
  export { Collapse };
@@ -456,8 +456,6 @@ __decorate([
456
456
  query('#blueInput')
457
457
  ], ColorDialog.prototype, "blueInputEl", void 0);
458
458
  ColorDialog = __decorate([
459
- customElement('ef-color-dialog', {
460
- alias: 'emerald-color-dialog'
461
- })
459
+ customElement('ef-color-dialog')
462
460
  ], ColorDialog);
463
461
  export { ColorDialog };
@@ -294,8 +294,6 @@ __decorate([
294
294
  property({ type: Boolean, reflect: true })
295
295
  ], ColorPicker.prototype, "opened", void 0);
296
296
  ColorPicker = __decorate([
297
- customElement('ef-color-picker', {
298
- alias: 'emerald-color-picker'
299
- })
297
+ customElement('ef-color-picker')
300
298
  ], ColorPicker);
301
299
  export { ColorPicker };
@@ -1200,8 +1200,6 @@ __decorate([
1200
1200
  eventOptions({ capture: true })
1201
1201
  ], ComboBox.prototype, "shiftFocus", null);
1202
1202
  ComboBox = __decorate([
1203
- customElement('ef-combo-box', {
1204
- alias: 'coral-combo-box'
1205
- })
1203
+ customElement('ef-combo-box')
1206
1204
  ], ComboBox);
1207
1205
  export { ComboBox };
@@ -147,8 +147,6 @@ __decorate([
147
147
  property({ type: String })
148
148
  ], Counter.prototype, "max", null);
149
149
  Counter = __decorate([
150
- customElement('ef-counter', {
151
- alias: 'coral-counter'
152
- })
150
+ customElement('ef-counter')
153
151
  ], Counter);
154
152
  export { Counter };
@@ -1172,8 +1172,6 @@ __decorate([
1172
1172
  query('#input-to')
1173
1173
  ], DatetimePicker.prototype, "inputToEl", void 0);
1174
1174
  DatetimePicker = __decorate([
1175
- customElement('ef-datetime-picker', {
1176
- alias: 'emerald-datetime-picker'
1177
- })
1175
+ customElement('ef-datetime-picker')
1178
1176
  ], DatetimePicker);
1179
1177
  export { DatetimePicker };
@@ -375,8 +375,6 @@ __decorate([
375
375
  property({ type: Boolean, reflect: true, attribute: 'with-shadow' })
376
376
  ], Dialog.prototype, "withShadow", void 0);
377
377
  Dialog = __decorate([
378
- customElement('ef-dialog', {
379
- alias: 'coral-dialog'
380
- })
378
+ customElement('ef-dialog')
381
379
  ], Dialog);
382
380
  export { Dialog };
@@ -84,8 +84,6 @@ __decorate([
84
84
  property({ type: Boolean, reflect: true })
85
85
  ], EmailField.prototype, "multiple", void 0);
86
86
  EmailField = __decorate([
87
- customElement('ef-email-field', {
88
- alias: 'coral-email-field'
89
- })
87
+ customElement('ef-email-field')
90
88
  ], EmailField);
91
89
  export { EmailField };
package/lib/flag/index.js CHANGED
@@ -161,8 +161,6 @@ __decorate([
161
161
  property({ type: String })
162
162
  ], Flag.prototype, "src", null);
163
163
  Flag = __decorate([
164
- customElement('ef-flag', {
165
- alias: 'coral-flag'
166
- })
164
+ customElement('ef-flag')
167
165
  ], Flag);
168
166
  export { Flag };
@@ -66,8 +66,6 @@ __decorate([
66
66
  property({ type: String, reflect: true })
67
67
  ], Header.prototype, "level", void 0);
68
68
  Header = __decorate([
69
- customElement('ef-header', {
70
- alias: 'coral-header'
71
- })
69
+ customElement('ef-header')
72
70
  ], Header);
73
71
  export { Header };
@@ -1089,8 +1089,6 @@ __decorate([
1089
1089
  query('#tooltip-overlay')
1090
1090
  ], Heatmap.prototype, "tooltipOverlay", void 0);
1091
1091
  Heatmap = __decorate([
1092
- customElement('ef-heatmap', {
1093
- alias: 'sapphire-heatmap'
1094
- })
1092
+ customElement('ef-heatmap')
1095
1093
  ], Heatmap);
1096
1094
  export { Heatmap };
package/lib/icon/index.js CHANGED
@@ -164,8 +164,6 @@ __decorate([
164
164
  property({ type: String })
165
165
  ], Icon.prototype, "src", null);
166
166
  Icon = __decorate([
167
- customElement('ef-icon', {
168
- alias: 'coral-icon'
169
- })
167
+ customElement('ef-icon')
170
168
  ], Icon);
171
169
  export { Icon };
@@ -1082,8 +1082,6 @@ __decorate([
1082
1082
  query('[part=branding-container]', true)
1083
1083
  ], InteractiveChart.prototype, "brandingContainer", void 0);
1084
1084
  InteractiveChart = InteractiveChart_1 = __decorate([
1085
- customElement('ef-interactive-chart', {
1086
- alias: 'sapphire-interactive-chart'
1087
- })
1085
+ customElement('ef-interactive-chart')
1088
1086
  ], InteractiveChart);
1089
1087
  export { InteractiveChart };
package/lib/item/index.js CHANGED
@@ -314,8 +314,6 @@ __decorate([
314
314
  property({ type: String, reflect: true })
315
315
  ], Item.prototype, "for", void 0);
316
316
  Item = __decorate([
317
- customElement('ef-item', {
318
- alias: 'coral-item'
319
- })
317
+ customElement('ef-item')
320
318
  ], Item);
321
319
  export { Item };
@@ -238,8 +238,6 @@ __decorate([
238
238
  property({ type: Boolean, reflect: true })
239
239
  ], Label.prototype, "warning", void 0);
240
240
  Label = __decorate([
241
- customElement('ef-label', {
242
- alias: 'quartz-label'
243
- })
241
+ customElement('ef-label')
244
242
  ], Label);
245
243
  export { Label };
@@ -205,8 +205,6 @@ __decorate([
205
205
  property({ type: String, reflect: true, attribute: 'max-height' })
206
206
  ], Layout.prototype, "maxHeight", void 0);
207
207
  Layout = __decorate([
208
- customElement('ef-layout', {
209
- alias: 'quartz-layout'
210
- })
208
+ customElement('ef-layout')
211
209
  ], Layout);
212
210
  export { Layout };
@@ -431,8 +431,6 @@ __decorate([
431
431
  property({ type: String })
432
432
  ], LedGauge.prototype, "zero", null);
433
433
  LedGauge = __decorate([
434
- customElement('ef-led-gauge', {
435
- alias: 'sapphire-led-gauge'
436
- })
434
+ customElement('ef-led-gauge')
437
435
  ], LedGauge);
438
436
  export { LedGauge };
@@ -624,8 +624,6 @@ __decorate([
624
624
  property({ type: Array, attribute: false })
625
625
  ], List.prototype, "values", null);
626
626
  List = __decorate([
627
- customElement('ef-list', {
628
- alias: 'coral-list'
629
- })
627
+ customElement('ef-list')
630
628
  ], List);
631
629
  export { List };
@@ -58,8 +58,6 @@ let Loader = class Loader extends BasicElement {
58
58
  }
59
59
  };
60
60
  Loader = __decorate([
61
- customElement('ef-loader', {
62
- alias: 'amber-loader'
63
- })
61
+ customElement('ef-loader')
64
62
  ], Loader);
65
63
  export { Loader };
@@ -585,8 +585,6 @@ __decorate([
585
585
  property({ type: String })
586
586
  ], MultiInput.prototype, "value", null);
587
587
  MultiInput = __decorate([
588
- customElement('ef-multi-input', {
589
- alias: 'coral-multi-input'
590
- })
588
+ customElement('ef-multi-input')
591
589
  ], MultiInput);
592
590
  export { MultiInput };
@@ -160,8 +160,6 @@ __decorate([
160
160
  property({ type: String, reflect: true })
161
161
  ], NotificationTray.prototype, "attach", void 0);
162
162
  NotificationTray = __decorate([
163
- customElement('ef-notification-tray', {
164
- alias: 'amber-notification-tray'
165
- })
163
+ customElement('ef-notification-tray')
166
164
  ], NotificationTray);
167
165
  export { NotificationTray };
@@ -50,7 +50,6 @@ export declare class Notification extends BasicElement {
50
50
  * @returns {void}
51
51
  */
52
52
  protected firstUpdated(changedProperties: PropertyValues): void;
53
- protected update(changedProperties: PropertyValues): void;
54
53
  /**
55
54
  * Dismisses the notification, firing a `dismiss` event and collapsing the notification.
56
55
  * @returns {void}
@@ -57,13 +57,6 @@ let Notification = class Notification extends BasicElement {
57
57
  super.firstUpdated(changedProperties);
58
58
  this.addEventListener('animationend', this.onAnimationEnd);
59
59
  }
60
- update(changedProperties) {
61
- super.update(changedProperties);
62
- // Fix bg doesn't work on IE 11
63
- if (changedProperties.has('confirm') || changedProperties.has('warning') || changedProperties.has('error')) {
64
- this.updateStyles();
65
- }
66
- }
67
60
  /**
68
61
  * Dismisses the notification, firing a `dismiss` event and collapsing the notification.
69
62
  * @returns {void}
@@ -156,8 +149,6 @@ __decorate([
156
149
  translate()
157
150
  ], Notification.prototype, "t", void 0);
158
151
  Notification = __decorate([
159
- customElement('ef-notification', {
160
- alias: 'amber-notification'
161
- })
152
+ customElement('ef-notification')
162
153
  ], Notification);
163
154
  export { Notification };
@@ -752,8 +752,6 @@ __decorate([
752
752
  query('[part=spinner-down]')
753
753
  ], NumberField.prototype, "spinnerDownEl", void 0);
754
754
  NumberField = __decorate([
755
- customElement('ef-number-field', {
756
- alias: 'coral-number-field'
757
- })
755
+ customElement('ef-number-field')
758
756
  ], NumberField);
759
757
  export { NumberField };
@@ -1421,8 +1421,6 @@ __decorate([
1421
1421
  })
1422
1422
  ], Overlay.prototype, "position", null);
1423
1423
  Overlay = Overlay_1 = __decorate([
1424
- customElement('ef-overlay', {
1425
- alias: 'coral-popup-panel'
1426
- })
1424
+ customElement('ef-overlay')
1427
1425
  ], Overlay);
1428
1426
  export { Overlay };
@@ -956,8 +956,6 @@ __decorate([
956
956
  property({ type: Boolean, reflect: true })
957
957
  ], OverlayMenu.prototype, "nested", void 0);
958
958
  OverlayMenu = OverlayMenu_1 = __decorate([
959
- customElement('ef-overlay-menu', {
960
- alias: 'emerald-popup-menu'
961
- })
959
+ customElement('ef-overlay-menu')
962
960
  ], OverlayMenu);
963
961
  export { OverlayMenu };
@@ -511,8 +511,6 @@ __decorate([
511
511
  state()
512
512
  ], Pagination.prototype, "inputFocused", void 0);
513
513
  Pagination = __decorate([
514
- customElement('ef-pagination', {
515
- alias: 'emerald-pagination'
516
- })
514
+ customElement('ef-pagination')
517
515
  ], Pagination);
518
516
  export { Pagination };
@@ -67,8 +67,6 @@ __decorate([
67
67
  property({ type: Boolean, reflect: true })
68
68
  ], Panel.prototype, "transparent", void 0);
69
69
  Panel = __decorate([
70
- customElement('ef-panel', {
71
- alias: 'coral-panel'
72
- })
70
+ customElement('ef-panel')
73
71
  ], Panel);
74
72
  export { Panel };
@@ -108,8 +108,6 @@ __decorate([
108
108
  state()
109
109
  ], PasswordField.prototype, "isPasswordVisible", void 0);
110
110
  PasswordField = __decorate([
111
- customElement('ef-password-field', {
112
- alias: 'coral-password-field'
113
- })
111
+ customElement('ef-password-field')
114
112
  ], PasswordField);
115
113
  export { PasswordField };
package/lib/pill/index.js CHANGED
@@ -198,8 +198,6 @@ __decorate([
198
198
  property({ type: Boolean, reflect: true })
199
199
  ], Pill.prototype, "pressed", void 0);
200
200
  Pill = __decorate([
201
- customElement('ef-pill', {
202
- alias: 'coral-pill'
203
- })
201
+ customElement('ef-pill')
204
202
  ], Pill);
205
203
  export { Pill };
@@ -150,8 +150,6 @@ __decorate([
150
150
  property({ type: String })
151
151
  ], ProgressBar.prototype, "label", void 0);
152
152
  ProgressBar = __decorate([
153
- customElement('ef-progress-bar', {
154
- alias: 'sapphire-bar'
155
- })
153
+ customElement('ef-progress-bar')
156
154
  ], ProgressBar);
157
155
  export { ProgressBar };
@@ -243,8 +243,6 @@ __decorate([
243
243
  query('[part=label]', true)
244
244
  ], RadioButton.prototype, "labelEl", void 0);
245
245
  RadioButton = __decorate([
246
- customElement('ef-radio-button', {
247
- alias: 'coral-radio-button'
248
- })
246
+ customElement('ef-radio-button')
249
247
  ], RadioButton);
250
248
  export { RadioButton };
@@ -279,8 +279,6 @@ __decorate([
279
279
  property({ type: String })
280
280
  ], Rating.prototype, "value", null);
281
281
  Rating = __decorate([
282
- customElement('ef-rating', {
283
- alias: 'sapphire-rating'
284
- })
282
+ customElement('ef-rating')
285
283
  ], Rating);
286
284
  export { Rating };
@@ -81,8 +81,6 @@ __decorate([
81
81
  translate({ scope: 'ef-search-field' })
82
82
  ], SearchField.prototype, "t", void 0);
83
83
  SearchField = __decorate([
84
- customElement('ef-search-field', {
85
- alias: 'coral-search-field'
86
- })
84
+ customElement('ef-search-field')
87
85
  ], SearchField);
88
86
  export { SearchField };
@@ -989,8 +989,6 @@ __decorate([
989
989
  property({ attribute: false })
990
990
  ], Select.prototype, "values", null);
991
991
  Select = __decorate([
992
- customElement('ef-select', {
993
- alias: 'coral-select'
994
- })
992
+ customElement('ef-select')
995
993
  ], Select);
996
994
  export { Select };
@@ -127,8 +127,6 @@ __decorate([
127
127
  query('[part=sidebar]')
128
128
  ], SidebarLayout.prototype, "sidebar", void 0);
129
129
  SidebarLayout = __decorate([
130
- customElement('ef-sidebar-layout', {
131
- alias: 'carbon-sidebar-layout'
132
- })
130
+ customElement('ef-sidebar-layout')
133
131
  ], SidebarLayout);
134
132
  export { SidebarLayout };
@@ -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 };
package/lib/tab/index.js CHANGED
@@ -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 };
@@ -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 };
@@ -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 };
@@ -891,8 +891,6 @@ __decorate([
891
891
  state()
892
892
  ], TimePicker.prototype, "announceValues", void 0);
893
893
  TimePicker = TimePicker_1 = __decorate([
894
- customElement('ef-time-picker', {
895
- alias: 'coral-time-picker'
896
- })
894
+ customElement('ef-time-picker')
897
895
  ], TimePicker);
898
896
  export { TimePicker };
@@ -136,8 +136,6 @@ __decorate([
136
136
  property({ type: Boolean, reflect: true })
137
137
  ], Toggle.prototype, "checked", void 0);
138
138
  Toggle = __decorate([
139
- customElement('ef-toggle', {
140
- alias: 'coral-toggle'
141
- })
139
+ customElement('ef-toggle')
142
140
  ], Toggle);
143
141
  export { Toggle };
@@ -1,4 +1,3 @@
1
- import { matches } from '@refinitiv-ui/core';
2
1
  import { addTooltipCondition } from './tooltip-element.js';
3
2
  import { tooltipRenderer } from '../helpers/renderer.js';
4
3
  // Support title attribute
@@ -15,4 +14,4 @@ Object.defineProperty(HTMLElement.prototype, 'title', {
15
14
  this.setAttribute('tooltip', value);
16
15
  }
17
16
  });
18
- addTooltipCondition(element => matches(element, '[title]'), tooltipRenderer);
17
+ addTooltipCondition(element => element.matches('[title]'), tooltipRenderer);
@@ -1,6 +1,6 @@
1
1
  var Tooltip_1;
2
2
  import { __decorate } from "tslib";
3
- import { BasicElement, html, css, matches } from '@refinitiv-ui/core';
3
+ import { BasicElement, html, css } from '@refinitiv-ui/core';
4
4
  import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
5
5
  import { property } from '@refinitiv-ui/core/decorators/property.js';
6
6
  import { query } from '@refinitiv-ui/core/decorators/query.js';
@@ -241,7 +241,7 @@ let Tooltip = Tooltip_1 = class Tooltip extends BasicElement {
241
241
  return this.condition(element, paths);
242
242
  }
243
243
  if (this.selector) {
244
- return matches(element, this.selector);
244
+ return element.matches(this.selector);
245
245
  }
246
246
  return false;
247
247
  }
@@ -468,9 +468,7 @@ __decorate([
468
468
  query('#contentSlot')
469
469
  ], Tooltip.prototype, "contentSlot", void 0);
470
470
  Tooltip = Tooltip_1 = __decorate([
471
- customElement('ef-tooltip', {
472
- alias: 'coral-tooltip'
473
- })
471
+ customElement('ef-tooltip')
474
472
  ], Tooltip);
475
473
  export * from './elements/tooltip-element.js';
476
474
  export { registerOverflowTooltip, deregisterOverflowTooltip, Tooltip };
@@ -29,6 +29,10 @@ export declare class TornadoChart extends ResponsiveElement {
29
29
  * True if legend's alignment is vertical
30
30
  */
31
31
  private legendAlignment;
32
+ /**
33
+ * Resize throttler to prevent resize observer loop
34
+ */
35
+ private resizedThrottler;
32
36
  /**
33
37
  * Set chart's legend alignment
34
38
  * @param responsive true if items needs to be responsive
@@ -1,6 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { ResponsiveElement, html, css } from '@refinitiv-ui/core';
3
3
  import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
4
+ import { AnimationTaskRunner } from '@refinitiv-ui/utils/async.js';
4
5
  import { property } from '@refinitiv-ui/core/decorators/property.js';
5
6
  import { VERSION } from '../../version.js';
6
7
  import './tornado-item.js';
@@ -29,6 +30,10 @@ let TornadoChart = class TornadoChart extends ResponsiveElement {
29
30
  * True if legend's alignment is vertical
30
31
  */
31
32
  this.legendAlignment = false;
33
+ /**
34
+ * Resize throttler to prevent resize observer loop
35
+ */
36
+ this.resizedThrottler = new AnimationTaskRunner();
32
37
  }
33
38
  /**
34
39
  * Element version number
@@ -52,8 +57,10 @@ let TornadoChart = class TornadoChart extends ResponsiveElement {
52
57
  * @returns {void}
53
58
  */
54
59
  setItemAlignment(responsive) {
55
- this.querySelectorAll('ef-tornado-item').forEach((item) => {
56
- item.vertical = responsive;
60
+ this.resizedThrottler.schedule(() => {
61
+ this.querySelectorAll('ef-tornado-item').forEach((item) => {
62
+ item.vertical = responsive;
63
+ });
57
64
  });
58
65
  }
59
66
  /**
@@ -115,8 +122,6 @@ __decorate([
115
122
  property({ type: String })
116
123
  ], TornadoChart.prototype, "secondary", void 0);
117
124
  TornadoChart = __decorate([
118
- customElement('ef-tornado-chart', {
119
- alias: 'sapphire-parity-chart'
120
- })
125
+ customElement('ef-tornado-chart')
121
126
  ], TornadoChart);
122
127
  export { TornadoChart };
@@ -233,8 +233,6 @@ __decorate([
233
233
  property({ reflect: true, type: Boolean })
234
234
  ], TreeItem.prototype, "highlighted", void 0);
235
235
  TreeItem = __decorate([
236
- customElement('ef-tree-item', {
237
- alias: 'coral-tree-item'
238
- })
236
+ customElement('ef-tree-item')
239
237
  ], TreeItem);
240
238
  export { TreeItem };
@@ -895,8 +895,6 @@ __decorate([
895
895
  query('[part=list]')
896
896
  ], TreeSelect.prototype, "popupEl", void 0);
897
897
  TreeSelect = __decorate([
898
- customElement('ef-tree-select', {
899
- alias: 'emerald-multi-select'
900
- })
898
+ customElement('ef-tree-select')
901
899
  ], TreeSelect);
902
900
  export { TreeSelect };
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.5.3';
1
+ export const VERSION = '7.0.0-next.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/elements",
3
- "version": "6.5.3",
3
+ "version": "7.0.0-next.0",
4
4
  "description": "Element Framework Elements",
5
5
  "author": "LSEG",
6
6
  "license": "Apache-2.0",
@@ -337,8 +337,8 @@
337
337
  },
338
338
  "dependencies": {
339
339
  "@refinitiv-ui/browser-sparkline": "1.1.8",
340
- "@refinitiv-ui/halo-theme": "^6.3.2",
341
- "@refinitiv-ui/solar-theme": "^6.2.2",
340
+ "@refinitiv-ui/halo-theme": "^7.0.0-next.0",
341
+ "@refinitiv-ui/solar-theme": "^7.0.0-next.0",
342
342
  "@types/chart.js": "^2.9.31",
343
343
  "chart.js": "~2.9.4",
344
344
  "d3-interpolate": "^3.0.1",
@@ -347,24 +347,24 @@
347
347
  "tslib": "^2.3.1"
348
348
  },
349
349
  "devDependencies": {
350
- "@refinitiv-ui/core": "^6.2.1",
351
- "@refinitiv-ui/demo-block": "^6.0.13",
352
- "@refinitiv-ui/i18n": "^6.0.9",
353
- "@refinitiv-ui/phrasebook": "^6.3.1",
354
- "@refinitiv-ui/test-helpers": "^6.0.6",
355
- "@refinitiv-ui/translate": "^6.0.12",
356
- "@refinitiv-ui/utils": "^6.2.3",
350
+ "@refinitiv-ui/core": "^7.0.0-next.0",
351
+ "@refinitiv-ui/demo-block": "^7.0.0-next.0",
352
+ "@refinitiv-ui/i18n": "^7.0.0-next.0",
353
+ "@refinitiv-ui/phrasebook": "^7.0.0-next.0",
354
+ "@refinitiv-ui/test-helpers": "^7.0.0-next.0",
355
+ "@refinitiv-ui/translate": "^7.0.0-next.0",
356
+ "@refinitiv-ui/utils": "^7.0.0-next.0",
357
357
  "@types/d3-interpolate": "^3.0.1"
358
358
  },
359
359
  "peerDependencies": {
360
- "@refinitiv-ui/core": "^6.2.1",
361
- "@refinitiv-ui/i18n": "^6.0.9",
362
- "@refinitiv-ui/phrasebook": "^6.3.1",
363
- "@refinitiv-ui/translate": "^6.0.12",
364
- "@refinitiv-ui/utils": "^6.2.3"
360
+ "@refinitiv-ui/core": "^7.0.0-next.0",
361
+ "@refinitiv-ui/i18n": "^7.0.0-next.0",
362
+ "@refinitiv-ui/phrasebook": "^7.0.0-next.0",
363
+ "@refinitiv-ui/translate": "^7.0.0-next.0",
364
+ "@refinitiv-ui/utils": "^7.0.0-next.0"
365
365
  },
366
366
  "publishConfig": {
367
367
  "access": "public"
368
368
  },
369
- "gitHead": "69cae4d19528ee13a6d53f0703b75134f52c0524"
369
+ "gitHead": "96c383aaf7a31dc68da72eaa1ebf8fcb60c90015"
370
370
  }