Skip to content
Permalink
main
Switch branches/tags

Commits on May 1, 2022

  1. fix(cdk/menu): allow scrolling while menu is open

    Uses the `reposition` scroll strategy instead of `block` and tweaks the positioning strategy to work better with scrolling.
    crisbeto committed May 1, 2022
  2. docs(cdk/menu): resolve accessibility issues with examples

    Fixes the following accessibility issues with the CDK menu examples:
    * Some menu triggers were incorrectly marked as `cdkMenuItem` which meant that they had `role="menuitem"` even though they weren't inside menus.
    * All the menu examples had `outline: none` which made it difficult to track focus when navigating with the keyboard.
    crisbeto committed May 1, 2022
  3. test(cdk/menu): fix test that fails locally

    Fixes a test in the CDK menu that only fails locally.
    crisbeto committed May 1, 2022

Commits on Apr 28, 2022

  1. build: changes for renaming primary branch to main (#24828)

    Changes of the `DIRECT` phase for the "renaming master to
    main" migration/planning doc.
    devversion committed Apr 28, 2022
  2. docs(material/theming): document typography-hierarchy (#24838)

    The `typography-hierarchy` mixin was missing from the documentation. This adds a couple of sentences mentioning that it exists.
    jelbourn committed Apr 28, 2022
  3. build: fix staging release checks after auto-generating `material-exp…

    …erimental` package json (#24846)
    
    We recently started auto-generating the material-experimental
    package.json file to avoid duplicating the MDC version/deps
    across multiple places.
    
    The staging checks assume a `package.json` file to be visible in the
    source files. For our checks it is sufficient to use the handwritten
    base package.json file.
    devversion committed Apr 28, 2022
  4. refactor(cdk/dialog): expand and clean up API (#24842)

    Adjusts the public API of the CDK dialog based on a recent feedback session by:
    * Expanding `DialogRef.restoreFocus` to allow CSS selectors and DOM nodes.
    * Changing `Dialog.openDialogs`, `DialogRef.componentInstance` and `DialogRef.containerInstance` to be readonly.
    * Allowing for numbers to be passed in to `DialogRef.updateSize`.
    * Updating the doc string of `DialogRef.updateSize`.
    crisbeto committed Apr 28, 2022

Commits on Apr 26, 2022

  1. build: disable feature request bot (#24834)

    Disables the feature request triage bot.
    crisbeto committed Apr 26, 2022
  2. build: update tsec and drop corresponding postinstall patch (#24837)

    Updates tsec and drops the corresponding postinstall patch that
    we added when we updated to Bazel v5. See: google/tsec#25
    devversion committed Apr 26, 2022
  3. refactor(material/core): deprecate legacy theming API (#24835)

    DEPRECATED: `mat.define-dark-theme` no longer accepts `$primary`, `$accent` and `$warn`.
      Pass a single config map instead.
    
    DEPRECATED: `mat.define-light-theme` no longer accepts `$primary`, `$accent` and `$warn`.
      Pass a single config map instead.
    
    DEPRECATED: Custom Material themes should no longer access `primary`, `accent`, `warn`,
      `is-dark`, `foreground` and `background` from the theme map, but instead use the actual `color`
      configuration (`mat.get-color-config($theme)`).
    
    DEPRECATED: Passing a color configuration directly to a `-theme` mixin
      is not supported. Pass the theme container object instead or use the dedicated
      `-color` mixins.
    devversion committed Apr 26, 2022

Commits on Apr 23, 2022

  1. feat(cdk/menu): move experimental CDK menu into stable (#24826)

    Moves the code for the CDK experimental menu into the CDK.
    crisbeto committed Apr 23, 2022

Commits on Apr 22, 2022

  1. build: fix github actions breaking due to symlink in dev-infra reposi…

    …tory (#24823)
    
    Updates the Github actions now that
    angular/dev-infra@c9d0bf5
    has landed.
    devversion committed Apr 22, 2022
  2. fix(material/autocomplete): outside click in Angular zone. (#24817)

    Fixes a bug in Angular Material `autocomplete` when outside click doesn't trigger `changeDetection`.
    
    Fixes #24811
    volvachev committed Apr 22, 2022
  3. fix(cdk/overlay): animations interrupted on repeat insertions (#24815)

    When an overlay is detached, we remove it from the change detection tree and the DOM, but we don't destroy it completely so that it can be re-attached. Re-attachment is the same process, but in reverse: we re-add the element to the DOM and the change detection tree. The problem is that we were attaching the element to the change detection tree before re-inserting it into the DOM which caused the Angular animations package not to animate the element since it's not in the DOM yet.
    
    These changes resolve the issue by attaching the element to the DOM first.
    
    Fixes #24749.
    crisbeto committed Apr 22, 2022
  4. docs(cdk/clipboard): add imports to samples (#21910)

    Some samples have been missing imports, which can confuse some devs.
    I added them.
    kirjs committed Apr 22, 2022
  5. build: fix test failure with latest CLI version (#24820)

    We have a test that verifies that we're able to read workspaces in JSON5 format. The devkit appears to have switched to `jsonc-parse` for the config file parsing which only supports comments in JSON, not trailing commas and unquoted keys. These changes adjust our test to account for the new parsing behavior.
    crisbeto committed Apr 22, 2022

Commits on Apr 21, 2022

  1. build: update angular shared dev-infra code to 4b4f4e4 (#24801)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot committed Apr 21, 2022
  2. build: avoid duplication of mdc dependencies by generating `package.j…

    …son` (#24697)
    
    As part of the Yarn PNP changes we moved from `peerDependencies` in the
    experimental package to actual `dependencies` on all individual MDC
    packages we rely on. This is necessary for Yarn PnP and conceptually
    also makes the package more correct/safe.
    
    This resulted in duplication of the MDC dependencies, making MDC
    updates more complicated. We can avoid duplication by auto-inserting
    the dependencies. That way we keep two places for the MDC deps:
    
    * The project `package.json`
    * `packages.bzl` for the Bazel analysis phase/Starlark.
    devversion committed Apr 21, 2022
  3. build: update sass bazel rules and fix yarn repository Bazel warning (#…

    …24816)
    
    Updates to the latest version of the Sass Bazel rules. We landed
    a fix upstream, allowing us to provide a vendored Yarn script, instead
    of needing a separate download of Yarn (with a warning polluting the
    Bazel output)
    devversion committed Apr 21, 2022
  4. build: update bazel setup and angular (#24772)

    * build: update bazel setup and angular
    
    This should fix the snapshot CI job
    
    * build: update goldens after type signature changes in compiler
    
    The signatures changed with: angular/angular@d3c0fa3
    devversion committed Apr 21, 2022
  5. feat(cdk/drag-drop): adding method to set drag position (#24769)

    Adds method `setFreeDragPosition` in Cdk `DragDrop` directive to set position in pixel on a drop container.
    Also corrects some inaccurate types on a couple of freeDragPosition methods of the `DragDrop` directive.
    
    Fixes #18530
    meriturva committed Apr 21, 2022
  6. fix(material-experimental/mdc-slider): remove pointerdown passive eve… (

    #24766)
    
    * fix(material-experimental/mdc-slider): remove pointerdown passive event listener options
    
    * setting {passive: true} causes the slider foundation to
      error when it calls event.preventDefault
    
    * fixup! fix(material-experimental/mdc-slider): remove pointerdown passive event listener options
    
    * fixup! fix(material-experimental/mdc-slider): remove pointerdown passive event listener options
    
    * fixup! fix(material-experimental/mdc-slider): remove pointerdown passive event listener options
    wagnermaciel committed Apr 21, 2022
Older