@refinitiv-ui/elements 6.5.3 → 6.6.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 (295) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/lib/accordion/index.js +1 -3
  3. package/lib/appstate-bar/custom-elements.json +2 -2
  4. package/lib/appstate-bar/custom-elements.md +4 -4
  5. package/lib/appstate-bar/index.d.ts +2 -2
  6. package/lib/appstate-bar/index.js +3 -11
  7. package/lib/appstate-bar/themes/halo/dark/index.js +1 -1
  8. package/lib/appstate-bar/themes/halo/light/index.js +1 -1
  9. package/lib/appstate-bar/themes/solar/charcoal/index.js +1 -1
  10. package/lib/appstate-bar/themes/solar/pearl/index.js +1 -1
  11. package/lib/autosuggest/custom-elements.json +8 -8
  12. package/lib/autosuggest/custom-elements.md +8 -8
  13. package/lib/autosuggest/helpers/types.d.ts +18 -18
  14. package/lib/autosuggest/index.d.ts +8 -8
  15. package/lib/autosuggest/index.js +79 -81
  16. package/lib/button/custom-elements.json +1 -1
  17. package/lib/button/custom-elements.md +1 -1
  18. package/lib/button/index.d.ts +1 -1
  19. package/lib/button/index.js +2 -4
  20. package/lib/button/themes/halo/dark/index.js +1 -1
  21. package/lib/button/themes/halo/light/index.js +1 -1
  22. package/lib/button/themes/solar/charcoal/index.js +1 -1
  23. package/lib/button/themes/solar/pearl/index.js +1 -1
  24. package/lib/button-bar/index.js +1 -3
  25. package/lib/calendar/custom-elements.json +2 -2
  26. package/lib/calendar/custom-elements.md +4 -4
  27. package/lib/calendar/index.d.ts +2 -2
  28. package/lib/calendar/index.js +3 -5
  29. package/lib/calendar/themes/halo/dark/index.js +1 -1
  30. package/lib/calendar/themes/halo/light/index.js +1 -1
  31. package/lib/calendar/themes/solar/charcoal/index.js +1 -1
  32. package/lib/calendar/themes/solar/pearl/index.js +1 -1
  33. package/lib/calendar/types.d.ts +5 -5
  34. package/lib/calendar/utils.d.ts +1 -1
  35. package/lib/canvas/custom-elements.json +1 -1
  36. package/lib/canvas/custom-elements.md +1 -1
  37. package/lib/canvas/index.d.ts +1 -1
  38. package/lib/canvas/index.js +9 -11
  39. package/lib/card/custom-elements.json +1 -1
  40. package/lib/card/custom-elements.md +3 -3
  41. package/lib/card/helpers/types.d.ts +1 -1
  42. package/lib/card/index.d.ts +1 -1
  43. package/lib/card/index.js +2 -4
  44. package/lib/chart/custom-elements.json +4 -0
  45. package/lib/chart/custom-elements.md +1 -0
  46. package/lib/chart/helpers/merge.d.ts +2 -2
  47. package/lib/chart/helpers/types.d.ts +4 -4
  48. package/lib/chart/index.d.ts +1 -1
  49. package/lib/chart/index.js +1 -3
  50. package/lib/chart/themes/halo/dark/index.js +1 -1
  51. package/lib/chart/themes/halo/light/index.js +1 -1
  52. package/lib/chart/themes/solar/charcoal/index.js +1 -1
  53. package/lib/chart/themes/solar/pearl/index.js +1 -1
  54. package/lib/checkbox/custom-elements.json +1 -1
  55. package/lib/checkbox/custom-elements.md +3 -3
  56. package/lib/checkbox/index.d.ts +1 -1
  57. package/lib/checkbox/index.js +2 -4
  58. package/lib/clock/custom-elements.json +2 -2
  59. package/lib/clock/custom-elements.md +2 -2
  60. package/lib/clock/index.d.ts +2 -2
  61. package/lib/clock/index.js +3 -5
  62. package/lib/clock/utils/TickManager.d.ts +1 -1
  63. package/lib/collapse/custom-elements.json +1 -1
  64. package/lib/collapse/custom-elements.md +3 -3
  65. package/lib/collapse/index.d.ts +1 -1
  66. package/lib/collapse/index.js +2 -4
  67. package/lib/color-dialog/custom-elements.json +2 -2
  68. package/lib/color-dialog/custom-elements.md +4 -4
  69. package/lib/color-dialog/helpers/value-model.js +3 -1
  70. package/lib/color-dialog/index.d.ts +2 -2
  71. package/lib/color-dialog/index.js +3 -5
  72. package/lib/color-picker/custom-elements.json +1 -1
  73. package/lib/color-picker/custom-elements.md +3 -3
  74. package/lib/color-picker/index.d.ts +1 -1
  75. package/lib/color-picker/index.js +2 -4
  76. package/lib/combo-box/custom-elements.json +3 -6
  77. package/lib/combo-box/custom-elements.md +5 -6
  78. package/lib/combo-box/helpers/types.d.ts +2 -2
  79. package/lib/combo-box/index.d.ts +3 -12
  80. package/lib/combo-box/index.js +7 -20
  81. package/lib/combo-box/themes/halo/dark/index.js +1 -1
  82. package/lib/combo-box/themes/halo/light/index.js +1 -1
  83. package/lib/combo-box/themes/solar/charcoal/index.js +1 -1
  84. package/lib/combo-box/themes/solar/pearl/index.js +1 -1
  85. package/lib/counter/index.js +1 -3
  86. package/lib/counter/themes/halo/dark/index.js +1 -1
  87. package/lib/counter/themes/halo/light/index.js +1 -1
  88. package/lib/counter/themes/solar/charcoal/index.js +1 -1
  89. package/lib/counter/themes/solar/pearl/index.js +1 -1
  90. package/lib/datetime-field/types.d.ts +3 -3
  91. package/lib/datetime-picker/custom-elements.json +4 -4
  92. package/lib/datetime-picker/custom-elements.md +4 -4
  93. package/lib/datetime-picker/index.d.ts +4 -4
  94. package/lib/datetime-picker/index.js +5 -7
  95. package/lib/datetime-picker/themes/halo/dark/index.js +1 -1
  96. package/lib/datetime-picker/themes/halo/light/index.js +1 -1
  97. package/lib/datetime-picker/themes/solar/charcoal/index.js +1 -1
  98. package/lib/datetime-picker/themes/solar/pearl/index.js +1 -1
  99. package/lib/datetime-picker/types.d.ts +1 -1
  100. package/lib/dialog/custom-elements.json +1 -1
  101. package/lib/dialog/custom-elements.md +1 -1
  102. package/lib/dialog/index.d.ts +1 -1
  103. package/lib/dialog/index.js +2 -4
  104. package/lib/email-field/custom-elements.json +3 -3
  105. package/lib/email-field/custom-elements.md +5 -5
  106. package/lib/email-field/index.d.ts +3 -3
  107. package/lib/email-field/index.js +4 -6
  108. package/lib/email-field/themes/halo/dark/index.js +1 -1
  109. package/lib/email-field/themes/halo/light/index.js +1 -1
  110. package/lib/email-field/themes/solar/charcoal/index.js +1 -1
  111. package/lib/email-field/themes/solar/pearl/index.js +1 -1
  112. package/lib/events.d.ts +13 -13
  113. package/lib/flag/index.js +1 -3
  114. package/lib/header/index.js +1 -3
  115. package/lib/header/themes/halo/dark/index.js +1 -1
  116. package/lib/header/themes/halo/light/index.js +1 -1
  117. package/lib/header/themes/solar/charcoal/index.js +1 -1
  118. package/lib/header/themes/solar/pearl/index.js +1 -1
  119. package/lib/heatmap/helpers/types.d.ts +7 -7
  120. package/lib/heatmap/index.js +118 -120
  121. package/lib/icon/index.js +1 -3
  122. package/lib/interactive-chart/custom-elements.json +1 -1
  123. package/lib/interactive-chart/custom-elements.md +3 -3
  124. package/lib/interactive-chart/helpers/merge.d.ts +2 -2
  125. package/lib/interactive-chart/helpers/types.d.ts +7 -7
  126. package/lib/interactive-chart/index.d.ts +1 -1
  127. package/lib/interactive-chart/index.js +2 -4
  128. package/lib/item/custom-elements.json +4 -4
  129. package/lib/item/custom-elements.md +2 -2
  130. package/lib/item/helpers/types.d.ts +2 -2
  131. package/lib/item/index.d.ts +2 -1
  132. package/lib/item/index.js +3 -4
  133. package/lib/label/index.js +1 -3
  134. package/lib/layout/index.js +1 -3
  135. package/lib/led-gauge/index.js +8 -10
  136. package/lib/list/custom-elements.json +1 -1
  137. package/lib/list/custom-elements.md +3 -3
  138. package/lib/list/elements/list.d.ts +1 -1
  139. package/lib/list/elements/list.js +2 -4
  140. package/lib/list/helpers/types.d.ts +1 -1
  141. package/lib/loader/index.js +1 -3
  142. package/lib/multi-input/custom-elements.json +5 -5
  143. package/lib/multi-input/custom-elements.md +5 -5
  144. package/lib/multi-input/helpers/types.d.ts +3 -3
  145. package/lib/multi-input/index.d.ts +5 -17
  146. package/lib/multi-input/index.js +6 -20
  147. package/lib/multi-input/themes/halo/dark/index.js +1 -1
  148. package/lib/multi-input/themes/halo/light/index.js +1 -1
  149. package/lib/multi-input/themes/solar/charcoal/index.js +1 -1
  150. package/lib/multi-input/themes/solar/pearl/index.js +1 -1
  151. package/lib/notification/custom-elements.json +2 -2
  152. package/lib/notification/custom-elements.md +4 -4
  153. package/lib/notification/elements/notification-tray.js +1 -3
  154. package/lib/notification/elements/notification.d.ts +2 -2
  155. package/lib/notification/elements/notification.js +3 -5
  156. package/lib/notification/helpers/types.d.ts +2 -2
  157. package/lib/number-field/custom-elements.json +2 -2
  158. package/lib/number-field/custom-elements.md +4 -4
  159. package/lib/number-field/index.d.ts +3 -3
  160. package/lib/number-field/index.js +3 -5
  161. package/lib/number-field/themes/halo/dark/index.js +1 -1
  162. package/lib/number-field/themes/halo/light/index.js +1 -1
  163. package/lib/number-field/themes/solar/charcoal/index.js +1 -1
  164. package/lib/number-field/themes/solar/pearl/index.js +1 -1
  165. package/lib/overlay/custom-elements.json +6 -9
  166. package/lib/overlay/custom-elements.md +7 -8
  167. package/lib/overlay/elements/overlay.d.ts +7 -7
  168. package/lib/overlay/elements/overlay.js +10 -19
  169. package/lib/overlay/helpers/types.d.ts +13 -13
  170. package/lib/overlay/managers/close-manager.d.ts +1 -1
  171. package/lib/overlay/managers/zindex-manager.d.ts +1 -1
  172. package/lib/overlay-menu/custom-elements.json +2 -2
  173. package/lib/overlay-menu/custom-elements.md +2 -2
  174. package/lib/overlay-menu/helpers/types.d.ts +2 -2
  175. package/lib/overlay-menu/index.d.ts +2 -2
  176. package/lib/overlay-menu/index.js +30 -32
  177. package/lib/pagination/custom-elements.json +1 -1
  178. package/lib/pagination/custom-elements.md +3 -3
  179. package/lib/pagination/index.d.ts +1 -1
  180. package/lib/pagination/index.js +2 -4
  181. package/lib/pagination/themes/halo/dark/index.js +1 -1
  182. package/lib/pagination/themes/halo/light/index.js +1 -1
  183. package/lib/pagination/themes/solar/charcoal/index.js +1 -1
  184. package/lib/pagination/themes/solar/pearl/index.js +1 -1
  185. package/lib/panel/index.js +1 -3
  186. package/lib/password-field/custom-elements.json +2 -6
  187. package/lib/password-field/custom-elements.md +4 -5
  188. package/lib/password-field/index.d.ts +2 -3
  189. package/lib/password-field/index.js +3 -6
  190. package/lib/password-field/themes/halo/dark/index.js +1 -1
  191. package/lib/password-field/themes/halo/light/index.js +1 -1
  192. package/lib/password-field/themes/solar/charcoal/index.js +1 -1
  193. package/lib/password-field/themes/solar/pearl/index.js +1 -1
  194. package/lib/pill/custom-elements.json +1 -1
  195. package/lib/pill/custom-elements.md +3 -3
  196. package/lib/pill/index.d.ts +1 -1
  197. package/lib/pill/index.js +2 -4
  198. package/lib/pill/themes/halo/dark/index.js +1 -1
  199. package/lib/pill/themes/halo/light/index.js +1 -1
  200. package/lib/pill/themes/solar/charcoal/index.js +1 -1
  201. package/lib/pill/themes/solar/pearl/index.js +1 -1
  202. package/lib/progress-bar/index.js +1 -3
  203. package/lib/radio-button/custom-elements.json +1 -1
  204. package/lib/radio-button/custom-elements.md +3 -3
  205. package/lib/radio-button/index.d.ts +1 -1
  206. package/lib/radio-button/index.js +2 -4
  207. package/lib/rating/custom-elements.json +1 -1
  208. package/lib/rating/custom-elements.md +3 -3
  209. package/lib/rating/index.d.ts +1 -1
  210. package/lib/rating/index.js +2 -4
  211. package/lib/search-field/custom-elements.json +3 -3
  212. package/lib/search-field/custom-elements.md +5 -5
  213. package/lib/search-field/index.d.ts +3 -3
  214. package/lib/search-field/index.js +4 -6
  215. package/lib/search-field/themes/halo/dark/index.js +1 -1
  216. package/lib/search-field/themes/halo/light/index.js +1 -1
  217. package/lib/search-field/themes/solar/charcoal/index.js +1 -1
  218. package/lib/search-field/themes/solar/pearl/index.js +1 -1
  219. package/lib/select/custom-elements.json +2 -2
  220. package/lib/select/custom-elements.md +4 -4
  221. package/lib/select/helpers/types.d.ts +2 -2
  222. package/lib/select/index.d.ts +2 -2
  223. package/lib/select/index.js +3 -5
  224. package/lib/select/themes/halo/dark/index.js +1 -1
  225. package/lib/select/themes/halo/light/index.js +1 -1
  226. package/lib/select/themes/solar/charcoal/index.js +1 -1
  227. package/lib/select/themes/solar/pearl/index.js +1 -1
  228. package/lib/sidebar-layout/index.js +1 -3
  229. package/lib/slider/custom-elements.json +3 -3
  230. package/lib/slider/custom-elements.md +5 -5
  231. package/lib/slider/index.d.ts +3 -3
  232. package/lib/slider/index.js +100 -102
  233. package/lib/sparkline/index.js +1 -3
  234. package/lib/swing-gauge/index.js +1 -3
  235. package/lib/swing-gauge/types.d.ts +1 -1
  236. package/lib/tab/custom-elements.json +1 -1
  237. package/lib/tab/custom-elements.md +3 -3
  238. package/lib/tab/index.d.ts +1 -1
  239. package/lib/tab/index.js +2 -4
  240. package/lib/tab/themes/halo/dark/index.js +1 -1
  241. package/lib/tab/themes/halo/light/index.js +1 -1
  242. package/lib/tab/themes/solar/charcoal/index.js +1 -1
  243. package/lib/tab/themes/solar/pearl/index.js +1 -1
  244. package/lib/tab-bar/custom-elements.json +1 -1
  245. package/lib/tab-bar/custom-elements.md +3 -3
  246. package/lib/tab-bar/index.d.ts +1 -1
  247. package/lib/tab-bar/index.js +2 -4
  248. package/lib/text-field/custom-elements.json +3 -3
  249. package/lib/text-field/custom-elements.md +5 -5
  250. package/lib/text-field/index.d.ts +3 -3
  251. package/lib/text-field/index.js +4 -6
  252. package/lib/text-field/themes/halo/dark/index.js +1 -1
  253. package/lib/text-field/themes/halo/light/index.js +1 -1
  254. package/lib/text-field/themes/solar/charcoal/index.js +1 -1
  255. package/lib/text-field/themes/solar/pearl/index.js +1 -1
  256. package/lib/time-picker/custom-elements.json +1 -1
  257. package/lib/time-picker/custom-elements.md +3 -3
  258. package/lib/time-picker/index.d.ts +1 -1
  259. package/lib/time-picker/index.js +2 -4
  260. package/lib/time-picker/themes/halo/dark/index.js +1 -1
  261. package/lib/time-picker/themes/halo/light/index.js +1 -1
  262. package/lib/time-picker/themes/solar/charcoal/index.js +1 -1
  263. package/lib/time-picker/themes/solar/pearl/index.js +1 -1
  264. package/lib/toggle/custom-elements.json +1 -1
  265. package/lib/toggle/custom-elements.md +3 -3
  266. package/lib/toggle/index.d.ts +1 -1
  267. package/lib/toggle/index.js +2 -4
  268. package/lib/toggle/themes/halo/dark/index.js +1 -1
  269. package/lib/toggle/themes/halo/light/index.js +1 -1
  270. package/lib/toggle/themes/solar/charcoal/index.js +1 -1
  271. package/lib/toggle/themes/solar/pearl/index.js +1 -1
  272. package/lib/tooltip/helpers/types.d.ts +10 -10
  273. package/lib/tooltip/index.js +1 -3
  274. package/lib/tornado-chart/elements/tornado-chart.js +1 -3
  275. package/lib/tornado-chart/themes/halo/dark/index.js +1 -1
  276. package/lib/tornado-chart/themes/halo/light/index.js +1 -1
  277. package/lib/tornado-chart/themes/solar/charcoal/index.js +1 -1
  278. package/lib/tornado-chart/themes/solar/pearl/index.js +1 -1
  279. package/lib/tree/custom-elements.json +2 -2
  280. package/lib/tree/custom-elements.md +2 -2
  281. package/lib/tree/elements/tree-item.js +1 -3
  282. package/lib/tree/elements/tree.d.ts +2 -2
  283. package/lib/tree/elements/tree.js +2 -2
  284. package/lib/tree/helpers/types.d.ts +2 -2
  285. package/lib/tree-select/custom-elements.json +7 -7
  286. package/lib/tree-select/custom-elements.md +7 -7
  287. package/lib/tree-select/helpers/types.d.ts +2 -2
  288. package/lib/tree-select/index.d.ts +5 -5
  289. package/lib/tree-select/index.js +15 -17
  290. package/lib/tree-select/themes/halo/dark/index.js +1 -1
  291. package/lib/tree-select/themes/halo/light/index.js +1 -1
  292. package/lib/tree-select/themes/solar/charcoal/index.js +1 -1
  293. package/lib/tree-select/themes/solar/pearl/index.js +1 -1
  294. package/lib/version.js +1 -1
  295. package/package.json +9 -9
@@ -1,3 +1,3 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/halo/dark';
2
2
 
3
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-button', styles: ':host{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;background-color:#333;color:#ccc;border:1px solid #0d0d0d;height:24px;box-shadow:0 0 0 0 rgba(0,0,0,.5);padding:0 12px;outline:0;font-family:inherit;font-size:12rem;font-weight:400;min-width:60px;margin:1px 0;transition:120ms;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;position:relative;overflow:hidden;touch-action:manipulation}:host [part=icon]{flex:none;opacity:inherit;min-width:16px}:host(:not([empty])) [part=label]{white-space:inherit;overflow:inherit;text-overflow:inherit;min-width:0;flex:1 1 auto}:host([hover-icon]) #hover-icon{display:none}:host([cta]){background-color:#0d0d0d;color:#ccc;border-color:grey;box-shadow:0 0 0 0 rgba(0,0,0,.5);outline:0}:host([toggles]){background-color:#333;color:#ccc;border-color:#0d0d0d;box-shadow:0 0 0 0 rgba(0,0,0,.5);outline:0}:host([toggles][active]){background-color:#334bff;color:#fff;border-color:#0d0d0d;box-shadow:0 0 0 0 rgba(0,0,0,.5);outline:0}:host([empty][icon]){min-width:24px;padding:0}:host(:not([cta])[empty][icon][transparent]){background:0 0!important;box-shadow:none!important;border:none!important;color:#ccc}:host(:not([cta])[empty][icon][transparent]:not(:focus)){border-color:transparent!important}@media (-ms-high-contrast:none),(pointer:fine){:host([hover-icon]:hover) #icon{display:none}:host([hover-icon]:hover) #hover-icon{display:block}:host(:focus:not([focused])),:host([focused=visible]){background-color:#333;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host(:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host(:hover:not(:focus)){border-color:#1429bd;outline:0}:host([cta]:focus:not([focused])),:host([cta][focused=visible]){background-color:#0d0d0d;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host([cta]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host([cta]:hover:not(:focus)){border-color:#1429bd;outline:0}:host([toggles]:focus:not([focused])),:host([toggles][focused=visible]){background-color:#333;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host([toggles]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host([toggles]:hover:not(:focus)){border-color:#1429bd;outline:0}:host([toggles][active]:focus:not([focused])),:host([toggles][active][focused=visible]){background-color:#334bff;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host([toggles][active]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host([toggles][active]:hover:not(:focus)){border-color:#1429bd;outline:0}:host(:not([cta])[empty][icon][transparent]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][focused=visible]){background-color:transparent;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host(:not([cta])[empty][icon][transparent]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){border-color:#1429bd;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]){background-color:transparent;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover:not(:focus)){border-color:#1429bd;outline:0}}@media all{:host(:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host(:active:not(:focus)){border-color:#0d0d0d;outline:0}:host([disabled]){background-color:#333;color:#ccc;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host([cta]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host([cta]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host([cta][disabled]){background-color:#0d0d0d;color:#ccc;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host([toggles]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host([toggles]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host([toggles][disabled]){background-color:#333;color:#ccc;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host([toggles][active]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host([toggles][active]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host([toggles][active][disabled]){background-color:#334bff;color:#fff;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host(:not([cta])[empty][icon][transparent][disabled]){background-color:transparent;color:#333;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent][toggles][active]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host(:not([cta])[empty][icon][transparent][toggles][active]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active][disabled]){background-color:transparent;color:#334bff;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}}:host(:not([cta])[empty][icon][transparent][focused=visible]){outline:#334bff solid 1px}:host(:not([empty])[icon][textpos=before]) [part=icon]{order:1}:host(:not([empty])[icon][textpos=after]) [part=label]{padding-left:.3em}:host(:not([empty])[icon][textpos=before]) [part=label]{padding-right:.3em}:host [part=label]{line-height:22px}:host([toggles]:hover:not(:focus)){border-color:#0d0d0d}:host([toggles][active]:focus){color:#fff}:host([toggles]:focus:not([focused])),:host([toggles][active][focused=visible]){color:#ccc}:host([cta]:hover){border-color:#1429bd}:host([cta]:active){border-color:#0d0d0d}:host([icon]:not([toggles])[cta][transparent]) [part=icon]{color:#ccc}:host([icon]:hover[transparent]) [empty]{color:#fff}:host([icon]:hover[transparent][cta]) [part=icon]{color:#fff}:host([icon]:hover[transparent][cta][toggles]) [part=icon]{color:#fff}@media (pointer:coarse){:host(:hover[transparent][cta]:not([toggles]):not(:active)){background-color:#0d0d0d;border-color:transparent}:host(:hover[transparent][cta][toggles]){border-color:#0d0d0d}:host(:hover[transparent][cta][toggles]:not([active]):not(:active)) [part=icon]{color:#ccc}}:host([toggles][active][transparent]){color:#fff}:host([toggles][active][transparent]:not(:focus)){color:#6678ff}:host([toggles][active][transparent]:hover){color:#fff}:host([toggles][active][transparent][cta]){color:#fff}:host(:not(:hover):not(:focus):not(:active):not([cta])[transparent]){background-color:transparent;border-color:transparent}:host(:not([cta])[empty][icon][transparent][toggles][active]){color:#6678ff}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]),:host(:not([cta])[empty][icon][transparent][toggles][active][focused]){color:#334bff}:host(:not([cta])[empty][icon][transparent]:not([active]):hover){color:#fff}:host(:not([cta])[empty][icon][transparent][disabled]){color:#ccc}:host([disabled]){opacity:.5}:host([disabled][transparent][empty]){color:#ccc}:host([disabled][cta]:not([empty])){color:#ccc;background-color:#0d0d0d;border-color:grey}:host([disabled][cta]:not([empty])) [part=icon]{color:inherit}:host([disabled][cta][icon][empty]:not([toggles])){border-color:grey}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){background-color:transparent!important}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){background-color:transparent!important;border-color:transparent!important}:host(:focus:not([focused])),:host([cta][focused=visible]),:host([focused=visible]),:host([toggles][focused=visible]){border-color:#0d0d0d;background-color:#1429bd;color:#fff}' }}));
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-button', styles: ':host{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;background-color:#333;color:#ccc;border:1px solid #0d0d0d;height:24px;box-shadow:0 0 0 0 rgba(0,0,0,.5);padding:0 12px;outline:0;font-family:inherit;font-size:12px;font-weight:400;min-width:60px;margin:1px 0;transition:120ms;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;position:relative;overflow:hidden;touch-action:manipulation}:host [part=icon]{flex:none;opacity:inherit;min-width:16px}:host(:not([empty])) [part=label]{white-space:inherit;overflow:inherit;text-overflow:inherit;min-width:0;flex:1 1 auto}:host([hover-icon]) #hover-icon{display:none}:host([cta]){background-color:#0d0d0d;color:#ccc;border-color:grey;box-shadow:0 0 0 0 rgba(0,0,0,.5);outline:0}:host([toggles]){background-color:#333;color:#ccc;border-color:#0d0d0d;box-shadow:0 0 0 0 rgba(0,0,0,.5);outline:0}:host([toggles][active]){background-color:#334bff;color:#fff;border-color:#0d0d0d;box-shadow:0 0 0 0 rgba(0,0,0,.5);outline:0}:host([empty][icon]){min-width:24px;padding:0}:host(:not([cta])[empty][icon][transparent]){background:0 0!important;box-shadow:none!important;border:none!important;color:#ccc}:host(:not([cta])[empty][icon][transparent]:not(:focus)){border-color:transparent!important}@media (-ms-high-contrast:none),(pointer:fine){:host([hover-icon]:hover) #icon{display:none}:host([hover-icon]:hover) #hover-icon{display:block}:host(:focus:not([focused])),:host([focused=visible]){background-color:#333;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host(:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host(:hover:not(:focus)){border-color:#1429bd;outline:0}:host([cta]:focus:not([focused])),:host([cta][focused=visible]){background-color:#0d0d0d;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host([cta]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host([cta]:hover:not(:focus)){border-color:#1429bd;outline:0}:host([toggles]:focus:not([focused])),:host([toggles][focused=visible]){background-color:#333;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host([toggles]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host([toggles]:hover:not(:focus)){border-color:#1429bd;outline:0}:host([toggles][active]:focus:not([focused])),:host([toggles][active][focused=visible]){background-color:#334bff;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host([toggles][active]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host([toggles][active]:hover:not(:focus)){border-color:#1429bd;outline:0}:host(:not([cta])[empty][icon][transparent]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][focused=visible]){background-color:transparent;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host(:not([cta])[empty][icon][transparent]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){border-color:#1429bd;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]){background-color:transparent;color:#fff;box-shadow:none;border-color:#0d0d0d;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.8)}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover:not(:focus)){border-color:#1429bd;outline:0}}@media all{:host(:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host(:active:not(:focus)){border-color:#0d0d0d;outline:0}:host([disabled]){background-color:#333;color:#ccc;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host([cta]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host([cta]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host([cta][disabled]){background-color:#0d0d0d;color:#ccc;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host([toggles]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host([toggles]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host([toggles][disabled]){background-color:#333;color:#ccc;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host([toggles][active]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host([toggles][active]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host([toggles][active][disabled]){background-color:#334bff;color:#fff;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host(:not([cta])[empty][icon][transparent][disabled]){background-color:transparent;color:#333;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent][toggles][active]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.5)}:host(:not([cta])[empty][icon][transparent][toggles][active]:active:not(:focus)){border-color:#0d0d0d;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active][disabled]){background-color:transparent;color:#334bff;border-color:#0d0d0d;box-shadow:none;outline:0;pointer-events:none}}:host(:not([cta])[empty][icon][transparent][focused=visible]){outline:#334bff solid 1px}:host(:not([empty])[icon][textpos=before]) [part=icon]{order:1}:host(:not([empty])[icon][textpos=after]) [part=label]{padding-left:.3em}:host(:not([empty])[icon][textpos=before]) [part=label]{padding-right:.3em}:host [part=label]{line-height:22px}:host([toggles]:hover:not(:focus)){border-color:#0d0d0d}:host([toggles][active]:focus){color:#fff}:host([toggles]:focus:not([focused])),:host([toggles][active][focused=visible]){color:#ccc}:host([cta]:hover){border-color:#1429bd}:host([cta]:active){border-color:#0d0d0d}:host([icon]:not([toggles])[cta][transparent]) [part=icon]{color:#ccc}:host([icon]:hover[transparent]) [empty]{color:#fff}:host([icon]:hover[transparent][cta]) [part=icon]{color:#fff}:host([icon]:hover[transparent][cta][toggles]) [part=icon]{color:#fff}@media (pointer:coarse){:host(:hover[transparent][cta]:not([toggles]):not(:active)){background-color:#0d0d0d;border-color:transparent}:host(:hover[transparent][cta][toggles]){border-color:#0d0d0d}:host(:hover[transparent][cta][toggles]:not([active]):not(:active)) [part=icon]{color:#ccc}}:host([toggles][active][transparent]){color:#fff}:host([toggles][active][transparent]:not(:focus)){color:#6678ff}:host([toggles][active][transparent]:hover){color:#fff}:host([toggles][active][transparent][cta]){color:#fff}:host(:not(:hover):not(:focus):not(:active):not([cta])[transparent]){background-color:transparent;border-color:transparent}:host(:not([cta])[empty][icon][transparent][toggles][active]){color:#6678ff}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]),:host(:not([cta])[empty][icon][transparent][toggles][active][focused]){color:#334bff}:host(:not([cta])[empty][icon][transparent]:not([active]):hover){color:#fff}:host(:not([cta])[empty][icon][transparent][disabled]){color:#ccc}:host([disabled]){opacity:.5}:host([disabled][transparent][empty]){color:#ccc}:host([disabled][cta]:not([empty])){color:#ccc;background-color:#0d0d0d;border-color:grey}:host([disabled][cta]:not([empty])) [part=icon]{color:inherit}:host([disabled][cta][icon][empty]:not([toggles])){border-color:grey}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){background-color:transparent!important}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){background-color:transparent!important;border-color:transparent!important}:host(:focus:not([focused])),:host([cta][focused=visible]),:host([focused=visible]),:host([toggles][focused=visible]){border-color:#0d0d0d;background-color:#1429bd;color:#fff}' }}));
@@ -1,3 +1,3 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/halo/light';
2
2
 
3
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-button', styles: ':host{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;background-color:#fafafa;color:#0d0d0d;border:1px solid #ccc;height:24px;box-shadow:0 0 0 0 rgba(0,0,0,.25);padding:0 12px;outline:0;font-family:inherit;font-size:12rem;font-weight:400;min-width:60px;margin:1px 0;transition:120ms;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;position:relative;overflow:hidden;touch-action:manipulation}:host [part=icon]{flex:none;opacity:inherit;min-width:16px}:host(:not([empty])) [part=label]{white-space:inherit;overflow:inherit;text-overflow:inherit;min-width:0;flex:1 1 auto}:host([hover-icon]) #hover-icon{display:none}:host([cta]){background-color:#0d0d0d;color:#ccc;border-color:#0d0d0d;box-shadow:0 0 0 0 rgba(0,0,0,.25);outline:0}:host([toggles]){background-color:#fafafa;color:#0d0d0d;border-color:#ccc;box-shadow:0 0 0 0 rgba(0,0,0,.25);outline:0}:host([toggles][active]){background-color:#334bff;color:#fff;border-color:#ccc;box-shadow:0 0 0 0 rgba(0,0,0,.25);outline:0}:host([empty][icon]){min-width:24px;padding:0}:host(:not([cta])[empty][icon][transparent]){background:0 0!important;box-shadow:none!important;border:none!important;color:#595959}:host(:not([cta])[empty][icon][transparent]:not(:focus)){border-color:transparent!important}@media (-ms-high-contrast:none),(pointer:fine){:host([hover-icon]:hover) #icon{display:none}:host([hover-icon]:hover) #hover-icon{display:block}:host(:focus:not([focused])),:host([focused=visible]){background-color:#fafafa;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host(:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host(:hover:not(:focus)){border-color:#1429bd;outline:0}:host([cta]:focus:not([focused])),:host([cta][focused=visible]){background-color:#0d0d0d;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host([cta]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host([cta]:hover:not(:focus)){border-color:#1429bd;outline:0}:host([toggles]:focus:not([focused])),:host([toggles][focused=visible]){background-color:#fafafa;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host([toggles]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host([toggles]:hover:not(:focus)){border-color:#1429bd;outline:0}:host([toggles][active]:focus:not([focused])),:host([toggles][active][focused=visible]){background-color:#334bff;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host([toggles][active]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host([toggles][active]:hover:not(:focus)){border-color:#1429bd;outline:0}:host(:not([cta])[empty][icon][transparent]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][focused=visible]){background-color:transparent;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host(:not([cta])[empty][icon][transparent]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){border-color:#1429bd;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]){background-color:transparent;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover:not(:focus)){border-color:#1429bd;outline:0}}@media all{:host(:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host(:active:not(:focus)){border-color:#ccc;outline:0}:host([disabled]){background-color:#fafafa;color:#0d0d0d;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host([cta]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host([cta]:active:not(:focus)){border-color:#ccc;outline:0}:host([cta][disabled]){background-color:#0d0d0d;color:#ccc;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host([toggles]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host([toggles]:active:not(:focus)){border-color:#ccc;outline:0}:host([toggles][disabled]){background-color:#fafafa;color:#0d0d0d;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host([toggles][active]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host([toggles][active]:active:not(:focus)){border-color:#ccc;outline:0}:host([toggles][active][disabled]){background-color:#334bff;color:#fff;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){border-color:#ccc;outline:0}:host(:not([cta])[empty][icon][transparent][disabled]){background-color:transparent;color:#fafafa;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent][toggles][active]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host(:not([cta])[empty][icon][transparent][toggles][active]:active:not(:focus)){border-color:#ccc;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active][disabled]){background-color:transparent;color:#334bff;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}}:host(:not([cta])[empty][icon][transparent][focused=visible]){outline:#334bff solid 1px}:host(:not([empty])[icon][textpos=before]) [part=icon]{order:1}:host(:not([empty])[icon][textpos=after]) [part=label]{padding-left:.3em}:host(:not([empty])[icon][textpos=before]) [part=label]{padding-right:.3em}:host [part=label]{line-height:22px}:host([toggles]:hover:not(:focus)){border-color:#ccc}:host([toggles][active]:focus){color:#fff}:host([toggles]:focus:not([focused])),:host([toggles][active][focused=visible]){color:#0d0d0d}:host([cta]:hover){border-color:#1429bd}:host([cta]:active){border-color:#ccc}:host([icon]:not([toggles])[cta][transparent]) [part=icon]{color:#ccc}:host([icon]:hover[transparent]) [empty]{color:#0d0d0d}:host([icon]:hover[transparent][cta]) [part=icon]{color:#fff}:host([icon]:hover[transparent][cta][toggles]) [part=icon]{color:#fff}@media (pointer:coarse){:host(:hover[transparent][cta]:not([toggles]):not(:active)){background-color:#0d0d0d;border-color:transparent}:host(:hover[transparent][cta][toggles]){border-color:#ccc}:host(:hover[transparent][cta][toggles]:not([active]):not(:active)) [part=icon]{color:#0d0d0d}}:host([toggles][active][transparent]){color:#fff}:host([toggles][active][transparent]:not(:focus)){color:#6678ff}:host([toggles][active][transparent]:hover){color:#fff}:host([toggles][active][transparent][cta]){color:#fff}:host(:not(:hover):not(:focus):not(:active):not([cta])[transparent]){background-color:transparent;border-color:transparent}:host(:not([cta])[empty][icon][transparent][toggles][active]){color:#6678ff}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]),:host(:not([cta])[empty][icon][transparent][toggles][active][focused]){color:#334bff}:host(:not([cta])[empty][icon][transparent]:not([active]):hover){color:#0d0d0d}:host(:not([cta])[empty][icon][transparent][disabled]){color:#595959}:host([disabled]){opacity:.5}:host([disabled][transparent][empty]){color:#595959}:host([disabled][cta]:not([empty])){color:#ccc;background-color:#0d0d0d;border-color:#0d0d0d}:host([disabled][cta]:not([empty])) [part=icon]{color:inherit}:host([disabled][cta][icon][empty]:not([toggles])){border-color:#0d0d0d}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){background-color:transparent!important}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){background-color:transparent!important;border-color:transparent!important}:host(:focus:not([focused])),:host([cta][focused=visible]),:host([focused=visible]),:host([toggles][focused=visible]){border-color:#ccc;background-color:#1429bd;color:#fff}' }}));
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-button', styles: ':host{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;background-color:#fafafa;color:#0d0d0d;border:1px solid #ccc;height:24px;box-shadow:0 0 0 0 rgba(0,0,0,.25);padding:0 12px;outline:0;font-family:inherit;font-size:12px;font-weight:400;min-width:60px;margin:1px 0;transition:120ms;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;position:relative;overflow:hidden;touch-action:manipulation}:host [part=icon]{flex:none;opacity:inherit;min-width:16px}:host(:not([empty])) [part=label]{white-space:inherit;overflow:inherit;text-overflow:inherit;min-width:0;flex:1 1 auto}:host([hover-icon]) #hover-icon{display:none}:host([cta]){background-color:#0d0d0d;color:#ccc;border-color:#0d0d0d;box-shadow:0 0 0 0 rgba(0,0,0,.25);outline:0}:host([toggles]){background-color:#fafafa;color:#0d0d0d;border-color:#ccc;box-shadow:0 0 0 0 rgba(0,0,0,.25);outline:0}:host([toggles][active]){background-color:#334bff;color:#fff;border-color:#ccc;box-shadow:0 0 0 0 rgba(0,0,0,.25);outline:0}:host([empty][icon]){min-width:24px;padding:0}:host(:not([cta])[empty][icon][transparent]){background:0 0!important;box-shadow:none!important;border:none!important;color:#595959}:host(:not([cta])[empty][icon][transparent]:not(:focus)){border-color:transparent!important}@media (-ms-high-contrast:none),(pointer:fine){:host([hover-icon]:hover) #icon{display:none}:host([hover-icon]:hover) #hover-icon{display:block}:host(:focus:not([focused])),:host([focused=visible]){background-color:#fafafa;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host(:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host(:hover:not(:focus)){border-color:#1429bd;outline:0}:host([cta]:focus:not([focused])),:host([cta][focused=visible]){background-color:#0d0d0d;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host([cta]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host([cta]:hover:not(:focus)){border-color:#1429bd;outline:0}:host([toggles]:focus:not([focused])),:host([toggles][focused=visible]){background-color:#fafafa;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host([toggles]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host([toggles]:hover:not(:focus)){border-color:#1429bd;outline:0}:host([toggles][active]:focus:not([focused])),:host([toggles][active][focused=visible]){background-color:#334bff;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host([toggles][active]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host([toggles][active]:hover:not(:focus)){border-color:#1429bd;outline:0}:host(:not([cta])[empty][icon][transparent]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][focused=visible]){background-color:transparent;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host(:not([cta])[empty][icon][transparent]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){border-color:#1429bd;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]){background-color:transparent;color:#000;box-shadow:none;border-color:#ccc;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover){background-color:#1429bd;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.55)}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover:not(:focus)){border-color:#1429bd;outline:0}}@media all{:host(:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host(:active:not(:focus)){border-color:#ccc;outline:0}:host([disabled]){background-color:#fafafa;color:#0d0d0d;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host([cta]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host([cta]:active:not(:focus)){border-color:#ccc;outline:0}:host([cta][disabled]){background-color:#0d0d0d;color:#ccc;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host([toggles]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host([toggles]:active:not(:focus)){border-color:#ccc;outline:0}:host([toggles][disabled]){background-color:#fafafa;color:#0d0d0d;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host([toggles][active]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host([toggles][active]:active:not(:focus)){border-color:#ccc;outline:0}:host([toggles][active][disabled]){background-color:#334bff;color:#fff;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){border-color:#ccc;outline:0}:host(:not([cta])[empty][icon][transparent][disabled]){background-color:transparent;color:#fafafa;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent][toggles][active]:active){background-color:#0f1e8a;color:#fff;box-shadow:0 0 0 0 rgba(0,0,0,.25)}:host(:not([cta])[empty][icon][transparent][toggles][active]:active:not(:focus)){border-color:#ccc;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active][disabled]){background-color:transparent;color:#334bff;border-color:#ccc;box-shadow:none;outline:0;pointer-events:none}}:host(:not([cta])[empty][icon][transparent][focused=visible]){outline:#334bff solid 1px}:host(:not([empty])[icon][textpos=before]) [part=icon]{order:1}:host(:not([empty])[icon][textpos=after]) [part=label]{padding-left:.3em}:host(:not([empty])[icon][textpos=before]) [part=label]{padding-right:.3em}:host [part=label]{line-height:22px}:host([toggles]:hover:not(:focus)){border-color:#ccc}:host([toggles][active]:focus){color:#fff}:host([toggles]:focus:not([focused])),:host([toggles][active][focused=visible]){color:#0d0d0d}:host([cta]:hover){border-color:#1429bd}:host([cta]:active){border-color:#ccc}:host([icon]:not([toggles])[cta][transparent]) [part=icon]{color:#ccc}:host([icon]:hover[transparent]) [empty]{color:#0d0d0d}:host([icon]:hover[transparent][cta]) [part=icon]{color:#fff}:host([icon]:hover[transparent][cta][toggles]) [part=icon]{color:#fff}@media (pointer:coarse){:host(:hover[transparent][cta]:not([toggles]):not(:active)){background-color:#0d0d0d;border-color:transparent}:host(:hover[transparent][cta][toggles]){border-color:#ccc}:host(:hover[transparent][cta][toggles]:not([active]):not(:active)) [part=icon]{color:#0d0d0d}}:host([toggles][active][transparent]){color:#fff}:host([toggles][active][transparent]:not(:focus)){color:#6678ff}:host([toggles][active][transparent]:hover){color:#fff}:host([toggles][active][transparent][cta]){color:#fff}:host(:not(:hover):not(:focus):not(:active):not([cta])[transparent]){background-color:transparent;border-color:transparent}:host(:not([cta])[empty][icon][transparent][toggles][active]){color:#6678ff}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]),:host(:not([cta])[empty][icon][transparent][toggles][active][focused]){color:#334bff}:host(:not([cta])[empty][icon][transparent]:not([active]):hover){color:#0d0d0d}:host(:not([cta])[empty][icon][transparent][disabled]){color:#595959}:host([disabled]){opacity:.5}:host([disabled][transparent][empty]){color:#595959}:host([disabled][cta]:not([empty])){color:#ccc;background-color:#0d0d0d;border-color:#0d0d0d}:host([disabled][cta]:not([empty])) [part=icon]{color:inherit}:host([disabled][cta][icon][empty]:not([toggles])){border-color:#0d0d0d}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){background-color:transparent!important}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){background-color:transparent!important;border-color:transparent!important}:host(:focus:not([focused])),:host([cta][focused=visible]),:host([focused=visible]),:host([toggles][focused=visible]){border-color:#ccc;background-color:#1429bd;color:#fff}' }}));
@@ -1,3 +1,3 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/solar/charcoal';
2
2
 
3
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-button', styles: ':host{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:0 0 0 0 rgba(0,0,0,.6);font-family:inherit;min-width:23px;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;touch-action:manipulation}:host [part=icon]{flex:none}:host(:not([empty])) [part=label]{white-space:inherit;overflow:inherit;text-overflow:inherit;min-width:0;flex:1 1 auto}:host([hover-icon]) #hover-icon{display:none}:host([empty][icon]){min-width:23px;padding:0}:host(:not([cta])[empty][icon][transparent]){background:0 0!important;box-shadow:none!important;border:none!important;color:#c2c2c2}:host(:not([cta])[empty][icon][transparent]:not(:focus)){border-color:transparent!important}:host(:not([cta])[empty][icon][transparent][toggles][active]){color:rgba(0,0,0,.07)}@media (-ms-high-contrast:none),(pointer:fine){:host([hover-icon]:hover) #icon{display:none}:host([hover-icon]:hover) #hover-icon{display:block}:host(:not([cta])[empty][icon][transparent]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][focused=visible]){background-color:transparent;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host(:not([cta])[empty][icon][transparent]:hover){background-color:rgba(18,18,18,0);color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){border-color:#000;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]){background-color:transparent;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover){background-color:rgba(18,18,18,0);color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover:not(:focus)){border-color:#000;outline:0}:host(:focus:not([focused])),:host([focused=visible]){background-color:#3c3c42;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host(:hover){background-color:#4d4d55;color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host(:hover:not(:focus)){border-color:#000;outline:0}}:host(:not([cta])[empty][icon][transparent][focused=visible]){outline:#f93 solid 1px}:host(:not([empty])[icon][textpos=before]) [part=icon]{order:1}:host(:not([empty])[icon][textpos=after]) [part=label]{padding-left:.3em}:host(:not([empty])[icon][textpos=before]) [part=label]{padding-right:.3em}:host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;background-color:#3c3c42;color:#c2c2c2;border:1px solid #000;height:23px;box-shadow:0 0 0 0 rgba(0,0,0,.6);padding:0 8px;outline:0;font-family:inherit;font-size:13rem;font-weight:400;min-width:23px;margin:1px 0;transition:70ms;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;position:relative;overflow:hidden;background-image:linear-gradient(rgba(255,255,255,.1) 10%,rgba(255,255,255,0) 100%)}:host([cta]){background-color:#f93;color:#0a0a0a;border-color:#000;box-shadow:0 0 0 0 rgba(0,0,0,.6);outline:0;background-image:linear-gradient(rgba(255,255,255,.1) 10%,rgba(255,255,255,0) 100%)}:host([toggles]){background-color:#3c3c42;color:#c2c2c2;border-color:#000;box-shadow:0 0 0 0 rgba(0,0,0,.6);outline:0}:host([toggles][active]){border-color:#000;box-shadow:0 0 0 0 rgba(0,0,0,.6);outline:0;color:#f93!important;background-color:#38383d!important;background-image:linear-gradient(rgba(255,255,255,0) 0,rgba(255,255,255,.1) 90%)}@media all{:host(:not([cta])[empty][icon][transparent]:active){background-color:rgba(0,0,0,.07);color:#3c3c42;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){border-color:#000;outline:0}:host(:not([cta])[empty][icon][transparent][disabled]){background-color:transparent;color:#3c3c42;border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent][toggles][active]:active){background-color:rgba(0,0,0,.07);color:rgba(0,0,0,.07);box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:not([cta])[empty][icon][transparent][toggles][active]:active:not(:focus)){border-color:#000;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active][disabled]){background-color:transparent;color:rgba(0,0,0,.07);border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host(:active){background-color:#38383d;color:#c2c2c2;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:active:not(:focus)){border-color:#000;outline:0}:host([disabled]){background-color:#3c3c42;color:#c2c2c2;border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host([cta]:active){background-color:#ed8e2f;color:#0a0a0a;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([cta]:active:not(:focus)){border-color:#000;outline:0}:host([cta][disabled]){background-color:#f93;color:#0a0a0a;border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host([toggles]:active){background-color:#38383d;color:#c2c2c2;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([toggles]:active:not(:focus)){border-color:#000;outline:0}:host([toggles][disabled]){background-color:#3c3c42;color:#c2c2c2;border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host([toggles][active]:active){background-color:#343439;color:#f93;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([toggles][active]:active:not(:focus)){border-color:#000;outline:0}:host([toggles][active][disabled]){background-color:#38383d;color:#f93;border-color:#333;box-shadow:none;outline:0;pointer-events:none}}:host([cta]:active){background-color:#f93;background-image:linear-gradient(rgba(0,0,0,.3) 0,rgba(0,0,0,0) 100%)}:host([cta][disabled]){opacity:.4}:host([disabled]){opacity:.4;border-color:#000}:host(:active){background-image:linear-gradient(rgba(255,255,255,.1) 10%,rgba(255,255,255,0) 100%)}:host(:not([cta])[empty][icon][transparent][disabled]){color:#c2c2c2}@media (-ms-high-contrast:none),(pointer:fine){:host([cta]:focus:not([focused])),:host([cta][focused=visible]){background-color:#f93;box-shadow:inset 0 0 0 1px #000;outline:0;border-color:#000;box-shadow:inset 0 0 0 1px #000;color:#0a0a0a}:host([cta]:hover){background-color:#ffab57;box-shadow:0 0 0 0 rgba(0,0,0,.9);color:#0a0a0a}:host([cta]:hover:not(:focus)){border-color:#000;outline:0}:host([toggles]:focus:not([focused])),:host([toggles][focused=visible]){background-color:#3c3c42;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host([toggles]:hover){background-color:#4d4d55;color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host([toggles]:hover:not(:focus)){border-color:#000;outline:0}:host([toggles][active]:focus:not([focused])),:host([toggles][active][focused=visible]){background-color:#38383d;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host([toggles][active]:hover){background-color:#494950;color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host([toggles][active]:hover:not(:focus)){border-color:#000;outline:0}:host(:focus:not([focused])),:host([focused=visible]){border-style:dotted;box-shadow:inset 0 0 0 1px #000}:host(:not([cta])[empty][icon][transparent]:hover){color:#e2e2e2}}:host(:not([readonly]):active){background-color:#38383d;color:#c2c2c2;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([cta]:not([readonly]):active){background-color:#f93;color:#0a0a0a}:host([toggles]:not([readonly]):active){background-color:#3c3c42;color:#c2c2c2}:host([toggles][active]:not([readonly]):active){background-color:#38383d;color:#f93}' }}));
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-button', styles: ':host{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:0 0 0 0 rgba(0,0,0,.6);font-family:inherit;min-width:23px;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;touch-action:manipulation}:host [part=icon]{flex:none}:host(:not([empty])) [part=label]{white-space:inherit;overflow:inherit;text-overflow:inherit;min-width:0;flex:1 1 auto}:host([hover-icon]) #hover-icon{display:none}:host([empty][icon]){min-width:23px;padding:0}:host(:not([cta])[empty][icon][transparent]){background:0 0!important;box-shadow:none!important;border:none!important;color:#c2c2c2}:host(:not([cta])[empty][icon][transparent]:not(:focus)){border-color:transparent!important}:host(:not([cta])[empty][icon][transparent][toggles][active]){color:rgba(0,0,0,.07)}@media (-ms-high-contrast:none),(pointer:fine){:host([hover-icon]:hover) #icon{display:none}:host([hover-icon]:hover) #hover-icon{display:block}:host(:not([cta])[empty][icon][transparent]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][focused=visible]){background-color:transparent;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host(:not([cta])[empty][icon][transparent]:hover){background-color:rgba(18,18,18,0);color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){border-color:#000;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]){background-color:transparent;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover){background-color:rgba(18,18,18,0);color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover:not(:focus)){border-color:#000;outline:0}:host(:focus:not([focused])),:host([focused=visible]){background-color:#3c3c42;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host(:hover){background-color:#4d4d55;color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host(:hover:not(:focus)){border-color:#000;outline:0}}:host(:not([cta])[empty][icon][transparent][focused=visible]){outline:#f93 solid 1px}:host(:not([empty])[icon][textpos=before]) [part=icon]{order:1}:host(:not([empty])[icon][textpos=after]) [part=label]{padding-left:.3em}:host(:not([empty])[icon][textpos=before]) [part=label]{padding-right:.3em}:host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;background-color:#3c3c42;color:#c2c2c2;border:1px solid #000;height:23px;box-shadow:0 0 0 0 rgba(0,0,0,.6);padding:0 8px;outline:0;font-family:inherit;font-size:13px;font-weight:400;min-width:23px;margin:1px 0;transition:70ms;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;position:relative;overflow:hidden;background-image:linear-gradient(rgba(255,255,255,.1) 10%,rgba(255,255,255,0) 100%)}:host([cta]){background-color:#f93;color:#0a0a0a;border-color:#000;box-shadow:0 0 0 0 rgba(0,0,0,.6);outline:0;background-image:linear-gradient(rgba(255,255,255,.1) 10%,rgba(255,255,255,0) 100%)}:host([toggles]){background-color:#3c3c42;color:#c2c2c2;border-color:#000;box-shadow:0 0 0 0 rgba(0,0,0,.6);outline:0}:host([toggles][active]){border-color:#000;box-shadow:0 0 0 0 rgba(0,0,0,.6);outline:0;color:#f93!important;background-color:#38383d!important;background-image:linear-gradient(rgba(255,255,255,0) 0,rgba(255,255,255,.1) 90%)}@media all{:host(:not([cta])[empty][icon][transparent]:active){background-color:rgba(0,0,0,.07);color:#3c3c42;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){border-color:#000;outline:0}:host(:not([cta])[empty][icon][transparent][disabled]){background-color:transparent;color:#3c3c42;border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent][toggles][active]:active){background-color:rgba(0,0,0,.07);color:rgba(0,0,0,.07);box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:not([cta])[empty][icon][transparent][toggles][active]:active:not(:focus)){border-color:#000;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active][disabled]){background-color:transparent;color:rgba(0,0,0,.07);border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host(:active){background-color:#38383d;color:#c2c2c2;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:active:not(:focus)){border-color:#000;outline:0}:host([disabled]){background-color:#3c3c42;color:#c2c2c2;border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host([cta]:active){background-color:#ed8e2f;color:#0a0a0a;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([cta]:active:not(:focus)){border-color:#000;outline:0}:host([cta][disabled]){background-color:#f93;color:#0a0a0a;border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host([toggles]:active){background-color:#38383d;color:#c2c2c2;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([toggles]:active:not(:focus)){border-color:#000;outline:0}:host([toggles][disabled]){background-color:#3c3c42;color:#c2c2c2;border-color:#333;box-shadow:none;outline:0;pointer-events:none}:host([toggles][active]:active){background-color:#343439;color:#f93;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([toggles][active]:active:not(:focus)){border-color:#000;outline:0}:host([toggles][active][disabled]){background-color:#38383d;color:#f93;border-color:#333;box-shadow:none;outline:0;pointer-events:none}}:host([cta]:active){background-color:#f93;background-image:linear-gradient(rgba(0,0,0,.3) 0,rgba(0,0,0,0) 100%)}:host([cta][disabled]){opacity:.4}:host([disabled]){opacity:.4;border-color:#000}:host(:active){background-image:linear-gradient(rgba(255,255,255,.1) 10%,rgba(255,255,255,0) 100%)}:host(:not([cta])[empty][icon][transparent][disabled]){color:#c2c2c2}@media (-ms-high-contrast:none),(pointer:fine){:host([cta]:focus:not([focused])),:host([cta][focused=visible]){background-color:#f93;box-shadow:inset 0 0 0 1px #000;outline:0;border-color:#000;box-shadow:inset 0 0 0 1px #000;color:#0a0a0a}:host([cta]:hover){background-color:#ffab57;box-shadow:0 0 0 0 rgba(0,0,0,.9);color:#0a0a0a}:host([cta]:hover:not(:focus)){border-color:#000;outline:0}:host([toggles]:focus:not([focused])),:host([toggles][focused=visible]){background-color:#3c3c42;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host([toggles]:hover){background-color:#4d4d55;color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host([toggles]:hover:not(:focus)){border-color:#000;outline:0}:host([toggles][active]:focus:not([focused])),:host([toggles][active][focused=visible]){background-color:#38383d;color:#c2c2c2;box-shadow:inset 0 0 0 1px #000;border-color:#f93;outline:0}:host([toggles][active]:hover){background-color:#494950;color:#e2e2e2;box-shadow:0 0 0 0 rgba(0,0,0,.9)}:host([toggles][active]:hover:not(:focus)){border-color:#000;outline:0}:host(:focus:not([focused])),:host([focused=visible]){border-style:dotted;box-shadow:inset 0 0 0 1px #000}:host(:not([cta])[empty][icon][transparent]:hover){color:#e2e2e2}}:host(:not([readonly]):active){background-color:#38383d;color:#c2c2c2;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([cta]:not([readonly]):active){background-color:#f93;color:#0a0a0a}:host([toggles]:not([readonly]):active){background-color:#3c3c42;color:#c2c2c2}:host([toggles][active]:not([readonly]):active){background-color:#38383d;color:#f93}' }}));
@@ -1,3 +1,3 @@
1
1
  import '@refinitiv-ui/elements/icon/themes/solar/pearl';
2
2
 
3
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-button', styles: ':host{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:0 0 0 0 rgba(0,0,0,.3);font-family:inherit;min-width:23px;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;touch-action:manipulation}:host [part=icon]{flex:none}:host(:not([empty])) [part=label]{white-space:inherit;overflow:inherit;text-overflow:inherit;min-width:0;flex:1 1 auto}:host([hover-icon]) #hover-icon{display:none}:host([empty][icon]){min-width:23px;padding:0}:host(:not([cta])[empty][icon][transparent]){background:0 0!important;box-shadow:none!important;border:none!important;color:#505050}:host(:not([cta])[empty][icon][transparent]:not(:focus)){border-color:transparent!important}:host(:not([cta])[empty][icon][transparent][toggles][active]){color:#fff}@media (-ms-high-contrast:none),(pointer:fine){:host([hover-icon]:hover) #icon{display:none}:host([hover-icon]:hover) #hover-icon{display:block}:host(:not([cta])[empty][icon][transparent]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][focused=visible]){background-color:transparent;color:#fafbfc;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host(:not([cta])[empty][icon][transparent]:hover){background-color:rgba(18,18,18,0);color:#bac8d6;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){border-color:#a9afba;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]){background-color:transparent;color:#fff;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover){background-color:rgba(18,18,18,0);color:#ccc;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover:not(:focus)){border-color:#a9afba;outline:0}:host(:focus:not([focused])),:host([focused=visible]){background-color:#fafbfc;color:#505050;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host(:hover){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:hover:not(:focus)){border-color:#a9afba;outline:0}}:host(:not([cta])[empty][icon][transparent][focused=visible]){outline:#ffb266 solid 1px}:host(:not([empty])[icon][textpos=before]) [part=icon]{order:1}:host(:not([empty])[icon][textpos=after]) [part=label]{padding-left:.3em}:host(:not([empty])[icon][textpos=before]) [part=label]{padding-right:.3em}:host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;background-color:#fafbfc;color:#505050;border:1px solid #a9afba;height:23px;box-shadow:0 0 0 0 rgba(0,0,0,.3);padding:0 8px;outline:0;font-family:inherit;font-size:13rem;font-weight:400;min-width:23px;margin:1px 0;transition:70ms;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;position:relative;overflow:hidden;background-image:linear-gradient(rgba(0,0,0,0) 0,rgba(0,0,0,.1) 100%)}:host([cta]){background-color:#ffb266;color:#505050;border-color:#a9afba;box-shadow:0 0 0 0 rgba(0,0,0,.3);outline:0;background-image:linear-gradient(rgba(255,255,255,.4) 0,rgba(255,255,255,0) 100%)}:host([toggles]){background-color:#fafbfc;color:#505050;border-color:#a9afba;box-shadow:0 0 0 0 rgba(0,0,0,.3);outline:0}:host([toggles][active]){border-color:#a9afba;box-shadow:0 0 0 0 rgba(0,0,0,.3);outline:0;color:#f93!important;background-color:#fff!important;background-image:linear-gradient(rgba(0,0,0,.1) 0,rgba(0,0,0,0) 100%)}@media all{:host(:not([cta])[empty][icon][transparent]:active){background-color:#fff;color:#bac8d6;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){border-color:#a9afba;outline:0}:host(:not([cta])[empty][icon][transparent][disabled]){background-color:transparent;color:#fafbfc;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent][toggles][active]:active){background-color:#fff;color:#ccc;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host(:not([cta])[empty][icon][transparent][toggles][active]:active:not(:focus)){border-color:#a9afba;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active][disabled]){background-color:transparent;color:#fff;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host(:active){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host(:active:not(:focus)){border-color:#a9afba;outline:0}:host([disabled]){background-color:#fafbfc;color:#505050;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host([cta]:active){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host([cta]:active:not(:focus)){border-color:#a9afba;outline:0}:host([cta][disabled]){background-color:#ffb266;color:#505050;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host([toggles]:active){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host([toggles]:active:not(:focus)){border-color:#a9afba;outline:0}:host([toggles][disabled]){background-color:#fafbfc;color:#505050;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host([toggles][active]:active){background-color:#fff;color:#c60;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host([toggles][active]:active:not(:focus)){border-color:#a9afba;outline:0}:host([toggles][active][disabled]){background-color:#fff;color:#f93;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}}:host([cta]:active){background-color:#ffb266;background-image:linear-gradient(rgba(255,255,255,0) 0,rgba(255,255,255,.4) 100%)}:host([cta][disabled]){opacity:.4}:host([disabled]){opacity:.4;border-color:#a9afba}:host(:active){background-image:none}:host(:not([cta])[empty][icon][transparent][disabled]){color:#505050}@media (-ms-high-contrast:none),(pointer:fine){:host([cta]:focus:not([focused])),:host([cta][focused=visible]){background-color:#ffb266;box-shadow:inset 0 0 0 1px #a9afba;outline:0;border-color:#a9afba;box-shadow:inset 0 0 0 1px #a9afba;color:#505050}:host([cta]:hover){background-color:#ffc48a;box-shadow:0 0 0 0 rgba(0,0,0,.6);color:#505050}:host([cta]:hover:not(:focus)){border-color:#a9afba;outline:0}:host([toggles]:focus:not([focused])),:host([toggles][focused=visible]){background-color:#fafbfc;color:#505050;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host([toggles]:hover){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([toggles]:hover:not(:focus)){border-color:#a9afba;outline:0}:host([toggles][active]:focus:not([focused])),:host([toggles][active][focused=visible]){background-color:#fff;color:#f93;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host([toggles][active]:hover){background-color:#fff;color:#c60;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([toggles][active]:hover:not(:focus)){border-color:#a9afba;outline:0}:host(:focus:not([focused])),:host([focused=visible]){border-style:dotted;box-shadow:inset 0 0 0 1px #a9afba}:host(:not([cta])[empty][icon][transparent]:hover){color:#1d1d1d}}:host(:not([readonly]):active){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host([cta]:not([readonly]):active){background-color:#ffb266;color:#505050}:host([toggles]:not([readonly]):active){background-color:#fafbfc;color:#505050}:host([toggles][active]:not([readonly]):active){background-color:#fff;color:#f93}' }}));
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-button', styles: ':host{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:0 0 0 0 rgba(0,0,0,.3);font-family:inherit;min-width:23px;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;touch-action:manipulation}:host [part=icon]{flex:none}:host(:not([empty])) [part=label]{white-space:inherit;overflow:inherit;text-overflow:inherit;min-width:0;flex:1 1 auto}:host([hover-icon]) #hover-icon{display:none}:host([empty][icon]){min-width:23px;padding:0}:host(:not([cta])[empty][icon][transparent]){background:0 0!important;box-shadow:none!important;border:none!important;color:#505050}:host(:not([cta])[empty][icon][transparent]:not(:focus)){border-color:transparent!important}:host(:not([cta])[empty][icon][transparent][toggles][active]){color:#fff}@media (-ms-high-contrast:none),(pointer:fine){:host([hover-icon]:hover) #icon{display:none}:host([hover-icon]:hover) #hover-icon{display:block}:host(:not([cta])[empty][icon][transparent]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][focused=visible]){background-color:transparent;color:#fafbfc;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host(:not([cta])[empty][icon][transparent]:hover){background-color:rgba(18,18,18,0);color:#bac8d6;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:not([cta])[empty][icon][transparent]:hover:not(:focus)){border-color:#a9afba;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:focus:not([focused])),:host(:not([cta])[empty][icon][transparent][toggles][active][focused=visible]){background-color:transparent;color:#fff;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover){background-color:rgba(18,18,18,0);color:#ccc;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:not([cta])[empty][icon][transparent][toggles][active]:hover:not(:focus)){border-color:#a9afba;outline:0}:host(:focus:not([focused])),:host([focused=visible]){background-color:#fafbfc;color:#505050;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host(:hover){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host(:hover:not(:focus)){border-color:#a9afba;outline:0}}:host(:not([cta])[empty][icon][transparent][focused=visible]){outline:#ffb266 solid 1px}:host(:not([empty])[icon][textpos=before]) [part=icon]{order:1}:host(:not([empty])[icon][textpos=after]) [part=label]{padding-left:.3em}:host(:not([empty])[icon][textpos=before]) [part=label]{padding-right:.3em}:host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;background-color:#fafbfc;color:#505050;border:1px solid #a9afba;height:23px;box-shadow:0 0 0 0 rgba(0,0,0,.3);padding:0 8px;outline:0;font-family:inherit;font-size:13px;font-weight:400;min-width:23px;margin:1px 0;transition:70ms;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-flex;justify-content:center;align-items:center;vertical-align:bottom;position:relative;overflow:hidden;background-image:linear-gradient(rgba(0,0,0,0) 0,rgba(0,0,0,.1) 100%)}:host([cta]){background-color:#ffb266;color:#505050;border-color:#a9afba;box-shadow:0 0 0 0 rgba(0,0,0,.3);outline:0;background-image:linear-gradient(rgba(255,255,255,.4) 0,rgba(255,255,255,0) 100%)}:host([toggles]){background-color:#fafbfc;color:#505050;border-color:#a9afba;box-shadow:0 0 0 0 rgba(0,0,0,.3);outline:0}:host([toggles][active]){border-color:#a9afba;box-shadow:0 0 0 0 rgba(0,0,0,.3);outline:0;color:#f93!important;background-color:#fff!important;background-image:linear-gradient(rgba(0,0,0,.1) 0,rgba(0,0,0,0) 100%)}@media all{:host(:not([cta])[empty][icon][transparent]:active){background-color:#fff;color:#bac8d6;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host(:not([cta])[empty][icon][transparent]:active:not(:focus)){border-color:#a9afba;outline:0}:host(:not([cta])[empty][icon][transparent][disabled]){background-color:transparent;color:#fafbfc;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host(:not([cta])[empty][icon][transparent][toggles][active]:active){background-color:#fff;color:#ccc;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host(:not([cta])[empty][icon][transparent][toggles][active]:active:not(:focus)){border-color:#a9afba;outline:0}:host(:not([cta])[empty][icon][transparent][toggles][active][disabled]){background-color:transparent;color:#fff;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host(:active){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host(:active:not(:focus)){border-color:#a9afba;outline:0}:host([disabled]){background-color:#fafbfc;color:#505050;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host([cta]:active){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host([cta]:active:not(:focus)){border-color:#a9afba;outline:0}:host([cta][disabled]){background-color:#ffb266;color:#505050;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host([toggles]:active){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host([toggles]:active:not(:focus)){border-color:#a9afba;outline:0}:host([toggles][disabled]){background-color:#fafbfc;color:#505050;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}:host([toggles][active]:active){background-color:#fff;color:#c60;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host([toggles][active]:active:not(:focus)){border-color:#a9afba;outline:0}:host([toggles][active][disabled]){background-color:#fff;color:#f93;border-color:#babfc8;box-shadow:none;outline:0;pointer-events:none}}:host([cta]:active){background-color:#ffb266;background-image:linear-gradient(rgba(255,255,255,0) 0,rgba(255,255,255,.4) 100%)}:host([cta][disabled]){opacity:.4}:host([disabled]){opacity:.4;border-color:#a9afba}:host(:active){background-image:none}:host(:not([cta])[empty][icon][transparent][disabled]){color:#505050}@media (-ms-high-contrast:none),(pointer:fine){:host([cta]:focus:not([focused])),:host([cta][focused=visible]){background-color:#ffb266;box-shadow:inset 0 0 0 1px #a9afba;outline:0;border-color:#a9afba;box-shadow:inset 0 0 0 1px #a9afba;color:#505050}:host([cta]:hover){background-color:#ffc48a;box-shadow:0 0 0 0 rgba(0,0,0,.6);color:#505050}:host([cta]:hover:not(:focus)){border-color:#a9afba;outline:0}:host([toggles]:focus:not([focused])),:host([toggles][focused=visible]){background-color:#fafbfc;color:#505050;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host([toggles]:hover){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([toggles]:hover:not(:focus)){border-color:#a9afba;outline:0}:host([toggles][active]:focus:not([focused])),:host([toggles][active][focused=visible]){background-color:#fff;color:#f93;box-shadow:inset 0 0 0 1px #a9afba;border-color:#ee7600;outline:0}:host([toggles][active]:hover){background-color:#fff;color:#c60;box-shadow:0 0 0 0 rgba(0,0,0,.6)}:host([toggles][active]:hover:not(:focus)){border-color:#a9afba;outline:0}:host(:focus:not([focused])),:host([focused=visible]){border-style:dotted;box-shadow:inset 0 0 0 1px #a9afba}:host(:not([cta])[empty][icon][transparent]:hover){color:#1d1d1d}}:host(:not([readonly]):active){background-color:#fff;color:#1d1d1d;box-shadow:0 0 0 0 rgba(0,0,0,.3)}:host([cta]:not([readonly]):active){background-color:#ffb266;color:#505050}:host([toggles]:not([readonly]):active){background-color:#fafbfc;color:#505050}:host([toggles][active]:not([readonly]):active){background-color:#fff;color:#f93}' }}));
@@ -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 };
@@ -183,11 +183,11 @@
183
183
  "events": [
184
184
  {
185
185
  "name": "value-changed",
186
- "description": "Fired when the `value` changes."
186
+ "description": "Fired when the user commits a date change. The event is not triggered if `value` is changed programmatically."
187
187
  },
188
188
  {
189
189
  "name": "view-changed",
190
- "description": "Fired when the `view` changes."
190
+ "description": "Fired when the user changes a view of calendar e.g. changed to next month page. The event is not triggered if `view` property is changed programmatically."
191
191
  }
192
192
  ],
193
193
  "slots": [
@@ -23,10 +23,10 @@ Standard calendar element
23
23
 
24
24
  ## Events
25
25
 
26
- | Event | Description |
27
- |-----------------|---------------------------------|
28
- | `value-changed` | Fired when the `value` changes. |
29
- | `view-changed` | Fired when the `view` changes. |
26
+ | Event | Description |
27
+ |-----------------|--------------------------------------------------|
28
+ | `value-changed` | Fired when the user commits a date change. The event is not triggered if `value` is changed programmatically. |
29
+ | `view-changed` | Fired when the user changes a view of calendar e.g. changed to next month page. The event is not triggered if `view` property is changed programmatically. |
30
30
 
31
31
  ## Slots
32
32
 
@@ -9,8 +9,8 @@ export { CalendarFilter };
9
9
  /**
10
10
  * Standard calendar element
11
11
  *
12
- * @fires value-changed - Fired when the `value` changes.
13
- * @fires view-changed - Fired when the `view` changes.
12
+ * @fires value-changed - Fired when the user commits a date change. The event is not triggered if `value` is changed programmatically.
13
+ * @fires view-changed - Fired when the user changes a view of calendar e.g. changed to next month page. The event is not triggered if `view` property is changed programmatically.
14
14
  *
15
15
  * @attr {boolean} readonly - Set readonly state
16
16
  * @prop {boolean} [readonly=false] - Set readonly state
@@ -20,8 +20,8 @@ import '@refinitiv-ui/phrasebook/locale/en/calendar.js';
20
20
  /**
21
21
  * Standard calendar element
22
22
  *
23
- * @fires value-changed - Fired when the `value` changes.
24
- * @fires view-changed - Fired when the `view` changes.
23
+ * @fires value-changed - Fired when the user commits a date change. The event is not triggered if `value` is changed programmatically.
24
+ * @fires view-changed - Fired when the user changes a view of calendar e.g. changed to next month page. The event is not triggered if `view` property is changed programmatically.
25
25
  *
26
26
  * @attr {boolean} readonly - Set readonly state
27
27
  * @prop {boolean} [readonly=false] - Set readonly state
@@ -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 };
@@ -1,3 +1,3 @@
1
1
  import '@refinitiv-ui/elements/button/themes/halo/dark';
2
2
 
3
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-calendar', styles: ':host{font-style:normal;font-variant:normal;font-weight:400;line-height:normal;text-align:left;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;outline:0;font-size:12rem;color:#ccc;min-width:196px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#262626;padding:4px 3px}:host [part=navigation]{padding-bottom:3px}:host [part=btn-next],:host [part=btn-prev],:host [part=btn-view]{margin:0}:host [part=btn-view]{background:0 0;margin-left:16px;border:none;color:inherit;padding:0}:host [part=btn-view]:hover,:host [part=btn-view][focused=visible]{opacity:.8}:host [part=table]{width:100%;background:#262626}:host [part~=row]:not(:first-of-type) [part~=cell] [part~=cell-content]{top:1px}:host [part~=day-name-row]{background-color:#333}:host [part~=cell][disabled]{opacity:.4}:host [part~=cell][today]{color:#fff}:host [part~=cell][today] [part~=selection]{background:#404040}:host [part~=cell]:not([selected]):not([range]):not([disabled])[idle] [part~=selection]{opacity:.6}:host [part~=cell]:not([today]):not([range]) [part~=selection]:hover{color:#fff}:host [part~=cell]:not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell]:not([today]):not([range]):not(:active) [part~=selection]:hover,:host [part~=cell][today][selected] [part~=selection]:hover{background:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]) [part~=selection]:hover{background:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]):not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]):not([disabled]):active [part~=selection]{color:#fff;background-color:#0f1e8a}:host [part~=cell][range]:not(:active) [part~=selection]:hover,:host [part~=cell][selected]:not(:active) [part~=selection]:hover,:host [part~=cell][today]:not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell][range]:not([disabled]):active [part~=selection],:host [part~=cell][selected]:not([disabled]):active [part~=selection],:host [part~=cell][today]:not([disabled]):active [part~=selection]{color:#fff;background-color:#0f1e8a}:host [part~=cell][range] [part~=selection]{background:rgba(51,75,255,.2)}:host [part~=cell][range][today]{color:#fff}:host [part~=cell][selected]{color:#fff}:host [part~=cell][selected] [part~=selection]{background:#334bff}:host [part~=cell]:not(:first-of-type) [part~=cell-content]{left:1px}:host [part~=day-name]{color:#999;font-weight:600}:host [part~=day-name] [part~=cell-content]{background-color:#1a1a1a}:host [part~=cell-content]{background:#0d0d0d;top:0;bottom:0;right:0;left:0}:host [part~=selection]{outline:0;border:1px solid #0d0d0d}:host([focused=visible]) [part~=cell] [part~=selection]:focus{outline:#1429bd solid 1px}:host([disabled]){opacity:.4}' }}));
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-calendar', styles: ':host{font-style:normal;font-variant:normal;font-weight:400;line-height:normal;text-align:left;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;outline:0;font-size:12px;color:#ccc;min-width:196px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#262626;padding:4px 3px}:host [part=navigation]{padding-bottom:3px}:host [part=btn-next],:host [part=btn-prev],:host [part=btn-view]{margin:0}:host [part=btn-view]{background:0 0;margin-left:16px;border:none;color:inherit;padding:0}:host [part=btn-view]:hover,:host [part=btn-view][focused=visible]{opacity:.8}:host [part=table]{width:100%;background:#262626}:host [part~=row]:not(:first-of-type) [part~=cell] [part~=cell-content]{top:1px}:host [part~=day-name-row]{background-color:#333}:host [part~=cell][disabled]{opacity:.4}:host [part~=cell][today]{color:#fff}:host [part~=cell][today] [part~=selection]{background:#404040}:host [part~=cell]:not([selected]):not([range]):not([disabled])[idle] [part~=selection]{opacity:.6}:host [part~=cell]:not([today]):not([range]) [part~=selection]:hover{color:#fff}:host [part~=cell]:not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell]:not([today]):not([range]):not(:active) [part~=selection]:hover,:host [part~=cell][today][selected] [part~=selection]:hover{background:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]) [part~=selection]:hover{background:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]):not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]):not([disabled]):active [part~=selection]{color:#fff;background-color:#0f1e8a}:host [part~=cell][range]:not(:active) [part~=selection]:hover,:host [part~=cell][selected]:not(:active) [part~=selection]:hover,:host [part~=cell][today]:not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell][range]:not([disabled]):active [part~=selection],:host [part~=cell][selected]:not([disabled]):active [part~=selection],:host [part~=cell][today]:not([disabled]):active [part~=selection]{color:#fff;background-color:#0f1e8a}:host [part~=cell][range] [part~=selection]{background:rgba(51,75,255,.2)}:host [part~=cell][range][today]{color:#fff}:host [part~=cell][selected]{color:#fff}:host [part~=cell][selected] [part~=selection]{background:#334bff}:host [part~=cell]:not(:first-of-type) [part~=cell-content]{left:1px}:host [part~=day-name]{color:#999;font-weight:600}:host [part~=day-name] [part~=cell-content]{background-color:#1a1a1a}:host [part~=cell-content]{background:#0d0d0d;top:0;bottom:0;right:0;left:0}:host [part~=selection]{outline:0;border:1px solid #0d0d0d}:host([focused=visible]) [part~=cell] [part~=selection]:focus{outline:#1429bd solid 1px}:host([disabled]){opacity:.4}' }}));
@@ -1,3 +1,3 @@
1
1
  import '@refinitiv-ui/elements/button/themes/halo/light';
2
2
 
3
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-calendar', styles: ':host{font-style:normal;font-variant:normal;font-weight:400;line-height:normal;text-align:left;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;outline:0;font-size:12rem;color:#0d0d0d;min-width:196px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#f2f2f2;padding:4px 3px}:host [part=navigation]{padding-bottom:3px}:host [part=btn-next],:host [part=btn-prev],:host [part=btn-view]{margin:0}:host [part=btn-next]:not(:hover):not(:focus):not(:active),:host [part=btn-prev]:not(:hover):not(:focus):not(:active){color:#595959}:host [part=btn-view]{background:0 0;margin-left:16px;border:none;color:inherit;padding:0}:host [part=btn-view]:hover,:host [part=btn-view][focused=visible]{opacity:.8}:host [part=table]{width:100%;background:#e6e6e6}:host [part~=row]:not(:first-of-type) [part~=cell] [part~=cell-content]{top:1px}:host [part~=day-name-row]{background-color:#e6e6e6}:host [part~=cell][disabled]{opacity:.4}:host [part~=cell][today]{color:#0d0d0d}:host [part~=cell][today] [part~=selection]{background:#d9d9d9}:host [part~=cell]:not([selected]):not([range]):not([disabled])[idle] [part~=selection]{opacity:.6}:host [part~=cell]:not([today]):not([range]) [part~=selection]:hover{color:#fff}:host [part~=cell]:not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell]:not([today]):not([range]):not(:active) [part~=selection]:hover,:host [part~=cell][today][selected] [part~=selection]:hover{background:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]) [part~=selection]:hover{background:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]):not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]):not([disabled]):active [part~=selection]{color:#fff;background-color:#0f1e8a}:host [part~=cell][range]:not(:active) [part~=selection]:hover,:host [part~=cell][selected]:not(:active) [part~=selection]:hover,:host [part~=cell][today]:not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell][range]:not([disabled]):active [part~=selection],:host [part~=cell][selected]:not([disabled]):active [part~=selection],:host [part~=cell][today]:not([disabled]):active [part~=selection]{color:#fff;background-color:#0f1e8a}:host [part~=cell][range] [part~=selection]{background:rgba(51,75,255,.2)}:host [part~=cell][range][today]{color:#fff}:host [part~=cell][selected]{color:#fff}:host [part~=cell][selected] [part~=selection]{background:#334bff}:host [part~=cell]:not(:first-of-type) [part~=cell-content]{left:1px}:host [part~=day-name]{color:#737373;font-weight:600}:host [part~=day-name] [part~=cell-content]{background-color:#fafafa}:host [part~=cell-content]{background:#fff;top:0;bottom:0;right:0;left:0}:host [part~=selection]{outline:0;border:1px solid #fff}:host([focused=visible]) [part~=cell] [part~=selection]:focus{outline:#1429bd solid 1px}:host([disabled]){opacity:.4}' }}));
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-calendar', styles: ':host{font-style:normal;font-variant:normal;font-weight:400;line-height:normal;text-align:left;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;outline:0;font-size:12px;color:#0d0d0d;min-width:196px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#f2f2f2;padding:4px 3px}:host [part=navigation]{padding-bottom:3px}:host [part=btn-next],:host [part=btn-prev],:host [part=btn-view]{margin:0}:host [part=btn-next]:not(:hover):not(:focus):not(:active),:host [part=btn-prev]:not(:hover):not(:focus):not(:active){color:#595959}:host [part=btn-view]{background:0 0;margin-left:16px;border:none;color:inherit;padding:0}:host [part=btn-view]:hover,:host [part=btn-view][focused=visible]{opacity:.8}:host [part=table]{width:100%;background:#e6e6e6}:host [part~=row]:not(:first-of-type) [part~=cell] [part~=cell-content]{top:1px}:host [part~=day-name-row]{background-color:#e6e6e6}:host [part~=cell][disabled]{opacity:.4}:host [part~=cell][today]{color:#0d0d0d}:host [part~=cell][today] [part~=selection]{background:#d9d9d9}:host [part~=cell]:not([selected]):not([range]):not([disabled])[idle] [part~=selection]{opacity:.6}:host [part~=cell]:not([today]):not([range]) [part~=selection]:hover{color:#fff}:host [part~=cell]:not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell]:not([today]):not([range]):not(:active) [part~=selection]:hover,:host [part~=cell][today][selected] [part~=selection]:hover{background:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]) [part~=selection]:hover{background:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]):not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell]:not([selected]):not([range]):not([today]):not([disabled]):active [part~=selection]{color:#fff;background-color:#0f1e8a}:host [part~=cell][range]:not(:active) [part~=selection]:hover,:host [part~=cell][selected]:not(:active) [part~=selection]:hover,:host [part~=cell][today]:not(:active) [part~=selection]:hover{border-color:#1429bd}:host [part~=cell][range]:not([disabled]):active [part~=selection],:host [part~=cell][selected]:not([disabled]):active [part~=selection],:host [part~=cell][today]:not([disabled]):active [part~=selection]{color:#fff;background-color:#0f1e8a}:host [part~=cell][range] [part~=selection]{background:rgba(51,75,255,.2)}:host [part~=cell][range][today]{color:#fff}:host [part~=cell][selected]{color:#fff}:host [part~=cell][selected] [part~=selection]{background:#334bff}:host [part~=cell]:not(:first-of-type) [part~=cell-content]{left:1px}:host [part~=day-name]{color:#737373;font-weight:600}:host [part~=day-name] [part~=cell-content]{background-color:#fafafa}:host [part~=cell-content]{background:#fff;top:0;bottom:0;right:0;left:0}:host [part~=selection]{outline:0;border:1px solid #fff}:host([focused=visible]) [part~=cell] [part~=selection]:focus{outline:#1429bd solid 1px}:host([disabled]){opacity:.4}' }}));
@@ -1,3 +1,3 @@
1
1
  import '@refinitiv-ui/elements/button/themes/solar/charcoal';
2
2
 
3
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-calendar', styles: ':host{font-style:normal;font-variant:normal;font-weight:400;line-height:normal;text-align:left;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;outline:0;font-size:13rem;color:#c2c2c2;min-width:224px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#3c3c42;padding:4px}:host [part=navigation]{padding-bottom:4px}:host [part=btn-next],:host [part=btn-prev],:host [part=btn-view]{margin:0}:host [part=btn-view]{background:0 0;color:inherit;box-shadow:none;margin-left:15px;padding:0}:host [part=btn-view]:not([focused=visible]){border:none}:host [part=table]{width:100%;box-shadow:0 0 0 1px #000;background:#212124}:host [part~=row]:not(:last-of-type){box-shadow:0 1px 0 0 #0a0a0a}:host [part~=row]:not(:first-of-type) [part~=cell] [part~=selection]{top:1px}:host [part~=cell]:not(:last-of-type){box-shadow:1px 0 0 0 #0a0a0a}:host [part~=cell][disabled]{opacity:.4}:host [part~=cell][today]{color:#f93}:host [part~=cell][today] [part~=selection]{background:#3c3c42}:host [part~=cell]:not([selected]):not([range]):not([disabled])[idle] [part~=selection]{opacity:.6}:host [part~=cell]:not([selected]):not([range]) [part~=selection]:focus,:host [part~=cell]:not([selected]):not([range]) [part~=selection]:hover{background:#3c3c42;color:#e2e2e2}:host [part~=cell]:not([selected]):not([range]) [part~=selection]:focus{outline:#f93 dotted 1px}:host [part~=cell][range] [part~=selection]{background:rgba(255,153,51,.2)}:host [part~=cell][range][today]{color:#f93}:host [part~=cell][selected]{color:#000}:host [part~=cell][selected] [part~=selection]{background:#f93}:host [part~=cell]:not(:first-of-type) [part~=selection]{left:1px}:host [part~=day-name]{background-color:#151516;color:#666570;font-size:10px;font-weight:700}:host [part~=selection]{outline:0;top:0;bottom:0;right:0;left:0}:host([disabled]){opacity:.4}' }}));
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-calendar', styles: ':host{font-style:normal;font-variant:normal;font-weight:400;line-height:normal;text-align:left;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;outline:0;font-size:13px;color:#c2c2c2;min-width:224px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#3c3c42;padding:4px}:host [part=navigation]{padding-bottom:4px}:host [part=btn-next],:host [part=btn-prev],:host [part=btn-view]{margin:0}:host [part=btn-view]{background:0 0;color:inherit;box-shadow:none;margin-left:15px;padding:0}:host [part=btn-view]:not([focused=visible]){border:none}:host [part=table]{width:100%;box-shadow:0 0 0 1px #000;background:#212124}:host [part~=row]:not(:last-of-type){box-shadow:0 1px 0 0 #0a0a0a}:host [part~=row]:not(:first-of-type) [part~=cell] [part~=selection]{top:1px}:host [part~=cell]:not(:last-of-type){box-shadow:1px 0 0 0 #0a0a0a}:host [part~=cell][disabled]{opacity:.4}:host [part~=cell][today]{color:#f93}:host [part~=cell][today] [part~=selection]{background:#3c3c42}:host [part~=cell]:not([selected]):not([range]):not([disabled])[idle] [part~=selection]{opacity:.6}:host [part~=cell]:not([selected]):not([range]) [part~=selection]:focus,:host [part~=cell]:not([selected]):not([range]) [part~=selection]:hover{background:#3c3c42;color:#e2e2e2}:host [part~=cell]:not([selected]):not([range]) [part~=selection]:focus{outline:#f93 dotted 1px}:host [part~=cell][range] [part~=selection]{background:rgba(255,153,51,.2)}:host [part~=cell][range][today]{color:#f93}:host [part~=cell][selected]{color:#000}:host [part~=cell][selected] [part~=selection]{background:#f93}:host [part~=cell]:not(:first-of-type) [part~=selection]{left:1px}:host [part~=day-name]{background-color:#151516;color:#666570;font-size:10px;font-weight:700}:host [part~=selection]{outline:0;top:0;bottom:0;right:0;left:0}:host([disabled]){opacity:.4}' }}));
@@ -1,3 +1,3 @@
1
1
  import '@refinitiv-ui/elements/button/themes/solar/pearl';
2
2
 
3
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-calendar', styles: ':host{font-style:normal;font-variant:normal;font-weight:400;line-height:normal;text-align:left;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;outline:0;font-size:13rem;color:#484848;min-width:224px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#fff;padding:4px}:host [part=navigation]{padding-bottom:4px}:host [part=btn-next],:host [part=btn-prev],:host [part=btn-view]{margin:0}:host [part=btn-view]{background:0 0;color:inherit;box-shadow:none;margin-left:15px;padding:0}:host [part=btn-view]:not([focused=visible]){border:none}:host [part=table]{width:100%;box-shadow:0 0 0 1px #a9afba;background:#fff}:host [part~=row]:not(:last-of-type){box-shadow:0 1px 0 0 #d5d8db}:host [part~=row]:not(:first-of-type) [part~=cell] [part~=selection]{top:1px}:host [part~=cell]:not(:last-of-type){box-shadow:1px 0 0 0 #d5d8db}:host [part~=cell][disabled]{opacity:.4}:host [part~=cell][today]{color:#fff}:host [part~=cell][today] [part~=selection]{background:#acafb5}:host [part~=cell]:not([selected]):not([range]):not([disabled])[idle] [part~=selection]{opacity:.6}:host [part~=cell]:not([selected]):not([range]) [part~=selection]:focus,:host [part~=cell]:not([selected]):not([range]) [part~=selection]:hover{background:#e4e8ed;color:#000}:host [part~=cell]:not([selected]):not([range]) [part~=selection]:focus{outline:#ee7600 dotted 1px}:host [part~=cell][range] [part~=selection]{background:rgba(255,153,51,.2)}:host [part~=cell][range][today]{color:#f93}:host [part~=cell][selected]{color:#fff}:host [part~=cell][selected] [part~=selection]{background:#f93}:host [part~=cell]:not(:first-of-type) [part~=selection]{left:1px}:host [part~=day-name]{background-color:#e4e8ed;color:#6e6e78;font-size:10px;font-weight:700}:host [part~=selection]{outline:0;top:0;bottom:0;right:0;left:0}:host([disabled]){opacity:.4}' }}));
3
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-calendar', styles: ':host{font-style:normal;font-variant:normal;font-weight:400;line-height:normal;text-align:left;text-indent:0;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;outline:0;font-size:13px;color:#484848;min-width:224px;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#fff;padding:4px}:host [part=navigation]{padding-bottom:4px}:host [part=btn-next],:host [part=btn-prev],:host [part=btn-view]{margin:0}:host [part=btn-view]{background:0 0;color:inherit;box-shadow:none;margin-left:15px;padding:0}:host [part=btn-view]:not([focused=visible]){border:none}:host [part=table]{width:100%;box-shadow:0 0 0 1px #a9afba;background:#fff}:host [part~=row]:not(:last-of-type){box-shadow:0 1px 0 0 #d5d8db}:host [part~=row]:not(:first-of-type) [part~=cell] [part~=selection]{top:1px}:host [part~=cell]:not(:last-of-type){box-shadow:1px 0 0 0 #d5d8db}:host [part~=cell][disabled]{opacity:.4}:host [part~=cell][today]{color:#fff}:host [part~=cell][today] [part~=selection]{background:#acafb5}:host [part~=cell]:not([selected]):not([range]):not([disabled])[idle] [part~=selection]{opacity:.6}:host [part~=cell]:not([selected]):not([range]) [part~=selection]:focus,:host [part~=cell]:not([selected]):not([range]) [part~=selection]:hover{background:#e4e8ed;color:#000}:host [part~=cell]:not([selected]):not([range]) [part~=selection]:focus{outline:#ee7600 dotted 1px}:host [part~=cell][range] [part~=selection]{background:rgba(255,153,51,.2)}:host [part~=cell][range][today]{color:#f93}:host [part~=cell][selected]{color:#fff}:host [part~=cell][selected] [part~=selection]{background:#f93}:host [part~=cell]:not(:first-of-type) [part~=selection]{left:1px}:host [part~=day-name]{background-color:#e4e8ed;color:#6e6e78;font-size:10px;font-weight:700}:host [part~=selection]{outline:0;top:0;bottom:0;right:0;left:0}:host([disabled]){opacity:.4}' }}));
@@ -18,15 +18,15 @@ export interface Cell extends CellSelectionModel {
18
18
  now?: boolean;
19
19
  index: CellIndex;
20
20
  }
21
- export declare type CalendarFilter = (value: string) => boolean;
22
- export declare type Comparator = (value: string, compare: string) => boolean;
21
+ export type CalendarFilter = (value: string) => boolean;
22
+ export type Comparator = (value: string, compare: string) => boolean;
23
23
  export interface DateButtonElement extends HTMLDivElement {
24
24
  value: string;
25
25
  index: CellIndex;
26
26
  }
27
- export declare type NavigationDirection = 'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' | 'Home' | 'End';
28
- export declare type Row = Cell[];
29
- export declare type WeekdayName = {
27
+ export type NavigationDirection = 'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' | 'Home' | 'End';
28
+ export type Row = Cell[];
29
+ export type WeekdayName = {
30
30
  narrow: string;
31
31
  long: string;
32
32
  };
@@ -1,5 +1,5 @@
1
1
  import { TranslateParams } from '@refinitiv-ui/i18n';
2
- export declare type MonthInfo = {
2
+ export type MonthInfo = {
3
3
  days: number;
4
4
  month: number;
5
5
  year: number;
@@ -51,7 +51,7 @@
51
51
  "events": [
52
52
  {
53
53
  "name": "frame",
54
- "description": "dispatched when next Frame event occurs when autoloop is set to true"
54
+ "description": "Fired when next Frame event occurs and autoloop is set to true"
55
55
  }
56
56
  ],
57
57
  "methods": [
@@ -24,4 +24,4 @@ it works similarly to the normal HTML5 Canvas element.
24
24
 
25
25
  | Event | Description |
26
26
  |---------|--------------------------------------------------|
27
- | `frame` | dispatched when next Frame event occurs when autoloop is set to true |
27
+ | `frame` | Fired when next Frame event occurs and autoloop is set to true |
@@ -3,7 +3,7 @@ import { ResponsiveElement, TemplateResult, CSSResultGroup, ElementSize } from '
3
3
  /**
4
4
  * A Component uses to draw graphics on a web page,
5
5
  * it works similarly to the normal HTML5 Canvas element.
6
- * @fires frame - dispatched when next Frame event occurs when autoloop is set to true
6
+ * @fires frame - Fired when next Frame event occurs and autoloop is set to true
7
7
  */
8
8
  export declare class Canvas extends ResponsiveElement {
9
9
  /**
@@ -6,16 +6,9 @@ import { VERSION } from '../version.js';
6
6
  /**
7
7
  * A Component uses to draw graphics on a web page,
8
8
  * it works similarly to the normal HTML5 Canvas element.
9
- * @fires frame - dispatched when next Frame event occurs when autoloop is set to true
9
+ * @fires frame - Fired when next Frame event occurs and autoloop is set to true
10
10
  */
11
11
  let Canvas = class Canvas extends ResponsiveElement {
12
- constructor() {
13
- super();
14
- this.frameId = 0;
15
- this.width = 0;
16
- this.height = 0;
17
- this._autoloop = false;
18
- }
19
12
  /**
20
13
  * Element version number
21
14
  * @returns version number
@@ -45,6 +38,13 @@ let Canvas = class Canvas extends ResponsiveElement {
45
38
  }
46
39
  `;
47
40
  }
41
+ constructor() {
42
+ super();
43
+ this.frameId = 0;
44
+ this.width = 0;
45
+ this.height = 0;
46
+ this._autoloop = false;
47
+ }
48
48
  /**
49
49
  * Starts an automatic animation loop.
50
50
  * Enabling the frame event.
@@ -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 };
@@ -43,7 +43,7 @@
43
43
  "events": [
44
44
  {
45
45
  "name": "item-trigger",
46
- "description": "Fired when card menu is selected."
46
+ "description": "Fired when the user selects card menu."
47
47
  }
48
48
  ],
49
49
  "slots": [
@@ -12,9 +12,9 @@ A card frame component.
12
12
 
13
13
  ## Events
14
14
 
15
- | Event | Description |
16
- |----------------|-----------------------------------|
17
- | `item-trigger` | Fired when card menu is selected. |
15
+ | Event | Description |
16
+ |----------------|----------------------------------------|
17
+ | `item-trigger` | Fired when the user selects card menu. |
18
18
 
19
19
  ## Slots
20
20
 
@@ -1,5 +1,5 @@
1
1
  import type { OverlayMenuData } from '../../overlay-menu';
2
- export declare type CardConfig = {
2
+ export type CardConfig = {
3
3
  /**
4
4
  * Configuration for side menu
5
5
  */
@@ -10,7 +10,7 @@ export type { CardConfig };
10
10
  /**
11
11
  * A card frame component.
12
12
  *
13
- * @fires item-trigger - Fired when card menu is selected.
13
+ * @fires item-trigger - Fired when the user selects card menu.
14
14
  *
15
15
  * @slot header - Adds slotted content into the header of the card.
16
16
  * @slot footer - Adds slotted content into the footer of the card.
package/lib/card/index.js CHANGED
@@ -14,7 +14,7 @@ import { translate } from '@refinitiv-ui/translate';
14
14
  /**
15
15
  * A card frame component.
16
16
  *
17
- * @fires item-trigger - Fired when card menu is selected.
17
+ * @fires item-trigger - Fired when the user selects card menu.
18
18
  *
19
19
  * @slot header - Adds slotted content into the header of the card.
20
20
  * @slot footer - Adds slotted content into the footer of the card.
@@ -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 };
@@ -12,6 +12,10 @@
12
12
  }
13
13
  ],
14
14
  "properties": [
15
+ {
16
+ "name": "chart",
17
+ "description": "Chart.js object"
18
+ },
15
19
  {
16
20
  "name": "config",
17
21
  "attribute": "config",
@@ -6,6 +6,7 @@ Charting component that use ChartJS library
6
6
 
7
7
  | Property | Attribute | Type | Default | Description |
8
8
  |---------------------|-----------|---------------|---------|--------------------------------------------------|
9
+ | `chart` | | | null | Chart.js object |
9
10
  | `colors (readonly)` | | `string[]` | | List of available chart colors |
10
11
  | `config` | `config` | `ChartConfig` | null | Chart configurations. Same configuration as ChartJS |
11
12
 
@@ -1,7 +1,7 @@
1
- declare type UnknownObject = {
1
+ type UnknownObject = {
2
2
  [key: string]: unknown;
3
3
  };
4
- declare type MergeObject = UnknownObject | Array<unknown>;
4
+ type MergeObject = UnknownObject | Array<unknown>;
5
5
  /**
6
6
  * Merge objects recursively
7
7
  *
@@ -1,11 +1,11 @@
1
1
  /// <reference types="chart.js" />
2
- export declare type DatasetColors = {
2
+ export type DatasetColors = {
3
3
  solid: string | string[];
4
4
  opaque: string | string[];
5
5
  };
6
- export declare type ChartDataSetsColor = Chart.ChartColor | Chart.ChartColor[] | Chart.Scriptable<Chart.ChartColor> | undefined;
7
- export declare type ChartConfig = Chart.ChartConfiguration;
8
- export declare type ChartUpdateProps = Chart.ChartUpdateProps;
6
+ export type ChartDataSetsColor = Chart.ChartColor | Chart.ChartColor[] | Chart.Scriptable<Chart.ChartColor> | undefined;
7
+ export type ChartConfig = Chart.ChartConfiguration;
8
+ export type ChartUpdateProps = Chart.ChartUpdateProps;
9
9
  export interface MetaData {
10
10
  _chart: Chart;
11
11
  _datasetIndex: number;
@@ -24,7 +24,7 @@ export declare class Chart extends BasicElement {
24
24
  /**
25
25
  * Chart.js object
26
26
  */
27
- private chart;
27
+ chart: ChartJS | null;
28
28
  /**
29
29
  * Chart configurations. Same configuration as ChartJS
30
30
  * @type {ChartConfig}
@@ -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 };
@@ -1,4 +1,4 @@
1
1
  import '@refinitiv-ui/elements/header/themes/halo/dark';
2
2
  import '@refinitiv-ui/elements/layout/themes/halo/dark';
3
3
 
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-chart', styles: ':host{--grid-line-color:rgba(38, 38, 38, 0.5);--zero-line-color:rgba(38, 38, 38, 0.5);--animation-duration:1000;--line-width:2px;--line-tension:0;--multi-dataset-border-color:#1A1A1A;--tooltip-background-color:rgba(204, 204, 204, 0.9);--tooltip-title-color:#0D0D0D;--tooltip-body-color:#0D0D0D;--tooltip-border-radius:0px;--tooltip-caret-size:7px;--tooltip-padding-x:7px;--tooltip-padding-y:5px;--tooltip-title-spacing:0;--legend-key-box-width:4px;--chart-color-1:#6678FF;--chart-color-2:#FFFFFF;--chart-color-3:#FFC800;--chart-color-4:#9064CD;--chart-color-5:#00D0D4;--chart-color-6:#FF5000;--chart-color-7:#00C389;--chart-color-8:#EA2E6C;font-size:12rem;--tooltip-background-color:#FFFFFF;--tooltip-title-color:#0D0D0D;--tooltip-body-color:#0D0D0D;--tooltip-padding-x:8px;--tooltip-padding-y:4px;--chart-color-1:#6678FF;--chart-color-2:#FFFFFF;--chart-color-3:#FFC800;--chart-color-4:#9064CD;--chart-color-5:#00D0D4;--chart-color-6:#FF5000;--chart-color-7:#00C389;--chart-color-8:#EA2E6C;--chart-color-9:#999999;--chart-color-10:#3BBAFF;--chart-color-11:#198C8C;--chart-color-12:#C36241;--chart-color-13:#CCD2FF;--chart-color-14:#808080;--chart-color-15:#FFDE66;--chart-color-16:#BCA2E1;--chart-color-17:#59DFE1;--chart-color-18:#FF9666;--chart-color-19:#6CEFC8;--chart-color-20:#F281A7;--chart-color-21:#CCCCCC;--chart-color-22:#89D5FF;--chart-color-23:#75BABA;--chart-color-24:#DBA08D;--chart-color-25:#F6ABC4}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-chart', styles: ':host{font-size:12px;--grid-line-color:rgba(38, 38, 38, 0.5);--zero-line-color:rgba(38, 38, 38, 0.5);--animation-duration:1000;--line-width:2px;--line-tension:0;--multi-dataset-border-color:#1A1A1A;--tooltip-background-color:rgba(204, 204, 204, 0.9);--tooltip-title-color:#0D0D0D;--tooltip-body-color:#0D0D0D;--tooltip-border-radius:0px;--tooltip-caret-size:7px;--tooltip-padding-x:7px;--tooltip-padding-y:5px;--tooltip-title-spacing:0;--legend-key-box-width:4px;--chart-color-1:#6678FF;--chart-color-2:#FFFFFF;--chart-color-3:#FFC800;--chart-color-4:#9064CD;--chart-color-5:#00D0D4;--chart-color-6:#FF5000;--chart-color-7:#00C389;--chart-color-8:#EA2E6C;--tooltip-background-color:#FFFFFF;--tooltip-title-color:#0D0D0D;--tooltip-body-color:#0D0D0D;--tooltip-padding-x:8px;--tooltip-padding-y:4px;--chart-color-1:#6678FF;--chart-color-2:#FFFFFF;--chart-color-3:#FFC800;--chart-color-4:#9064CD;--chart-color-5:#00D0D4;--chart-color-6:#FF5000;--chart-color-7:#00C389;--chart-color-8:#EA2E6C;--chart-color-9:#999999;--chart-color-10:#3BBAFF;--chart-color-11:#198C8C;--chart-color-12:#C36241;--chart-color-13:#CCD2FF;--chart-color-14:#808080;--chart-color-15:#FFDE66;--chart-color-16:#BCA2E1;--chart-color-17:#59DFE1;--chart-color-18:#FF9666;--chart-color-19:#6CEFC8;--chart-color-20:#F281A7;--chart-color-21:#CCCCCC;--chart-color-22:#89D5FF;--chart-color-23:#75BABA;--chart-color-24:#DBA08D;--chart-color-25:#F6ABC4}' }}));
@@ -1,4 +1,4 @@
1
1
  import '@refinitiv-ui/elements/header/themes/halo/light';
2
2
  import '@refinitiv-ui/elements/layout/themes/halo/light';
3
3
 
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-chart', styles: ':host{--grid-line-color:rgba(242, 242, 242, 0.5);--zero-line-color:rgba(242, 242, 242, 0.5);--animation-duration:1000;--line-width:2px;--line-tension:0;--multi-dataset-border-color:#FAFAFA;--tooltip-background-color:rgba(13, 13, 13, 0.9);--tooltip-title-color:#FFFFFF;--tooltip-body-color:#FFFFFF;--tooltip-border-radius:0px;--tooltip-caret-size:7px;--tooltip-padding-x:7px;--tooltip-padding-y:5px;--tooltip-title-spacing:0;--legend-key-box-width:4px;--chart-color-1:#334BFF;--chart-color-2:#000000;--chart-color-3:#7F6400;--chart-color-4:#71549F;--chart-color-5:#007678;--chart-color-6:#CC4000;--chart-color-7:#007653;--chart-color-8:#D22962;font-size:12rem;--tooltip-background-color:#FFF4CC;--tooltip-title-color:#0D0D0D;--tooltip-body-color:#0D0D0D;--tooltip-padding-x:8px;--tooltip-padding-y:4px;--chart-color-1:#334BFF;--chart-color-2:#000000;--chart-color-3:#7F6400;--chart-color-4:#71549F;--chart-color-5:#007678;--chart-color-6:#CC4000;--chart-color-7:#007653;--chart-color-8:#D22962;--chart-color-9:#595959;--chart-color-10:#236F99;--chart-color-11:#147070;--chart-color-12:#AF583A;--chart-color-13:#0F1E8A;--chart-color-14:#737373;--chart-color-15:#4C3C00;--chart-color-16:#563F77;--chart-color-17:#004E4F;--chart-color-18:#993000;--chart-color-19:#00432F;--chart-color-20:#A3204C;--chart-color-21:#404040;--chart-color-22:#174A66;--chart-color-23:#116262;--chart-color-24:#88442D;--chart-color-25:#5D122B}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-chart', styles: ':host{font-size:12px;--grid-line-color:rgba(242, 242, 242, 0.5);--zero-line-color:rgba(242, 242, 242, 0.5);--animation-duration:1000;--line-width:2px;--line-tension:0;--multi-dataset-border-color:#FAFAFA;--tooltip-background-color:rgba(13, 13, 13, 0.9);--tooltip-title-color:#FFFFFF;--tooltip-body-color:#FFFFFF;--tooltip-border-radius:0px;--tooltip-caret-size:7px;--tooltip-padding-x:7px;--tooltip-padding-y:5px;--tooltip-title-spacing:0;--legend-key-box-width:4px;--chart-color-1:#334BFF;--chart-color-2:#000000;--chart-color-3:#7F6400;--chart-color-4:#71549F;--chart-color-5:#007678;--chart-color-6:#CC4000;--chart-color-7:#007653;--chart-color-8:#D22962;--tooltip-background-color:#FFF4CC;--tooltip-title-color:#0D0D0D;--tooltip-body-color:#0D0D0D;--tooltip-padding-x:8px;--tooltip-padding-y:4px;--chart-color-1:#334BFF;--chart-color-2:#000000;--chart-color-3:#7F6400;--chart-color-4:#71549F;--chart-color-5:#007678;--chart-color-6:#CC4000;--chart-color-7:#007653;--chart-color-8:#D22962;--chart-color-9:#595959;--chart-color-10:#236F99;--chart-color-11:#147070;--chart-color-12:#AF583A;--chart-color-13:#0F1E8A;--chart-color-14:#737373;--chart-color-15:#4C3C00;--chart-color-16:#563F77;--chart-color-17:#004E4F;--chart-color-18:#993000;--chart-color-19:#00432F;--chart-color-20:#A3204C;--chart-color-21:#404040;--chart-color-22:#174A66;--chart-color-23:#116262;--chart-color-24:#88442D;--chart-color-25:#5D122B}' }}));
@@ -1,4 +1,4 @@
1
1
  import '@refinitiv-ui/elements/header/themes/solar/charcoal';
2
2
  import '@refinitiv-ui/elements/layout/themes/solar/charcoal';
3
3
 
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-chart', styles: ':host{--grid-line-color:rgba(10, 10, 10, 0.5);--zero-line-color:rgba(10, 10, 10, 0.5);--animation-duration:1000;--line-width:2px;--line-tension:0;--multi-dataset-border-color:#1A1A1C;--tooltip-background-color:rgba(194, 194, 194, 0.9);--tooltip-title-color:#151516;--tooltip-body-color:#151516;--tooltip-border-radius:0px;--tooltip-caret-size:7px;--tooltip-padding-x:7px;--tooltip-padding-y:5px;--tooltip-title-spacing:0;--legend-key-box-width:4px;--chart-color-1:#FF9933;--chart-color-2:#B10CF2;--chart-color-3:#7DE442;--chart-color-4:#3780BF;--chart-color-5:#FA4C11;--chart-color-6:#FFE433;--chart-color-7:#8C8C8C;--chart-color-8:#5A54FF;font-size:12rem;color:rgba(194,194,194,.8);--legend-key-box-width:12;--grid-line-color:rgba(194, 194, 194, 0.1);--zero-line-color:rgba(194, 194, 194, 0.1);--animation-duration:500;--tooltip-background-color:rgba(74, 74, 82, 0.9);--tooltip-title-color:#C2C2C2;--tooltip-body-color:#C2C2C2;--tooltip-caret-size:8px;--tooltip-padding-x:8px;--tooltip-padding-y:8px;--doughnut-center-text-color:#C2C2C2;--doughnut-border-color:#ffffff;--chart-color-1:#FF9933;--chart-color-2:#B10CF2;--chart-color-3:#7DE442;--chart-color-4:#3780BF;--chart-color-5:#FA4C11;--chart-color-6:#FFE433;--chart-color-7:#8C8C8C;--chart-color-8:#5A54FF;--chart-color-9:#E53766;--chart-color-10:#648608;--chart-color-11:#48CBF7;--chart-color-12:#F3478E;--chart-color-13:#508BF7;--chart-color-14:#EFF748;--chart-color-15:#FF4043;--chart-color-16:#A7DB0B;--chart-color-17:#C2C2C2;--chart-color-18:#1578AD;--chart-color-19:#F2B530;--chart-color-20:#297835;--chart-color-21:#7045FF;--chart-color-22:#DD48F7;--chart-color-23:#09A8C0;--chart-color-24:#60E65C;--chart-color-25:#2960A3}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-chart', styles: ':host{font-size:14px;--grid-line-color:rgba(10, 10, 10, 0.5);--zero-line-color:rgba(10, 10, 10, 0.5);--animation-duration:1000;--line-width:2px;--line-tension:0;--multi-dataset-border-color:#1A1A1C;--tooltip-background-color:rgba(194, 194, 194, 0.9);--tooltip-title-color:#151516;--tooltip-body-color:#151516;--tooltip-border-radius:0px;--tooltip-caret-size:7px;--tooltip-padding-x:7px;--tooltip-padding-y:5px;--tooltip-title-spacing:0;--legend-key-box-width:4px;--chart-color-1:#FF9933;--chart-color-2:#B10CF2;--chart-color-3:#7DE442;--chart-color-4:#3780BF;--chart-color-5:#FA4C11;--chart-color-6:#FFE433;--chart-color-7:#8C8C8C;--chart-color-8:#5A54FF;color:rgba(194,194,194,.8);--legend-key-box-width:12;--grid-line-color:rgba(194, 194, 194, 0.1);--zero-line-color:rgba(194, 194, 194, 0.1);--animation-duration:500;--tooltip-background-color:rgba(74, 74, 82, 0.9);--tooltip-title-color:#C2C2C2;--tooltip-body-color:#C2C2C2;--tooltip-caret-size:8px;--tooltip-padding-x:8px;--tooltip-padding-y:8px;--doughnut-center-text-color:#C2C2C2;--doughnut-border-color:#ffffff;--chart-color-1:#FF9933;--chart-color-2:#B10CF2;--chart-color-3:#7DE442;--chart-color-4:#3780BF;--chart-color-5:#FA4C11;--chart-color-6:#FFE433;--chart-color-7:#8C8C8C;--chart-color-8:#5A54FF;--chart-color-9:#E53766;--chart-color-10:#648608;--chart-color-11:#48CBF7;--chart-color-12:#F3478E;--chart-color-13:#508BF7;--chart-color-14:#EFF748;--chart-color-15:#FF4043;--chart-color-16:#A7DB0B;--chart-color-17:#C2C2C2;--chart-color-18:#1578AD;--chart-color-19:#F2B530;--chart-color-20:#297835;--chart-color-21:#7045FF;--chart-color-22:#DD48F7;--chart-color-23:#09A8C0;--chart-color-24:#60E65C;--chart-color-25:#2960A3}' }}));
@@ -1,4 +1,4 @@
1
1
  import '@refinitiv-ui/elements/header/themes/solar/pearl';
2
2
  import '@refinitiv-ui/elements/layout/themes/solar/pearl';
3
3
 
4
- dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-chart', styles: ':host{--grid-line-color:rgba(213, 216, 219, 0.5);--zero-line-color:rgba(213, 216, 219, 0.5);--animation-duration:1000;--line-width:2px;--line-tension:0;--multi-dataset-border-color:#FFFFFF;--tooltip-background-color:rgba(72, 72, 72, 0.9);--tooltip-title-color:#C2C2C2;--tooltip-body-color:#C2C2C2;--tooltip-border-radius:0px;--tooltip-caret-size:7px;--tooltip-padding-x:7px;--tooltip-padding-y:5px;--tooltip-title-spacing:0;--legend-key-box-width:4px;--chart-color-1:#EE7600;--chart-color-2:#B10CF2;--chart-color-3:#309054;--chart-color-4:#3780BF;--chart-color-5:#FA4C11;--chart-color-6:#D9B500;--chart-color-7:#8C8C8C;--chart-color-8:#5A54FF;font-size:12rem;color:rgba(72,72,72,.8);--legend-key-box-width:12;--grid-line-color:rgba(72, 72, 72, 0.1);--zero-line-color:rgba(72, 72, 72, 0.1);--animation-duration:500;--tooltip-background-color:rgba(190, 195, 204, 0.9);--tooltip-title-color:#484848;--tooltip-body-color:#484848;--tooltip-caret-size:8px;--tooltip-padding-x:8px;--tooltip-padding-y:8px;--doughnut-center-text-color:#484848;--doughnut-border-color:#000000;--chart-color-1:#EE7600;--chart-color-2:#B10CF2;--chart-color-3:#309054;--chart-color-4:#3780BF;--chart-color-5:#FA4C11;--chart-color-6:#D9B500;--chart-color-7:#8C8C8C;--chart-color-8:#5A54FF;--chart-color-9:#E53766;--chart-color-10:#648608;--chart-color-11:#40B6DE;--chart-color-12:#F3478E;--chart-color-13:#508BF7;--chart-color-14:#AAB218;--chart-color-15:#FF4043;--chart-color-16:#80A808;--chart-color-17:#707070;--chart-color-18:#1578AC;--chart-color-19:#D9A22B;--chart-color-20:#297835;--chart-color-21:#7045FF;--chart-color-22:#DD48F7;--chart-color-23:#09A8C0;--chart-color-24:#4BB347;--chart-color-25:#2960A3}' }}));
4
+ dispatchEvent(new CustomEvent('ef.customStyles.define', { detail: { name: 'ef-chart', styles: ':host{font-size:14px;--grid-line-color:rgba(213, 216, 219, 0.5);--zero-line-color:rgba(213, 216, 219, 0.5);--animation-duration:1000;--line-width:2px;--line-tension:0;--multi-dataset-border-color:#FFFFFF;--tooltip-background-color:rgba(72, 72, 72, 0.9);--tooltip-title-color:#C2C2C2;--tooltip-body-color:#C2C2C2;--tooltip-border-radius:0px;--tooltip-caret-size:7px;--tooltip-padding-x:7px;--tooltip-padding-y:5px;--tooltip-title-spacing:0;--legend-key-box-width:4px;--chart-color-1:#EE7600;--chart-color-2:#B10CF2;--chart-color-3:#309054;--chart-color-4:#3780BF;--chart-color-5:#FA4C11;--chart-color-6:#D9B500;--chart-color-7:#8C8C8C;--chart-color-8:#5A54FF;color:rgba(72,72,72,.8);--legend-key-box-width:12;--grid-line-color:rgba(72, 72, 72, 0.1);--zero-line-color:rgba(72, 72, 72, 0.1);--animation-duration:500;--tooltip-background-color:rgba(190, 195, 204, 0.9);--tooltip-title-color:#484848;--tooltip-body-color:#484848;--tooltip-caret-size:8px;--tooltip-padding-x:8px;--tooltip-padding-y:8px;--doughnut-center-text-color:#484848;--doughnut-border-color:#000000;--chart-color-1:#EE7600;--chart-color-2:#B10CF2;--chart-color-3:#309054;--chart-color-4:#3780BF;--chart-color-5:#FA4C11;--chart-color-6:#D9B500;--chart-color-7:#8C8C8C;--chart-color-8:#5A54FF;--chart-color-9:#E53766;--chart-color-10:#648608;--chart-color-11:#40B6DE;--chart-color-12:#F3478E;--chart-color-13:#508BF7;--chart-color-14:#AAB218;--chart-color-15:#FF4043;--chart-color-16:#80A808;--chart-color-17:#707070;--chart-color-18:#1578AC;--chart-color-19:#D9A22B;--chart-color-20:#297835;--chart-color-21:#7045FF;--chart-color-22:#DD48F7;--chart-color-23:#09A8C0;--chart-color-24:#4BB347;--chart-color-25:#2960A3}' }}));