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:
+1
-1
@@ -88,7 +88,7 @@ przyciskiem Reveal/Hide. To maskowanie UI, NIE hashowanie ani szyfrowanie:
|
||||
wartość w bazie jest plaintext (musi być odzyskiwalna do autentykacji SMTP/R2).
|
||||
Chroni przed patrzeniem przez ramię i przypadkowym pokazaniem panelu.
|
||||
|
||||
Podpięte przez `admin.components.Field: '@intecion/ipal-kit/client#MaskedField'`.
|
||||
Podpięte przez `admin.components.Field: '@intecion/ipal-kit/admin#MaskedField'`.
|
||||
Działa na dowolnym polu `text`. Po wpięciu w projekcie może być konieczne
|
||||
`payload generate:importmap`, żeby panel rozpoznał komponent.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user