@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
@@ -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
package/package.json
CHANGED