@trackunit/ui-icons 1.3.141 → 1.3.142
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/index.cjs.js +0 -4
- package/index.esm.js +0 -4
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -391,12 +391,8 @@ const ensureIconWithFallback = (name, fallbackIconName = FALLBACK_ICON_NAME) =>
|
|
|
391
391
|
// These icon names are coming from Iris Apps and Reports.
|
|
392
392
|
const migratedName = name.replace("Icon", "");
|
|
393
393
|
if (validateIconName(migratedName)) {
|
|
394
|
-
// eslint-disable-next-line no-console
|
|
395
|
-
console.warn(`Your icon name is old, the new name is "${migratedName}" please update it`);
|
|
396
394
|
return migratedName;
|
|
397
395
|
}
|
|
398
|
-
// eslint-disable-next-line no-console
|
|
399
|
-
console.warn(`Your icon name is misspelled, fallback icon is used instead of "${name}"`);
|
|
400
396
|
return fallbackIconName;
|
|
401
397
|
}
|
|
402
398
|
};
|
package/index.esm.js
CHANGED
|
@@ -389,12 +389,8 @@ const ensureIconWithFallback = (name, fallbackIconName = FALLBACK_ICON_NAME) =>
|
|
|
389
389
|
// These icon names are coming from Iris Apps and Reports.
|
|
390
390
|
const migratedName = name.replace("Icon", "");
|
|
391
391
|
if (validateIconName(migratedName)) {
|
|
392
|
-
// eslint-disable-next-line no-console
|
|
393
|
-
console.warn(`Your icon name is old, the new name is "${migratedName}" please update it`);
|
|
394
392
|
return migratedName;
|
|
395
393
|
}
|
|
396
|
-
// eslint-disable-next-line no-console
|
|
397
|
-
console.warn(`Your icon name is misspelled, fallback icon is used instead of "${name}"`);
|
|
398
394
|
return fallbackIconName;
|
|
399
395
|
}
|
|
400
396
|
};
|