@dhis2-ui/card 9.11.4 → 9.11.6
Sign up to get free protection for your applications and to get access to all the features.
- package/build/cjs/card.js +1 -4
- package/build/es/card.js +1 -4
- package/package.json +2 -2
package/build/cjs/card.js
CHANGED
@@ -14,7 +14,7 @@ const Card = _ref => {
|
|
14
14
|
let {
|
15
15
|
className,
|
16
16
|
children,
|
17
|
-
dataTest
|
17
|
+
dataTest = 'dhis2-uicore-card'
|
18
18
|
} = _ref;
|
19
19
|
return /*#__PURE__*/_react.default.createElement("div", {
|
20
20
|
"data-test": dataTest,
|
@@ -25,9 +25,6 @@ const Card = _ref => {
|
|
25
25
|
}, [`div.__jsx-style-dynamic-selector{display:inline-block;position:relative;width:100%;height:100%;border-radius:3px;background:${_uiConstants.colors.white};box-shadow:${_uiConstants.elevations.e100};}`]));
|
26
26
|
};
|
27
27
|
exports.Card = Card;
|
28
|
-
Card.defaultProps = {
|
29
|
-
dataTest: 'dhis2-uicore-card'
|
30
|
-
};
|
31
28
|
Card.propTypes = {
|
32
29
|
children: _propTypes.default.node,
|
33
30
|
className: _propTypes.default.string,
|
package/build/es/card.js
CHANGED
@@ -7,7 +7,7 @@ const Card = _ref => {
|
|
7
7
|
let {
|
8
8
|
className,
|
9
9
|
children,
|
10
|
-
dataTest
|
10
|
+
dataTest = 'dhis2-uicore-card'
|
11
11
|
} = _ref;
|
12
12
|
return /*#__PURE__*/React.createElement("div", {
|
13
13
|
"data-test": dataTest,
|
@@ -17,9 +17,6 @@ const Card = _ref => {
|
|
17
17
|
dynamic: [colors.white, elevations.e100]
|
18
18
|
}, [`div.__jsx-style-dynamic-selector{display:inline-block;position:relative;width:100%;height:100%;border-radius:3px;background:${colors.white};box-shadow:${elevations.e100};}`]));
|
19
19
|
};
|
20
|
-
Card.defaultProps = {
|
21
|
-
dataTest: 'dhis2-uicore-card'
|
22
|
-
};
|
23
20
|
Card.propTypes = {
|
24
21
|
children: PropTypes.node,
|
25
22
|
className: PropTypes.string,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dhis2-ui/card",
|
3
|
-
"version": "9.11.
|
3
|
+
"version": "9.11.6",
|
4
4
|
"description": "UI Card",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -33,7 +33,7 @@
|
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
35
|
"@dhis2/prop-types": "^3.1.2",
|
36
|
-
"@dhis2/ui-constants": "9.11.
|
36
|
+
"@dhis2/ui-constants": "9.11.6",
|
37
37
|
"classnames": "^2.3.1",
|
38
38
|
"prop-types": "^15.7.2"
|
39
39
|
},
|