Cookie banner layout options; keep admin UI out of /client

CookieBanner: order, settings="modal", controls="switch",
settingsActions, icon and a class slot for every element. Cookie
Settings gains eyebrow, title, settingsDescription, alwaysActiveLabel
and buttons.close.

MaskedField, TestEmailButton and IntegrationStatusBanner import
@payloadcms/ui and moved from /client to /admin; with sideEffects in
package.json the site bundle no longer ships ~235 KB gz of admin code.
A test walks the /client import graph to keep it that way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-17 03:20:11 +02:00
co-authored by Claude Opus 5.5
parent 0f6a43ad12
commit 2bd9d60822
16 changed files with 473 additions and 99 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ export function buildIntegrationStatusBanner(statusField: string, label: string)
components: {
Field: {
clientProps: { label, statusField },
path: '@intecion/ipal-kit/client#IntegrationStatusBanner',
path: '@intecion/ipal-kit/admin#IntegrationStatusBanner',
},
},
},