Skip to content

Releases: WTTJ/welcome-ui

Release 8.1.2

07 May 12:02

Choose a tag to compare

  • Merge pull request #2746 from WTTJ/wui-111-assetdrawer-implement-scrolltotop-props-with-default-true (ef0406c)
  • fix(Drawer): fix close button on mobile (stickiness) (156312c)
  • chore(AssetDrawer): remove unnecessary changes (1170096)
  • feat(Drawer): rm unrelated change on AssetDrawer (f23f4fb)
  • feat(Drawer): rm useless scrollToTop on drawer (5877b64)
  • feat(AssetDrawer): add scrollToTopOnOpen property to AssetDrawer (1a2a889)
  • feat(AssetDrawer): remove scrollbar from AssetDrawer content (900550e)
  • fix(AssetDrawer): do not close Drawer when interacting with Notifications (#2742) (12b03c9)
  • Merge pull request #2747 from WTTJ/chore-security-react-router-dom (3128d19)
  • fix: react-router-dom security fix (9d6fdde)

Release 8.1.1

23 Apr 07:25

Choose a tag to compare

  • Chore revert linters pr (#2741) (1e53ea4)
  • ci: change codeowners (#2738) (fd3c84f)
  • Merge pull request #2735 from WTTJ/WUI-116-fix-tag-removable-short-content (f4e4298)
  • fix: do not use shape styles when onremove is truthy (969435b)
  • chore(deps-dev): bump jsdom from 26.0.0 to 26.1.0 (#2734) (f406e3f)

Release 8.1.0

11 Apr 13:54

Choose a tag to compare

What's Changed

Full Changelog: v8.0.4...v8.1.0

Release 8.0.4

08 Apr 13:48

Choose a tag to compare

  • fix: link props should be forwarded to UniversalLink (#2728) (4bba80a)

Release 8.0.3

08 Apr 07:03

Choose a tag to compare

  • chore: fix peer for vitest eslint (#2727) (d53cda9)
  • fix: declaration files should be references as exportable for typescript to generate declaration files of libraries using wui (#2724) (c9edb4e)

Release 8.0.2

31 Mar 15:27

Choose a tag to compare

What's Changed

Full Changelog: v8.0.0...v8.0.2

Release 8.1.0-alpha.2

20 Mar 17:01

Choose a tag to compare

Release 8.1.0-alpha.2 Pre-release
Pre-release
v8.1.0-alpha.2

Release 8.1.0-alpha.2

Release 8.1.0-alpha.1

20 Mar 16:23

Choose a tag to compare

Release 8.1.0-alpha.1 Pre-release
Pre-release

Release 8.1.0-alpha.0

20 Mar 15:44

Choose a tag to compare

Release 8.1.0-alpha.0 Pre-release
Pre-release
v8.1.0-alpha.0

Release 8.1.0-alpha.0

Release 8.0.0

12 Mar 09:50

Choose a tag to compare

Version 8: XStyled and styled-component upgrades

Welcome UI V8 upgrades:

  • @xstyled/styled-component to v4
  • styled-components to v6

This upgrade is a major version because it includes breaking changes.

Version 8 illustration

Upgrade steps

1. Upgrade your dependencies

Upgrade @xstyled/styled-components and styled-component packages:

yarn upgrade @xstyled/styled-components@^4.0.0 styled-components@^6.1.15

2. Remove useless dependency

Remove @types/styled-components package (types are now included in styled-components v6):

yarn remove @types/styled-components

3. Script to migrate

In welcome-ui repository, run this script:

yarn migrate '../your_project_path/**/*.{ts,tsx}'

This not cover all changes, so please check:

  • Move typescript on styled component
+ export const Component = styled.divBox<{ property: string }>(
+ ({ property }) => css`
- export const Component = styled.divBox(
-   ({ property }: {property: string }) => css`
  • Use styled.*Box instead of styled.* with ${system} pattern (The definition of the return type of the styled function has change)
+ export const Component = styled.spanBox`
- export const Component = styled.span`
-   ${system}