@refinitiv-ui/elements 7.15.1 → 7.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/lib/icon/index.js +5 -2
- package/lib/version.js +1 -1
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.15.3](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.15.2...@refinitiv-ui/elements@7.15.3) (2025-11-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @refinitiv-ui/elements
|
|
9
|
+
|
|
10
|
+
## [7.15.2](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.15.1...@refinitiv-ui/elements@7.15.2) (2025-07-09)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **icon:** throw error once per session if sprite icon fails to load ([#1284](https://github.com/Refinitiv/refinitiv-ui/issues/1284)) ([9ba9464](https://github.com/Refinitiv/refinitiv-ui/commit/9ba94641612ecd305d6f404f9689694c2d052947))
|
|
15
|
+
|
|
6
16
|
## [7.15.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/elements@7.15.0...@refinitiv-ui/elements@7.15.1) (2025-05-27)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
package/lib/icon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { consume } from '@lit-labs/context';
|
|
3
|
-
import { BasicElement, css, svg } from '@refinitiv-ui/core';
|
|
3
|
+
import { BasicElement, ErrorThrower, css, svg } from '@refinitiv-ui/core';
|
|
4
4
|
import { customElement } from '@refinitiv-ui/core/decorators/custom-element.js';
|
|
5
5
|
import { property } from '@refinitiv-ui/core/decorators/property.js';
|
|
6
6
|
import { unsafeSVG } from '@refinitiv-ui/core/directives/unsafe-svg.js';
|
|
@@ -16,6 +16,7 @@ const EmptyTemplate = svg ``;
|
|
|
16
16
|
* As the cache key is an absolute URL, we can assume no clashes will occur.
|
|
17
17
|
*/
|
|
18
18
|
const iconTemplateCache = new Map();
|
|
19
|
+
const errorThrower = new ErrorThrower();
|
|
19
20
|
let Icon = class Icon extends BasicElement {
|
|
20
21
|
/**
|
|
21
22
|
* Element version number
|
|
@@ -143,7 +144,9 @@ let Icon = class Icon extends BasicElement {
|
|
|
143
144
|
void this.loadAndRenderIcon(iconProperty);
|
|
144
145
|
}
|
|
145
146
|
else {
|
|
146
|
-
void this.loadAndRenderSpriteIcon(iconProperty)
|
|
147
|
+
void this.loadAndRenderSpriteIcon(iconProperty).catch((error) => {
|
|
148
|
+
errorThrower.once(String(error));
|
|
149
|
+
});
|
|
147
150
|
}
|
|
148
151
|
}
|
|
149
152
|
/**
|
package/lib/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '7.15.
|
|
1
|
+
export const VERSION = '7.15.3';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refinitiv-ui/elements",
|
|
3
|
-
"version": "7.15.
|
|
3
|
+
"version": "7.15.3",
|
|
4
4
|
"description": "Element Framework Elements",
|
|
5
5
|
"author": "LSEG",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": ">=18.0.0",
|
|
19
|
-
"npm": ">=
|
|
19
|
+
"npm": ">=11.5.1"
|
|
20
20
|
},
|
|
21
21
|
"typesVersions": {
|
|
22
22
|
"*": {
|
|
@@ -458,9 +458,9 @@
|
|
|
458
458
|
},
|
|
459
459
|
"dependencies": {
|
|
460
460
|
"@lit-labs/context": "^0.3.1",
|
|
461
|
-
"@refinitiv-ui/ds-theme": "^7.1.
|
|
462
|
-
"@refinitiv-ui/halo-theme": "^7.6.
|
|
463
|
-
"@refinitiv-ui/solar-theme": "^7.4.
|
|
461
|
+
"@refinitiv-ui/ds-theme": "^7.1.3",
|
|
462
|
+
"@refinitiv-ui/halo-theme": "^7.6.2",
|
|
463
|
+
"@refinitiv-ui/solar-theme": "^7.4.2",
|
|
464
464
|
"chart.js": "^4.4.2",
|
|
465
465
|
"chartjs-adapter-date-fns": "^3.0.0",
|
|
466
466
|
"d3-interpolate": "^3.0.1",
|
|
@@ -470,25 +470,25 @@
|
|
|
470
470
|
"tslib": "^2.3.1"
|
|
471
471
|
},
|
|
472
472
|
"devDependencies": {
|
|
473
|
-
"@refinitiv-ui/core": "^7.5.
|
|
474
|
-
"@refinitiv-ui/demo-block": "^7.2.
|
|
475
|
-
"@refinitiv-ui/i18n": "^7.1.
|
|
476
|
-
"@refinitiv-ui/phrasebook": "^7.1.
|
|
477
|
-
"@refinitiv-ui/test-helpers": "^7.1.
|
|
478
|
-
"@refinitiv-ui/translate": "^7.1.
|
|
479
|
-
"@refinitiv-ui/utils": "^7.3.
|
|
473
|
+
"@refinitiv-ui/core": "^7.5.4",
|
|
474
|
+
"@refinitiv-ui/demo-block": "^7.2.3",
|
|
475
|
+
"@refinitiv-ui/i18n": "^7.1.7",
|
|
476
|
+
"@refinitiv-ui/phrasebook": "^7.1.3",
|
|
477
|
+
"@refinitiv-ui/test-helpers": "^7.1.4",
|
|
478
|
+
"@refinitiv-ui/translate": "^7.1.12",
|
|
479
|
+
"@refinitiv-ui/utils": "^7.3.2",
|
|
480
480
|
"@types/d3-interpolate": "^3.0.1"
|
|
481
481
|
},
|
|
482
482
|
"peerDependencies": {
|
|
483
483
|
"@refinitiv-ui/browser-sparkline": "^1.0.0 || ^2.0.0",
|
|
484
|
-
"@refinitiv-ui/core": "^7.5.
|
|
485
|
-
"@refinitiv-ui/i18n": "^7.1.
|
|
486
|
-
"@refinitiv-ui/phrasebook": "^7.1.
|
|
487
|
-
"@refinitiv-ui/translate": "^7.1.
|
|
488
|
-
"@refinitiv-ui/utils": "^7.3.
|
|
484
|
+
"@refinitiv-ui/core": "^7.5.4",
|
|
485
|
+
"@refinitiv-ui/i18n": "^7.1.7",
|
|
486
|
+
"@refinitiv-ui/phrasebook": "^7.1.3",
|
|
487
|
+
"@refinitiv-ui/translate": "^7.1.12",
|
|
488
|
+
"@refinitiv-ui/utils": "^7.3.2"
|
|
489
489
|
},
|
|
490
490
|
"publishConfig": {
|
|
491
491
|
"access": "public"
|
|
492
492
|
},
|
|
493
|
-
"gitHead": "
|
|
493
|
+
"gitHead": "35b1dce07f4f1d7bfabc21bbc7751bbb2aa44050"
|
|
494
494
|
}
|