ding-react-admin 2.0.5 → 2.0.6

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
@@ -6,10 +6,14 @@
6
6
 
7
7
  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.
8
8
 
9
- ## Live demo
9
+ # -> Live demo
10
10
 
11
11
  [![Open playground](https://img.shields.io/badge/Try%20it-playground-1677ff?style=for-the-badge)](https://muhammadinaam.github.io/ding-react-admin/)
12
12
 
13
+ # -> Tutorial
14
+
15
+ [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.
16
+
13
17
  Interactive demo on GitHub Pages — sign in with **`admin` / `admin`** or **`user` / `user`**.
14
18
 
15
19
  ## Installation
@@ -45,10 +49,6 @@ export function App() {
45
49
 
46
50
  For CRUD pages, add `DataProvider` and `PermissionsProvider` — see [Getting started](#getting-started) and [docs/quick-start.md](docs/quick-start.md).
47
51
 
48
- ## Tutorial
49
-
50
- [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.
51
-
52
52
  ## Features
53
53
 
54
54
  - **Declarative CRUD** — describe list and form pages in JSX; field `source` names map to your API
package/dist/index.js CHANGED
@@ -186,6 +186,7 @@ var We = r(function({ children: e, className: t, style: n, variant: r = "default
186
186
  ref: i,
187
187
  className: ["ding-admin-scroll", t].filter(Boolean).join(" "),
188
188
  style: {
189
+ overflow: "auto",
189
190
  ...n,
190
191
  "--ding-scroll-thumb": o,
191
192
  "--ding-scroll-thumb-hover": s
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollableArea.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollableArea.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,kBAAkB,CAAC;AAE1B,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,sDAAsD;IACtD,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,gHAgC1B,CAAC"}
1
+ {"version":3,"file":"ScrollableArea.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollableArea.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,kBAAkB,CAAC;AAE1B,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,sDAAsD;IACtD,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,gHAiC1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ding-react-admin",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
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.",
@@ -33,6 +33,7 @@ export const ScrollableArea = forwardRef<HTMLDivElement, ScrollableAreaProps>(
33
33
  className={["ding-admin-scroll", className].filter(Boolean).join(" ")}
34
34
  style={
35
35
  {
36
+ overflow: "auto",
36
37
  ...style,
37
38
  "--ding-scroll-thumb": thumb,
38
39
  "--ding-scroll-thumb-hover": thumbHover,