Skip to content
Permalink
master

Commits on May 20, 2021

  1. refactor(material/schematics): support extra variables in themingApi …

    …migration (#22741)
    
    Adding support for extra variables to handle some Google-internal variables that need to be migrated as well.
    jelbourn committed May 20, 2021

Commits on May 19, 2021

  1. release: update changelog

    andrewseguin committed May 19, 2021
  2. fix(material-experimental/mdc-table): add background color; disable h…

    …over styles; fix sticky columns (#22723)
    
    * fix(material-experimental/mdc-table): add background color; disable hover styles; fix sticky columns
    
    * fix(material-experimental/mdc-table): lint
    
    * fix(material-experimental/mdc-table): extra line
    andrewseguin committed May 19, 2021
  3. refactor(material-experimental/mdc-button): reorganize styles and exp…

    …ose all themes (#22449)
    
    When I was setting up the new theming API for MDC, I assumed that the button theme would include the icon button and fab themes as well, but that's not the case.
    These changes reorganize the button theming styles into separate files so that we can easily expose the missing mixins under the correct prefix.
    crisbeto committed May 19, 2021
  4. build: remove unnecessary postinstall rules_nodejs patch (#22727)

    We recently updated to `rules_nodejs` 3.5.0. This contained a fix
    for something we recently tried to achieve using a postinstall
    patch. The PR that updated to 3.5.0 became a little out-of-date
    due to the PR introducing the postinstall patch being merged, so
    that the failure only surfaced when the update PR got merged.
    devversion committed May 19, 2021
  5. Revert "docs(material/table): use declarative idiomatic RxJS in table…

    …-http-example (#22053)" (#22725)
    
    This reverts commit 67dc1fd.
    andrewseguin committed May 19, 2021
  6. fix(material/sort): fix undefined object access (#22634)

    chunghha committed May 19, 2021
  7. feat(multiple): add ng-update entry for google-maps and `youtube-pl…

    …ayer` package (#22710)
    
    Currently if developers run `ng update` without specifying a package,
    the CLI will analyze the current workspace and find packages that
    provide migrations and need to be updated. For the `youtube-player`
    and `google-maps` package we do not provide any migrations, so
    `ng update` will not report this package.
    
    Since these packages are part of the `@angular` scope, we
    want these packages to be highlighted when users run `ng update`.
    There aren't any migrations for these packages yet, but we are setting
    up the integration with `ng update` in order to make these packages
    visible to the CLI.
    
    Fixes #22689.
    devversion committed May 19, 2021
  8. build: update to rules_nodejs v3.5.0 (#22693)

    Updates to the latest version of `rules_nodejs` that contains
    various fixes for Windows. The linker has been preventing windows
    developers from running tests reliably. This has been fixed with:
    
    bazelbuild/rules_nodejs@7cf7d73
    devversion committed May 19, 2021
  9. docs(tree): A11Y improvement for Nested Tree example. (#22583)

    * docs(material/tree): A11Y improvement for Nested Tree example.
    
    Fixes #22517
    
    * docs(material/tree): A11Y improvement for Nested Tree example.
    
    Fixes #22517
    
    * docs(material/tree): Fixing nested tree styles.
    Use padding-left instead of padding-inline-start.
    walvekarnikhil committed May 19, 2021
  10. build: update the comment of workspace for bazel version (#22712)

    * build: update the comment of workspace for bazel version
    
    The minimum bazel version to use with this repo is v4.0.0.
    
    * build: remove the comment `# The minimum bazel version to use with this repo is v3.1.0.`
    
    remove the `# The minimum bazel version to use with this repo is v3.1.0.`, the code is pretty self-explanatory
    
    related #21722
    damingerdai committed May 19, 2021

Commits on May 18, 2021

  1. fix(material-experimental/mdc-radio): not removing animations when no…

    …op animations are enabled (#22651)
    
    Fixes that the MDC-based radio button didn't disable its animations when noop animations were turned on.
    crisbeto committed May 18, 2021
  2. fix(material-experimental/mdc-progress-bar): buffer animation not dis…

    …abled under noop animations module (#22661)
    
    Fixes that the buffer bar in the MDC-based `mat-progress-bar` still animates when animations are disabled.
    crisbeto committed May 18, 2021
  3. fix(material-experimental/mdc-slider): make small fixes needed to imp… (

    #22684)
    
    * fix(material-experimental/mdc-slider): make small fixes needed to implement the gmat mdc slider internally
    
    * change imports of @material/base to @material/base/types
    * explicitly check attributes when calling setAttribute to prevent xss
    
    * fixup! fix(material-experimental/mdc-slider): make small fixes needed to implement the gmat mdc slider internally
    
    * fixup! fix(material-experimental/mdc-slider): make small fixes needed to implement the gmat mdc slider internally
    
    * fixup! fix(material-experimental/mdc-slider): make small fixes needed to implement the gmat mdc slider internally
    wagnermaciel committed May 18, 2021
  4. fix(material/stepper): strong focus indicator not working for below l…

    …abel position (#22696)
    
    The strong focus indicator renders using a `::before` selector which is also used for styling a stepper header with a `below` label position. This results in broken styles when strong focus indication is enabled.
    
    These changes move the indicator to a different element.
    
    Fixes #22677.
    crisbeto committed May 18, 2021
  5. fix(material/schematics): don't drop prebuilt imports in theming API …

    …migration
    
    Currently the theming API migration drops any imports starting with `~@angular/material/`, assuming that they're Sass APIs. This can result in prebuilt style imports being removed by mistake.
    
    These changes add a regex based on which we'll exclude some imports from the migration.
    
    Fixes #22697.
    crisbeto authored and andrewseguin committed May 18, 2021
  6. fix(material/tooltip): not updating position after direction changes (#…

    …22641)
    
    Fixes that the tooltip won't update its position config if the directionality changes after it has been initialized.
    crisbeto committed May 18, 2021
  7. fix(material/datepicker): pass correct inject flags to injector (#22665)

    We have a call to `Injector.get` in the date range input which is supposed to fall back to `null` if the value doesn't resolve, however we're missing the `Optional` flag. It works by accident at the moment, because the inject flags aren't actually being passed through by the framework.
    
    angular/angular#41592 is supposed to fix the framework issue, but their CI will break due to our usage.
    
    These changes fix our usage in order to unblock the framework PR.
    crisbeto committed May 18, 2021
  8. fixup! fix(material/core): reduce the number of module resolutions re…

    …quired for the legacy theming bundle
    crisbeto authored and andrewseguin committed May 18, 2021
  9. fix(material/core): reduce the number of module resolutions required …

    …for the legacy theming bundle
    
    Currently the legacy `material/theming` bundle is set up to forward a few top-level `.import` files. The problem is that those files have been auto-generated to be backwards-compatible even for deep imports which means that they have a lot of overlapping `@forward` and `@import` statements. This results in a significant increase in build times for consumers still using the old bundle.
    
    These changes address the issue by introducing new shallower `*-legacy-index.scss` files which only export the APIs from the specific package and which in turn are re-exported through the top-level `material/theming` file. The change appears to cut the down the production build time on material.angular.io before the @use migration by more than 60%.
    
    Fixes #22676.
    crisbeto authored and andrewseguin committed May 18, 2021
  10. fix(material-experimental/mdc-progress-bar): don't rely on JS to chan…

    …ge directionality (#22705)
    
    On the first iteration of the MDC progress bar we had to use JS to change the direction in RTL, but a few months ago in #21650 we switched to a different API that no longer depends on it. The problem with the changes in #21650 is that they set the `dir` on the progress bar in order to flip its direction for the `query` mode.
    
    These changes simplify the setup by relying only on CSS to determine the direction.
    
    Fixes #22609.
    crisbeto committed May 18, 2021

Commits on May 17, 2021

  1. build: add test to ensure compatibility with ng-linker (#22351)

    * build: add tests to ensure compatibility with ng-linker
    
    Adds tests to ensure that Angular components is compatible with
    Angular's patial compilation mode and the linker.
    
    A new job running every hour ensures that changes to the partial
    compilation or linker in Angular `master` are compatible with the
    components repository. Additionally, we add a job that runs for
    each commit/PR in order to insure that Angular components remains
    compatible with the linker of already-released Angular versions.
    
    * build: build and run e2e tests in partial compilation mode
    
    * fixup! build: build and run e2e tests in partial compilation mode
    
    Address feedback
    devversion committed May 17, 2021

Commits on May 13, 2021

  1. fix(material/table): Make table data source interface generic (#22673)

    * fix(material/table): Make table data source interface generic
    
    * fix(material/table): golden api
    
    * fix(material/table): re-export interface
    andrewseguin committed May 13, 2021
  2. docs(material/table): refactor table selection master toggle (#22647)

    replace ternary operator by if statement with early return
    replace redundant forEach statement with neat spread operator
    StanevichIvan committed May 13, 2021
  3. fix(material-experimental/mdc-slide-toggle): set $deprecated-suffix o…

    …n import (#22645)
    
    * fix(material-experimental/mdc-slide-toggle): set $deprecated-suffix on import
    
    * build: update to mdc nightly
    
    * ci: fix lint check
    
    * build: update to latest MDC canary
    mmalerba committed May 13, 2021

Commits on May 12, 2021

  1. release: copy 12.0.0 changelog to master (#22683)

    mmalerba committed May 12, 2021
  2. release: bump angular deps to 12.0.0 (#22681)

    mmalerba committed May 12, 2021
  3. test(material/slider): clean up harness testing setup (#22670)

    Now that we know that the MDC-based slider won't have the same API as the non-MDC version, we can avoid sharing the test harness tests and clean up some of the logic.
    crisbeto committed May 12, 2021
  4. feat(material-experimental/mdc-slider): add test harnesses (#22648)

    Adds test harnesses for the MDC-based slider components.
    crisbeto committed May 12, 2021
  5. refactor(material/schematics): accept extra symbols for sass api migr…

    …ation (#22658)
    
    Adding support for extra symbols to migrate lets us deal with symbols that we only want to migrate inside Google.
    jelbourn committed May 12, 2021
  6. build: add animations toggle to the dev app (#22669)

    Adds a button that allows us to test noop animations without having to make code changes.
    crisbeto committed May 12, 2021

Commits on May 11, 2021

  1. build: update to latest Angular RC (#22660)

    Bumps all of the Angular packages to `rc.3`. Also switches to a stable version of `codelyzer`.
    crisbeto committed May 11, 2021

Commits on May 10, 2021

  1. build: rely on engines to prevent using npm for dependency install (#…

    …22643)
    
    Rather than relying on a preinstall script, set `engine-strict` to `true` in a project `.npmrc` file, relying on the `engines` having `npm` set to note that yarn should be used instead
    damingerdai committed May 10, 2021
Older