react-tabs

An accessible and easy tab component for ReactJS.

MIT License

Downloads
3.5M
Stars
3K
Committers
68

Bot releases are visible (Hide)

react-tabs - v6.0.2 Latest Release

Published by github-actions[bot] over 1 year ago

6.0.2 (2023-07-17)

Bug Fixes

react-tabs - v6.0.1

Published by github-actions[bot] over 1 year ago

6.0.1 (2023-04-21)

Bug Fixes

  • refactor defaultProps to disable warning from react (#518) (dc34bdb)
react-tabs - v4.3.0

Published by danez over 1 year ago

4.3.0 (2023-04-08)

Features

  • Add typescript typings to repo (0cb15ff)
  • typescript: Add new type for custom tabs function components (#469) (51b30bb)
react-tabs - v6.0.0

Published by github-actions[bot] almost 2 years ago

6.0.0 (2022-11-27)

Features

  • Remove UMD build and drop support for older browsers (e4b9867)

BREAKING CHANGES

  • The UMD build has been removed.
  • Older browsers are not supported anymore. In particulare Internet Explorer, the default browser on Android < 5.0 and iOS Safari < 12.2
  • src folder is not included anymore in the package to reduce package size.
react-tabs - v5.2.0

Published by github-actions[bot] almost 2 years ago

5.2.0 (2022-11-27)

Features

react-tabs - v5.1.0

Published by github-actions[bot] over 2 years ago

5.1.0 (2022-04-17)

Features

  • typescript: Add new type for custom tabs function components (#469) (f5a877c)
react-tabs - v5.0.0

Published by github-actions[bot] over 2 years ago

5.0.0 (2022-04-17)

This release focus on tackling some long-standing issues with server-side rendering. react-tabs now uses some new features from react 18 to fix those issues. The npm package is now ~20% smaller and the UMD builds are also a little bit smaller (production: ~5%, dev: ~30%)

Features

  • Add typescript typings to repo (4965a39)
  • Improve output code size and do not package tests (77d571a)
  • Minify generated code and don't print comments (efd6807)
  • Use new useId hook from react 18 (487326c)

BREAKING CHANGES

  • Typescript typings are now part of this package. Please uninstall @types/react-tabs
  • React version 18 or newer is now required.
  • resetIdCounter was removed as it is not necessary anymore. Ensure you remove any calls to it from your code.
  • The package now does use Object.assign directly instead of babel helpers. In older browsers you need to pollyfill Object.assign and Symbol. react itself has the same requirements, see https://reactjs.org/docs/javascript-environment-requirements.html
  • Tests are not shipped anymore with the npm package.
react-tabs - v4.2.1

Published by github-actions[bot] over 2 years ago

4.2.1 (2022-04-16)

Bug Fixes

  • Improve minimal performance of code (58caf6a)
react-tabs - v4.2.0

Published by github-actions[bot] over 2 years ago

4.2.0 (2022-03-31)

Bug Fixes

  • Do not always refocus tab if rerender happens (4c63bcb)

Features

  • New prop to disable focusing tabs on click (85caf7a)
react-tabs - v4.1.0

Published by github-actions[bot] over 2 years ago

4.1.0 (2022-03-31)

Features

  • Support react version 18 (f849c30)
react-tabs - v4.0.1

Published by github-actions[bot] over 2 years ago

4.0.1 (2022-03-01)

Bug Fixes

  • Requires React version 16.8 or newer (397673d)
react-tabs - v4.0.0

Published by github-actions[bot] over 2 years ago

4.0.0 (2022-03-01)

Features

  • Always set focus on tabs (4512dad), closes #272
  • Updated all the class components to newer functional components (b2159c9)

BREAKING CHANGES

  • The tabs are now instantly focused on click and not just by double-click. The default styling has been adapted for that, so that there is no outline shown anymore on focus.
  • Requires react 16.8 or newer
react-tabs - v3.2.3

Published by github-actions[bot] almost 3 years ago

3.2.3 (2021-10-28)

Bug Fixes

  • Change strategy to detect tabs for compatibility with other libraries (517a056), closes #424
react-tabs - v3.2.2

Published by github-actions[bot] over 3 years ago

3.2.2 (2021-04-10)

Bug Fixes

  • Add link to error message about controlled vs uncontrolled (e50db44)
react-tabs - v3.2.1

Published by github-actions[bot] over 3 years ago

3.2.1 (2021-03-09)

Bug Fixes

  • Ensure that initial selected index never goes below 0 (ba1c5f8)
react-tabs - v3.2.0

Published by danez over 3 years ago

3.2.0 (2021-02-06)

Features

  • Add new environment prop to handle tabs in iframes (#365) (d6fd355)
  • New prop to disable up/down arrow keys for changing tabs (#368) (40ea746)
react-tabs - v3.1.2

Published by danez almost 4 years ago

3.1.2 (2020-12-13)

Bug Fixes

  • deps: add support for React 17 (cb8297d)
react-tabs - v3.1.1

Published by danez over 4 years ago

3.1.1 (2020-05-23)

Bug Fixes

  • Replace classnames with clsx (a37ca85)
react-tabs - v3.1.0

Published by danez almost 5 years ago

Features

react-tabs - v2.3.1

Published by danez over 5 years ago

Bug Fixes

  • tabs: Handle nodes with parentNode set to undefined instead of null correctly (0259616)
Package Rankings
Top 0.7% on Npmjs.org
Top 16.71% on Repo1.maven.org
Badges
Extracted from project README
npm version codecov