Skip to content

Commit

Permalink
[ACS-5601] Restore modal configuration, prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalKinas committed Sep 26, 2023
1 parent 583e98e commit 31f6ec5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="aca-custom-name-column">
<div [ngClass]="{'aca-name-column-container': isFile && isFileWriteLocked}">
<div [ngClass]="{ 'aca-name-column-container': isFile && isFileWriteLocked }">
<span
role="link"
tabindex=0
tabindex="0"
[attr.aria-label]="
(isFile ? 'CUSTOM_NAME_COLUMN.ACCESSIBILITY.FILE_LINK_ARIA_LABEL' : 'CUSTOM_NAME_COLUMN.ACCESSIBILITY.FOLDER_LINK_ARIA_LABEL')
| translate: { name: displayText$ | async }
| translate : { name: displayText$ | async }
"
class="adf-datatable-cell-value"
title="{{ node | adfNodeNameTooltip }}"
Expand Down
27 changes: 27 additions & 0 deletions projects/aca-shared/src/lib/models/modal-configuration.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*!
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

export interface ModalConfiguration {
focusedElementOnCloseSelector?: string;
}
1 change: 1 addition & 0 deletions projects/aca-shared/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export * from './lib/directives/pagination.directive';

export * from './lib/models/types';
export * from './lib/models/viewer.rules';
export * from './lib/models/modal-configuration';

export * from './lib/routing/shared.guard';

Expand Down

0 comments on commit 31f6ec5

Please sign in to comment.