Skip to content

Commit a8d9fa8

Browse files
committed
Merge branch 'feat/angular-19'
2 parents 4190062 + 51c933d commit a8d9fa8

26 files changed

+4920
-4062
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
dist
55
tmp
66
/out-tsc
7+
storybook-static
78

89
# dependencies
910
node_modules
@@ -40,4 +41,5 @@ Thumbs.db
4041

4142
.angular
4243

43-
.nx/cache
44+
.nx/cache
45+
.nx/workspace-data

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/coverage
44
.angular
55

6-
/.nx/cache
6+
/.nx/cache
7+
/.nx/workspace-data

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### BREAKING CHANGES
6+
7+
- **Dependency**: Require Angular 19
8+
59
## [18.0.0] - 2024-05-30
610

711
### BREAKING CHANGES

apps/demo/.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"prefix": "app",
2525
"style": "kebab-case"
2626
}
27-
]
27+
],
28+
"@angular-eslint/prefer-standalone": "off"
2829
}
2930
},
3031
{

apps/demo/src/app-demo/app-demo.component.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import {
1111
} from '@perfectmemory/ngx-contextmenu';
1212

1313
@Component({
14-
selector: 'app-demo-context-menu',
15-
styles: [
16-
`
14+
selector: 'app-demo-context-menu',
15+
styles: [
16+
`
1717
.dashboardContainer {
1818
width: 100%;
1919
height: 100%;
@@ -32,8 +32,9 @@ import {
3232
position: absolute;
3333
}
3434
`,
35-
],
36-
templateUrl: './app-demo.component.html',
35+
],
36+
templateUrl: './app-demo.component.html',
37+
standalone: false
3738
})
3839
export class AppDemoComponent {
3940
@Input()

apps/demo/src/app/app.component.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import {
1111
} from '@perfectmemory/ngx-contextmenu';
1212

1313
@Component({
14-
selector: 'demo-context-menu-demo',
15-
styles: [
16-
`
14+
selector: 'demo-context-menu-demo',
15+
styles: [
16+
`
1717
.dashboardContainer {
1818
width: 100%;
1919
height: 100%;
@@ -32,8 +32,9 @@ import {
3232
position: absolute;
3333
}
3434
`,
35-
],
36-
templateUrl: './app.component.html',
35+
],
36+
templateUrl: './app.component.html',
37+
standalone: false
3738
})
3839
export class AppComponent {
3940
@Input()

apps/demo/src/styles.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
@use 'sass:meta';
12
/* You can add global styles to this file, and also import other style files */
23

34
@import '@angular/cdk/overlay-prebuilt.css';
4-
@import '../../../libs/ngx-contextmenu/src/assets/stylesheets/base.scss';
5-
@import '../../../libs/ngx-contextmenu/src/assets/stylesheets/dark-theme.scss';
5+
@include meta.load-css(
6+
'../../../libs/ngx-contextmenu/src/assets/stylesheets/base.scss'
7+
);
8+
@include meta.load-css(
9+
'../../../libs/ngx-contextmenu/src/assets/stylesheets/dark-theme.scss'
10+
);

libs/ngx-contextmenu/.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"prefix": "context-menu",
2525
"style": "kebab-case"
2626
}
27-
]
27+
],
28+
"@angular-eslint/prefer-standalone": "off"
2829
}
2930
},
3031
{

libs/ngx-contextmenu/.storybook/main.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ const config: StorybookConfig = {
2121
},
2222
],
2323

24-
docs: {
25-
autodocs: false,
26-
},
24+
docs: {},
2725
};
2826

2927
export default config;

libs/ngx-contextmenu/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"url": "git+ssh://[email protected]:PerfectMemory/ngx-contextmenu.git"
2525
},
2626
"peerDependencies": {
27-
"@angular/cdk": "^18.0.0",
28-
"@angular/common": "^18.0.0",
29-
"@angular/core": "^18.0.0"
27+
"@angular/cdk": "^19.0.0",
28+
"@angular/common": "^19.0.0",
29+
"@angular/core": "^19.0.0"
3030
},
3131
"dependencies": {
3232
"tslib": "^2.3.0"

0 commit comments

Comments
 (0)