@stackshift-ui/stats-card 7.0.0-beta.1 → 7.0.0-beta.3
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/stats-card.d.ts +4 -0
- package/package.json +5 -5
- package/src/stats-card.tsx +4 -0
package/dist/stats-card.d.ts
CHANGED
|
@@ -10,5 +10,9 @@ export interface StatsCardProps extends Omit<HTMLProps<HTMLElement>, "as"> {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
as?: ElementType;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Redundant since Card component was added
|
|
15
|
+
* @use Card component
|
|
16
|
+
* */
|
|
13
17
|
export declare const StatsCard: React.FC<StatsCardProps>;
|
|
14
18
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackshift-ui/stats-card",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.0.0-beta.
|
|
4
|
+
"version": "7.0.0-beta.3",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"classnames": "^2.5.1",
|
|
37
|
-
"@stackshift-ui/
|
|
38
|
-
"@stackshift-ui/
|
|
39
|
-
"@stackshift-ui/
|
|
37
|
+
"@stackshift-ui/scripts": "6.1.0-beta.2",
|
|
38
|
+
"@stackshift-ui/text": "7.0.0-beta.3",
|
|
39
|
+
"@stackshift-ui/system": "6.1.0-beta.3"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@types/react": "16.8 - 19",
|
|
43
43
|
"next": "10 - 14",
|
|
44
44
|
"react": "16.8 - 19",
|
|
45
45
|
"react-dom": "16.8 - 19",
|
|
46
|
-
"@stackshift-ui/system": ">=6.1.0-beta.
|
|
46
|
+
"@stackshift-ui/system": ">=6.1.0-beta.3"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"next": {
|
package/src/stats-card.tsx
CHANGED
|
@@ -18,6 +18,10 @@ export interface StatsCardProps extends Omit<HTMLProps<HTMLElement>, "as"> {
|
|
|
18
18
|
|
|
19
19
|
const displayName = "StatsCard";
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Redundant since Card component was added
|
|
23
|
+
* @use Card component
|
|
24
|
+
* */
|
|
21
25
|
export const StatsCard: React.FC<StatsCardProps> = ({
|
|
22
26
|
variant = "inline",
|
|
23
27
|
icon,
|