@refinitiv-ui/efx-grid 6.0.166 → 6.0.168

Sign up to get free protection for your applications and to get access to all the features.
package/lib/grid/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import {Grid} from "./lib/efx-grid.js";
2
2
  export {Grid}
3
- window.EFX_GRID = { version: "6.0.166" };
3
+ window.EFX_GRID = { version: "6.0.168" };
@@ -24,6 +24,8 @@ declare namespace ElfUtil {
24
24
 
25
25
  function isHaloTheme(themeName?: string|null): boolean;
26
26
 
27
+ function isDSTheme(themeName?: string|null): boolean;
28
+
27
29
  function injectIcons(configObj: any): void;
28
30
 
29
31
  function getIconList(): (string)[];
@@ -284,6 +284,24 @@ ElfUtil.isHaloTheme = function (themeName) {
284
284
  return false;
285
285
  };
286
286
 
287
+ /** Check the current ELF theme is DS theme
288
+ * @public
289
+ * @function
290
+ * @param {string=} themeName
291
+ * @return {boolean}
292
+ */
293
+ ElfUtil.isDSTheme = function (themeName) {
294
+ if(themeName == null) {
295
+ themeName = ElfUtil.getThemeName();
296
+ }
297
+ if(themeName) {
298
+ return themeName.indexOf("ds") >= 0;
299
+ }
300
+
301
+ return false;
302
+ };
303
+
304
+
287
305
  /** Inject appropriate icon list (based on theme and ELF version) to the given object.
288
306
  * @public
289
307
  * @function
package/lib/versions.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "tr-grid-util": "1.3.175",
2
+ "tr-grid-util": "1.3.176",
3
3
  "tr-grid-printer": "1.0.18",
4
4
  "@grid/column-dragging": "1.0.22",
5
5
  "@grid/row-segmenting": "2.0.3",
package/package.json CHANGED
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "version": "6.0.166"
72
+ "version": "6.0.168"
73
73
  }