Skip to content

Commit 95b3141

Browse files
committed
fix(material): mat-placeholde -> mat-label
1 parent 035ebab commit 95b3141

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

PLAYBOOK.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,11 @@ npm i angular-in-memory-web-api
140140
# Add oauth2-oidc
141141
npm i angular-oauth2-oidc
142142

143-
# Add ngxs
144-
npm i @ngxs/devtools-plugin @ngxs/store @ngxs/router-plugin
143+
# Add NGXS
144+
ng add @ngxs/schematics
145+
# or add NGXS manually
146+
npm i @ngxs/devtools-plugin @ngxs/store @ngxs/router-plugin @ngxs/form-plugin @ngxs/devtools-plugin
147+
npm i -D @ngxs/schematics
145148

146149
# Add formly
147150
ng add @ngx-formly/schematics --ui-theme=material
@@ -371,7 +374,8 @@ ng g directive IconSidenav --project=sidenav --dry-run
371374

372375
# generate components for `auth` Module
373376
ng g lib auth --prefix=ngx --tags=private-module,core-module --prefix=ngx --style=scss --unit-test-runner=jest --dry-run
374-
ng g component components/login --project=auth --dry-run
377+
ng g component components/login --project=auth --dry-run
378+
ng g @ngxs/schematics:store --name=auth --spec --project=auth --dry-run
375379

376380
# generate components for `navigator` Module
377381
ng g lib navigator --prefix=ngx --tags=private-module,core-module --unit-test-runner=jest --dry-run

libs/grid/src/lib/containers/accounts-grid-list/accounts-grid-list.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!--<div>Accounts | </div> -->
66
<mat-form-field fxFlex>
77
<input matInput #filter (keyup)="applyFilter($event.target.value)">
8-
<mat-placeholder>
8+
<mat-label>
99
<mat-icon>search</mat-icon>
1010
Filter
11-
</mat-placeholder>
11+
</mat-label>
1212
</mat-form-field>
1313
<mat-button-toggle-group #gridView="matButtonToggleGroup" style="margin-left: 16px">
1414
<mat-button-toggle value='list'>

libs/shared/src/lib/containers/entity/entity.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<mat-toolbar *ngIf="showToolbar">
88
<mat-form-field fxFlex>
99
<input matInput #filter (keyup)="applyFilter($event.target.value)">
10-
<mat-placeholder>
10+
<mat-label>
1111
<mat-icon>search</mat-icon>Filter
12-
</mat-placeholder>
12+
</mat-label>
1313
<button mat-button *ngIf="filter.value !== ''" matSuffix mat-icon-button aria-label="Clear" (click)="filter.value= ''">
1414
<mat-icon>close</mat-icon>
1515
</button>

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158
"d3": "^4.13.0",
159159
"d3-selection-multi": "^1.0.1",
160160
"dotenv": "^6.1.0",
161+
"filepond": "^3.3.0",
161162
"filepond-plugin-file-encode": "^2.0.0",
162163
"filepond-plugin-file-validate-size": "^2.0.0",
163164
"filepond-plugin-file-validate-type": "^1.2.0",

0 commit comments

Comments
 (0)