Skip to content

Commit 124de51

Browse files
committed
feat: update to angular 19
1 parent b36eeaf commit 124de51

File tree

228 files changed

+16726
-15810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+16726
-15810
lines changed

package-lock.json

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

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -41,49 +41,49 @@
4141
},
4242
"private": true,
4343
"dependencies": {
44-
"@angular/animations": "^18.0.0",
45-
"@angular/common": "^18.0.0",
46-
"@angular/compiler": "^18.0.0",
47-
"@angular/core": "^18.0.0",
48-
"@angular/forms": "^18.0.0",
49-
"@angular/platform-browser": "^18.0.0",
50-
"@angular/platform-browser-dynamic": "^18.0.0",
51-
"@angular/router": "^18.0.0",
44+
"@angular/animations": "^19.0.0",
45+
"@angular/common": "^19.0.0",
46+
"@angular/compiler": "^19.0.0",
47+
"@angular/core": "^19.0.0",
48+
"@angular/forms": "^19.0.0",
49+
"@angular/platform-browser": "^19.0.0",
50+
"@angular/platform-browser-dynamic": "^19.0.0",
51+
"@angular/router": "^19.0.0",
5252
"@fortawesome/angular-fontawesome": "^0.15.0",
53-
"@fortawesome/fontawesome-svg-core": "^6.5.2",
54-
"@fortawesome/pro-solid-svg-icons": "^6.5.2",
53+
"@fortawesome/fontawesome-svg-core": "^6.7.0",
54+
"@fortawesome/pro-solid-svg-icons": "^6.7.0",
5555
"highlight.js": "^11.8.0",
5656
"ngx-highlightjs": "^10.0.0",
5757
"rxjs": "~7.8.0",
5858
"tslib": "^2.3.0",
59-
"zone.js": "~0.14.2"
59+
"zone.js": "~0.15.0"
6060
},
6161
"devDependencies": {
62-
"@angular-devkit/build-angular": "^18.0.1",
63-
"@angular-eslint/builder": "18.0.1",
64-
"@angular-eslint/eslint-plugin": "18.0.1",
65-
"@angular-eslint/eslint-plugin-template": "18.0.1",
66-
"@angular-eslint/schematics": "18.0.1",
67-
"@angular-eslint/template-parser": "18.0.1",
68-
"@angular/cli": "^18.0.1",
69-
"@angular/compiler-cli": "^18.0.0",
70-
"@ky/eslint-config": "^18.0.0",
62+
"@angular-devkit/build-angular": "^19.0.0",
63+
"@angular-eslint/builder": "18.4.1",
64+
"@angular-eslint/eslint-plugin": "18.4.1",
65+
"@angular-eslint/eslint-plugin-template": "18.4.1",
66+
"@angular-eslint/schematics": "18.4.1",
67+
"@angular-eslint/template-parser": "18.4.1",
68+
"@angular/cli": "^19.0.0",
69+
"@angular/compiler-cli": "^19.0.0",
70+
"@ky/eslint-config": "^18.2.0",
7171
"@types/jasmine": "~5.1.0",
7272
"@types/resize-observer-browser": "^0.1.7",
73-
"@typescript-eslint/eslint-plugin": "^7.10.0",
74-
"@typescript-eslint/parser": "^7.10.0",
73+
"@typescript-eslint/eslint-plugin": "^8.15.0",
74+
"@typescript-eslint/parser": "^8.15.0",
7575
"eslint": "^8.57.0",
7676
"eslint-plugin-no-null": "^1.0.2",
7777
"eslint-plugin-prefer-arrow": "^1.2.3",
78-
"eslint-plugin-unicorn": "^53.0.0",
78+
"eslint-plugin-unicorn": "^56.0.1",
7979
"jasmine-core": "~5.1.0",
8080
"karma": "~6.4.0",
8181
"karma-chrome-launcher": "~3.2.0",
8282
"karma-coverage": "~2.2.0",
8383
"karma-jasmine": "~5.1.0",
8484
"karma-jasmine-html-reporter": "~2.1.0",
8585
"license-to-json": "^1.1.0",
86-
"ng-packagr": "^18.0.0",
87-
"typescript": "~5.4.5"
86+
"ng-packagr": "^19.0.0",
87+
"typescript": "~5.6.3"
8888
}
8989
}

