Skip to content

Releases: hypothesis/frontend-shared

v5.4.0

29 Aug 13:31
Compare
Choose a tag to compare

What's Changed

This version swaps out "Unstyled" components in favor of "Base" components (breaking change). It adds updated AspectRatio, Thumbnail and Checkbox components.

Breaking

  • Breaking: Replace *Unstyled components with extended *Base components by @lyzadanger in #584

Added

Fixed

  • Ensure ButtonUnstyled takes HTML attributes for button elements by @lyzadanger in #583

Changed

Full Changelog: v5.3.0...v5.4.0

v5.3.0

19 Aug 12:39
Compare
Choose a tag to compare

This release adds several updated components and expands documentation in the pattern library.

Added

Full Changelog: v5.2.1...v5.3.0

v5.2.1

01 Aug 19:13
Compare
Choose a tag to compare

This patch release ensures that every component exported by the package has a unique export reference name. See #539 for further explanation.

Fixed

  • Differentiate export names from function names in components by @lyzadanger in #539

Full Changelog: v5.2.0...v5.2.1

v5.2.0

29 Jul 13:39
Compare
Choose a tag to compare

This is the second of a series of minor version releases adding re-implemented components. These may be imported from @hypothesis/frontend-shared/lib/next. See README and pattern library web documentation for details.

Added

Full Changelog: v5.1.0...v5.2.0

v5.1.0

20 Jul 12:16
Compare
Choose a tag to compare

This is the first of a series of minor version releases adding re-implemented components. These may be imported from @hypothesis/frontend-shared/lib/next. See README and pattern library web documentation for details.

Added

Changed

Full Changelog: v5.0.0...v5.1.0

v5.0.0

30 Jun 14:56
Compare
Choose a tag to compare

This breaking release is primarily concerned with removing assets no longer needed by consumers of this package:

  • Utility classes prefixed with .hyp-u- are no longer provided by this package. Applications should instead use auto-generated Tailwind utility classes based on this package's tailwind.preset.js and the application's own local Tailwind configuration.
  • The legacy normalizeKeyName utility is no longer provided by this package as it provides normalization for browsers that Hypothesis applications no longer support.

Breaking

  • Breaking: Remove normalizeKeyName from package by @lyzadanger in #467
  • Breaking: Remove all .hyp-u- utility classes from package by @lyzadanger in #46

Changed

v4.6.0

20 Jun 14:06
Compare
Choose a tag to compare

What's Changed

This release adds a new .focus-visible-ring utility class that can be composed with other tailwind ring utility classes. This replaces deprecated.hyp-u-outline-on-keyboard-focus and .hyp-u-outline-on-keyboard-focus--inset classes, which will be removed (along with all .hyp-u--prefixed utility classes) in the next major release.

As of this release, we are no longer maintaining a manual CHANGELOG.md in this project but will be using release notes in GitHub.

Added

  • Provide .focus-visible-ring utility by @lyzadanger in #449
  • Remove manual CHANGELOG in preference of auto-generated GitHub notes by @lyzadanger in #442

Full Changelog: v4.5.2...v4.6.0

v4.5.2

14 Apr 16:13
Compare
Choose a tag to compare

[v4.5.2] - 2022-04-14

Presentational components updated to forward HTML div attributes. containerRef
property deprecated in favor of elementRef. A few more colors added to
tailwind preset.

Deprecated

containerRef prop for "container" presentational components is deprecated in
favor of elementRef. Support for containerRef will be removed in v5.0 of
this package.

Added

  • Add a few slate greys to the preset colors #310

Changed

  • Forward HTML attributes for div-based presentational components #382
  • Update project READMES with info about Tailwind conversion #339

v4.5.1

01 Feb 13:03
daa5d1d
Compare
Choose a tag to compare

No changes from v4.5.0 (Github workflow action fix for publishing to NPM).

v4.5.0

31 Jan 19:18
Compare
Choose a tag to compare

[v4.5.0] - 2022-01-31

Significant updates to dependencies in this package. The pattern library now styles
itself with Tailwind.

Breaking

  • Projects using the pattern-library SASS entrypoint at styles/library must enable
    tailwind layers (base, components and utilities) beforehand.

Changed

  • Add text colors to tailwind preset #303
  • Enable and use Tailwind in pattern library #293
  • Extend tailwind preset with more goodies and support #258
  • Enable tailwind for local pattern-library #257
  • Upgrade tailwind and add touch-size minimum to preset #245
  • Add dependabot configuration #244
  • Update Foundations pages #6bc1659
  • Remove external pattern-library CSS (unused) #6b735b0