@bento-core/paginated-table 1.0.1-CDS.15 → 1.0.1-CDS.16
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/dist/wrapper/Wrapper.js
CHANGED
|
@@ -61,9 +61,11 @@ const Text = _ref2 => {
|
|
|
61
61
|
text,
|
|
62
62
|
clsName,
|
|
63
63
|
tag,
|
|
64
|
+
component = 'span',
|
|
64
65
|
Component
|
|
65
66
|
} = _ref2;
|
|
66
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
67
|
+
return /*#__PURE__*/_react.default.createElement(_core.Box, {
|
|
68
|
+
component: component,
|
|
67
69
|
className: clsName,
|
|
68
70
|
type: tag
|
|
69
71
|
}, text, Component && /*#__PURE__*/_react.default.createElement(Component, null));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bento-core/paginated-table",
|
|
3
|
-
"version": "1.0.1-CDS.
|
|
3
|
+
"version": "1.0.1-CDS.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@bento-core/cart": "^1.0.1-CDS.1",
|
|
17
|
-
"@bento-core/table": "^1.0.1-CDS.
|
|
17
|
+
"@bento-core/table": "^1.0.1-CDS.8",
|
|
18
18
|
"@bento-core/tool-tip": "^1.0.0",
|
|
19
19
|
"@bento-core/util": "^1.0.1-CDS.0"
|
|
20
20
|
},
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
},
|
|
29
29
|
"author": "CTOS Bento Team",
|
|
30
30
|
"license": "ISC",
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "61639923b9c77418e4b96267b0e4e430d0756b55"
|
|
32
32
|
}
|
package/src/wrapper/Wrapper.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import {
|
|
3
|
+
Box,
|
|
3
4
|
Container,
|
|
4
5
|
createTheme,
|
|
5
6
|
Link,
|
|
@@ -41,12 +42,13 @@ const Text = ({
|
|
|
41
42
|
text,
|
|
42
43
|
clsName,
|
|
43
44
|
tag,
|
|
45
|
+
component = 'span',
|
|
44
46
|
Component,
|
|
45
47
|
}) => (
|
|
46
|
-
<
|
|
48
|
+
<Box component={component} className={clsName} type={tag}>
|
|
47
49
|
{text}
|
|
48
50
|
{ Component && <Component /> }
|
|
49
|
-
</
|
|
51
|
+
</Box>
|
|
50
52
|
);
|
|
51
53
|
|
|
52
54
|
/**
|