Releases: OfficeDev/office-ui-fabric-core
4.0.0
Breaking Changes
- #766: The base font classes (e.g.
.ms-font-m
) no longer set the text color to neutral primary. To upgrade to this version of Fabric, you can add the.ms-fontColor-neutralPrimary
class to every element with a.ms-font-[size]
class in your project. For a simpler alternative, add the new.ms-Fabric
wrapper to the<body>
of your page (or around whatever section uses Fabric) to set the base type color to neutral primary.
New
- #784: Added an
.ms-Fabric
wrapper component. This currently sets the text color to neutral primary, and in future releases will be used to set other foundational styles. - #782: We've added nearly 400 new icons! The icons page of our website has been updated with the new icon set. We've even added search functionality to help you find the icon you're looking for.
Documentation
- #781: There is now a documentation site included with Fabric Core. To view this, clone the project and run
gulp watch
to start a local server. You can then access the site from http://localhost:2020.
3.1.0
New
- #773: The presence icons for Skype have been added to the icon set.
Fixed
- #764: For those using Bower to consume Fabric, an issue has been fixed that may have generated a warning previously.
- #765: We've changed how the minified (
fabric.min.css
) version of Fabric is generated so that animations now work correctly. - #772: The
input-placeholder()
mixin has been updated to properly output browser-prefixed versions of the class.
Changed
- #776: The icon size (e.g.
ms-Icon--xs
) classes have been moved toFabric.Icons.Output.scss
and new mixins have been added to_Fabric.Icons.scss
. This follows our pattern for all classes where it's possible to import the mixins/variables to a project without outputting any CSS directly. - #762: Travis will no longer send success/failure emails after building a branch.
Removed
- #777: Variables for high-contrast link colors have been removed. These are not necessary, as the browser already applies color to links in high-contrast mode.
Documentation
- #775: The Markdown documentation has been updated to more clearly explain the differences between this project and Fabric JS.
- #778: The bundling documentation has been updated to remove references to bundling of Fabric JS components.
3.0.0
Breaking Changes
As described in a recent blog post, we have separated Fabric into two projects: Fabric Core (this repo) for shared styles and Fabric JS for the component set.
If you have only been using the styles (fonts, colors, etc.) from Fabric, you can safely upgrade to this version. If, however, you have been using components (buttons, text fields, toggles, etc.) then you will instead want to use Fabric JS, which includes a reference to this project. You can also consider Fabric React or ngOfficeUIFabric as alternative component sets.
This release introduces a new set of icons, which replaces the previous icon set. In most cases there is a direct equivalent of the old icon that can be found in the new set.
The only other breaking change to be aware of is that the line-height of an icon is now inherited from its parent, rather than set to 1
. This makes icons behave more predictably when placed alongside other text. If you notice issues after upgrading, you can restore the old behavior with a simple override in your app:
.ms-Icon {
line-height: 1;
}
3.0.0 Beta 2
This is the second beta release of Fabric 3.0.0. See the Fabric blog for more details. If you encounter issues, please add them to our issues list so that we can resolve them before the general release.
3.0.0 Beta 1
This is the first beta release of Fabric 3.0.0. See the Fabric blog for more details. If you encounter issues, please add them to our issues list so that we can resolve them before the general release.
2.6.1
2.6.0
New
- #515: Added a MessageBar component
- #524, #534: Added new utility classes:
ms-u-textAlignLeft
,ms-u-textAlignCenter
,ms-u-textAlignRight
,ms-u-screenReaderOnly
,ms-u-textTruncate
,ms-u-noWrap
, andms-u-borderBase
(adds a 1px border to be used in combination withms-borderColor-[color]
classes) - #515: Adds two new colors:
warning
andsevereWarning
Deprecated
- #515: The
alert
colors will be removed in a future release, as they've been renamed tosevereWarning
Documentation
- Additional Markdown files for MessageBar, Breadcrumb, and Button. This content will be used in a future version of the Fabric website.
2.5.0
2.4.1
2.4.0
New
- #499: Add fixed variant to large size panel
- #493: Adding table-layout: fixed variant for Table component
- #429: Fabric Accessibility - High contrast mode
Fixed
- #498: Remove unused localhost Express server.js file
- #491: Fixed the placeholder to support tab navigation
- #438: Allow breadcrumb to show when less than maxitems in list.
Changed
- #492: Searchbox Change background color