@orthacms/workspaces-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/WorkspacesSkeleton/index.tsx"],"names":[],"mappings":"AA2CA;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,KAAS,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,+BAexE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,gCAoBrC;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,gCAcrC;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,gCAM1C;AAuBD;;;;;GAKG;AACH,wBAAgB,oBAAoB,gCAcnC;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,gCAoD5C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/presentation/components/WorkspacesSkeleton/index.tsx"],"names":[],"mappings":"AA+CA;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,KAAS,EAAE,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,+BAexE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,gCAoBrC;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,gCAyBrC;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,gCAM1C;AAuBD;;;;;GAKG;AACH,wBAAgB,oBAAoB,gCAcnC;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B,gCAoD5C"}
@@ -8,6 +8,10 @@ const messages = defineMessages({
8
8
  id: 'workspaces.skeleton.loading',
9
9
  defaultMessage: 'Loading workspaces…'
10
10
  },
11
+ shellHeading: {
12
+ id: 'workspaces.skeleton.shellHeading',
13
+ defaultMessage: 'Loading workspace'
14
+ },
11
15
  loadingForm: {
12
16
  id: 'workspaces.skeleton.loadingForm',
13
17
  defaultMessage: 'Loading…'
@@ -52,7 +56,11 @@ export function WorkspacesPageSkeleton() {
52
56
  */
53
57
  export function WorkspaceShellSkeleton() {
54
58
  const intl = useIntl();
55
- return (_jsxs("div", { role: "status", className: "min-h-svh p-8", children: [_jsx("span", { className: "sr-only", children: intl.formatMessage(messages.loading) }), _jsxs("div", { "aria-hidden": true, children: [_jsx(Skeleton, { className: "h-8 w-48" }), _jsx(Skeleton, { className: "mt-3 h-4 w-80 max-w-full" })] })] }));
59
+ return (
60
+ // `aria-busy` marks this as a loading placeholder so the host's route
61
+ // announcer waits past the sr-only heading below and reads the settled
62
+ // page name instead (see `RouteAnnouncer`).
63
+ _jsxs("div", { role: "status", "aria-busy": "true", className: "min-h-svh p-8", children: [_jsx("h1", { className: "sr-only", children: intl.formatMessage(messages.shellHeading) }), _jsx("span", { className: "sr-only", children: intl.formatMessage(messages.loading) }), _jsxs("div", { "aria-hidden": true, children: [_jsx(Skeleton, { className: "h-8 w-48" }), _jsx(Skeleton, { className: "mt-3 h-4 w-80 max-w-full" })] })] }));
56
64
  }
57
65
  /**
58
66
  * Lazy-route `Suspense` fallback for {@link CreateWorkspacePage}. Wraps the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orthacms/workspaces-admin",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "description": "@orthacms/workspaces-admin — part of Ortha CMS.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/ortha-source/ortha-cms/tree/main/packages/workspaces/admin",
@@ -25,11 +25,11 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@orthacms/bootstrap-admin": "^0.3.0",
29
- "@orthacms/design-system": "^0.3.0",
30
- "@orthacms/identity-admin": "^0.3.0",
31
- "@orthacms/shell-admin": "^0.3.0",
32
- "@orthacms/utils-admin": "^0.3.0",
28
+ "@orthacms/bootstrap-admin": "^0.4.1",
29
+ "@orthacms/design-system": "^0.4.1",
30
+ "@orthacms/identity-admin": "^0.4.1",
31
+ "@orthacms/shell-admin": "^0.4.1",
32
+ "@orthacms/utils-admin": "^0.4.1",
33
33
  "@tanstack/react-form": "^1.0.0",
34
34
  "@tanstack/react-query": "^5.0.0",
35
35
  "lucide-react": "^1.17.0",