@akinon/ui-card 0.5.0 → 1.0.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/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/types.d.ts +15 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/types.d.ts +15 -0
- package/package.json +7 -7
package/dist/cjs/index.d.ts
CHANGED
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,mBAAmB,SAAS,CAAC;AAE7B;;GAEG;AAEH,eAAO,MAAM,IAAI,0DAMd,SAAS,sBAgFX,CAAC;AAEF,eAAO,MAAM,QAAQ,gDAAe,CAAC;AAErC,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,aAAa,sBAmE5C,CAAC"}
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -6,50 +6,62 @@ export interface CardProps
|
|
|
6
6
|
* The title of the card.
|
|
7
7
|
*/
|
|
8
8
|
title?: React.ReactNode;
|
|
9
|
+
|
|
9
10
|
/**
|
|
10
11
|
* The extra content of the card.
|
|
11
12
|
*/
|
|
12
13
|
extra?: React.ReactNode;
|
|
14
|
+
|
|
13
15
|
/**
|
|
14
16
|
* Whether the card has a border.
|
|
15
17
|
*/
|
|
16
18
|
bordered?: boolean;
|
|
19
|
+
|
|
17
20
|
/**
|
|
18
21
|
* Whether the card is loading.
|
|
19
22
|
*/
|
|
20
23
|
loading?: boolean;
|
|
24
|
+
|
|
21
25
|
/**
|
|
22
26
|
* Whether the card is hoverable.
|
|
23
27
|
*/
|
|
24
28
|
hoverable?: boolean;
|
|
29
|
+
|
|
25
30
|
/**
|
|
26
31
|
* The children of the card.
|
|
27
32
|
*/
|
|
28
33
|
children?: React.ReactNode;
|
|
34
|
+
|
|
29
35
|
/**
|
|
30
36
|
* The class name of the card.
|
|
31
37
|
*/
|
|
32
38
|
className?: string;
|
|
39
|
+
|
|
33
40
|
/**
|
|
34
41
|
* The root class name of the card.
|
|
35
42
|
*/
|
|
36
43
|
rootClassName?: string;
|
|
44
|
+
|
|
37
45
|
/**
|
|
38
46
|
* The size of the card.
|
|
39
47
|
*/
|
|
40
48
|
size?: 'default' | 'small';
|
|
49
|
+
|
|
41
50
|
/**
|
|
42
51
|
* Whether the card is an inner card.
|
|
43
52
|
*/
|
|
44
53
|
inner?: boolean;
|
|
54
|
+
|
|
45
55
|
/**
|
|
46
56
|
* The cover node of the card.
|
|
47
57
|
*/
|
|
48
58
|
cover?: React.ReactNode;
|
|
59
|
+
|
|
49
60
|
/**
|
|
50
61
|
* The actions node of the card.
|
|
51
62
|
*/
|
|
52
63
|
actions?: React.ReactNode[];
|
|
64
|
+
|
|
53
65
|
/**
|
|
54
66
|
* The class names of specific parts of the card.
|
|
55
67
|
*/
|
|
@@ -61,14 +73,17 @@ export interface CardProps
|
|
|
61
73
|
actions?: string;
|
|
62
74
|
cover?: string;
|
|
63
75
|
};
|
|
76
|
+
|
|
64
77
|
/**
|
|
65
78
|
* The width of the card with px or percentage. `number` is in px.
|
|
66
79
|
*/
|
|
67
80
|
width?: number | string;
|
|
81
|
+
|
|
68
82
|
/**
|
|
69
83
|
* The custom padding of the card.
|
|
70
84
|
*/
|
|
71
85
|
padding?: number;
|
|
86
|
+
|
|
72
87
|
/**
|
|
73
88
|
* @ignore
|
|
74
89
|
*/
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,mBAAmB,SAAS,CAAC;AAE7B;;GAEG;AAEH,eAAO,MAAM,IAAI,0DAMd,SAAS,sBAgFX,CAAC;AAEF,eAAO,MAAM,QAAQ,gDAAe,CAAC;AAErC,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,aAAa,sBAmE5C,CAAC"}
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -6,50 +6,62 @@ export interface CardProps
|
|
|
6
6
|
* The title of the card.
|
|
7
7
|
*/
|
|
8
8
|
title?: React.ReactNode;
|
|
9
|
+
|
|
9
10
|
/**
|
|
10
11
|
* The extra content of the card.
|
|
11
12
|
*/
|
|
12
13
|
extra?: React.ReactNode;
|
|
14
|
+
|
|
13
15
|
/**
|
|
14
16
|
* Whether the card has a border.
|
|
15
17
|
*/
|
|
16
18
|
bordered?: boolean;
|
|
19
|
+
|
|
17
20
|
/**
|
|
18
21
|
* Whether the card is loading.
|
|
19
22
|
*/
|
|
20
23
|
loading?: boolean;
|
|
24
|
+
|
|
21
25
|
/**
|
|
22
26
|
* Whether the card is hoverable.
|
|
23
27
|
*/
|
|
24
28
|
hoverable?: boolean;
|
|
29
|
+
|
|
25
30
|
/**
|
|
26
31
|
* The children of the card.
|
|
27
32
|
*/
|
|
28
33
|
children?: React.ReactNode;
|
|
34
|
+
|
|
29
35
|
/**
|
|
30
36
|
* The class name of the card.
|
|
31
37
|
*/
|
|
32
38
|
className?: string;
|
|
39
|
+
|
|
33
40
|
/**
|
|
34
41
|
* The root class name of the card.
|
|
35
42
|
*/
|
|
36
43
|
rootClassName?: string;
|
|
44
|
+
|
|
37
45
|
/**
|
|
38
46
|
* The size of the card.
|
|
39
47
|
*/
|
|
40
48
|
size?: 'default' | 'small';
|
|
49
|
+
|
|
41
50
|
/**
|
|
42
51
|
* Whether the card is an inner card.
|
|
43
52
|
*/
|
|
44
53
|
inner?: boolean;
|
|
54
|
+
|
|
45
55
|
/**
|
|
46
56
|
* The cover node of the card.
|
|
47
57
|
*/
|
|
48
58
|
cover?: React.ReactNode;
|
|
59
|
+
|
|
49
60
|
/**
|
|
50
61
|
* The actions node of the card.
|
|
51
62
|
*/
|
|
52
63
|
actions?: React.ReactNode[];
|
|
64
|
+
|
|
53
65
|
/**
|
|
54
66
|
* The class names of specific parts of the card.
|
|
55
67
|
*/
|
|
@@ -61,14 +73,17 @@ export interface CardProps
|
|
|
61
73
|
actions?: string;
|
|
62
74
|
cover?: string;
|
|
63
75
|
};
|
|
76
|
+
|
|
64
77
|
/**
|
|
65
78
|
* The width of the card with px or percentage. `number` is in px.
|
|
66
79
|
*/
|
|
67
80
|
width?: number | string;
|
|
81
|
+
|
|
68
82
|
/**
|
|
69
83
|
* The custom padding of the card.
|
|
70
84
|
*/
|
|
71
85
|
padding?: number;
|
|
86
|
+
|
|
72
87
|
/**
|
|
73
88
|
* @ignore
|
|
74
89
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-card",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"antd": "5.
|
|
13
|
-
"@akinon/icons": "0.
|
|
14
|
-
"@akinon/ui-theme": "0.
|
|
15
|
-
"@akinon/ui-typography": "0.
|
|
12
|
+
"antd": "5.22.6",
|
|
13
|
+
"@akinon/icons": "1.0.0",
|
|
14
|
+
"@akinon/ui-theme": "1.0.0",
|
|
15
|
+
"@akinon/ui-typography": "1.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"clean-package": "2.2.0",
|
|
19
19
|
"copyfiles": "^2.4.1",
|
|
20
20
|
"rimraf": "^5.0.5",
|
|
21
|
-
"typescript": "
|
|
22
|
-
"@akinon/typescript-config": "0.
|
|
21
|
+
"typescript": "*",
|
|
22
|
+
"@akinon/typescript-config": "1.0.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": ">=18",
|