Skip to content

Releases: hypothesis/frontend-shared

v4.5.0

31 Jan 19:18

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

v4.4.0

02 Dec 17:11

Choose a tag to compare

[v4.4.0] - 2021-12-02

  • Add tailwind dependency and provide tailwind preset #242

v4.3.0

15 Nov 16:28

Choose a tag to compare

[v4.3.0] - 2021-11-15

Fixed

Reverts (removes) types for SVG "modules" #239.

v4.2.0

12 Nov 16:31

Choose a tag to compare

[v4.2.0] - 2021-11-12

  • Update Spinner and add FullScreenSpinner pattern and component #237
  • Add types for SVG "modules" #230
  • Fix demo-source layout and a wayward font rule #231

v4.1.0

01 Nov 13:41

Choose a tag to compare

[v4.1.0] - 2021-11-01

Changed

  • Add appropriate ARIA attributes for button role="tab" #233

v4.0.0

27 Oct 09:25

Choose a tag to compare

Breaking changes

This package is now published exclusively as an ES module package. The CommonJS
build has been removed. Downstream projects will need to use tools (eg. bundlers)
that understand ES modules and any references to the CommonJS build (
@hypothesis/frontend-shared/lib-cjs/...) will need to be updated to reference
the ES module files (@hypothesis/frontend-shared/lib/...).

Full Changelog: v3.14.0...v4.0.0

v3.14.0

26 Oct 17:20

Choose a tag to compare

[v3.14.0] - 2021-10-26

Added

  • Add all icons and add new Icon component #221, revise icon registration API #217
  • Add link pattern and Link component #211
  • Bring accessibility- and focus-related mixins and utils into package #220

Changed

  • Convert bundling to use Rollup #213
  • Split pattern library SASS and remove remaining resets and element styles #212, update CSS normalization #209
  • Adjust selectors and classname for headers in Panels/Dialogs #210

Deprecated

  • registerIcons deprecated in favor of registerIcon in #217

v3.13.0

05 Oct 13:21

Choose a tag to compare

[v3.13.0] - 2021-10-05

  • Update margins on spacing patterns #205

v3.12.0

30 Sep 16:17

Choose a tag to compare

[v3.12.0] - 2021-09-30

  • Allow configuration of close, cancel buttons on Dialog #203

v3.11.0

30 Sep 06:05

Choose a tag to compare

  • Dual-build package as ES modules and CommonJS #200

    As a result of this change the CommonJS versions of modules within the package
    have moved from lib/ to lib-cjs/.

  • Add support for extra CSS classes to Checkbox components #178