Skip to content

Releases: hypothesis/frontend-shared

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

v3.8.0

02 Sep 13:46
Compare
Choose a tag to compare

[v3.8.0] - 2021-09-02

Adds Table component. Adds containerRef prop to all container components.
Removes old Pattern Library components.

Breaking Changes

  • Pattern Library: Remove unused PatternPage component module and its styles #4856b90 -- older Pattern* components are no longer available: use Library.* components

Added

  • Add Table component #174
  • Make all container components take containerRef; consolidate tests #172

Changed

  • Convert remaining pattern library pages to newer Library components #175

v3.7.0

12 Aug 12:06
Compare
Choose a tag to compare

[v3.7.0] - 2021-08-12

Updates the visual style of Spinner. Adds Scrollbox container component.

Added

  • Add Scrollbox container component #170
  • Introduce a table pattern #168
  • Add "scrollbox" pattern #166

Changed

  • Extract some reusable sample components and refactor Dialog examples #169
  • Convert remaining patterns pages to newer Library components #164
  • Add a very simple introductory page to the pattern library #167
  • Update color foundations page to newer components #160
  • Convert container-patterns page to newer Library components #161
  • Update developer documentation: yalc, development workflow #147
  • Only mock local components #156
  • Remove remaining prop-types usage #155
  • Make spinner visual treatment work better in various sizes #154