Skip to content

Releases: hypothesis/frontend-shared

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

v6.0.0

19 Apr 17:19
Compare
Choose a tag to compare

This major release removes all legacy components, supporting assets, and documentation.

Use the package entry point instead of lib/next for all imports: the next entry point will be removed in an upcoming minor release.

Breaking

  • Version 6: Remove legacy assets, eliminate Next naming by @lyzadanger in #968

Full Changelog: v5.14.0...v6.0.0

v5.14.0

17 Apr 12:33
Compare
Choose a tag to compare

This release adds a new ModalDialog component, and expands Dialog to accept a TransitionComponent as one of its props. Modal is deprecated in favor of ModalDialog.

Added

  • Enhance Dialog so that it allows providing a TransitionComponent by @acelaya in #957
  • Make ModalDialog available in package API by @lyzadanger in #960

Deprecated

  • Modal is deprecated (use ModalDialog instead)

Full Changelog: v5.13.0...v5.14.0

v5.13.0

12 Apr 17:13
Compare
Choose a tag to compare

This release adds a Dialog component and several new event-related hooks to the package. The useElementShouldClose hook is now available in the next entrypoint, but is deprecated in favor of the new, more granular event hooks. Types for all component props are now exported. Pattern library documentation updated.

Added

Changed

  • Remove "Status" sections, migration guides from component pattern-library pages by @lyzadanger in #890

Deprecated

  • Deprecate useElementShouldClose, export granular event hooks by @lyzadanger in #914

Fixed

Full Changelog: v5.11.1...v5.13.0

v5.12.0

09 Mar 14:01
Compare
Choose a tag to compare

This is primarily a housekeeping release that also fixes some small bugs and inconsistencies. Types for props accepted by all non-legacy components are now exported from the next entrypoint.

Added

Fixed

Changed

Tailwind since v3.2 provides aria- variants: this package's custom support is removed but the feature remains. All known components have been migrated to the non-legacy variants, so migration instructions have been removed from the pattern library.

  • Remove custom aria- Tailwind variants by @lyzadanger in #871
  • Update Card and InputGroup pattern library documentation by @lyzadanger in #873
  • Remove "Status" sections, migration guides from component pattern-library pages by @lyzadanger in #890
  • Ensure useElementShouldClose hook is available in next entrypoint by @lyzadanger in #902

Full Changelog: v5.11.1...v5.12.0

v5.11.1

21 Feb 13:50
Compare
Choose a tag to compare

This release fixes an issue in which there was too much padding at the bottom of Panel components that did not contain buttons.

Fixed

  • Panel: Do not render container for buttons if there are no buttons by @lyzadanger in #866

Full Changelog: v5.11.0...v5.11.1

v5.11.0

16 Feb 16:48
Compare
Choose a tag to compare

This release adds support for better scrolling control in Panel and Modal,
and ensures that DataTables with sparse row data lay out correctly. It also
adds a new TableFoot presentational component, part of the family of Table*
components.

Added

  • Add new TableFoot component b53a578
  • Add flexibility for scrolling partial content in Panel and Modal by @lyzadanger in #855

Fixed

Full Changelog: v5.10.0...v5.11.0