Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Releases: cthit/react-digit-components

v1.0.3

30 Mar 17:28
Compare
Choose a tag to compare

Exact dependencies that you need to use react-digit-components:

{
        "axios": "0.21.1",
        "react": "17.0.1",
        "react-dom": "17.0.1",
        "react-router-dom": "5.2.0",
        "styled-components": "5.2.1"
}

Thanks for helping with creating v1.0.3 @molleer, @Sponken, and @lir108!

Resolves a lot of issues with Gamma helpers. They were basically unusable in v1.0.2 unfortunately. But here are the relevant issues that were resolved that affects you the user:

  • #350 Adds documentation about size, flex, margin, padding, justifySelf and alignSelf.

  • #393 Add <DigitRating />

  • #400 Add documentation about extraButton in <DigitEditDataCard />

  • #408 Add a signOut property for <DigitGammaActions />

  • #409 Resolve bug with loading wasn't set to false when redirectAutomatically was set to true.

  • #410 Add gridRow and gridColumn to each component so that they easily can integrate with display: grid;.

  • #415 Add missing proptypes for <DigitButton />

  • #419 Resolve issue with search of <DigitAutoCompleteSingle />/<DigitAutocompleteMultiple />.

  • #421 Resolve issue with <DigitTextField /> / <DigitTextArea /> where a null value and a max length would crash

  • #423 Resolve issue where one couldn't use <DigitDateAndTimePicker /> inside a dialog.

  • #425 Resolve issue with pressing a details button in a <DigitSelectMultipleTable /> would select the checkbox

  • #426 Add missing documentation for <DigitGammaActions />

  • Add <DigitSwipeableDrawer />

  • Add disableReadOne to <DigitCRUD />

  • Add overflow prop to <DigitDesign.Card /> and <DigitLayout.Flex />

  • Add cardProps and cardBodyProps where you can edit the <DigitDesign.Card /> and <DigitDesign.CardBody /> respectively inside <DigitEditDataCard />

  • Add the possibility to use formatEvent for <DigitEditData />/<DigitEditDataCard />.

v1.0.2

25 Jun 16:37
Compare
Choose a tag to compare

Lots of smaller changes :O

  • #399 Added backButton to <DigitTable /> and readAllBackButton to <DigitCrud />. This back button will go back one step in the browser history.
  • #346 Added documentation about useGamma and useGammaMe, along with some information about integration your frontend/backend with Gamma.
  • #391 Small fix that aligns the Details header to the right for <DigitTable />.
  • #390 Fixed search for <DigitTable /> and <DigitSelectMultipleTable /> so that the search input searcher for multiple columns.
  • #398 innerInputs for useFormFieldArray now checks for .checked values and just general values that don't have anything to do with events.
  • #394 Fixed issue where the user had to refresh in order for useGamma to properly load the signed-in user.
  • #392 Added the possibility to add custom options to <DigitGammaActions />.
  • #389 Added the possibility to not enforce the user to sign in to Gamma in the useGamma hook.
  • #403 Added a justifySelf prop to every component that also has alignSelf.
  • #395 useGamma now only redirects to Gamma if the response from the backend has the status code 401. Note that this might be breaking if you didn't have the status code of 401 before.

v1.0.1

05 May 07:00
Compare
Choose a tag to compare

Thanks to @molleer and @Sponken for making v1.0.1 possible!

This version was a bit too big. But this was due to Gamma soon being released and there are minor changes needed in rdc to make Gamma work.

This version resolves:

  • #388 - Hideback button in readOne if there's no readAll view
  • #387 - Use useHistoryGoBackOnBack when update is successful
  • #386 - DigitTable doesn't expand properly on small sizes and no rows
  • #380 - useDigitFormFieldArray doesn't return errors from yup
  • #378 - DigitText doesn't have word wrap functionality
  • #370 - Search in both Tables are not converted to lower case
  • #369 - Add statusRenders and statusHandlers
  • #359 - Use 224px as the default width for most inputs such as DigitTextField and DigitSelect
  • #357 - Table isn't expanded in readAll for DigitCRUD
  • #356 - Pagination isn't reflected properly when you have entered a search term
  • #353 - DigitTextArea rows doesn't work.
  • #351 - DigitTextArea size={height: "xxx"} doesn't work

Other features that isn't referenced as an issue:

  • useDigitFormFieldArray now supports innerInputs, check storybook for an example. Works great for having forms that dynamically can change.
  • Add small prop to DigitIconButton
  • DigitCRUD: When updating it redirects on success to readOne
  • DigitCRUD: Added createProps, updateProps and readOneProps
  • DigitHeader/DigitHeaderDrawer: Fix bug with minHeight calculation.

v1.0.0

11 Apr 00:39
19a393f
Compare
Choose a tag to compare
Merge pull request #343 from cthit/dev

v1.0

v1.0.0-beta.54

28 Oct 14:13
Compare
Choose a tag to compare
v1.0.0-beta.54 Pre-release
Pre-release
Now uses package-lock instead of yarn.lock

v0.1.4

17 Nov 15:21
7fb6a08
Compare
Choose a tag to compare
Merge pull request #126 from cthit/release

v0.1.3

v0.1.1

01 Nov 14:02
45d17fb
Compare
Choose a tag to compare
v0.1.0 (#95)

v0.1.0