All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.0.0 (2021-04-21)
- context: Add provider to your React tree
import { BreakpointProvider } from '@w11r/use-breakpoint'
- 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)
- mediaQuery: add support for prefix only breakpoints (436e6e7)
- mediaQuery: add support for shorthands (2a58497)
1.7.1 (2020-12-02)
- useBreakpoints: adding extra check on window so nextjs won't complain (e35efdb)
- useBreakpoints: NextJS support (9150685)
1.7.0 (2020-07-01)
- add support for media expressions directly from propless useBreakpoint (b188a49)
- use correct cache key (84e4a5c)
1.6.0 (2020-06-21)
- add multi-range breakpoints (29c2b9f)
1.5.0 (2020-06-06)
- add cjs version (15e436c)
1.4.3 (2020-05-15)
- missing dependencies (cbf6f3a)
1.4.2 (2020-05-15)
- stop relying on orientation (8e5b24a)
1.4.1 (2020-03-25)
1.4.0 (2020-03-05)
- mediaQuery: add support for Object type output (4025772)
- options: add support for short names (0a4d398)
1.3.3 (2020-02-29)
- ssr: temp solution to allow ssr till v2 (4e1e5a9)
1.3.2 (2020-02-29)
1.3.1 (2020-02-07)
- mediaQuery: emit all size declarations not only the first one (ac7ecfd)
1.3.0 (2020-01-16)
- add support for generating Media Query strings (b4cac9f)
- TS declaration for the case when no values are provided (ad23da4)
- default: handle orientation correctly (b1f2ff4)
1.2.0 (2020-01-06)
- add support for generating Media Query strings (b4cac9f)
- TS declaration for the case when no values are provided (ad23da4)
1.1.1 (2019-12-10)
- cache
window.innerWidth
for better performance (c849134)
1.1.0 (2019-11-07)
- add support for meaningful default value when no arguments provided for the hook (38352f5)
1.0.1 (2019-08-22)
- default value change should trigger update (66a65d7)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.