Skip to content

v2.1.3

Compare
Choose a tag to compare
@bigfishdesign13 bigfishdesign13 released this 07 Dec 17:00
· 2028 commits to release since this release
f2b8fc9

Adds

  • Adds the hasVisitedStyles prop to Link which is used to include or omit the visited state styles. Default value is true.
  • Adds the useDSHeading hook to render a default H2 heading or a custom heading element.
  • Adds the sizeBasedOn prop to the Image component.
  • Adds the isDarkBackgroundImage prop to the Hero component.

Updates

  • Removes disabled variant from Link theme file, as it isn't being used.
  • Updates the font-weight to "regular" for the subtitle1 and subtitle2 text styles.
  • Updates the "digitalCollectionsBlack" variant of the Logo component to use NYPL color design tokens.
  • Updates the following components to accept JSX.Element type values into their "title" prop: List, NewsletterSignup,
  • Updates the following components to accept JSX.Element type values into their "headingText" prop: AlphabetFilter, AudioPlayer, ComponentWrapper, SearchBar, VideoPlayer
  • Updates the Notification component to accept JSX.Element type values into its "notificationHeading" prop.
  • Updates the StructuredContent component to accept JSX.Element type values into its "headingText" and "calloutText" props.
  • Updates the FeaturedContent component by adjusting the spacing in the "fullScreen" variant to better align the component text content with the page text content.
  • Updates the "campaign" variant of the Hero component to improve the spacing around the component.
  • Updates the Card component so that it accepts the imageProps.isLazy prop and passes it to its internal Image component.

Fixes

  • Adds z-index on hover to the SearchBar's select icon so it no longer disappears.
  • Adds z-index to the DatePicker's calendar container so that the helper text does not shift when the calendar opens.