@refinedev/antd 5.36.18 → 5.37.0
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/CHANGELOG.md +25 -0
- package/README.md +15 -29
- package/dist/components/autoSaveIndicator/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/iife/index.js +30 -49
- package/dist/iife/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/autoSaveIndicator/index.tsx +58 -26
- package/src/components/pages/auth/components/forgotPassword/index.tsx +4 -3
- package/src/components/pages/auth/components/login/index.tsx +121 -103
- package/src/components/pages/auth/components/register/index.tsx +129 -93
- package/src/components/pages/auth/components/updatePassword/index.tsx +4 -3
- package/src/components/undoableNotification/index.tsx +1 -1
- package/src/hooks/import/index.tsx +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# @refinedev/antd
|
2
2
|
|
3
|
+
## 5.37.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#5307](https://github.com/refinedev/refine/pull/5307) [`f8e407f850`](https://github.com/refinedev/refine/commit/f8e407f85054bccf1e6ff45c84928bc01db7f5eb) Thanks [@jackprogramsjp](https://github.com/jackprogramsjp)! - feat: added `hideForm` props for `LoginPage` and `RegisterPage` for `AuthPage` feature.
|
8
|
+
|
9
|
+
Now with the `hideForm` props feature, you can be able to hide the forms (like email/password)
|
10
|
+
to only show the OAuth providers. This avoids having to make your own entire AuthPage.
|
11
|
+
|
12
|
+
### Patch Changes
|
13
|
+
|
14
|
+
- [#5207](https://github.com/refinedev/refine/pull/5207) [`30a2834a81`](https://github.com/refinedev/refine/commit/30a2834a819ef857506b5c932500868e458fd319) Thanks [@mjomble](https://github.com/mjomble)! - chore: updated deprecated use of antd Progress
|
15
|
+
|
16
|
+
- [#5269](https://github.com/refinedev/refine/pull/5269) [`a23a0945d3`](https://github.com/refinedev/refine/commit/a23a0945d3fe003ae081fca1c47312dd6bf8c2ee) Thanks [@BatuhanW](https://github.com/BatuhanW)! - feat: add "autoComplete" field for Login pages.
|
17
|
+
|
18
|
+
- [#5325](https://github.com/refinedev/refine/pull/5325) [`7ff54b2060`](https://github.com/refinedev/refine/commit/7ff54b2060b0ce942c4170f744cbdf52d0940434) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - fix: `<AuthPage />` styling issues on mobile screens.
|
19
|
+
|
20
|
+
chore: new tests are added to `<AuthPage />`.
|
21
|
+
|
22
|
+
## 5.36.19
|
23
|
+
|
24
|
+
### Patch Changes
|
25
|
+
|
26
|
+
- [#5259](https://github.com/refinedev/refine/pull/5259) [`eac3df87ffb`](https://github.com/refinedev/refine/commit/eac3df87ffbf61c913a6c8ea584e1d8c61e8d82e) Thanks [@aliemir](https://github.com/aliemir)! - Updated `<AutoSaveIndicator />` component to extend the `<AutoSaveIndicator />` from `@refinedev/core` with custom elements and render appropriate element based on the state.
|
27
|
+
|
3
28
|
## 5.36.18
|
4
29
|
|
5
30
|
### Patch Changes
|
package/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<div align="center" style="margin: 30px;">
|
2
2
|
<a href="https://refine.dev">
|
3
|
-
<img src="https://refine.ams3.cdn.digitaloceanspaces.com/
|
3
|
+
<img alt="refine logo" src="https://refine.ams3.cdn.digitaloceanspaces.com/readme/refine-readme-banner.png">
|
4
4
|
</a>
|
5
5
|
</div>
|
6
6
|
|
@@ -9,50 +9,37 @@
|
|
9
9
|
<div align="center">
|
10
10
|
<a href="https://refine.dev">Home Page</a> |
|
11
11
|
<a href="https://discord.gg/refine">Discord</a> |
|
12
|
-
<a href="https://refine.dev/examples/">Examples</a> |
|
13
|
-
<a href="https://refine.dev/blog/">Blog</a> |
|
12
|
+
<a href="https://refine.dev/examples/">Examples</a> |
|
13
|
+
<a href="https://refine.dev/blog/">Blog</a> |
|
14
14
|
<a href="https://refine.dev/docs/">Documentation</a>
|
15
15
|
|
16
|
-
<br/>
|
16
|
+
<br/>
|
17
17
|
<br/>
|
18
18
|
|
19
19
|
[](https://discord.gg/refine)
|
20
20
|
[](https://twitter.com/refine_dev)
|
21
21
|
|
22
|
-
|
23
22
|
<a href="https://www.producthunt.com/posts/refine-3?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-refine-3" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=362220&theme=light&period=daily" alt="refine - 100% open source React framework to build web apps 3x faster | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
24
23
|
|
25
24
|
</div>
|
26
25
|
|
27
|
-
|
28
26
|
<br/>
|
29
27
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
28
|
<div align="center">refine is an open-source, headless React framework for developers building enterprise internal tools, admin panels, dashboards, B2B applications.
|
36
29
|
|
37
30
|
<br/>
|
38
31
|
|
39
|
-
It eliminates repetitive tasks in CRUD operations and provides industry-standard solutions for critical project components like **authentication**, **access control**, **routing**, **networking**, **state management**, and **i18n**.
|
32
|
+
It eliminates repetitive tasks in CRUD operations and provides industry-standard solutions for critical project components like **authentication**, **access control**, **routing**, **networking**, **state management**, and **i18n**.
|
40
33
|
|
41
34
|
</div>
|
42
35
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
36
|
# Ant Design integration for refine
|
47
37
|
|
48
|
-
[Ant Design](https://ant.design/) is a React.js UI library that contains easy-to-use components that are useful for building interactive user interfaces.
|
38
|
+
[Ant Design](https://ant.design/) is a React.js UI library that contains easy-to-use components that are useful for building interactive user interfaces.
|
49
39
|
|
50
40
|
[refine](https://refine.dev/) is **headless by design**, offering unlimited styling and customization options. Moreover, refine ships with ready-made integrations for [Ant Design](https://ant.design/), [Material UI](https://mui.com/material-ui/getting-started/overview/), [Mantine](https://mantine.dev/), and [Chakra UI](https://chakra-ui.com/) for convenience.
|
51
41
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
42
|
+
refine has connectors for 15+ backend services, including REST API, [GraphQL](https://graphql.org/), and popular services like [Airtable](https://www.airtable.com/), [Strapi](https://strapi.io/), [Supabase](https://supabase.com/), [Firebase](https://firebase.google.com/), and [NestJS](https://nestjs.com/).
|
56
43
|
|
57
44
|
## Installation & Usage
|
58
45
|
|
@@ -60,20 +47,19 @@ It eliminates repetitive tasks in CRUD operations and provides industry-standard
|
|
60
47
|
npm install @refinedev/antd antd
|
61
48
|
```
|
62
49
|
|
63
|
-
|
64
50
|
```tsx
|
65
51
|
import { ThemedLayoutV2 } from "@refinedev/antd";
|
66
52
|
|
67
53
|
import "@refinedev/antd/dist/reset.css";
|
68
54
|
|
69
55
|
const App = () => {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
56
|
+
return (
|
57
|
+
<Refine
|
58
|
+
/* ... */
|
59
|
+
>
|
60
|
+
<ThemedLayoutV2>{/* ... */}</ThemedLayoutV2>
|
61
|
+
</Refine>
|
62
|
+
);
|
77
63
|
};
|
78
64
|
```
|
79
65
|
|
@@ -82,4 +68,4 @@ const App = () => {
|
|
82
68
|
- For more detailed information and usage, refer to the [refine Ant Design documentation](https://refine.dev/docs/api-reference/antd/).
|
83
69
|
- [Refer to complete refine tutorial with Ant Design](https://refine.dev/docs/tutorial/introduction/select-framework/)
|
84
70
|
- [Refer to documentation for more info about refine](https://refine.dev/docs/).
|
85
|
-
- [Step up to refine tutorials](https://refine.dev/docs/tutorial/introduction/index/).
|
71
|
+
- [Step up to refine tutorials](https://refine.dev/docs/tutorial/introduction/index/).
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autoSaveIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autoSaveIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,sBAAsB,EAGzB,MAAM,iBAAiB,CAAC;AASzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA4C9D,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/forgotPassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,uBAAuB,EAI1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAEZ,MAAM,MAAM,CAAC;AAgBd,aAAK,iBAAiB,GAAG,uBAAuB,CAC5C,WAAW,EACX,SAAS,EACT,SAAS,CACZ,CAAC;AAKF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/forgotPassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,uBAAuB,EAI1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAEZ,MAAM,MAAM,CAAC;AAgBd,aAAK,iBAAiB,GAAG,uBAAuB,CAC5C,WAAW,EACX,SAAS,EACT,SAAS,CACZ,CAAC;AAKF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAoK1D,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,cAAc,EAKjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAUH,SAAS,EACT,WAAW,EAEX,SAAS,EAEZ,MAAM,MAAM,CAAC;AAed,aAAK,UAAU,GAAG,cAAc,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AACpE;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,cAAc,EAKjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAUH,SAAS,EACT,WAAW,EAEX,SAAS,EAEZ,MAAM,MAAM,CAAC;AAed,aAAK,UAAU,GAAG,cAAc,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AACpE;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAwQ1C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/register/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,iBAAiB,EAKpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAGZ,MAAM,MAAM,CAAC;AAed,aAAK,aAAa,GAAG,iBAAiB,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAC1E;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/register/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,iBAAiB,EAKpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAGZ,MAAM,MAAM,CAAC;AAed,aAAK,aAAa,GAAG,iBAAiB,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAC1E;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA+PhD,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/updatePassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,uBAAuB,EAG1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAEZ,MAAM,MAAM,CAAC;AAed,aAAK,mBAAmB,GAAG,uBAAuB,CAC9C,WAAW,EACX,SAAS,EACT,SAAS,CACZ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/updatePassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,uBAAuB,EAG1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAEZ,MAAM,MAAM,CAAC;AAed,aAAK,mBAAmB,GAAG,uBAAuB,CAC9C,WAAW,EACX,SAAS,EACT,SAAS,CACZ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8J5D,CAAC"}
|