@uxf/cms 11.125.0 → 11.126.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.
Files changed (2) hide show
  1. package/README.md +29 -29
  2. package/package.json +17 -17
package/README.md CHANGED
@@ -121,35 +121,35 @@ export default restrictedPage(DashboardPage, { allowedRole: ["ROLE_ROOT"] });
121
121
 
122
122
  Import paths resolve by filesystem to the compiled output (there is no `exports` map). This is an overview of the main areas, not an exhaustive list of every submodule.
123
123
 
124
- | Import path | Provides |
125
- | --- | --- |
126
- | `@uxf/cms/context/cms-provider` | `CmsProvider` — the `swr` provider. |
127
- | `@uxf/cms/ui` | Re-exports `UiContextProvider`, `useComponentContext` from `@uxf/ui/context`. |
128
- | `@uxf/cms/api` | Typed request functions against `/api/cms/*` (`login`, `getLoggedUser`, `contentGet` / `contentCreate` / `contentUpdate`, `getFormSchema` / `getFormValues` / `saveFormValues`, `dataGridSchemaGet`, `autocomplete`, `userConfigGet` / `userConfigSave`, …) and their request/response types. |
129
- | `@uxf/cms/api/swr` | SWR hooks (`useCmsMeQuery`, `useCmsUserConfigQuery`, `useCmsUserConfigUpdateMutation`) and the `ApiError` class. |
130
- | `@uxf/cms/security/restricted-page` | `restrictedPage` — role-gated page wrapper. |
131
- | `@uxf/cms/security/use-logged-user` | `useLoggedUser` — current-user SWR hook. |
132
- | `@uxf/cms/pages/login-page` | `LoginPage` factory. |
133
- | `@uxf/cms/pages/forgotten-password-page` | `ForgottenPasswordPage` factory. |
134
- | `@uxf/cms/pages/renew-password-page` | `RenewPasswordPage` factory. |
135
- | `@uxf/cms/pages/invite-user-page` | `InviteUserPage` factory. |
136
- | `@uxf/cms/pages/content-builder` | `ContentBuilderPage`, `ContentField` and content mapping helpers. |
137
- | `@uxf/cms/pages/grid-page` | `GridPage` factory (deprecated — prefer a project-specific `DataGrid`). |
138
- | `@uxf/cms/forms/login-form` | `LoginForm`. |
139
- | `@uxf/cms/forms/forgotten-password-form` | `ForgottenPasswordForm`. |
140
- | `@uxf/cms/forms/renew-password-form` | `RenewPasswordForm`. |
141
- | `@uxf/cms/forms/invite-user-form` | `InviteUserForm`. |
142
- | `@uxf/cms/forms/change-password-form` | `ChangePasswordForm`. |
143
- | `@uxf/cms/forms/components/wysiwyg-input` | `WysiwygInput` — `@uxf/form`-bound WYSIWYG field. |
144
- | `@uxf/cms/content-builder` | `ContentBuilder`, `ContentBuilderRoot`, `mapContentResponseToFormData`, `mapFormDataToContentRequest`. |
145
- | `@uxf/cms/lib/layout` | `Layout`, `Breadcrumbs` — the admin shell. |
146
- | `@uxf/cms/lib/login-layout` | `LoginLayout`. |
147
- | `@uxf/cms/lib/menu` | `Menu` and the menu-item factory (`createSection`, `createLink`, `createTableLink`, `createExternalLink`, `createUserMenu`, `createSuperSection`, `createCustomContent`). |
148
- | `@uxf/cms/lib/api` | `createAxiosInstance` — the axios client factory used by `@uxf/cms/api`. |
149
- | `@uxf/cms/config` | `container` — a small DI registry the app populates (route resolver, active-route hook, logged-user hooks, notification service) for `@uxf/cms` internals to consume. |
150
- | `@uxf/cms/ui/avatar` · `@uxf/cms/ui/widget` · `@uxf/cms/ui/copy-to-clipboard` · `@uxf/cms/ui/copy-to-clipboard-button` | `Avatar`, `Widget`, `CopyToClipboard`, `CopyToClipboardButton`. |
151
- | `@uxf/cms/utils/tailwind.config` | The Tailwind preset. |
152
- | `@uxf/cms/errors/*` | `BadRequestError`, `ForbiddenError`, `NetworkError`, `UnauthorizedError`, `ValidationError` (one class per file). |
124
+ | Import path | Provides |
125
+ | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
126
+ | `@uxf/cms/context/cms-provider` | `CmsProvider` — the `swr` provider. |
127
+ | `@uxf/cms/ui` | Re-exports `UiContextProvider`, `useComponentContext` from `@uxf/ui/context`. |
128
+ | `@uxf/cms/api` | Typed request functions against `/api/cms/*` (`login`, `getLoggedUser`, `contentGet` / `contentCreate` / `contentUpdate`, `getFormSchema` / `getFormValues` / `saveFormValues`, `dataGridSchemaGet`, `autocomplete`, `userConfigGet` / `userConfigSave`, …) and their request/response types. |
129
+ | `@uxf/cms/api/swr` | SWR hooks (`useCmsMeQuery`, `useCmsUserConfigQuery`, `useCmsUserConfigUpdateMutation`) and the `ApiError` class. |
130
+ | `@uxf/cms/security/restricted-page` | `restrictedPage` — role-gated page wrapper. |
131
+ | `@uxf/cms/security/use-logged-user` | `useLoggedUser` — current-user SWR hook. |
132
+ | `@uxf/cms/pages/login-page` | `LoginPage` factory. |
133
+ | `@uxf/cms/pages/forgotten-password-page` | `ForgottenPasswordPage` factory. |
134
+ | `@uxf/cms/pages/renew-password-page` | `RenewPasswordPage` factory. |
135
+ | `@uxf/cms/pages/invite-user-page` | `InviteUserPage` factory. |
136
+ | `@uxf/cms/pages/content-builder` | `ContentBuilderPage`, `ContentField` and content mapping helpers. |
137
+ | `@uxf/cms/pages/grid-page` | `GridPage` factory (deprecated — prefer a project-specific `DataGrid`). |
138
+ | `@uxf/cms/forms/login-form` | `LoginForm`. |
139
+ | `@uxf/cms/forms/forgotten-password-form` | `ForgottenPasswordForm`. |
140
+ | `@uxf/cms/forms/renew-password-form` | `RenewPasswordForm`. |
141
+ | `@uxf/cms/forms/invite-user-form` | `InviteUserForm`. |
142
+ | `@uxf/cms/forms/change-password-form` | `ChangePasswordForm`. |
143
+ | `@uxf/cms/forms/components/wysiwyg-input` | `WysiwygInput` — `@uxf/form`-bound WYSIWYG field. |
144
+ | `@uxf/cms/content-builder` | `ContentBuilder`, `ContentBuilderRoot`, `mapContentResponseToFormData`, `mapFormDataToContentRequest`. |
145
+ | `@uxf/cms/lib/layout` | `Layout`, `Breadcrumbs` — the admin shell. |
146
+ | `@uxf/cms/lib/login-layout` | `LoginLayout`. |
147
+ | `@uxf/cms/lib/menu` | `Menu` and the menu-item factory (`createSection`, `createLink`, `createTableLink`, `createExternalLink`, `createUserMenu`, `createSuperSection`, `createCustomContent`). |
148
+ | `@uxf/cms/lib/api` | `createAxiosInstance` — the axios client factory used by `@uxf/cms/api`. |
149
+ | `@uxf/cms/config` | `container` — a small DI registry the app populates (route resolver, active-route hook, logged-user hooks, notification service) for `@uxf/cms` internals to consume. |
150
+ | `@uxf/cms/ui/avatar` · `@uxf/cms/ui/widget` · `@uxf/cms/ui/copy-to-clipboard` · `@uxf/cms/ui/copy-to-clipboard-button` | `Avatar`, `Widget`, `CopyToClipboard`, `CopyToClipboardButton`. |
151
+ | `@uxf/cms/utils/tailwind.config` | The Tailwind preset. |
152
+ | `@uxf/cms/errors/*` | `BadRequestError`, `ForbiddenError`, `NetworkError`, `UnauthorizedError`, `ValidationError` (one class per file). |
153
153
 
