react-asc 26.1.0 → 26.3.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/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +1 -1
- package/index.cjs.js +14 -14
- package/index.d.ts +0 -1
- package/index.es.js +1999 -1876
- package/index.umd.js +14 -14
- package/package.json +2 -7
- package/readme.md +44 -44
- 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.3.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/readme.md
CHANGED
|
@@ -8,8 +8,8 @@ react-asc interactive showcase with code snippets [link](https://react-asc.oardi
|
|
|
8
8
|
|
|
9
9
|
## Stackblitz Examples
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
-
|
|
11
|
+
- react-asc and jsx [link](https://stackblitz.com/edit/react-asc-example-js)
|
|
12
|
+
- react-asc and tsx [link](https://stackblitz.com/edit/react-asc-example-ts)
|
|
13
13
|
|
|
14
14
|
## usage
|
|
15
15
|
|
|
@@ -46,48 +46,48 @@ react-asc provides built-in ts definition
|
|
|
46
46
|
|
|
47
47
|
## Included Components
|
|
48
48
|
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
49
|
+
- Alert (beta)
|
|
50
|
+
- AppBar
|
|
51
|
+
- AutoComplete (beta)
|
|
52
|
+
- Backdrop
|
|
53
|
+
- Badge
|
|
54
|
+
- Breadcrumb
|
|
55
|
+
- Button
|
|
56
|
+
- ButtonGroup
|
|
57
|
+
- Card
|
|
58
|
+
- Checkbox
|
|
59
|
+
- Chip
|
|
60
|
+
- CssTransition
|
|
61
|
+
- ConditionalWrapper
|
|
62
|
+
- DateSelect
|
|
63
|
+
- Drawer
|
|
64
|
+
- ExpansionPanel
|
|
65
|
+
- FileInput
|
|
66
|
+
- FloatingActionButton
|
|
67
|
+
- Form (beta)
|
|
68
|
+
- Grid
|
|
69
|
+
- Icon
|
|
70
|
+
- IconButton
|
|
71
|
+
- Link
|
|
72
|
+
- List
|
|
73
|
+
- LoadingIndicator
|
|
74
|
+
- Menu
|
|
75
|
+
- Modal + ModalService
|
|
76
|
+
- NumberSelect
|
|
77
|
+
Portal
|
|
78
|
+
- Select
|
|
79
|
+
- Sidebar
|
|
80
|
+
- Skeleton (Avatar, Image, Text, SkeletonFooter)
|
|
81
|
+
- Snackbar + SnackbarService
|
|
82
|
+
- SpeedDial
|
|
83
|
+
- Stepper (beta)
|
|
84
|
+
- Table (beta)
|
|
85
|
+
- Tabs
|
|
86
|
+
- Textarea
|
|
87
|
+
- TimeSelect
|
|
88
|
+
- Tooltip
|
|
89
|
+
- TreeView (beta)
|
|
90
|
+
- Typography
|
|
91
91
|
|
|
92
92
|
## Credit
|
|
93
93
|
|
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