@cfast/admin 0.1.0 → 0.2.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/README.md CHANGED
@@ -23,7 +23,7 @@ This means:
23
23
  - **Permission-aware by default.** The admin panel uses `@cfast/db` under the hood. Admins see everything. Moderators see what moderators see. The admin UI doesn't bypass your permission system — it uses it.
24
24
  - **User management built in.** View users, assign roles, revoke roles, impersonate users. Integrated with `@cfast/auth`.
25
25
  - **Customizable, not locked in.** Override any view, any field, any action. But the default is good enough to ship.
26
- - **UI delegated to `@cfast/ui`.** Admin generates configuration. `@cfast/ui/joy` renders it.
26
+ - **UI delegated to `@cfast/ui`.** Admin generates configuration. `@cfast/joy` renders it.
27
27
 
28
28
  ## API
29
29
 
package/dist/index.js CHANGED
@@ -1432,7 +1432,7 @@ import Input2 from "@mui/joy/Input";
1432
1432
  import Table3 from "@mui/joy/Table";
1433
1433
  import Sheet4 from "@mui/joy/Sheet";
1434
1434
  import Stack4 from "@mui/joy/Stack";
1435
- import { RoleBadge } from "@cfast/ui/joy";
1435
+ import { RoleBadge } from "@cfast/joy";
1436
1436
  import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
1437
1437
  function UserList({
1438
1438
  items,
@@ -1570,7 +1570,7 @@ import Chip2 from "@mui/joy/Chip";
1570
1570
  import Select from "@mui/joy/Select";
1571
1571
  import Option from "@mui/joy/Option";
1572
1572
  import Divider2 from "@mui/joy/Divider";
1573
- import { RoleBadge as RoleBadge2, AvatarWithInitials } from "@cfast/ui/joy";
1573
+ import { RoleBadge as RoleBadge2, AvatarWithInitials } from "@cfast/joy";
1574
1574
  import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
1575
1575
  function UserDetail({
1576
1576
  targetUser,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfast/admin",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Auto-generated admin UI from your Drizzle schema with role management and impersonation",
5
5
  "keywords": [
6
6
  "cfast",
@@ -55,6 +55,7 @@
55
55
  "@cfast/db": "workspace:*",
56
56
  "@cfast/forms": "workspace:*",
57
57
  "@cfast/permissions": "workspace:*",
58
+ "@cfast/joy": "workspace:*",
58
59
  "@cfast/ui": "workspace:*"
59
60
  },
60
61
  "devDependencies": {