@react-ui-org/react-ui 0.44.0-alpha.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lib.development.js +6 -6
- package/dist/lib.js +1 -1
- package/package.json +1 -1
- package/src/lib/components/CTA/CTA.jsx +1 -4
- package/src/lib/components/Card/Card.jsx +1 -4
- package/src/lib/components/FormLayout/FormLayout.jsx +1 -4
- package/src/lib/components/Media/Media.jsx +1 -4
- package/src/lib/components/Tabs/Tabs.jsx +1 -4
package/package.json
CHANGED
@@ -52,10 +52,7 @@ CTA.propTypes = {
|
|
52
52
|
* * `CTACenter`
|
53
53
|
* * `CTAEnd`
|
54
54
|
*/
|
55
|
-
children: PropTypes.
|
56
|
-
PropTypes.element,
|
57
|
-
PropTypes.arrayOf(PropTypes.element),
|
58
|
-
]).isRequired,
|
55
|
+
children: PropTypes.node.isRequired,
|
59
56
|
};
|
60
57
|
|
61
58
|
export const CTAWithContext = withProviderContext(CTA, 'CTA');
|
@@ -41,10 +41,7 @@ Card.propTypes = {
|
|
41
41
|
* * `CardFooter`
|
42
42
|
* * `ScrollView`
|
43
43
|
*/
|
44
|
-
children: PropTypes.
|
45
|
-
PropTypes.element,
|
46
|
-
PropTypes.arrayOf(PropTypes.element),
|
47
|
-
]).isRequired,
|
44
|
+
children: PropTypes.node.isRequired,
|
48
45
|
/**
|
49
46
|
* [Color variant](/foundation/colors#component-colors) to clarify importance and meaning of the card.
|
50
47
|
*/
|
@@ -89,10 +89,7 @@ FormLayout.propTypes = {
|
|
89
89
|
* * `TextField`
|
90
90
|
* * `Toggle`
|
91
91
|
*/
|
92
|
-
children: PropTypes.
|
93
|
-
PropTypes.element,
|
94
|
-
PropTypes.arrayOf(PropTypes.element),
|
95
|
-
]),
|
92
|
+
children: PropTypes.node,
|
96
93
|
/**
|
97
94
|
* Layout that is forced on children form fields.
|
98
95
|
*/
|
@@ -21,10 +21,7 @@ Media.propTypes = {
|
|
21
21
|
* * `MediaBody`
|
22
22
|
* * `MediaObject`
|
23
23
|
*/
|
24
|
-
children: PropTypes.
|
25
|
-
PropTypes.element,
|
26
|
-
PropTypes.arrayOf(PropTypes.element),
|
27
|
-
]).isRequired,
|
24
|
+
children: PropTypes.node.isRequired,
|
28
25
|
};
|
29
26
|
|
30
27
|
export const MediaWithContext = withProviderContext(Media, 'Media');
|
@@ -26,10 +26,7 @@ Tabs.propTypes = {
|
|
26
26
|
/**
|
27
27
|
* Nested `TabsItem` elements.
|
28
28
|
*/
|
29
|
-
children: PropTypes.
|
30
|
-
PropTypes.element,
|
31
|
-
PropTypes.arrayOf(PropTypes.element),
|
32
|
-
]),
|
29
|
+
children: PropTypes.node,
|
33
30
|
/**
|
34
31
|
* ID of the root HTML element. It also serves as base for nested element:
|
35
32
|
* * `<ID>__list`
|