@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.
- package/CHANGELOG.md +30 -0
- package/lib/accordion/index.js +1 -3
- package/lib/appstate-bar/custom-elements.json +2 -2
- package/lib/appstate-bar/custom-elements.md +4 -4
- package/lib/appstate-bar/index.d.ts +2 -2
- package/lib/appstate-bar/index.js +3 -11
- package/lib/appstate-bar/themes/halo/dark/index.js +1 -1
- package/lib/appstate-bar/themes/halo/light/index.js +1 -1
- package/lib/appstate-bar/themes/solar/charcoal/index.js +1 -1
- package/lib/appstate-bar/themes/solar/pearl/index.js +1 -1
- package/lib/autosuggest/custom-elements.json +8 -8
- package/lib/autosuggest/custom-elements.md +8 -8
- package/lib/autosuggest/helpers/types.d.ts +18 -18
- package/lib/autosuggest/index.d.ts +8 -8
- package/lib/autosuggest/index.js +79 -81
- package/lib/button/custom-elements.json +1 -1
- package/lib/button/custom-elements.md +1 -1
- package/lib/button/index.d.ts +1 -1
- package/lib/button/index.js +2 -4
- package/lib/button/themes/halo/dark/index.js +2 -1
- package/lib/button/themes/halo/light/index.js +2 -1
- package/lib/button/themes/solar/charcoal/index.js +2 -1
- package/lib/button/themes/solar/pearl/index.js +2 -1
- package/lib/button-bar/index.js +1 -3
- package/lib/calendar/custom-elements.json +2 -2
- package/lib/calendar/custom-elements.md +4 -4
- package/lib/calendar/index.d.ts +2 -2
- package/lib/calendar/index.js +3 -5
- package/lib/calendar/themes/halo/dark/index.js +1 -1
- package/lib/calendar/themes/halo/light/index.js +1 -1
- package/lib/calendar/themes/solar/charcoal/index.js +1 -1
- package/lib/calendar/themes/solar/pearl/index.js +1 -1
- package/lib/calendar/types.d.ts +5 -5
- package/lib/calendar/utils.d.ts +1 -1
- package/lib/canvas/custom-elements.json +1 -1
- package/lib/canvas/custom-elements.md +1 -1
- package/lib/canvas/index.d.ts +1 -1
- package/lib/canvas/index.js +9 -11
- package/lib/card/custom-elements.json +1 -1
- package/lib/card/custom-elements.md +3 -3
- package/lib/card/helpers/types.d.ts +1 -1
- package/lib/card/index.d.ts +1 -1
- package/lib/card/index.js +2 -4
- package/lib/chart/custom-elements.json +4 -0
- package/lib/chart/custom-elements.md +1 -0
- package/lib/chart/helpers/merge.d.ts +2 -2
- package/lib/chart/helpers/types.d.ts +4 -4
- package/lib/chart/index.d.ts +1 -1
- package/lib/chart/index.js +1 -3
- package/lib/chart/themes/halo/dark/index.js +1 -1
- package/lib/chart/themes/halo/light/index.js +1 -1
- package/lib/chart/themes/solar/charcoal/index.js +1 -1
- package/lib/chart/themes/solar/pearl/index.js +1 -1
- package/lib/checkbox/custom-elements.json +1 -1
- package/lib/checkbox/custom-elements.md +3 -3
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/index.js +2 -4
- package/lib/clock/custom-elements.json +2 -2
- package/lib/clock/custom-elements.md +2 -2
- package/lib/clock/index.d.ts +2 -2
- package/lib/clock/index.js +3 -5
- package/lib/clock/utils/TickManager.d.ts +1 -1
- package/lib/collapse/custom-elements.json +1 -1
- package/lib/collapse/custom-elements.md +3 -3
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse/index.js +2 -4
- package/lib/color-dialog/custom-elements.json +2 -2
- package/lib/color-dialog/custom-elements.md +4 -4
- package/lib/color-dialog/helpers/value-model.js +3 -1
- package/lib/color-dialog/index.d.ts +2 -2
- package/lib/color-dialog/index.js +3 -5
- package/lib/color-picker/custom-elements.json +1 -1
- package/lib/color-picker/custom-elements.md +3 -3
- package/lib/color-picker/index.d.ts +1 -1
- package/lib/color-picker/index.js +2 -4
- package/lib/combo-box/custom-elements.json +3 -6
- package/lib/combo-box/custom-elements.md +5 -6
- package/lib/combo-box/helpers/types.d.ts +2 -2
- package/lib/combo-box/index.d.ts +3 -12
- package/lib/combo-box/index.js +7 -20
- package/lib/combo-box/themes/halo/dark/index.js +2 -1
- package/lib/combo-box/themes/halo/light/index.js +2 -1
- package/lib/combo-box/themes/solar/charcoal/index.js +2 -1
- package/lib/combo-box/themes/solar/pearl/index.js +2 -1
- package/lib/counter/index.js +1 -3
- package/lib/counter/themes/halo/dark/index.js +2 -1
- package/lib/counter/themes/halo/light/index.js +2 -1
- package/lib/counter/themes/solar/charcoal/index.js +2 -1
- package/lib/counter/themes/solar/pearl/index.js +2 -1
- package/lib/datetime-field/types.d.ts +3 -3
- package/lib/datetime-picker/custom-elements.json +4 -4
- package/lib/datetime-picker/custom-elements.md +4 -4
- package/lib/datetime-picker/index.d.ts +4 -4
- package/lib/datetime-picker/index.js +5 -7
- package/lib/datetime-picker/themes/halo/dark/index.js +2 -1
- package/lib/datetime-picker/themes/halo/light/index.js +2 -1
- package/lib/datetime-picker/themes/solar/charcoal/index.js +2 -1
- package/lib/datetime-picker/themes/solar/pearl/index.js +2 -1
- package/lib/datetime-picker/types.d.ts +1 -1
- package/lib/dialog/custom-elements.json +1 -1
- package/lib/dialog/custom-elements.md +1 -1
- package/lib/dialog/index.d.ts +1 -1
- package/lib/dialog/index.js +2 -4
- package/lib/email-field/custom-elements.json +3 -3
- package/lib/email-field/custom-elements.md +5 -5
- package/lib/email-field/index.d.ts +3 -3
- package/lib/email-field/index.js +4 -6
- package/lib/email-field/themes/halo/dark/index.js +2 -1
- package/lib/email-field/themes/halo/light/index.js +2 -1
- package/lib/email-field/themes/solar/charcoal/index.js +2 -1
- package/lib/email-field/themes/solar/pearl/index.js +2 -1
- package/lib/events.d.ts +13 -13
- package/lib/flag/index.js +1 -3
- package/lib/header/index.js +1 -3
- package/lib/header/themes/halo/dark/index.js +1 -1
- package/lib/header/themes/halo/light/index.js +1 -1
- package/lib/header/themes/solar/charcoal/index.js +1 -1
- package/lib/header/themes/solar/pearl/index.js +1 -1
- package/lib/heatmap/helpers/types.d.ts +7 -7
- package/lib/heatmap/index.js +118 -120
- package/lib/icon/index.js +1 -3
- package/lib/interactive-chart/custom-elements.json +1 -1
- package/lib/interactive-chart/custom-elements.md +3 -3
- package/lib/interactive-chart/helpers/merge.d.ts +2 -2
- package/lib/interactive-chart/helpers/types.d.ts +7 -7
- package/lib/interactive-chart/index.d.ts +1 -1
- package/lib/interactive-chart/index.js +2 -4
- package/lib/item/custom-elements.json +4 -4
- package/lib/item/custom-elements.md +2 -2
- package/lib/item/helpers/types.d.ts +2 -2
- package/lib/item/index.d.ts +2 -1
- package/lib/item/index.js +3 -4
- package/lib/label/index.js +1 -3
- package/lib/layout/index.js +1 -3
- package/lib/led-gauge/index.js +8 -10
- package/lib/list/custom-elements.json +1 -1
- package/lib/list/custom-elements.md +3 -3
- package/lib/list/elements/list.d.ts +1 -1
- package/lib/list/elements/list.js +5 -8
- package/lib/list/helpers/renderer.d.ts +0 -4
- package/lib/list/helpers/renderer.js +5 -5
- package/lib/list/helpers/types.d.ts +1 -1
- package/lib/loader/index.js +1 -3
- package/lib/multi-input/custom-elements.json +5 -5
- package/lib/multi-input/custom-elements.md +5 -5
- package/lib/multi-input/helpers/types.d.ts +3 -3
- package/lib/multi-input/index.d.ts +5 -17
- package/lib/multi-input/index.js +6 -20
- package/lib/multi-input/themes/halo/dark/index.js +1 -1
- package/lib/multi-input/themes/halo/light/index.js +1 -1
- package/lib/multi-input/themes/solar/charcoal/index.js +1 -1
- package/lib/multi-input/themes/solar/pearl/index.js +1 -1
- package/lib/notification/custom-elements.json +2 -2
- package/lib/notification/custom-elements.md +4 -4
- package/lib/notification/elements/notification-tray.js +1 -3
- package/lib/notification/elements/notification.d.ts +2 -2
- package/lib/notification/elements/notification.js +3 -5
- package/lib/notification/helpers/types.d.ts +2 -2
- package/lib/number-field/custom-elements.json +2 -2
- package/lib/number-field/custom-elements.md +4 -4
- package/lib/number-field/index.d.ts +3 -3
- package/lib/number-field/index.js +3 -5
- package/lib/number-field/themes/halo/dark/index.js +2 -1
- package/lib/number-field/themes/halo/light/index.js +2 -1
- package/lib/number-field/themes/solar/charcoal/index.js +2 -1
- package/lib/number-field/themes/solar/pearl/index.js +2 -1
- package/lib/overlay/custom-elements.json +6 -9
- package/lib/overlay/custom-elements.md +7 -8
- package/lib/overlay/elements/overlay.d.ts +7 -7
- package/lib/overlay/elements/overlay.js +10 -19
- package/lib/overlay/helpers/types.d.ts +13 -13
- package/lib/overlay/managers/close-manager.d.ts +1 -1
- package/lib/overlay/managers/zindex-manager.d.ts +1 -1
- package/lib/overlay-menu/custom-elements.json +2 -2
- package/lib/overlay-menu/custom-elements.md +2 -2
- package/lib/overlay-menu/helpers/types.d.ts +2 -2
- package/lib/overlay-menu/index.d.ts +2 -2
- package/lib/overlay-menu/index.js +30 -32
- package/lib/pagination/custom-elements.json +1 -1
- package/lib/pagination/custom-elements.md +3 -3
- package/lib/pagination/index.d.ts +1 -2
- package/lib/pagination/index.js +2 -5
- package/lib/pagination/themes/halo/dark/index.js +1 -1
- package/lib/pagination/themes/halo/light/index.js +1 -1
- package/lib/pagination/themes/solar/charcoal/index.js +1 -1
- package/lib/pagination/themes/solar/pearl/index.js +1 -1
- package/lib/panel/index.js +1 -3
- package/lib/password-field/custom-elements.json +2 -6
- package/lib/password-field/custom-elements.md +4 -5
- package/lib/password-field/index.d.ts +2 -3
- package/lib/password-field/index.js +3 -6
- package/lib/password-field/themes/halo/dark/index.js +2 -1
- package/lib/password-field/themes/halo/light/index.js +2 -1
- package/lib/password-field/themes/solar/charcoal/index.js +2 -1
- package/lib/password-field/themes/solar/pearl/index.js +2 -1
- package/lib/pill/custom-elements.json +1 -1
- package/lib/pill/custom-elements.md +3 -3
- package/lib/pill/index.d.ts +1 -1
- package/lib/pill/index.js +2 -4
- package/lib/pill/themes/halo/dark/index.js +2 -1
- package/lib/pill/themes/halo/light/index.js +2 -1
- package/lib/pill/themes/solar/charcoal/index.js +2 -1
- package/lib/pill/themes/solar/pearl/index.js +2 -1
- package/lib/progress-bar/index.js +1 -3
- package/lib/radio-button/custom-elements.json +1 -1
- package/lib/radio-button/custom-elements.md +3 -3
- package/lib/radio-button/index.d.ts +1 -1
- package/lib/radio-button/index.js +2 -4
- package/lib/rating/custom-elements.json +1 -1
- package/lib/rating/custom-elements.md +3 -3
- package/lib/rating/index.d.ts +1 -1
- package/lib/rating/index.js +2 -4
- package/lib/search-field/custom-elements.json +3 -3
- package/lib/search-field/custom-elements.md +5 -5
- package/lib/search-field/index.d.ts +3 -3
- package/lib/search-field/index.js +4 -6
- package/lib/search-field/themes/halo/dark/index.js +2 -1
- package/lib/search-field/themes/halo/light/index.js +2 -1
- package/lib/search-field/themes/solar/charcoal/index.js +2 -1
- package/lib/search-field/themes/solar/pearl/index.js +2 -1
- package/lib/select/custom-elements.json +2 -2
- package/lib/select/custom-elements.md +4 -4
- package/lib/select/helpers/types.d.ts +2 -2
- package/lib/select/index.d.ts +2 -2
- package/lib/select/index.js +4 -5
- package/lib/select/themes/halo/dark/index.js +2 -1
- package/lib/select/themes/halo/light/index.js +2 -1
- package/lib/select/themes/solar/charcoal/index.js +2 -1
- package/lib/select/themes/solar/pearl/index.js +2 -1
- package/lib/sidebar-layout/index.js +1 -3
- package/lib/slider/custom-elements.json +3 -3
- package/lib/slider/custom-elements.md +5 -5
- package/lib/slider/index.d.ts +3 -3
- package/lib/slider/index.js +100 -102
- package/lib/sparkline/index.js +1 -3
- package/lib/swing-gauge/index.js +1 -3
- package/lib/swing-gauge/types.d.ts +1 -1
- package/lib/tab/custom-elements.json +1 -1
- package/lib/tab/custom-elements.md +3 -3
- package/lib/tab/index.d.ts +1 -1
- package/lib/tab/index.js +2 -4
- package/lib/tab/themes/halo/dark/index.js +1 -1
- package/lib/tab/themes/halo/light/index.js +1 -1
- package/lib/tab/themes/solar/charcoal/index.js +1 -1
- package/lib/tab/themes/solar/pearl/index.js +1 -1
- package/lib/tab-bar/custom-elements.json +1 -1
- package/lib/tab-bar/custom-elements.md +3 -3
- package/lib/tab-bar/index.d.ts +1 -1
- package/lib/tab-bar/index.js +2 -4
- package/lib/text-field/custom-elements.json +3 -3
- package/lib/text-field/custom-elements.md +5 -5
- package/lib/text-field/index.d.ts +3 -3
- package/lib/text-field/index.js +4 -6
- package/lib/text-field/themes/halo/dark/index.js +2 -1
- package/lib/text-field/themes/halo/light/index.js +2 -1
- package/lib/text-field/themes/solar/charcoal/index.js +2 -1
- package/lib/text-field/themes/solar/pearl/index.js +2 -1
- package/lib/time-picker/custom-elements.json +1 -1
- package/lib/time-picker/custom-elements.md +3 -3
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/time-picker/index.js +2 -4
- package/lib/time-picker/themes/halo/dark/index.js +2 -1
- package/lib/time-picker/themes/halo/light/index.js +2 -1
- package/lib/time-picker/themes/solar/charcoal/index.js +2 -1
- package/lib/time-picker/themes/solar/pearl/index.js +2 -1
- package/lib/toggle/custom-elements.json +1 -1
- package/lib/toggle/custom-elements.md +3 -3
- package/lib/toggle/index.d.ts +1 -1
- package/lib/toggle/index.js +2 -4
- package/lib/toggle/themes/halo/dark/index.js +1 -1
- package/lib/toggle/themes/halo/light/index.js +1 -1
- package/lib/toggle/themes/solar/charcoal/index.js +1 -1
- package/lib/toggle/themes/solar/pearl/index.js +1 -1
- package/lib/tooltip/helpers/types.d.ts +10 -10
- package/lib/tooltip/index.js +1 -3
- package/lib/tornado-chart/elements/tornado-chart.js +1 -3
- package/lib/tornado-chart/themes/halo/dark/index.js +1 -1
- package/lib/tornado-chart/themes/halo/light/index.js +1 -1
- package/lib/tornado-chart/themes/solar/charcoal/index.js +1 -1
- package/lib/tornado-chart/themes/solar/pearl/index.js +1 -1
- package/lib/tree/custom-elements.json +2 -2
- package/lib/tree/custom-elements.md +2 -2
- package/lib/tree/elements/tree-item.js +1 -3
- package/lib/tree/elements/tree.d.ts +2 -2
- package/lib/tree/elements/tree.js +2 -2
- package/lib/tree/helpers/renderer.d.ts +0 -4
- package/lib/tree/helpers/renderer.js +5 -5
- package/lib/tree/helpers/types.d.ts +2 -2
- package/lib/tree-select/custom-elements.json +7 -7
- package/lib/tree-select/custom-elements.md +7 -7
- package/lib/tree-select/helpers/types.d.ts +2 -2
- package/lib/tree-select/index.d.ts +5 -6
- package/lib/tree-select/index.js +15 -18
- package/lib/tree-select/themes/halo/dark/index.js +2 -1
- package/lib/tree-select/themes/halo/light/index.js +2 -1
- package/lib/tree-select/themes/solar/charcoal/index.js +2 -1
- package/lib/tree-select/themes/solar/pearl/index.js +2 -1
- package/lib/version.js +1 -1
- package/package.json +9 -9
|
@@ -17,8 +17,8 @@ import { OpenedMenusManager } from './managers/menu-manager.js';
|
|
|
17
17
|
import { Navigation } from './helpers/constants.js';
|
|
18
18
|
/**
|
|
19
19
|
* Overlay that supports single-level and multi-level menus
|
|
20
|
-
* @fires item-trigger -
|
|
21
|
-
* @fires opened-changed -
|
|
20
|
+
* @fires item-trigger - Fired when the user taps on item.
|
|
21
|
+
* @fires opened-changed - Fired when the user changes open state of the overlay e.g. when the user presses escape key or uses close button to close the overlay. The event is not triggered if `opened` property is changed programmatically.
|
|
22
22
|
*
|
|
23
23
|
* @attr {boolean} opened - True if the menu is currently displayed
|
|
24
24
|
* @prop {boolean} [opened=false] - True if the menu is currently displayed
|
|
@@ -61,6 +61,33 @@ import { Navigation } from './helpers/constants.js';
|
|
|
61
61
|
* @prop {Position[] | undefined} position - Set position and align against the attach target.
|
|
62
62
|
*/
|
|
63
63
|
let OverlayMenu = OverlayMenu_1 = class OverlayMenu extends Overlay {
|
|
64
|
+
/**
|
|
65
|
+
* Element version number
|
|
66
|
+
* @returns version number
|
|
67
|
+
*/
|
|
68
|
+
static get version() {
|
|
69
|
+
return VERSION;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* A `CSSResultGroup` that will be used
|
|
73
|
+
* to style the host, slotted children
|
|
74
|
+
* and the internal template of the element.
|
|
75
|
+
* @return CSS template
|
|
76
|
+
*/
|
|
77
|
+
static get styles() {
|
|
78
|
+
return [
|
|
79
|
+
super.styles,
|
|
80
|
+
css `
|
|
81
|
+
:host {
|
|
82
|
+
overflow-y: auto;
|
|
83
|
+
overflow-x: hidden;
|
|
84
|
+
}
|
|
85
|
+
:host([compact]:not([active])) { /* active is set in menu-manager */
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
`
|
|
89
|
+
];
|
|
90
|
+
}
|
|
64
91
|
constructor() {
|
|
65
92
|
super();
|
|
66
93
|
/**
|
|
@@ -106,33 +133,6 @@ let OverlayMenu = OverlayMenu_1 = class OverlayMenu extends Overlay {
|
|
|
106
133
|
*/
|
|
107
134
|
this.modificationUpdate = this.modificationUpdate.bind(this);
|
|
108
135
|
}
|
|
109
|
-
/**
|
|
110
|
-
* Element version number
|
|
111
|
-
* @returns version number
|
|
112
|
-
*/
|
|
113
|
-
static get version() {
|
|
114
|
-
return VERSION;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* A `CSSResultGroup` that will be used
|
|
118
|
-
* to style the host, slotted children
|
|
119
|
-
* and the internal template of the element.
|
|
120
|
-
* @return CSS template
|
|
121
|
-
*/
|
|
122
|
-
static get styles() {
|
|
123
|
-
return [
|
|
124
|
-
super.styles,
|
|
125
|
-
css `
|
|
126
|
-
:host {
|
|
127
|
-
overflow-y: auto;
|
|
128
|
-
overflow-x: hidden;
|
|
129
|
-
}
|
|
130
|
-
:host([compact]:not([active])) { /* active is set in menu-manager */
|
|
131
|
-
opacity: 0;
|
|
132
|
-
}
|
|
133
|
-
`
|
|
134
|
-
];
|
|
135
|
-
}
|
|
136
136
|
/**
|
|
137
137
|
* Array of item's values
|
|
138
138
|
* @type {string[]}
|
|
@@ -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 };
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"events": [
|
|
47
47
|
{
|
|
48
48
|
"name": "value-changed",
|
|
49
|
-
"description": "Fired when the `value` property is changed"
|
|
49
|
+
"description": "Fired when the user interacts with the control to change pages and so the `value` property changed. The event is not triggered if `value` is changed programmatically."
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"methods": [
|
|
@@ -21,6 +21,6 @@ Used to control and navigate through multiple pages
|
|
|
21
21
|
|
|
22
22
|
## Events
|
|
23
23
|
|
|
24
|
-
| Event | Description
|
|
25
|
-
|
|
26
|
-
| `value-changed` | Fired when the `value` property is changed |
|
|
24
|
+
| Event | Description |
|
|
25
|
+
|-----------------|--------------------------------------------------|
|
|
26
|
+
| `value-changed` | Fired when the user interacts with the control to change pages and so the `value` property changed. The event is not triggered if `value` is changed programmatically. |
|
|
@@ -4,7 +4,6 @@ import { Ref } from '@refinitiv-ui/core/directives/ref.js';
|
|
|
4
4
|
import '../button/index.js';
|
|
5
5
|
import '../button-bar/index.js';
|
|
6
6
|
import '../layout/index.js';
|
|
7
|
-
import '../text-field/index.js';
|
|
8
7
|
import '@refinitiv-ui/phrasebook/locale/en/pagination.js';
|
|
9
8
|
import { Translate, TranslateDirectiveResult } from '@refinitiv-ui/translate';
|
|
10
9
|
declare enum Direction {
|
|
@@ -13,7 +12,7 @@ declare enum Direction {
|
|
|
13
12
|
}
|
|
14
13
|
/**
|
|
15
14
|
* Used to control and navigate through multiple pages
|
|
16
|
-
* @fires value-changed - Fired when the `value` property is changed
|
|
15
|
+
* @fires value-changed - Fired when the user interacts with the control to change pages and so the `value` property changed. The event is not triggered if `value` is changed programmatically.
|
|
17
16
|
*/
|
|
18
17
|
export declare class Pagination extends BasicElement {
|
|
19
18
|
/**
|
package/lib/pagination/index.js
CHANGED
|
@@ -9,7 +9,6 @@ import { VERSION } from '../version.js';
|
|
|
9
9
|
import '../button/index.js';
|
|
10
10
|
import '../button-bar/index.js';
|
|
11
11
|
import '../layout/index.js';
|
|
12
|
-
import '../text-field/index.js';
|
|
13
12
|
import '@refinitiv-ui/phrasebook/locale/en/pagination.js';
|
|
14
13
|
import { translate } from '@refinitiv-ui/translate';
|
|
15
14
|
var Direction;
|
|
@@ -19,7 +18,7 @@ var Direction;
|
|
|
19
18
|
})(Direction || (Direction = {}));
|
|
20
19
|
/**
|
|
21
20
|
* Used to control and navigate through multiple pages
|
|
22
|
-
* @fires value-changed - Fired when the `value` property is changed
|
|
21
|
+
* @fires value-changed - Fired when the user interacts with the control to change pages and so the `value` property changed. The event is not triggered if `value` is changed programmatically.
|
|
23
22
|
*/
|
|
24
23
|
let Pagination = class Pagination extends BasicElement {
|
|
25
24
|
constructor() {
|
|
@@ -511,8 +510,6 @@ __decorate([
|
|
|
511
510
|
state()
|
|
512
511
|
], Pagination.prototype, "inputFocused", void 0);
|
|
513
512
|
Pagination = __decorate([
|
|
514
|
-
customElement('ef-pagination'
|
|
515
|
-
alias: 'emerald-pagination'
|
|
516
|
-
})
|
|
513
|
+
customElement('ef-pagination')
|
|
517
514
|
], Pagination);
|
|
518
515
|
export { Pagination };
|
|
@@ -2,4 +2,4 @@ import '@refinitiv-ui/elements/button/themes/halo/dark';
|
|
|
2
2
|
import '@refinitiv-ui/elements/button-bar/themes/halo/dark';
|
|
3
3
|
import '@refinitiv-ui/elements/layout/themes/halo/dark';
|
|
4
4
|
|
|
5
|
-
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pagination', styles: ':host [part=container]{align-items:center;justify-content:flex-end}:host [part=label]{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}:host [part=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-size:
|
|
5
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pagination', styles: ':host [part=container]{align-items:center;justify-content:flex-end}:host [part=label]{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}:host [part=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-size:12px;font-weight:400;max-width:100%;padding:0 8px;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#ccc;border-radius:0;background-color:#0d0d0d;text-overflow:ellipsis;border:1px solid #404040;touch-action:manipulation;min-width:40px;text-align:center;height:22px;width:150px;margin:0}:host [part=input][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(64,64,64,.5)}:host [part=input][type=number]{padding-right:0}:host [part=input][warning]{border:1px solid #7f6400}:host [part=input][warning][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(127,100,0,.5)}:host [part=input][error],:host [part=input][error][warning]{border:1px solid #a01c2b}:host [part=input][error][disabled],:host [part=input][error][warning][disabled]{color:rgba(204,204,204,.5);border:1px solid rgba(160,28,43,.5)}:host [part=input] ::-ms-clear{display:none}: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]:hover{border-color:grey;color:#fff}:host [part=input]:focus{background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#334bff}:host [part=button]{touch-action:manipulation}:host{margin:1px 0}:host [part=input]::-moz-selection{color:#fff;background-color:#334bff}:host [part=input]::selection{color:#fff;background-color:#334bff}:host [part=buttons]{margin:0}' }}));
|
|
@@ -2,4 +2,4 @@ import '@refinitiv-ui/elements/button/themes/halo/light';
|
|
|
2
2
|
import '@refinitiv-ui/elements/button-bar/themes/halo/light';
|
|
3
3
|
import '@refinitiv-ui/elements/layout/themes/halo/light';
|
|
4
4
|
|
|
5
|
-
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pagination', styles: ':host [part=container]{align-items:center;justify-content:flex-end}:host [part=label]{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}:host [part=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-size:
|
|
5
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pagination', styles: ':host [part=container]{align-items:center;justify-content:flex-end}:host [part=label]{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}:host [part=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-size:12px;font-weight:400;height:24px;max-width:100%;padding:0 8px;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#404040;border-radius:0;background-color:#fff;text-overflow:ellipsis;border:1px solid #595959;touch-action:manipulation;min-width:40px;text-align:center;width:150px;margin:0 1px}:host [part=input][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(89,89,89,.5)}:host [part=input][type=number]{padding-right:0}:host [part=input][warning]{border:1px solid #cca000}:host [part=input][warning][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(204,160,0,.5)}:host [part=input][error],:host [part=input][error][warning]{border:1px solid #b63243}:host [part=input][error][disabled],:host [part=input][error][warning][disabled]{color:rgba(64,64,64,.5);border:1px solid rgba(182,50,67,.5)}:host [part=input] ::-ms-clear{display:none}: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]:hover{border-color:#0d0d0d;color:#0d0d0d}:host [part=input]:focus{background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#334bff}:host [part=button]{touch-action:manipulation}:host{margin:1px 0}:host [part=input]::-moz-selection{color:#fff;background-color:#334bff}:host [part=input]::selection{color:#fff;background-color:#334bff}:host [part=buttons]{margin:0}' }}));
|
|
@@ -2,4 +2,4 @@ import '@refinitiv-ui/elements/button/themes/solar/charcoal';
|
|
|
2
2
|
import '@refinitiv-ui/elements/button-bar/themes/solar/charcoal';
|
|
3
3
|
import '@refinitiv-ui/elements/layout/themes/solar/charcoal';
|
|
4
4
|
|
|
5
|
-
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pagination', styles: ':host [part=container]{align-items:center;justify-content:flex-end}:host [part=label]{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}:host [part=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-size:
|
|
5
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pagination', styles: ':host [part=container]{align-items:center;justify-content:flex-end}:host [part=label]{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}:host [part=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-size:13px;font-weight:400;max-width:100%;padding:0 5px;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#c2c2c2;border-radius:0;background-color:#000;text-overflow:ellipsis;border:1px solid #4a4a52;touch-action:manipulation;min-width:40px;text-align:center;height:21px;width:150px;margin:0}:host [part=input][disabled]{color:rgba(194,194,194,.6);border:1px solid rgba(74,74,82,.6)}:host [part=input][type=number]{padding-right:0}:host [part=input][warning]{border:1px solid #f93}:host [part=input][warning][disabled]{color:rgba(194,194,194,.6);border:1px solid rgba(255,153,51,.6)}:host [part=input][error],:host [part=input][error][warning]{border:1px solid #f5475b}:host [part=input][error][disabled],:host [part=input][error][warning][disabled]{color:rgba(194,194,194,.6);border:1px solid rgba(245,71,91,.6)}:host [part=input] ::-ms-clear{display:none}: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]:hover{border-color:#77777d;color:#c2c2c2}:host [part=button]{touch-action:manipulation}:host{--first-icon:previous;--last-icon:next;--previous-icon:left;--next-icon:right}:host [part=input]:focus{background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#f93;border-style:dotted}' }}));
|
|
@@ -2,4 +2,4 @@ import '@refinitiv-ui/elements/button/themes/solar/pearl';
|
|
|
2
2
|
import '@refinitiv-ui/elements/button-bar/themes/solar/pearl';
|
|
3
3
|
import '@refinitiv-ui/elements/layout/themes/solar/pearl';
|
|
4
4
|
|
|
5
|
-
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pagination', styles: ':host [part=container]{align-items:center;justify-content:flex-end}:host [part=label]{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}:host [part=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-size:
|
|
5
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pagination', styles: ':host [part=container]{align-items:center;justify-content:flex-end}:host [part=label]{clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute}:host [part=input]{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;font-size:13px;font-weight:400;max-width:100%;padding:0 5px;outline:0;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;vertical-align:middle;color:#484848;border-radius:0;background-color:#fff;text-overflow:ellipsis;border:1px solid #a9afba;touch-action:manipulation;min-width:40px;text-align:center;height:23px;width:150px;margin:0 1px}:host [part=input][disabled]{color:rgba(72,72,72,.6);border:1px solid rgba(169,175,186,.6)}:host [part=input][type=number]{padding-right:0}:host [part=input][warning]{border:1px solid #f93}:host [part=input][warning][disabled]{color:rgba(72,72,72,.6);border:1px solid rgba(255,153,51,.6)}:host [part=input][error],:host [part=input][error][warning]{border:1px solid #d94255}:host [part=input][error][disabled],:host [part=input][error][warning][disabled]{color:rgba(72,72,72,.6);border:1px solid rgba(217,66,85,.6)}:host [part=input] ::-ms-clear{display:none}: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]:hover{border-color:#bfc3cb;color:#484848}:host [part=button]{touch-action:manipulation}:host{--first-icon:previous;--last-icon:next;--previous-icon:left;--next-icon:right}:host [part=input]:focus{background-size:100% 2px,100% 1px!important;background-position:center bottom!important;border-color:#ffb266;border-style:dotted}' }}));
|
package/lib/panel/index.js
CHANGED
|
@@ -128,15 +128,11 @@
|
|
|
128
128
|
"events": [
|
|
129
129
|
{
|
|
130
130
|
"name": "value-changed",
|
|
131
|
-
"description": "
|
|
131
|
+
"description": "Fired when user commits a value change. The event is not triggered if `value` property is changed programmatically."
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"name": "error-changed",
|
|
135
|
-
"description": "
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"name": "icon-click",
|
|
139
|
-
"description": "Dispatched when icon is clicked"
|
|
135
|
+
"description": "Fired when user inputs an invalid value. The event is not triggered if `error` property is changed programmatically."
|
|
140
136
|
}
|
|
141
137
|
]
|
|
142
138
|
}
|
|
@@ -26,8 +26,7 @@ A form control element for password.
|
|
|
26
26
|
|
|
27
27
|
## Events
|
|
28
28
|
|
|
29
|
-
| Event | Description
|
|
30
|
-
|
|
31
|
-
| `error-changed` |
|
|
32
|
-
| `
|
|
33
|
-
| `value-changed` | Dispatched when value changes |
|
|
29
|
+
| Event | Description |
|
|
30
|
+
|-----------------|--------------------------------------------------|
|
|
31
|
+
| `error-changed` | Fired when user inputs an invalid value. The event is not triggered if `error` property is changed programmatically. |
|
|
32
|
+
| `value-changed` | Fired when user commits a value change. The event is not triggered if `value` property is changed programmatically. |
|
|
@@ -8,9 +8,8 @@ import { Translate } from '@refinitiv-ui/translate';
|
|
|
8
8
|
/**
|
|
9
9
|
* A form control element for password.
|
|
10
10
|
*
|
|
11
|
-
* @fires value-changed -
|
|
12
|
-
* @fires error-changed -
|
|
13
|
-
* @fires icon-click - Dispatched when icon is clicked
|
|
11
|
+
* @fires value-changed - Fired when user commits a value change. The event is not triggered if `value` property is changed programmatically.
|
|
12
|
+
* @fires error-changed - Fired when user inputs an invalid value. The event is not triggered if `error` property is changed programmatically.
|
|
14
13
|
*
|
|
15
14
|
* @attr {boolean} disabled - Set disabled state
|
|
16
15
|
* @prop {boolean} [disabled=false] - Set disabled state
|
|
@@ -11,9 +11,8 @@ let isEyeOffPreloadRequested = false;
|
|
|
11
11
|
/**
|
|
12
12
|
* A form control element for password.
|
|
13
13
|
*
|
|
14
|
-
* @fires value-changed -
|
|
15
|
-
* @fires error-changed -
|
|
16
|
-
* @fires icon-click - Dispatched when icon is clicked
|
|
14
|
+
* @fires value-changed - Fired when user commits a value change. The event is not triggered if `value` property is changed programmatically.
|
|
15
|
+
* @fires error-changed - Fired when user inputs an invalid value. The event is not triggered if `error` property is changed programmatically.
|
|
17
16
|
*
|
|
18
17
|
* @attr {boolean} disabled - Set disabled state
|
|
19
18
|
* @prop {boolean} [disabled=false] - Set disabled state
|
|
@@ -108,8 +107,6 @@ __decorate([
|
|
|
108
107
|
state()
|
|
109
108
|
], PasswordField.prototype, "isPasswordVisible", void 0);
|
|
110
109
|
PasswordField = __decorate([
|
|
111
|
-
customElement('ef-password-field'
|
|
112
|
-
alias: 'coral-password-field'
|
|
113
|
-
})
|
|
110
|
+
customElement('ef-password-field')
|
|
114
111
|
], PasswordField);
|
|
115
112
|
export { PasswordField };
|
|
@@ -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-password-field', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:
|
|
4
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-password-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([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 [part=icon]{margin-left:2px;color:#ccc;min-width:1em}: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}: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]:hover{cursor:pointer}:host [part=input]::-ms-reveal{display:none}' }}));
|
|
@@ -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-password-field', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:
|
|
4
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-password-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([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 [part=icon]{margin-left:2px;color:#404040;min-width:1em}: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}: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]:hover{cursor:pointer}:host [part=input]::-ms-reveal{display:none}' }}));
|
|
@@ -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-password-field', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:
|
|
4
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-password-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)}:host [part=icon]:hover{cursor:pointer}:host [part=input]::-ms-reveal{display:none}' }}));
|
|
@@ -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-password-field', styles: ':host{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:left;font-family:inherit;font-size:
|
|
4
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-password-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)}:host [part=icon]:hover{cursor:pointer}:host [part=input]::-ms-reveal{display:none}' }}));
|
|
@@ -17,6 +17,6 @@ It is rarely used in the UI but inside other components to visualize multiple it
|
|
|
17
17
|
|
|
18
18
|
## Events
|
|
19
19
|
|
|
20
|
-
| Event | Description
|
|
21
|
-
|
|
22
|
-
| `clear` |
|
|
20
|
+
| Event | Description |
|
|
21
|
+
|---------|-------------------------------------------|
|
|
22
|
+
| `clear` | Fired when the user taps on clear button. |
|
package/lib/pill/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import '../icon/index.js';
|
|
|
14
14
|
* @attr {boolean} disabled - Set disabled state
|
|
15
15
|
* @prop {boolean} [disabled=false] - Set disabled state
|
|
16
16
|
*
|
|
17
|
-
* @fires clear -
|
|
17
|
+
* @fires clear - Fired when the user taps on clear button.
|
|
18
18
|
*/
|
|
19
19
|
export declare class Pill extends ControlElement {
|
|
20
20
|
/**
|
package/lib/pill/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import '../icon/index.js';
|
|
|
20
20
|
* @attr {boolean} disabled - Set disabled state
|
|
21
21
|
* @prop {boolean} [disabled=false] - Set disabled state
|
|
22
22
|
*
|
|
23
|
-
* @fires clear -
|
|
23
|
+
* @fires clear - Fired when the user taps on clear button.
|
|
24
24
|
*/
|
|
25
25
|
let Pill = class Pill extends ControlElement {
|
|
26
26
|
constructor() {
|
|
@@ -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 };
|
|
@@ -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-pill', styles: ':host{touch-action:manipulation;background:#333;transition:120ms;color:#ccc;margin:2px;font-family:inherit;font-size:
|
|
4
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pill', styles: ':host{touch-action:manipulation;background:#333;transition:120ms;color:#ccc;margin:2px;font-family:inherit;font-size:12px;font-weight:400;padding:0 5px;min-width:21px;max-width:180px;outline:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle;position:relative;overflow:hidden}:host [part=close]{touch-action:manipulation;border-radius:100%;position:relative;display:flex;margin-left:4px;flex:none;width:12px;height:12px;box-sizing:border-box;cursor:pointer;background-clip:content-box;color:#ccc;min-width:12px;opacity:.4;background-color:initial}:host [part=close]:active{border:1px solid transparent}:host([focused=visible]){border:1px solid #334bff}:host{border-radius:10px;height:20px;line-height:20px;background-color:#1a1a1a;border:1px solid #333}:host(:hover),:host([active]:hover){background-color:#1429bd;border-color:#1429bd}:host([active]){border-color:#0d0d0d;background-color:#334bff}:host([toggles][active][pressed]),:host([toggles][pressed]){border-color:#0d0d0d}:host([toggles][pressed]),:host([toggles][pressed]:hover){background-color:#0f1e8a}:host(:hover),:host([active]),:host([pressed]){color:#fff}:host(:hover) [part=close],:host([active]) [part=close],:host([pressed]) [part=close]{color:#fff;opacity:1}:host([disabled]){border-color:#0d0d0d;color:#ccc;background-color:#333}@media (pointer:coarse){:host(:not([active])),:host([toggles]:not([active])){color:#ccc;background-color:#1a1a1a;border-color:#333}:host(:not([active])) [part=close],:host([toggles]:not([active])) [part=close]{color:#ccc;opacity:.4}}' }}));
|
|
@@ -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-pill', styles: ':host{touch-action:manipulation;background:#fafafa;transition:120ms;color:#0d0d0d;margin:2px;font-family:inherit;font-size:
|
|
4
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pill', styles: ':host{touch-action:manipulation;background:#fafafa;transition:120ms;color:#0d0d0d;margin:2px;font-family:inherit;font-size:12px;font-weight:400;padding:0 5px;min-width:21px;max-width:180px;outline:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle;position:relative;overflow:hidden}:host [part=close]{touch-action:manipulation;border-radius:100%;position:relative;display:flex;margin-left:4px;flex:none;width:12px;height:12px;box-sizing:border-box;cursor:pointer;background-clip:content-box;color:#595959;min-width:12px;opacity:.4;background-color:initial}:host [part=close]:active{border:1px solid transparent}:host([focused=visible]){border:1px solid #334bff}:host{border-radius:10px;height:20px;line-height:20px;background-color:#fafafa;border:1px solid #ccc}:host(:hover),:host([active]:hover){background-color:#1429bd;border-color:#1429bd}:host([active]){border-color:#ccc;background-color:#334bff}:host([toggles][active][pressed]),:host([toggles][pressed]){border-color:#ccc}:host([toggles][pressed]),:host([toggles][pressed]:hover){background-color:#0f1e8a}:host(:hover),:host([active]),:host([pressed]){color:#fff}:host(:hover) [part=close],:host([active]) [part=close],:host([pressed]) [part=close]{color:#fff;opacity:1}:host([disabled]){border-color:#ccc;color:#0d0d0d;background-color:#fafafa}@media (pointer:coarse){:host(:not([active])),:host([toggles]:not([active])){color:#0d0d0d;background-color:#fafafa;border-color:#ccc}:host(:not([active])) [part=close],:host([toggles]:not([active])) [part=close]{color:#0d0d0d;opacity:.4}}' }}));
|
|
@@ -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-pill', styles: ':host{touch-action:manipulation;transition:70ms;font-family:inherit;font-size:
|
|
4
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pill', styles: ':host{touch-action:manipulation;transition:70ms;font-family:inherit;font-size:13px;font-weight:400;min-width:22px;max-width:180px;outline:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle;position:relative;overflow:hidden}:host [part=close]{touch-action:manipulation;border-radius:100%;position:relative;display:flex;margin-left:4px;flex:none;box-sizing:border-box;cursor:pointer;background-clip:content-box;width:11px;height:11px;color:#c2c2c2;background-color:#000}:host [part=close]:active{border:1px solid transparent}:host([clears]:hover) [part=close]{display:flex}:host([focused=visible]){border:1px solid #f93}:host{background:#c2c2c2;border-radius:2px;padding:0 4px;color:#000;height:17px;margin:3px 3px 0 0}:host [part=close]:active{border:none}:host([readonly]){background:#c2c2c2}:host([toggles][active]){background:#f93;color:#000}:host([toggles][active]) [part=close]{color:#f93}@media (-ms-high-contrast:none),(pointer:fine){:host(:hover){background:#fff}:host([toggles][active]:hover){background:#ffb366}}' }}));
|
|
@@ -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-pill', styles: ':host{touch-action:manipulation;transition:70ms;font-family:inherit;font-size:
|
|
4
|
+
dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-pill', styles: ':host{touch-action:manipulation;transition:70ms;font-family:inherit;font-size:13px;font-weight:400;min-width:22px;max-width:180px;outline:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle;position:relative;overflow:hidden}:host [part=close]{touch-action:manipulation;border-radius:100%;position:relative;display:flex;margin-left:4px;flex:none;box-sizing:border-box;cursor:pointer;background-clip:content-box;width:11px;height:11px;color:#a9afba;background-color:#fff}:host [part=close]:active{border:1px solid transparent}:host([clears]:hover) [part=close]{display:flex}:host([focused=visible]){border:1px solid #f93}:host{background:#a9afba;border-radius:2px;padding:0 4px;color:#fff;height:17px;margin:3px 3px 0 0}:host [part=close]:active{border:none}:host([readonly]){background:#a9afba}:host([toggles][active]){background:#ee7600;color:#fff}:host([toggles][active]) [part=close]{color:#ee7600}@media (-ms-high-contrast:none),(pointer:fine){:host(:hover){background:#8a8a96}:host([toggles][active]:hover){background:#ee7600}}' }}));
|
|
@@ -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 };
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"events": [
|
|
77
77
|
{
|
|
78
78
|
"name": "checked-changed",
|
|
79
|
-
"description": "Fired when the `checked` property
|
|
79
|
+
"description": "Fired when the user checks or unchecks the radio. The event is not fired if the `checked` property is changed programmatically."
|
|
80
80
|
}
|
|
81
81
|
]
|
|
82
82
|
}
|
|
@@ -14,6 +14,6 @@ Basic radio button
|
|
|
14
14
|
|
|
15
15
|
## Events
|
|
16
16
|
|
|
17
|
-
| Event | Description
|
|
18
|
-
|
|
19
|
-
| `checked-changed` | Fired when the `checked` property
|
|
17
|
+
| Event | Description |
|
|
18
|
+
|-------------------|--------------------------------------------------|
|
|
19
|
+
| `checked-changed` | Fired when the user checks or unchecks the radio. The event is not fired if the `checked` property is changed programmatically. |
|
|
@@ -3,7 +3,7 @@ import { CSSResultGroup, ControlElement, TemplateResult, PropertyValues } from '
|
|
|
3
3
|
/**
|
|
4
4
|
* Basic radio button
|
|
5
5
|
*
|
|
6
|
-
* @fires checked-changed - Fired when the `checked` property
|
|
6
|
+
* @fires checked-changed - Fired when the user checks or unchecks the radio. The event is not fired if the `checked` property is changed programmatically.
|
|
7
7
|
*
|
|
8
8
|
* @attr {string} value - Value of the radio button
|
|
9
9
|
* @prop {string} [value=""] - Value of the radio button
|
|
@@ -9,7 +9,7 @@ import { applyRegistry, removeFromRegistry, getRadioGroup } from './radio-button
|
|
|
9
9
|
/**
|
|
10
10
|
* Basic radio button
|
|
11
11
|
*
|
|
12
|
-
* @fires checked-changed - Fired when the `checked` property
|
|
12
|
+
* @fires checked-changed - Fired when the user checks or unchecks the radio. The event is not fired if the `checked` property is changed programmatically.
|
|
13
13
|
*
|
|
14
14
|
* @attr {string} value - Value of the radio button
|
|
15
15
|
* @prop {string} [value=""] - Value of the radio button
|
|
@@ -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 };
|
|
@@ -12,6 +12,6 @@ Star visualisation component that is generally used for ranking
|
|
|
12
12
|
|
|
13
13
|
## Events
|
|
14
14
|
|
|
15
|
-
| Event | Description
|
|
16
|
-
|
|
17
|
-
| `value-changed` | Fired when the `value`
|
|
15
|
+
| Event | Description |
|
|
16
|
+
|-----------------|--------------------------------------------------|
|
|
17
|
+
| `value-changed` | Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically. |
|
package/lib/rating/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { JSXInterface } from '../jsx';
|
|
|
2
2
|
import { BasicElement, TemplateResult, CSSResultGroup, PropertyValues } from '@refinitiv-ui/core';
|
|
3
3
|
/**
|
|
4
4
|
* Star visualisation component that is generally used for ranking
|
|
5
|
-
* @fires value-changed - Fired when the `value`
|
|
5
|
+
* @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
|
|
6
6
|
*/
|
|
7
7
|
export declare class Rating extends BasicElement {
|
|
8
8
|
/**
|
package/lib/rating/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { VERSION } from '../version.js';
|
|
|
6
6
|
import { clamp } from './utils.js';
|
|
7
7
|
/**
|
|
8
8
|
* Star visualisation component that is generally used for ranking
|
|
9
|
-
* @fires value-changed - Fired when the `value`
|
|
9
|
+
* @fires value-changed - Fired when the user commits a value change. The event is not triggered if `value` property is changed programmatically.
|
|
10
10
|
*/
|
|
11
11
|
let Rating = class Rating extends BasicElement {
|
|
12
12
|
constructor() {
|
|
@@ -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 };
|