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

fix: migrate styles-components from using selectors #5635

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

vakhramoff
Copy link

@vakhramoff vakhramoff commented Oct 13, 2023

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactoring
  • Build or CI related changes
  • Tests related changes
  • Documentation content changes

What is the current behaviour?

Developers that are using Angular 16 currently are facing an issue having an NG0912 compilation warning.

Closes #5606

What is the new behaviour?

Styles components now use host.class to insure that there will be no similar metadata for two different components. The additional side-effect, a bonus, of this approach is that the IDE won't suggest these components to use in the template.

@lumberjack-bot
Copy link

lumberjack-bot bot commented Oct 13, 2023

Pull request was closed ✔️

All saved screenshots (for current PR) were deleted 🗑️

@vakhramoff vakhramoff force-pushed the bugfix/ng0912-warning branch from b875588 to 8943f49 Compare October 13, 2023 16:16
@vakhramoff vakhramoff changed the title fix(addon-mobile,cdk,core,experimental): migrate styles-components fr… fix: migrate styles-components from using selectors Oct 13, 2023
@bundlemon
Copy link

bundlemon bot commented Oct 13, 2023

BundleMon

Files updated (1)
Status Path Size Limits
demo/browser/main.(hash).js
336.07KB (+50B +0.01%) +10%
Unchanged files (5)
Status Path Size Limits
demo/browser/vendor.(hash).js
201.19KB +10%
demo/browser/runtime.(hash).js
38.01KB +10%
demo/browser/polyfills.(hash).js
18.28KB +10%
demo/browser/scripts.(hash).js
17.9KB +10%
demo/browser/styles.(hash).css
1.67KB +10%

Total files change +52B +0.01%

Groups updated (1)
Status Path Size Limits
demo/browser/*..js
2.17MB (+77B 0%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@github-actions
Copy link
Contributor

github-actions bot commented Oct 13, 2023

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

https://taiga-ui--pr5635-bugfix-ng0912-warnin-2e5bubv8.web.app

(expires Sat, 14 Oct 2023 16:38:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4b5ece1e114386f6a105425ef799091475b249eb

@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Merging #5635 (ee704c6) into main (d6751cd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #5635   +/-   ##
=======================================
  Coverage   72.39%   72.39%           
=======================================
  Files        1448     1448           
  Lines       15773    15773           
  Branches     2216     2216           
=======================================
  Hits        11419    11419           
  Misses       3992     3992           
  Partials      362      362           
Flag Coverage Δ
addon-charts 71.10% <ø> (ø)
addon-doc 60.53% <ø> (ø)
addon-mobile 61.14% <ø> (ø)
addon-table 61.01% <ø> (ø)
addon-tablebars 90.90% <ø> (ø)
cdk 78.74% <ø> (ø)
core 78.16% <ø> (ø)
kit 70.91% <ø> (ø)
summary 72.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...le/directives/mobile-tabs/mobile-tabs.component.ts 100.00% <ø> (ø)
...obile/directives/ripple/ripple-styles.component.ts 100.00% <ø> (ø)
...irectives/autofilled/autofilled-style.component.ts 100.00% <ø> (ø)
...ts/core/components/group/group-styles.component.ts 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@vakhramoff vakhramoff force-pushed the bugfix/ng0912-warning branch from 8943f49 to ee704c6 Compare October 13, 2023 16:31
@waterplea waterplea merged commit 04ebdba into main Oct 16, 2023
@waterplea waterplea deleted the bugfix/ng0912-warning branch October 16, 2023 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

🐞 - Ошибки NG0912
3 participants