Skip to content

Releases: birdofpreyru/react-utils

v1.39.0

10 Jul 18:11
Compare
Choose a tag to compare

Breaking Changes

  • Removes api export (it used to be just an alias for axios) — use axios directly instead.

Other Updates

v1.38.1

08 Jul 13:20
Compare
Choose a tag to compare
  • Adds testId props to Button, Dropdown, and Modal components, to facilitate their testing using testing-library.
  • Deprecates containerStyle property of Modal container, replacing it by style prop.
  • Adds .snapshot() method to the result of mount() method of Jest Utils.
  • Update of dependencies.

v1.38.0

04 Jul 16:50
Compare
Choose a tag to compare

Breaking Changes

  • Dropdown — Minor improvements of the default theme — double-check theming of dependent dropdowns in host apps.
    • The text color of options in open dropdowns is now black (it used to be inherited).
    • invalid theme key added, it is applied to the underlying <select> element when the displayed value does not match any of provided options. By default such invalid values are displayed with gray color.
    • [#355] Dropdown is now flex by default, i.e. it stretches to fill flex-box containers.

Other Updates

  • Update of dependencies.

v1.37.0

29 Jun 22:20
Compare
Choose a tag to compare
  • Update of dependencies, in particular @dr.pogodin/react-global-state v0.14.2 ⇒ v0.15.0, which improves deduction of types of values in the global state, and thus may require updates in the dependent codebases.

v1.36.2

24 Jun 12:44
Compare
Choose a tag to compare
  • Corrects package.json exports declarations.
  • Update of dependencies.

v1.36.1

24 Jun 10:37
Compare
Choose a tag to compare

v1.36.0

23 Jun 12:23
Compare
Choose a tag to compare

Breaking Changes

Other Updates

  • [#345] Updates snapshot() method of Jest Utils, to allow optionally waiting for async dependencies of a component render prior to capturing the snapshot.
  • Update of dependencies.

v1.35.5

10 Jun 10:59
Compare
Choose a tag to compare
  • Hotfix: Updates in the previous release broke the build in environments similar to the documentation setup.

v1.35.4

10 Jun 10:26
Compare
Choose a tag to compare
  • [#352] Improves typing of <Dropdown> props, and other similar selector components.
  • [#353] Adds --no-babel option to the build script.
  • [#354] Adds a way to provide server-side info to the app in server-less setup (see client() documentation for details).
  • Update of dependencies.

v1.35.3

07 Jun 15:16
Compare
Choose a tag to compare