@orthacms/users-admin 0.3.0 → 0.4.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/presentation/components/MembersSkeleton/index.tsx"],"names":[],"mappings":"AAiCA;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,IAAQ,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,+BA0BvE;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,IAAQ,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,+BAmEnE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,gCAgClC;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,gCAMvC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/presentation/components/MembersSkeleton/index.tsx"],"names":[],"mappings":"AAiCA;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,IAAQ,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,+BA0BvE;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,IAAQ,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,+BAmEnE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,gCAmClC;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,gCAMvC"}
@@ -49,7 +49,11 @@ export function MembersTableSkeleton({ rows = 5 }) {
49
49
  */
50
50
  export function MembersPageSkeleton() {
51
51
  const intl = useIntl();
52
- return (_jsxs(Container, { children: [_jsx("h1", { className: "sr-only", children: intl.formatMessage(messages.heading) }), _jsxs("div", { className: "mb-6 flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between", children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Skeleton, { className: "h-8 w-40" }), _jsx(Skeleton, { className: "h-4 w-64 max-w-full" })] }), _jsx(Skeleton, { className: "h-9 w-36 shrink-0" })] }), _jsx("div", { className: "mb-4 flex flex-wrap items-center gap-3", children: _jsx(Skeleton, { className: "h-9 w-full sm:max-w-[360px]" }) }), _jsx(MembersTableSkeleton, {})] }));
52
+ return (
53
+ // `aria-busy` marks this as a loading placeholder so the host's route
54
+ // announcer waits past the sr-only "Loading members" heading below and
55
+ // reads the settled page name instead (see `RouteAnnouncer`).
56
+ _jsxs(Container, { "aria-busy": "true", children: [_jsx("h1", { className: "sr-only", children: intl.formatMessage(messages.heading) }), _jsxs("div", { className: "mb-6 flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between", children: [_jsxs("div", { className: "flex flex-col gap-2", children: [_jsx(Skeleton, { className: "h-8 w-40" }), _jsx(Skeleton, { className: "h-4 w-64 max-w-full" })] }), _jsx(Skeleton, { className: "h-9 w-36 shrink-0" })] }), _jsx("div", { className: "mb-4 flex flex-wrap items-center gap-3", children: _jsx(Skeleton, { className: "h-9 w-full sm:max-w-[360px]" }) }), _jsx(MembersTableSkeleton, {})] }));
53
57
  }
54
58
  /**
55
59
  * Lazy-route `Suspense` fallback for {@link InviteMemberPage}. Wraps the shared
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orthacms/users-admin",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "@orthacms/users-admin — part of Ortha CMS.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/ortha-source/ortha-cms/tree/main/packages/users/admin",
@@ -25,13 +25,13 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@orthacms/activity-admin": "^0.3.0",
29
- "@orthacms/bootstrap-admin": "^0.3.0",
30
- "@orthacms/design-system": "^0.3.0",
31
- "@orthacms/identity-admin": "^0.3.0",
32
- "@orthacms/query-builder-admin": "^0.3.0",
33
- "@orthacms/shell-admin": "^0.3.0",
34
- "@orthacms/utils-admin": "^0.3.0",
28
+ "@orthacms/activity-admin": "^0.4.1",
29
+ "@orthacms/bootstrap-admin": "^0.4.1",
30
+ "@orthacms/design-system": "^0.4.1",
31
+ "@orthacms/identity-admin": "^0.4.1",
32
+ "@orthacms/query-builder-admin": "^0.4.1",
33
+ "@orthacms/shell-admin": "^0.4.1",
34
+ "@orthacms/utils-admin": "^0.4.1",
35
35
  "@tanstack/react-form": "^1.0.0",
36
36
  "@tanstack/react-query": "^5.0.0",
37
37
  "lucide-react": "^1.17.0",