@sb1/ffe-cards-react 13.0.20 → 13.0.22
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/es/CardBase.js +3 -5
- package/es/IconCard/IconCard.js +3 -5
- package/es/ImageCard/ImageCard.js +3 -5
- package/es/StippledCard/StippledCard.js +3 -5
- package/es/TextCard/TextCard.js +3 -2
- package/es/components/CardName.js +1 -1
- package/es/components/ComponentBase.js +3 -5
- package/es/components/Subtext.js +1 -1
- package/es/components/Text.js +1 -1
- package/es/components/Title.js +3 -5
- package/lib/CardBase.js +3 -5
- package/lib/IconCard/IconCard.js +3 -5
- package/lib/ImageCard/ImageCard.js +3 -5
- package/lib/StippledCard/StippledCard.js +3 -5
- package/lib/TextCard/TextCard.js +3 -2
- package/lib/components/CardName.js +1 -1
- package/lib/components/ComponentBase.js +3 -5
- package/lib/components/Subtext.js +1 -1
- package/lib/components/Text.js +1 -1
- package/lib/components/Title.js +3 -5
- package/package.json +6 -5
package/es/CardBase.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
var _excluded = ["className", "element", "children"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
7
|
import { oneOfType, node, func, string, elementType } from 'prop-types';
|
|
8
8
|
var CardBase = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
9
9
|
var className = props.className,
|
|
10
|
-
|
|
10
|
+
_props$element = props.element,
|
|
11
|
+
Element = _props$element === void 0 ? 'a' : _props$element,
|
|
11
12
|
children = props.children,
|
|
12
13
|
rest = _objectWithoutProperties(props, _excluded);
|
|
13
14
|
return /*#__PURE__*/React.createElement(Element, _extends({
|
|
@@ -15,9 +16,6 @@ var CardBase = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
15
16
|
ref: ref
|
|
16
17
|
}, rest), children);
|
|
17
18
|
});
|
|
18
|
-
CardBase.defaultProps = {
|
|
19
|
-
element: 'a'
|
|
20
|
-
};
|
|
21
19
|
CardBase.propTypes = {
|
|
22
20
|
className: string,
|
|
23
21
|
children: node,
|
package/es/IconCard/IconCard.js
CHANGED
|
@@ -7,7 +7,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
7
7
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
8
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
9
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
10
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import classNames from 'classnames';
|
|
13
13
|
import { node, string, bool, func, oneOfType, elementType } from 'prop-types';
|
|
@@ -16,7 +16,8 @@ var IconCard = function IconCard(props) {
|
|
|
16
16
|
var className = props.className,
|
|
17
17
|
icon = props.icon,
|
|
18
18
|
condensed = props.condensed,
|
|
19
|
-
|
|
19
|
+
_props$element = props.element,
|
|
20
|
+
Element = _props$element === void 0 ? 'a' : _props$element,
|
|
20
21
|
children = props.children,
|
|
21
22
|
rest = _objectWithoutProperties(props, _excluded);
|
|
22
23
|
return /*#__PURE__*/React.createElement(Element, _extends({
|
|
@@ -29,9 +30,6 @@ var IconCard = function IconCard(props) {
|
|
|
29
30
|
className: "ffe-icon-card__body"
|
|
30
31
|
}, typeof children === 'function' ? children(components) : children));
|
|
31
32
|
};
|
|
32
|
-
IconCard.defaultProps = {
|
|
33
|
-
element: 'a'
|
|
34
|
-
};
|
|
35
33
|
IconCard.propTypes = {
|
|
36
34
|
className: string,
|
|
37
35
|
/** Element of icon */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["className", "imageSrc", "imageAltText", "element", "children"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
7
|
import { node, string, func, oneOfType, elementType } from 'prop-types';
|
|
@@ -10,7 +10,8 @@ var ImageCard = function ImageCard(props) {
|
|
|
10
10
|
var className = props.className,
|
|
11
11
|
imageSrc = props.imageSrc,
|
|
12
12
|
imageAltText = props.imageAltText,
|
|
13
|
-
|
|
13
|
+
_props$element = props.element,
|
|
14
|
+
Element = _props$element === void 0 ? 'a' : _props$element,
|
|
14
15
|
children = props.children,
|
|
15
16
|
rest = _objectWithoutProperties(props, _excluded);
|
|
16
17
|
return /*#__PURE__*/React.createElement(Element, _extends({
|
|
@@ -27,9 +28,6 @@ var ImageCard = function ImageCard(props) {
|
|
|
27
28
|
className: "ffe-image-card__body"
|
|
28
29
|
}, typeof children === 'function' ? children(components) : children));
|
|
29
30
|
};
|
|
30
|
-
ImageCard.defaultProps = {
|
|
31
|
-
element: 'a'
|
|
32
|
-
};
|
|
33
31
|
ImageCard.propTypes = {
|
|
34
32
|
className: string,
|
|
35
33
|
/** The src for the image */
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
var _excluded = ["className", "element", "children", "img", "condensed"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
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,
|
|
11
|
-
|
|
11
|
+
_ref$element = _ref.element,
|
|
12
|
+
Element = _ref$element === void 0 ? 'a' : _ref$element,
|
|
12
13
|
children = _ref.children,
|
|
13
14
|
img = _ref.img,
|
|
14
15
|
condensed = _ref.condensed,
|
|
@@ -29,9 +30,6 @@ var StippledCard = function StippledCard(_ref) {
|
|
|
29
30
|
Subtext: Subtext
|
|
30
31
|
}) : children));
|
|
31
32
|
};
|
|
32
|
-
StippledCard.defaultProps = {
|
|
33
|
-
element: 'a'
|
|
34
|
-
};
|
|
35
33
|
StippledCard.propTypes = {
|
|
36
34
|
className: string,
|
|
37
35
|
/** The element to render the card as */
|
package/es/TextCard/TextCard.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["className", "leftAlign", "element", "children"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
7
|
import { string, func, node, oneOfType, bool, elementType } from 'prop-types';
|
|
@@ -9,7 +9,8 @@ import * as components from '../components';
|
|
|
9
9
|
var TextCard = function TextCard(props) {
|
|
10
10
|
var className = props.className,
|
|
11
11
|
leftAlign = props.leftAlign,
|
|
12
|
-
|
|
12
|
+
_props$element = props.element,
|
|
13
|
+
Element = _props$element === void 0 ? 'a' : _props$element,
|
|
13
14
|
children = props.children,
|
|
14
15
|
rest = _objectWithoutProperties(props, _excluded);
|
|
15
16
|
return /*#__PURE__*/React.createElement(Element, _extends({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["className"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
7
|
import { string } from 'prop-types';
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
var _excluded = ["className", "element"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
7
|
import { string, node, oneOfType, func, elementType } from 'prop-types';
|
|
8
8
|
var ComponentBase = function ComponentBase(_ref) {
|
|
9
9
|
var className = _ref.className,
|
|
10
|
-
|
|
10
|
+
_ref$element = _ref.element,
|
|
11
|
+
Element = _ref$element === void 0 ? 'p' : _ref$element,
|
|
11
12
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
12
13
|
return /*#__PURE__*/React.createElement(Element, _extends({
|
|
13
14
|
className: classNames(className)
|
|
14
15
|
}, rest));
|
|
15
16
|
};
|
|
16
|
-
ComponentBase.defaultProps = {
|
|
17
|
-
element: 'p'
|
|
18
|
-
};
|
|
19
17
|
ComponentBase.propTypes = {
|
|
20
18
|
className: string,
|
|
21
19
|
element: oneOfType([func, string, elementType]),
|
package/es/components/Subtext.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["className"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
7
|
import { string } from 'prop-types';
|
package/es/components/Text.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["className"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
7
|
import { string } from 'prop-types';
|
package/es/components/Title.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
var _excluded = ["className", "overflowEllipsis"];
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { 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
7
|
import { string, bool } from 'prop-types';
|
|
8
8
|
import ComponentBase from './ComponentBase';
|
|
9
9
|
var Title = function Title(_ref) {
|
|
10
10
|
var className = _ref.className,
|
|
11
|
-
overflowEllipsis = _ref.overflowEllipsis,
|
|
11
|
+
_ref$overflowEllipsis = _ref.overflowEllipsis,
|
|
12
|
+
overflowEllipsis = _ref$overflowEllipsis === void 0 ? false : _ref$overflowEllipsis,
|
|
12
13
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
13
14
|
return /*#__PURE__*/React.createElement(ComponentBase, _extends({
|
|
14
15
|
className: classNames('ffe-card-body__title', {
|
|
@@ -16,9 +17,6 @@ var Title = function Title(_ref) {
|
|
|
16
17
|
}, className)
|
|
17
18
|
}, rest));
|
|
18
19
|
};
|
|
19
|
-
Title.defaultProps = {
|
|
20
|
-
overflowEllipsis: false
|
|
21
|
-
};
|
|
22
20
|
Title.propTypes = {
|
|
23
21
|
className: string,
|
|
24
22
|
/** Disable wrapping and hide overflow with ellipsis */
|
package/lib/CardBase.js
CHANGED
|
@@ -11,10 +11,11 @@ var _excluded = ["className", "element", "children"];
|
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
13
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
14
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
14
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
15
15
|
var CardBase = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
16
16
|
var className = props.className,
|
|
17
|
-
|
|
17
|
+
_props$element = props.element,
|
|
18
|
+
Element = _props$element === void 0 ? 'a' : _props$element,
|
|
18
19
|
children = props.children,
|
|
19
20
|
rest = _objectWithoutProperties(props, _excluded);
|
|
20
21
|
return /*#__PURE__*/_react.default.createElement(Element, _extends({
|
|
@@ -22,9 +23,6 @@ var CardBase = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
22
23
|
ref: ref
|
|
23
24
|
}, rest), children);
|
|
24
25
|
});
|
|
25
|
-
CardBase.defaultProps = {
|
|
26
|
-
element: 'a'
|
|
27
|
-
};
|
|
28
26
|
CardBase.propTypes = {
|
|
29
27
|
className: _propTypes.string,
|
|
30
28
|
children: _propTypes.node,
|
package/lib/IconCard/IconCard.js
CHANGED
|
@@ -20,12 +20,13 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
20
20
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
21
21
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
22
22
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
23
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
23
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
24
24
|
var IconCard = function IconCard(props) {
|
|
25
25
|
var className = props.className,
|
|
26
26
|
icon = props.icon,
|
|
27
27
|
condensed = props.condensed,
|
|
28
|
-
|
|
28
|
+
_props$element = props.element,
|
|
29
|
+
Element = _props$element === void 0 ? 'a' : _props$element,
|
|
29
30
|
children = props.children,
|
|
30
31
|
rest = _objectWithoutProperties(props, _excluded);
|
|
31
32
|
return /*#__PURE__*/_react.default.createElement(Element, _extends({
|
|
@@ -38,9 +39,6 @@ var IconCard = function IconCard(props) {
|
|
|
38
39
|
className: "ffe-icon-card__body"
|
|
39
40
|
}, typeof children === 'function' ? children(components) : children));
|
|
40
41
|
};
|
|
41
|
-
IconCard.defaultProps = {
|
|
42
|
-
element: 'a'
|
|
43
|
-
};
|
|
44
42
|
IconCard.propTypes = {
|
|
45
43
|
className: _propTypes.string,
|
|
46
44
|
/** Element of icon */
|
|
@@ -15,12 +15,13 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
16
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
17
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
18
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
18
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
19
19
|
var ImageCard = function ImageCard(props) {
|
|
20
20
|
var className = props.className,
|
|
21
21
|
imageSrc = props.imageSrc,
|
|
22
22
|
imageAltText = props.imageAltText,
|
|
23
|
-
|
|
23
|
+
_props$element = props.element,
|
|
24
|
+
Element = _props$element === void 0 ? 'a' : _props$element,
|
|
24
25
|
children = props.children,
|
|
25
26
|
rest = _objectWithoutProperties(props, _excluded);
|
|
26
27
|
return /*#__PURE__*/_react.default.createElement(Element, _extends({
|
|
@@ -37,9 +38,6 @@ var ImageCard = function ImageCard(props) {
|
|
|
37
38
|
className: "ffe-image-card__body"
|
|
38
39
|
}, typeof children === 'function' ? children(components) : children));
|
|
39
40
|
};
|
|
40
|
-
ImageCard.defaultProps = {
|
|
41
|
-
element: 'a'
|
|
42
|
-
};
|
|
43
41
|
ImageCard.propTypes = {
|
|
44
42
|
className: _propTypes.string,
|
|
45
43
|
/** The src for the image */
|
|
@@ -12,10 +12,11 @@ var _excluded = ["className", "element", "children", "img", "condensed"];
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
var StippledCard = function StippledCard(_ref) {
|
|
17
17
|
var className = _ref.className,
|
|
18
|
-
|
|
18
|
+
_ref$element = _ref.element,
|
|
19
|
+
Element = _ref$element === void 0 ? 'a' : _ref$element,
|
|
19
20
|
children = _ref.children,
|
|
20
21
|
img = _ref.img,
|
|
21
22
|
condensed = _ref.condensed,
|
|
@@ -36,9 +37,6 @@ var StippledCard = function StippledCard(_ref) {
|
|
|
36
37
|
Subtext: _components.Subtext
|
|
37
38
|
}) : children));
|
|
38
39
|
};
|
|
39
|
-
StippledCard.defaultProps = {
|
|
40
|
-
element: 'a'
|
|
41
|
-
};
|
|
42
40
|
StippledCard.propTypes = {
|
|
43
41
|
className: _propTypes.string,
|
|
44
42
|
/** The element to render the card as */
|
package/lib/TextCard/TextCard.js
CHANGED
|
@@ -15,11 +15,12 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
16
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
17
17
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
18
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
18
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
19
19
|
var TextCard = function TextCard(props) {
|
|
20
20
|
var className = props.className,
|
|
21
21
|
leftAlign = props.leftAlign,
|
|
22
|
-
|
|
22
|
+
_props$element = props.element,
|
|
23
|
+
Element = _props$element === void 0 ? 'a' : _props$element,
|
|
23
24
|
children = props.children,
|
|
24
25
|
rest = _objectWithoutProperties(props, _excluded);
|
|
25
26
|
return /*#__PURE__*/_react.default.createElement(Element, _extends({
|
|
@@ -12,7 +12,7 @@ var _excluded = ["className"];
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
var CardName = function CardName(_ref) {
|
|
17
17
|
var className = _ref.className,
|
|
18
18
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -11,18 +11,16 @@ var _excluded = ["className", "element"];
|
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
13
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
14
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
14
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
15
15
|
var ComponentBase = function ComponentBase(_ref) {
|
|
16
16
|
var className = _ref.className,
|
|
17
|
-
|
|
17
|
+
_ref$element = _ref.element,
|
|
18
|
+
Element = _ref$element === void 0 ? 'p' : _ref$element,
|
|
18
19
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
19
20
|
return /*#__PURE__*/_react.default.createElement(Element, _extends({
|
|
20
21
|
className: (0, _classnames.default)(className)
|
|
21
22
|
}, rest));
|
|
22
23
|
};
|
|
23
|
-
ComponentBase.defaultProps = {
|
|
24
|
-
element: 'p'
|
|
25
|
-
};
|
|
26
24
|
ComponentBase.propTypes = {
|
|
27
25
|
className: _propTypes.string,
|
|
28
26
|
element: (0, _propTypes.oneOfType)([_propTypes.func, _propTypes.string, _propTypes.elementType]),
|
|
@@ -12,7 +12,7 @@ var _excluded = ["className"];
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
var Subtext = function Subtext(_ref) {
|
|
17
17
|
var className = _ref.className,
|
|
18
18
|
rest = _objectWithoutProperties(_ref, _excluded);
|
package/lib/components/Text.js
CHANGED
|
@@ -12,7 +12,7 @@ var _excluded = ["className"];
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
var Text = function Text(_ref) {
|
|
17
17
|
var className = _ref.className,
|
|
18
18
|
rest = _objectWithoutProperties(_ref, _excluded);
|
package/lib/components/Title.js
CHANGED
|
@@ -12,10 +12,11 @@ var _excluded = ["className", "overflowEllipsis"];
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
14
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var
|
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
16
16
|
var Title = function Title(_ref) {
|
|
17
17
|
var className = _ref.className,
|
|
18
|
-
overflowEllipsis = _ref.overflowEllipsis,
|
|
18
|
+
_ref$overflowEllipsis = _ref.overflowEllipsis,
|
|
19
|
+
overflowEllipsis = _ref$overflowEllipsis === void 0 ? false : _ref$overflowEllipsis,
|
|
19
20
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
20
21
|
return /*#__PURE__*/_react.default.createElement(_ComponentBase.default, _extends({
|
|
21
22
|
className: (0, _classnames.default)('ffe-card-body__title', {
|
|
@@ -23,9 +24,6 @@ var Title = function Title(_ref) {
|
|
|
23
24
|
}, className)
|
|
24
25
|
}, rest));
|
|
25
26
|
};
|
|
26
|
-
Title.defaultProps = {
|
|
27
|
-
overflowEllipsis: false
|
|
28
|
-
};
|
|
29
27
|
Title.propTypes = {
|
|
30
28
|
className: _propTypes.string,
|
|
31
29
|
/** Disable wrapping and hide overflow with ellipsis */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-cards-react",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.22",
|
|
4
4
|
"description": "React implementation of ffe-react",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -21,16 +21,17 @@
|
|
|
21
21
|
"build": "ffe-buildtool babel",
|
|
22
22
|
"watch": "ffe-buildtool babel-watch",
|
|
23
23
|
"lint": "eslint src",
|
|
24
|
+
"lint:fix": "eslint src --fix",
|
|
24
25
|
"test": "ffe-buildtool jest",
|
|
25
26
|
"test:watch": "ffe-buildtool jest --watch"
|
|
26
27
|
},
|
|
27
28
|
"dependencies": {
|
|
28
|
-
"@sb1/ffe-cards": "^17.0.
|
|
29
|
+
"@sb1/ffe-cards": "^17.0.13",
|
|
29
30
|
"prop-types": "^15.7.2"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
|
-
"@sb1/ffe-buildtool": "^0.5.
|
|
33
|
-
"@sb1/ffe-icons-react": "^9.0.
|
|
33
|
+
"@sb1/ffe-buildtool": "^0.5.2",
|
|
34
|
+
"@sb1/ffe-icons-react": "^9.0.9",
|
|
34
35
|
"react": "^16.9.0",
|
|
35
36
|
"react-dom": "^16.9.0"
|
|
36
37
|
},
|
|
@@ -40,5 +41,5 @@
|
|
|
40
41
|
"publishConfig": {
|
|
41
42
|
"access": "public"
|
|
42
43
|
},
|
|
43
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "c2e7c509b580bc205ca92d91b7e2e2c0503a0087"
|
|
44
45
|
}
|