sinking-antd 1.0.0 → 1.0.2
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/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -4
package/dist/index.js
CHANGED
|
@@ -510,7 +510,7 @@ var Body = React__default.default.memo((props) => {
|
|
|
510
510
|
animation = true
|
|
511
511
|
} = props;
|
|
512
512
|
const { styles: { body, load, gutter }, cx } = useStyles3();
|
|
513
|
-
return /* @__PURE__ */ jsxRuntime.jsx(antd.App, { children: loading ? /* @__PURE__ */ jsxRuntime.jsx(antd.Spin, { spinning: true, size: "large", className: load }) : /* @__PURE__ */ jsxRuntime.jsx(antd.Layout, { style, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx("ant-layout-body", className || body), children: /* @__PURE__ */ jsxRuntime.jsx(animation_default, { animate: animation ? Animate.FadeUp : Animate.None, children: space ? /* @__PURE__ */ jsxRuntime.jsx(antd.Space, {
|
|
513
|
+
return /* @__PURE__ */ jsxRuntime.jsx(antd.App, { children: loading ? /* @__PURE__ */ jsxRuntime.jsx(antd.Spin, { spinning: true, size: "large", className: load }) : /* @__PURE__ */ jsxRuntime.jsx(antd.Layout, { style, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx("ant-layout-body", className || body), children: /* @__PURE__ */ jsxRuntime.jsx(animation_default, { animate: animation ? Animate.FadeUp : Animate.None, children: space ? /* @__PURE__ */ jsxRuntime.jsx(antd.Space, { orientation: "vertical", size: "middle", className: gutter, children }) : children }) }) }) });
|
|
514
514
|
});
|
|
515
515
|
var body_default = Body;
|
|
516
516
|
var Footer = React__default.default.memo(({ children }) => {
|
|
@@ -612,7 +612,9 @@ var useStyles5 = antdStyle.createStyles(({ token, isDarkMode }) => {
|
|
|
612
612
|
transition: "background 0.3s !important",
|
|
613
613
|
display: "flex",
|
|
614
614
|
justifyContent: "center",
|
|
615
|
-
alignItems: "center"
|
|
615
|
+
alignItems: "center",
|
|
616
|
+
flexWrap: "nowrap",
|
|
617
|
+
whiteSpace: "nowrap"
|
|
616
618
|
},
|
|
617
619
|
logoClose: {
|
|
618
620
|
margin: "0px -10px"
|
|
@@ -1635,7 +1637,7 @@ var ProTableComponent = React.forwardRef((props, ref) => {
|
|
|
1635
1637
|
antd.Tag,
|
|
1636
1638
|
{
|
|
1637
1639
|
color: colorMap[color] || color || "default",
|
|
1638
|
-
|
|
1640
|
+
variant: "filled",
|
|
1639
1641
|
...props2,
|
|
1640
1642
|
children: label
|
|
1641
1643
|
}
|