Skip to content
Merged
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
@@ -1,4 +1,4 @@
<mat-table [dataSource]="dataSource" class="mat-elevation-z8 example-table">
<mat-table [dataSource]="dataSource" class="mat-shadow-2 example-table">
<!-- Position Column -->
<ng-container matColumnDef="position" sticky>
<mat-header-cell *matHeaderCellDef [matResizableMaxWidthPx]="100"> No. </mat-header-cell>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8 example-table">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2 example-table">
<!-- Position Column -->
<ng-container matColumnDef="position" sticky>
<th mat-header-cell *matHeaderCellDef [matResizableMaxWidthPx]="100"> No. </th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table columnResize [dataSource]="dataSource" class="mat-elevation-z8 example-table">
<table mat-table columnResize [dataSource]="dataSource" class="mat-shadow-2 example-table">
<!-- Position Column -->
<ng-container matColumnDef="position" sticky>
<th mat-header-cell *matHeaderCellDef resizable [matResizableMaxWidthPx]="100"> No. </th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<div class="example-container"
[class.mat-elevation-z2]="!isActive"
[class.mat-elevation-z8]="isActive">
<div class="example-container" [class.mat-shadow-1]="!isActive" [class.mat-shadow-4]="isActive">
Example
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</mat-form-field>


<div class="example-ripple-container mat-elevation-z4"
<div class="example-ripple-container mat-shadow-2"
matRipple
[matRippleCentered]="centered"
[matRippleDisabled]="disabled"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2">

<!--- Note that these columns can be defined in any order.
The actual rendered columns are set as a property on the row definition" -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8 demo-table">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2 demo-table">
<!-- Position Column -->
<ng-container matColumnDef="demo-position">
<th mat-header-cell *matHeaderCellDef> No. </th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-table #table [dataSource]="dataSource" class="mat-elevation-z8" cdkDropList (cdkDropListDropped)="drop($event)"
<mat-table #table [dataSource]="dataSource" class="mat-shadow-2" cdkDropList (cdkDropListDropped)="drop($event)"
cdkDropListData="dataSource">
<!-- Position Column -->
<ng-container matColumnDef="position" sticky>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</button>
</div>

<table mat-table [dataSource]="dataSource" class="mat-elevation-z8 demo-table">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2 demo-table">
<!-- Position Column -->
<ng-container matColumnDef="position">
<th mat-header-cell *matHeaderCellDef>No.</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<button matButton="elevated" (click)="removeColumn()"> Remove column </button>
<button matButton="elevated" (click)="shuffle()"> Shuffle </button>

