Skip to content

Latest commit

 

History

History
672 lines (314 loc) · 32.7 KB

CHANGELOG.md

File metadata and controls

672 lines (314 loc) · 32.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.26.3 (2021-04-21)

Features

  • include nodePath as argument to template functions in TreeView nodes (#48) (1beb583)

0.26.2 (2021-04-20)

0.26.1 (2021-04-19)

Features

  • include relative path as argument to render each node in tree view (#45) (a60abb8)

0.26.0 (2021-02-24)

Features

  • dialog: open dialogs with hooks (useAlertDialog, useConfirmationDialog and useDialog) (2b6dba6)

0.25.1 (2021-02-22)

Bug Fixes

  • dialog: hide header if title is empty (05381cd)

0.25.0 (2021-02-19)

Features

  • tabs: "justified" and "fill" options (84c1e0b)

0.24.1 (2020-12-03)

0.24.0 (2020-12-03)

0.23.2 (2020-11-30)

Features

  • autocomplete: new parameter to allow custom user input (#44) (9f48d93)

0.23.1 (2020-11-24)

Features

  • forms2: useFormEffect allows a "name" argument for watching data changes (e94f961)

0.23.0 (2020-11-24)

Features

  • forms2: include form data observer custom hook (f6f25ff)

0.22.13 (2020-11-24)

Bug Fixes

  • handle 0 as a valid initial value (a731477)

0.22.12 (2020-11-19)

Features

  • forms: include isRegistered flag on useFormControl2 (da420f1)

Bug Fixes

  • forms2: allow update functions on useFormControl2 setValue (ce5ea8e)

0.22.11 (2020-11-12)

Bug Fixes

  • improve primitive types handling on flattenObject (f0842dd)

0.22.10 (2020-11-12)

Bug Fixes

  • forms2: flatten form data before updating form controls (aa8ba37)

0.22.9 (2020-11-12)

Bug Fixes

  • forms: export useFormControl2 (e9db767)

0.22.8 (2020-11-12)

Features

  • forms2: experimental new approach to form state (#38) (ff3b94c)

Bug Fixes

  • form: check form reference before removing "was-validated" className (#37) (60d4dcd)

0.22.7 (2020-10-30)

Bug Fixes

  • treeview: include parentNode on template function (163543a)

0.22.6 (2020-10-19)

Features

  • dialog: include afterOpen callback into Dialog (#36) (5c896b7)

0.22.5 (2020-10-14)

Bug Fixes

  • table: only renders the action column when function or non empty array as actions prop (790ed0a)

0.22.4 (2020-10-09)

Features

  • forms: implement proper afterChange callback (d44abed)

Bug Fixes

  • remove afterChange hook on useFormControl (0891fd6)

0.22.3 (2020-10-09)

Features

  • forms: include an afterChange callback to useFormControl (#33) (3b6f13f)
  • treeview: include an initial version of the TreeView component (0d01881)

Bug Fixes

  • forms: fix radio input value selection (66dc6d0)
  • forms: remove noop default value for afterChange callback (0fcdb8f)
  • forms: stop event propagation on form submit (bc80f7a)

0.22.2 (2020-09-24)

Bug Fixes

  • modals: check if modal is mounted before updating style (c4e0e39)

0.22.1 (2020-09-18)

Features

  • dialog: allow the removal of close icon on modal header (994db53)

0.22.0 (2020-09-09)

Features

  • forms: include form help (63fa2aa)

Bug Fixes

  • forms: allow jsx elements on form label (f58b4e6)
  • modals: allow overlapping dialogs with proper modal backdrop (010aedd)
  • modals: create only one modal backdrop (bff23cf)
  • modals: group all modal portals into one parent node (2d8d870)

0.21.1 (2020-09-01)

Bug Fixes

  • change isISOString to isDateISOString (f28c737)

0.21.0 (2020-09-01)

Bug Fixes

  • move type checking to external package (7ea4458)
  • tabs: fix propTypes with more specif rules (0599041)

0.20.7 (2020-08-24)

Bug Fixes

  • change propTypes from element to node on most components (85f340b)

0.20.6 (2020-08-18)

Bug Fixes

  • forms: allow jsx elements on checkbox, radio and switch value labels (891b2d3)

0.20.5 (2020-08-13)

Bug Fixes

  • dialog: improve code completion with props (6e230d1)
  • forms: fix checkbox and switch toggle behavior (7acef90)
  • toasts: improve code completion with jsdocs (ef30a71)

0.20.4 (2020-08-13)

Features

  • forms: allow booleans as select option values (582f3dd)

0.20.3 (2020-08-05)

Bug Fixes

  • forms: allow jsx elements on input labels (0ad9ae4)
  • forms: allow numbers as option value on select inputs (349752f)
  • tabs: improve error log when activeTab is invalid (3470b5f)

0.20.2 (2020-08-04)

Bug Fixes

  • tabs: select the first tab instead of throwing an error (b0d2cfe)

0.20.1 (2020-08-04)

Bug Fixes

  • dialog: prevent click propagation on ConfirmationDialog (5a25b34)
  • change useSelectedItem error message (6318959)

0.20.0 (2020-07-30)

⚠ BREAKING CHANGES

  • toasts: Toasts public interface relied on useContext hook, now it has its own hook interface:
import { useToasts } from 'react-bootstrap-utils';

function Component() {
 const { showToast, closeAllToasts } = useToasts();
 //...
}

Features

  • toasts: change toast interface (4aed2e2)

Bug Fixes

  • change children PropType to node or [node] (cc5a54a)
  • forms: allow readOnly on FormInput and FormTextarea (b33dfa0)

0.19.0 (2020-07-16)

Features

  • forms: allow "required" prop to be a function (79bb221)

0.18.1 (2020-07-16)

Bug Fixes

  • forms: allow the reset of a FormAutocomplete selected value (144d223)
  • forms: only call onChange after the form was modified by the user (294898d)

0.18.0 (2020-07-06)

Features

  • table: allow custom action definition (0ff6972)

0.17.1 (2020-07-03)

Bug Fixes

  • forms: allow autocomplete customization based on css selectors (c4fadc5)

0.17.0 (2020-06-29)

Features

  • dropdown: add "isDisabled" attribute for dropdown items (1564184)

0.16.0 (2020-06-23)

Bug Fixes

  • forms: fix selected item on FormAutocomplete when options is a dynamic array (bd6b345)
  • forms: reset FormAutocomplete internal state when value is empty (8821b1d)

0.15.6 (2020-06-10)

Bug Fixes

  • forms: FormAutocomplete options function now receive searchValue as an argument (0924a41)

0.15.5 (2020-06-05)

Bug Fixes

  • forms: remove duplicated cancelLabel from form actions (c62251c)

0.15.4 (2020-05-29)

Features

  • forms: disabled action buttons while submiting data (5dba43f)
  • table: allow row click with "onRowClick" prop (214bc7c)

0.15.3 (2020-05-27)

Bug Fixes

  • forms: show visual indication of required fields (4095743)

0.15.2 (2020-05-27)

Bug Fixes

  • forms: only validate an element if the element exists (38eaedc)

0.15.1 (2020-05-18)

Bug Fixes

  • getValueByPath: handle null objects (48c4b23)

0.15.0 (2020-04-28)

Features

  • forms: allow input disable (with boolean or function that returns boolean) (39cb627)
  • table: allow paths as attributes values on column definition (ddeff7b)

Bug Fixes

  • dialog: always remove .modal-open class from body after closing the dialog (341dec3)

0.14.7 (2020-04-15)

Bug Fixes

  • forms: allow 0 to be filled into input[type=number] again (e5e7a70)

0.14.6 (2020-04-14)

Bug Fixes

  • forms: check if value is null before rendering input controls (ddb7b71)

0.14.5 (2020-04-14)

Bug Fixes

  • forms: fix date parsing when default value is provided (e2df77b)
  • forms: fix number inputs to throw NaN errors when empty (c663463)

0.14.4 (2020-04-13)

Bug Fixes

  • forms: fix number input default value to allow 0 to be stored in state (16905bd)

0.14.3 (2020-04-13)

Features

  • forms: include value parsing from type prop (8d7b56e)

0.14.2 (2020-04-13)

Bug Fixes

  • forms: fix FormCheckbox and FormSwitch value initialization (cb324be)

0.14.1 (2020-04-13)

Bug Fixes

  • forms: fix broken forms when onChange was not defined (9fc3975)

0.14.0 (2020-04-12)

Bug Fixes

  • forms: change form transform and onChange calls to reduce excessive calls (d93d1a9)

0.13.0 (2020-04-12)

Bug Fixes

  • demo: fix form examples initial value select input with trackby (7baff72)
  • forms: async and debounced call of transform function (31968c3)

0.12.0 (2020-04-10)

Features

  • forms: allow objects as FormSelect value (d45adfd)

Bug Fixes

  • forms: fix FormAutocomplete selecting the wrong item (a688b87)
  • forms: limit FormAutocomplete options window size (e05a70f)
  • modal: do not remove container from body if it has not been included yet (575bab9)

0.11.4 (2020-04-07)

Features

  • forms: allow form data transformation after each input change (41ea647)

0.11.3 (2020-04-07)

Features

  • forms: allow useFormControl to receive type === "array" (15003d9)

Bug Fixes

  • FormAutocomplete: fix normalizeOptions argument (2186117)

0.11.2 (2020-04-07)

Features

  • forms: export useFormData hook to access formData from outside (9575798)

0.11.1 (2020-04-06)

Bug Fixes

0.11.0 (2020-04-06)

Features

  • forms: allow data change monitoring events (85d65cd)

Bug Fixes

  • list-group: include item index on template function argument list (c2c32c4)
  • list-group: include item object into "onSelect" argument list (5d35c6c)
  • modal: always remove .modal-open on body classList after onClose (75b3fd7)

0.10.0 (2020-03-27)

Features

  • forms: allow deep objects and arrays as form control names (9d0d1dd)
  • utils: include getters and setters utils (0b46d08)

0.9.0 (2020-03-27)

Bug Fixes

  • FormAutocomplete: clear search value onBlur if no option was selected (3004f4b)
  • FormAutocomplete: fix FormAutocomplete validation feedback (6a67e45)
  • forms: reset submitAttempted state on form reset (4be36e2)

0.8.5 (2020-03-25)

Features

  • forms: extract and exports "useFormControl" (custom hook) to allow external custom form elements (c37b955)

Bug Fixes

  • forms: change onCancel prop-type to optional (57bcdb8)
  • tabs: change tab title prop-types to allow jsx content (8ac7cb6)

0.8.4 (2020-03-25)

Features

  • forms: allow custom form actions (52861bd)

Bug Fixes

  • toasts: fix prop-types warning about multiple children (8dbe04c)

0.8.3 (2020-03-25)

0.8.2 (2020-03-19)

Bug Fixes

  • forms: form elements validation should be optional (74b32e9)

0.8.1 (2020-03-19)

Features

  • table: allow table column header customization (4f46927)

0.8.0 (2020-03-19)

Features

  • forms: allow using bootstrap form validation feedback (39e0c81)
  • forms: implement custom form element validations (e8061ca)
  • forms: show validation messages bellow form elements (2f6e3a5)
  • toasts: implement toast components (3e94bf1)

Bug Fixes

  • forms: include missing validation properties do FormInput (927f23e)

0.7.0 (2020-03-18)

Features

  • dropdown: implement Dropdown component (6c84a5b)
  • forms: implement FormAutocomplete and FormGroupAutocomplete (05dab8e)

Bug Fixes

  • list-group: fix ListGroupItem propTypes (48909ae)
  • modal: remove event listener on clean up (94fec85)

0.6.0 (2020-03-17)

Features

  • dialog: implement Dialog, AlertDialog and ConfirmationDialog (ccd6bb8)
  • list-group: implement ListGroup and StatefulListGroup (97908e7)

0.5.3 (2020-03-16)

0.5.2 (2020-03-16)

0.5.1 (2020-03-13)

0.5.0 (2020-03-10)

Features

  • pagination: implement component (e6d10f8)
  • tabs: allow initial tab configuration (f553213)

0.4.0 (2020-03-10)

Features

  • tabs: implement and components (46121b9)

Bug Fixes

  • include missing propTypes definitions and fix eslint warnings (0f1c85b)

0.3.0 (2020-03-05)

Features

  • table: allow table actions (d77f4d8)
  • table: include table cell value formatting (c0be209)

0.2.4 (2020-03-05)

Bug Fixes

  • forms: include an option to change the FormInput type (7313d75)

0.2.3 (2020-03-04)

Features

  • table: allow column alignment (1865b9f)
  • table: allow table captions (103c7e4)
  • table: include style options to the table, rows and columns (00eeb0a)
  • table: make every table responsive (0aa78ca)

0.2.2 (2020-03-04)

Features

  • table: implement <Table> component (8eceed6)

Bug Fixes

  • forms: remove debug from <Form> component (d64c136)

0.2.1 (2020-03-04)