Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Release 21.0.0 #2621

Merged
merged 3 commits into from
Apr 13, 2023
Merged

Release 21.0.0 #2621

merged 3 commits into from
Apr 13, 2023

Conversation

lowiebenoot
Copy link
Collaborator

@lowiebenoot lowiebenoot commented Apr 13, 2023

[21.0.0]

Added

  • Menu: It is now scrollable when the available space is less than the height (@farazatarodi in #2618)

Changed

  • Container: Removed 72px padding on xl viewport (@farazatarodi in #2618)

  • [BREAKING] Menu: State management now should happen in the parent component (@farazatarodi in #2618).

  • Menu: Shadow and border now use the values from the design system (@farazatarodi in #2618).

  • [BREAKING]: CSS custom properties are not transpiled anymore. Before, the custom properties were replaced with the actual values in the built CSS, but now they are not replaced as we want to actually use custom properties natively. So you need to make sure that you import the variables into your project (e.g. import '@teamleader/ui/es/index.css'; in JS or @import url('@teamleader/ui/es/index.css) in css). (@lowiebenoot in #2620)

  • [BREAKING] Menu: The onShow property is removed as the state management is now moved to the parent component (@farazatarodi in #2618).

Fixed

  • [BREAKING] Menu: It now requires an anchor element for positioning when it is not static. Previously it was based on the parent element, which caused layout bugs in flex elements (@farazatarodi in #2618).

@lowiebenoot lowiebenoot self-assigned this Apr 13, 2023
@lowiebenoot lowiebenoot requested review from a team, jelledc, KristofColpaert, qubis741, stefaandevylder, eniskraasniqi1, BeirlaenAaron and JorenSaeyTL and removed request for a team April 13, 2023 09:24
@lowiebenoot lowiebenoot marked this pull request as ready for review April 13, 2023 09:24
farazatarodi
farazatarodi previously approved these changes Apr 13, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
@lowiebenoot lowiebenoot merged commit f6aebb0 into next-release Apr 13, 2023
@lowiebenoot lowiebenoot deleted the release-21.0.0 branch April 13, 2023 09:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants