@danxbot/ui 15.5.1 → 15.6.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.
@@ -27,6 +27,14 @@ export interface Role {
27
27
  * locked role cannot be touched at all. Never derived here — the library
28
28
  * has no opinion on which role, if any, deserves this. */
29
29
  locked?: boolean;
30
+ /** `false` hides the Delete control for this role in `RolesPermissionsPage`'s
31
+ * manage-roles list, while leaving rename/reset available. For a role the
32
+ * consumer's own backend refuses to delete outright (distinct from
33
+ * `locked`, which hides the whole row) — e.g. danxbot's system AGENT
34
+ * roles, which stay editable/resettable but can never be removed.
35
+ * Omitted or `true` means deletable, matching every `Role` from before
36
+ * this field existed. */
37
+ deletable?: boolean;
30
38
  }
31
39
  export interface User {
32
40
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danxbot/ui",
3
- "version": "15.5.1",
3
+ "version": "15.6.0",
4
4
  "type": "module",
5
5
  "description": "Danxbot — a domain-agnostic React design system with motion as a first-class primitive.",
6
6
  "license": "MIT",