Skip to content

Releases: hypothesis/frontend-shared

v6.8.1

06 Oct 07:38
Compare
Choose a tag to compare

Fixed

  • Export ToastMessages component and relevant types from main entry point by @acelaya in #1287
  • Improve SelectNext props API by @acelaya in #1288
  • Improve SelectNext arrow key navigation by @acelaya in #1290
  • Fix SelectNext focus inconsistencies when mixing mouse and keyboard interaction by @acelaya in #1292

Full Changelog: v6.8.0...v6.8.1

v6.8.0

29 Sep 07:14
Compare
Choose a tag to compare

Added

  • Create SelectNext component replacing Select by @acelaya in #1247
  • Allow [type=number] and [type=password] on Input component by @acelaya in #1248
  • Add arrow key navigation loop option by @acelaya in #1268
  • Make Dialog API more strict depending on variant by @acelaya in #1256
  • Add reusable ToastMessages component by @acelaya in #1272

Full Changelog: v6.7.0...v6.8.0

v6.7.0

08 Sep 11:16
Compare
Choose a tag to compare

Added

Full Changelog: v6.6.0...v6.7.0

v6.6.0

29 Aug 10:42
Compare
Choose a tag to compare

This release adds a new Textarea component, and the feedback prop to Input, Select and also Textarea, deprecating hasError prop.

Added

  • Add feedback prop to input to support dynamic styling by @acelaya in #1196
  • Add feedback prop to Select to get it up to speed with Input by @acelaya in #1205
  • Add Textarea component by @acelaya in #1204

Deprecated

  • Deprecate hasError in Select and Input. Get the same behavior by providing feedback="error". By @acelaya

Full Changelog: v6.5.0...v6.6.0

v6.5.0

24 Jul 16:17
Compare
Choose a tag to compare

This release adds a new CloseButton component and extends Dialog to be able to accommodate custom layouts. It also changes uses of tailwind utility class rounded-sm to rounded for elements that should have a default border-radius. It adds a pattern-library prototype page for UI for the import/export project.

Changed

  • (Potentially breaking) This package’s tailwind.preset now defines theme.extend.borderRadius.DEFAULT value that is equivalent to Tailwind’s default rounded-sm and uses this when the styling intention is for a “default” border-radius size. Local presets have already been updated in client, via and lms, so no action should be necessary in those projects. by @lyzadanger in #1143
  • Update Dialog and allies for import/export UI needs by @lyzadanger in #1162

Added

Fixed

  • Fix slider transition event by @acelaya in #1157
  • Ensure CloseButton always rendered 16px square in panel/dialog headers by @lyzadanger in #1169

Full Changelog: v6.4.0...v6.5.0

v6.4.0

05 Jul 13:05
Compare
Choose a tag to compare

This release adds a new Callout component and significantly restructures pattern-library documentation for components (for clarity and consistency).

What's Changed

Full Changelog: v6.3.0...v6.4.0

v6.3.0

02 Jun 12:18
Compare
Choose a tag to compare

This release adds a new OptionButton component and updates LinkButton to support the styling API. The generate-icons script has been updated to take input and output directory arguments.

Added

Changed

  • Update LinkButton to use styling API; align with Link by @lyzadanger in #1055
  • Add optional input and output directory arguments to scripts/generate-icons.js by @robertknight in #1064

Full Changelog: v6.2.0...v6.3.0

v6.2.0

24 May 16:23
Compare
Choose a tag to compare

This release extends Button and Link with styling API props and deprecates associated ButtonBase and LinkBase components. The pattern library receives a light design refresh. Small updates to other components.

Added

  • UI Sketch "Tennis" with some possible options for buttons in the LMS content-picking interface by @lyzadanger in #1003
  • Add objectFit prop to Thumbnail and update documentation by @lyzadanger in #1032

Changed

  • Simplify dev server by @acelaya in #1026
  • Pattern library: Adjust margins, add Info, InfoItem components by @lyzadanger in #1029
  • Update AspectRatio documentation structure by @lyzadanger in #1031
  • Extend Link with Styling API, update documentation by @lyzadanger in #1028
  • Remove redundant headings on single-component documentation pages by @lyzadanger in #1033
  • Update the structure of component documentation for data, feedback components by @lyzadanger in #1047
  • Make Button components implement Styling API, deprecate ButtonBase by @lyzadanger in #1048

Fixed

  • Make sure Dialogs do not render close button when onClose callback is not provided by @acelaya in #1045

Full Changelog: v6.1.1...v6.2.0

v6.1.1

28 Apr 12:34
Compare
Choose a tag to compare

Fixed

Full Changelog: v6.1.0...v6.1.1

v6.1.0

28 Apr 07:15
Compare
Choose a tag to compare

Added

Fixed

Changed

Removed

Full Changelog: v6.0.0...v6.1.0