@eui/core 22.0.0-alpha.71 → 22.0.0-alpha.72
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/docs/changelog.html +31 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +163 -163
- package/docs/llms.txt +1 -1
- package/docs/miscellaneous/variables.html +0 -1
- package/docs/properties.html +1 -1
- package/fesm2022/eui-core.mjs +1 -4
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/schematics/migrate/replacements/mwp.js +1 -0
- package/schematics/migrate/replacements/mwp.js.map +1 -1
- package/types/eui-core.d.ts.map +1 -1
package/docs/llms.txt
CHANGED
|
@@ -6783,7 +6783,6 @@ Used to resolve</p>
|
|
|
6783
6783
|
<i>Default value : </i><code>(value: number | string, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = ''): string | null => {
|
|
6784
6784
|
// in case value is not a number throw an error
|
|
6785
6785
|
if (typeof value === 'string' && isNaN(parseFloat(value))) {
|
|
6786
|
-
console.error(`Value ${value} is not a number`);
|
|
6787
6786
|
return null;
|
|
6788
6787
|
}
|
|
6789
6788
|
|
package/docs/properties.html
CHANGED
package/fesm2022/eui-core.mjs
CHANGED
|
@@ -1784,10 +1784,7 @@ const validateEmail = (c) => {
|
|
|
1784
1784
|
};
|
|
1785
1785
|
const uniqueId = () => Math.random().toString(36).substring(2, 9);
|
|
1786
1786
|
const formatNumber = (value, fractionSize = 2, inDecimalSeparator = ",", inThousandSeparator = "") => {
|
|
1787
|
-
if (typeof value === "string" && isNaN(parseFloat(value)))
|
|
1788
|
-
console.error(`Value ${value} is not a number`);
|
|
1789
|
-
return null;
|
|
1790
|
-
}
|
|
1787
|
+
if (typeof value === "string" && isNaN(parseFloat(value))) return null;
|
|
1791
1788
|
let decimalSeparator = "";
|
|
1792
1789
|
let thousandsSeparator = "";
|
|
1793
1790
|
if (value === null || value === void 0) return null;
|