@blocklet/ui-react 2.4.45 → 2.4.47
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.
|
@@ -130,12 +130,13 @@ function InternalFooter(props) {
|
|
|
130
130
|
throw new Error("layout ".concat(layout, " is not supported."));
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Box.default, {
|
|
134
|
-
position: "relative"
|
|
135
|
-
|
|
133
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Box.default, _objectSpread(_objectSpread({
|
|
134
|
+
position: "relative"
|
|
135
|
+
}, rest), {}, {
|
|
136
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(LayoutComponent, {
|
|
136
137
|
elements: elements,
|
|
137
138
|
data: props
|
|
138
|
-
}
|
|
139
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Box.default, {
|
|
139
140
|
position: "absolute",
|
|
140
141
|
right: 16,
|
|
141
142
|
bottom: 0,
|
|
@@ -149,7 +150,7 @@ function InternalFooter(props) {
|
|
|
149
150
|
},
|
|
150
151
|
children: (_window = window) === null || _window === void 0 ? void 0 : (_window$blocklet = _window.blocklet) === null || _window$blocklet === void 0 ? void 0 : _window$blocklet.version
|
|
151
152
|
})]
|
|
152
|
-
});
|
|
153
|
+
}));
|
|
153
154
|
}
|
|
154
155
|
|
|
155
156
|
InternalFooter.propTypes = {
|
|
@@ -74,6 +74,6 @@ PlainLayout.propTypes = {
|
|
|
74
74
|
}).isRequired,
|
|
75
75
|
data: _propTypes.default.object.isRequired
|
|
76
76
|
};
|
|
77
|
-
const Root = (0, _Theme.styled)('div')(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 24px 0;\n
|
|
77
|
+
const Root = (0, _Theme.styled)('div')(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: 24px 0;\n .plain-layout-container {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n gap: 8px;\n }\n"])));
|
|
78
78
|
var _default = PlainLayout;
|
|
79
79
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/ui-react",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.47",
|
|
4
4
|
"description": "Some useful front-end web components that can be used in Blocklets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"url": "https://github.com/ArcBlock/ux/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@arcblock/did-connect": "^2.4.
|
|
34
|
-
"@arcblock/ux": "^2.4.
|
|
33
|
+
"@arcblock/did-connect": "^2.4.47",
|
|
34
|
+
"@arcblock/ux": "^2.4.47",
|
|
35
35
|
"@emotion/react": "^11.10.4",
|
|
36
36
|
"@emotion/styled": "^11.10.4",
|
|
37
37
|
"@iconify/iconify": "^2.2.1",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
54
54
|
"jest": "^28.1.3"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "55b58c6300a6c7d5e31295b6d27255c41732340b"
|
|
57
57
|
}
|
|
@@ -67,8 +67,8 @@ function InternalFooter(props) {
|
|
|
67
67
|
throw new Error(`layout ${layout} is not supported.`);
|
|
68
68
|
}
|
|
69
69
|
return (
|
|
70
|
-
<Box position="relative">
|
|
71
|
-
<LayoutComponent elements={elements} data={props}
|
|
70
|
+
<Box position="relative" {...rest}>
|
|
71
|
+
<LayoutComponent elements={elements} data={props} />
|
|
72
72
|
<Box
|
|
73
73
|
position="absolute"
|
|
74
74
|
right={16}
|