Skip to content
Permalink
main
Switch branches/tags

Commits on Oct 13, 2022

  1. docs(material/chips): remove docs-private from avatar and trailing ic…

    …on (#25807)
    
    Removes the `@docs-private` tag from the chip avatar and trailing icon since they are public APIs. Internally the tag gets transformed into something which implies that they are private.
    crisbeto committed Oct 13, 2022

Commits on Oct 12, 2022

  1. build: update commit message based labels action (#25804)

    Update to the latest version of the action
    josephperrott committed Oct 12, 2022
  2. fix(material/slide-toggle): align colors with spec (#25792)

    * fix(material/slide-toggle): align colors with spec
    
    Note: the disabled state still isn't 100% right. There seems to be some
    opacity interaction going on that prevents matching the spec perfectly.
    
    * fixup! fix(material/slide-toggle): align colors with spec
    mmalerba committed Oct 12, 2022
  3. docs(material/datepicker): switch examples to use MDC

    Switches the datepicker docs to use MDC since we won't be including the theming for the legacy components anymore.
    crisbeto committed Oct 12, 2022
  4. docs(material/button): fix demo layout

    Fixes that the layout of the button overview demo was broken after the switch to MDC.
    crisbeto committed Oct 12, 2022
  5. fix(material/list): fix selection-list staying in tab order when disa…

    …bled (#25735)
    
    Remove list options from the tab order when the entire slection list is
    disabled. Fix accessibility issue where end user can tab to a disabled selection
    list.
    
    ```
    <mat-selection-list disabled>
      <mat-list-option>A</mat-list-option>
      <!-- ^ should have tabindex="-1" since entire list is disabled -->
    </mat-selection-list>
    ```
    
    Approach is to consider a disabled mat-selection-list with a mat-list-option
    having `tabindex="0"` an invalid state. When disabled Input on the seleciton
    list is set to true, set tabindex to -1 on every list option.
    
    fixes #25730
    zarend committed Oct 12, 2022
  6. feat(cdk/menu): add support for passing in data to the menu template (#…

    …25778)
    
    Adds the `cdkMenuTriggerData` and `cdkContextMenuTriggerData` inputs that allow the consumer of a CDK menu to pass context data to the menu template.
    
    Fixes #25708.
    crisbeto committed Oct 12, 2022

Commits on Oct 11, 2022

  1. docs: fix some gaps in the migration guide (#25775)

    * docs: fix some gaps in the migration guide
    
    * fixup! docs: fix some gaps in the migration guide
    
    * fixup! docs: fix some gaps in the migration guide
    
    * fixup! docs: fix some gaps in the migration guide
    
    * fixup! docs: fix some gaps in the migration guide
    
    * fixup! docs: fix some gaps in the migration guide
    mmalerba committed Oct 11, 2022
  2. refactor(material/datepicker): deprecate unused i18n strings (#25791)

    Remove two unused i18n strings from datepicker. Remove `startDateLabel`
    and `endDateLabel`.
    
    DEPRECATED:
     * startDateLabel is deprecated because it is not used
     * endDateLabel is deprecated because it is not used
    zarend committed Oct 11, 2022
  3. fix(material/core): default font family not picked up in define-typog…

    …raphy-config (#25789)
    
    The `define-typography-config` function was set up so that if a level doesn't have a `font-family`, it would pick up the one that was passed into the function. The problem is that after we switched the typography over to MDC, we started using the `typography-config-level-from-mdc` function which provides a default `font-family` which meant that the default passed into `define-typography-config` was being ignored.
    
    These changes add some logic that allows us to take the default font family, if it is specified.
    
    Fixes #25780.
    crisbeto committed Oct 11, 2022
  4. fix(material/checkbox): disabled state not distinguishable in high co…

    …ntrast mode (#25788)
    
    Fixes that disabled checkboxes aren't distinguishable from enabled ones in high contrast mode. I also fixed an issue where the checkmark wasn't visible, but I suspect that it's only a problem when emulating on a Chromium browser.
    crisbeto committed Oct 11, 2022
  5. test(material/legacy-chips): fix selectable chips tests (#25790)

    Fixes that we had some tests where we were testing user selection of a chip, but the chip wasn't set as selectable.
    crisbeto committed Oct 11, 2022

Commits on Oct 10, 2022

  1. fix(material/schematics): fix various issues with mdc-migration (#25772)

    * fix(material/schematics): add missing material/core transforms
    
    * test(material/schematics): fix integration test diff output
    
    * fix(material/schematics): delete legacy mixin when migrating if new mixin is already present
    
    * fix(material/schematics): handle form-field appearance
    
    * test(material/schematics): fix test errors in mdc migration sample app
    
    * test(material/schematics): verify golden builds and doesn't contain 'legacy'
    mmalerba committed Oct 10, 2022
  2. fix(material/icon): forward fontIcon attribute to element (#25779)

    In #24578 we added the ability to set font icons using the `fontIcon` input, however it was never forwarded to the `fontIcon` attribute which means using a data binding won't work.
    
    Fixes #25759.
    crisbeto committed Oct 10, 2022
  3. fix(material/schematics): rename references in MDC generate schematic (

    …#25773)
    
    Currently the `ng generate` migration that migrates from the legacy symbols to the non-legacy ones renames references, but only in some specific cases (e.g. `imports` of an `NgModule`). These changes expand the migration to cover any reference within the file. I've also tried to reduce the amount of migration data that we need to maintain.
    crisbeto committed Oct 10, 2022

Commits on Oct 8, 2022

  1. refactor: remove workaround for TS versions earlier than 4.8 (#25777)

    Cleans up some workarounds that were put in place to support version of TypeScript earlier than 4.8.
    crisbeto committed Oct 8, 2022

Commits on Oct 7, 2022

  1. docs(material/badge): don't use inline elements in badge demo (#25758)

    The badge docs were saying that badges might not work on inline elements while the example was still using inline elements itself. These changes update the example to use `div` elements instead.
    
    Fixes #25751.
    crisbeto committed Oct 7, 2022
  2. fix(material/chips): don't remove aria-selected from deselected optio…

    …ns (#25748)
    
    For chip-listbox, set `aria-selected="false"` on deselected options that
    are selectable. Conforms 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 options that are selectable. Fix issue where
    voiceover reads every option as "selected" (#25736).
    
    Fix #25736
    zarend committed Oct 7, 2022
  3. feat(material/button): add variant to button harness (#25770)

    Adds the ability to get the variant of a button harness and to filter by it.
    
    Fixes #25755.
    crisbeto committed Oct 7, 2022

Commits on Oct 6, 2022

  1. fix(cdk/drag-drop): native event not passed as parameter to drop cont…

    …ainer (#25763)
    
    * fix(cdk/drag-drop): native event not passed as parameter to drop CredentialsContainer
    
    Fixes a bug where native event was always an empty object because it was not passed to the container drop function and the default `{}` object was always used.
    
    * fix(cdk/drag-drop): Added missing trailing comma
    jokecamp committed Oct 6, 2022
Older