Skip to content

Latest commit

 

History

History
163 lines (77 loc) · 6.96 KB

CHANGELOG.md

File metadata and controls

163 lines (77 loc) · 6.96 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.0 (2021-04-21)

⚠ BREAKING CHANGES

  • context: Add provider to your React tree
import { BreakpointProvider } from '@w11r/use-breakpoint'

Features

  • context: move resize logic into context provider (74e3531)
  • mediaQuery: add support for prefix only breakpoints (436e6e7)
  • mediaQuery: add support for shorthands (2a58497)

1.8.0 (2021-01-02)

Features

  • mediaQuery: add support for prefix only breakpoints (436e6e7)
  • mediaQuery: add support for shorthands (2a58497)

1.7.1 (2020-12-02)

Bug Fixes

  • useBreakpoints: adding extra check on window so nextjs won't complain (e35efdb)
  • useBreakpoints: NextJS support (9150685)

1.7.0 (2020-07-01)

Features

  • add support for media expressions directly from propless useBreakpoint (b188a49)

Bug Fixes

1.6.0 (2020-06-21)

Features

  • add multi-range breakpoints (29c2b9f)

1.5.0 (2020-06-06)

Features

1.4.3 (2020-05-15)

Bug Fixes

1.4.2 (2020-05-15)

Bug Fixes

  • stop relying on orientation (8e5b24a)

1.4.1 (2020-03-25)

Bug Fixes

  • useBreakpoint: match logic to Media Queries logic (b7b3d56)
  • useBreakpoint input types (813c8e9)

1.4.0 (2020-03-05)

Features

  • mediaQuery: add support for Object type output (4025772)
  • options: add support for short names (0a4d398)

1.3.3 (2020-02-29)

Bug Fixes

  • ssr: temp solution to allow ssr till v2 (4e1e5a9)

1.3.2 (2020-02-29)

Bug Fixes

  • default: handle orientation correctly (b1f2ff4)
  • ssr: temp solution to allow ssr till v2 (4c62d7c)

1.3.1 (2020-02-07)

Bug Fixes

  • mediaQuery: emit all size declarations not only the first one (ac7ecfd)

1.3.0 (2020-01-16)

Features

  • add support for generating Media Query strings (b4cac9f)

Bug Fixes

  • TS declaration for the case when no values are provided (ad23da4)
  • default: handle orientation correctly (b1f2ff4)

1.2.0 (2020-01-06)

Features

  • add support for generating Media Query strings (b4cac9f)

Bug Fixes

  • TS declaration for the case when no values are provided (ad23da4)

1.1.1 (2019-12-10)

Bug Fixes

  • cache window.innerWidth for better performance (c849134)

1.1.0 (2019-11-07)

Features

  • add support for meaningful default value when no arguments provided for the hook (38352f5)

1.0.1 (2019-08-22)

Bug Fixes

  • default value change should trigger update (66a65d7)

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.