Title: feat: `::part` support in Angular's Emulated CSS parser · Issue #22515 · angular/angular · GitHub
Open Graph Title: feat: `::part` support in Angular's Emulated CSS parser · Issue #22515 · angular/angular
X Title: feat: `::part` support in Angular's Emulated CSS parser · Issue #22515 · angular/angular
Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [x ] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submit support request her...
Open Graph Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [x ] Feature request [ ] Documentation issue or request [ ] Support request => ...
X Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [x ] Feature request [ ] Documentation issue or request [ ] Support request...
Opengraph URL: https://github.com/angular/angular/issues/22515
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: `::part` support in Angular's Emulated CSS parser ","articleBody":"## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" --\u003e\r\n\u003cpre\u003e\u003ccode\u003e\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ ] Bug report \u003c!-- Please search GitHub for a similar issue or PR before submitting --\u003e\r\n[x ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request =\u003e Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n\u003c/code\u003e\u003c/pre\u003e\r\n\r\n## Current behavior\r\nAngular has no real replacement for the deprecated /deep/ (aka \u003e\u003e\u003e and ::ng-deep) which are all marked as deprecated. \r\n\r\n\r\n## Expected behavior\r\nAngular should be at the forefront of web technology and provide today the technologies of tomorrow.\r\n::part and ::theme provide a controlled and safe way to style components from outside without allowing abuse to the encapsulation that Shadow DOM is meant to provide.\r\n[Explaining article](https://meowni.ca/posts/part-theme-explainer/)\r\n[Spec Draft](https://tabatkins.github.io/specs/css-shadow-parts/#intro)\r\n\r\nI would believe that such declared parts can be treated almost like @Input variables that trigger change detection. Although declared on the @Component style part they will be compiled into the .ngstyle and be incoparated in the view. when another component uses the ::part annotated component the styles are propagated. \r\n\r\n\r\n## What is the motivation / use case for changing the behavior?\r\na component needs to allow external users to style its inner parts, let say a dropdown needs to have it's button, drop-down list \u0026 selection hover styleable.\r\n\r\nAngular version: 5.2.6\r\n\r\nBrowser: Any, it should compile away to allow browsers to support it today.\r\n","author":{"url":"https://github.com/nadavsinai","@type":"Person","name":"nadavsinai"},"datePublished":"2018-03-01T09:43:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/22515/angular/issues/22515"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:56b18871-e639-862a-4d24-5098b64f4837 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BBE8:B1D4C:A2E23BD:DB15111:6A5E8C9A |
| html-safe-nonce | d45cb17386198e64873ee14afb54d5fad60c95589cf12c2e3224f6203daa682f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkU4OkIxRDRDOkEyRTIzQkQ6REIxNTExMTo2QTVFOEM5QSIsInZpc2l0b3JfaWQiOiIyOTk0MTM4NjY0Mzc1NTg1OTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 97d363bee8c7ba4aa810039a5a12d71966e35b1d9dc8d72c31434fb8ecd00859 |
| hovercard-subject-tag | issue:301337802 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/22515/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4250fd115765df1941299f56d9f2f0f453229c6adac160c531776587384f3d8d/angular/angular/issues/22515 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4250fd115765df1941299f56d9f2f0f453229c6adac160c531776587384f3d8d/angular/angular/issues/22515 |
| og:image:alt | I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [x ] Feature request [ ] Documentation issue or request [ ] Support request => ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nadavsinai |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6846168613b61074bf9dc18814ffe7596f4950f1f3b3070cfea5af602ccb3327 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5d2e2a84380a21e7a59801a38bee3d8a5f0e822d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width