@refinedev/antd 5.3.1 → 5.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinedev/antd",
3
- "version": "5.3.1",
3
+ "version": "5.3.3",
4
4
  "description": "refine is a React-based framework for building internal tools, rapidly. It ships with Ant Design System, an enterprise-level UI toolkit.",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "devDependencies": {
26
26
  "@refinedev/cli": "^2.1.0",
27
27
  "@refinedev/ui-tests": "^1.3.0",
28
- "@refinedev/core": "^4.5.1",
28
+ "@refinedev/core": "^4.5.2",
29
29
  "@esbuild-plugins/node-resolve": "^0.1.4",
30
30
  "@testing-library/jest-dom": "^5.16.4",
31
31
  "@testing-library/react": "^13.1.1",
@@ -24,7 +24,7 @@ export const NumberField: React.FC<NumberFieldProps> = ({
24
24
  options,
25
25
  ...rest
26
26
  }) => {
27
- const number = parseFloat(value.toString());
27
+ const number = Number(value);
28
28
 
29
29
  return (
30
30
  <Text {...rest}>
@@ -75,6 +75,7 @@ export const ForgotPasswordPage: React.FC<ResetPassworProps> = ({
75
75
  display: "flex",
76
76
  justifyContent: "center",
77
77
  marginBottom: "32px",
78
+ fontSize: "20px",
78
79
  }}
79
80
  >
80
81
  {title ?? <ThemedTitle collapsed={false} />}
@@ -74,6 +74,7 @@ export const LoginPage: React.FC<LoginProps> = ({
74
74
  display: "flex",
75
75
  justifyContent: "center",
76
76
  marginBottom: "32px",
77
+ fontSize: "20px",
77
78
  }}
78
79
  >
79
80
  {title ?? <ThemedTitle collapsed={false} />}
@@ -71,6 +71,7 @@ export const RegisterPage: React.FC<RegisterProps> = ({
71
71
  display: "flex",
72
72
  justifyContent: "center",
73
73
  marginBottom: "32px",
74
+ fontSize: "20px",
74
75
  }}
75
76
  >
76
77
  {title ?? <ThemedTitle collapsed={false} />}
@@ -66,6 +66,7 @@ export const UpdatePasswordPage: React.FC<UpdatePasswordProps> = ({
66
66
  display: "flex",
67
67
  justifyContent: "center",
68
68
  marginBottom: "32px",
69
+ fontSize: "20px",
69
70
  }}
70
71
  >
71
72
  {title ?? <ThemedTitle collapsed={false} />}
@@ -286,6 +286,7 @@ export const ThemedSider: React.FC<RefineThemedLayoutSiderProps> = ({
286
286
  alignItems: "center",
287
287
  height: "64px",
288
288
  backgroundColor: token.colorBgElevated,
289
+ fontSize: "14px",
289
290
  }}
290
291
  >
291
292
  <RenderToTitle collapsed={collapsed} />
@@ -67,7 +67,7 @@ export const ThemedTitle: React.FC<RefineLayoutThemedTitleProps> = ({
67
67
  {!collapsed && (
68
68
  <Typography.Title
69
69
  style={{
70
- fontSize: "14px",
70
+ fontSize: "inherit",
71
71
  marginBottom: 0,
72
72
  fontWeight: 700,
73
73
  }}