react-asc 26.1.0 → 26.2.0
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 +14 -14
- package/index.d.ts +0 -1
- package/index.es.js +1790 -1858
- package/index.umd.js +14 -14
- package/package.json +2 -7
- package/helpers/index.d.ts +0 -1
- package/helpers/sort.helper.d.ts +0 -1
- package/typings/array-extension.d.ts +0 -10
- package/typings/date-extension.d.ts +0 -13
- package/typings/index.d.ts +0 -3
- package/typings/string-extensions.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-asc",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.2.0",
|
|
4
4
|
"description": "handcrafted react components",
|
|
5
5
|
"main": "index.cjs.js",
|
|
6
6
|
"module": "index.es.js",
|
|
@@ -13,12 +13,7 @@
|
|
|
13
13
|
"react": "^19.0.0",
|
|
14
14
|
"react-dom": "^19.0.0"
|
|
15
15
|
},
|
|
16
|
-
"peerDependencies": {
|
|
17
|
-
"@types/file-saver": "^2.0.7",
|
|
18
|
-
"@types/papaparse": "^5.3.15",
|
|
19
|
-
"file-saver": "^2.0.5",
|
|
20
|
-
"papaparse": "^5.5.2"
|
|
21
|
-
},
|
|
16
|
+
"peerDependencies": {},
|
|
22
17
|
"scripts": {
|
|
23
18
|
"pub": "npm publish --access public"
|
|
24
19
|
},
|
package/helpers/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './sort.helper';
|
package/helpers/sort.helper.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const sortHelper: <T, G>(a: T, b: T, valueGetter: (a: T) => G, ascending?: boolean) => number;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IDictionary } from '../interfaces';
|
|
2
|
-
export {};
|
|
3
|
-
declare global {
|
|
4
|
-
interface Array<T> {
|
|
5
|
-
groupBy(valueGetter: (a: T) => string): IDictionary<T[]>;
|
|
6
|
-
orderBy<T, G>(valueGetter: (a: T) => G, ascending?: boolean): T[];
|
|
7
|
-
filterBy<G>(key?: string): G[];
|
|
8
|
-
distinct<T>(comparator?: (obj1: unknown, obj2: unknown) => boolean): T[];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ConfigType, ManipulateType, OpUnitType } from 'dayjs';
|
|
2
|
-
declare global {
|
|
3
|
-
interface Date {
|
|
4
|
-
isAfter(date: ConfigType, unit?: OpUnitType): boolean;
|
|
5
|
-
isBefore(date: ConfigType, unit?: OpUnitType): boolean;
|
|
6
|
-
format(template?: string): string;
|
|
7
|
-
isValid(): boolean;
|
|
8
|
-
add(value: number, unit?: ManipulateType): Date;
|
|
9
|
-
subtract(value: number, unit?: ManipulateType): Date;
|
|
10
|
-
firstDayOfMonth(): Date;
|
|
11
|
-
lastDayOfMonth(): Date;
|
|
12
|
-
}
|
|
13
|
-
}
|
package/typings/index.d.ts
DELETED