-
Notifications
You must be signed in to change notification settings - Fork 6.8k
docs(material/chips): migrate examples to MDC #25661
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The markdown overview for chips definitely needs to be updated since the API has changed significantly. Are you planning to do that in a followup PR?
|
Are you talking about https://github.com/angular/components/blob/main/src/material/chips/chips.md ? |
|
I forgot about that, but I can take care of the documentation in this PR. I'll change this PR to a draft and re-request reviews when it's ready. |
1be314c to
d43a9c6
Compare
|
Deployed dev-app to: https://ng-comp-dev--pr-25661-a74eff71c0d91c49e7efe15a63f78e0d-6tde80kf.web.app |
|
I'm working on fleshing out the chips.md rn. I can re-request reviews when it's ready. |
d43a9c6 to
5a3edf3
Compare
|
Added a rough draft of the chips.md documentation. |
5a3edf3 to
c3205c2
Compare
0b84490 to
a74eff7
Compare
src/components-examples/material/chips/chips-autocomplete/chips-autocomplete-example.html
Outdated
Show resolved
Hide resolved
src/components-examples/material/chips/chips-harness/chips-harness-example.html
Outdated
Show resolved
Hide resolved
src/components-examples/material/chips/chips-overview/chips-overview-example.html
Show resolved
Hide resolved
src/material/chips/chips.md
Outdated
|
|
||
| #### Adding Icons | ||
|
|
||
| A chip has two spots to display icons using content projection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth mentioning here that the icons are optional.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I re-wrote part about icons. LMK what you think
|
ty for reviewing, I'll revise the chips.md documentation then re-request a review |
9574313 to
310b9f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| <mat-chip-option disabled>Orange</mat-chip-option> | ||
| ``` | ||
|
|
||
| #### Keyboard Interactions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: not sure if we the keyboard interactions section shouldn't be part of the "Accessibility" section. Not a blocker though.
Migrate chips examples to use mdc-based components. Add documentation overview for mdc-based chips component.
310b9f4 to
795c944
Compare
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Migrate chips examples to use mdc-based components.