Releases: aboutbits/react-ui
Releases · aboutbits/react-ui
Release v1.0.5
New/Improved
- Forward all props to
ButtonIconLink
component - Export
ConfirmationDialog
props
Release v1.0.4
New/Improved
- Fix
handleRequest
on connection error to not throw a JS error - Set API error as React Hook Form error in
useHandleFormSubmission
to prevent RHF from settingisSubmitSuccessful
on error - Fix error type in
useHandleFormSubmission
Release v1.0.3
New/Improved
- Fix translation key name of go-back button
- Align default variants for all inputs to use ghost variant
Release v1.0.2
New/Improved
- Reinitialize
defaultValues
ofSectionFilter
to reflect changes to default values in filter inputs
Release v1.0.1
New/Improved
- Improved CJS and ESM build
- Added support for Axios 1.1+
Breaking
- All
import
s must now be made directly from the package - Removed
Variant
fromButton
component -> UseButtonVariant
- Removed
Variant
fromInput
component -> UseInputVariant
Release v1.0.0
New/Improved
- New
Tabs
component - Dark mode for button components
- Added
Checkbox
component - Added
FieldSet
form component - Added layout prop for
ToggleSwitch
- Added option to adjust the
ToggleSwitch
to the Input height to be used in form layouts - Use transparency for disabled buttons and input fields
- Improved
ContentMessage
layout - Adjust default theme for
ContentMessage
- Added
className
prop toSelectItem
andDialogHeaderWithClose
- Fix icon spacing in
ButtonIconLink
(spacing issue in tables cells) - Use Tailwind 3.2.0
- Overall improvements of stories
- Themes are now shown as JSON in the stories
Breaking
Formik
was replaced byReact Hook Form
! See Storybook ExampleuseHandleFormSubmission
&useHandleRequest
:options.apiFallbackErrorMessageId
removed andoptions.apiFallbackErrorMessage
is used- Removed
ContentError
. Should be replaced bySectionContentError
- Moved/Renamed
SectionDescriptionItem
andSectionLoadingDescriptionItem
to content/DescriptionItem
andLoadingDescriptionItem
- Internationalization:
translate
function is removed,messages
must be passed - Allow only primitive types as children of
Option
component Size
enum removed fromButton
andToggleSwitch
. Moved to common types- Theme of buttons changed (
variantTone
->modeVariantTone
) - Removed
gray
color from ReactUI Tailwind preset
Release v1.0.0-beta.1
1.0.0-beta.1
Release v0.3.1
New/Improved
- Center
SectionHeaderTitle
vertically
Release v0.3.0
New/Improved
- Refactored
Dialog
component - New
SelectItem
component with dialog - New
ContentMessage
component SectionContentMessage
usesContentMessage
- Add
@aboutbits/pagination
as dependency - Prevent truncating bottom part of
SectionHeaderTitle
text
Breaking
ActionSectionVariant
->ActionSectionPosition
(+theme name changed)- Removed
SelectDialog
SectionContentMessage
theme moved to Content theme- Section Loading components renamed moved to Section folder:
SectionContentListLoading
SectionContentLoadingDetails
SectionContentLoadingForm
LoadingDescriptionItem
->SectionLoadingDescriptionItem
- Theme moved to Section theme
LoadingListItem
->SectionLoadingListItem
- Theme moved to Section theme
- Section Pagination components moved to Section folder:
SectionFooterWithPaginationInMemory
SectionFooterWithPaginationRouter
- Renamed Header components:
HeaderMain
->Header
HeaderBackWithoutAction
->HeaderWithBackNavigation
- Renamed Section components:
SectionHeader
->SectionHeaderArea
- Theme name changed
SectionTitle
->SectionHeaderTitle
- Theme name changed
- New
SectionHeader
SectionFooter
->SectionFooterArea
- Theme name changed
- New
SectionFooterWithActions
Release v0.2.7
New/Improved
- Fixed error message text color for input component
- SectionContentError and SectionContentEmpty are now exported with section components