@kenyaemr/esm-patient-registration-app 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,20 +85,26 @@ const ComboInput: React.FC<ComboInputProps> = ({ entries, fieldProps, handleInpu
85
85
  </Layer>
86
86
  <div className={styles.comboInputEntries}>
87
87
  {showEntries && (
88
- <div id="downshift-1-menu" style={{ height: filteredEntries.length > 5 && "15rem" }} className="cds--list-box__menu" role="listbox">
88
+ <div
89
+ id="downshift-1-menu"
90
+ style={{ height: filteredEntries.length > 5 && '15rem' }}
91
+ className="cds--list-box__menu"
92
+ role="listbox">
89
93
  {filteredEntries.map((entry, indx) => (
90
94
  <div
91
95
  key={indx}
92
96
  id="downshift-1-item-0"
93
97
  role="option"
94
- className={`cds--list-box__menu-item ${indx === highlightedEntry && 'cds--list-box__menu-item--highlighted'
95
- }`}
98
+ className={`cds--list-box__menu-item ${
99
+ indx === highlightedEntry && 'cds--list-box__menu-item--highlighted'
100
+ }`}
96
101
  tabIndex={-1}
97
102
  aria-selected="true"
98
103
  onClick={() => handleOptionClick(entry)}>
99
104
  <div
100
- className={`cds--list-box__menu-item__option ${entry === value && 'cds--list-box__menu-item--active'
101
- }`}>
105
+ className={`cds--list-box__menu-item__option ${
106
+ entry === value && 'cds--list-box__menu-item--active'
107
+ }`}>
102
108
  {entry}
103
109
  {entry === value && <SelectionTick />}
104
110
  </div>