projects/fomantic-ui/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mantic-ui/fomantic-ui-angular",
3-
"version": "18.3.0",
3+
"version": "19.0.0",
44
"scripts": {
55
"copy:fomantic": "npm run copy:accordion && npm run copy:button && npm run copy:checkbox && npm run copy:container && npm run copy:dimmer && npm run copy:divider && npm run copy:dropdown && npm run copy:flag && npm run copy:form && npm run copy:grid && npm run copy:header && npm run copy:icon && npm run copy:image && npm run copy:input && npm run copy:label && npm run copy:list && npm run copy:loader && npm run copy:menu && npm run copy:message && npm run copy:modal && npm run copy:reset && npm run copy:segment && npm run copy:sidebar && npm run copy:site && npm run copy:table && npm run copy:transition",
66
"copy:accordion": "copy ..\\..\\node_modules\\fomantic-ui\\dist\\components\\accordion.css .\\src\\lib\\styles\\components\\accordion.less",
@@ -68,9 +68,9 @@
6868
"url": "https://github.com/KY-Programming/mantic-ui.git"
6969
},
7070
"peerDependencies": {
71-
"@angular/common": "^18.0.0",
72-
"@angular/core": "^18.0.0",
73-
"@mantic-ui/angular": "18.3.0"
71+
"@angular/common": "^19.0.0",
72+
"@angular/core": "^19.0.0",
73+
"@mantic-ui/angular": "19.0.0"
7474
},
7575
"dependencies": {
7676
"tslib": "^2.3.0"

projects/fomantic-ui/src/lib/fomantic-ui-theme/fomantic-ui-theme.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { ThemeService } from '@mantic-ui/angular';
33

44
@Component({
55
selector: 'm-fomantic-ui-theme',
6-
standalone: true,
76
template: '',
87
styleUrls: ['./fomantic-ui-theme.component.less'],
98
encapsulation: ViewEncapsulation.None

projects/mantic-ui-doc/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mantic-ui/angular-doc",
3-
"version": "18.3.0",
3+
"version": "19.0.0",
44
"description": "mantic UI Components for Documentation for Angular",
55
"author": "KY-Programming",
66
"license": "MIT",
@@ -10,9 +10,9 @@
1010
"Angular"
1111
],
1212
"peerDependencies": {
13-
"@angular/common": "^18.0.0",
14-
"@angular/core": "^18.0.0",
15-
"@mantic-ui/angular": "18.3.0",
13+
"@angular/common": "^19.0.0",
14+
"@angular/core": "^19.0.0",
15+
"@mantic-ui/angular": "19.0.0",
1616
"ngx-highlightjs": "> 4",
1717
"highlight.js": "> 10"
1818
},

projects/mantic-ui-doc/src/lib/components/example-code/example-code.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { HighlightModule } from 'ngx-highlightjs';
77
selector: 'm-example-code',
88
templateUrl: './example-code.component.html',
99
styleUrls: ['./example-code.component.scss'],
10-
standalone: true,
1110
imports: [
1211
CommonModule,
1312
HighlightModule,

projects/mantic-ui-doc/src/lib/components/example-frame/example-frame.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { SafePipe } from '@mantic-ui/angular';
55
selector: 'm-example-frame',
66
templateUrl: './example-frame.component.html',
77
styleUrls: ['./example-frame.component.scss'],
8-
standalone: true,
98
imports: [
109
SafePipe
1110
]

projects/mantic-ui-doc/src/lib/components/example/example.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { HighlightModule } from 'ngx-highlightjs';
77
selector: 'm-example',
88
templateUrl: './example.component.html',
99
styleUrls: ['./example.component.scss'],
10-
standalone: true,
1110
imports: [
1211
CommonModule,
1312
HighlightModule,

projects/mantic-ui-doc/src/lib/components/npm-install/npm-install.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { CommonModule } from '@angular/common';
77
selector: 'm-npm-install',
88
templateUrl: './npm-install.component.html',
99
styleUrls: ['./npm-install.component.scss'],
10-
standalone: true,
1110
imports: [
1211
CommonModule,
1312
SegmentComponent

projects/mantic-ui-doc/src/lib/components/npm/npm.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { CommonModule } from '@angular/common';
66
selector: 'm-npm',
77
templateUrl: './npm.component.html',
88
styleUrls: ['./npm.component.scss'],
9-
standalone: true,
109
imports: [
1110
CommonModule
1211
]

projects/mantic-ui-doc/src/lib/components/nuget-install/nuget-install.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { TabComponent, TabGroupComponent } from '@mantic-ui/angular';
77
selector: 'm-nuget-install',
88
templateUrl: './nuget-install.component.html',
99
styleUrls: ['./nuget-install.component.scss'],
10-
standalone: true,
1110
imports: [
1211
CommonModule,
1312
TabComponent,

projects/mantic-ui-doc/src/lib/components/nuget/nuget.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { CommonModule } from '@angular/common';
66
selector: 'm-nuget',
77
templateUrl: './nuget.component.html',
88
styleUrls: ['./nuget.component.scss'],
9-
standalone: true,
109
imports: [
1110
CommonModule
1211
]

projects/mantic-ui/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mantic-ui/angular",
3-
"version": "18.3.0",
3+
"version": "19.0.0",
44
"description": "mantic UI for Angular",
55
"keywords": [
66
"mantic-ui",
@@ -37,15 +37,15 @@
3737
"url": "https://github.com/KY-Programming/mantic-ui.git"
3838
},
3939
"peerDependencies": {
40-
"@angular/common": "^18.0.0",
41-
"@angular/core": "^18.0.0",
42-
"@angular/forms": "^18.0.0",
43-
"@angular/platform-browser": "^18.0.0",
44-
"@angular/router": "^18.0.0",
40+
"@angular/common": "^19.0.0",
41+
"@angular/core": "^19.0.0",
42+
"@angular/forms": "^19.0.0",
43+
"@angular/platform-browser": "^19.0.0",
44+
"@angular/router": "^19.0.0",
4545
"rxjs": "^7.0.0"
4646
},
4747
"optionalDependencies": {
48-
"@fortawesome/angular-fontawesome": "~0.15.0"
48+
"@fortawesome/angular-fontawesome": "~0.16.0"
4949
},
5050
"dependencies": {
5151
"tslib": "^2.3.0"

projects/mantic-ui/src/lib/base/base.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { SortedClassesService } from '../services/sorted-classes.service';
55
import { Destroyable } from './destroyable';
66

77
@Directive({
8-
standalone: true,
98
providers: BaseComponent.providers
109
})
1110
export abstract class BaseComponent extends Destroyable implements OnInit {

projects/mantic-ui/src/lib/base/invertible.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
import { BooleanLike } from '../models/boolean-like';
33
import { BaseComponent } from './base.component';
44

5-
@Directive({
6-
// TODO: Use InvertedDirective
7-
// hostDirectives: [InvertedDirective]
8-
})
5+
@Directive()
96
export abstract class InvertibleComponent extends BaseComponent {
107
protected static override readonly providers = [...BaseComponent.providers];
118

projects/mantic-ui/src/lib/components/animation/animation.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { AnimationDirection } from './animation-direction';
66
selector: 'm-animation',
77
templateUrl: './animation.component.html',
88
styleUrls: ['./animation.component.scss'],
9-
standalone: true,
109
providers: [...BaseComponent.providers]
1110
})
1211
export class AnimationComponent extends BaseComponent {

projects/mantic-ui/src/lib/components/breadcrumb/breadcrumb.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { BaseComponent } from '../../base/base.component';
55
selector: 'm-breadcrumb',
66
templateUrl: './breadcrumb.component.html',
77
styleUrls: ['./breadcrumb.component.scss'],
8-
standalone: true,
98
providers: [...BaseComponent.providers]
109
})
1110
export class BreadcrumbComponent extends BaseComponent {

projects/mantic-ui/src/lib/components/button-group/button-group.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { ToggleButtonComponent } from '../toggle-button/toggle-button.component'
99
selector: 'm-button-group',
1010
templateUrl: './button-group.component.html',
1111
styleUrls: ['./button-group.component.scss'],
12-
standalone: true,
1312
hostDirectives: [ColorDirective.default],
1413
providers: [...BaseComponent.providers]
1514
})

projects/mantic-ui/src/lib/components/button/button-defaults.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { ButtonComponent } from './button.component';
33

44
@Component({
55
selector: 'm-button-defaults',
6-
template: '',
7-
standalone: true
6+
template: ''
87
})
98
export class ButtonDefaultsComponent {
109
@Input()

projects/mantic-ui/src/lib/components/button/button.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export declare type Pointing =
2727
selector: 'm-button',
2828
templateUrl: './button.component.html',
2929
styleUrls: ['./button.component.scss'],
30-
standalone: true,
3130
imports: [
3231
CommonModule,
3332
IconComponent

projects/mantic-ui/src/lib/components/card-group/card-group.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common';
33

44
@Component({
55
selector: 'm-card-group',
6-
standalone: true,
76
imports: [CommonModule],
87
templateUrl: './card-group.component.html',
98
styleUrls: ['./card-group.component.scss']

projects/mantic-ui/src/lib/components/card/card.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { CommonModule } from '@angular/common';
55
selector: 'm-card',
66
templateUrl: './card.component.html',
77
styleUrls: ['./card.component.scss'],
8-
standalone: true,
98
imports: [CommonModule]
109
})
1110
export class CardComponent {

projects/mantic-ui/src/lib/components/cell/cell.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export declare type CellAlign =
1414
selector: 'm-cell',
1515
templateUrl: './cell.component.html',
1616
styleUrls: ['./cell.component.scss'],
17-
standalone: true,
1817
providers: [...BaseComponent.providers]
1918
})
2019
export class CellComponent extends BaseComponent {

projects/mantic-ui/src/lib/components/chat-message/chat-message.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import { RouterLink } from '@angular/router';
1414
ButtonComponent,
1515
ButtonDirective,
1616
RouterLink
17-
],
18-
standalone: true
17+
]
1918
})
2019
export class ChatMessageComponent {
2120

projects/mantic-ui/src/lib/components/chat/chat-defaults.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { IconSize } from '../icon/icon-size';
55

66
@Component({
77
selector: 'm-chat-defaults',
8-
template: '',
9-
standalone: true
8+
template: ''
109
})
1110
export class ChatDefaultsComponent implements OnDestroy {
1211
private readonly previousSendIcon = ChatComponent.defaults.sendIcon;

projects/mantic-ui/src/lib/components/chat/chat.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { InputComponent } from '../input/text/input.component';
1515
selector: 'm-chat',
1616
templateUrl: './chat.component.html',
1717
styleUrls: ['./chat.component.scss'],
18-
standalone: true,
1918
imports: [
2019
CommonModule,
2120
ChatMessageComponent,

projects/mantic-ui/src/lib/components/checkbox/checkbox-defaults.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { CheckboxComponent } from './checkbox.component';
55

66
@Component({
77
selector: 'm-checkbox-defaults',
8-
template: '',
9-
standalone: true
8+
template: ''
109
})
1110
export class CheckboxDefaultsComponent implements OnDestroy {
1211
private readonly previousDropdownIcon = CheckboxComponent.defaults.checkIcon;

projects/mantic-ui/src/lib/components/checkbox/checkbox.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { IconComponent } from '../icon/icon.component';
1616
selector: 'm-checkbox',
1717
templateUrl: './checkbox.component.html',
1818
styleUrls: ['./checkbox.component.scss'],
19-
standalone: true,
2019
imports: [
2120
CommonModule,
2221
IconComponent,

projects/mantic-ui/src/lib/components/circular-progress/circular-progress.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { ColorName } from '../../models/color';
77

88
@Component({
99
selector: 'm-circular-progress',
10-
standalone: true,
1110
imports: [CommonModule],
1211
templateUrl: './circular-progress.component.html',
1312
styleUrls: ['./circular-progress.component.scss'],

projects/mantic-ui/src/lib/components/context-menu/context-menu.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { ContextMenuMouseEvent } from './models/context-menu-mouse-event';
1515
selector: 'm-context-menu',
1616
templateUrl: './context-menu.component.html',
1717
styleUrls: ['./context-menu.component.scss'],
18-
standalone: true,
1918
imports: [
2019
CommonModule,
2120
MenuComponent,

projects/mantic-ui/src/lib/components/context-menu/item/context-menu-item.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { ContextMenuComponent } from '../context-menu.component';
99
selector: 'm-context-menu-item',
1010
templateUrl: './context-menu-item.component.html',
1111
styleUrls: ['./context-menu-item.component.scss'],
12-
standalone: true,
1312
imports: [
1413
IconComponent
1514
],

projects/mantic-ui/src/lib/components/data-source/data-source.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { DataSourceRequest } from './data-source-request';
44

55
@Component({
66
selector: 'm-data-source',
7-
template: '',
8-
standalone: true
7+
template: ''
98
})
109
export class DataSourceComponent {
1110
private readonly requestSubject = new Subject<DataSourceRequest>();

projects/mantic-ui/src/lib/components/dimmer/dimmer-defaults.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { DimmerComponent } from './dimmer.component';
33

44
@Component({
55
selector: 'm-dimmer-defaults',
6-
template: '',
7-
standalone: true
6+
template: ''
87
})
98
export class DimmerDefaultsComponent {
109

projects/mantic-ui/src/lib/components/dimmer/dimmer.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { BooleanLike } from '../../models/boolean-like';
1010
selector: 'm-dimmer',
1111
templateUrl: './dimmer.component.html',
1212
styleUrls: ['./dimmer.component.scss'],
13-
standalone: true,
1413
providers: [...InvertibleComponent.providers]
1514
})
1615
export class DimmerComponent extends InvertibleComponent implements OnInit, OnDestroy {

0 commit comments

Comments
 (0)