Releases: NYPL/nypl-design-system
Releases · NYPL/nypl-design-system
v3.5.0
v3.4.4
Version 3.4.4
v3.4.3
Version 3.4.3
v3.4.2
Version 3.4.2
v3.4.1
Version 3.4.1
v3.4.0
Updates
- Updates invalid text in the
SearchBar
component to include "There was a problem. " prefix. - Updates the
MultiSelect
component to add interaction tests. - Increases the z-index of the
FeedbackBox
'sDrawer
component so it displays above all other elements on a page. - Updates the
Table
component to add theisScrollable
prop to enable horizontal scrolling. - Updates the
Table
component to add thecolumnStyles
prop to allow for custom column styles (i.e. width, text alignment, etc.). - Updates the
Table
component to add thetableTextSize
prop to set the size of the text within the table. - Updates the
Table
component to add thetitleText
andshowTitleText
props to control the<caption>
element andaria-label
attribute. - Updates the styles for the
Template
component to better accommodate the horizontal scrolling in theTable
component.
v3.3.2
Version 3.3.2
v3.3.1
Updates
- Updates
Tooltip
component withplacement
andoffset
props for custom positioning.
Fixes
- Fixes a duplicate
id
issue in theImage
component. This happened when an aspect ratio value rendered a wrapper div with the sameid
as theimg
element. This was not picked up by internal accessibility tests but in a consuming application.
v3.3.0
Adds
- Adds development guide for Conditional Viewport
- Adds the
FilterBarPopup
compoonent anduseFilterBarPopup
hook.
Updates
- Updates the
FilterBarInline
component to applycloseOnBlur
toMultiSelect
components whenlayout="row"
. - Updates the
Breadcrumbs
component props to includecustomLinkComponent
andlinkProps
. - Updates the
Banner
component to allow for HTML content in thecontent
prop when passed as a string. - Updates the
SearchBar
component styles for mobile viewports. - Updates the
Select
component to accept adefaultValue
prop to set initial value of uncontrolled components. - Updates the legend in the
MultiSelect
'sCheckboxGroup
to use thebuttonText
prop value for better accessibility context. - Updates the
Menu
component to add theshowSelectionAsLabel
prop and improve thearia-label
values. - Updates the
Image
component to default thealt
attribute to an empty string if no value is passed.
Removes
- Removes
imageProps.alt
missing warning message fromFeaturedContent
as the prop is not always required.
v3.2.0
Adds
- Adds the
FilterBarInline
component. - Adds refined
NewsletterSignup
component with updated props. - Adds refined
SocialMediaLinks
component with updated props.
Updates
- Updates Storybook and related npm packages to version
8.1.11
. Does not affect any DS component. - Updates the
Banner
,Button
,ButtonGroup
,DatePicker
,FeaturedContent
,FeedbackBox
,Fieldset
,HelperErrorText
,Label
,SkipNavigation
, andStyledList
components to export all types and prop interfaces.