help-me-mom / ng-mocks

Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup
https://www.npmjs.com/package/ng-mocks
MIT License
1.07k stars 81 forks source link

chore(tests-e2e): update angularmaterial monorepo to v19 (major) #10533

Open renovate[bot] opened 5 days ago

renovate[bot] commented 5 days ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/cdk 18.2.14 -> 19.0.0 age adoption passing confidence
@angular/material 18.2.14 -> 19.0.0 age adoption passing confidence

Release Notes

angular/components (@​angular/cdk) ### [`v19.0.0`](https://redirect.github.com/angular/components/blob/HEAD/CHANGELOG.md#1900-hafnium-hippo-2024-11-19) [Compare Source](https://redirect.github.com/angular/components/compare/18.2.14...19.0.0) #### Breaking Changes ##### cdk - - Since `cdk.high-contrast` targets a media query instead of a class, the specificity of the styles it emits is lower than before. - - The overlay stays are now loaded slightly later than before which can change their specificity. You may have to update any overlay style overrides. - - Virtual scrolling lists now have proper type checking which can reveal some previously-hidden compilation errors. - fix(cdk/scrolling): adds ngTemplateContextGuard implements ngTemplateContextGuard for CdkVirtualForOf directive ##### material - - The ripples styles are now loaded slightly later than before which can change their specificity. You may have to update any ripple style overrides. - - `mixinColor` and `CanColor` have been removed. Use a host binding instead. - `mixinDisableRipple` and `CanDisableRipple` have been removed. Use input transforms instead. - `mixinDisabled` and `CanDisable` have been removed. Use input transforms instead. - `mixinInitialized` and `HasInitialized` have been removed. Use a `Subject` that emits in `ngOnInit` instead. - `mixinTabIndex` and `HasTabIndex` have been removed. Use input transforms instead. ##### google-maps - - The new [@​googlemaps/markerclusterer](https://redirect.github.com/googlemaps/markerclusterer) API should be imported instead of the old one. Read more at: https://github.com/googlemaps/js-markerclusterer - The `MapMarkerClusterer` class has been renamed to `DeprecatedMapMarkerClusterer`. - The `map-marker-clusterer` selector has been changed to `deprecated-map-marker-clusterer`. ##### multiple - - In order for Material to be compatible with [recent changes in Sass](https://sass-lang.com/documentation/breaking-changes/mixed-decls/) and upcoming changes in the CSS standard, tokens are now emitted in-place, rather the being hoisted to the top of the selector. As a result, some token overrides might not apply anymore. This is relevant primarily for the cases like `@include mat.button-theme($theme); --mat-button-color: red;`. It can be resolved by wrapping the overrides with `& {}`, for example `@include mat.button-theme($theme); & { --mat-button-color: red; }`. - - `MatButton.ripple` is no longer available. - `MatCheckbox.ripple` is no longer available. - `MatChip.ripple` is no longer available. ##### material-date-fns-adapter | Commit | Type | Description | | -- | -- | -- | | [234e5e0e8](https://redirect.github.com/angular/components/commit/234e5e0e8b7001671b459491bc048c379e29fc1d) | feat | add support for date-fns 4 ([#​29744](https://redirect.github.com/angular/components/pull/29744)) | ##### youtube-player | Commit | Type | Description | | -- | -- | -- | | [09da06b42](https://redirect.github.com/angular/components/commit/09da06b42e2aad668bbdeb9adecdad401b0d8df6) | fix | ready event not emitting | | [288598750](https://redirect.github.com/angular/components/commit/2885987500f9005fbdf981c700b516096896868b) | fix | startSeconds not applied when using placeholder | ##### google-maps | Commit | Type | Description | | -- | -- | -- | | [1bd976c6a](https://redirect.github.com/angular/components/commit/1bd976c6a7b4493e9dc741f6fe25fde455adfbcf) | feat | Add support for some mouse events [#​29741](https://redirect.github.com/angular/components/pull/29741) ([#​29747](https://redirect.github.com/angular/components/pull/29747)) | | [a05475e76](https://redirect.github.com/angular/components/commit/a05475e769d6a64e10cdcebca83f1906b322f9a9) | feat | deprecate marker cluster component | | [c70aae15b](https://redirect.github.com/angular/components/commit/c70aae15b095f5d7005b491270866f6647732a26) | feat | implement new marker clusterer | | [b9deeee85](https://redirect.github.com/angular/components/commit/b9deeee85b06fa24812f36d8290390b6f058d131) | fix | add schematic to switch to the new clusterer name | | [a6709497f](https://redirect.github.com/angular/components/commit/a6709497fc6e5eca110db5374f7d6ca4b2ca5a58) | fix | expose all clusterer types ([#​29905](https://redirect.github.com/angular/components/pull/29905)) | | [74c2a081f](https://redirect.github.com/angular/components/commit/74c2a081f9c4c2221cab62efee3db81789bf6efa) | fix | resolve CLI errors in ng update schematic ([#​29947](https://redirect.github.com/angular/components/pull/29947)) | ##### material | Commit | Type | Description | | -- | -- | -- | | [9122335b2](https://redirect.github.com/angular/components/commit/9122335b25b28a5532159ab87c36aab3be9c3716) | feat | **checkbox:** add new aria properties to MatCheckbox ([#​29457](https://redirect.github.com/angular/components/pull/29457)) | | [64ed7ca71](https://redirect.github.com/angular/components/commit/64ed7ca7157b519703d152bb86a84a233f310f71) | feat | **core:** add experimental theme demo ([#​29636](https://redirect.github.com/angular/components/pull/29636)) | | [a58e6f671](https://redirect.github.com/angular/components/commit/a58e6f6711af48f7106ed675b4b996c41899a0be) | feat | **core:** add theme-overrides mixin ([#​29858](https://redirect.github.com/angular/components/pull/29858)) | | [d206225c5](https://redirect.github.com/angular/components/commit/d206225c58d071e6cb6b680ef11d1c7bab7a73cc) | feat | **core:** create focus-indicator structural styles loader ([#​29763](https://redirect.github.com/angular/components/pull/29763)) | | [b519b4785](https://redirect.github.com/angular/components/commit/b519b4785b1da26becdb88e3810d606b9bddedfc) | feat | **core:** default to color-scheme theme type ([#​29907](https://redirect.github.com/angular/components/pull/29907)) | | [ea0d1ba7b](https://redirect.github.com/angular/components/commit/ea0d1ba7b776e021ecfa27b80c921a22b98e3c40) | feat | **core:** deprecate the core mixin ([#​29906](https://redirect.github.com/angular/components/pull/29906)) | | [486990912](https://redirect.github.com/angular/components/commit/4869909123c37a4910f5fde3f70d59cda4b44816) | feat | **core:** rename theme mixin ([#​29857](https://redirect.github.com/angular/components/pull/29857)) | | [4b49d7354](https://redirect.github.com/angular/components/commit/4b49d73542a4b10c8d5bd67a7258bfdd44a8e329) | feat | **core:** switch system prefix from sys to mat-sys ([#​29908](https://redirect.github.com/angular/components/pull/29908)) | | [1abb484aa](https://redirect.github.com/angular/components/commit/1abb484aa72177a748eecdf9b850cc1c07d1a42b) | feat | **input:** add the ability to interact with disabled inputs ([#​29574](https://redirect.github.com/angular/components/pull/29574)) | | [4adc3725d](https://redirect.github.com/angular/components/commit/4adc3725dd08ef3cf3868f9c752e16c8c1492466) | feat | **schematics:** create v19 core removal schematic ([#​29768](https://redirect.github.com/angular/components/pull/29768)) | | [9c3af284f](https://redirect.github.com/angular/components/commit/9c3af284f89c9a10af66e0ded6f7805bab207a91) | feat | **schematics:** Switch custom theme schematic to use theme mixin instead of define-theme and add high contrast override mixins ([#​29642](https://redirect.github.com/angular/components/pull/29642)) | | [3fc1f9a1b](https://redirect.github.com/angular/components/commit/3fc1f9a1b026b9cd0ec666bc623169d1ba5a9532) | feat | **schematics:** Update custom theme schematic to work with light-dark and use theme-overrides mixin ([#​29911](https://redirect.github.com/angular/components/pull/29911)) | | [ff3d342fd](https://redirect.github.com/angular/components/commit/ff3d342fd4ab91d0dd24147bc747c5a0ba8f1aaf) | feat | **tabs:** add `alignTabs` in `MatTabsConfig` ([#​29779](https://redirect.github.com/angular/components/pull/29779)) | | [371446a7c](https://redirect.github.com/angular/components/commit/371446a7cfb5176e02fe796b4d39941db82c22c2) | feat | **theming:** Disambiguate token names in theme overrides ([#​29859](https://redirect.github.com/angular/components/pull/29859)) | | [9546fe77e](https://redirect.github.com/angular/components/commit/9546fe77ef7322276bddf25ed826b2ab73e5ee20) | feat | **timepicker:** add test harnesses | | [2646e0885](https://redirect.github.com/angular/components/commit/2646e088510f00ca2ae885d42acae9c7fcd8656e) | feat | **timepicker:** add timepicker component | | [de6c20686](https://redirect.github.com/angular/components/commit/de6c20686c441ff39b872b69c725c3c46b1f3a93) | fix | **bottom-sheet:** add `height` `minHeight` `maxHeight` to config ([#​29794](https://redirect.github.com/angular/components/pull/29794)) | | [fcb76d3ed](https://redirect.github.com/angular/components/commit/fcb76d3ed1ed4f6d5634496f47473efeda3bd1aa) | fix | **core:** add missing system variables ([#​29624](https://redirect.github.com/angular/components/pull/29624)) | | [5ad133d07](https://redirect.github.com/angular/components/commit/5ad133d07341fa8647e81277e7f1b9f54b15059a) | fix | **core:** allow optgroup overrides through core-overrides ([#​29897](https://redirect.github.com/angular/components/pull/29897)) | | [0fb4247ce](https://redirect.github.com/angular/components/commit/0fb4247ce834c475556a17e116e20f1ec0fd5a5a) | fix | **core:** avoid browser inconsistencies when parsing time | | [855ed4948](https://redirect.github.com/angular/components/commit/855ed49482b1e215f43e1e9b96f1b28eded94640) | fix | **core:** avoid having to manually load ripple styles | | [d0d59b784](https://redirect.github.com/angular/components/commit/d0d59b784abdde79bebaf9cff6d316c952228fa7) | fix | **core:** change ng-add to use mat.theme ([#​29990](https://redirect.github.com/angular/components/pull/29990)) | | [a8e40ec34](https://redirect.github.com/angular/components/commit/a8e40ec341103a4f3fa84bd446067dd37cbf6d50) | fix | **core:** correctly identify color input ([#​29909](https://redirect.github.com/angular/components/pull/29909)) | | [edce90652](https://redirect.github.com/angular/components/commit/edce90652ade6715b4404db284f684b1b511fae4) | fix | **core:** delete deprecated APIs ([#​29651](https://redirect.github.com/angular/components/pull/29651)) | | [54875a325](https://redirect.github.com/angular/components/commit/54875a3258a89a5326d7e224b6550c96e5801cd5) | fix | **core:** drop sanity checks ([#​29688](https://redirect.github.com/angular/components/pull/29688)) | | [ef14c2869](https://redirect.github.com/angular/components/commit/ef14c286986f9451addeada26ab7b51402aa143f) | fix | **core:** option showing double selected indicator in high contrast mode | | [5403b4b07](https://redirect.github.com/angular/components/commit/5403b4b074d0a694bdba5b145f43ce61b1145ad1) | fix | **core:** remove unused motion system vars ([#​29920](https://redirect.github.com/angular/components/pull/29920)) | | [613cf5406](https://redirect.github.com/angular/components/commit/613cf54063138201a9398979cd363ee1ace7ea66) | fix | **core:** rename sys vars from mat-app to mat-sys ([#​29879](https://redirect.github.com/angular/components/pull/29879)) | | [d0e178b75](https://redirect.github.com/angular/components/commit/d0e178b75eb8e8e4d158ebff146cfb2ecadef686) | fix | **core:** stop manually instantiating MatRipple directive ([#​29630](https://redirect.github.com/angular/components/pull/29630)) | | [d55ec612c](https://redirect.github.com/angular/components/commit/d55ec612cc66b42971c9da2677bc6e54017dd271) | fix | **core:** update prebuilt themes to use mat.theme ([#​29989](https://redirect.github.com/angular/components/pull/29989)) | | [7cf8c6c46](https://redirect.github.com/angular/components/commit/7cf8c6c464732af4283c5e3c3c724dd90acc4136) | fix | **datepicker:** calendar font tokens not being picked up ([#​29610](https://redirect.github.com/angular/components/pull/29610)) | | [5ba97925b](https://redirect.github.com/angular/components/commit/5ba97925b64a23cdaabfea514dda964c79f4a5f1) | fix | **form-field:** avoid touching the DOM on each state change | | [a2cd04902](https://redirect.github.com/angular/components/commit/a2cd0490260e99ec0a9a23d0837177f99fc81425) | fix | **form-field:** incorrect form field border radius with system-level themes ([#​29966](https://redirect.github.com/angular/components/pull/29966)) | | [5345a875f](https://redirect.github.com/angular/components/commit/5345a875f68526191493e8220d4ed91c72d0e5eb) | fix | **input:** preserve aria-describedby set externally | | [9dcb95a72](https://redirect.github.com/angular/components/commit/9dcb95a722adc2cf151fc559a3eaf76195aca3f2) | fix | **list:** remove unnecessary high contrast styles | | [dbcb921d5](https://redirect.github.com/angular/components/commit/dbcb921d54608adc95dc124635d2973312928687) | fix | **menu:** handle keyboard events through dispatcher ([#​29997](https://redirect.github.com/angular/components/pull/29997)) | | [de5e57ad1](https://redirect.github.com/angular/components/commit/de5e57ad1d9a76922091ca3adbab35bb9843b5fd) | fix | **menu:** use static elevation ([#​29968](https://redirect.github.com/angular/components/pull/29968)) | | [482009bac](https://redirect.github.com/angular/components/commit/482009bac173bd4453d20dfec283e3cab23d2af0) | fix | **schematics:** add explicit system variable prefix schematic ([#​29980](https://redirect.github.com/angular/components/pull/29980)) | | [75631fb0b](https://redirect.github.com/angular/components/commit/75631fb0b305891ea22e422f8bd9d9d991c1d6ef) | fix | **sidenav:** prevent the content from jumping when hydrated ([#​29991](https://redirect.github.com/angular/components/pull/29991)) | | [14e9ec7cc](https://redirect.github.com/angular/components/commit/14e9ec7ccb0956f54604ee9f19c6dbee6b496fcd) | fix | **timepicker:** always re-focus input | | [1eda48604](https://redirect.github.com/angular/components/commit/1eda4860400fbb08c76b7760bb0eba3234f0c707) | fix | **timepicker:** hide toggle icon from assistive technology | | [490bcfe38](https://redirect.github.com/angular/components/commit/490bcfe38c1f640beefdf537d2af46467f07a4c7) | fix | **timepicker:** more flexible interval parsing | | [fb6e20290](https://redirect.github.com/angular/components/commit/fb6e20290ba6842c5190217de55d13044169eebf) | fix | **timepicker:** text field in parse error not up to date | | [9b5ee9d55](https://redirect.github.com/angular/components/commit/9b5ee9d551f09f606cb0e92f6288cf3edd76a1da) | fix | **timepicker:** value considered as invalid by default | ##### cdk | Commit | Type | Description | | -- | -- | -- | | [f4a02adb7](https://redirect.github.com/angular/components/commit/f4a02adb779968ab1e696aa93dc69b62e7a18929) | feat | **a11y:** use native media query for high contrast detection ([#​29678](https://redirect.github.com/angular/components/pull/29678)) | | [9b4085c6e](https://redirect.github.com/angular/components/commit/9b4085c6e3eee78556000c0f60ef2c51c0668ed9) | feat | **private:** create cdk-visually-hidden style loader ([#​29757](https://redirect.github.com/angular/components/pull/29757)) | | [df21d2b09](https://redirect.github.com/angular/components/commit/df21d2b0915ee54fbf04b93ccba512a9161f5008) | fix | **overlay:** avoid having to manually load structural styles | | [560878a23](https://redirect.github.com/angular/components/commit/560878a231373dca51ecac07f913503ee3e860aa) | fix | **overlay:** load structural styles in a cascade layer ([#​29725](https://redirect.github.com/angular/components/pull/29725)) | | [873eb01e0](https://redirect.github.com/angular/components/commit/873eb01e018018f19434a4187a6b2a871272d09a) | fix | **portal:** remove ComponentFactoryResolver usages ([#​27427](https://redirect.github.com/angular/components/pull/27427)) | | [5439460d1](https://redirect.github.com/angular/components/commit/5439460d1fe166f8ec34ab7d48f05e0dd7f6a946) | fix | **scrolling:** adds ngTemplateContextGuard ([#​27276](https://redirect.github.com/angular/components/pull/27276)) | | [ad18e6d74](https://redirect.github.com/angular/components/commit/ad18e6d74e57e4980a411f0ac9d0b502d5fc577f) | fix | **text-field:** avoid having to manually load text field styles | | [bd84c2a67](https://redirect.github.com/angular/components/commit/bd84c2a67476b688a0c775de8566a4ff4b3b2ce0) | fix | **tree:** fix issue where `isExpanded` wouldn't be set if placed before `isExpandable` ([#​29565](https://redirect.github.com/angular/components/pull/29565)) | | [3b4ade5a0](https://redirect.github.com/angular/components/commit/3b4ade5a0b0df26cb72a9bb81742e1ea5d86a46a) | fix | **tree:** only handle keyboard events directly from the node ([#​29861](https://redirect.github.com/angular/components/pull/29861)) | | [f6066c23f](https://redirect.github.com/angular/components/commit/f6066c23feee5a23d870104860f1e18bb9f3db83) | fix | **tree:** warn if mixed node types are used within the same tree | ##### mat | Commit | Type | Description | | -- | -- | -- | | [8f0369a27](https://redirect.github.com/angular/components/commit/8f0369a27faa7cd6758d78a0a4e1c40811747e49) | fix | **paginator:** fix focus issues with paginator buttons ([#​29379](https://redirect.github.com/angular/components/pull/29379)) | ##### multiple | Commit | Type | Description | | -- | -- | -- | | [01711b180](https://redirect.github.com/angular/components/commit/01711b180404ad029bef54e81bdc90fb158dc506) | fix | account for mixed declarations in latest Sass version ([#​29596](https://redirect.github.com/angular/components/pull/29596)) | | [cb1450fc7](https://redirect.github.com/angular/components/commit/cb1450fc76998426111e150a983deb31ecbe42ce) | fix | change fallbacks to use m3 ([#​29528](https://redirect.github.com/angular/components/pull/29528)) | | [a9da72ed1](https://redirect.github.com/angular/components/commit/a9da72ed1551601b22b1a509f2e50227ac23f432) | fix | consolidate strong focus indicators ([#​29623](https://redirect.github.com/angular/components/pull/29623)) | | [be342289c](https://redirect.github.com/angular/components/commit/be342289c2cc720af31edf1ce98eee08e2bf9235) | fix | remove final references to ComponentFactoryResolver ([#​29832](https://redirect.github.com/angular/components/pull/29832)) | | [d1d53f51a](https://redirect.github.com/angular/components/commit/d1d53f51ad9c565275c4916cf8e107dd994b7fc3) | fix | remove usages of Sass globals ([#​29972](https://redirect.github.com/angular/components/pull/29972)) | | [b3a9062ed](https://redirect.github.com/angular/components/commit/b3a9062edf8863250ddd462e5abe009fbc46243b) | fix | ripples not showing up in some cases ([#​29672](https://redirect.github.com/angular/components/pull/29672)) | | [485bd9923](https://redirect.github.com/angular/components/commit/485bd9923b732390fbc3533f94815da97bd34c13) | fix | stop exposing internal ripple implementation ([#​29622](https://redirect.github.com/angular/components/pull/29622)) |

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 5 days ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: tests-e2e/package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: tests-e2e@0.0.0
npm error Found: @angular/common@18.2.12
npm error node_modules/@angular/common
npm error   @angular/common@"18.2.12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular/common@"^19.0.0 || ^20.0.0" from @angular/cdk@19.0.0
npm error node_modules/@angular/cdk
npm error   @angular/cdk@"19.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-11-21T03_14_27_229Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-11-21T03_14_27_229Z-debug-0.log
codecov[bot] commented 5 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (a971bc1) to head (3a9ff37). Report is 28 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #10533 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 227 227 Lines 4946 4946 Branches 1148 1148 ========================================= Hits 4946 4946 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: