ding-react-admin 1.0.0 → 1.0.1
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/README.md
CHANGED
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
# ding-react-admin
|
|
2
2
|
|
|
3
|
+
**npm:** [`ding-react-admin`](https://www.npmjs.com/package/ding-react-admin)
|
|
4
|
+
|
|
3
5
|
**Live demo:** [playground on GitHub Pages](https://muhammadinaam.github.io/ding-react-admin/) (login: `admin` / `admin` or `user` / `user`)
|
|
4
6
|
|
|
7
|
+
**Tutorial:** [Build an admin app and add a Users page](docs/tutorial-one-entity.md) — step-by-step from `yarn create vite` through CRUD and routes.
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
yarn add ding-react-admin antd @ant-design/icons dayjs react-hook-form react-router-dom
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Install details and peer versions: [docs/install.md](docs/install.md).
|
|
14
|
+
|
|
5
15
|
Composable admin shell for React apps: **Ant Design 6** layout, **CRUD field system** (lists, forms, filters, inlines, bulk actions), **theme/density** controls, **`AuthProvider`** + **`useAuth`**, **data / permissions providers** (react-admin–style naming, intentionally small), and **React Router** helpers.
|
|
6
16
|
|
|
17
|
+
## Screenshots
|
|
18
|
+
|
|
19
|
+
From the [playground demo](https://muhammadinaam.github.io/ding-react-admin/):
|
|
20
|
+
|
|
21
|
+
| List with filters | Tabbed form page |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
|  |  |
|
|
24
|
+
|
|
25
|
+
| Stepped modal form | Login |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
|  |  |
|
|
28
|
+
|
|
7
29
|
## Providers (manual composition)
|
|
8
30
|
|
|
9
31
|
Nothing is wired automatically except theme inside `<AdminApp />`. Wrap providers yourself:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ding-react-admin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Composable admin shell (Ant Design + React Router): quick-start AdminApp or build your own layout.",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"dist",
|
|
22
|
-
"src"
|
|
22
|
+
"src",
|
|
23
|
+
"docs/assets"
|
|
23
24
|
],
|
|
24
25
|
"scripts": {
|
|
25
26
|
"build": "vite build && node -e \"require('fs').writeFileSync('dist/index.d.ts','export * from \\\"./src/index\\\";\\n')\"",
|