Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ng 19 #12883

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

feat: ng 19 #12883

wants to merge 8 commits into from

Conversation

droshev
Copy link
Contributor

@droshev droshev commented Dec 27, 2024

closes #12741

BREAKING CHANGES: angular 19 support

Copy link

netlify bot commented Dec 27, 2024

Deploy Preview for fundamental-ngx ready!

Name Link
🔨 Latest commit 3b4b70c
🔍 Latest deploy log https://app.netlify.com/sites/fundamental-ngx/deploys/679167a3d5048e0007000bf1
😎 Deploy Preview https://deploy-preview-12883--fundamental-ngx.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Dec 27, 2024

Visit the preview URL for this PR (updated for commit 3b4b70c):

https://fundamental-ngx-gh--pr12883-feat-ng19-2-4n9bjnmd.web.app

(expires Sat, 25 Jan 2025 21:53:22 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 41b993ee8e451bd7c6770b342ce142dc886eacff

@droshev droshev added this to the Sprint 141 - December 2024 milestone Dec 27, 2024
@droshev droshev self-assigned this Dec 27, 2024
@droshev droshev mentioned this pull request Dec 29, 2024
6 tasks
@droshev droshev added the ng19 Angular 19 support label Dec 29, 2024
@droshev droshev force-pushed the feat/ng19-2 branch 7 times, most recently from c072000 to 9bb9e08 Compare December 30, 2024 21:16
Comment on lines +1 to 3
@use '@sap-ui/common-css/dist/sass/_common-mixins.scss' as sap;
@use 'fundamental-styles/dist/avatar-group.css';

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why @use and not @import?

@@ -22,7 +22,7 @@ export class CardCounterDirective implements OnInit, OnChanges, CssClassBuilder
* the status represented by the Object Status.
* can be one of the following: 'negative' | 'critical' | 'positive' | 'informative' | 'neutral'
*/
statusInput = input<ObjectStatus>('neutral', { alias: 'status' });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need the alias

Comment on lines +1 to +2
@use '@sap-ui/common-css/dist/sass/_common-mixins.scss' as sap;
@use 'fundamental-styles/dist/link.css';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why @use ?

Comment on lines +1 to +2
@use '@angular/cdk/overlay-prebuilt.css';
@use 'fundamental-styles/dist/message-toast.css';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why @use?

Comment on lines +1 to +2
@use 'fundamental-styles/dist/popover.css';
@use '@angular/cdk/overlay-prebuilt.css';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why @use?

@@ -24,7 +24,8 @@ import { NestedListPopoverInterface } from './nested-list-popover.interface';
templateUrl: './nested-list-popover.component.html',
styleUrl: './nested-list-popover.component.scss',
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed

@@ -31,7 +31,8 @@ import { NestedListInterface } from './nested-list.interface';
template: ` <ng-content></ng-content> `,
// eslint-disable-next-line @angular-eslint/component-selector
selector: '[cxNestedList], [fdx-nested-list], ul[fdx-nested-list]',
providers: [contentDensityObserverProviders()]
providers: [contentDensityObserverProviders()],
standalone: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed

@@ -10,7 +10,8 @@ import { NestedListComponent } from '../nested-list/nested-list.component';
selector: 'fdx-prepared-nested-list',
templateUrl: './prepared-nested-list.component.html',
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed

@@ -1,7 +1,8 @@
import { Directive, HostBinding } from '@angular/core';

@Directive({
selector: '[cxSideNavButton], [fdx-side-nav-button]'
selector: '[cxSideNavButton], [fdx-side-nav-button]',
standalone: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed

@@ -3,7 +3,8 @@ import { NestedListComponent } from '@fundamental-ngx/cx/nested-list';

@Directive({
// eslint-disable-next-line @angular-eslint/directive-selector
selector: '[cxSideNavigationUtility], [fdx-side-nav-utility]'
selector: '[cxSideNavigationUtility], [fdx-side-nav-utility]',
standalone: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no it can't, in angular 19 default for standalone is true

@droshev droshev force-pushed the feat/ng19-2 branch 6 times, most recently from 5838432 to 573180c Compare January 22, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ng19 Angular 19 support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Angular 19 support
4 participants