From 1fe71ed25181209e9eddbd0207a155f2eda7893d Mon Sep 17 00:00:00 2001 From: Andy Stark <30621568+therealandeeee@users.noreply.github.com> Date: Tue, 31 Oct 2017 10:58:44 +0000 Subject: [PATCH] [ADF-1820] Replaced md- prefix in docs with mat- (#2573) --- docs/datatable.component.md | 4 +-- docs/info-drawer-layout.component.md | 18 ++---------- docs/info-drawer.component.md | 2 +- docs/language-menu.component.md | 42 ++++++++++------------------ docs/metadata-indicators.md | 14 +++++----- docs/node-delete.directive.md | 17 ++--------- docs/node-favorite.directive.md | 23 ++++----------- docs/node-permission.directive.md | 4 +-- docs/node-restore.directive.md | 17 ++--------- docs/process-audit.directive.md | 18 ++---------- docs/task-audit.directive.md | 18 ++---------- docs/toolbar.component.md | 30 ++++++++++---------- 12 files changed, 60 insertions(+), 147 deletions(-) diff --git a/docs/datatable.component.md b/docs/datatable.component.md index 380f42b34f..8246a3a3f1 100644 --- a/docs/datatable.component.md +++ b/docs/datatable.component.md @@ -278,11 +278,11 @@ You can add a template that will be shown during the loading of your data: - - + diff --git a/docs/info-drawer-layout.component.md b/docs/info-drawer-layout.component.md index d05c070799..3b561fe3d2 100644 --- a/docs/info-drawer-layout.component.md +++ b/docs/info-drawer-layout.component.md @@ -4,18 +4,6 @@ Displays a sidebar-style information panel. ![Info drawer layout screenshot](docassets/images/infodrawerlayout.png) - - - - -- [Basic usage](#basic-usage) -- [Details](#details) -- [See also](#see-also) - - - - - ## Basic usage ```html @@ -23,13 +11,13 @@ Displays a sidebar-style information panel.
File info
- clear + clear
- + Lorem ipsum dolor sit amet... - +
``` diff --git a/docs/info-drawer.component.md b/docs/info-drawer.component.md index ce426bd6f3..01f50a043f 100644 --- a/docs/info-drawer.component.md +++ b/docs/info-drawer.component.md @@ -22,7 +22,7 @@ Displays a sidebar-style information panel with tabs. ```html
- clear + clear
diff --git a/docs/language-menu.component.md b/docs/language-menu.component.md index 145f15f349..be7351bca5 100644 --- a/docs/language-menu.component.md +++ b/docs/language-menu.component.md @@ -1,21 +1,9 @@ # Language Menu component -Displays all the languages that are present in the "app.config.json" or the defaul one (EN). +Displays all the languages that are present in the "app.config.json" or the default one (EN). ![Language Menu screenshot](docassets/images/languages-menu.png) - - - - -- [Basic usage](#basic-usage) -- [Details](#details) -- [Nested menu language](#nested-menu-language) -- [Nested menu details](#nested-menu-details) - - - - ## Basic usage How to attach an ADF Language Menu as main menu @@ -53,29 +41,29 @@ This is how the configuration looks like in the the "app.config.json" ``` In case no setting is provided, the component shows only the English language. - - - -## Nested Menu language +### Nested Menu language How to attach an ADF Language Menu as nested menu ```html - - - - - - - + + + + + + - + ``` ![Nested Language Menu screenshot](docassets/images/languages-menu-nested.png) -## Nested menu details +### Nested menu details In the previous example we are using the ADF Language Menu as nested menu. + + + diff --git a/docs/metadata-indicators.md b/docs/metadata-indicators.md index fc9209f09b..7061a7cc96 100644 --- a/docs/metadata-indicators.md +++ b/docs/metadata-indicators.md @@ -72,9 +72,9 @@ For demonstration purposes we are going to display several icons if underlying n ```html
- portrait - photo_filter - rotate_90_degrees_ccw + portrait + photo_filter + rotate_90_degrees_ccw
{{metadata['cm:versionLabel']}} @@ -82,7 +82,7 @@ For demonstration purposes we are going to display several icons if underlying n
``` -Note: For a list of the icons that can be used with `` component please refer to this resource: [material.io/icons](https://material.io/icons/) +Note: For a list of the icons that can be used with `` component please refer to this resource: [material.io/icons](https://material.io/icons/) ## Testing component @@ -111,9 +111,9 @@ import { Component, Input } from '@angular/core'; template: `
- portrait - photo_filter - rotate_90_degrees_ccw + portrait + photo_filter + rotate_90_degrees_ccw
{{metadata['cm:versionLabel']}} diff --git a/docs/node-delete.directive.md b/docs/node-delete.directive.md index f0323d047f..0c72469853 100644 --- a/docs/node-delete.directive.md +++ b/docs/node-delete.directive.md @@ -1,25 +1,12 @@ # Node Delete directive -Delete multiple files and folders - - - - - -- [Basic Usage](#basic-usage) - * [Properties](#properties) - * [Events](#events) -- [Details](#details) - - - - +Deletes multiple files and folders. ## Basic Usage ```html - diff --git a/docs/node-favorite.directive.md b/docs/node-favorite.directive.md index 0b2341b964..38ee6dec2b 100644 --- a/docs/node-favorite.directive.md +++ b/docs/node-favorite.directive.md @@ -1,25 +1,12 @@ # Node Favorite directive -Selectively toggle nodes as favorite - - - - - -- [Basic Usage](#basic-usage) - * [Properties](#properties) - * [Events](#events) -- [Details](#details) - - - - +Selectively toggles nodes as favorite ## Basic Usage ```html - @@ -62,13 +49,13 @@ wich provides a method to help further style the element. ```html ``` diff --git a/docs/node-permission.directive.md b/docs/node-permission.directive.md index 1e1f96f06c..f82e56dbdb 100644 --- a/docs/node-permission.directive.md +++ b/docs/node-permission.directive.md @@ -45,10 +45,10 @@ For example the "Delete" button should be disabled if no selection is present or ```html - diff --git a/docs/node-restore.directive.md b/docs/node-restore.directive.md index 80cf391891..0a6d04f2b5 100644 --- a/docs/node-restore.directive.md +++ b/docs/node-restore.directive.md @@ -1,27 +1,14 @@ # Node Restore directive - - - - -- [Basic Usage](#basic-usage) - * [Properties](#properties) - * [Events](#events) -- [Details](#details) - - - - - ## Basic Usage ```html - diff --git a/docs/process-audit.directive.md b/docs/process-audit.directive.md index 2a5b492b00..4d9592cac5 100644 --- a/docs/process-audit.directive.md +++ b/docs/process-audit.directive.md @@ -1,21 +1,9 @@ # Process Audit Directive -Provide a way to fetch the Process Audit information in the pdf or json format. +Fetches the Process Audit information in the pdf or json format. ![adf-process-audit-directive](docassets/images/adf-process-audit-directive.png) - - - - -- [Basic Usage](#basic-usage) - * [Properties](#properties) - * [Events](#events) - - - - - ## Basic Usage ```html @@ -24,8 +12,8 @@ Provide a way to fetch the Process Audit information in the pdf or json format. [process-id]="processId" [format]="'pdf'" [download]="true" - md-icon-button (clicked)="onAuditClick($event)" (error)="onAuditError($event)" > - assignment_ind + mat-icon-button (clicked)="onAuditClick($event)" (error)="onAuditError($event)" > + assignment_ind ``` diff --git a/docs/task-audit.directive.md b/docs/task-audit.directive.md index 378a5e2b33..21007ab56a 100644 --- a/docs/task-audit.directive.md +++ b/docs/task-audit.directive.md @@ -1,21 +1,9 @@ # Task Audit Directive -Provides a way to fetch the Task Audit information in the pdf or json format. +Fetches the Task Audit information in the pdf or json format. ![adf-task-audit-directive](docassets/images/adf-task-audit-directive.png) - - - - -- [Basic Usage](#basic-usage) - * [Properties](#properties) - * [Events](#events) - - - - - ## Basic Usage ```html @@ -23,8 +11,8 @@ Provides a way to fetch the Task Audit information in the pdf or json format. adf-task-audit [task-id]="taskId" [download]="download" - md-icon-button (clicked)="onAuditClick($event)" (error)="onAuditError($event)" > - assignment_ind + mat-icon-button (clicked)="onAuditClick($event)" (error)="onAuditError($event)" > + assignment_ind ``` diff --git a/docs/toolbar.component.md b/docs/toolbar.component.md index 85c6ad0245..a01b67053e 100644 --- a/docs/toolbar.component.md +++ b/docs/toolbar.component.md @@ -24,11 +24,11 @@ Simple container for headers, titles, actions and breadcrumbs. ```html - - ``` @@ -80,27 +80,27 @@ You can use the following example to create a dropdown menu: ... - - - - - - + ``` -The code above is based on the `` component from the `@angular/material` library. You can use any custom menu component as well. +The code above is based on the `` component from the `@angular/material` library. You can use any custom menu component as well. ![](docassets/images/adf-toolbar-03.png)