This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added JSdocs for tile component (#70)
* Added JSdocs for tile component * Fix build failure * Upgrade package-lock * Upgrade dependencies Co-authored-by: Blackbaud-SteveBrush <steve.brush@blackbaud.com>
- Loading branch information
1 parent
e8b8793
commit 5341b7b
Showing
15 changed files
with
420 additions
and
268 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<app-tile-docs> | ||
</app-tile-docs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<sky-docs-demo-page | ||
moduleName="SkyTilesModule" | ||
moduleSourceCodePath="src/app/public/modules/tiles/" | ||
pageTitle="Tile" | ||
> | ||
<sky-docs-demo-page-summary> | ||
The tile component creates a collapsible container that serves as a building block for pages and forms in SKY UX applications. | ||
</sky-docs-demo-page-summary> | ||
|
||
<sky-docs-design-guidelines> | ||
|
||
</sky-docs-design-guidelines> | ||
|
||
</sky-docs-demo-page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { | ||
Component | ||
} from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-tile-docs', | ||
templateUrl: './tile-docs.component.html' | ||
}) | ||
export class TileDocsComponent { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/app/public/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout-column.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
import { SkyTileDashboardConfigLayoutTile } from './tile-dashboard-config-layout-tile'; | ||
|
||
export interface SkyTileDashboardConfigLayoutColumn { | ||
/** | ||
* An array of `SkyTileDashboardConfigTile` objects that specifies the | ||
* tiles to include in the dashboard. | ||
*/ | ||
tiles: SkyTileDashboardConfigLayoutTile[]; | ||
} |
6 changes: 6 additions & 0 deletions
6
src/app/public/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout-tile.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
export interface SkyTileDashboardConfigLayoutTile { | ||
/** | ||
* Specifies the ID of a tile to display in the dashboard. | ||
*/ | ||
id: string; | ||
/** | ||
* Indicates whether the tile is in a collapsed state. | ||
*/ | ||
isCollapsed: boolean; | ||
} |
8 changes: 8 additions & 0 deletions
8
src/app/public/modules/tiles/tile-dashboard-config/tile-dashboard-config-layout.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
import { SkyTileDashboardConfigLayoutColumn } from './tile-dashboard-config-layout-column'; | ||
|
||
export interface SkyTileDashboardConfigLayout { | ||
/** | ||
* A `SkyTileDashboardConfigLayoutColumn` object that describes how to | ||
* display tiles in a single column on small screens. | ||
*/ | ||
singleColumn: SkyTileDashboardConfigLayoutColumn; | ||
/** | ||
* An array of `SkyTileDashboardConfigLayoutColumn` objects that describes | ||
* how to display tiles in multiple columns on larger screens. | ||
*/ | ||
multiColumn: SkyTileDashboardConfigLayoutColumn[]; | ||
} |
9 changes: 9 additions & 0 deletions
9
src/app/public/modules/tiles/tile-dashboard-config/tile-dashboard-config-reorder-data.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
export interface SkyTileDashboardConfigReorderData { | ||
/** | ||
* Specifies the description of the tile. | ||
*/ | ||
tileDescription: string; | ||
/** | ||
* Specifies the column for the tile. | ||
*/ | ||
column: number; | ||
/** | ||
* Specifies the position of the tile within the column. | ||
*/ | ||
position: number; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/app/public/modules/tiles/tile-dashboard-config/tile-dashboard-config-tile.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
export interface SkyTileDashboardConfigTile { | ||
/** | ||
* Specifies the ID of the tile. | ||
*/ | ||
id: string; | ||
/** | ||
* Specifies the class type of the tile component. Since you generate the | ||
* component dynamically instead of with HTML selectors, you must register | ||
* it with the entryComponents property in the app-extras.module.ts file. | ||
* For more information, see the | ||
* [entry components tutorial](https://developer.blackbaud.com/skyux/learn/get-started/advanced/entry-components). | ||
*/ | ||
componentType: any; | ||
/** | ||
* Specifies an array of data providers that can be passed to the tile. | ||
*/ | ||
providers?: any[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters