Skip to content

Releases: hypothesis/frontend-shared

v4.2.0

12 Nov 16:31
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

[v3.13.0] - 2021-10-05

  • Update margins on spacing patterns #205

v3.12.0

30 Sep 16:17
Compare
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
Compare
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

v3.10.0

15 Sep 16:23
Compare
Choose a tag to compare

[v3.10.0] - 2021-09-15

Adds emptyItemsMessage to Table, reduces CSS specificity of table pattern
and fixes web root for the local pattern library.

Added

  • Add emptyItemsMessage, reduce CSS specificity for Table (table pattern) #193

Changed

  • Serve pattern library at web root #192

v3.9.0

09 Sep 15:38
Compare
Choose a tag to compare

[v3.9.0] - 2021-09-09

Add more options for TextInput type, and add classes prop support to all
Button components.

Added

  • Add support for other "text-like" input types to TextInput #189
  • Add support for classes prop to Button components #188

v3.8.1

02 Sep 19:12
Compare
Choose a tag to compare

[v3.8.1] - 2021-09-02

Change to type declaration generation configuration.

Changed

  • Create types using tsconfig.json #183