ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.02k stars 13.51k forks source link

bug: #29242

Closed avatier-leonardoc closed 6 months ago

avatier-leonardoc commented 6 months ago

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

When running ionic serve / ionic build I get the following warnings

▲ [WARNING] 2 rules skipped due to selector errors: [ng] .modal-fullscreen::part(content) -> Pseudo-elements are not supported by css-select [ng] ion-select::part(container) -> Pseudo-elements are not supported by css-select

Expected Behavior

Do not show these warnings

Steps to Reproduce

  1. Add a pseudo-elements explained on 'https://ionicframework.com/docs/ja/v6/theming/css-shadow-parts' to CSS
  2. run ionic server or ionic build --prod
  3. Get the warning

Code Reproduction URL

https://ionicframework.com/start#basics

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (C:\Users\leoba\AppData\Roaming\npm\node_modules\@ionic\cli) Ionic Framework : @ionic/angular 7.8.2 @angular-devkit/build-angular : 17.3.2 @angular-devkit/schematics : 17.3.2 @angular/cli : 17.3.2 @ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 5.7.4 @capacitor/android : 5.7.4 @capacitor/core : 5.7.4 @capacitor/ios : 5.7.4

Utility:

cordova-res : not installed globally native-run : 2.0.1

System:

NodeJS : v20.11.1 (C:\Program Files\nodejs\node.exe) npm : 8.18.0 OS : Windows 10

Additional Information

No response

ionitron-bot[bot] commented 6 months ago

Thanks for the issue! This issue has been labeled as needs reproduction. This label is added to issues that need a code reproduction.

Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed.

If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue.

For a guide on how to create a good reproduction, see our Contributing Guide.

averyjohnston commented 6 months ago

This issue is being closed due to lack of a reproduction. If this is still a problem in the latest version of Ionic, please open a new issue and ensure the template is fully filled out. Thank you!