@sb1/ffe-cards-react 15.0.2 → 15.0.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-cards-react",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.4",
|
|
4
4
|
"description": "React implementation of ffe-react",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "ffe-buildtool tsc",
|
|
22
|
-
"watch": "ffe-buildtool
|
|
22
|
+
"watch": "ffe-buildtool babel-watch",
|
|
23
23
|
"lint": "eslint src",
|
|
24
24
|
"lint:fix": "eslint src --fix",
|
|
25
25
|
"test": "ffe-buildtool jest",
|
|
26
26
|
"test:watch": "ffe-buildtool jest --watch"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@sb1/ffe-cards": "^18.0.
|
|
29
|
+
"@sb1/ffe-cards": "^18.0.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@sb1/ffe-buildtool": "^0.6.
|
|
33
|
-
"@sb1/ffe-icons-react": "^9.0.
|
|
32
|
+
"@sb1/ffe-buildtool": "^0.6.1",
|
|
33
|
+
"@sb1/ffe-icons-react": "^9.0.12",
|
|
34
34
|
"react": "^16.9.0",
|
|
35
35
|
"react-dom": "^16.9.0"
|
|
36
36
|
},
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "12285ee4ecea525ee235bc88aee2ffe38c32f0d1"
|
|
44
44
|
}
|
|
@@ -4,7 +4,7 @@ export type StippledCardProps<As extends ElementType = 'a'> = Omit<ComponentAsPr
|
|
|
4
4
|
/** Smaller icon and less space */
|
|
5
5
|
condensed?: boolean;
|
|
6
6
|
/** Image to be rendered*/
|
|
7
|
-
img
|
|
7
|
+
img?: {
|
|
8
8
|
element: ReactNode;
|
|
9
9
|
type: 'icon' | 'custom';
|
|
10
10
|
};
|
|
@@ -14,9 +14,9 @@ export declare const StippledCard: <As extends React.ElementType>(props: Omit<Co
|
|
|
14
14
|
/** Smaller icon and less space */
|
|
15
15
|
condensed?: boolean | undefined;
|
|
16
16
|
/** Image to be rendered*/
|
|
17
|
-
img
|
|
17
|
+
img?: {
|
|
18
18
|
element: ReactNode;
|
|
19
19
|
type: 'icon' | 'custom';
|
|
20
|
-
};
|
|
20
|
+
} | undefined;
|
|
21
21
|
children: React.ReactNode | ((cardRenderProps: CardRenderProps) => React.ReactNode);
|
|
22
22
|
} & React.RefAttributes<any>) => React.JSX.Element;
|