Skip to content

Commit 83ea82b

Browse files
committed
Angular 19 update
1 parent e70d0fc commit 83ea82b

File tree

7 files changed

+63
-63
lines changed

7 files changed

+63
-63
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"private": true,
1212
"dependencies": {
1313
"@angular/animations": "^19.0.4",
14-
"@angular/cdk": "^18.2.14",
14+
"@angular/cdk": "^19.0.3",
1515
"@angular/common": "^19.0.4",
1616
"@angular/compiler": "^19.0.4",
1717
"@angular/core": "^19.0.4",
1818
"@angular/forms": "^19.0.4",
19-
"@angular/material": "^18.2.14",
19+
"@angular/material": "^19.0.3",
2020
"@angular/platform-browser": "^19.0.4",
2121
"@angular/platform-browser-dynamic": "^19.0.4",
2222
"@angular/router": "^19.0.4",

src/app/gadgets/common/gadget-common/gadget-header/gadget-header.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<mat-card-title>{{ title }}</mat-card-title>
77
<mat-card-subtitle>{{ subtitle }}</mat-card-subtitle>
88
<!--<mat-card-subtitle>{{description}}</mat-card-subtitle>-->
9-
<mat-chip-list>
10-
<mat-chip selected color="accent" *ngIf="inConfig">
11-
You are in configuration mode</mat-chip
9+
<mat-chip-listbox>
10+
<mat-chip-option selected color="accent" *ngIf="inConfig">
11+
You are in configuration mode</mat-chip-option
1212
>
13-
</mat-chip-list>
13+
</mat-chip-listbox>
1414
<button
1515
mat-icon-button
1616
class="more-button"

src/app/gadgets/events/events.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<mat-card-content *ngIf="!inConfig">
1010
<mat-form-field appearance="fill">
1111
<mat-label>Events</mat-label>
12-
<mat-chip-list>
13-
<mat-chip color="warn" selected *ngFor="let event of getEvents()">{{event.description}} &nbsp;&nbsp; {{event.datetime}}</mat-chip>
14-
</mat-chip-list>
12+
<mat-chip-listbox>
13+
<mat-chip-option color="warn" selected *ngFor="let event of getEvents()">{{event.description}} &nbsp;&nbsp; {{event.datetime}}</mat-chip-option>
14+
</mat-chip-listbox>
1515
</mat-form-field>
1616
</mat-card-content>
1717

src/app/gadgets/packaging-line/pck-line.component.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,37 @@
66
<mat-card-content *ngIf="!inConfig">
77
<mat-form-field appearance="fill">
88
<mat-label>Line Lead(s)</mat-label>
9-
<mat-chip-list>
10-
<mat-chip color="accent" selected *ngFor="let lead of lineleads">{{lead}}</mat-chip>
11-
</mat-chip-list>
9+
<mat-chip-listbox>
10+
<mat-chip-option color="accent" selected *ngFor="let lead of lineleads">{{lead}}</mat-chip-option>
11+
</mat-chip-listbox>
1212
</mat-form-field>
1313

1414
<mat-form-field appearance="fill">
1515
<mat-label>Driver</mat-label>
16-
<mat-chip-list>
17-
<mat-chip selected color="primary">{{driver}}</mat-chip>
18-
</mat-chip-list>
16+
<mat-chip-listbox>
17+
<mat-chip-option selected color="primary">{{driver}}</mat-chip-option>
18+
</mat-chip-listbox>
1919
</mat-form-field>
2020

2121
<mat-form-field class="small-control" appearance="fill">
2222
<mat-label>Material Handler Qty</mat-label>
23-
<mat-chip-list>
24-
<mat-chip>{{mcount}}</mat-chip>
25-
</mat-chip-list>
23+
<mat-chip-listbox>
24+
<mat-chip-option>{{mcount}}</mat-chip-option>
25+
</mat-chip-listbox>
2626
</mat-form-field>
2727

2828
<mat-form-field class="small-control" appearance="fill">
2929
<mat-label>Personell Qty</mat-label>
30-
<mat-chip-list>
31-
<mat-chip>{{pcount}}</mat-chip>
32-
</mat-chip-list>
30+
<mat-chip-listbox>
31+
<mat-chip-option>{{pcount}}</mat-chip-option>
32+
</mat-chip-listbox>
3333
</mat-form-field>
3434

3535
<mat-form-field appearance="fill">
3636
<mat-label>Break</mat-label>
37-
<mat-chip-list>
38-
<mat-chip>{{lunch}}</mat-chip>
39-
</mat-chip-list>
37+
<mat-chip-listbox>
38+
<mat-chip-option>{{lunch}}</mat-chip-option>
39+
</mat-chip-listbox>
4040
</mat-form-field>
4141
<!--
4242
<mat-form-field class="example-full-width" appearance="fill">

src/app/gadgets/score-card/score-card.component.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
</app-gadget-header>
1111
<mat-card-content *ngIf="!inConfig">
1212
<div class="subsection">
13-
<mat-chip-list class="example-chip">
14-
<mat-chip selected color="primary" class="example-box">
13+
<mat-chip-listbox class="example-chip">
14+
<mat-chip-option selected color="primary" class="example-box">
1515
Team Lead: {{ teamLead }}
16-
</mat-chip>
17-
<mat-chip selected color="primary" class="example-box">
16+
</mat-chip-option>
17+
<mat-chip-option selected color="primary" class="example-box">
1818
Job Number: {{ jobNumber }}
19-
</mat-chip>
20-
<mat-chip selected color="primary" class="example-box">
19+
</mat-chip-option>
20+
<mat-chip-option selected color="primary" class="example-box">
2121
Date: {{ date }}
22-
</mat-chip>
23-
</mat-chip-list>
22+
</mat-chip-option>
23+
</mat-chip-listbox>
2424
</div>
2525

2626
<br />
@@ -38,7 +38,7 @@
3838
<ng-container matColumnDef="goal">
3939
<th mat-header-cell *matHeaderCellDef>Goals</th>
4040
<td mat-cell *matCellDef="let element">
41-
<mat-form-field class="number-form-field" floatLabel="never">
41+
<mat-form-field class="number-form-field">
4242
<input
4343
matInput
4444
type="number"
@@ -54,7 +54,7 @@
5454
<ng-container matColumnDef="actual">
5555
<th mat-header-cell *matHeaderCellDef>Actual</th>
5656
<td mat-cell *matCellDef="let element">
57-
<mat-form-field class="number-form-field" floatLabel="never">
57+
<mat-form-field class="number-form-field">
5858
<input
5959
matInput
6060
type="number"
@@ -70,7 +70,7 @@
7070
<ng-container matColumnDef="comments">
7171
<th mat-header-cell *matHeaderCellDef>Comments</th>
7272
<mat-cell *matCellDef="let element">
73-
<mat-form-field floatLabel="never">
73+
<mat-form-field >
7474
<input
7575
matInput
7676
placeholder="Comments"

src/app/gadgets/usergroup/usergroup.component.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
<mat-card-content *ngIf="!inConfig">
1010
<mat-form-field appearance="fill">
1111
<mat-label>Line Lead(s)</mat-label>
12-
<mat-chip-list>
13-
<mat-chip color="warn" selected *ngFor="let user of getUsersByRole('lead')">{{user.username}}</mat-chip>
14-
</mat-chip-list>
12+
<mat-chip-listbox>
13+
<mat-chip-option color="warn" selected *ngFor="let user of getUsersByRole('lead')">{{user.username}}</mat-chip-option>
14+
</mat-chip-listbox>
1515
</mat-form-field>
1616

1717
<mat-form-field appearance="fill">
1818
<mat-label>Drivers</mat-label>
19-
<mat-chip-list>
20-
<mat-chip color="warn" selected *ngFor="let user of getUsersByRole('driver')">{{user.username}}</mat-chip>
21-
</mat-chip-list>
19+
<mat-chip-listbox>
20+
<mat-chip-option color="warn" selected *ngFor="let user of getUsersByRole('driver')">{{user.username}}</mat-chip-option>
21+
</mat-chip-listbox>
2222
</mat-form-field>
2323
</mat-card-content>
2424

0 commit comments

Comments
 (0)