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

[deps] Design System: Update @angular/cdk to v18 #10590

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 19, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/cdk 17.3.10 -> 18.2.12 age adoption passing confidence

Release Notes

angular/components (@​angular/cdk)

v18.2.12

Compare Source

material
Commit Type Description
3fc968a59 fix datepicker: use SVG icons for calendar (#​29957)

v18.2.11

Compare Source

cdk
Commit Type Description
5d1bc76430 fix tree: only handle keyboard events directly from the node
a3449dc851 perf table: Use ResizeObservers instead of dom measurement to reduce layout thrashing (where possible) (#​29814)
material
Commit Type Description
a98c886163 fix button: anchor not handling disabledInteractive correctly (#​29938)
810040e8fc fix sidenav: remove IE animation workaround (#​29929)
197747e2bd fix stepper: remove IE animation workaround (#​29916)

v18.2.10

Compare Source

material
Commit Type Description
501faa9a54 fix chips: emitting end event multiple times when holding down key (#​29894)
4a0397a1c7 fix tabs: remove IE animation workaround (#​29899)

v18.2.9

Compare Source

material
Commit Type Description
80bfac26b fix badge: content incorrectly truncated in M3 (#​29854)
2d7519178 fix card: elevated card container color (#​29835)
6ce574731 fix dialog: updates dialog max-height in landscape (#​29853)
ddb55e2c2 fix form-field: account in cols attribute on textarea (#​29836)
afc6b9db1 fix radio: use tokens for focused border color (#​29716)

v18.2.8

Compare Source

cdk
Commit Type Description
fa43a2456 fix stepper: remove mock of forms type
5bed0943a fix stepper: reset submitted state when resetting stepper
material
Commit Type Description
104b5932c feat core: expose styling information to the docs site
7ebfbeb6c fix schematics: treat lower dependency builder as default builder (#​29833)

v18.2.7

Compare Source

cdk
Commit Type Description
3e1faec2aa fix drag-drop: positioning thrown off with align-self (#​29813)
material
Commit Type Description
9280ad3948 fix chips: chip grid not re-focusing first item
7a5c1dfb46 fix chips: chip set overwriting disabled state (#​29795)
0fabf52036 fix chips: focus escape not working consistently
da55ad02bc fix core: infer first day of week in native date adapter (#​29802)

v18.2.6

Compare Source

material
Commit Type Description
d8c2b420c9 fix datepicker: set explicit line height on calendar (#​29770)

v18.2.5

Compare Source

cdk
Commit Type Description
1ea55b6e8 fix drag-drop: account for scale when setting free drag position (#​29739)
aae74b031 fix listbox: scroll active option into view when using aria-activedescendant (#​29722)
7db4b5f4c fix tree: resolve maximum call stack error (#​29754)
material
Commit Type Description
f9e18109e fix chips: increase chip remove touch target size (#​29452)
2cf2f5321 fix datepicker: replace labels not pointing to anything (#​29755)
7ab65e4fb fix select: remove incompatible aria-autocomplete attribute (#​29645)
06818a7ed fix slider: log proper error when slider isn't configured correctly (#​29745)

v18.2.4

Compare Source

cdk
Commit Type Description
7cc0d3a6d fix overlay: avoid leaking memory through afterNextRender (#​29709)
material
Commit Type Description
651b448e8 fix badge: change legacy container size default (#​29713)
0e6dee30a fix form-field: Don't allow label to grow larger than input (#​29673)
57028df23 fix select: Update checkbox color to match the selected label text color (#​29684)

v18.2.3

Compare Source

material
Commit Type Description
0f07b25d12 fix badge: resolve memory leak (#​29676)
fe3f30ff2f fix core: Allow system variables to be formatted for opacity (#​29665)
5d93395442 fix core: Fix incorrect color role mappings (#​29655)
4a79052ae0 fix tooltip: remove old IE workaround (#​29674)

v18.2.2

Compare Source

cdk
Commit Type Description
39d3d01340 fix drag-drop: error if ngDevMode is undefined (#​29634)
b1c5ed7260 fix tree: avoid breaking change in constructor (#​29648)
ff95692125 fix tree: capturing focus on load (#​29641)
f888b3d95a fix tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#​29565) (#​29647)
material
Commit Type Description
3ce4e9fc2a fix schematics: Add the missing neutral tones for the M3 color palettes (#​29644)
f93d0f4095 perf tooltip: Avoid unneeded calls to clearTimeout (#​29643)

v18.2.1

Compare Source

cdk
Commit Type Description
3a2d13e2e4 fix drag-drop: preview positioned incorrectly when RTL is set on the body (#​29606)
material
Commit Type Description
bad94fda58 fix datepicker: calendar font tokens not being picked up (#​29610) (#​29615)
c4c62b8549 fix icon: update error message for missing HttpClient (#​29589)
b2a32e9898 fix menu: inconsistent layout of submenu icon (#​29603)
5f0c89030e fix tabs: switch pagination to not use native buttons (#​29605)

v18.2.0

Compare Source

Deprecations

material
  • Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.

    • BaseTreeControl, TreeControl, FlatTreeControl, and NestedTreeControl deprecated
    • CdkTree#treeControl deprecated. Provide one of CdkTree#levelAccessor or CdkTree#childrenAccessor instead.
    • MatTreeFlattener deprecated. Use MatTree#childrenAccessor and MatTreeNode#isExpandable instead.
    • MatTreeFlatDataSource deprecated. Use one of levelAccessor or childrenAccessor instead of TreeControl.
      Note when upgrading: isExpandable works differently on Trees using treeControl than trees using childrenAccessor or levelAccessor. Nodes on trees that have a treeControl are expandable by default. Nodes on trees using childrenAccessor or levelAccessor are not expandable by default. Provide isExpandable to override default behavior.
  • Setting tabindex of tree nodes deprecated. By default, Tree ignores tabindex passed to tree nodes.

    • MatTreeNode#tabIndex deprecated. MatTreeNode ignores Input tabIndex and manages its own focus behavior.
    • MatTreeNode#defaultTabIndex deprecated. MatTreeNode ignores defaultTabIndex and manages its own focus behavior.
    • MatNestedTreeNode#tabIndex deprecated. MatTreeNode ignores Input defaultTabIndex and manages its own focus behavior.
    • LegacyTreeKeyManager and LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER deprecated. Inject a TreeKeyManagerFactory to customize keyboard behavior.

    Note when upgrading: an opt-out is available for keyboard functionality changes. Provide LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER to opt-out of Tree managing its own focus. When provided, Tree does not manage it’s own focus and respects tabindex passed to TreeNode. When provided, have the same focus behavior as before this commit is applied.

    Add Legacy Keyboard Interface demo, which shows usage of LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER. Add Custom Key Manager, which shows usage of injecting a TreeKeyManagerStrategy

  • disabled renamed to isDisabled.

    • CdkTreeNode#disabled deprecated and alias to CdkTreeNode#isDisabled
material
Commit Type Description
ddc307e28 feat button-toggle: allow disabled buttons to be interactive (#​29550)
841760101 feat checkbox: add the ability to interact with disabled checkboxes (#​29474)
0af3b6175 feat radio: add the ability to interact with disabled radio buttons (#​29490)
4292e1b3a feat slide-toggle: add the ability to interact with disabled toggle (#​29502)
a018fb0ee feat tooltip: replicate tooltipClass to default MatTooltipDefaultOptions (#​29467)
aaf0d5156 fix checkbox: account for disabledInteractive in harness
d22a24d66 fix list: checkmark not visible in high contrast mode (#​29546)
a259b016b fix radio: account for disabledInteractive in harness
fd47a0e60 fix radio: avoid error if destroyed quickly (#​29507)
08d2e3e69 fix slide-toggle: account for disabledInteractive in harness
fd416a30e fix tooltip: remove aria-describedby when disabled (#​29520)
ff36c80f9 fix tree: add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements (#​29062)
1f992d06c fix tree: aria-expanded attribute should not appear in the leaf node (#​29273)
cdk
Commit Type Description
b2c051d2c feat drag-drop: add input to specify dragged item scale (#​29392)
multiple
Commit Type Description
db5b8dc29 feat fallback to system level variables (#​29480)

v18.1.5

Compare Source

material
Commit Type Description
b2e728db9 fix form-field: update state if control changes (#​29573)
1c438b312 fix schematics: Generate more accurate tonal palettes for M3 schematic (#​29536)
838d1a45a fix tabs: allow for tablist aria-label and aria-labelledby to be set (#​29562)

v18.1.4

Compare Source

material
Commit Type Description
2b5ae8c0ed fix chips: missing tokens in M3 (#​29531)
b98432839e fix sidenav: disable focus trap while closed (#​29548)

v18.1.3

Compare Source

cdk
Commit Type Description
2c76917779 fix coercion: Return undefined when the fallback value is undefined (#​29491)
material
Commit Type Description
caf4b61ead fix chips: remove tab-index attribute from mat-chip host (#​29436)
913267c0b1 fix core: custom system-level variable prefix not used in some mixins (#​29513)
70048ef226 fix dialog: invalid font-family declaration (#​29516)
d7d82e1455 fix slide-toggle: don't trigger active state for entire container (#​29514)
d237e7d2c7 fix slide-toggle: remove divs from button (#​29485)

v18.1.2

Compare Source

material
Commit Type Description
cf61af53bd fix chips: remove button is too small (#​29351)
c79ec264aa fix form-field: hiding a label after it has been (#​29461)
15238d255f fix input: Number input not changing on wheel interaction (#​29449)

v18.1.1

Compare Source

cdk
Commit Type Description
ca634cb7b fix drag-drop: remove preview after animate to placeholder animation completes (#​29439)
material
Commit Type Description
b7959c241 fix button: support palettes for icon button in M3 (#​29433)
ffe1c35c0 fix chips: fix focus issue (#​29427)
57cc0b04b fix core: require theme for option typography (#​29416)
2e5e415ec fix tabs: prevent tab header from collapsing when empty inside a drop list (#​29418)

v18.1.0

Compare Source

cdk
Commit Type Description
0bc6583892 feat drag-drop: add mixed orientation support
b5e30156c1 feat drag-drop: add the ability to specify an alternate drop list container (#​29283)
03d4e134c8 fix drag-drop: reset pointer events on descendants (#​29370)
material
Commit Type Description
5da528e44d feat button: allow button color to be configured through DI (#​29297)
6f698fa4e2 feat core: add option to configure prefix of system variables (#​29139)
5a97c03928 fix chips: navigate between rows on up/down arrow (#​29364)
566057b8f5 fix divider: non-text color contrast issues (#​28995)
65b56400bd fix tabs: remove visibility style when hydrating (#​29220)
cdk-experimental
Commit Type Description
fc6beeae18 fix popover-edit: Fix dialog role and allow aria label on popup (#​29380)
multiple
Commit Type Description
aa17c2d128 fix remove workarounds for formControl directive (#​29296)

v18.0.6

Compare Source

material
Commit Type Description
e5c5f151c fix core: add fallback if ripples get stuck (#​29323)

v18.0.5

Compare Source

cdk
Commit Type Description
0be4013d90 fix a11y: Make focus-trap behavior consistent across zoneful/zoneless (#​29225)
material
Commit Type Description
fad2a074e2 fix button-toggle: skip disabled buttons during keyboard navigation (#​29308)
e5684fe2b7 fix button: stack icons on top of touch target (#​29291)
c1a40a26d1 fix datepicker: avoid losing focus when re-rendering the current view (#​29287)
7f575daab5 fix sidenav: not closing on escape key press (#​29292)

v18.0.4

Compare Source

cdk
Commit Type Description
8e7ac0804 fix overlay: incorrectly dispatching outside click for shadow DOM (#​29249)
material
Commit Type Description
303984fd9 fix autocomplete: autocomplete panel top is cut off in landscape mode (#​28982)
69ae4040e fix bottom-sheet: changed after checked error with zoneless (#​29277)
317e371f0 fix core: generate mat-optgroup tokens in M3 (#​29257)
93bc60964 fix core: implement elevation classes in M3
6310016f2 fix form-field: outline label position (#​29138)
ce195dee4 fix menu: animation issue when same menu is used for multiple nested triggers (#​29280)
9988ef2f5 fix menu: update elevation logic for M3
bad8f6ad4 fix paginator: items per page form field touch target size insufficient (#​29109)
f834a11d2 fix tree: aria-expanded attribute should not appear in the leaf node (#​29096)

v18.0.3

Compare Source

material
Commit Type Description
f6b993fdb7 fix dialog: Make autofocus work with animations disabled (#​29195)
6dd1689b51 fix dialog: Make focus behavior consistent across zoneful/zoneless apps (#​29192)
81d4527f91 fix radio: mark radio-group for check on touch (#​29203)
0f4d1862d3 fix schematics: estimate missing hues in M3 schematic (#​29231)
faf348438d fix snack-bar: fix overrides mixin name typo (#​29180)

v18.0.2

Compare Source

cdk
Commit Type Description
5ef11b1e15 fix testing: TestbedHarnessEnvironment should work when Zone is not present (#​29176)
material
Commit Type Description
dfc19e2884 fix core: hide ripples inside drag&drop elements (#​29184)
51488a2b7e fix datepicker: Move aria-live attribute so month can also be announced when using previous and next month buttons (#​29137)
3945ed62cd fix radio: Ensure focus and selected states stay linked (#​29082)
8d44ed99c6 fix schematics: theming API migration not working with CRLF line endings (#​29171)
5e3d13d559 fix slider: Tick marks changes position as the slider is changed (for a step that is decimal number) (#​29108)

v18.0.1

Compare Source

material
Commit Type Description
d96b5e39e0 fix core: M3 themes not inserting loaded marker
b7c0a6ef56 fix form-field: outline label position (#​29123)
24de3d4884 fix menu: prevent divider styles from bleeding out (#​29111)
2110f2c97e fix tabs: avoid pagination infinite loop in safari (#​29121)
youtube-player
Commit Type Description
466e249cd1 fix error when interacting with the player before the API has been loaded (#​29127)

v18.0.0

Compare Source

Breaking Changes

material
  • The following APIs have been renamed. If you update using ng update, your app will be fixed automatically.
    • define-light-theme to m2-define-light-theme
    • define-dark-theme to m2-define-dark-theme
    • define-palette to m2-define-palette
    • get-contrast-color-from-palette to m2-get-contrast-color-from-palette
    • get-color-from-palette to m2-get-color-from-palette
    • get-color-config to m2-get-color-config
    • get-typography-config to m2-get-typography-config
    • get-density-config to m2-get-density-config
    • $red-palette to $m2-red-palette
    • $pink-palette to $m2-pink-palette
    • $indigo-palette to $m2-indigo-palette
    • $purple-palette to $m2-purple-palette
    • $deep-purple-palette to $m2-deep-purple-palette
    • $blue-palette to $m2-blue-palette
    • $light-blue-palette to $m2-light-blue-palette
    • $cyan-palette to $m2-cyan-palette
    • $teal-palette to $m2-teal-palette
    • $green-palette to $m2-green-palette
    • $light-green-palette to $m2-light-green-palette
    • $lime-palette to $m2-lime-palette
    • $yellow-palette to $m2-yellow-palette
    • $amber-palette to $m2-amber-palette
    • $orange-palette to $m2-orange-palette
    • $deep-orange-palette to $m2-deep-orange-palette
    • $brown-palette to $m2-brown-palette
    • $grey-palette to $m2-grey-palette
    • $gray-palette to $m2-gray-palette
    • $blue-grey-palette to $m2-blue-grey-palette
    • $blue-gray-palette to $m2-blue-gray-palette
    • $light-theme-background-palette to $m2-light-theme-background-palette
    • $dark-theme-background-palette to $m2-dark-theme-background-palette
    • $light-theme-foreground-palette to $m2-light-theme-foreground-palette
    • $dark-theme-foreground-palette to $m2-dark-theme-foreground-palette
    • define-typography-level to m2-define-typography-level
    • define-rem-typography-config to m2-define-rem-typography-config
    • define-typography-config to m2-define-typography-config
    • define-legacy-typography-config to m2-define-legacy-typography-config
    • typography-level to m2-typography-level
    • font-size to m2-font-size
    • line-height to m2-line-height
    • font-weight to m2-font-weight
    • letter-spacing to m2-letter-spacing
    • font-family to m2-font-family
    • font-shorthand to m2-font-shorthand
material-experimental
Commit Type Description
c345df788 feat theming: add mixin for customizing checkbox tokens (#​28759)
c932512ba fix theming: avoid re-emitting the same tokens from the backwards-compatibility styles
material
Commit Type Description
4473a379f feat core: add prebuilt themes based on M3
e2a45bf1e feat core: Allow namespacing ripple-loader event handler (#​28699)
d679024de feat core: move Material 3 support into stable (#​28913)
4ba4689dc feat core: namespace m2-specific theming APIs (#​28892)
295fd67fa feat schematics: Add custom M3 theme schematic (#​28766)
b312b9491 feat schematics: use M3 themes in schematics
f8bd658df feat theming: add ability to use sys variables (#​28898)
49901c640 fix button-toggle: use radio pattern for single select Mat toggle button group (#​28548)
5501d9b40 fix core: add migration for M2 theming APIs (#​28927)
0ccc52830 fix core: export all available M3 palettes (#​28975)
a5ad288bf fix core: ripple loader not working in shadow DOM (#​29015)
ec9e83db4 fix datepicker: resolve repeater warnings in calendar (#​29028)
6dc8f7e90 fix dialog: mark dialog content as scrollable (#​28963)
ae82909a9 fix schematics: Add css token renaming migration
3e9d3c394 fix schematics: add option to generate system variables in M3 schematic
bdb17c6b3 fix schematics: Change themeTypes to a single select instead of a multiselect prompt in M3 theme schematic (#​28997)
c86359dd4 fix slide-toggle: no outline when selected in high contrast mode (#​28979)
d4e61e233 fix table: use ResizeObserver to react to size changes (#​28783)
a4fc0a097 fix theming: remove shadow css variable (#​28953)
0bb5610d0 fix theming: restrict css color usage behind a flag (#​28944)
a332146ff perf core: speed up M3 compilation (#​29009)
cdk
Commit Type Description
d8a6c3edd fix observers: don't observe content of comments (#​28858)
81fe8f322 fix observers: Run content changed callback in NgZone (#​28870)
108cce33b fix overlay: Remove use of zone onStable to detach content (#​28740)
d91d0d424 fix scrolling: fix virtual scrolling jankiness with run coalescing (#​28846)
c8b62a154 fix scrolling: fix virtual scrolling jankiness with run coalescing (#​28968)
multiple
Commit Type Description
4719da2c3 feat token overrides api (#​28910)

Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

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


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot requested review from a team and willmartian August 19, 2024 01:29
Copy link
Contributor Author

renovate bot commented Aug 19, 2024

⚠️ 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @bitwarden/[email protected]
npm error Found: @angular/[email protected]
npm error node_modules/@angular/common
npm error   @angular/common@"17.3.12" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular/common@"^18.0.0 || ^19.0.0" from @angular/[email protected]
npm error node_modules/@angular/cdk
npm error   @angular/cdk@"18.2.12" 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-06T17_28_18_857Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-11-06T17_28_18_857Z-debug-0.log

@renovate renovate bot force-pushed the renovate/major-angularmaterial-monorepo branch 2 times, most recently from 7cd0665 to 3f4570b Compare August 28, 2024 21:23
@renovate renovate bot force-pushed the renovate/major-angularmaterial-monorepo branch from 3f4570b to cdade32 Compare September 4, 2024 21:52
@renovate renovate bot force-pushed the renovate/major-angularmaterial-monorepo branch from cdade32 to bb05423 Compare September 12, 2024 14:53
@renovate renovate bot force-pushed the renovate/major-angularmaterial-monorepo branch 2 times, most recently from 28b24d9 to 04e2953 Compare September 25, 2024 19:26
@renovate renovate bot force-pushed the renovate/major-angularmaterial-monorepo branch 2 times, most recently from 7d52402 to 2e5c970 Compare October 9, 2024 13:48
@renovate renovate bot force-pushed the renovate/major-angularmaterial-monorepo branch 2 times, most recently from 1d0acf8 to 0b03955 Compare October 23, 2024 20:27
@renovate renovate bot force-pushed the renovate/major-angularmaterial-monorepo branch 2 times, most recently from 2eab15c to 16a480e Compare November 4, 2024 17:06
@renovate renovate bot force-pushed the renovate/major-angularmaterial-monorepo branch from 16a480e to f1dcb8e Compare November 6, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants