Releases: birdofpreyru/react-utils
Releases · birdofpreyru/react-utils
v1.32.0
Breaking Change
- Updates React Global State dependency to v0.14.0, which is potentially a breaking change in edge cases.
Other Changes
- [#332] Exports types and validators for options of CustomDropdown, Dropdown, and Switch components.
- [#333] Updates positioning calculations for open CustomDropdown components, to account for the options block margins.
- Updates dependencies.
v1.31.2
- [#331] Improves
cancelOnScrolling
feature of BaseModal & Modal components. - Improves CustomDropdown component implementation (now opens upward, if it fits that way when does not fit downwards).
- Updates dependencies.
v1.31.1
v1.31.0
Breaking Changes
- [#321] Removes ScalableRect component — use
apect-ratio
CSS property instead.
Other Updates
- [#314] Updates react-utils-build script to fail when provided unexpected arguments.
- [#316][#318][#319][#320][#322] Minor code & style fixes for Button, Dropdown and Modal components.
- [#317] Adds Switch component (selects one of options displayed side-by-side).
- [#322] Adds CustomDropdown component (a dropdown build from simple
<div>
elements, thus allowing more flexible styling than native Dropdown component, based on the native<select>
element); addscontainerStyle
anddontDisableScrolling
props to BaseModal component. - [#323] Adds
initialState
option to client() initialization function. - [#324] Allows arbitrary React nodes as
label
s for Checkbox, Dropdown, and Input components. - [#326] Re-exports
newAsyncDataEnvelope()
function from React Global State library. - [#327] Adds
disabled
prop to TextArea component. - [#328] Minor fixes in documentation.
- Updates dependencies.
v1.30.2
- Updates dependencies.
v1.30.1
- Updates dependencies.
- Host projects may drop dependencies on
@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
(they are transiently dependent upon viatypescript-eslint
now).
v1.30.0
Breaking Change
- [#315] withRetries() implementation has been moved to JS Utils library (it still is exported from React Utils as before). As a part of this move its default argument values were changed: from 5 to 3 for
maxRetries
, and from 1000 to 300 forinterval
.
Misc Updates
- Updates dependencies.
v1.29.2
- Updates dependencies.
v1.29.1
- Updates dependencies.
v1.29.0
Breaking Changes
- React Themes dependency update v1.5.1 ⇒ v1.6.0 is a breaking change for TypeScript projects. It will require minor source code updates, see release notes for details.