@sb1/ffe-cards-react 12.0.1 → 12.0.2
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.
|
@@ -4,7 +4,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
4
4
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
|
-
import { bool, elementType, func, node, oneOfType, string, shape, oneOf } from 'prop-types';
|
|
7
|
+
import { bool, elementType, element, func, node, oneOfType, string, shape, oneOf } from 'prop-types';
|
|
8
8
|
import { Text, Title, Subtext, CardName } from '../components';
|
|
9
9
|
var StippledCard = function StippledCard(_ref) {
|
|
10
10
|
var className = _ref.className,
|
|
@@ -40,7 +40,7 @@ StippledCard.propTypes = {
|
|
|
40
40
|
children: oneOfType([func, node]).isRequired,
|
|
41
41
|
/** Image to be rendered*/
|
|
42
42
|
img: shape({
|
|
43
|
-
element:
|
|
43
|
+
element: element.isRequired,
|
|
44
44
|
type: oneOf(['icon', 'custom']).isRequired
|
|
45
45
|
}),
|
|
46
46
|
/** Smaller icon and less space */
|
|
@@ -47,7 +47,7 @@ StippledCard.propTypes = {
|
|
|
47
47
|
children: (0, _propTypes.oneOfType)([_propTypes.func, _propTypes.node]).isRequired,
|
|
48
48
|
/** Image to be rendered*/
|
|
49
49
|
img: (0, _propTypes.shape)({
|
|
50
|
-
element: _propTypes.
|
|
50
|
+
element: _propTypes.element.isRequired,
|
|
51
51
|
type: (0, _propTypes.oneOf)(['icon', 'custom']).isRequired
|
|
52
52
|
}),
|
|
53
53
|
/** Smaller icon and less space */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-cards-react",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.2",
|
|
4
4
|
"description": "React implementation of ffe-react",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "16d63d321b51be8c0a648edf879296f42cb05710"
|
|
44
44
|
}
|