From b7d93c85aba8c9f86149b7f0e793cbe958f39f88 Mon Sep 17 00:00:00 2001 From: alanv Date: Tue, 9 Jun 2026 17:42:02 -0500 Subject: [PATCH 1/4] Security APIWrapper: add getAuthenticationConfiguration --- packages/components/src/index.ts | 2 +- .../components/security/APIWrapper.ts | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/packages/components/src/index.ts b/packages/components/src/index.ts index 40ce92de9d..495db81270 100644 --- a/packages/components/src/index.ts +++ b/packages/components/src/index.ts @@ -1893,7 +1893,7 @@ export type { } from './internal/components/samples/models'; export type { SearchHit, SearchOptions } from './internal/components/search/actions'; export type { EntityFieldFilter } from './internal/components/search/models'; -export type { SecurityAPIWrapper } from './internal/components/security/APIWrapper'; +export type { AuthenticationConfiguration, SecurityAPIWrapper } from './internal/components/security/APIWrapper'; export type { IDataViewInfo } from './internal/DataViewInfo'; export type { BSStyle } from './internal/dropdowns'; export type { MenuSectionItem } from './internal/DropdownSection'; diff --git a/packages/components/src/internal/components/security/APIWrapper.ts b/packages/components/src/internal/components/security/APIWrapper.ts index 88c29ed062..da3acbc47a 100644 --- a/packages/components/src/internal/components/security/APIWrapper.ts +++ b/packages/components/src/internal/components/security/APIWrapper.ts @@ -56,6 +56,16 @@ export interface RemoveGroupMembersResponse { removed: number[]; } +export interface AuthenticationConfiguration { + description: string; + reauthUrl: string; +} + +interface AuthenticationConfigurationResponse { + data: AuthenticationConfiguration; + success: boolean; +} + export interface SecurityAPIWrapper { addGroupMembers: (groupId: number, principalIds: number[], projectPath: string) => Promise; createApiKey: (type?: string, description?: string) => Promise; @@ -78,6 +88,7 @@ export interface SecurityAPIWrapper { ) => Promise; fetchRoles: () => Promise>; getAuditLogDate: (filterCol: string, filterVal: number | string) => Promise; + getAuthenticationConfiguration: () => Promise; getDeletionSummaries: (containerPath?: string) => Promise; getGroupMemberships: () => Promise; getInheritedContainers: (container: Container) => Promise; @@ -262,6 +273,14 @@ export class ServerSecurityAPIWrapper implements SecurityAPIWrapper { return dateRow.formattedValue ?? dateRow.value; }; + getAuthenticationConfiguration = async (): Promise => { + const { data } = await request({ + url: ActionURL.buildURL('login', 'getAuthenticationConfiguration.api'), + }); + + return data; + }; + getDeletionSummaries = async (containerPath?: string): Promise => { const { moduleSummary } = await request<{ moduleSummary: Summary[] }>({ url: ActionURL.buildURL('core', 'getModuleSummary.api', containerPath), @@ -443,6 +462,7 @@ export function getSecurityTestAPIWrapper( fetchPolicy: mockFn(), fetchRoles: mockFn(), getAuditLogDate: mockFn(), + getAuthenticationConfiguration: mockFn(), getDeletionSummaries: mockFn(), getGroupMemberships: mockFn(), getPrincipalById: mockFn(), From 8c721e33dbb30ea6565dae0f1efeb8b691e2c268 Mon Sep 17 00:00:00 2001 From: alanv Date: Tue, 9 Jun 2026 17:42:21 -0500 Subject: [PATCH 2/4] panel.scss: disable h* margin in panel-heading components --- packages/components/src/theme/panel.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/components/src/theme/panel.scss b/packages/components/src/theme/panel.scss index 80cd535920..1292044005 100644 --- a/packages/components/src/theme/panel.scss +++ b/packages/components/src/theme/panel.scss @@ -67,6 +67,11 @@ margin-top: 3px; } +// Override the default margin for h* elements within a panel heading +.panel-heading:is(h1, h2, h3, h4, h5, h6) { + margin: 0; +} + // revert panel heading font-size for those within a tabbed-grid-panel .tabbed-grid-panel .panel-heading { From 90553e0112cd4d5c750cb5226eed97eda37cac90 Mon Sep 17 00:00:00 2001 From: alanv Date: Tue, 23 Jun 2026 18:46:29 -0500 Subject: [PATCH 3/4] Prep for release --- packages/components/package-lock.json | 4 ++-- packages/components/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/package-lock.json b/packages/components/package-lock.json index 8ef7bc3fe5..95a68fec36 100644 --- a/packages/components/package-lock.json +++ b/packages/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@labkey/components", - "version": "7.42.2", + "version": "7.43.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@labkey/components", - "version": "7.42.2", + "version": "7.43.0", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@hello-pangea/dnd": "18.0.1", diff --git a/packages/components/package.json b/packages/components/package.json index 6d1c0f35a0..05c4567b8a 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@labkey/components", - "version": "7.42.2", + "version": "7.43.0", "description": "Components, models, actions, and utility functions for LabKey applications and pages", "sideEffects": false, "files": [ From 6cce21b82faea8e92a2311fe75a087953dc994d6 Mon Sep 17 00:00:00 2001 From: alanv Date: Tue, 23 Jun 2026 18:48:02 -0500 Subject: [PATCH 4/4] Update release notes --- packages/components/releaseNotes/components.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/components/releaseNotes/components.md b/packages/components/releaseNotes/components.md index e8562f1d56..5cffffa1f0 100644 --- a/packages/components/releaseNotes/components.md +++ b/packages/components/releaseNotes/components.md @@ -1,6 +1,11 @@ # @labkey/components Components, models, actions, and utility functions for LabKey applications and pages +### version 7.43.0 +*Released*: 23 June 2026 +- panel.scss: disable margin on h1, h2, etc elements within panel-heading components +- SecurityAPIWrapper: Add getAuthenticationConfiguration + ### version 7.42.2 *Released*: 22 June 2026 - Styling update for user comment on large storage modal