@dhis2-ui/card 9.11.3 → 9.12.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,10 +34,20 @@ var _default = exports.default = {
|
|
34
34
|
component: description
|
35
35
|
}
|
36
36
|
}
|
37
|
+
},
|
38
|
+
argTypes: {
|
39
|
+
children: {
|
40
|
+
control: {
|
41
|
+
type: 'text'
|
42
|
+
}
|
43
|
+
}
|
37
44
|
}
|
38
45
|
};
|
39
46
|
const Default = args => /*#__PURE__*/_react.default.createElement(_box.Box, {
|
40
|
-
width: "
|
41
|
-
height: "
|
47
|
+
width: "200px",
|
48
|
+
height: "75px"
|
42
49
|
}, /*#__PURE__*/_react.default.createElement(_card.Card, args));
|
43
|
-
exports.Default = Default;
|
50
|
+
exports.Default = Default;
|
51
|
+
Default.args = {
|
52
|
+
children: 'Card content'
|
53
|
+
};
|
@@ -27,9 +27,19 @@ export default {
|
|
27
27
|
component: description
|
28
28
|
}
|
29
29
|
}
|
30
|
+
},
|
31
|
+
argTypes: {
|
32
|
+
children: {
|
33
|
+
control: {
|
34
|
+
type: 'text'
|
35
|
+
}
|
36
|
+
}
|
30
37
|
}
|
31
38
|
};
|
32
39
|
export const Default = args => /*#__PURE__*/React.createElement(Box, {
|
33
|
-
width: "
|
34
|
-
height: "
|
35
|
-
}, /*#__PURE__*/React.createElement(Card, args));
|
40
|
+
width: "200px",
|
41
|
+
height: "75px"
|
42
|
+
}, /*#__PURE__*/React.createElement(Card, args));
|
43
|
+
Default.args = {
|
44
|
+
children: 'Card content'
|
45
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dhis2-ui/card",
|
3
|
-
"version": "9.
|
3
|
+
"version": "9.12.0-alpha.1",
|
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.
|
36
|
+
"@dhis2/ui-constants": "9.12.0-alpha.1",
|
37
37
|
"classnames": "^2.3.1",
|
38
38
|
"prop-types": "^15.7.2"
|
39
39
|
},
|