@refinitiv-ui/efx-grid 6.0.166 → 6.0.168
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/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