diff --git a/packages/avatar/CHANGELOG.md b/packages/avatar/CHANGELOG.md index 650637a6a..9b4e43d0f 100644 --- a/packages/avatar/CHANGELOG.md +++ b/packages/avatar/CHANGELOG.md @@ -1,3 +1,60 @@ +# @weave-design/avatar-v1.0.0 (2023-02-24) + + +### Bug Fixes + +* react v. in peerDependencies instead of dependencies ([4701332](https://github.com/Autodesk/hig/commit/4701332)) +* **avatar:** add theme knobs in avatar storybook, use only one letter for avatar when size is small, fix js warnings ([4057b51](https://github.com/Autodesk/hig/commit/4057b51)) +* backgroundId to account for lowercase name ([4c0ac9d](https://github.com/Autodesk/hig/commit/4c0ac9d)) +* bump up theme-context dependency ([b068dab](https://github.com/Autodesk/hig/commit/b068dab)) +* **bundle:** Fix package bundles ([a1b479d](https://github.com/Autodesk/hig/commit/a1b479d)) +* **bundle:** include dependency CSS ([f5a4a62](https://github.com/Autodesk/hig/commit/f5a4a62)) +* Forcing semantic release by editing readmes ([d39b61f](https://github.com/Autodesk/hig/commit/d39b61f)) +* function initialsFromName() can't handle some non-English names properly ([a844ede](https://github.com/Autodesk/hig/commit/a844ede)) +* **package:** update [@hig](https://github.com/hig)/theme-context to version 2.0.0 ([c3dbc64](https://github.com/Autodesk/hig/commit/c3dbc64)) +* remove key duplicated ([2683acc](https://github.com/Autodesk/hig/commit/2683acc)) +* resolve versioning issue, Avatar 0.2.0->1.0.0 ([535d892](https://github.com/Autodesk/hig/commit/535d892)) +* Shows a bg color for names starting w/ Z ([9745ec3](https://github.com/Autodesk/hig/commit/9745ec3)) +* theme-context and theme-data as peer dependencies ([7c7d2db](https://github.com/Autodesk/hig/commit/7c7d2db)) + + +### Code Refactoring + +* Major Release - React 17 Upgrade ([2523711](https://github.com/Autodesk/hig/commit/2523711)) + + +### Features + +* add stylesheet prop ([4465d6a](https://github.com/Autodesk/hig/commit/4465d6a)) +* allow className to be passed down to Avatar ([6b7c894](https://github.com/Autodesk/hig/commit/6b7c894)) +* **avatar:** Add medium-32 size to avatar ([bc7a31d](https://github.com/Autodesk/hig/commit/bc7a31d)) +* **avatar:** Handle errored images ([#907](https://github.com/Autodesk/hig/issues/907)) ([0867acc](https://github.com/Autodesk/hig/commit/0867acc)) +* **avatar:** Implement new avatar BG colors (ACWB-8852) ([ec8a934](https://github.com/Autodesk/hig/commit/ec8a934)) +* **avatar:** Move avatar component into a scoped package ([#874](https://github.com/Autodesk/hig/issues/874)) ([e55e531](https://github.com/Autodesk/hig/commit/e55e531)) +* **avatar:** Remove unneeded function ([d8de162](https://github.com/Autodesk/hig/commit/d8de162)) +* **avatar:** themable avatar ([0fbd821](https://github.com/Autodesk/hig/commit/0fbd821)) +* improve markup semantics ([df10f18](https://github.com/Autodesk/hig/commit/df10f18)) +* Mark package compatibility with React 16 ([6eaeb27](https://github.com/Autodesk/hig/commit/6eaeb27)) +* Small refactors to make usage by avatarBundle possible ([09d6bf9](https://github.com/Autodesk/hig/commit/09d6bf9)) +* Update avatar props and background color calculation ([7eaf08a](https://github.com/Autodesk/hig/commit/7eaf08a)) +* updating peer dependencies release ([0a8a2b6](https://github.com/Autodesk/hig/commit/0a8a2b6)) +* use latest theme-data ([6214278](https://github.com/Autodesk/hig/commit/6214278)) + + +### Reverts + +* "Revert "Revert "feat : Migrate all repository to React v17.0 """ ([bf78986](https://github.com/Autodesk/hig/commit/bf78986)) + + +### BREAKING CHANGES + +* This release includes upgrading to React 17 and all associated libraries. The components have also had structural changes, utilizing stateless components and hooks. There should be no change in look or behavior of components. The code usage is the same so if you’re already on react 17 you can bump the version directly. If you’re on an old version of react you’ll need to upgrade your project’s react first to 17 and then the HIG components. This upgrade also means no more fixes for the react 15 version but it will still be available for download from NPM. You can fork the repo and make fixes with the older version if there is something critical past this release date. +* **avatar:** The sizes.LARGE_36 size is no longer supported. You can +substitute with sizes.MEDIUM_32 or sizes.LARGE_48. The "large-48" size +is no longer supported. You can substitute it with "large" for 48 pixels +wide or "medium-32" for 32 pixels wide. The previous "large" size is now +48 pixels wide rather than 36 pixels wide. + # [@hig/avatar-v2.2.0](https://github.com/Autodesk/hig/compare/@hig/avatar@2.1.0...@hig/avatar@2.2.0) (2022-08-28)