154
154
  ## Gotchas
155
155
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/cms",
3
- "version": "11.125.0",
3
+ "version": "11.126.0",
4
4
  "description": "UXF Cms",
5
5
  "author": "UXFans <dev@uxf.cz>",
6
6
  "homepage": "https://gitlab.com/uxf-npm/cms#readme",
@@ -32,14 +32,14 @@
32
32
  "@dnd-kit/sortable": "^10.0.0",
33
33
  "@dnd-kit/utilities": "^3.2.2",
34
34
  "@floating-ui/react": "^0.27.20",
35
- "@uxf/core": "11.124.0",
36
- "@uxf/core-react": "11.125.0",
37
- "@uxf/data-grid": "11.125.0",
38
- "@uxf/form": "11.125.0",
39
- "@uxf/router": "11.124.0",
40
- "@uxf/styles": "11.124.0",
41
- "@uxf/ui": "11.125.0",
42
- "@uxf/wysiwyg": "11.125.0",
35
+ "@uxf/core": "11.126.0",
36
+ "@uxf/core-react": "11.126.0",
37
+ "@uxf/data-grid": "11.126.0",
38
+ "@uxf/form": "11.126.0",
39
+ "@uxf/router": "11.126.0",
40
+ "@uxf/styles": "11.126.0",
41
+ "@uxf/ui": "11.126.0",
42
+ "@uxf/wysiwyg": "11.126.0",
43
43
  "axios": "^1.19.0",
44
44
  "axios-hooks": "^5.1.1",
45
45
  "next": ">=13.2.0",
@@ -56,14 +56,14 @@
56
56
  "@types/node": "24",
57
57
  "@types/react": "18.3.31",
58
58
  "@types/react-dom": "18.3.7",
59
- "@uxf/core": "11.124.0",
60
- "@uxf/core-react": "11.125.0",
61
- "@uxf/data-grid": "11.125.0",
62
- "@uxf/form": "11.125.0",
63
- "@uxf/router": "11.124.0",
64
- "@uxf/styles": "11.124.0",
65
- "@uxf/ui": "11.125.0",
66
- "@uxf/wysiwyg": "11.125.0",
59
+ "@uxf/core": "11.126.0",
60
+ "@uxf/core-react": "11.126.0",
61
+ "@uxf/data-grid": "11.126.0",
62
+ "@uxf/form": "11.126.0",
63
+ "@uxf/router": "11.126.0",
64
+ "@uxf/styles": "11.126.0",
65
+ "@uxf/ui": "11.126.0",
66
+ "@uxf/wysiwyg": "11.126.0",
67
67
  "axios": "^1.19.0",
68
68
  "axios-hooks": "^5.1.1",
69
69
  "next": "16.3.0",