All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.26.3 (2021-04-21)
0.26.2 (2021-04-20)
0.26.1 (2021-04-19)
0.26.0 (2021-02-24)
- dialog: open dialogs with hooks (useAlertDialog, useConfirmationDialog and useDialog) (2b6dba6)
0.25.1 (2021-02-22)
- dialog: hide header if title is empty (05381cd)
0.25.0 (2021-02-19)
- tabs: "justified" and "fill" options (84c1e0b)
0.24.1 (2020-12-03)
0.24.0 (2020-12-03)
0.23.2 (2020-11-30)
0.23.1 (2020-11-24)
- forms2: useFormEffect allows a "name" argument for watching data changes (e94f961)
0.23.0 (2020-11-24)
- forms2: include form data observer custom hook (f6f25ff)
0.22.13 (2020-11-24)
- handle 0 as a valid initial value (a731477)
0.22.12 (2020-11-19)
- forms: include isRegistered flag on useFormControl2 (da420f1)
- forms2: allow update functions on useFormControl2 setValue (ce5ea8e)
0.22.11 (2020-11-12)
- improve primitive types handling on flattenObject (f0842dd)
0.22.10 (2020-11-12)
- forms2: flatten form data before updating form controls (aa8ba37)
0.22.9 (2020-11-12)
- forms: export useFormControl2 (e9db767)
0.22.8 (2020-11-12)
0.22.7 (2020-10-30)
- treeview: include parentNode on template function (163543a)
0.22.6 (2020-10-19)
0.22.5 (2020-10-14)
- table: only renders the action column when function or non empty array as actions prop (790ed0a)
0.22.4 (2020-10-09)
- forms: implement proper afterChange callback (d44abed)
- remove afterChange hook on useFormControl (0891fd6)
0.22.3 (2020-10-09)
- forms: include an afterChange callback to useFormControl (#33) (3b6f13f)
- treeview: include an initial version of the TreeView component (0d01881)
- 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)
- modals: check if modal is mounted before updating style (c4e0e39)
0.22.1 (2020-09-18)
- dialog: allow the removal of close icon on modal header (994db53)
0.22.0 (2020-09-09)
- forms: include form help (63fa2aa)
- 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)
- change isISOString to isDateISOString (f28c737)
0.21.0 (2020-09-01)
- move type checking to external package (7ea4458)
- tabs: fix propTypes with more specif rules (0599041)
0.20.7 (2020-08-24)
- change propTypes from element to node on most components (85f340b)
0.20.6 (2020-08-18)
- forms: allow jsx elements on checkbox, radio and switch value labels (891b2d3)
0.20.5 (2020-08-13)
- 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)
- forms: allow booleans as select option values (582f3dd)
0.20.3 (2020-08-05)
- 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)
- tabs: select the first tab instead of throwing an error (b0d2cfe)
0.20.1 (2020-08-04)
- dialog: prevent click propagation on ConfirmationDialog (5a25b34)
- change useSelectedItem error message (6318959)
0.20.0 (2020-07-30)
- 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();
//...
}
- toasts: change toast interface (4aed2e2)
- change children PropType to node or [node] (cc5a54a)
- forms: allow readOnly on FormInput and FormTextarea (b33dfa0)
0.19.0 (2020-07-16)
- forms: allow "required" prop to be a function (79bb221)
0.18.1 (2020-07-16)
- 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)
- table: allow custom action definition (0ff6972)
0.17.1 (2020-07-03)
- forms: allow autocomplete customization based on css selectors (c4fadc5)
0.17.0 (2020-06-29)
- dropdown: add "isDisabled" attribute for dropdown items (1564184)
0.16.0 (2020-06-23)
- 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)
- forms: FormAutocomplete options function now receive searchValue as an argument (0924a41)
0.15.5 (2020-06-05)
- forms: remove duplicated cancelLabel from form actions (c62251c)
0.15.4 (2020-05-29)
- forms: disabled action buttons while submiting data (5dba43f)
- table: allow row click with "onRowClick" prop (214bc7c)
0.15.3 (2020-05-27)
- forms: show visual indication of required fields (4095743)
0.15.2 (2020-05-27)
- forms: only validate an element if the element exists (38eaedc)
0.15.1 (2020-05-18)
- getValueByPath: handle null objects (48c4b23)
0.15.0 (2020-04-28)
- forms: allow input disable (with boolean or function that returns boolean) (39cb627)
- table: allow paths as attributes values on column definition (ddeff7b)
- dialog: always remove .modal-open class from body after closing the dialog (341dec3)
0.14.7 (2020-04-15)
- forms: allow 0 to be filled into input[type=number] again (e5e7a70)
0.14.6 (2020-04-14)
- forms: check if value is null before rendering input controls (ddb7b71)
0.14.5 (2020-04-14)
- 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)
- forms: fix number input default value to allow 0 to be stored in state (16905bd)
0.14.3 (2020-04-13)
- forms: include value parsing from type prop (8d7b56e)
0.14.2 (2020-04-13)
- forms: fix FormCheckbox and FormSwitch value initialization (cb324be)
0.14.1 (2020-04-13)
- forms: fix broken forms when onChange was not defined (9fc3975)
0.14.0 (2020-04-12)
- forms: change form transform and onChange calls to reduce excessive calls (d93d1a9)
0.13.0 (2020-04-12)
- 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)
- forms: allow objects as FormSelect value (d45adfd)
- 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)
- forms: allow form data transformation after each input change (41ea647)
0.11.3 (2020-04-07)
- forms: allow useFormControl to receive type === "array" (15003d9)
- FormAutocomplete: fix normalizeOptions argument (2186117)
0.11.2 (2020-04-07)
- forms: export useFormData hook to access formData from outside (9575798)
0.11.1 (2020-04-06)
- utils: exports utils (ee052e7)
0.11.0 (2020-04-06)
- forms: allow data change monitoring events (85d65cd)
- 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)
- forms: allow deep objects and arrays as form control names (9d0d1dd)
- utils: include getters and setters utils (0b46d08)
0.9.0 (2020-03-27)
- 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)
- forms: extract and exports "useFormControl" (custom hook) to allow external custom form elements (c37b955)
- 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)
- forms: allow custom form actions (52861bd)
- toasts: fix prop-types warning about multiple children (8dbe04c)
0.8.3 (2020-03-25)
0.8.2 (2020-03-19)
- forms: form elements validation should be optional (74b32e9)
0.8.1 (2020-03-19)
- table: allow table column header customization (4f46927)
0.8.0 (2020-03-19)
- 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)
- forms: include missing validation properties do FormInput (927f23e)
0.7.0 (2020-03-18)
- dropdown: implement Dropdown component (6c84a5b)
- forms: implement FormAutocomplete and FormGroupAutocomplete (05dab8e)
- list-group: fix ListGroupItem propTypes (48909ae)
- modal: remove event listener on clean up (94fec85)
0.6.0 (2020-03-17)
- 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)
0.4.0 (2020-03-10)
- tabs: implement and components (46121b9)
- include missing propTypes definitions and fix eslint warnings (0f1c85b)
0.3.0 (2020-03-05)
0.2.4 (2020-03-05)
- forms: include an option to change the FormInput type (7313d75)
0.2.3 (2020-03-04)
- 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)
- table: implement <Table> component (8eceed6)
- forms: remove debug from <Form> component (d64c136)