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

Mdc migration #232

Merged
merged 55 commits into from
Mar 19, 2023
Merged

Mdc migration #232

merged 55 commits into from
Mar 19, 2023

Commits on Feb 1, 2023

  1. Automatic migration to MDC #9432

    Via `ng generate @angular/material:mdc-migration`
    PowerKiKi committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    f9c86b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. Configuration menu
    Copy the full SHA
    d3c7834 View commit details
    Browse the repository at this point in the history
  2. Linting #9432

    PowerKiKi committed Feb 4, 2023
    Configuration menu
    Copy the full SHA
    6381fca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    39b985a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    15f4365 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. Cannot cumulate any mat-*button on the same elements #9432

    Especially `mat-icon-button` will crash at runtime if used in
    combination with any other `mat-*button`.
    
    That also means that out of the box we cannot have a raised
    `mat-icon-button`. So we reproduce the result by applying the new custom
    classes such as `icon-button-circle-accent` for icon with color, or
    alternatively the existing class `mat-elevation-z4` for an icon without
    color.
    PowerKiKi committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    80aae2c View commit details
    Browse the repository at this point in the history
  2. Fix mat-list layout #9432

    `matLine` was mis-used, and its equivalent `matListItemLine` is not what
     we want in most cases. Instead, we usually need `matListItemTitle`,
     except that it is not even mandatory to specify it.
    PowerKiKi committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    4d0f8a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a99995a View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. Configuration menu
    Copy the full SHA
    13fe224 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Configuration menu
    Copy the full SHA
    db256e4 View commit details
    Browse the repository at this point in the history
  2. MatTabGroup never stretch #9432

    Tab stretching is a terrible UX where words float in the middle of
    nowhere, making it extremely hard to understand their purpose in best
    case scenario.
    
    In the worst case scenario, then the second/third tab name will
    accidentally align with the blocks contained in the first (selected) tab.
    So the second/third tab name will actually look like they are the title
    of the first tab content 🤮
    
    Also, the fact that we lost the very fine line underlining the whole tab
    group really makes the situation worse, but I guess we can at least live
    that absence.
    PowerKiKi committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    a496c3e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d55bc81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f2073c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    19c53c9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bbe2b60 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9589572 View commit details
    Browse the repository at this point in the history
  8. Update demo

    sambaptista committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    3e01674 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    69c4387 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    63fad21 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Configuration menu
    Copy the full SHA
    f9d92d4 View commit details
    Browse the repository at this point in the history
  2. Update docs

    sambaptista committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    d72e323 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    270091d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ca5ab2 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Configuration menu
    Copy the full SHA
    12522eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6413481 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7d7a76 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. Update demo

    sambaptista committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    12959e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. Configuration menu
    Copy the full SHA
    b7c1428 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80efd64 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    cbbd8ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68dea93 View commit details
    Browse the repository at this point in the history
  3. Natural declares its own typography #9432 (#234)

    It's mostly the same as the default Material, with the only exception of
     button's letter-spacing
    PowerKiKi committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    214674f View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. BREAKING <natural-icon> is now mat-icon[naturalIcon]

    We lose the possibility to set a label, but that was never used at all.
    And instead we gain a much easier interoperability with `<mat-icon>`
    special layouting done by Angular Material.
    
    In most cases `[size]` probably should not be used anymore, since
    Angular Material will do the work for us. But we keep it for corner
    cases.
    PowerKiKi committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    fba4f9b View commit details
    Browse the repository at this point in the history
  2. Support configured icon to be empty #9432

    This would show no icon at all
    PowerKiKi committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    4ebfd93 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aacb736 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5dffe2d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b10244 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    aa2bcf3 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    c33c00f View commit details
    Browse the repository at this point in the history
  2. Use satisfies instead of too permissive as #9432

    `satisfies` rejects extra properties, which tends to be good thing for
    us, especially when we write some kind of configuration value. Eg:
    
    ```diff
    - {a: 1, extraProp: 2} as Config; // incorrectly compiles
    + {a: 1, extraProp: 2} satisfies Config; // correctly error at compile time
    ```
    
    Also, `as` is also too permissive and might accept totally wrong type in
     some cases, such as:
    
    ```diff
    - condition: {equal: {value: true}} as ProductFilterGroupCondition,
    + condition: {equal: {value: true}} satisfies ProductFilterGroupConditionIsActive,
    ```
    PowerKiKi committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    7413f21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3008b8a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3190da9 View commit details
    Browse the repository at this point in the history
  5. Remove antialiasing

    sambaptista committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    5b14579 View commit details
    Browse the repository at this point in the history
  6. Include editor in link

    sambaptista committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    8b6ca80 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Configuration menu
    Copy the full SHA
    c3b03d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad07a04 View commit details
    Browse the repository at this point in the history
  3. Remove unused import

    sambaptista committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    5d3d8e9 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. Configuration menu
    Copy the full SHA
    2471094 View commit details
    Browse the repository at this point in the history
  2. Revert "fill appearance is default for fields #9432"

    This reverts commit 13fe224.
    PowerKiKi committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    43c2cbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dbaf8f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29acc1e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e18b8a3 View commit details
    Browse the repository at this point in the history
  6. All dialogs align buttons to the right #9432

    We use the standard `align="end"` instead of custom mechanic. This
    should be de default of Angular Component, but it is not yet, see
    angular/components#13620
    PowerKiKi committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    fa78e35 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a11d0c View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2023

  1. Configuration menu
    Copy the full SHA
    bdd6a21 View commit details
    Browse the repository at this point in the history