mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-2559] Sidenav layout (#3119)
* First step of extraction * Add sidenav-layout to demo-shell * Fix some sidenav-layout styles * Fix tests * Add documentation * Fix typescript transpiler's stomache * Modify component's directive's interface * Enrich documentation * Another documentation enrichment * Fix tests and mobile expanded issue
This commit is contained in:
committed by
Eugenio Romano
parent
9e2969b955
commit
0aba5bb1b5
47
lib/core/sidenav-layout/sidenav-layout.module.ts
Normal file
47
lib/core/sidenav-layout/sidenav-layout.module.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { MaterialModule } from '../material.module';
|
||||
import { SidenavLayoutContentDirective } from './directives/sidenav-layout-content.directive';
|
||||
import { SidenavLayoutHeaderDirective } from './directives/sidenav-layout-header.directive';
|
||||
import { SidenavLayoutNavigationDirective } from './directives/sidenav-layout-navigation.directive';
|
||||
import { SidenavLayoutComponent } from '.';
|
||||
import { LayoutContainerComponent } from './components/layout-container/layout-container.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
MaterialModule
|
||||
],
|
||||
exports: [
|
||||
SidenavLayoutHeaderDirective,
|
||||
SidenavLayoutContentDirective,
|
||||
SidenavLayoutNavigationDirective,
|
||||
SidenavLayoutComponent,
|
||||
LayoutContainerComponent
|
||||
],
|
||||
declarations: [
|
||||
SidenavLayoutHeaderDirective,
|
||||
SidenavLayoutContentDirective,
|
||||
SidenavLayoutNavigationDirective,
|
||||
SidenavLayoutComponent,
|
||||
LayoutContainerComponent
|
||||
]
|
||||
})
|
||||
export class SidenavLayoutModule {}
|
Reference in New Issue
Block a user