# Changelog

## Unreleased

## 1.24.0 - (March 6, 2024)

* Changed
  * Updated `No Results` to `No Result` in translations except english.

## 1.23.0 - (March 1, 2024)

* Changed
  * Updated `No Results` to `No Result` in translations.

## 1.22.0 - (September 21, 2023)

* Added
  * Added back `width: 100%` to flowsheet result cell styles removed in 1.17.0.

* Fixed
  * Fixed infinite re-render bug.

* Changed
  * Updated testing recommendations to use `jest.spyOn` instead of `jest.mock`.
  * Updated invalid result value check to display error state for empty results.

## 1.21.0 - (August 2, 2023)

* Changed
  * Locked `uuid` dependency to `3.4.0` for maximum consistency across Terra packages.
  * Updated translations.

## 1.20.0 - (July 17, 2023)

* Added
  * Added accessibility guide.
  * Added site documentation for Flowsheet, Time Header, and Name Header cells usage.

* Fixed
  * Fixed flickering issue related to numeric overflow in FlowsheetResultCell.

## 1.19.0 - (July 12, 2023)

* Changed
  * Changed ResultTimeHeaderCell to remove the `<time>` html tag for the date and time. This was causing issues and technically does not have full screen reader support.
  * Locked `uuid` dependency to `7.0.3` for consistency across Terra packages.

## 1.18.0 - (June 22, 2023)

* Added
  * Added screen-reader support for strikethroughs to convey an entered in error status.
  * Added additional translations for strikethrough alt text.

* Fixed
  * Fixed a check related to Clinical Result strikethrough alt text for if a result unit exists or not.

* Changed
  * Changed FlowsheetResultCell, ResultNameHeaderCell and ResultTimeHeaderCell in clinical-result to use proper semantic html.
  * Updated ResultTimeHeaderCell component to use `<time>` html tags for the date and time.

## 1.17.0 - (June 14, 2023)

* Added
  * Added screen-reader support for clinical-result icons. (Requires Jest test updates on consuming applications)
  * Added screen-reader support for alternative text for when no results are returned.
  * Added screen-reader support for clinical-result FlowsheetResultCell EnteredInError.
  * Added screen-reader support for clinical-result FlowsheetResultCell with multiple results.
  * Added screen-reader support for clinical-result ResultNameHeaderCell. Two new optional props are added for providing a full name of the result name and unit respectively.
  * Added screen-reader support for Blood Pressure with additional displays as a group. An additional prop is added for making the blood pressure results a group.


## 1.16.0 - (March 29, 2023)

* Changed
  * Updated wdio screenshots.

## 1.15.0 - (August 17, 2021)

* Fixed
  * Fixed incorrect prop descriptions.

## 1.14.0 - (July 21, 2021)

* Changed
  * Updated Jest command

## 1.13.0 - (March 25, 2021)

* Changed
  * Changed Flowsheet overflow style to better handle truncation
  * Upgrade tests to terra-functional-testing and WebDriverIO v6
  * Updated screenshots with elements that are out of bound

* Added
  * Added packaged themes and applying themes by context

## 1.12.0 - (January 5, 2021)

* Changed
  * Removed reference to intlShape as it is no longer provided in later versions of react-intl
  * Removed unused react-intl imports.

* Fixed
  * Fixed broken links in documentation.

## 1.11.0 - (November 10, 2020)

* Changed
  * Update wdio tests to remove deprecated Terra.it helpers

## 1.10.0 - (August 25, 2020)

* Changed
  * Update browserslist-config-terra to @cerner/browserslist-config-terra v^3

## 1.9.0 - (August 4, 2020)

* Changed
  * Update changelog formatting

* Changed
  * Update wdio due to icon changes.

## 1.8.0 - (June 16, 2020)

* Changed
  * Changed the description of 'resultNoData' prop for observation prop types
  * Changed 'ClinicalResultBloodPressure' to return early if result has an Error or doesn't have data

* Added
  * Added to interpretation Bloodpressure test
  * Added single result bloodpressure test
  * Added Result hasError test
  * Added Result hasNoData test
  * Added Decorated Flowsheet test
  * Added Flowsheet hasError test
  * Added Flowsheet hasNoData test
  * Added Flowsheet numericOverflow test
  * Added '\_BloodPressureDisplay' component to reduce clutter in 'ClinicalResultBloodPressure'

* Removed
  * Removed unused test data
  * Removed default empty object prop from ClinicalResult and Observation.

## 1.7.0 - (June 9, 2020)

* Changed
  * Minor file changes to comply with eslint rules

## 1.6.0 - (April 28, 2020)

* Added
  * Added `directory` as a sub attribute to the `repository` attribute in package.json

* Removed
  * Removed "View Component Source Code" from docs in favour of source code badge

## 1.5.0 - (April 22, 2020)

* Fixed
  * Fixed an issue with FlowsheetResultCell where status 'entered in error' and interpretations caused error text to be improperly aligned.
  * Fixed an issue with FlowsheetResultCell where status 'entered in error' and interpretations in an extra result caused the multiple result icon to still show interpretation color.

## 1.4.0 - (April 14, 2020)

* Changed
  * Update wdio test configuration to use root wdio config

## 1.3.0 - (March 27, 2020)

* Fixed
  * Fixed alpha truncation issue with FlowsheetResultCell
  * Fixed misnamed class in ClinicalResultBloodPresure
  * Fixed extra display truncation issue in ClinicalResult and ClinicalResultBloodPresure

* Changed
  * Update docs to use mdx syntax.

## 1.2.0 - (March 17, 2020)

* Fixed
  * Fixed an alignment issue with FlowsheetResultCell that caused normal interpretation results to be aligned to the left.

## 1.1.0 - (March 10, 2020)

* Fixed
  * Fixed bug where ClinicalBloodPresure if provided both a systolic and diastolic object with `resultNoData` true, presented error result instead of no data result.

## 1.0.0 - (March 6, 2020)

* Initial stable release
