Releases: salesforce/design-system-react
Releases · salesforce/design-system-react
v0.6.8
Release 0.6.8
New Components
- Checkbox button group
- Exported SLDSSearch (
forms/input/search
) in bundled package
Minor Changes
- Started using assistiveText prop object instead of individual prop strings (Datepicker). Will follow suit in other components.
- Change React.PropTypes to prop-types in preparation for React upgrade
- Added a11y html markup to Filter
- Allow devs to pass in link to Icon for external icons
Bugs
- Fixed filter but where 'ESC' didn't close popover
v0.6.7
Release 0.6.7 - SLDS 2.2.2
Minor Changes
Checkbox
Toggle variant added
Minor Changes
MenuPicklist
: Add inline error state similar toInput
Input
: correct spelling and usage ofaria-labelledby
v0.6.6
Release 0.6.6
Minor Changes
- Fix focus transfer on close of "modal"
Picklist
- Remove title attribute on column header if
DataTable
column label is not a string - Pass
iconPosition
prop fromDropdown
to a custom trigger - Add
onClick
callback prop toFilter
- Add
DataTable
width prop to column header - Add
className
prop toFilter
v0.6.5
Release 0.6.5
Minor Changes
Datepicker
has adateDisabled
callback to allow disabling of arbitary dates.Filter
has apopover
prop that allows custom props to be passed in and allows theFilter
's popover to be controlled by the developer instead of theFilter
.Lookup
has an additional item compare to see if it should update its internal state. This is a temporary hack until state can be removed fromLookup
and it can directly use props.- Inline icons are now v7.7.0. Version was just updated in a prior release.
Maintenance
- Git/filesystem bug fixed due to capitalization change with
KEYS.js/keys.js
v0.6.4
Release 0.6.4
Major Changes
- Filtering
Panel
component added with variants New, Error, and Locked.- Filters component added.
- Forward looking statement:
FilterGroup
may be broken out ofPanel
and into it's own component in the future so that it can be used outside of aPanel
, but was not broken out in this release due to pattern not existing outside of Panel in SLDS.
MAINTENANCE
- Reference of
undefined
variable inTabs
removed.
v0.6.3
Release 0.6.3
Major Changes
BreadCrumb
component is nowBreadcrumb
with a backwards compatible alias.- ElementS are now allowed within Tab's
label
prop. DataTable
- Markup updated to SLDS 2.2.1
- If you are using
id
attributes, to query the DOM (tsk, tsk), theid
s have changed format. DataTable
is now bordered by default. This is a visual breaking change, but will not be considered one for semver, due to SLDS's change to bordered tables being the default style.- Advanced/Fixed Table supports "title" attribute for truncated cells
DataTable
Columnlabel
can be a node.DataTable
column sort arrow issues resolved, including ARIA issues.
- Icons are now v7.7.0.
- Added
closeButtonAssistiveText
toModal
for i18n
MAINTENANCE
- Documentation build out now occurs on all pull requests to catch issues sooner.
- Internal components use ES6's
export default
. Public components were not affected, but will be moved ES6'sexport default
in the future. - ESlint issues reduced to less than 300. Linting check added to pre-commit script for staged files.
- Added Greenkeeper for dependency management
v0.6.2
Release 0.6.2
Major Changes
- Added Navigation component
Minor Changes
- Markup updates to Modal, Button, Card, Input, and Page Header
v0.6.1
Release 0.6.1
- Documentation site updates. No production code changed in this release.
v0.6.0
Release 0.6.0
MAJOR CHANGES
- Datepicker updates
className
now is added to the node withslds-datepicker
class within the dialog. UsetriggerClassName
for the outer wrappingdiv
. [BREAKING CHANGE]onChange
(formerly onDateChange) now provides callback with event and a data object in the shape:{date: [Date object], formattedDate: [string], timezoneOffset: [number]}
- Many new props and features: calendar alignment, assistive text props, accepts custom input, supports ISO weekday (Monday first), new props to allow calendar to be controlled (onClose, onOpen, onRequestClose, onRequestOpen),
portalMount
prop for testing React root nodes, more alignment with other menu/dialog components - Additional accessiblity and testing
- See Date Picker documentation for fullset of changes
id
on GlobalNav Link move to list item instead ofa
[BREAKING CHANGE]- In Button,
aria-*
props now use hyphen instead of camelCase. Usearia-expanded
and notariaExpanded
. [BREAKING CHANGE]
MINOR CHANGES
- Picklist bugfix where the value might be available before the options object is. This would make the active item index be incorrect.
- Fix sort arrow bug in DataTable. Only one column can be actively sorted at a time. Column heading padding has also been updated.
- Add
disabled
prop to Lookup. - Popover's
onRequestClose
andonClose
now fire once when Dialog component closes. - Popover spacing from target/trigger is correct.
checkProp
'soneOfComponent
parsesdisplayName
properly
v0.5.4
Release 0.5.4
MINOR CHANGES
- Add icon/figure support to Page header (Object home variant)
- Correct dropdown trigger styling within a button group (e.g.- more button)
- Fix bug caused by DST and hours calculation in Datepicker.