Releases: salesforce/design-system-react
v0.8.29
Release 0.8.29
BugFixes
- Fixes issues on color-picker component:
- Fixes bug where setting transparent ('') as prop
value
was not applied. - Fixes warning message on
Swatch
color prop. - Fixes bug where workingColor was not respecting outer color input.
- Fixes bug where setting transparent ('') as prop
v0.8.28
v0.8.27
Release 0.8.27
This version reverts CSS class changes in 0.8.26 that align with the modified-BEM structure that Salesforce Lightning Design System switched to in June 2017. These changes are were promised to be backwards compatible for 18 months.** .
Please use the upcoming 0.9.x for components that use the modified BEM (that is the className
contains --
instead of _
).
v0.8.26
Release 0.8.26
This release contains CSS class modifications that are compatible with Salesforce Lightning Design System, but may result in if consumers are reaching into components and querying the DOM for CSS classes. Please use 0.8.27 if you do not want these updates to align better with Salesforce Lightning Design System.
Bugfixes
- Fixes
DataTable
's fixed-layout column width not being applied - Do not dismiss combobox lookup menu when clicking on menu scrollbar
Maintenance
- Adds additional helpful instruction for the pr template
- Converts Dropdown to ES6 class
- Removes
findDomode
from Dropdown - Creates ESLint plugin and rule to disallow double-dash (
--
) modifier class names - Removes Mocha console errors
v0.8.25
Release 0.8.25
Minor Features
onRequestIconPath
added toIconSettings
to allow developers to return a custom icon path--for instance, on the same page with a local anchor (#down
). This is helpful for when there are Cross-Origin Resource Sharing (CORS) issues with SVGs that are located on another domain such as a CDN.
Bugfixes
- Brand Band now exported in CJS/ESM packages
v0.8.24
Release 0.8.24
Bugfixes
- Missing
docs.json
for each component added to build. Component meta data is now stored with each component folder indocs.json
. This library's release script was not copying the new file which makes all components imports fail.
v0.8.23
Release 0.8.23
Do not use 0.8.23. Component meta data is now stored with each component folder in docs.json
. This library's release script was not copying the new file which makes all components imports fail.
Major Features
- Adds new
BrandBrand
component
Minor Features
- Adds new
style
prop toButton
component - Allows passing node as avatar in
GlobalHeaderProfile
Bugfixes
- Fixes popper position when its props update in
Dialog
component.popper.scheduleUpdate
now runs withinDialog
'scomponentWillUpdate
lifecycle method. - Replaces
Tooltip
withPopoverTooltip
internally
Maintenance
- Removes
prettier-eslint
- Allows linking to doc site from dev console warning messages
- Improves instructions on adding a new component to DSR
v0.8.22
Release 0.8.22
Bugfixes
- Fixes v0.8.21 CommonJS/ES6 module versions of this library which had an undefined error that is a high priority blocker. See 0.8.21 release tag for more details on the bug.
Documentation
Input
'sassistiveText.label
console warning fixed.
v0.8.21
Version 0.8.21 CommonJS/ES6 module versions of this library have an error that is a blocker. Component display names of old locations (used by CommonJS/ES6 modules transpile export on NPM) of these components result in the following errors.
*'../../../utilities/constants' does not contain an export named 'INPUT'.
*'../../../utilities/constants' does not contain an export named 'NAVIGATION'.
Please use 0.8.22 (coming soon) if you use CommonJS/ES6 module versions (Create React App for instance).
Release 0.8.21
- DataTable's
onChange
replaced withonRowChange
.onChange
's parameters are(selectedArrayOfItems, event)
.onRowChange
standardizes the parameters with the rest of the library withevent, { selection:[array] }
.
Minor Features
- Input: Add Field Level Help and Inline Help variants
- Icon: Add Warning, error, light color options
- Modal: Add additional warning when
Settings.setAppElement
is not set. - AppLauncher: Add to CommonJS and ES6 module library export
- Spinner: Add to doc site
Bugfixes
- Progress Indicator: Improved assistive tech user experience
- DatePicker: Fixing issue where year picker doesn't show years correctly
- GlobalHeaderButton: Invalid markup fixed when used within GlobalHeaderTrigger
- Tree: Allow label to be a React node (more lenient proptypes)
- Positioning behavior of Dialog components that use nubbins has changed. This applies to
Popover
,Tooltip
,Datepicker
,Dropdown
. Previously the nubbin would be misaligned due to hardcoded margins that would get added onto the dialog component. It will now instead calculate the offsets and include them in the positioning logic and add/subtract from the left and top. - Dialogs that use nubbins would previously have the nubbins point at the location on the reference trigger component (i.e.
Button
). Details:- If a Popover had an align of
top left
, that meant the nubbin would point at the top left hand side of theButton
. - The behavior now is that the nubbin will always position the Dialog element as needed to ensure it points at the center of the desired side.
- In the case of a
top left
align the left will only designate the location of the nubbin on the Dialog. - We may decide to bring back the ability to control both the nubbin location on the Dialog, but also the location at which it points to on the reference element. Much of the logic surrounding nubbins has been broken at the seams and edge cases for a long time. This change has been done in order to provide a more robust and dependable solution.
- Any dialog that uses an
offset
prop will need to be manually readjusted. - Deprecate
offset
prop forDropdown
andPopover
. The manual setting of positional offset of dialog components has been deemed unreliable. Position logic has been re-written to deliver better and more reliable positioning. Please create an issue if you have an edge case not covered by the built-in logic.
- If a Popover had an align of
Maintenance and documenation
- Move
Navigation
toVerticalNavigation
to align with SLDS. - Dropdown: Document that default menu height is 5
- Datepicker: Increase default years, 5 to 10 years
- Add warnings to
bread-crumb
,forms/input
,forms/radio
,forms/textarea
,navigation
,popover-tooltip
to show that they have been moved. Warning only occurs when using source code filesimport [COMPONENT] from
design-system-react/components/[COMPONENT]` - Modal: Deprecate rarely used Trigger Portal found at
/components/modal/trigger
- Combobox: Clarify prop docs
- Update react-doc-gen version
- Tree: Move to one render function and proptype object per file
- Add url-slug to package.json components, Makes prompt easier to find
- Update SLDS site URLs for doc site
- Add NPM babel preset
package.json
- Prefer object spread instead of
object.assign
eslint rule - Revert to
npm install
fromnpm ci
due to TravisCI issues
v0.8.20
Release 0.8.20
Bugfixes
- Fix bug in
Dropdown
component where getIndexByValue() needs to look at nextProps.options when componentWillreceiveProps() is called. - Datepicker: Make year Combobox menu width match the width of its input/button.
Maintenance
- Documentation update on how to use Design System React within Create React App.
- Consolidate assistiveText props under one object for the following:
DataTable
,Icon
,Search
,PanelFilterGroup
,Spinner
,Tree
,TextArea
.