v1.0.0-next.0
Pre-release
Pre-release
theetrain
released this
12 Jan 20:36
·
180 commits
to master
since this release
Note: this is an unstable prerelease. See discussion #1872 for details and contribution guide!
New features
- Generate Carbon v11 styles and implement visual and interactive designs based on the flagship Carbon component library
- UIShell has a new light theme
- Tabs will display as a horizontal scrolling list on small viewports
- Buttons have a new
xl
size
Breaking changes
Overall, this is a major style change the will impact the appearance and features of many components. Use caution when upgrading and test your applications.
Components
- Button has new prop values for
size
andkind
- Theme follows v11 conventions:
g80
theme isn't supported, toggled themes adjustdata-carbon-theme
attribute in<html>
tag (for now, tokens usebx
prefix, but that may change) - Tabs has a
contained
prop instead oftype
- ContentSwitcher
size
prop no longer supportssize="xl"
;md
is the new default - MultiSelect no longer supports
xl
size - OverflowMenu no longer supports
xl
size - Search no longer supports
xl
size - TreeView no longer supports
compact
size - UIShell has a different appearance per theme
CSS
- Several class names have been changed due to the v11 overhaul. If you're targeting or overriding component classes, be sure to test your code
- Many tokens and CSS variables have been renamed. Details: https://carbondesignsystem.com/migrating/guide/develop
- Themes are applied to the
<html>
element asdata-carbon-theme="g10"
instead oftheme="g10"
- The g80 theme no longer exists
General
- Codebase uses
npm
instead ofyarn
π Thank you @gregorw for initial work.
Full Changelog: v0.82.8...v1.0.0-next.0