-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47ffaed
commit 84cb4d0
Showing
43 changed files
with
1,144 additions
and
5 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
projects/design-angular-kit/src/lib/components/core/table/table.component.html
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
9 changes: 5 additions & 4 deletions
9
projects/design-angular-kit/src/lib/components/core/table/table.component.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
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
23 changes: 23 additions & 0 deletions
23
src/app/table/table-alignment-example/table-alignment-example.component.html
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,23 @@ | ||
<h3>Allineamento verticale</h3> | ||
<div class="bd-example"> | ||
<it-table alignment="align-middle"> | ||
<ng-container thead> | ||
<tr> | ||
<th scope="col" class="w-25">Intestazione 1</th> | ||
<th scope="col" class="w-25">Intestazione 2</th> | ||
<th scope="col" class="w-25">Intestazione 3</th> | ||
<th scope="col" class="w-25">Intestazione 4</th> | ||
</tr> | ||
</ng-container> | ||
|
||
<ng-container tbody> | ||
<tr> | ||
<td>Valore 1</td> | ||
<td>Valore 2</td> | ||
<td>Valore 3</td> | ||
<td>This here is some placeholder text, intended to take up quite a bit of vertical space, to demonstrate how the vertical alignment works in the preceding cells.</td> | ||
</tr> | ||
</ng-container> | ||
</it-table> | ||
|
||
</div> |
23 changes: 23 additions & 0 deletions
23
src/app/table/table-alignment-example/table-alignment-example.component.spec.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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { TableAlignmentExampleComponent } from './table-alignment-example.component'; | ||
|
||
describe('TableAlignmentExampleComponent', () => { | ||
let component: TableAlignmentExampleComponent; | ||
let fixture: ComponentFixture<TableAlignmentExampleComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ TableAlignmentExampleComponent ] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(TableAlignmentExampleComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
8 changes: 8 additions & 0 deletions
8
src/app/table/table-alignment-example/table-alignment-example.component.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'it-table-alignment-example', | ||
templateUrl: './table-alignment-example.component.html' | ||
}) | ||
export class TableAlignmentExampleComponent { | ||
} |
35 changes: 35 additions & 0 deletions
35
src/app/table/table-bordered-example/table-bordered-example.component.html
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,35 @@ | ||
<h3>Tabella con bordi</h3> | ||
<div class="bd-example"> | ||
<it-table bordered="true"> | ||
<ng-container thead> | ||
<tr> | ||
<th scope="col">#</th> | ||
<th scope="col">Nome</th> | ||
<th scope="col">Cognome</th> | ||
<th scope="col">Username</th> | ||
</tr> | ||
</ng-container> | ||
|
||
<ng-container tbody> | ||
<tr> | ||
<th scope="row">1</th> | ||
<td>Mario</td> | ||
<td>Verdi</td> | ||
<td>mario.verdi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">2</th> | ||
<td>Francesco</td> | ||
<td>Bianchi</td> | ||
<td>francesco.bianchi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">3</th> | ||
<td>Alessandro</td> | ||
<td>Rossi</td> | ||
<td>alessandro.rossi</td> | ||
</tr> | ||
</ng-container> | ||
</it-table> | ||
|
||
</div> |
23 changes: 23 additions & 0 deletions
23
src/app/table/table-bordered-example/table-bordered-example.component.spec.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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { TableBorderedExampleComponent } from './table-bordered-example.component'; | ||
|
||
describe('TableBorderedExampleComponent', () => { | ||
let component: TableBorderedExampleComponent; | ||
let fixture: ComponentFixture<TableBorderedExampleComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ TableBorderedExampleComponent ] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(TableBorderedExampleComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
9 changes: 9 additions & 0 deletions
9
src/app/table/table-bordered-example/table-bordered-example.component.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'it-table-bordered-example', | ||
templateUrl: './table-bordered-example.component.html' | ||
}) | ||
export class TableBorderedExampleComponent { | ||
|
||
} |
66 changes: 66 additions & 0 deletions
66
src/app/table/table-borderless-example/table-borderless-example.component.html
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,66 @@ | ||
<h3>Tabella senza bordi</h3> | ||
<div class="bd-example"> | ||
<it-table borderless="true"> | ||
<ng-container thead> | ||
<tr> | ||
<th scope="col">#</th> | ||
<th scope="col">Nome</th> | ||
<th scope="col">Cognome</th> | ||
<th scope="col">Username</th> | ||
</tr> | ||
</ng-container> | ||
|
||
<ng-container tbody> | ||
<tr> | ||
<th scope="row">1</th> | ||
<td>Mario</td> | ||
<td>Verdi</td> | ||
<td>mario.verdi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">2</th> | ||
<td>Francesco</td> | ||
<td>Bianchi</td> | ||
<td>francesco.bianchi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">3</th> | ||
<td>Alessandro</td> | ||
<td>Rossi</td> | ||
<td>alessandro.rossi</td> | ||
</tr> | ||
</ng-container> | ||
</it-table> | ||
|
||
<it-table borderless="true" color="dark"> | ||
<ng-container thead> | ||
<tr> | ||
<th scope="col">#</th> | ||
<th scope="col">Nome</th> | ||
<th scope="col">Cognome</th> | ||
<th scope="col">Username</th> | ||
</tr> | ||
</ng-container> | ||
|
||
<ng-container tbody> | ||
<tr> | ||
<th scope="row">1</th> | ||
<td>Mario</td> | ||
<td>Verdi</td> | ||
<td>mario.verdi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">2</th> | ||
<td>Francesco</td> | ||
<td>Bianchi</td> | ||
<td>francesco.bianchi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">3</th> | ||
<td>Alessandro</td> | ||
<td>Rossi</td> | ||
<td>alessandro.rossi</td> | ||
</tr> | ||
</ng-container> | ||
</it-table> | ||
</div> |
23 changes: 23 additions & 0 deletions
23
src/app/table/table-borderless-example/table-borderless-example.component.spec.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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { TableBorderlessExampleComponent } from './table-borderless-example.component'; | ||
|
||
describe('TableBorderlessExampleComponent', () => { | ||
let component: TableBorderlessExampleComponent; | ||
let fixture: ComponentFixture<TableBorderlessExampleComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ TableBorderlessExampleComponent ] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(TableBorderlessExampleComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
9 changes: 9 additions & 0 deletions
9
src/app/table/table-borderless-example/table-borderless-example.component.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'it-table-borderless-example', | ||
templateUrl: './table-borderless-example.component.html' | ||
}) | ||
export class TableBorderlessExampleComponent { | ||
|
||
} |
71 changes: 71 additions & 0 deletions
71
src/app/table/table-caption-example/table-caption-example.component.html
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,71 @@ | ||
<h3>Caption</h3> | ||
<div class="bd-example"> | ||
<it-table compact="true"> | ||
<ng-container thead> | ||
<tr> | ||
<th scope="col">#</th> | ||
<th scope="col">Nome</th> | ||
<th scope="col">Cognome</th> | ||
<th scope="col">Username</th> | ||
</tr> | ||
</ng-container> | ||
|
||
<ng-container tbody> | ||
<tr> | ||
<th scope="row">1</th> | ||
<td>Mario</td> | ||
<td>Verdi</td> | ||
<td>mario.verdi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">2</th> | ||
<td>Francesco</td> | ||
<td>Bianchi</td> | ||
<td>francesco.bianchi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">3</th> | ||
<td>Alessandro</td> | ||
<td>Rossi</td> | ||
<td>alessandro.rossi</td> | ||
</tr> | ||
</ng-container> | ||
|
||
<ng-container caption>Lista degli utenti</ng-container> | ||
</it-table> | ||
|
||
<it-table compact="true" captionTop="true"> | ||
<ng-container thead> | ||
<tr> | ||
<th scope="col">#</th> | ||
<th scope="col">Nome</th> | ||
<th scope="col">Cognome</th> | ||
<th scope="col">Username</th> | ||
</tr> | ||
</ng-container> | ||
|
||
<ng-container tbody> | ||
<tr> | ||
<th scope="row">1</th> | ||
<td>Mario</td> | ||
<td>Verdi</td> | ||
<td>mario.verdi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">2</th> | ||
<td>Francesco</td> | ||
<td>Bianchi</td> | ||
<td>francesco.bianchi</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">3</th> | ||
<td>Alessandro</td> | ||
<td>Rossi</td> | ||
<td>alessandro.rossi</td> | ||
</tr> | ||
</ng-container> | ||
|
||
<ng-container caption>Lista degli utenti</ng-container> | ||
</it-table> | ||
|
||
</div> |
Empty file.
23 changes: 23 additions & 0 deletions
23
src/app/table/table-caption-example/table-caption-example.component.spec.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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { TableCaptionExampleComponent } from './table-caption-example.component'; | ||
|
||
describe('TableCaptionExampleComponent', () => { | ||
let component: TableCaptionExampleComponent; | ||
let fixture: ComponentFixture<TableCaptionExampleComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ TableCaptionExampleComponent ] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(TableCaptionExampleComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
10 changes: 10 additions & 0 deletions
10
src/app/table/table-caption-example/table-caption-example.component.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'it-table-caption-example', | ||
templateUrl: './table-caption-example.component.html', | ||
styleUrls: ['./table-caption-example.component.scss'] | ||
}) | ||
export class TableCaptionExampleComponent { | ||
|
||
} |
Oops, something went wrong.
84cb4d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
design-angular-kit – ./
design-angular-kit.vercel.app
design-angular-kit-git-main-dip-trasformazione-digitale.vercel.app
design-angular-kit-dip-trasformazione-digitale.vercel.app