changelog
10.1.4 (2024-11-28)
Bug Fixes
10.1.3 (2024-11-26)
Bug Fixes
- add format only to calendar input and not for calendar types (741fb6c)
- add format to calendar input props (bbfbb56)
10.1.2 (2024-11-26)
Bug Fixes
10.1.1 (2024-11-26)
Bug Fixes
10.1.0 (2024-11-25)
Features
10.0.4 (2024-11-25)
Bug Fixes
10.0.3 (2024-11-25)
Bug Fixes
10.0.2 (2024-11-24)
Bug Fixes
- translations: sync translations from transifex (master) (595cfba)
10.0.1 (2024-11-21)
Bug Fixes
- bump multi-calendar library (5c21525)
10.0.0 (2024-11-21)
Bug Fixes
- update calendar tests for react 18 (98831a7)
- update testing-library for selector-bar (893024d)
- calendar: fix minor type issues (#1588) (21e60a6)
- calendar: stop extra call to validation when choosing from picker (#1623) (a1786d5)
- calendar-input: trigger onFocus if passed (#1622) (293505d)
- bump multi calendar library version in calendar (#1566) (d205016)
- bump multi calendar library version in calendar component (#1576) (5f2b13d)
- bump multi-calendar library (#1615) (238de1f)
- bump multi-calendar library (#1618) (769c7ae)
- clear button and arrow alignment issues (#1609) (ba0b657)
- stories for calendar validation (#1616) (c00a2d6)
- update multi-calendar library (6aa01cc)
- update yarn.lock after deduping (5c24b02)
Features
- add aria attributes to loaders (#1449) (2832584)
- calendar input to work with react final form (827c3f8)
- memorize calendar container component to improve perfromance (#1575) (0d00a19)
- merge branch master into branch (0577074)
- merge master into alpha (7afecf9)
- splitButton accessibility improvements (#1458) (51a1b14)
- support editable input | min & max dates | dd-mm-yyyy format in CalendarInput (#1504) (99a78f5)
- use alpha of multi calendar library (0c6b966)
- verify date input only on blur on calendar input, close calendar popup on blur as well (d8b0d1c)
- tooltip: accessibility improvements for tooltip (#1463) (f11eabb)
Reverts
- Revert "feat(selectionBar): accessibility improvements for SelectionBar (#1475)" (54498fb), closes #1475
BREAKING CHANGES
-
multi-calendar hook no longer returns Temporal date
-
fix: failing test
10.0.0-alpha.8 (2024-11-21)
Bug Fixes
- peer dependency issue with npm publish (#1628) (1319654)
- update calendar tests for react 18 (98831a7)
- update testing-library for selector-bar (893024d)
- translations: sync translations from transifex (master) (d89ce94)
- translations: sync translations from transifex (master) (7f22330)
Features
- add data sharing to sharing dialog [LIBS-677] (#1629) (7e15c7f)
- make input field clearable and add prefix icon (#1619) (7f87fb4)
- update react peer dependency to react@18 (#1624) (5d3c2a4)
10.0.0-alpha.7 (2024-11-14)
Bug Fixes
- sharing-dialog: add 'route' to SharingType type (#1617) (1d9664a)
- revert "fix: select-field not showing in correct place" (#1614) (c83de6b)
- translations: sync translations from transifex (master) (491bf04)
- update default props to JS default params (#1598) (20e343f)
Features
9.12.0 (2024-10-29)
Features
- icons: add link-off icons (e72be1e)
9.11.8 (2024-10-15)
Bug Fixes
9.11.7 (2024-10-01)
Bug Fixes
9.11.6 (2024-09-29)
Bug Fixes
- translations: sync translations from transifex (master) (491bf04)
9.11.5 (2024-09-26)
Bug Fixes
10.0.0-alpha.6 (2024-10-29)
Bug Fixes
10.0.0-alpha.5 (2024-10-21)
Bug Fixes
10.0.0-alpha.4 (2024-10-11)
Bug Fixes
10.0.0-alpha.3 (2024-10-09)
Bug Fixes
10.0.0-alpha.2 (2024-10-07)
Bug Fixes
10.0.0-alpha.1 (2024-10-04)
Bug Fixes
BREAKING CHANGES
-
multi-calendar hook no longer returns Temporal date
-
fix: failing test
9.12.0-alpha.4 (2024-09-27)
Bug Fixes
9.12.0-alpha.3 (2024-09-26)
Features
- calendar input to work with react final form (827c3f8)
9.12.0-alpha.2 (2024-09-24)
Bug Fixes
- update multi-calendar library (6aa01cc)
9.12.0-alpha.1 (2024-09-23)
Bug Fixes
- bump multi calendar library version in calendar (#1566) (d205016)
- bump multi calendar library version in calendar component (#1576) (5f2b13d)
- update yarn.lock after deduping (5c24b02)
Features
- add aria attributes to loaders (#1449) (2832584)
- memorize calendar container component to improve perfromance (#1575) (0d00a19)
- merge master into alpha (7afecf9)
- splitButton accessibility improvements (#1458) (51a1b14)
- support editable input | min & max dates | dd-mm-yyyy format in CalendarInput (#1504) (99a78f5)
- use alpha of multi calendar library (0c6b966)
- verify date input only on blur on calendar input, close calendar popup on blur as well (d8b0d1c)
- tooltip: accessibility improvements for tooltip (#1463) (f11eabb)
Reverts
- Revert "feat(selectionBar): accessibility improvements for SelectionBar (#1475)" (54498fb), closes #1475
9.11.4 (2024-09-10)
Bug Fixes
9.11.3 (2024-08-21)
Bug Fixes
9.11.2 (2024-08-18)
Bug Fixes
- translations: sync translations from transifex (master) (2f82be2)
- translations: sync translations from transifex (master) (e8b0559)
9.11.1 (2024-08-08)
Bug Fixes
- fix publishing to npm (#1577) (1889a7b)
- get rid of storybook references in docs (1904b17)
- get storybook 8 working (8c6be62)
- issue with production build not loading some dependent modules (5060c61)
- pin react version in resolution (#1573) (46cdd79)
- resolve react version (#1567) (c18a73d)
- calendar: pin temporal dependency to version 0.4.3 due to breaking changes (3b5a586)
9.11.0 (2024-07-29)
Features
9.10.3 (2024-07-24)
Bug Fixes
- translations: sync translations from transifex (master) (b7d3ec6)
9.10.2 (2024-07-15)
Bug Fixes
- icon types: export IconSubtract16 & IconSubtract24 (5237c66)
- menu item types: make suffix prop optional (c059fde)
- modal types: accept ReactNodes as children (bc59cf7)
- tag types: accept ReactNodes as children (c093a14)
9.10.1 (2024-07-04)
Bug Fixes
- selectorbar: handle components other than SelectorBarItem correctly as children (#1534) (7c78ac7)
- do not hijack input when inside a menu (#1551) (7a27d3d)
9.10.0 (2024-07-03)
Features
- menu: memoise menu's childrenToRender function and add valid role checks (#1539) (bddbdae)
- TabBar: accessibility improvements for TabBar & Tab (#1468) (b095f5a)
9.9.1 (2024-07-02)
Bug Fixes
9.9.0 (2024-07-02)
Features
- menu: add aria-attributes and roles to menu and its components (#1514) (54b816c)
- menu: add keyboard accessibility to menus (#1533) (235a71e)
9.8.10 (2024-07-01)
Bug Fixes
- LIBS-629: bump library to use Nepali script when 'ne' locale passed (6546572)
9.8.9 (2024-06-20)
Bug Fixes
9.8.8 (2024-06-20)
Bug Fixes
9.8.7 (2024-06-20)
Bug Fixes
- split-button: stop swallowing key down events (22d43bc)
9.8.6 (2024-06-20)
Bug Fixes
- add aggregate data exchange to sharing dialog type prop's type (d3b5486)
- add all possible sharing dialog type prop's types (43210cb)
- restrict dialog types to only sharable and restrict type of sharing type (1748809)
9.8.5 (2024-06-19)
Bug Fixes
- modal: dont swallow keyDown events (d4a0c44)
9.8.4 (2024-06-19)
Bug Fixes
9.8.3 (2024-06-16)
Bug Fixes
- translations: sync translations from transifex (master) (5f7f65a)
9.8.2 (2024-06-14)
Bug Fixes
- translations: sync translations from transifex (master) (0dfb475)
9.8.1 (2024-06-09)
Bug Fixes
- translations: sync translations from transifex (master) (ca3f6bf)
9.8.0 (2024-06-06)
Features
- add data test prop to sharing dialog (5a1d81d)
9.7.0 (2024-06-03)
Bug Fixes
- Tooltip: add missing tabIndex (389e61a)
Features
- splitButton accessibility improvements (#1458) (8370915)
- tooltip: accessibility improvements for tooltip (#1463) (9afcfdf)
- add aria attributes to loaders (#1449) (aaa60fb)
- add optional aria-label prop to switch component (bf9927a)
9.6.0 (2024-06-03)
Features
- accessibility on dropdown button (#1460) (51750ea)
- selectionBar: accessibility improvements for SelectionBar (#1475) (b43882c)
9.5.0 (2024-05-29)
Features
9.4.9 (2024-05-27)
Bug Fixes
- button: fix prop types for button (9e9ba33)
- types: update button props to follow best practices (9c9ff02)
9.4.8 (2024-05-26)
Bug Fixes
- translations: sync translations from transifex (master) (b84d585)
9.4.7 (2024-05-19)
Bug Fixes
- translations: sync translations from transifex (master) (157bc54)
9.4.6 (2024-05-10)
Bug Fixes
- li key to be unique (7de6dc5)
9.4.5 (2024-05-10)
Bug Fixes
- upgrade @dhis2/cypress-commands and @dhis2/cypress-plugins to 10.0.5 (c7bcc68)
- use npm version 6 for semantic release action in publish step (#1499) (4d4fb40)
- translations: sync translations from transifex (master) (0bf3520)
9.4.4 (2024-04-09)
Bug Fixes
9.4.3 (2024-03-19)
Bug Fixes
- select: adjust clear button (367f04c)
9.4.2 (2024-03-07)
Bug Fixes
- force a new release (ba66677)
9.4.1 (2024-02-28)
Bug Fixes
- translations: sync translations from transifex (master) (4091c9d)
9.4.0 (2024-02-16)
Features
9.4.0-alpha.2 (2024-02-16)
Bug Fixes
9.4.0-alpha.1 (2024-02-14)
Bug Fixes
Features
9.3.0 (2024-02-13)
Features
- update accessibility in button component (0a015c7)
9.3.0-alpha.2 (2024-02-13)
Bug Fixes
9.3.0-alpha.1 (2024-02-08)
Features
9.2.0 (2024-01-11)
Features
- icons: add visualization outlier table icon (6c6dae9)
9.1.2 (2024-01-11)
Bug Fixes
- segmented-control: add aria-label prop (cce94e0)
- segmented-control: adjust design (558973f)
- segmented-control: use semantic markup (5fd90a0)
9.1.1 (2023-12-24)
Bug Fixes
- translations: sync translations from transifex (master) (866ce3e)
9.1.0 (2023-12-21)
Features
- LIBS-539: forward data-row props to allow handling dom events (a293b16)
9.0.1 (2023-12-11)
Bug Fixes
- alertbar action: prevent text wrapping (f51f45d)
9.0.0 (2023-12-08)
Bug Fixes
- constants: remove buttonVariantProptype from constants (#1436) (d4dc535)
- package: include types in exports field (e16036b)
- types: add type declarations for components (#1399) (d3e74c5)
- types: minor type fixes (#1434) [skip release] (5e1068d)
- minor type fixes (#1416) (71f4537)
Features
BREAKING CHANGES
- constants:
buttonVariantPropType
has been removed from constants. This is mostly intended for internal use, but was part of the public API.
9.0.0-alpha.2 (2023-12-08)
Features
- menu-item: add suffix prop (77cd949)
8.16.0 (2023-12-07)
Features
- menu-item: add suffix prop (77cd949)
8.15.1 (2023-11-28)
Bug Fixes
8.15.0 (2023-11-27)
Features
- button: destructive secondary variant (b72a04a)
8.14.13 (2023-11-26)
Bug Fixes
- translations: sync translations from transifex (master) (cefd956)
8.14.12 (2023-11-22)
Bug Fixes
8.14.11 (2023-11-17)
Bug Fixes
- button: adjust small variant icon usage (5fd8d29)
8.14.10 (2023-11-05)
Bug Fixes
- translations: sync translations from transifex (master) (f7cc472)
8.14.9 (2023-10-10)
Bug Fixes
- translations: sync translations from transifex (master) (7ea15fe)
8.14.8 (2023-10-05)
Bug Fixes
- translations: sync translations from transifex (master) (fb22f68)
8.14.7 (2023-10-03)
Bug Fixes
- translations: sync translations from transifex (master) (071453c)
8.14.6 (2023-10-02)
Bug Fixes
- portal: get default mount node at execution time (20ab2ca)
8.14.5 (2023-09-23)
Bug Fixes
- translations: sync translations from transifex (master) (4a8b0b3)
8.14.4 (2023-09-15)
Bug Fixes
- translations: sync translations from transifex (master) (ac1b242)
8.14.3 (2023-09-14)
Bug Fixes
- pagination: add row padding on small screens and demo stories (b373859)
8.14.2 (2023-09-14)
Bug Fixes
- translations: sync translations from transifex (master) (28e0da7)
8.14.1 (2023-09-11)
Bug Fixes
- pass through props for DataTableCell (589c573)
8.14.0 (2023-08-09)
Features
8.13.15 (2023-08-01)
Bug Fixes
- translations: sync translations from transifex (master) (d87ba1a)
8.13.14 (2023-07-18)
Bug Fixes
- transfer: ensure selected is an array (40559d7)
8.13.13 (2023-06-29)
Bug Fixes
- input: adjust padding (936f3ef)
- input: force maximum height (ae31398)
- select: adjust inner shadow (a49b032)
- select: adjust padding (115d3eb)
- textarea: adjust styling (ef5d838)
8.13.12 (2023-06-29)
Bug Fixes
- translations: sync translations from transifex (master) (b1e9762)
8.13.11 (2023-06-22)
Bug Fixes
- translations: sync translations from transifex (master) (2ec86ff)
8.13.10 (2023-06-17)
Bug Fixes
- translations: sync translations from transifex (master) (83fa191)
8.13.9 (2023-06-16)
Bug Fixes
- translations: sync translations from transifex (master) (582dd20)
8.13.8 (2023-06-15)
Bug Fixes
- translations: sync translations from transifex (master) (bc1675b)
8.13.7 (2023-06-13)
Bug Fixes
- translations: sync translations from transifex (master) (5a27a32)
8.13.6 (2023-05-28)
Bug Fixes
- translations: sync translations from transifex (master) (25a0eed)
8.13.5 (2023-05-27)
Bug Fixes
- translations: sync translations from transifex (master) (d1ad531)
8.13.4 (2023-05-25)
Bug Fixes
- translations: sync translations from transifex (master) (ed31724)
8.13.3 (2023-05-24)
Bug Fixes
- headerbar: improve clickable area interactions (07fc0fe)
8.13.2 (2023-05-24)
Bug Fixes
- translations: sync translations from transifex (master) (d7c7a27)
8.13.1 (2023-05-23)
Bug Fixes
- translations: sync translations from transifex (master) (5fe8056)
8.13.0 (2023-04-20)
Features
8.12.4 (2023-03-21)
Bug Fixes
8.12.3 (2023-03-17)
Bug Fixes
8.12.2 (2023-03-09)
Bug Fixes
- bump multi-calendar library to fix bug with Ethiopian calendar (08e3ed5)
- remove ERA1 from ethiopic dates (be79660)
8.12.1 (2023-03-02)
Bug Fixes
- calendar: adjust cursor on day cell hover (cf0af31)
- calendar: adjust month and year button styling (27f7da2)
- calendar: adjust styling of today date (0d38ce7)
- calendar: day cell active style (292edac)
- calendar: use default cursor on month and year (74bdf40)
- multi-select: fix margin types for chips (2586abb)
8.12.0 (2023-02-28)
Features
8.11.2 (2023-02-22)
Bug Fixes
8.11.1 (2023-02-20)
Bug Fixes
8.11.0 (2023-02-15)
Bug Fixes
- noticebox: adjust spacing for components with only a title or message (5f8be90)
Features
- noticebox: add valid component style (6546241)
8.10.1 (2023-02-14)
Bug Fixes
- bump multi-calendar-dates to avoid jest error (9cdd320)
8.10.0 (2023-02-08)
Features
8.9.0 (2023-02-06)
Features
- icons: subtract icon (703d6e3)
8.8.0 (2023-02-02)
Features
8.7.7 (2023-01-16)
Bug Fixes
- node: adjust toggle style and interaction (d34f307)
8.7.6 (2022-12-08)
Bug Fixes
8.7.5 (2022-12-03)
Bug Fixes
- translations: sync translations from transifex (master) (a1d7fb2)
8.7.4 (2022-12-01)
Bug Fixes
8.7.3 (2022-11-29)
Bug Fixes
- translations: sync translations from transifex (master) (ec25e9b)
8.7.2 (2022-11-24)
Bug Fixes
- field: reduce padding between label and content (f5397d7)
- help: remove help cursor on hover (0f0b331)
- input: adjust inner shadow style (5315626)
- label: apply default color (0d81e7b)
8.7.1 (2022-11-24)
Bug Fixes
- checkbox: adjust visual style, label size (efb762c)
- menu: adjust visual styles (5cd52ef)
- menu-item: apply correct styles to parent menu items (7a40054)
- radio: adjust visual style, label size (a411e55)
- switch: adjust label font size (6848f09)
8.7.0 (2022-11-23)
Features
8.6.4 (2022-11-17)
Bug Fixes
- translations: sync translations from transifex (master) (fb28912)
8.6.3 (2022-11-16)
Bug Fixes
- translations: sync translations from transifex (master) (86207ae)
8.6.2 (2022-11-08)
Bug Fixes
8.6.1 (2022-10-26)
Bug Fixes
- translations: sync translations from transifex (master) (e87f2fc)
8.6.0 (2022-10-21)
Features
8.5.4 (2022-10-20)
Bug Fixes
- translations: sync translations from transifex (master) (af399cc)
8.5.3 (2022-10-10)
Bug Fixes
- translations: sync translations from transifex (master) (82898ff)
8.5.2 (2022-10-08)
Bug Fixes
- translations: sync translations from transifex (master) (e5893e0)
8.5.1 (2022-10-07)
Bug Fixes
- translations: sync translations from transifex (master) (f47e357)
8.5.0 (2022-10-06)
Features
- show version debug info and update notification in profile menu [LIBS-176] [LIBS-344] (#1153) (9e23f18)
8.4.17 (2022-09-28)
Bug Fixes
8.4.16 (2022-09-20)
Bug Fixes
8.4.15 (2022-09-08)
Bug Fixes
- release: publish new version to fix broken release (c05adeb)
8.4.14 (2022-09-07)
Bug Fixes
- selection-bar: change menu alignment (76da1a7)
8.4.13 (2022-09-05)
Bug Fixes
- translations: sync translations from transifex (master) (9e8d539)
8.4.12 (2022-08-26)
Bug Fixes
- translations: sync translations from transifex (master) (2c6ac00)
8.4.11 (2022-08-24)
Bug Fixes
- translations: sync translations from transifex (master) (bb67bec)
8.4.10 (2022-08-22)
Bug Fixes
- tab: update hover style (0a0653c)
8.4.9 (2022-08-20)
Bug Fixes
- translations: sync translations from transifex (master) (2aff81d)
8.4.8 (2022-08-19)
Bug Fixes
- translations: sync translations from transifex (master) (dc24bbd)
8.4.7 (2022-08-17)
Bug Fixes
- translations: sync translations from transifex (master) (65eb8dc)
8.4.6 (2022-08-04)
Bug Fixes
- update usages of grey600 in docs and icons (ad7eca2)
- constants: adjust grey600 color for AA contrast compliance at small sizes (7e31ffa)
- input: use ui color for placeholder text (b35d8f9)
8.4.5 (2022-07-12)
Bug Fixes
- validators: ensure integer validator rejects any decimal separator (060705b)
8.4.4 (2022-06-28)
Bug Fixes
8.4.3 (2022-06-24)
Bug Fixes
- translations: sync translations from transifex (master) (9cd0ebd)
8.4.2 (2022-06-13)
Bug Fixes
8.4.1 (2022-05-31)
Bug Fixes
- translations: sync translations from transifex (master) (6a10328)
8.4.0 (2022-05-27)
Features
- button: add onKeyDown prop (b41b1de)
- checkbox: add onKeyDown prop (34f2278)
- checkbox field: add onKeyDown prop (bb8ad04)
- file input: add onKeyDown prop (07ddfef)
- file input field: add onKeyDown prop (ef6c89b)
- file input field with list: add onKeyDown prop (e0629ec)
- input: add onKeyDown prop (c132535)
- input field: add onKeyDown prop (d5fdfb2)
- multi select: add onKeyDown prop (187a168)
- multi select field: add onKeyDown prop (cdbf3dc)
- radio: add onKeyDown prop (40f133e)
- select: add onKeyDown prop (8fb7a82)
- single select: add onKeyDown prop (1fb1bf8)
- single select field: add onKeyDown prop (420e2e2)
- switch: add onKeyDown prop (3b3ad3a)
- switch field: add onKeyDown prop (d065a11)
- text area: add onKeyDown prop (5c510d7)
- text area field: add onKeyDown prop (678769c)
8.3.1 (2022-05-27)
Bug Fixes
- translations: sync translations from transifex (master) (764625f)
8.3.0 (2022-05-25)
Features
- data-table-cell: add background-color prop (#1069) (e3fba97)
- layer: add
onBackdropClick
prop (#1060) (4c2bc69)
8.2.6 (2022-05-24)
Bug Fixes
- translations: sync translations from transifex (master) (731be44)
8.2.5 (2022-05-09)
Bug Fixes
8.2.4 (2022-04-26)
Bug Fixes
- increase prefix spacing so icon is closer to the option text (d500e11)
8.2.3 (2022-04-26)
Bug Fixes
- always reserve a 16 x 16 area for selected option icons (779b423)
8.2.2 (2022-04-22)
Bug Fixes
- translations: sync translations from transifex (master) (409ccdb)
8.2.1 (2022-04-21)
Bug Fixes
8.2.0 (2022-04-14)
Features
8.1.11 (2022-04-07)
Bug Fixes
8.1.10 (2022-04-06)
Bug Fixes
8.1.9 (2022-03-29)
Bug Fixes
8.1.8 (2022-03-26)
Bug Fixes
- translations: sync translations from transifex (master) (e47549f)
8.1.7 (2022-03-19)
Bug Fixes
- translations: sync translations from transifex (master) (a07d5af)
8.1.6 (2022-03-16)
Bug Fixes
- translations: sync translations from transifex (master) (7302b61)
8.1.5 (2022-03-15)
Bug Fixes
8.1.4 (2022-03-15)
Bug Fixes
- sharing-dialog: prevent extra request and render of autocompletion list after selection (#1004) (d3cc684)
8.1.3 (2022-03-09)
Bug Fixes
8.1.2 (2022-03-08)
Bug Fixes
- translations: sync translations from transifex (master) (5fa2f5f)
8.1.1 (2022-03-06)
Bug Fixes
- translations: sync translations from transifex (master) (8ee6d2a)
8.1.0 (2022-03-02)
Features
8.0.2 (2022-03-01)
Bug Fixes
- transfer: change TransferOption label-proptype to node (85a5330)
8.0.1 (2022-03-01)
Bug Fixes
- translations: sync translations from transifex (master) (7c0bf71)
8.0.0 (2022-02-28)
Bug Fixes
- org unit node: use correct value of useOrgData hook retVal (b322c71)
Features
- org unit tree: load children when expanding org unit to save bandwidth (b5a9215)
BREAKING CHANGES
- org unit tree: The payload and behavior of the
onChildrenLoaded
prop have changed slightly! Previously the callback would be called for every child that's been loaded. Now the callback will be called once with the node that has the children, so fewer calls but with a payload with an org unit one level above of what would be that case before this change.
7.16.3 (2022-02-24)
Bug Fixes
7.16.2 (2022-02-15)
Bug Fixes
- translations: sync translations from transifex (master) (b96f448)
7.16.1 (2022-02-08)
Bug Fixes
7.16.0 (2022-02-07)
Features
- icons: add pivot table, linelist icons (c179000)
7.15.1 (2022-02-01)
Bug Fixes
- select: reduce selected option chip margins (0141235)
7.15.0 (2022-01-31)
Features
- chip: allow custom margins (713f65c)
7.14.3 (2022-01-27)
Bug Fixes
- translations: sync translations from transifex (master) (e612cbe)
7.14.2 (2022-01-20)
Bug Fixes
7.14.1 (2022-01-20)
Bug Fixes
- translations: sync translations from transifex (master) (2e3a406)
7.14.0 (2022-01-17)
Features
- selector bar: add missing className props (b5a24f1)
- selector bar: add missing data test props (6479c7b)
7.13.0 (2022-01-13)
Features
- org unit tree: expose <RootError /> & <RootLoading /> (5198c96)
7.12.2 (2022-01-13)
Bug Fixes
- further reduce size (14df26b)
- reduce size of date/time icon in Chrome (f1e8985)
- reduce size of date/time icon in Chrome (LIBS-212) #921 (54de53c)
7.12.1 (2022-01-13)
Bug Fixes
- translations: sync translations from transifex (master) (14e9037)
7.12.0 (2022-01-12)
Features
7.11.4 (2022-01-11)
Bug Fixes
7.11.3 (2022-01-11)
Bug Fixes
7.11.2 (2022-01-07)
Bug Fixes
- translations: sync translations from transifex (master) (c9091e9)
7.11.1 (2021-12-21)
Bug Fixes
- alert-bar: prevent cutoff on small screens (490a6fa)
7.11.0 (2021-12-21)
Bug Fixes
- change close button position, add focus style (d1147bf)
Features
- modal: add close button to nonblocking modals (885182b)
7.10.5 (2021-12-20)
Bug Fixes
- button: focus style (b6594d1)
- checkbox: focus style (bb56aaa)
- input: focus style (70651f8)
- radio: focus style (91a18fa)
- segmented-control: focus style (dcd5e7d)
- select: focus style (3568d6c)
- switch: focus style (1c4e782)
- textarea: focus style (0e2f414)
7.10.4 (2021-12-11)
Bug Fixes
- translations: sync translations from transifex (master) (4a9ca44)
7.10.3 (2021-12-10)
Bug Fixes
- translations: sync translations from transifex (master) (ba2fcee)
7.10.2 (2021-12-09)
Bug Fixes
- selector bar: add to ui collection (6093f7a)
7.10.1 (2021-12-09)
Bug Fixes
- button: secondary button contrast (4ce00ac)
7.10.0 (2021-12-08)
Bug Fixes
- selection-bar-item: wrap children in card (c15415b)
- use popper and custom offset (f493bb5)
- selection-bar: address double border issue (4cf8f75)
- selector bar item: ensure that component always has a right-side border (de2325d)
Features
- context selection: add components & stories (80f34d3)
7.9.1 (2021-12-06)
Bug Fixes
- modal: reduce spacing between elements (7390a9c)
7.9.0 (2021-12-06)
Features
7.8.1 (2021-11-28)
Bug Fixes
- translations: sync translations from transifex (master) (c3f343b)
7.8.0 (2021-11-26)
Bug Fixes
- button: adjust button-strip margin between buttons (a1fbf65)
Features
- modal: constrain fluidity to viewport (f68dc08)
- modal: implement dynamic dimension via fluid prop (1bbaf09)
7.7.10 (2021-11-26)
Bug Fixes
- translations: sync translations from transifex (master) (81d3966)
7.7.9 (2021-11-25)
Bug Fixes
- sharing-dialog: use number for countable entities (6185f5f)
7.7.8 (2021-11-25)
Bug Fixes
- translations: sync translations from transifex (master) (48f6cb2)
7.7.7 (2021-11-24)
Bug Fixes
- sharing-dialog: fall back to visualization for undefined type (59c02d8)
7.7.6 (2021-11-24)
Bug Fixes
- noop: trigger patch release (ed46049)
- sharing-dialog: update sharing dialog to match new app-runtime conventions (#770) (09b335b)
7.7.5 (2021-11-19)
Bug Fixes
7.7.4 (2021-11-17)
Bug Fixes
7.7.3 (2021-11-16)
Bug Fixes
- handle sub-unit as root unit handling (c8be3e7)
7.7.2 (2021-11-15)
Bug Fixes
7.7.1 (2021-11-10)
Bug Fixes
7.7.0 (2021-11-10)
Features
7.6.2 (2021-11-10)
Bug Fixes
- menu: adjust flyout background elevation and style (6e68dc5)
7.6.1 (2021-11-10)
Bug Fixes
7.6.0 (2021-11-09)
Features
7.5.0 (2021-11-08)
Features
- icons: text formatting icons (3d7826f)
7.4.6 (2021-11-03)
Bug Fixes
- translations: sync translations from transifex (master) (9a5c0b0)
7.4.5 (2021-10-29)
Bug Fixes
- input: adjust read-only style (a22fe52)
7.4.4 (2021-10-29)
Bug Fixes
- modal: use correct title color (bc1da82)
7.4.3 (2021-10-28)
Bug Fixes
- translations: sync translations from transifex (master) (d57612f)
7.4.2 (2021-10-27)
Bug Fixes
- translations: sync translations from transifex (master) (db10c35)
7.4.1 (2021-10-13)
Bug Fixes
7.4.0 (2021-10-13)
Features
7.3.0 (2021-10-13)
Features
7.2.8 (2021-10-07)
Bug Fixes
- translations: sync translations from transifex (master) (4cc50ab)
7.2.7 (2021-10-06)
Bug Fixes
7.2.6 (2021-10-06)
Bug Fixes
- translations: sync translations from transifex (master) (f3deca1)
7.2.5 (2021-10-03)
Bug Fixes
- translations: sync translations from transifex (master) (cdf17b4)
7.2.4 (2021-10-02)
Bug Fixes
- translations: sync translations from transifex (master) (197bb3a)
7.2.3 (2021-10-01)
Bug Fixes
7.2.2 (2021-10-01)
Bug Fixes
7.2.1 (2021-09-22)
Bug Fixes
- remove External users from sharing dialog (129b71e)
7.2.0 (2021-09-21)
Note: this release has updated this library's version of @dhis2/prop-types to version 3. We've seen apps that implicitly rely on the version of @dhis2/prop-types shipped with this library. Since our internal upgrade to @dhis2/prop-types@3 is a major version upgrade your app could break if you update to this version and haven't explicitly installed a version of @dhis2/prop-types for your app. Make sure that if your app is using @dhis2/prop-types it's listed in your app's package.json before updating to this version of @dhis2/ui.
Features
7.1.1 (2021-09-20)
Bug Fixes
- deps: update cli-app-scripts (32afc2c)
7.1.0 (2021-09-17)
Features
7.0.1 (2021-09-17)
Bug Fixes
- storybook: add react-scripts to workspace root (d2c12bb)
7.0.0 (2021-09-15)
Code Refactoring
BREAKING CHANGES
- Removes @dhis2/ui-core and @dhis2/ui-widgets. Please use @dhis2/ui as your main entry-point in apps.
6.24.2 (2021-09-14)
Bug Fixes
- deps: correct dependabot update error (c68f41f)
6.24.1 (2021-09-14)
Bug Fixes
6.24.0 (2021-09-13)
Features
- button: consistent focus styles (8b1dd2e)
- checkbox: consistent focus styles (5ab51bd)
- file-input: consistent focus styles (5045342)
- input: consistent focus styles (bfeb69e)
- menu: consistent focus styles (dd50f43)
- radio: consistent focus styles (708be8c)
- select: consistent focus styles (7009aa1)
- switch: consistent focus styles (b808192)
- tab: consistent focus styles (917a275)
- text-area: consistent focus styles (3b1ccf6)
- theme: add focus theme color (b74ae99)
6.23.5 (2021-09-06)
Bug Fixes
6.23.4 (2021-09-05)
Bug Fixes
- translations: sync translations from transifex (master) (d052310)
6.23.3 (2021-09-04)
Bug Fixes
- translations: sync translations from transifex (master) (a07579f)
6.23.2 (2021-09-03)
Bug Fixes
6.23.1 (2021-09-03)
Bug Fixes
- translations: sync translations from transifex (master) (374ba64)
6.23.0 (2021-09-02)
Bug Fixes
Features
- expose portal component from ui (cdd000d)
6.22.1 (2021-09-02)
Bug Fixes
6.22.0 (2021-09-02)
Features
- header-bar: add 'Last online' info if configured (610eb6d)
- header-bar: also show online status by showOnlineStatus config (9739fa3)
6.21.0 (2021-09-02)
Features
- tab bar: add scroll button auto-hiding feature (LIBS-211) (00dda5d)
- tab bar: add scroll button auto-hiding feature (LIBS-211) (7834be1)
6.20.0 (2021-08-31)
Bug Fixes
- fix info and explanation strings and use pluralisation (295836a)
- release: trigger release (adbca7e)
- add remove for user/groups (c2149d9)
- add stories for dashboard cascading sharing (e4251fe)
- fix crash when an access string contains data settings (f9ca3e5)
- fix i18n string interpolation (752b641)
- fix i18n.t usage (bf02805)
- fix icons while waiting for ui-icons to be released (bcf4c22)
- fix import (da9f35e)
- fix imports (725b6f9)
- fix imports after merging alpha (91f6737)
- fix prop types (374ca57)
- fix prop types (a00b1ea)
- fix wrong boolean default for view and edit access (919a287)
- implement disabled access select (external/public) (4938603)
- implement latest design (f3f5040)
- make clear the type of access as per latest design (1b0ada7)
- minor text correction (9d91931)
- pass label for the search input (2d8ceb8)
- prevent access-before-initialisation storybook errors (#414) (da68680)
- use fixed version for @dhis2-ui dependencies (6d89ba4)
- use the callback format for error handling (15550cc)
Features
- ui: expose SharingDialog from @dhis2/ui (d842c23)
- Add DHIS2 Sharing Dialog (758bb10)
- implement cascade sharing for dashboard TECH-274 (b1f7fcd)
- implement cascading sharing for dashboards (efff245)
- offline mode, form interaction is disabled (0bc3d3b)
- search as you type for user/groups (5fd447c)
6.20.0-alpha.3 (2021-08-31)
Features
- offline mode, form interaction is disabled (0bc3d3b)
6.20.0-alpha.2 (2021-08-31)
Bug Fixes
- fix info and explanation strings and use pluralisation (295836a)
6.20.0-alpha.1 (2021-08-31)
Bug Fixes
- release: trigger release (adbca7e)
- add remove for user/groups (c2149d9)
- add stories for dashboard cascading sharing (e4251fe)
- fix crash when an access string contains data settings (f9ca3e5)
- fix i18n string interpolation (752b641)
- fix i18n.t usage (bf02805)
- fix icons while waiting for ui-icons to be released (bcf4c22)
- fix import (da9f35e)
- fix imports (725b6f9)
- fix imports after merging alpha (91f6737)
- fix prop types (374ca57)
- fix prop types (a00b1ea)
- fix wrong boolean default for view and edit access (919a287)
- implement disabled access select (external/public) (4938603)
- implement latest design (f3f5040)
- make clear the type of access as per latest design (1b0ada7)
- minor text correction (9d91931)
- pass label for the search input (2d8ceb8)
- prevent access-before-initialisation storybook errors (#414) (da68680)
- use fixed version for @dhis2-ui dependencies (6d89ba4)
- use the callback format for error handling (15550cc)
Features
- Add DHIS2 Sharing Dialog (758bb10)
- implement cascade sharing for dashboard TECH-274 (b1f7fcd)
- implement cascading sharing for dashboards (efff245)
- search as you type for user/groups (5fd447c)
6.19.1 (2021-08-31)
Bug Fixes
- translations: sync translations from transifex (master) (64eea86)
6.19.0 (2021-08-30)
Features
6.18.1 (2021-08-24)
Bug Fixes
- button: remove z-index from border style (19c9f38)
- split-button: allow focus border to overflow siblings (4734b8b)
6.18.0 (2021-08-24)
Bug Fixes
Features
- portal: introduce component (54b9595)
6.17.0 (2021-08-18)
Bug Fixes
- file input: use ui-icons and ui loader (6704e0c)
- organisation-unit-tree: adjust circular loader size in loading state (b466541)
Features
- alert bar: increase clickable area for dismiss action, add hover state (fb8c0d7)
- loader: linear loader inverted style (e02182a)
6.16.0 (2021-08-17)
Features
- header-bar: adjust notification badge placement (ece1405)
6.15.2 (2021-08-12)
Bug Fixes
- translations: sync translations from transifex (master) (c176c6e)
6.15.1 (2021-08-10)
Bug Fixes
- organisation-unit-tree: change behaviour of renderNodeLabel so that return value is label contents instead of label component (#696) (c2ce614)
6.15.0 (2021-08-10)
Features
- button: Loading state (41dd627)
6.14.0 (2021-08-10)
Bug Fixes
- icons: adjust fill for scatter-16 icon (66ae902)
Features
- icons: checkmark-circle icon (a2262a6)
6.13.0 (2021-08-06)
Features
6.12.0 (2021-07-21)
Features
- elevations: adjust elevation styles and documentation (02c7e1b)
6.11.0 (2021-07-21)
Features
- loader: update loader styles and sizes, add invert mode (d62d323)
6.10.6 (2021-07-14)
Bug Fixes
- translations: sync translations from transifex (master) (5287af6)
6.10.5 (2021-07-06)
Bug Fixes
6.10.4 (2021-06-29)
Bug Fixes
- Add default value for options (221a4c7)
6.10.3 (2021-06-29)
Bug Fixes
- translations: sync translations from transifex (master) (916abfd)
6.10.2 (2021-06-23)
Bug Fixes
- handle filtering in organisation unit tree when units' children have not yet been loaded (e21ae4a)
6.10.1 (2021-06-23)
Bug Fixes
6.10.0 (2021-06-22)
Bug Fixes
- field: bundle field-set and field-group in field (3fcf1e8)
- icons: clean up icon use and migration to ui-icons (5a3f7e5)
- menu-item: do not call event.preventDefault() in onClick handler if href prop is set and user is holding meta/alt/ctrl/shift key (390ca0f)
- modal: clean up internal structure (2dec7d3)
Features
- release new internal structure (ed81f13)
6.10.0-alpha.5 (2021-06-21)
Bug Fixes
- modal: clean up internal structure (2dec7d3)
6.10.0-alpha.4 (2021-06-21)
Bug Fixes
- menu-item: do not call event.preventDefault() in onClick handler if href prop is set and user is holding meta/alt/ctrl/shift key (390ca0f)
- menu-item: do not call event.preventDefault() in onClick handler if href prop is set and user is holding meta/alt/ctrl/shift key (#631) (0b4fe8f)
Bug Fixes
- field: bundle field-set and field-group in field (3fcf1e8)
6.9.2 (2021-06-18)
Bug Fixes
- menu-item: do not call event.preventDefault() in onClick handler if href prop is set and user is holding meta/alt/ctrl/shift key (#631) (0b4fe8f)
Features
- release new internal structure (ed81f13)
6.9.1 (2021-06-15)
Bug Fixes
6.9.0 (2021-06-03)
Features
- tag: add prop to control max width (a929ae0)
6.8.1 (2021-06-03)
Bug Fixes
6.8.0 (2021-06-03)
Features
- alert-bar: add hidden prop and refactor to function component (#614) (b9e9faa)
- introduce data-table components (#463) (daf21d4)
6.7.0 (2021-05-26)
Features
- modal: add "hide" prop (7d68a08)
6.6.3 (2021-05-26)
Bug Fixes
- chip: change prop types so they accept any content (8628508)
6.6.2 (2021-04-20)
Bug Fixes
- dropdown button: adjust dropdown default position (35d2687)
6.6.1 (2021-04-13)
Bug Fixes
6.6.0 (2021-03-24)
Bug Fixes
- checkbox: make checkbox accessible (33b3079)
- radio: make radio accessible (e4b9dbf)
- switch: make switch accessible (9924cc0)
Features
- input: add role attribute for input component (895dfbc)
6.5.7 (2021-03-24)
Bug Fixes
6.5.7 (2021-03-22)
Bug Fixes
6.5.6 (2021-03-19)
Bug Fixes
6.5.5 (2021-03-11)
Bug Fixes
- enforce min w and h to keep circle shape on small screens (141cc53)
6.5.4 (2021-03-11)
Bug Fixes
6.5.3 (2021-03-05)
Bug Fixes
6.5.2 (2021-03-05)
Bug Fixes
- help: accessible colors for help text statuses (fd63bc0)
6.5.1 (2021-03-01)
Bug Fixes
6.5.0 (2021-02-25)
Features
- input: add props for native max, min, step attributes (739bfc9)
- input-field: add props for native max, min, step attr.'s (8e7e25f)
6.4.1 (2021-02-24)
Bug Fixes
6.4.0 (2021-02-24)
Features
- table: add role attributes for table components (8c6c700)
6.3.0 (2021-02-24)
Bug Fixes
- icons: adjust IconBlock16, IconBlock24 alignment (a79fc27)
- icons: adjust IconClock16 alignment (debdbf1)
Features
- icons: add IconClockHistory16, IconClockHistory24 (b2e23dc)
6.2.3 (2021-02-18)
Bug Fixes
- always load i18next from locales/index to ensure translation strings are loaded (LIBS-120) (#510) (78e1ebe)
6.2.2 (2021-02-10)
Bug Fixes
6.2.1 (2021-02-05)
Bug Fixes
6.2.0 (2021-02-04)
Features
- icons: dimension type 16px icons (912a00d)
6.1.7 (2021-02-02)
Bug Fixes
6.1.6 (2021-01-27)
Bug Fixes
- header bar: enforce size of 36px in header bar and 48px in profile menu for ImageIcon and TextIcon (#465) (787484a)
6.1.5 (2021-01-22)
Bug Fixes
6.1.4 (2021-01-20)
Bug Fixes
6.1.3 (2021-01-14)
Bug Fixes
6.1.2 (2021-01-11)
Bug Fixes
- icons: add missing prop-types dependency (fd7a448)
- icons: add missing react peer dependencies (a7971fb)
6.1.1 (2021-01-11)
Bug Fixes
- button: pass name prop to button element (c584b21)
6.1.0 (2021-01-05)
Features
- ui-icons: add visualization type icons in 24px (1ae3876)
6.0.2 (2020-12-17)
Bug Fixes
- npm: add consistent per-package readme (e07fc7c)
- npm: add homepage field to packages (7cc5652)
- npm: remove outdated or superseded files (100d04a)
6.0.1 (2020-12-15)
Bug Fixes
6.0.0 (2020-12-10)
Bug Fixes
Code Refactoring
- ui-icons: remove legacy icons (d39857b)
Features
- ui-icons: add new icons (e1a994e)
BREAKING CHANGES
- ui-icons: the existing ui-icons have been removed. These were mostly meant for internal use. The components that have been removed are: Account, Apps, ArrowDown, ArrowUp, AttachFile, CancelOutline, Cancel, CheckboxRegular, CheckboxDense, ChevronRight, ChevronLeft, Close, Email, Empty, Exit, FileUpload, FolderClosed, FolderOpen, Help, Info, Message, RadioRegular, RadioDense, Settings, Single, Valid, Warning, Info, Loading, StatusIcon, SwitchRegular and Upload. Please ensure that you are not depending on these components before upgrading.
5.7.8 (2020-11-27)
Bug Fixes
- IntersectionDetector: use mixed export prop-types style (6b18d8f)
5.7.7 (2020-11-18)
Bug Fixes
- use helpLink from settings end-point (e2a1ac6)
5.7.6 (2020-11-17)
Bug Fixes
- popover: attach portal to current layer root (e187ebf)
5.7.5 (2020-11-17)
Bug Fixes
- headerbar: adjust focus styles for accessibility (ac85384)
- headerbar: allow keyboard focus on apps drawer trigger (16c847b)
5.7.4 (2020-11-13)
Bug Fixes
- cut release to finish jira migration (ddf3bf4)
5.7.3 (2020-10-29)
Bug Fixes
- split-button: adjust test and add demo story (3b36404)
- split-button: stop showing icon in right button (ec34e40)
5.7.2 (2020-09-29)
Bug Fixes
- alertbar: skip init on component update (a6171a4)
5.7.1 (2020-09-28)
Bug Fixes
- button: adjust icon button sizes (d811515)
5.7.0 (2020-09-24)
Features
- orgunittree: sort org units alphabetically (1273d76)
- orgunittree: sort org units alphabetically (36c0369)
5.6.2 (2020-09-23)
Bug Fixes
- input field ff: forward type property of Field component (a90ae09)
- input field ff: forward type property of Field component (855e93c)
5.6.1 (2020-09-21)
Bug Fixes
- menu: stop using child's dense prop to set value of hideDivider (162924d)
5.6.0 (2020-09-17)
Features
- introduce pagination component with unit-tests, docs and demo (d309081)
5.5.11 (2020-09-17)
Bug Fixes
- use > as ns separator for translation with : (f52499d)
5.5.10 (2020-09-17)
Bug Fixes
- button: adjust disabled styles (0001fd0)
5.5.9 (2020-09-16)
Bug Fixes
- remove name property for select field labels (b993e27)
5.5.8 (2020-09-16)
Bug Fixes
- intersection detector: remove observer state variabe and condition (3fc4637)
- transfer: make inifinite loading work when selecting options (#257) (04f0884)
5.5.7 (2020-09-16)
Bug Fixes
- use white background color for textarea instead of transparent (e8c8f9d)
5.5.6 (2020-09-15)
Bug Fixes
- add background to transfer option containers (a0fa81f)
5.5.5 (2020-09-07)
Bug Fixes
- checkbox: set label position to relative (6f48565)
5.5.4 (2020-09-07)
Bug Fixes
- stop using css transform for centering modal and centered-content (2b326d0)
5.5.3 (2020-08-31)
Bug Fixes
- menu-item: make sure onClick is undefined when disabled (1bcd1f8)
5.5.2 (2020-08-24)
Bug Fixes
- radio: no margin if no label (5cae414)
5.5.1 (2020-08-20)
Bug Fixes
- transfer: pass correct "selected" value to renderOption call (96c19db)
- transfer: pass correct selected value to renderOption (5cc0242)
5.5.0 (2020-08-14)
Features
- transfer: add loading props (ce6fa84)
- transfer: add onSourceEndReached & onPickedEndReached callbacks (2a51e79)
- transfer: add requested improvements (5ccddf3)
- transfer: allow filtering the picked options (479c091)
5.4.2 (2020-08-14)
Bug Fixes
- radio: position: relative on label to fix modal jumps (c8a2671)
5.4.1 (2020-08-13)
Bug Fixes
- button: add disabled style for toggled button (626f88d)
- button: minor style changes for toggled-button (f2542a1)
5.4.0 (2020-08-12)
Features
- togglebutton: add toggled as button prop (cf79513)
5.3.3 (2020-08-11)
Bug Fixes
- move internal and singleton dependencies to peerDependencies (7e8a827)
5.3.2 (2020-08-11)
Bug Fixes
- remove margin of first child conditionally for correct alignment (d212ced)
- button strip: allow everything as children (db6a725)
- button strip: ensure spacing by wrapping children with div (82532f2)
- button strip: remove margin of first child for correct alignment (a2b5c2e)
5.3.1 (2020-08-10)
Bug Fixes
- button: reduce small button icon only padding (92d7058)
5.3.0 (2020-07-28)
Features
- intersectiondetector: add component (4d96be1)
5.2.0 (2020-07-23)
Features
- table: add alternateRowBgColor prop (default: true) (TECH-416) (c33168f)
- table: add alternateRowBgColor prop (default: true) (TECH-416) (fec8008)
5.1.3 (2020-07-23)
Bug Fixes
- button: fix padding of icon only button & don't use ButtonBase (39564cc)
- button: use correct padding when displaying only the icon (a2445b9)
5.1.2 (2020-07-10)
Bug Fixes
- add prop selected to renderOption (4a61df0)
5.1.1 (2020-07-10)
Bug Fixes
- add prop placeholder to Filter and filterPlaceholder to Transfer (388b556)
- add prop rightHeader to Transfer (f9a1042)
5.1.0 (2020-07-09)
Features
- organisation-unit-tree: include displayName in onChange payload (23f0eed)
5.0.7 (2020-07-02)
Bug Fixes
- switch: use input value for value instead of checked prop (65c6406)
5.0.6 (2020-07-02)
Bug Fixes
- switchfield: use correct prop-type for value prop (05576c2)
5.0.5 (2020-06-24)
Bug Fixes
- box: add missing semicolon to fix styles not being applied (2ea7ca0)
5.0.4 (2020-06-23)
Bug Fixes
- select: check if select has been mounted before accessing ref (d1d70cb)
5.0.3 (2020-06-10)
Bug Fixes
- modal: add max height and width so Modal become scrollable (61bf5b8)
5.0.2 (2020-06-09)
Bug Fixes
- popper: use correct sharedPropType name for reference prop (262ac0a)
5.0.1 (2020-06-03)
Bug Fixes
- headerbar: hide app links from unprivileged users (7d12f40)
- headerbar: hide app links from unprivileged users (4cf5ed8)
- headerbar: prevent error if authorities is not an array (ecd1ba4)
5.0.0 (2020-05-28)
Bug Fixes
- headerbar: correctly select and use user locale and application title text (1c9d055)
- headerbar: escape regex special chars in search (2f11c96)
- field: fix prop-type warning (d55d049)
- icons: add missing icon file (de0a157)
- popover: fix arrow rotation (880395b)
- field: no top margin if no label for field (a2d0bad)
- noticebox: add missing export (ec2a739)
- prop-types: add missing dhis2 prop-types for ui-icons (c207524)
- select: debounce menu width measurement (0e17c59)
- widgets: add translated default texts (c85342d)
- forms: display submit errors (9f74e89)
- forms: update final-form to fix setstate warning (1bc62b9)
- createnumberrange: update number range validation error to match actual bounds (646f782)
Code Refactoring
- transfer: align with select & monorepo structure (c15477d), closes #50
- transfer: align with select & monorepo structure (d50f960)
- layering: layers and overlay components (24ead4c)
- menu: make menu click-based and reorganise related components (a8b26a0)
- forms: move to more explicit final-form api (a76da00)
- popover: rename popover prop (f7d5c20)
- checkboxfield: move to ui-widgets (d979d96)
- core: add forward refs to base components (699b194)
- core: move fields to widgets (3b763fa)
- core: reimplement Field (fbdafb8)
- forms: namespace final-form and react-final-form re-exports (c59e0bb)
- select: use string based selection in multi- and single-select (e3627a4)
- fileinputfield: move to ui-widgets (6059625)
- fileinputfieldwithlist: move to ui-widgets (a512f00)
- inputfield: move to ui-widgets (50d9009)
- multiselectfield: move to ui-widgets (c3d42ad)
- singleselectfield: move to ui-widgets (e09c70c)
- switchfield: move to ui-widgets (2baa52a)
- textareafield: move to ui-widgets (3ef63da)
- togglegroupfield: migrate to ui-widgets (db55448)
- ui: list breaking changes (7ceddf0)
- forms: rename form components (7479f613)
Features
- constants: export constants as well (51c2eb0)
- noticebox: add noticebox component (357ef6d)
- constants: move and expose the common proptypes (1bb0f9d)
- forms: integrate @dhis2/ui-forms (af49144)
- ui: expose @dhis2/ui-forms through metapackage (88a3782)
BREAKING CHANGES
- transfer: The Transfer component now expects options to be passed in as objects, not as children. Custom components can be provided via the optionComponent prop for all options or via the component property on an individual option.
- transfer: The Transfer component now expects strings as selected values instead of option objects.
- transfer: The Transfer component is now part of
widgets
- popover: The Popover's
onBackdropClick
prop has been renamed toonClickOutside
- menu: MenuList was renamed to Menu
- menu: Menu was renamed to FlyoutMenu
- menu: The sub-menus now open on click instead of hover
- menu: We have introduced a dedicated
MenuDivider
andMenuSectionHeader
- menu: To create sub-menus, you can now add MenuItems directly under a parent MenuItem, no need to wrap them in a Menu/FlyoutMenu anymore
- core: Relocate all *Field components to @dhis2/ui-widgets. They can be accessed from
@dhis2/ui
using named exports. - core: Field has been reimplemented to compose a field control, it now adds the Label, Help, Validation components instead of being a simple div wrapper, which allows us to avoid the code duplication in each *Field component.
- core: ToggleGroup has been removed. Use a FieldSet for grouping form controls.
- togglegroupfield: ToggleGroupField has been renamed to FieldSetField, which adds the necessary Label, Help, and Validation components to an entire group of components.
- field: Field now provides a composition to provide all necessary things for a *Field component.
- radiogroup: RadioGroup has been deleted.
- checkboxgroup: CheckboxGroup has been deleted.
- checkboxgroupcontrol: CheckboxGroupControl has been deleted.
- radiogroupcontrol: RadioGroupControl has been deleted.
- forms: final-form and react-final-form exports are now re-exported under the named exports FinalForm and ReactFinalForm respectively.
- layering: We changed the set of components used to produce various types of overlays:
Layer
is an overlay component that fills the entire screen/page. Besides that it is also a key component to stack various components on top of one another.ComponentCover
is a similar component that only fills its parent, provided that has a non-static position. Both theLayer
and theComponentCover
accept anonClick
and atranslucent
prop.CenterContent
is a component that does exactly what it says on the tin. It also has aposition
prop which can be used to vertically align the content at thetop
,middle
(default), orbottom
. These new components replace theBackdrop
and theScreenCover
, which had a slightly unclear scope and have now been removed. TheLayer
uses theLayerContext
internally to control the stacking logic. This context has also been exposed via theuseLayerContext
hook, which can be used to append portals to the current layer-node. - singleselect: SingleSelect selection is now a string instead of an object with a value and label property
- multiselect: MultiSelect selection is now an array of strings instead of an array of objects with a value and label property
- core: base components can hold a ref.
- forms: Postfix all the
@dhis2/ui-forms
components with 'FieldFF' to avoid conflicts with the base components in@dhis2/ui-core
and@dhis2/ui-widgets
, since all components are now exported in@dhis2/ui
. The FF stands for final-form, clarifying that the component is tied to final-form and making the relation with our regular Field components more clear. So, for example, instead of the regular<Input />
we used to export fromui-forms
we now have<InputFieldFF />
- widgets: The
<FieldSetField />
component has been renamed to<FieldGroup />
- forms: The
<GroupControl />
component has been renamed to<FieldGroupFF />
- textareafield: Import path changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
- switchfield: Import path for SwichField changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
- singleselectfield: Import path for SingleSelectField changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
- multiselectfield: MultiSelectField import path changes from @dhis2/ui-core to @dhis2/ui-widgets or @dhis2/ui
- inputfield: Move InputField from ui-core to ui-widgets, new import path at @dhis2/ui-widgets or @dhis2/ui.
- fileinputfieldwithlist: Move FileInputFieldWithList from ui-core to ui-widgets, new import from @dhis2/ui-widgets or @dhis2/ui.
- fileinputfield: Move FileInputField from ui-core to ui-widgets. New import path from '@dhis2/ui-widgets' or '@dhis2/ui'.
- checkboxfield: CheckboxField has moved from ui-core to ui-widgets.
- togglegroupfield: move the ToggleGroupField component from ui-core to ui-widgets.
- ui: Rename the Constrictor component to Box, which is shorter and thus easier to type. This also expands the capabilities of Box to make it more Box-like.
- ui: Replace SwitchGroupField, RadioGroupField, CheckboxGroupField with ToggleGroupField.
- ui: Replace SwitchGroup, RadioGroup, CheckboxGroup with ToggleGroup.
- ui: The exports: colors, theme, layers, spacers, spacersNum, and elevations, have been moved from @dhis2/ui-core to @dhis2/ui-constants for better code reuse.
5.0.0-alpha.21 (2020-05-28)
Bug Fixes
- correctly select and use user locale and application title text (1c9d055)
- escape regex special chars in search (2f11c96)
5.0.0-alpha.20 (2020-05-28)
Code Refactoring
- transfer: align with select & monorepo structure (c15477d), closes #50
- transfer: align with select & monorepo structure (d50f960)
BREAKING CHANGES
- transfer: The Transfer component now expects options to be passed in as objects, not as children. Custom components can be provided via the optionComponent prop for all options or via the component property on an individual option.
- transfer: The Transfer component now expects strings as selected values instead of option objects.
- transfer: The Transfer component is now part of widgets
- transfer: The Transfer component now expects strings as selected values instead of option objects.
- transfer: The Transfer component is now part of
widgets
5.0.0-alpha.19 (2020-05-26)
Bug Fixes
Code Refactoring
- rename popover prop (f7d5c20)
BREAKING CHANGES
- The Popover's
onBackdropClick
prop has been renamed toonClickOutside
5.0.0-alpha.18 (2020-05-26)
Code Refactoring
- make menu click-based and reorganise related components (a8b26a0)
BREAKING CHANGES
- Fully overhauled Menu and related components:
- MenuList was renamed to Menu
- Menu was renamed to FlyoutMenu
- The sub-menus now open on click instead of hover
- We have introduced a dedicated
MenuDivider
andMenuSectionHeader
- To create sub-menus, you can now add MenuItems directly under a parent MenuItem, no need to wrap them in a Menu/FlyoutMenu anymore
5.0.0-alpha.17 (2020-05-20)
Bug Fixes
- select: debounce menu width measurement (0e17c59)
5.0.0-alpha.16 (2020-05-20)
Bug Fixes
- widgets: add translated default texts (c85342d)
5.0.0-alpha.15 (2020-05-19)
Features
- constants: export constants as well (51c2eb0)
5.0.0-alpha.14 (2020-04-30)
Bug Fixes
- prop-types: add missing dhis2 prop-types for ui-icons (c207524)
5.0.0-alpha.13 (2020-04-30)
Bug Fixes
- noticebox: add missing export (ec2a739)
5.0.0-alpha.12 (2020-04-30)
Bug Fixes
- field: fix prop-type warning (d55d049)
5.0.0-alpha.11 (2020-04-29)
Bug Fixes
- core: no top margin if no label for field (a2d0bad)
Code Refactoring
- core: move fields to widgets (3b763fa)
- core: reimplement Field (fbdafb8)
- move to more explicit final-form api (a76da00)
BREAKING CHANGES
- core: Relocate all *Field components to @dhis2/ui-widgets.
They can be accessed from
@dhis2/ui
using named exports. - core: Field has been reimplemented to compose a field control, it now adds the Label, Help, Validation components instead of being a simple div wrapper, which allows us to avoid the code duplication in each *Field component.
- core: ToggleGroup has been removed. Use a FieldSet for grouping form controls.
BREKING CHANGE: ToggleGroupField has been renamed to FieldSetField, which adds the necessary Label, Help, and Validation components to an entire group of components.
- Field now provides a composition to provide all necessary things for a *Field component.
- RadioGroup has been deleted.
- CheckboxGroup has been deleted.
- CheckboxGroupControl has been deleted.
- RadioGroupControl has been deleted.
5.0.0-alpha.10 (2020-04-23)
Code Refactoring
- forms: namespace final-form and react-final-form re-exports (c59e0bb)
BREAKING CHANGES
- forms: final-form and react-final-form exports are now re-exported under the named exports FinalForm and ReactFinalForm respectively.
5.0.0-alpha.9 (2020-04-23)
Bug Fixes
- display submit errors (9f74e89)
5.0.0-alpha.8 (2020-04-22)
Bug Fixes
- update number range validation error to match actual bounds (646f782)
5.0.0-alpha.7 (2020-04-22)
Bug Fixes
- update final-form to fix setstate warning (1bc62b9)
5.0.0-alpha.6 (2020-04-20)
Bug Fixes
- icons: add missing icon file (de0a157)
5.0.0-alpha.5 (2020-04-16)
Code Refactoring
- layers and overlay components (24ead4c)
BREAKING CHANGES
- These new components replace the
Backdrop
and theScreenCover
, which had a slightly unclear scope and have now been removed.
5.0.0-alpha.4 (2020-04-08)
Features
- add noticebox component (357ef6d)
5.0.0-alpha.3 (2020-04-01)
Code Refactoring
- use string based selection in multi- and single-select (e3627a4)
BREAKING CHANGES
-
- SingleSelect selection is now a string instead of an object with a value and label property
- MultiSelect selection is now an array of strings instead of an array of objects with a value and label property
5.0.0-alpha.2 (2020-03-24)
Code Refactoring
BREAKING CHANGES
- core: base components can hold a ref.
- All @dhis2/ui-core exports have been migrated to @dhis2/ui-widgets.
5.0.0-alpha.1 (2020-03-19)
Bug Fixes
- root: update repourl (7e6eedc)
Code Refactoring
- checkboxfield: move to ui-widgets (d979d96)
- fileinputfield: move to ui-widgets (6059625)
- fileinputfieldwithlist: move to ui-widgets (a512f00)
- forms: add suffix 'Control' (06896ea)
- inputfield: move to ui-widgets (50d9009)
- multiselectfield: move to ui-widgets (c3d42ad)
- singleselectfield: move to ui-widgets (e09c70c)
- switchfield: move to ui-widgets (2baa52a)
- textareafield: move to ui-widgets (3ef63da)
- togglegroupfield: migrate to ui-widgets (db55448)
- ui: list breaking changes (7ceddf0)
Features
- constants: move and expose the common proptypes (1bb0f9d)
- forms: integrate @dhis2/ui-forms (af49144)
- ui: expose @dhis2/ui-forms through metapackage (88a3782)
BREAKING CHANGES
- forms: Postfix all the @dhis2/ui-forms components with 'Control' to avoid conflicts with the base components in @dhis2/ui-core and @dhis2/ui-widgets, since all components are now exported in @dhis2/ui.
- textareafield: Import path changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
- switchfield: Import path for SwichField changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
- singleselectfield: Import path for SingleSelectField changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
- multiselectfield: MultiSelectField import path changes from @dhis2/ui-core to @dhis2/ui-widgets or @dhis2/ui
- inputfield: Move InputField from ui-core to ui-widgets, new import path at @dhis2/ui-widgets or @dhis2/ui.
- fileinputfieldwithlist: Move FileInputFieldWithList from ui-core to ui-widgets, new import from @dhis2/ui-widgets or @dhis2/ui.
- fileinputfield: Move FileInputField from ui-core to ui-widgets. New import path from '@dhis2/ui-widgets' or '@dhis2/ui'.
- checkboxfield: CheckboxField has moved from ui-core to ui-widgets.
- togglegroupfield: move the ToggleGroupField component from ui-core to ui-widgets.
- ui: Rename the Constrictor component to Box, which is shorter and thus easier to type. This also expands the capabilities of Box to make it more Box-like.
- ui: Replace SwitchGroupField, RadioGroupField, CheckboxGroupField with ToggleGroupField.
- ui: Replace SwitchGroup, RadioGroup, CheckboxGroup with ToggleGroup.
- ui: The exports: colors, theme, layers, spacers, spacersNum, and elevations, have been moved from @dhis2/ui-core to @dhis2/ui-constants for better code reuse.