Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
type="button"
class="side-panel-collapse-toggle btn btn-icon btn-ghost mx-4"
[attr.aria-label]="toggleItemLabel() | translate"
[attr.aria-expanded]="!isCollapsed() || service.isTemporaryOpen()"
[attr.aria-controls]="panelContentId"
(click)="toggleSidePanel($event)"
>
<si-icon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,13 @@ export interface StatusItem extends MenuItemLegacy {
'[class.collapsed]': 'isCollapsed()',
'[class.expanded]': 'isExpanded()',
'[class.enable-mobile]': 'enableMobile()',
'[class.rpanel-fullscreen-overlay]': 'isFullscreen()'
'[class.rpanel-fullscreen-overlay]': 'isFullscreen()',
'[id]': 'panelContentId'
}
})
export class SiSidePanelContentComponent implements OnInit {
private static idCounter = 0;
protected readonly panelContentId = `__si-side-panel-content-${SiSidePanelContentComponent.idCounter++}`;
/**
* @deprecated This input is no longer used. The collapsible state is managed by the SiSidePanelService.
* This input will be removed in a future major version.
Expand Down
Loading