<table mat-table [dataSource]="data" class="mat-elevation-z8">
<table mat-table [dataSource]="data" class="mat-shadow-2">
@for (column of displayedColumns; track column) {
<ng-container [matColumnDef]="column">
<th mat-header-cell *matHeaderCellDef> {{column}} </th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</button>
</div>

<table mat-table [dataSource]="dataSource" class="mat-elevation-z8 demo-table">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2 demo-table">
<!-- Position Column -->
<ng-container matColumnDef="position">
<th mat-header-cell *matHeaderCellDef>No.</th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<table mat-table
[dataSource]="dataSource" multiTemplateDataRows
class="mat-elevation-z8">
class="mat-shadow-2">
@for (column of columnsToDisplay; track column) {
<ng-container matColumnDef="{{column}}">
<th mat-header-cell *matHeaderCellDef>{{column}}</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<input matInput (keyup)="applyFilter($event)" placeholder="Ex. ium" #input>
</mat-form-field>

<table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2">

<!-- Position Column -->
<ng-container matColumnDef="position">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<mat-table [dataSource]="dataSource" class="mat-shadow-2">
<!-- Position Column -->
<ng-container matColumnDef="position">
<mat-header-cell *matHeaderCellDef> No. </mat-header-cell>
Expand All @@ -25,4 +25,4 @@

<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row>
</mat-table>
</mat-table>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<mat-table [dataSource]="dataSource" class="mat-shadow-2">
<!-- Position Column -->
<ng-container matColumnDef="position">
<mat-header-cell *matHeaderCellDef> No. </mat-header-cell>
Expand All @@ -25,4 +25,4 @@

<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
<mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row>
</mat-table>
</mat-table>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="transactions" class="mat-elevation-z8">
<table mat-table [dataSource]="transactions" class="mat-shadow-2">
<!-- Item Column -->
<ng-container matColumnDef="item">
<th mat-header-cell *matHeaderCellDef> Item </th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8 demo-table">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2 demo-table">
@for (column of columns; track column) {
<ng-container [matColumnDef]="column.columnDef">
<th mat-header-cell *matHeaderCellDef>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="example-container mat-elevation-z8">
<div class="example-container mat-shadow-2">
@if (isLoadingResults || isRateLimitReached) {
<div class="example-loading-shade">
@if (isLoadingResults) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="transactions" class="mat-elevation-z8">
<table mat-table [dataSource]="transactions" class="mat-shadow-2">
<!-- Item Column -->
<ng-container matColumnDef="item">
<th mat-header-cell *matHeaderCellDef> Item </th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="mat-elevation-z8">
<div class="mat-shadow-2">
<table mat-table [dataSource]="dataSource" multiTemplateDataRows>
<!-- Position Column -->
<ng-container matColumnDef="position">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<input matInput (keyup)="applyFilter($event)" placeholder="Ex. Mia" #input>
</mat-form-field>

<div class="mat-elevation-z8">
<div class="mat-shadow-2">
<table mat-table [dataSource]="dataSource" matSort>

<!-- ID Column -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="mat-elevation-z8">
<div class="mat-shadow-2">
<table mat-table [dataSource]="dataSource">

<!-- Position Column -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table class="example-table mat-elevation-z8" mat-table recycleRows [dataSource]="dataSource">
<table class="example-table mat-shadow-2" mat-table recycleRows [dataSource]="dataSource">
<!-- Position Column -->
<ng-container matColumnDef="position">
<th mat-header-cell *matHeaderCellDef> No. </th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8 demo-table">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2 demo-table">
<!-- Position Column -->
<ng-container matColumnDef="position">
<th mat-header-cell *matHeaderCellDef>No.</th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="data" class="mat-elevation-z8">
<table mat-table [dataSource]="data" class="mat-shadow-2">
<!-- Implicit Column -->
<ng-container matColumnDef="$implicit">
<th mat-header-cell *matHeaderCellDef> $implicit </th>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2">

<!-- Checkbox Column -->
<ng-container matColumnDef="select">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<table mat-table [dataSource]="dataSource" matSort (matSortChange)="announceSortChange($event)"
class="mat-elevation-z8">
class="mat-shadow-2">

<!-- Position Column -->
<ng-container matColumnDef="position">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="example-container mat-elevation-z8" tabindex="0">
<section class="example-container mat-shadow-2" tabindex="0">
<table mat-table [dataSource]="dataSource">

<!-- Name Column -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</mat-button-toggle-group>
</div>

<section class="example-container mat-elevation-z8" tabindex="0">
<section class="example-container mat-shadow-2" tabindex="0">
@for (table of tables; track table) {
<mat-table [dataSource]="dataSource">
<ng-container matColumnDef="position" [sticky]="isSticky(stickyColumns, 'position')">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</mat-button-toggle-group>
</div>

<section class="example-container mat-elevation-z8" tabindex="0">
<section class="example-container mat-shadow-2" tabindex="0">
@for (table of tables; track table) {
<table mat-table [dataSource]="dataSource">
<ng-container matColumnDef="position" [sticky]="isSticky(stickyColumns, 'position')">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="example-container mat-elevation-z8" tabindex="0">
<section class="example-container mat-shadow-2" tabindex="0">
<table mat-table [dataSource]="transactions">
<!-- Item Column -->
<ng-container matColumnDef="item">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="example-container mat-elevation-z8" tabindex="0">
<section class="example-container mat-shadow-2" tabindex="0">
<table mat-table [dataSource]="dataSource">

<!-- Position Column -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2">
<mat-text-column name="position" [headerText]="headerText"></mat-text-column>

<!-- Change the header text. -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<table mat-table [dataSource]="dataSource" class="mat-shadow-2">
<mat-text-column name="position"></mat-text-column>
<mat-text-column name="name"></mat-text-column>
<mat-text-column name="weight"></mat-text-column>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-table [dataSource]="dataSource" class="mat-elevation-z8">
<mat-table [dataSource]="dataSource" class="mat-shadow-2">
<ng-container matColumnDef="name">
<mat-header-cell mat-header-cell *matHeaderCellDef> Name </mat-header-cell>
<mat-cell mat-cell *matCellDef="let element"> {{element.name}} </mat-cell>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<table mat-table [dataSource]="dataSource()" class="mat-elevation-z8">
<table mat-table [dataSource]="dataSource()" class="mat-shadow-2">
<ng-content></ng-content>

<!-- Position Column -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<mat-tab-group dynamicHeight>
<!-- #enddocregion dynamic-height -->
<mat-tab label="Short tab">
<div class="example-small-box mat-elevation-z4">
<div class="example-small-box mat-shadow-2">
Small content
</div>
</mat-tab>
<mat-tab label="Long tab">
<div class="example-large-box mat-elevation-z4">
<div class="example-large-box mat-shadow-2">
Large content
</div>
</mat-tab>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-tab-group mat-stretch-tabs class="example-stretched-tabs mat-elevation-z4">
<mat-tab-group mat-stretch-tabs class="example-stretched-tabs mat-shadow-2">
<mat-tab label="First"> Content 1 </mat-tab>
<mat-tab label="Second"> Content 2 </mat-tab>
<mat-tab label="Third"> Content 3 </mat-tab>
Expand Down
Loading