Skip to content

Releases: studiobakers/react-ui-toolkit

1.0.0-alpha.3.2.0

02 Jun 10:29
Compare
Choose a tag to compare

Breaking Change

  • ariaLabel prop was removed from Button component. Should use aria-label which is an HTML attribute.

Fixes

  • Caret position issue was fixed for the locale numbers. #100
  • formatNumber utility was added again for the locale numbers.
  • Input component which type is number, can have negative numbers.
  • Input component which type is number, can have leading zero only if shouldFormatToLocaleString and maximumFractionDigits is not defined and if the input value is not negative.
  • Button component can have ref prop with useRef<HTMLButtonElement>. #102
  • FileUploadButton component can have ref prop with useRef<HTMLLabelElement>.

1.0.0-alpha.3.1.2

24 May 09:58
Compare
Choose a tag to compare

Fixes

  • Add missing classnames to Toast and Input #99

1.0.0-alpha.3.1.1

24 May 08:07
Compare
Choose a tag to compare

Fixes

  • Input - Localization and leading zero issues #97
  • Toast - Update toast autoClose control #98

1.0.0-alpha.3.1.0

20 May 08:24
a6ce8e2
Compare
Choose a tag to compare

New

  • Toast #66
  • Localization for NumberInput #85

Fixes

  • Add number and text type to TypeaheadInput #95
  • Update dependencies and fix linter issues #94

1.0.0-alpha.3.0.2

07 May 14:14
Compare
Choose a tag to compare
Merge branch 'master' of https://github.com/Hipo/react-ui-toolkit

1.0.0-alpha.3.0.1

07 May 13:09
Compare
Choose a tag to compare

1.0.0-alpha.3.0.0

07 May 10:25
Compare
Choose a tag to compare

New

Fixes

  • Typeaheadselect can remove tags with the backspace key. #59 by @Anlerkan
  • Button width can be stable on the spinner state. #84
  • Spinner was simplified. #81
  • Button can have a custom spinner. #80

Breaking Changes

  • Input component can have all native type props. Just It doesn't use native number, it uses text type. #63

1.0.0-alpha.2.0.2

31 Mar 13:06
Compare
Choose a tag to compare
  • Re-built and published to NPM

1.0.0-alpha.2.0.1

31 Mar 12:35
Compare
Choose a tag to compare

Breaking Changes

TypeaheadInput component

  • new initialValue prop added and it defaults to empty string.
  • when value prop is present and it has a string value, this means that TypeaheadInput's value is held as a state in the parent and should be controlled by the parent as well. So whenever value changes and it has a string value then we update the TypeaheadInput's state. TypeaheadInput still controls its own state as it has to deal with debouncing.
  • Removes shouldResetValue prop.

TypeaheadSelect component

  • typeaheadProps prop is updated to have the following type: Pick<TypeaheadInputProps, "id" | "placeholder" | "name" | "onFocus">. Note how you cannot pass value under this object any longer.
  • new initialKeyword prop added and it defaults to empty string.
  • TypeaheadSelect now resets the input value by the default when an option is selected.
  • new controlledKeyword prop is added. When this prop is present and it has a non-undefined value it means that the keyword is held as a state in the parent and therefore should be controlled by the parent. When this prop is present, TypeaheadSelect never updates its keyword state (a good example of inversion of control).
  • Fixes isDisabled state to work properly
  • typeahead-select__dropdown and typeahead-select__dropdown__header classnames are renamed to typeahead-select and typeahead-select__header, respectively.
  • typeahead-select__input--is-dropdown-menu-open and typeahead-select__input--can-select-multiple classnames are removed and the following classnames are added to the container: typeahead-select--has-selected-options, typeahead-select--can-select-multiple and typeahead-select--is-dropdown-menu-open

1.0.0-alpha

07 Jan 13:52
Compare
Choose a tag to compare

Fixes

Breaking Changes