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

Import material.angular.io #2

Closed
wants to merge 42 commits into from
Closed

Import material.angular.io #2

wants to merge 42 commits into from

Conversation

gregmagolan
Copy link

jbrems and others added 30 commits February 21, 2023 09:05
add missing encapsulation  to disable pointer-events for periodButtonLabel.

fixes angular#24915
Main branch should target v16 similar to the framework.
As of the MDC list token PR, the sync configs are slightly
out of sync. This commit fixes it.
…ngular#26608)

Fixes that the CDK dialog wasn't emitting to the `closed` event when it is detached externally, e.g. by a scroll strategy or a navigation. We had unit tests for this on the Material side, but we had special logic to handle it there.

Fixes angular#26581.
)

* feat: add `stretchTabs` to `MatTabsConfig`

* Update tab-group.ts

* change default to `true` as per @crisbeto 's request

* yarn ng-dev format files src/material/tabs/tab-config.ts src/material/tabs/tab-group.ts

* feat(material/tabs): update api guard
Updates the selector for chips to allow attributes like in the legacy chips.

Fixes angular#26677.
…angular#26692)

Fixes that multiple lines of text weren't aligned correctly in the snack bar on Safari.

Fixes angular#26685.
Bumps up the dev dependencies to Angular 16.0.0-next.0.
…ngular#26696)

Some of the chip styling depends on the presence of chips actions and it wasn't being updated when they were toggled.

Fixes angular#26691.
This is no longer needed since the main branch is using Angular CLI version 16 and `NG_UPDATE_BUFFER_V2` has been removed from the CLI.
…r#26689)

Uses `div` instead of `span` for the top-level chip wrappers since some a11y tools flag nesting `div` inside of `span` as invalid.
…ns (angular#26674)

* fix(material/card): refactor to depend on @angular/material/core/tokens

* add card tokens with placeholder values

* add styles for token slots and values to card

* fill in real token values and fix card appearance

* address feedback

* add custom tokens for Angular Material only features
To install a package, the version must be prefixed by `@`
…ngular#26427)

Fixes mdc-migration to migrate only the selected components.
Reverse the description of body-1 and body-2 in the documentation for 'Typography levels'. Looking at how mat-body-1 (mat-h4) and mat-body-2 (mat-body) classes are applied, it seems that the descriptions in the documentation are reversed.

BREAKING CHANGE: the description for body-1 and body-2 has changed

Closes angular#26251

* update descriptions
…ngular#26672)

Previously, mat-list-item buttons did not have the disabled attribute set when either the mat-list-item or the mat-action-list are disabled.
This commit adds the disabled attribute to mat-list-item buttons when it should be applied.
Fixes angular#26574

 BREAKING CHANGE: NO
* build: set up schematics for version 16

* fixup! build: set up schematics for version 16

* fixup! build: set up schematics for version 16

* fixup! build: set up schematics for version 16

* fixup! build: set up schematics for version 16
…#26727)

Fixes that it wasn't possible for the user to use shift + tab to move out of a chip set. We had some logic to handle it already, but it was resetting the tabindex before focus has a chance to escape.

Fixes angular#26698.
…ngular#26725)

Implements a workaround to the issue where some browsers don't expose live elements to the accessibility tree if there's an `aria-modal` on the page.

Fixes angular#26708.
)

For mat-option, set `aria-selected="false"` on deselected options.
Confirms with [WAI ARIA Listbox authoring practices
guide](https://www.w3.org/WAI/ARIA/apg/patterns/listbox/), which says to
always include aria-selected attribute on listbox options that can be
selected. Fix issue where VoiceOver reads every option as "selected"
(21491).

Fix angular#21491
@CLAassistant
Copy link

CLAassistant commented Mar 8, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 16 committers have signed the CLA.

✅ devversion
✅ gregmagolan
❌ hamzajazyri
❌ jbrems
❌ crisbeto
❌ joelkesler
❌ mmalerba
❌ alan-agius4
❌ angular-robot
❌ OneSidedPrism
❌ llorenspujol
❌ DrVickie8
❌ JeanMeche
❌ wagnermaciel
❌ RuoJia123
❌ zarend
You have signed the CLA already but the status is still pending? Let us recheck it.

@gregmagolan gregmagolan closed this Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.