@danxbot/ui 15.35.0 → 15.36.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.
@@ -6,6 +6,11 @@ export interface ProfilePageProps {
6
6
  onSave?: (input: ProfileFormSaveInput) => Promise<void>;
7
7
  onUploadAvatar?: (file: File) => Promise<string>;
8
8
  onAvatarChange?: (avatarUrl: string | null) => void;
9
+ /** DX-4029: `false` omits the page's own title text (the `<h1>` and the
10
+ * team-name line) so a host layout can own the screen's one `<h1>`. The
11
+ * read-only avatar (content, not title) stays, and the default `true` is
12
+ * the unchanged render. */
13
+ heading?: boolean;
9
14
  className?: string;
10
15
  }
11
- export declare function ProfilePage({ account, onSave, onUploadAvatar, onAvatarChange, className }: ProfilePageProps): import("react").JSX.Element;
16
+ export declare function ProfilePage({ account, onSave, onUploadAvatar, onAvatarChange, heading, className, }: ProfilePageProps): import("react").JSX.Element;
@@ -17,6 +17,8 @@ export interface RolesPermissionsPageProps {
17
17
  onResetRole?: (roleId: string) => void;
18
18
  /** The id of a role currently mid-mutation. Disables just that row's controls, not the whole page. */
19
19
  busyRoleId?: string | null;
20
+ /** DX-4029: `false` omits the page's own title text (the `<h1>` and the explanatory line) so a host layout can own the screen's one `<h1>`. The "New role" button stays: it is the only create-role entry point. Default `true` is the unchanged render. */
21
+ heading?: boolean;
20
22
  className?: string;
21
23
  }
22
- export declare function RolesPermissionsPage({ roles, permissions, editable, onChangePermission, onCreateRole, onRenameRole, onDeleteRole, onResetRole, busyRoleId, className, }: RolesPermissionsPageProps): import("react").JSX.Element;
24
+ export declare function RolesPermissionsPage({ roles, permissions, editable, onChangePermission, onCreateRole, onRenameRole, onDeleteRole, onResetRole, busyRoleId, heading, className, }: RolesPermissionsPageProps): import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danxbot/ui",
3
- "version": "15.35.0",
3
+ "version": "15.36.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",