lorgg-v2-components 0.0.96 → 0.0.97
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/dist/components/helpers/functions.d.ts +1 -1
- package/dist/components/helpers/functions.d.ts.map +1 -1
- package/dist/lorgg-components.cjs.js +7 -7
- package/dist/lorgg-components.css +1 -1
- package/dist/lorgg-components.es.js +3031 -3041
- package/dist/lorgg-components.umd.js +11 -11
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ export declare function randomWithSeed(seed?: number | string): number;
|
|
|
6
6
|
export declare function getRandomColor(seed?: number | string): string;
|
|
7
7
|
export declare function winrateColor(winrate: number, baseWinrate?: number): "--color-excellent" | "--color-good" | "--color-good-lite" | "--color-median" | "--color-bad-lite" | "--color-bad";
|
|
8
8
|
export declare function getDate(days: number): Date;
|
|
9
|
-
export declare function localeNumber(num: number, decimalPlaces?: number, sigDigits?: number): string;
|
|
9
|
+
export declare function localeNumber(num: number | null, decimalPlaces?: number, sigDigits?: number): string;
|
|
10
10
|
export declare function getRandomInt(min: number, max: number): number;
|
|
11
11
|
export declare function groupBy<T, K extends keyof any>(arr: T[], key: (i: T) => K): Record<K, T[]>;
|
|
12
12
|
export declare function getGemsCost(deck: Deck, isPersonal: boolean): number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../src/components/helpers/functions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,wBAAgB,kBAAkB,CAAC,QAAQ,KAAA,WAE1C;AACD,wBAAgB,WAAW,CAAC,IAAI,KAAA,WAK/B;AACD,wBAAgB,cAAc,CAAC,IAAI,KAAA,UAalC;AACD,wBAAgB,cAAc,CAAC,IAAI,KAAA,UAElC;AACD,wBAAgB,YAAY,CAAC,OAAO,KAAA,EAAE,WAAW,SAAM,sHAiBtD;AACD,wBAAgB,OAAO,CAAC,IAAI,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