Skip to content

Releases: aboutbits/react-ui

Release v1.0.5

29 Nov 11:08
Compare
Choose a tag to compare

New/Improved

  • Forward all props to ButtonIconLink component
  • Export ConfirmationDialog props

Release v1.0.4

23 Nov 10:48
Compare
Choose a tag to compare

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 setting isSubmitSuccessful on error
  • Fix error type in useHandleFormSubmission

Release v1.0.3

08 Nov 13:36
Compare
Choose a tag to compare

New/Improved

  • Fix translation key name of go-back button
  • Align default variants for all inputs to use ghost variant

Release v1.0.2

03 Nov 15:21
Compare
Choose a tag to compare

New/Improved

  • Reinitialize defaultValues of SectionFilter to reflect changes to default values in filter inputs

Release v1.0.1

02 Nov 10:56
Compare
Choose a tag to compare

New/Improved

  • Improved CJS and ESM build
  • Added support for Axios 1.1+

Breaking

  • All imports must now be made directly from the package
  • Removed Variant from Button component -> Use ButtonVariant
  • Removed Variant from Input component -> Use InputVariant

Release v1.0.0

25 Oct 09:57
Compare
Choose a tag to compare

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 to SelectItem and DialogHeaderWithClose
  • 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 by React Hook Form! See Storybook Example
  • useHandleFormSubmission & useHandleRequest: options.apiFallbackErrorMessageId removed and options.apiFallbackErrorMessage is used
  • Removed ContentError. Should be replaced by SectionContentError
  • Moved/Renamed SectionDescriptionItem and SectionLoadingDescriptionItem to content/DescriptionItem and LoadingDescriptionItem
  • Internationalization: translate function is removed, messages must be passed
  • Allow only primitive types as children of Option component
  • Size enum removed from Button and ToggleSwitch. Moved to common types
  • Theme of buttons changed (variantTone -> modeVariantTone)
  • Removed gray color from ReactUI Tailwind preset

Release v1.0.0-beta.1

21 Oct 07:25
Compare
Choose a tag to compare
Release v1.0.0-beta.1 Pre-release
Pre-release
1.0.0-beta.1

Release v0.3.1

14 Sep 12:27
Compare
Choose a tag to compare

New/Improved

  • Center SectionHeaderTitle vertically

Release v0.3.0

14 Sep 11:45
Compare
Choose a tag to compare

New/Improved

  • Refactored Dialog component
  • New SelectItem component with dialog
  • New ContentMessage component
  • SectionContentMessage uses ContentMessage
  • 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

02 Sep 07:42
Compare
Choose a tag to compare

New/Improved

  • Fixed error message text color for input component
  • SectionContentError and SectionContentEmpty are now exported with section components