@skyux/core 8.0.0-alpha.12 → 8.0.0-alpha.13
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/documentation.json +243 -674
- package/esm2020/lib/modules/numeric/numeric.options.mjs +12 -1
- package/fesm2015/skyux-core.mjs +9 -0
- package/fesm2015/skyux-core.mjs.map +1 -1
- package/fesm2020/skyux-core.mjs +9 -0
- package/fesm2020/skyux-core.mjs.map +1 -1
- package/lib/modules/numeric/numeric.options.d.ts +2 -0
- package/package.json +2 -2
package/fesm2020/skyux-core.mjs
CHANGED
@@ -1831,6 +1831,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
|
|
1831
1831
|
/**
|
1832
1832
|
* Provides arguments for the number to format.
|
1833
1833
|
* @deprecated Use the `SkyNumericOptions` interface instead.
|
1834
|
+
* @internal
|
1834
1835
|
*/
|
1835
1836
|
class NumericOptions {
|
1836
1837
|
constructor() {
|
@@ -1840,6 +1841,14 @@ class NumericOptions {
|
|
1840
1841
|
this.iso = 'USD';
|
1841
1842
|
this.truncate = true;
|
1842
1843
|
this.truncateAfter = 1000;
|
1844
|
+
const logService = new SkyLogService(new SkyAppFormat());
|
1845
|
+
logService
|
1846
|
+
.deprecated('NumericOptions', {
|
1847
|
+
deprecationMajorVersion: 7,
|
1848
|
+
moreInfoUrl: 'https://developer.blackbaud.com/skyux/components/numeric',
|
1849
|
+
replacementRecommendation: 'Use the `SkyNumericOptions` interface instead.',
|
1850
|
+
})
|
1851
|
+
.then();
|
1843
1852
|
}
|
1844
1853
|
}
|
1845
1854
|
|