v4.0.0
2020-06-15
The changes below are the consolidation of changes made across all 4.0.0 beta versions (v4.0.0-beta.0
- v4.0.0-beta.5
).
To review the breaking changes made in this release and get more information on migrating, check out the v4 Migration Guide.
Infrastructure
- ci: Release canary builds for prerelease branches (#481) @anicholls
- ci: Fix prerelease canary builds (#501) @anicholls
- feat: Add script for easy promotion of labs components (#522) @anicholls
- chore: Manage dependencies (#533) @anicholls
- fix: Remove SyntheticEvent type usage (#499) @donovangini
- refactor: Destructure default props (#525) @mannycarrera4
- chore: Upgrade packages to fix vulnerabilities (#531) @anicholls
- feat(core): Add window configuration option to inherit font family (#553) @anicholls
- fix: Add type checking to PRs and fix type errors (#609) @NicholasBoll
- ci: Use sha in prerelease version to avoid duplicates (#616) @anicholls
- ci: Trim sha before using it for canary preid (#619) @anicholls
- ci: Fix version regex for canary publish (#622) @anicholls
- fix: Clean up ts3.5 files (#630) @NicholasBoll
- ci: Add script to announce trunk build failures in slack (#628) @anicholls
- chore: Upgrade Babel and presets to support optional chaining (#631) @NicholasBoll
- chore: Fix version issue in beta build (#644) @anicholls
- chore: Fix create-module and promote-module (#660) @NicholasBoll
- fix: Fix check-lockfile call during precommit linting (#663) @jamesfan
- ci: Improve canary builds & publish behavior (#665) @anicholls
- docs: Clean up 4.0 migration guide (#677) @anicholls
- chore: Update canvas-colors-web dependencies (#706) @anicholls
Theming
- chore: Promote theming functions out of labs (#558) @mannycarrera4
- chore: Move theme functionality from labs to common (#594) @mannycarrera4
- fix(common): Improve theming API stability (#593) @anicholls
- fix(common): Auto-generate contrast color for partial theme (#700) @donovangini
Components
- refactor(button): Simplify Button components and prep for theming (#471) @anicholls
- refactor: Rename and move IconButtonToggleGroup to SegmentedControl (#505) @anicholls
- fix(modal): Use React portals for accessibility fixes (#419) @NicholasBoll
- chore: Promote SegmentedControl out of labs (#524) @anicholls
- fix(button): Misc. fixes after refactor (#509) @anicholls
- feat(button): Add theming support to buttons (#527) @anicholls
- refactor(button): TextButton design updates (#540) @anicholls
- feat(button): Add Hyperlink component (#541) @anicholls
- feat(tooltip): Refactor to a simpler API (#528) @NicholasBoll
- feat(core): Allow InputProvider to use a configurable container (#546) @mannycarrera4
- fix(button): Fix IconButton states and update TextButton CSS (#577) @anicholls
- ci(tooltip): Fix chromatic flag (#585) @NicholasBoll
- fix: Rename prop labels to match aria labels (#551) @mannycarrera4
- fix(modal): Add missing aria-modal=true and add aria-label (#588) @alexandrzavalii
- feat(button): Add href support (#590) @anicholls
- fix(color-picker): Fix accessibility announcement for color input (#639) @mannycarrera4
- test(toast): Fix chromatic stories for toast (#625) @mannycarrera4
- fix(pagination): Provide aria live attribute for accessibility (#620) @mannycarrera4
- fix(avatar): Combine Avatar & AvatarButton and provide fallback image (#614) @vibdev
- feat(select): Add theming to select in labs (#648) @mannycarrera4
- fix(avatar): Fix misalignment on ie11 (#676) @alexandrzavalii
- fix(toast): Action link align on new line (#682) @alexandrzavalii
- fix(button): Update button readme with toolbar section (#680) @mannycarrera4
- feat(button): Add toolbar dropdown button (#684) @mannycarrera4
- test(card): Add stories and enable snapshots (#708) @mannycarrera4
- feat: Add a Popup Stack manager to Canvas Kit (#670) @NicholasBoll
- fix: Use theme contrast color for input "checks" (#719) @anicholls
- fix(button): Misc. styling fixes and update to focusRing API (#726) @anicholls
- fix(form-field): Fix default prop bug (#702) @alanbsmith
- fix(segmented-control): Misc. fixes and story improvements (#730) @anicholls
- fix(icon): Fix icon color references (#733) @anicholls
- feat(select): Render menu using a portal (#641) @jamesfan